The past year i've tryed to support PSPtube's script. i've made a js repository system to allow other dev to share they creation.
During this year i received lot of complain about interface and codec. but without source i was unable to fix them.
Solution : make an open source psp tube !
1 - we need a JS engine : ok
2 - we need a MP4 player : ok
3 - we need a GUI : fail (i didn't succced to use sceGu alpha blending)
so i stoped to work on the project
but during one of my reversing night i found a cool sceUtility export (_private) wich return the init param struct given to the browser.
and i remembered that Wipeout Pulse use a interesting system to call C function from JS.
so i called the magic function, retrieved the struct and found how to do it too.
GUI problem solved ! we'll use the HV
so i started to add basic C function (open/read/write/close)
OpenTube vs PSPtube:
PSPtube store the video in RAM, so its impossible to seek back.
Open Tube use the MS as cache, problem : it's impossible to write and read at the same time but i'm working on it (maybe using sceIo*async )
PSPtube use FFmpeg
OpenTube use ME chip : some 4:3 video's aren't supported
bin: http://www.mediafire.com/?rs4xdnwdnn28d2f (signed)
1 - enter keywords in the search bar
2 - push the search button
3 - choose a video (using radio buttons)
4 - push the get button
~~ you should try to wait the end of the DL ~~
5 - push the play button
6 - use any key to stop playback
7 - use square to stop the background download (it's better if you want to start another download )
8 - use circle quit.
Search Result (of course you can change backgroud with some wapanese naked girlz):
during playback (the video is now centered on the screen) :
a cat is fine too in 16:7
(do you prefer a black background during the playback ?)
Content Cannot be displayed: index.html is missing (it should ba placed in the same folder with EBOOT.PBP and kernel.prx)
badFW : no NID found, follow this tuto: viewtopic.php?p=74251#p74251
unkFmt :video resolution is not supported (width>480 or height>272)
noBridg :unable to load/use kernel.prx (used to start the ME chip)
badNid :the ME chip was not started correctly
noPool :unable to alloc enought RAM space to decode the video stream
VdecErr ,AdecErr :audio or video is corrupt (maybe the file wasn't fully downloaded)
most of freez are caused by SceHtmlViewerNetfront ... if someone want to create a custom GUI to replace it that will help me a lot :3