Related
Hi all,
I've been trying to figure out what the problem with TCPMP and youtube was for a while and finally got it.
For those that don't know, the way PIE works with TCPMP is that PIE creates a video.m3u file inside \PROGRAM FILES\TCPMP which TCPMP then opens. video.m3u contains the URL of the FLV file that you pull off from youtube... (m3u files are simply playlists)
Since youtube changed the format of its URL, it has gotten significantly longer.
TCPMP has a hard limit of 256 bytes (characters) on the URL. So, what happens with the new URL is that it often exceeds the 256 byte limit, and TCPMP will only read it UP TO the 256 byte. Anything after 256 bytes is LOST and that's why you get "could not open URL"
Example:
Youtube video of half life live action thingee:
Code:
http://v15.lscache4.googlevideo.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag&itag=5&ipbits=0&sver=3&expire=1243450800&key=yt1&signature=0FD79ABE8B1527FBDCCA117F163434544DD5226F.412B317466B85C5F1DEC05B615B47F264F845325&id=ab550f304982a99a
Length = 263, I get the error. Can't play video.
same video, but instead, I edited the video.m3u file and manually resolved the domain name (v15.lscache4.googlevideo.com = 74.125.167.35)
Code:
http://74.125.167.35/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag&itag=5&ipbits=0&sver=3&expire=1243450800&key=yt1&signature=0FD79ABE8B1527FBDCCA117F163434544DD5226F.412B317466B85C5F1DEC05B615B47F264F845325&id=ab550f304982a99a
Length=248 and the video plays
I've found the solution!!!!!!
For those interested, here is the version that I used:
TCPMP new VS2008 builds for WM6.1 with FLV built in
http://forum.xda-developers.com/showthread.php?t=380387
I took that source, opened it in Visual Studio 2008 (freaking 3GB download from MS!!) and started snooping around.
Modified the following files:
interface/win32/playlst.c -> replaced all values of '256' with '1024'
interface/win32/win_win32.c -> replaced all values of '256' with '1024' (except the one that says 256*1024... on my source, it's line 2598)
common/portab.h -> replace MAXPATH 256 with MAXPATH 1024 (line 260)
The resulting files are now here! -
http://rapidshare.com/files/237840222/tcpmp-0.72rc1-fixed-youtube-05-27-2009-invar.rar
The bad news is this:
- I have no idea how to put stuff into a self install CAB, so the file I uploaded to rapidsdhare is ONLY the three files that were necessary. You MUST install a CAB version of 0.72RC1 from elsewhere (preferably the same version in this thread that was posted.)
- Also, the version of 0.72 RC1 I used does NOT install the PIE videoloader.dll (aka flashvideobundle), so if you completely uninstalled any preexisting version of TCPMP and installed the one posted here, you MUST reinstall flashvideobundle which is not really a problem, just an extra step. Here's a link for it! (google for 'flashvideobundle 1.4.4' if the link dies... there are plenty of sites)
http://handheld.softpedia.com/get/Video/FlashVideoBundle-64991.shtml
Anyway, if someone knows how to package this into a CAB or something, feel free to go ahead and do it and then post it. It appears to be working great so far, and I hope I didn't screw anything up.
Feedback appreciated, and enjoy nice high quality FLV youtube once again!
edit: There is now a nice CAB version available here that has incorporated my changes!
http://forum.ppcgeeks.com/showthread.php?t=59820
Great work!!
OMG Thank you invario... I was wondering what happined.. Thanks for all tha research and work!!
Haven't tryed it yet.. may just stick to tha Garbage MP4 quality untill a packaged CAB gets posted
criminalogic said:
OMG Thank you invario... I was wondering what happined.. Thanks for all tha research and work!!
Haven't tryed it yet.. may just stick to tha Garbage MP4 quality untill a packaged CAB gets posted
Click to expand...
Click to collapse
All you have to do is install the CAB version posted here:
http://forum.xda-developers.com/showthread.php?t=380387
And then from my file, extract those files to \program files\tcpmp and overwrite.
That's it!
Oh, and you need the flashvideobundle.
edit: there's also a CAB version that incorporates my changes, available here now!
http://forum.ppcgeeks.com/showthread.php?t=59820&page=80
Could you do your magic but using the subtitle plugin source to build the common.dll and interface.plg?
That plugin works in a very non optimal way (using those files is not the best idea... still it's the only subtitle plugin available). To test it notice the plugin only works in GDI video mode.
i figured it out. give this a shot. don't hold me responsible!
www.crimetank.com/misc/tcpmp-subtitle.rar
link is no good - cant access it for some reason =/
but its coo i just overwrite files
ok, it said failed to find pie - the videoloader.dll error
it also said link is invalid so maybe it has something to do with my cooked rom cuz links should be fine since u updated it
i do have flash 3.1 installed so let me remove and see how it goes
nope no good probably cuz cooked rom? i duno how they work but if it installs in program files/tcpmp then it should be fine as im overwriting the files
Sorry, but I didn't find the issue in this forum
All the webs for example GSMARENA , it says "Java: Yes, via Java MIDP emulator"
I can't find this emulator installed, so it's lie !
I tried to find the JBED , but it doesn't support Android 2.3 yet .
I tried other MIDP emulator (netmite, the one you send the jar and get APK) , but it sucks and not doing good job..
Don't ask why do I need it, "you can find same application for Android..."
So it's not true:
1. I have some old application and they are not exist in Android.
2. I have my application I wrote in J2ME long ago, I have no knowledge/time to learn how to re code them for Android,
I simple want to use them as is...
If any1 here knows good solution, please your advice...
arix said:
Sorry, but I didn't find the issue in this forum
All the webs for example GSMARENA , it says "Java: Yes, via Java MIDP emulator"
I can't find this emulator installed, so it's lie !
I tried to find the JBED , but it doesn't support Android 2.3 yet .
I tried other MIDP emulator (netmite, the one you send the jar and get APK) , but it sucks and not doing good job..
Don't ask why do I need it, "you can find same application for Android..."
So it's not true:
1. I have some old application and they are not exist in Android.
2. I have my application I wrote in J2ME long ago, I have no knowledge/time to learn how to re code them for Android,
I simple want to use them as is...
If any1 here knows good solution, please your advice...
Click to expand...
Click to collapse
Dunno about no. 1, but for no.2 checkout MicroEmu by Bartek Teodorczyk - if you have the code, getting it to run on Android should (I believe) be fairly simple.
Thanks for your answer.
I also saw this solution, it's not simple as it looks like...
(needs many installations , tools etc... and finally you will find
that some lib(s) are missing..
Beside , I wrote the program 6 years ago or something
when I had SE P910 ,
I used also MIDP programs with
WM (HTC Diamond) by using Jbed comes with it...
I just want to run the jar(s) as is...
After searching (1 month since i have the SGS2) I finally found
solution. I think it should comes with SGS2 (but it's not) as all the web(s) says about SGS2 : "Java: Yes, via Java MIDP emulator."
The solution attached here is working fine, no arrows and very small fonts, but with "touch" is fine....
Anyway, Only if you are rooted and knows to mass with files,
Just install the apk as usual and push the lib to /system/lib and change its permissions to rw-r-r-
Or adb:
adb install Jbed.apk
adb remount
adb push libjbedvm.so /system/lib/libjbedvm.so
adb shell
su
chmod 644 /system/lib/libjbedvm.so
exit
exit
adb reboot
You can find the zip file here:
http://forum.xda-developers.com/showthread.php?t=1070185
I have a good news there is a rom(S8500ZCKF2 BADA1.2) it can play RMVB via video player ,I think it's very useful for the rom diyers
download:
u.115.com/file/e6rfw47n
S8500ZCKF2_BIN.part1.rar
u.115.com/file/e6rfwicx
S8500ZCKF2_BIN.part2.rar
u.115.com/file/dn9l5j0s
S8500ZCKF2_BIN.part3.rar
u.115.com/file/dn9l5ajb
S8500ZCKF2_BIN.part4.rar
No one interested ????
now every one can download it from "samfirmware "
there is a bug ,When entering a folder containing *.rmvb the phone will reboot
Hello,
I wanted to know if there's any way to "share" the apps installed on each ROM so I don't have to be installing them each time I add a new ROM. I've searched the forums and I only found this: http://forum.xda-developers.com/showthread.php?t=872742 which is quite old and things might have changed by now. I also understand that I won't be able to share *every* app as some of them are Froyo/GB/ICS/JB specific.
Thanks!
J_M_V_S said:
Hello,
I wanted to know if there's any way to "share" the apps installed on each ROM so I don't have to be installing them each time I add a new ROM. I've searched the forums and I only found this: http://forum.xda-developers.com/showthread.php?t=872742 which is quite old and things might have changed by now. I also understand that I won't be able to share *every* app as some of them are Froyo/GB/ICS/JB specific.
Thanks!
Click to expand...
Click to collapse
You mean, share apps btw the virtual systems?, or btw the real and the virtual?
LeonardoJegigzem said:
You mean, share apps btw the virtual systems?, or btw the real and the virtual?
Click to expand...
Click to collapse
Either. Ideally both but I don't mind if I can only share between RS and VSs or between VSs. Is it possible, then?
J_M_V_S said:
Hello,
I wanted to know if there's any way to "share" the apps installed on each ROM so I don't have to be installing them each time I add a new ROM. I've searched the forums and I only found this: http://forum.xda-developers.com/showthread.php?t=872742 which is quite old and things might have changed by now. I also understand that I won't be able to share *every* app as some of them are Froyo/GB/ICS/JB specific.
Thanks!
Click to expand...
Click to collapse
Real to Virtual :
You can browse /fshook/mounts/data/apps to find the apps in real system. However TB is the best way to go.
Virtual to Real :
In terminal emulator,
Code:
su
mkdir -p /data/local/mnt/data
mount -o loop -t ext3 /mnt/sdcard/multiboot/<Vfs name>/data.img /data/local/mnt/data
Then you can browse /data/local/mnt/data for apps. After completing installing,
Code:
su
umount /data/local/mnt/data
Thank you very much royale1223! I thought about TB but I wanted to know if there was any other method. I presume that if I go to /fshook/mounts/data/apps in the VS I will able to install them in the VS or will I be able to run then directly?
This is a project I've been working on and off since I got my MotoACTV several months ago. A port of AOSP android for the MotoACTV.
What works:
- Wifi
- Audio
- Bluetooth (limited)
- Backlight level and leds.
- FM Radio.
- GPS.
- Accelerometer.
- all google apps
- most android functions. This is GingerBread 2.3.4.
What doesn't work (yet):
- Audio input
- native codecs, no video playing with stock players.
- HW acceleration
- some other things...
This is a work in progress yet, I just felt it reached a point where it's starting to be usable, so I'm releasing them as previews.
systemPreview13.img.zip 25/jan/2013
systemPreview18.img.zip 29/jan/2013 fixed battey icons, slightly improvement in video reproduction
That file is only the system image, it needs to be flashed with fastboot or ClearD's Image Flasher. The MotoACTV needs to be wiped. You need a boot image from the latest Motorola based roms, such as DPRom9.
No questions will be answered at this point. This is not finished, if you don't know how to install this, then wait for a more finished version. I already know most problems with this rom, please, no bug reporting, or improvement suggestion yet.
This is completely build from sources except for some non-open source binaries related to the hardware of the MotoACTV.
I am making the needed files to build this available to anyone who wants to give it a try and help. Atarii from the irc channel is already contributing.
https://github.com/dproldan
What can you do to help/contribute?
Post information that you feel could be usefull for other users. Apps that you have tried and found working, etc.
If you find a problem and know the solution, post about it.
During the development of this ROM, I bricked my dev MotoACTV. If you want to encourage development, use the donate button!
Enjoy!
Looking good, keep up the good work!
Sent from my GT-I9300 using Tapatalk 2
...Is this really happening??? ^_^
Will donate some cash come payday in a couple days. This is unreal.
So I'm excited. Thanks!
This looks amazing. I would guess no Motorola launcher and actv functions?
Either way I'm incredibly excited and will do my best to provide any productive feedback that I can.
donated 10 bucks to the motoactv fund
Me too $10 to dproldan, keep up the great work! It will be great if u could update your other ROM as well pls.
bluetooth audio
Did anyone try if audio-in (microphone) works with bluetooth headsets? It would be amazing if I could make calls with skype on this rom.
Update: I bought a mono bluetooth (non a2dp) headset and tried it with this rom and Atarii's boot.img with bluetooth profiles. Pairing was successful but neither microphone nor audio worked. I installed the BTmono app to make the headset accessible to apps other than the dialer (which works perfekt on my phone), but no sucess on the motoactv.
Can someone give some feedback on this rom especially if we can install run keeper? Thank
you
Sent from my GT-N7100 using Tapatalk 2
yreham said:
Can someone give some feedback on this rom especially if we can install run keeper? Thank
you
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
I don't think dp is going to share any info on this one until he is further along. You could flash it and see how it goes. If you don't like it you could always go back to beta9 or whatever else you like.
No posts in a while, this project still active? Or dare I say... actv? ha ha ok bad joke.
Just busy with other things...
Sent from my GT-N7100 using xda app-developers app
This looks great, but is it possible to get Market on it? I downloaded the APK, but when I open Play Store it tells me I will now add a google account to the device, but when I click Yes, I get returned to home-screen..
EDIT: I see in the pictures you attached, you have Play Store, so I guess i must have done something wrong?
You have to install gapps from recovery mode.
http://goo.im/gapps/gapps-gb-20110828-signed.zip
Sent from my GT-N7100 using xda app-developers app
Thanks dproldan.
Another question, how do I set a keyboard as default, everytime I reboot my watch, I have to reactivate Flit Keyboard..
tips with this rom
1) install superuser via cwm from http://androidsu.com/superuser/ , not necessary, but important for most of my uses
2) install google apps via cwm, I had trouble with the recommended 20110828, so i went with gapps-gb-20110613-signed.zip which worked first time
3) drop the lcd density so more fits on screen. I like 90, but 100 is probably more practical
4) install mx player and the recommended armv7 codecs from play store, even without hardware accel working, there's just enough oomf in there for software decoding of most sd formats
more to come
Does anyone have BT tethering working on this ROM? Is it supported by the stack? If not, is there anything I can do to try and get it working?
Further to the above question: does anyone have bluetooth anything working with this rom? When I flashed it, it seemed like the names of bluetooth devices were bugged (as in - I couldn't see any, and when I paired with something by it's code instead, any app that wanted the name just crashed).
I just want to make sure it's the rom and not something I did.
When you say bluetooth tethering, do you mean something using the watch's wifi connection? Or do you mean the watch using your phone/pc net connection?
Saeviomage said:
Further to the above question: does anyone have bluetooth anything working with this rom? When I flashed it, it seemed like the names of bluetooth devices were bugged (as in - I couldn't see any, and when I paired with something by it's code instead, any app that wanted the name just crashed).
I just want to make sure it's the rom and not something I did.
When you say bluetooth tethering, do you mean something using the watch's wifi connection? Or do you mean the watch using your phone/pc net connection?
Click to expand...
Click to collapse
the first time i installed reactv, my bluetooth could scan for devices and would even pair with a bluetooth headset, but would not play any sound. a few days later after i'd accidentally wiped my data in cwm instead of running a backup and restored most of my settings with titanium i noticed sound was playing through my headset.
bluetooth tethering i can't test as my other android device lost this function in the latest official update and i haven't gotten around to working around that yet
---------- Post added at 10:57 AM ---------- Previous post was at 10:55 AM ----------
Has anyone else been able to rebuild reactv from source? i've tried following the directions and can get a compiled disk image, but it always hangs on boot before the adb service kicks in.
-fg
fg said:
the first time i installed reactv, my bluetooth could scan for devices and would even pair with a bluetooth headset, but would not play any sound. a few days later after i'd accidentally wiped my data in cwm instead of running a backup and restored most of my settings with titanium i noticed sound was playing through my headset.
bluetooth tethering i can't test as my other android device lost this function in the latest official update and i haven't gotten around to working around that yet
---------- Post added at 10:57 AM ---------- Previous post was at 10:55 AM ----------
Has anyone else been able to rebuild reactv from source? i've tried following the directions and can get a compiled disk image, but it always hangs on boot before the adb service kicks in.
-fg
Click to expand...
Click to collapse
I've been trying, but the instructions are not as clear as they could be (especially the bits about fixing user tags in android.mk files?). It would be nice if someone who knows how to do it would put out a script.
I have a script that does what I THINK needs to be done (except for fixing the android.mk files - because I have no idea what to do there), but I'm not 100% sure, and when it gets to the point of running make, it cannot find a makefile
-----start script-----
#run from the root of your vanilla android workspace
#download the motorola files
mkdir extracted_temp
cd extracted_temp
for i in system-core.tgz system-wlan-ti.tgz README.txt system-bluetooth.tgz motorola-external-visualization.tgz motorola-external-wbxmlparser.tgz motorola-external-util-linux.tgz motorola-external-jcifs.tgz motorola-external-jid3lib.tgz motorola-external-lbl.tgz motorola-external-bthelp.tgz motorola-external-hunspell.tgz kernel-omap3.tgz hardware-ti-omap3.tgz external-iproute2.tgz external-iptables.tgz external-elfcopy.tgz external-elfutils.tgz external-expat.tgz external-e2fsprogs.tgz external-dnsmasq.tgz external-dbus.tgz external-bluetooth-bluez.tgz external-bluetooth-glib.tgz external-bison.tgz external-alsa-lib.tgz bionic.tgz
do
if [ ! -f $i ]
then
echo $i
wget --trust-server-name "https://downloads.sourceforge.net/project/motoactv.motorola/MOTOACTV-Americas/1.7.11/$i"
fi
done
#extract them
for i in *.tgz
do
tar -xvf $i
done
#go through the extracted folders, and whenever there are files in a folder, delete the contents of that folder from the vanilla workspace
#so we overwrite the folder instead of merging. Note - this takes ages because it re-does the delete for each file in each folder
#but I can't be bothered to fix it
find -wholename "*/**" -exec rm .`dirname \{\}`/* \;
#copy the extracted folders to their destinations
for i in *
do
if [ -d $i ]
then
cp -r $i ..
fi
done
cd ..
#configure
lunch generic_G2-userdebug
#make
make
----end script-----