PMP VLC 0.0.9 Player

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
mojojojo
Posts: 33
Joined: Mon Jan 01, 2007 12:19 pm

Post by mojojojo »

W00fer wrote:PMP VLC 0.09 OE version doesn't connect to my WPA-PSK DHCP wifi router. It says: connection state 0 of 4, 2 of 4 and then the wifi light goes off and the program freezes.
You're running this under a 3.XX kernel?

And your browser or other XMB app on the PSP connects fine?
Iforaneye
Posts: 10
Joined: Fri Apr 13, 2007 3:42 am

Post by Iforaneye »

he has same problem as me :o
W00fer
Posts: 40
Joined: Fri Apr 13, 2007 8:02 am

Post by W00fer »

Yes, kernel is 3.10 and i'm internetting normally on my PSP, so XMB connection works.
mojojojo
Posts: 33
Joined: Mon Jan 01, 2007 12:19 pm

Post by mojojojo »

W00fer wrote:Yes, kernel is 3.10 and i'm internetting normally on my PSP, so XMB connection works.
That sounds the same as my setup. WPA on 3.10

Are you sure you're using the OE version of pmpvlc? What color is the XMB icon background before you launch it?

And you are running it from 3.10 kernel, not 1.50 kernel?
W00fer
Posts: 40
Joined: Fri Apr 13, 2007 8:02 am

Post by W00fer »

I am very sure, i'm not stupid :)

It's a dark background with a large VLC icon and a moviestrip around it.
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

Make sure you remove all PMPVLC versions from your PSP. Download this version and copy the directory PMPVLC009_OE_JockyW to the GAME310 directory on your PSP:

binary: PMPVLC009_OE_Rev4-test-binaries.zip (Rev.4 for Dark Alex OE firmwares Kernel 3.x mode)
Your Download-Link: http://www.fx-world.org/download/jockyw ... naries.zip

Note that you must use the modified VLC package (download link in first post) and make sure you set the correct value for parameter "con" in pmp.ini

Try both with a fixed IP and with DHCP. I noticed that often, immediate after using USB, PMPVLC would hang trying to connect to the network. If that happens do a cold boot and try again.
W00fer
Posts: 40
Joined: Fri Apr 13, 2007 8:02 am

Post by W00fer »

Hmm i tried with a coldboot, but no succes. Now even the wifi-light wont turn on, it says: Network ON IP =
And when i again press Rtrigger, it says Check your network settings.

What do u mean with the "con" value in pmp.ini

I just want to view live tv via TVUPLAYER. I have installed the 0.86a package with AVC streaming, as u told me to do.
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

W00fer wrote:What do u mean with the "con" value in pmp.ini
con: integer value of the WiFi connection (e.g. 1 if you have only one connection configured in network settings) ....
W00fer
Posts: 40
Joined: Fri Apr 13, 2007 8:02 am

Post by W00fer »

jockyw2001 wrote:
W00fer wrote:What do u mean with the "con" value in pmp.ini
con: integer value of the WiFi connection (e.g. 1 if you have only one connection configured in network settings) ....
YAY :) It works HALF now, i can connect. Con value was set to 2, now to 1.

EDIT: NOOOOOO, Livestream does NOT work, it says Loading, Loading, Loading, and then wifi-light goes off, and then psp turns off. I did a cold boot.

VLC Settings:

Buffer: 500
Incapsulation method: ogg
Video codec: DIV3
Audio codec: MP3

When i add a - in front of the sout, i can view AND hear the video, so that's fine.

:sout=#transcode{vcodec=DIV3,vb=1024,scale=1,acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=http,mux=ogg,dst=192.168.1.89:1234}}
mojojojo
Posts: 33
Joined: Mon Jan 01, 2007 12:19 pm

Post by mojojojo »

W00fer wrote: VLC Settings:

Buffer: 500
Incapsulation method: ogg
Video codec: DIV3
Audio codec: MP3

When i add a - in front of the sout, i can view AND hear the video, so that's fine.

:sout=#transcode{vcodec=DIV3,vb=1024,scale=1,acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=http,mux=ogg,dst=192.168.1.89:1234}}
You are using the wrong codec and settings for the AVC HW.

See this previous post ...

http://forums.ps2dev.org/viewtopic.php? ... x264#51917
W00fer
Posts: 40
Joined: Fri Apr 13, 2007 8:02 am

Post by W00fer »

Too bad that the OE version only supports AVC streaming, thanks for your help mojojojo
Soundfx4
Posts: 6
Joined: Wed May 02, 2007 12:50 pm
Location: Roanoke, VA
Contact:

Post by Soundfx4 »

jockyw2001 wrote:Finally a new version ...

binary: PMPVLC009Rev4-test-binaries.zip (Rev.4 for firmware versions 1.0, 1.50 and Dark Alex OE firmwares Kernel 1.50 mode)
Your Download-Link: http://www.fx-world.org/download/jockyw ... naries.zip

Changelog Rev4 (02/28/2007)
-----------------------------------
For firmware versions 1.0, 1.50 and Dark Alex OE firmwares Kernel 1.50 mode:

1) in AVC hardware mode it is no longer needed to play a file from memstick before playing a network file or stream. A big thx to jonny for pointing me in the right direction! :)
2) uses new ffmpeg build 7991 (02/15/2007)
3) can play Youtube videos from memstick
4) can play mpeg1 and mpeg2 files and streams
5) fixed bug where VLC plays unintended previous playlist item
6) improved general stability
7) nice background and icons made by "shadow-evillink" and "raven"
8) additional settings in PMP.INI: vid_extra and aud_extra

I've updated the first posting in this thread where you can find additional info and guidelines.

There will be further updates in the near future:
- An improved VLC server script by mojojojo which allows traversing subdirectories and elaborated playlists (e.g. shoutcast, sap discovery)
- A version which supports WPA Wifi mode for Dark Alex firmware versions

Enjoy,
JockyW

I made sure to check every post after this one before I posted this, and I found nobody else having this problem, so here goes:

I'm using a US PSP Firmware v 1.5. I was able to get rev 2 working but it still had problems, so I tried rev 4 from the quote above to see if it fixed any problems.
When I turned on my PSP, I was greeted with a very awesome logo and background which in it's self was worth it :) But after I opened it I was greeted with a big steaming pile of BS, fresh from the bull. I got this error:

The game could not be started.
(80020001)

So I'm pretty pissed at this point because this is a similar error (possibly the same error) you get when you try to run hombrew apps on firmware later then 1.5.

Any ideas at all?

Thanks.
Last edited by Soundfx4 on Thu May 03, 2007 6:32 am, edited 1 time in total.
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

Soundfx4 wrote:Any ideas at all?
I've tested the OE version only on 3.10-oe and later versions (I'm now on 3.40) and it works fine.

I guess it will work with latest devhook and 3.40-oe
Soundfx4
Posts: 6
Joined: Wed May 02, 2007 12:50 pm
Location: Roanoke, VA
Contact:

Post by Soundfx4 »

jockyw2001 wrote:
Soundfx4 wrote:Any ideas at all?
I've tested the OE version only on 3.10-oe and later versions (I'm now on 3.40) and it works fine.

I guess it will work with latest devhook and 3.40-oe
I'm actually more concerned with why it won't work on firmware 1.5 (not the OE version, I know that one doesn't work on 1.5, but the one mentioned in the quote, the one that is made for 1.0 and 1.5) I don't like to use devhook when I can avoid it, although the fact that it only does AVC is no problem as I'm a quality freak anyway and will except nothing but the best I can get :P

ありがとう
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

A similar error as you got once happened to me, shortening the directory names resolved it.
Soundfx4
Posts: 6
Joined: Wed May 02, 2007 12:50 pm
Location: Roanoke, VA
Contact:

Post by Soundfx4 »

jockyw2001 wrote:A similar error as you got once happened to me, shortening the directory names resolved it.
which directory? Sorry, but I wasn't sure if you meant the directory on the PSP memory stick, or the directory that I have my music and videos in. If you are talking about the music or videos, then I don't think that is the problem because I haven't even edited the ini file yet, so the defaults are still there. And I actually did try to shorten the names of the folders that the program goes in, but it didn't do anything. :\

I just tried deleting the ini file to make sure it had nothing to do with the directories and it seams it doesn't. I'm not sure what could be going on, the other ones up to rev 2 always started with out a problem.
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

Yes, I meant programdirs.

Weird, the Rev4 for 1.0/1.50 fw works fine on 3.xx and afair did work on 1.50 as well before I flashed 3.xx
Soundfx4
Posts: 6
Joined: Wed May 02, 2007 12:50 pm
Location: Roanoke, VA
Contact:

Post by Soundfx4 »

jockyw2001 wrote:Yes, I meant programdirs.

Weird, the Rev4 for 1.0/1.50 fw works fine on 3.xx and afair did work on 1.50 as well before I flashed 3.xx
hmm...well I can try to shorten the directories even more, but this is very odd. I must be doing something wrong because if this was a problem with the program surely someone else would be reporting the same thing. I'll play around with the directories a little bit more, but I'm really not sure what else to try other then upgrading Devhook.


I just shortened them to one letter and it still doesn't work. Something else that I'm not sure that is right, there are two icons for the PMP VLC player, where as with past experience with homebrew there is usually only one, and below it an icon that says Corrupted Data. This couldn't be anything could it?
GuardianAtomos
Posts: 2
Joined: Thu May 03, 2007 7:18 pm
Location: Roanoke, VA

Post by GuardianAtomos »

I've been really eager to try this out, but VLC is confounding me to no end. I can't even get my browser to display anything when I view pspfiles.html. I've removed every reference to VLC and installed it (tried 0.8.6 and 0.8.5) over and over, and I added pspfiles.html to C:\Program Files\VideoLAN\VLC\http\admin, making sure that .access was not present. Next, I launched VLC with --extraintf=http. I confirmed that VLC was listening on port 8080 by trying http://192.168.1.102:8080 in my browser, and this was successful. So I tried http://192.168.1.102:8080/admin/pspfiles.html?dir=c:/

Basically, I tried several values for the "dir" variable, but I'm constantly getting a blank page no matter what I try -- the blank page at LEAST indicating that it could find pspfiles.html since I'm not getting a 404 error. I also tried to work this out on OS X, too. Again, I can get the main VLC control page with my web browser, but when I try to make sure pspfiles.html works, I get nothing. I assume that something like dir=/usr/local/ is correct syntax for OS X/Linux? I have a feeling that once I get this figured out, PMP VLC will work just fine because it accesses the wifi for a second when I select Video, but then it displays only files from my Memory Stick; seems like it too is accessing blank data when querying pspfiles.html. Any insight would be greatly appreciated. Thanks for all the hard work you've put into this awesome application.
thejew
Posts: 7
Joined: Mon Jul 17, 2006 12:42 am

Post by thejew »

had the same problem as mentioned above.... Just used the old version of VLC which solved my problem. You can still find it somewhere on the first post.
Hope that helps :)
GuardianAtomos
Posts: 2
Joined: Thu May 03, 2007 7:18 pm
Location: Roanoke, VA

Post by GuardianAtomos »

thejew wrote:had the same problem as mentioned above.... Just used the old version of VLC which solved my problem. You can still find it somewhere on the first post.
Hope that helps :)
Alas, to no avail. :-\ I'm not sure if I'm doing something amazingly stupid, or if I'm doing something amazingly stupid. ;)
puppinoo
Posts: 7
Joined: Sun Aug 21, 2005 7:18 pm

Post by puppinoo »

cocco wrote:grazie ;o)

yesterday i tested 3 hours with no result...
when i go sleep i've seen that i tested on the psp with 1.50 kernel ...
and when i save to ms i save the settings on the 3.03 kernel.. lol

will try again later... with the rightone ;o)

i made a script that creates parto of a playlist with all the dreambox channels.
part because i cant find the apid and vpid link to view on vlc

#EXTM3U
#EXTINF:-1,Channel1
zw:http://192.168.123.100/cgi-bin/zapTo?pa ... 8.123.100/

now after the last link i need this two numbers to make all work

is there a way to batch channels from dreambox with all the info (apid and vpid?)
Hi,
Try this:

http://<dbox>/control/zapto?getpids
or this
http://<dbox>/cgi-bin/status
or this
http://<dbox>/cgi-bin/streaminfo

It gives vpid and apid in decimal value if im not wrong.
Not sure if u can get them as a return value.
Im using PMPVLC009_OE_Rev4-test-binaries.zip and pmpvlc009_mojojojo_mod_alpha7.zip.
My problem is that using the cgi zapto method (control/zapto?channel_id1 doesnt seem to work for me) and service reference I can zap to the specified channel manually but it doesnt seem to work in the script. Furthermore My playlist doesnt seem correct as it appears. It only appears a single row even if I put different channels into the list. Btw the stream starts if I am on certain channels even if they are not in the list. I still cant realize which ones and why. (for instance I have in the list only italian Sky cinema 1 and 2 but if I zap to sky cinema 16:9 it worked...maybe they are same or compatible pids... no idea didnt check yet and not expert enough.).
JockyW wrote: JockyW wrote:
Solved:)

Create a playlist (dbox.m3u) like this one:
Code:
#EXTM3U
#EXTINF:-1, CHANNELNAME1
zw:http://dbox/control/system?setAViAExtPl ... ,vpid,apid
#EXTINF:-1, CHANNELNAME2
zw:http://dbox/control/system?setAViAExtPl ... ,vpid,apid
what does that link to spts do exactly? it gives me error 404. Im using Gemini 3.50 and a patched streamts file (I have a dm500 which has problems in streaming with default streamts).
BTW awesome soft! I hope I will be able to make playlist work soon.

Here's my example of playlist dbox.m3u:

#EXTM3U
#EXTINF:-1, SkyCinema2
zw:http://192.168.0.31/cgi-bin/zapTo?path= ... 0a6h,01a8h
#EXTINF:-1, SkyCinema1
zw:http://192.168.0.31/cgi-bin/zapTo?path= ... 0a0h,0191h

and my playlist section

videopath1 = pl:C:\Dbox\dbox.m3u;
videopath2 = vlc_playlist;

EDIT: After further tests, I can conclude that the problem is that I cant ZAPTO! so if I already am on the right channel the playlist works otherwise it doesnt :( Notice that the zapto method abve indeed works if I use it into a browser. Furthermore the reading of the playlist seems a bit too temperamental. Right now it freezes the psp when i try to read the playlist, and im pretty sure I didnt change it or the ini since last time it worked.


EDIT2: I solved the ZAPTO problem it was a stupid need of login/pass so I needed format http://login:password@<dbox> etc
Now it successfully changes channel but I receive this error:

main error: cannot pre fill buffer
main error: refcount is 1, delaying again (id=396,type=-7)
main error: waited too long, cancelling destruction (id=396,type=-7)
main error: no suitable access module for `zw:http://<login>:<password>@192.168.0.31/ ... 0a6h,01a8h'
main error: no suitable access module for `zw:http://<login>:<password>@192.168.0.31/ ... 0a0h,0191h'
main error: cannot pre fill buffer.

If anyone has any suggestion, it will be appreciated.
Soon ill do other tests.

Bye.
Puppinoo.
salman
Posts: 1
Joined: Thu May 17, 2007 9:09 pm

Post by salman »

Hi, This post is very informative, however I would like some specific information. If someone can help me then please send me a private message. Best Regards,
t3chno185
Posts: 1
Joined: Sun May 20, 2007 1:01 pm

Post by t3chno185 »

I've been working on this for weeks and I still can't get it to work.

I am running on 3.40 OE-A and I'm using PMPVLC009 OE Rev4 test-binaries.
The PMP VLC Player connects to internet successfully but when I try the live stream the PSP either freezes and eventually turns off or gives the error:

Code: Select all

"http&#58;//192.168.1.4&#58;1234/&#58; Error while opening file".
I'm trying to do a stream of my capture device and my Stream Output MRL is:

Code: Select all

-sout=#transcode&#123;vcodec=DIV3,vb=600,width=360,height=272,fps=25,venc=x264&#123;me=dia,subme=1,analyse=none,bframes=0,b-adapt=none,chroma-me=none,merange=1&#125;,acodec=mp3,ab=48,channels=2&#125;&#58;duplicate&#123;dst=std&#123;access=http,mux=ogg,url=192.168.1.4&#58;1234&#125;&#125;
Also, my "Customize" settings are:

Code: Select all

dshow&#58;// &#58;dshow-vdev="MEDION &#40;7133&#41; WDM Video Capture" &#58;dshow-adev="" &#58;dshow-size="" 
I replaced the 'http' folder in the VNC install directory with the "pmpvlc009_mojojojo_mod_alpha5" one and I changed my desktop shortcut to include the "--extraintf=http" as well.

Finally, my pmp.ini file looks like:

Code: Select all

# Net Io Config
&#91;net&#93;
con          = 1;   
vlc_server    = 192.168.1.4;
vlc_port   = 8080;

pmp_server    = 192.168.1.4;
pmp_port   = 3333;

debug        = 0;

videopath1   = d&#58;\Movies\;
videopath2   = m&#58;\Movies\;
videopath3   = ;
videopath4   = ;
videopath5   = ;

musicpath1   = D&#58;\Music\;
musicpath2   = ;
musicpath3   = ;
musicpath4   = ;
musicpath5   = ;

dvd_drive   = g&#58;



# VLC transcoding settings
&#91;transcode&#93;
# set res_horiz = 480 if you use AVC
res_horiz   = 360;
res_vert   = 272;

# use_avc_hw is heavily experimental !!
# if set to 1 then automatically vid_codec = h264, aud_codec = mp3, and container = ts are set
# your pmp.ini settings are then superseded
use_avc_hw   = 1;

vid_codec = DIV3;
#vid_codec = mp1v;
#vid_codec = mp2v;
#vid_codec = mp4v;
#vid_codec = DIV1;
#vid_codec = DIV2;
#vid_codec = h263;
#vid_codec = h264;
#vid_codec = WMV1;
#vid_codec = WMV2;
#vid_codec = mjpg;
#vid_codec = theo;

vid_bitrate = 600;
vid_fps = 25;

# next transcoding parameter is only used if vid_codec = h264 !!
venc = x264&#123;me=dia,subme=1,analyse=none,bframes=0,b-adapt=none,chroma-me=none,merange=1&#125;;

# here you can put additional video transcode options, e.g. vid_extra = canvas-aspect=16&#58;9,canvas-width=480,canvas-height=360;
vid_extra =

#aud_codec = mpga;
#aud_codec = mp2a;
aud_codec = mp3;
#aud_codec = mp4a;
#aud_codec = a52;
#aud_codec = vorb;
#aud_codec = flac;
#aud_codec = spx;
#aud_codec = s16l;
#aud_codec = fl32;

aud_bitrate   = 48;
aud_channels   = 2;

# resample is experimental and enables audio resampling on VLC server,
# it could offload the psp cpu a bit since if the sampling rate isn't 44100Hz
# PMP VLC will do resampling.
# However I noticed that sometimes playback of .mp4 files didn't work
# properly with resample=1
resample      = 1;
aud_samplerate   = 44100;

aud_extra =;

container = ogg;
#container = ts;
#container = ps;
#container = mpeg1;
#container = mp4;
#container = mov;
#container = wav;
#container = raw;
#container = asf;
#container = asfh;
#container = mpjpeg;



# live stream server
&#91;live&#93;
liveserver   = 192.168.1.4;
liveport   = 1234;
I might as well also note that my internet is using WPA. Hopefully somebody here can see what I'm doing wrong because I can't think of anything else to try.
mojojojo
Posts: 33
Joined: Mon Jan 01, 2007 12:19 pm

Post by mojojojo »

t3chno185 wrote:I've been working on this for weeks and I still can't get it to work.
...
I am running on 3.40 OE-A and I'm using PMPVLC009 OE Rev4 test-binaries.
...

Code: Select all

-sout=#transcode&#123;vcodec=DIV3,vb=600,width=360,height=272,fps=25,venc=x264&#123;me=dia,subme=1,analyse=none,bframes=0,b-adapt=none,chroma-me=none,merange=1&#125;,acodec=mp3,ab=48,channels=2&#125;&#58;duplicate&#123;dst=std&#123;access=http,mux=ogg,url=192.168.1.4&#58;1234&#125;&#125;
...
Looks like your problem is that you need "vcodec=h264, ...."
SiskoData
Posts: 3
Joined: Tue Dec 19, 2006 12:05 pm

Post by SiskoData »

I cannot seem to find any link to the file vlc-enable.avi.
Can you please edit first post with a link.

Thank you
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

http://www.fx-world.org/download/jockyw/VLC-ENABLE.zip
(With Rev4 you only need it to test installation)
SiskoData
Posts: 3
Joined: Tue Dec 19, 2006 12:05 pm

Post by SiskoData »

Thank you. You are always very helpful
fuerio
Posts: 1
Joined: Fri Jun 15, 2007 9:38 pm

Post by fuerio »

I've dug through this thread for a while now and can't seem to find
what I'm looking for.

Has anyone managed streaming over the internet with PMP VLC?
If so, is there a way of password protecting it?

Just curious.

I just started playing around with it today on 3.40oe and I have
to say VERY nice work!
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

fuerio wrote:Has anyone managed streaming over the internet with PMP VLC?
I did :) I have a dyndns hostname for my VLC server at home. I've never used password protection though.
If so, is there a way of password protecting it?
Password protect the directory with .htaccess and .htpasswd and in pmp.ini put "user:[email protected]"
See:
http://forum.videolan.org/viewtopic.php?p=509

Please test that and report back. Thx!
Post Reply