Virtual Keyboard for PSP (Qwerty)Random Homebrew: Virtual Keyboard for PSP (Qwerty)
Virtual Keyboard for your PSP Browser
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

OpenTube

Submit your entry for the competition here.
check http://wololo.net/genesis for detailed rules

OpenTube

Postby biscottealacrevette » Wed Apr 20, 2011 5:48 pm

INTRODUCTION:

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 :D
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

Download:
V.2
bin: http://www.mediafire.com/?rs4xdnwdnn28d2f (signed)
src: http://www.mediafire.com/?sau0mgphme2qrpv

Control:
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.

Screenshot:
Search Result (of course you can change backgroud with some wapanese naked girlz):
Image
during playback (the video is now centered on the screen) :
Image
a cat is fine too in 16:7
Image
(do you prefer a black background during the playback ?)
ERROR LIST :


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
Last edited by biscottealacrevette on Sun Aug 28, 2011 1:20 am, edited 10 times in total.
biscottealacrevette
 
Posts: 43
Joined: Wed Apr 20, 2011 4:24 pm
Location: WHERE fuck_given > 0

Re: OpenTube

Postby bsanehi » Wed Apr 20, 2011 6:35 pm

If this works it would be awesome.... Good luck man...
.
Image
User avatar
bsanehi
 
Posts: 364
Joined: Thu Mar 17, 2011 2:07 am

Re: OpenTube

Postby rainof89 » Wed Apr 20, 2011 6:53 pm

Dude this is going to be amazing! Cant wait for the finished product. I can see myself using this a whole lot. Way to go biscottealacrevette! Keep the net players alive!!!
Just an off topic question(not a request): Is there any possibility this player can support live streams like justin.tv?
rainof89
 
Posts: 277
Joined: Tue Nov 16, 2010 5:23 pm

Re: OpenTube

Postby biscottealacrevette » Wed Apr 20, 2011 7:20 pm

>>61339 as long as the NetFront browser can be extended by plugin (.prx) and the protocole is know and the stream's kb/s is lower than PSP's wifi speed and the AV codec can be processed by the ME , yes.
biscottealacrevette
 
Posts: 43
Joined: Wed Apr 20, 2011 4:24 pm
Location: WHERE fuck_given > 0

Re: OpenTube

Postby nakano » Thu Apr 21, 2011 3:38 pm

The lack of interest might have been that this doesn't seem to be an end user product (at least not yet) as you need PC (pspsh.exe) if I understood your description right. Video demonstration would be nice to see of usage. However, if this fixes the bugs (freeze and sometimes unclear video) of PSPTube then this might be useful. You have done a great work updating the scripts of PSPTube, though.

Anyway, this forum is for entries of Genesis. As far as I see this doesn't fullfil the requirements (no eboot, no sponsor logo).
Genesis 2011 projects:
* AnyLanguageStudy
* Company (Card Game)
nakano
 
Posts: 108
Joined: Sun Feb 27, 2011 3:07 pm

Re: OpenTube

Postby biscottealacrevette » Thu Apr 21, 2011 5:24 pm

no problem this was just a proof of concept (just to avoid quick reply as "you fake ! trolololo")
i'll add a splashcreen-eboot now ;)

edit added : EBOOT.PBP who blit a jpg to the VRAM and load/start "./main.prx" hope it's okay
biscottealacrevette
 
Posts: 43
Joined: Wed Apr 20, 2011 4:24 pm
Location: WHERE fuck_given > 0

Re: OpenTube

Postby nakano » Fri Apr 22, 2011 6:56 am

So, can I test this somehow? If I now launch the eboot, it shows the logo, but nothing else happens. I placed the test.html to the root / homebrew folder. My html file is the following:
test.html
Code: Select all
<object id="ext" type="application/x-psp-extplugin"></object>
<script>
/*
//dir listing
ext.dopen("ms0:/PSP/GAME/");
var name="";
while(name=ext.dread())alert(name);

//file r/w
ext.write("host0:/test",".");//append
alert(ext.read("host0:/test"));
*/
</script>
<a href="http://www.youtube.com/watch?v=6m_HuEP63jA">apctlConnect</a>
<input value="get2file" type="button" onclick="ext.wget('http://www.youtube.com/watch?v=6m_HuEP63jA','ms0:/video/')"/>
<input value="get2ram" type="button" onclick="ext.wget('http://www.youtube.com/watch?v=6m_HuEP63jA')"/>
<input value="play" type="button" onclick="ext.play('ms0:/video/test.flv')"/>
<input value="setDlDir" type="button" onclick="ext.setDlDir(prompt('enter dirname:'))"/>
Genesis 2011 projects:
* AnyLanguageStudy
* Company (Card Game)
nakano
 
Posts: 108
Joined: Sun Feb 27, 2011 3:07 pm

Re: OpenTube

Postby OMightyBuggy » Sat Apr 23, 2011 2:29 am

Freezes at the logo...
PSP 1001 CFW 6.60 PRO Nightly Build
---Animal Crossing: City Folk---
Friend Code (1763-7263-4465) Town (Hyrule) Name (Jeffrey)
XBOX Live: WiiButtonMash
User avatar
OMightyBuggy
 
Posts: 24
Joined: Mon Apr 11, 2011 1:43 am
Location: Mesa, AZ (AKA Hell, even through Winter)

Re: OpenTube

Postby biscottealacrevette » Sun Apr 24, 2011 12:04 am

sorry about the delay, i was playing (and finishig :p) a game (yep, that one ^^)

i'v uploaded a version who can work with relativ path (so it can be lauch both from host0:/ ms0:/ wathever0:/)
~~link on first post~~
but i'm face of 3 weird bug :
> only the first play work, the second play is blocked due to a bad memalign (but the memory free space are the same a the both moment)
> some FLV give an Exception - Breakpoint
> sometime PPA return "M" as error message wich is obviously not present in source

i'll try to investigate on it.
at least you can play with the HTML file browser... or try to crash your psp by clicking on the [play] button ;)

instal process :
place the HTML in ms0:/
place the rest in ms0:/PSP/GAME/*/
biscottealacrevette
 
Posts: 43
Joined: Wed Apr 20, 2011 4:24 pm
Location: WHERE fuck_given > 0

Next

Return to Submissions

Who is online

Users browsing this forum: Bing [Bot] and 1 guest