PMP VLC 0.0.9 Player

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

Moderators: cheriff, TyRaNiD

Post Reply
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

avcodec_decode_video() is used if transcode_vid_codec is not equal to h264 or if transcode_use_avc_hw is false, otherwise avc_get() is used

and this is equivalent: avc_get() is used if transcode_vid_codec equals h264 and transcode_use_avc_hw is true, otherwise avcodec_decode_video() is used
kovi4
Posts: 7
Joined: Wed Nov 22, 2006 7:45 pm

change TV channel using PMP VLC -> WORKING!!!!

Post by kovi4 »

Hi all,

I just successfully configured it. I can change a TV channel using PMP vlc software and don't have to do it using webinterface or manually using vlc interface

First of all i have to say, that as source of my TV channels is UDP (multicast) My provider using a multicast to stream TV channels

I'm preety sure that the similar way you can confgure your TV tunner card, maybe later i will write howto do it, but only for linux, sorry but I'm not a friend of windows

howto (this howto was tested against vlc running on linux)

1.) modificate your pspfiles.html, delete everything inside and use this type of syntax for each channel (linux users only!! Please remeber to add ^M at the end of each line !!!linux users only!!!)

example of one channel
net:/udp://@233.10.47.71:1234^M

This is my pspfiles.html
^M
net:/udp://@233.10.47.71:1234^M
net:/udp://@233.10.47.72:1234^M
net:/udp://@233.10.47.70:1234^M
net:/udp://@233.10.47.14:1234^M
net:/udp://@233.10.47.11:1234^M
net:/udp://@233.10.47.81:1234^M
net:/udp://@233.10.47.82:1234^M
net:/udp://@233.10.47.80:1234^M
net:/udp://@233.11.36.92:1234^M

So basically then start your PMP VLC, enable WLAN, start menu, choose VIDEO and then choose one of the TV channel you would like to watch.

To change channel then basically do the same.
Yes it's not so comfortable as just press button -> up or down, but it's working solution.

For TV tunner you should change command, instead of udp, please try dshow:// :dshow-vdev="ATI TV Wonder Capture" :dshow-adev="Realtek AC97 Audio" :dshow-size="" :dshow-caching=200 :dshow-chroma="" :dshow-fps=25.000000 :dshow-config :dshow-tuner :dshow-tuner-channel=1 :dshow-tuner-country=421 :dshow-tuner-input=1 :dshow-video-input=-1 :dshow-audio-input=-1 :dshow-video-output=-1 :dshow-audio-output=-1
I have to say that I got no TV card so I could not really test it
Please check it for your TV card, using vlc (open Capture device and then cofigure your TV card correctly and see the MRL properties

All i modify is just MRL properties for vlc
Please let me know if it's possible to setup it for windows using TV tunner card,

If someone interested howto use it with TV tunner card and linux, setup correct MRL, just send me a message

Kovi
sparc1977
Posts: 2
Joined: Mon Dec 04, 2006 11:58 am

Post by sparc1977 »

Hi,

So far it works great after initial testing.. What worries me though is not knowing the default clock speed since anything above 222 Mhz can overheat the part of the PSP that houses the WIFI chip.. Can you tell me what the default clock speed is ? Also if it's not 222 please add it as well as 100 Mhz to the list selectable with triangle.. Even better would be setting it in the ini file and being able to disable selecting it with the triangle.

Grtzzzzz
karnare
Posts: 17
Joined: Thu Feb 16, 2006 11:40 am

Post by karnare »

When I play AVC movies, it always shows "AVC error: sceMpegAvcDecode failed Press square button to stop playback".And there is audio for a short time without video. If I set "use_avc_hw" in pmp.ini to 0, the movis can be played but too slow.
The version what I use is
***PMPVLC009Rev2-test-binaries***, why failed?
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

sparc1977 wrote:Hi,

So far it works great after initial testing.. What worries me though is not knowing the default clock speed since anything above 222 Mhz can overheat the part of the PSP that houses the WIFI chip.. Can you tell me what the default clock speed is ? Also if it's not 222 please add it as well as 100 Mhz to the list selectable with triangle.. Even better would be setting it in the ini file and being able to disable selecting it with the triangle.

Grtzzzzz
Upon opening videostream it's set to 333, and when the stream closes it's set back to 222. Triangle toggles between 333 and 222. Hm, I will make the default setting 222 and will display clock freq when pressing triangle

@karnare:RTFM, http://forums.ps2dev.org/viewtopic.php?p=42612#42612
(before playing AVC (live)streams you must play VLC-ENABLE.AVI from memstick for a few seconds (there is both a 480x272 and 360x272 version for 16:9 and 4:3 resp.))
karnare
Posts: 17
Joined: Thu Feb 16, 2006 11:40 am

Post by karnare »

I want to konw how to make it support MP4 playing directly?
Last edited by karnare on Tue Dec 05, 2006 4:06 pm, edited 2 times in total.
sparc1977
Posts: 2
Joined: Mon Dec 04, 2006 11:58 am

Post by sparc1977 »

jockyw2001 wrote:Upon opening videostream it's set to 333, and when the stream closes it's set back to 222. Triangle toggles between 333 and 222. Hm, I will make the default setting 222 and will display clock freq when pressing triangle
Since AVC playback is hardware decoded even 100 Mhz might be enough.. So from the point of battery-power-saving it's a good idea too to even allow underclocking.. Then again underclocking vs wifi power consumption might not have such a large impact on battery life in this case.

One comment about intuitive GUIs (the least appealing part of this program I fear).. On the main opening screen I'd suggest switching the L and R trigger functionality.. It makes more sense. Since right now you have to press R to change the function on the bottom left and vs..

Grtzzzzzzz Roel
kovi4
Posts: 7
Joined: Wed Nov 22, 2006 7:45 pm

vlc for linux with x264/AVC support

Post by kovi4 »

Hi all,

Can someone help me to setup correctly vlc for linux with x264/avc support
I compiled it with x264 support but AVC playback using PMP vlc is not working for me. Maybe I missed some options during compling process.

Can someone provide me a ./configure options for vlc, which should be used to compile it successfully.

Or is it working for someone - vlc on linux with successfull AVC playback/encoding for PMP VLC

Another question: Could it caused an issue with wifi, if i run PMP VLC on 333MHz for 1,5 hour? Someone told me that it can demage my wifi chip, because of overclocked cpu.

Thx a lot
Kovi
avisx
Posts: 8
Joined: Sat Dec 09, 2006 11:51 am

Post by avisx »

mbf wrote:
jockyw2001 wrote:Porkape: can you send me those nice images in the appropriate format, I like them both and will select one for the next update
Can I vote for the second one, with the cinema ticket? ;)

Very very nice job btw jockyw2001 :)

I'd like to implement the necessary changes for PMP VLC to run under devhook (to get WPA WiFi). If my memory doesn't fail me, the AVC playback is done in user mode, is that correct? I would however have to remove support for everything else when running under devhook though (but does it really matter?).

Any chance you could post a recent snapshot of the sources? Thanks :)
hi,

i'm firmware 2.71 se-c and i run this application in folder game150 and run in kernel 1.50

is possible to run in 2.71 kernel?

for example this application as migrated to run into 2.71

i'm very interested in obtaining wifi with wpa, very thanks to all!!

pd. sorry for my bad english, i'm spanish ;)
Ooops
Posts: 4
Joined: Thu Jun 29, 2006 12:54 am

Post by Ooops »

Hi jockyw2001, first thanks for your app, it's very pleasant to watch videos in bed with it hehe. Maybe you'd be interested to know the VLC has been updated recently with a better support of H264: http://www.videolan.org/
Alcahest
Posts: 135
Joined: Fri Mar 25, 2005 2:08 am

Post by Alcahest »

Yes, agreed with Ooops !
The new VLC 0.8.6 was released a few days ago, here's hoping the new enhancements will benefit PMP VLC!
See you,

Alcahest
mrdweeb
Posts: 4
Joined: Mon Sep 25, 2006 11:55 am

vlc and haupagge

Post by mrdweeb »

Has anyone gotten vlc to work with sound with any haupagge tuner? I haven't found a solution on videolan.org, but I may be missing something. Does it work with the ATI board? I may buy another one if it works with vlc.
DFTrance
Posts: 2
Joined: Wed Jan 03, 2007 12:56 am

Post by DFTrance »

Hi all,

Does this run on 3.02 OE-B?

I've been trying to get this working. First with PMP Server. I get a connection om PMP VLC (green and IP) but when I go to Video (circle) i get a reaction on PMP Server (on the console I see that) but then nothing happens on PMP VLC. It stays there blocked while showing the option Video. I need to reset the PSP to recover. I tried with VLC Media Player, same thing when it comes to using Music and Video options.

Live Streaming works in 3.02 OE-B while putting PMP VLC in 150 folder. I can confirm that.

I tried also to get some debug information by checking debug=1 but it does not report any debug information on screen.

Thanks in advance for any help.
kovi4
Posts: 7
Joined: Wed Nov 22, 2006 7:45 pm

Does this run on 3.02 OE-B?

Post by kovi4 »

Hi

Does this run on 3.02 OE-B? PMP VLC 009 is not running, there is an issue to initialize wireless device.

but PMP VLC 008 is running also on 3.02 OE-B
avisx
Posts: 8
Joined: Sat Dec 09, 2006 11:51 am

Re: Does this run on 3.02 OE-B?

Post by avisx »

kovi4 wrote:Hi

Does this run on 3.02 OE-B? PMP VLC 009 is not running, there is an issue to initialize wireless device.

but PMP VLC 008 is running also on 3.02 OE-B
one port to 3.03 oe-a this of luxury

please port this application to kernel 3.03

thanks, very, very, thanks
Skanner
Posts: 5
Joined: Sat Jan 06, 2007 7:45 pm

Post by Skanner »

HI !
I'm iteressed by TV on PSP, so i have tried with PMP VLC, but PMP VLC 0.09; 0.08; 0.07 do'esn't works on my PSP 3.02 OE-B, whereas i modified file PMP.ini !
PMP VLC runs, and when i active the wireless connection, nothing happen !
What's the way to PMPVLC works on my PSP 3.02OE-B ?

Sorry for my poor English but i'm french !
Thanks.
++Skanner
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Re: Does this run on 3.02 OE-B?

Post by jockyw2001 »

kovi4 wrote:Does this run on 3.02 OE-B? PMP VLC 009 is not running, there is an issue to initialize wireless device.

but PMP VLC 008 is running also on 3.02 OE-B
My PSP is on 1.5 and I have no idea what "OE-B" etc is about, where do I find reliable info? I have no problem recoding the app as long as I don't need to find out by myself what to change.

EDIT1: Thanks for your PM and lighting it up Djakku ;)

EDIT2: I just installed 3.03 OE-A, tried PMPVLC 0.0.9 and found it works fine. In the 3.03 OE-A recovery menu under "Configuration" you must configure "Game folder homebrew" to "1.50 Kernel". In that case PMPVLC folders can be installed in /PSP/GAME as usual. If you leave the default setting "3.03 kernel" then you must put PMPVLC in /PSP/GAME150

Note that you can't use wpa in your wlan since 1.50 kernel doesn't support it, wpa128 works fine.
Last edited by jockyw2001 on Sun Jan 07, 2007 12:29 pm, edited 1 time in total.
avisx
Posts: 8
Joined: Sat Dec 09, 2006 11:51 am

Re: Does this run on 3.02 OE-B?

Post by avisx »

jockyw2001 wrote:
kovi4 wrote:Does this run on 3.02 OE-B? PMP VLC 009 is not running, there is an issue to initialize wireless device.

but PMP VLC 008 is running also on 3.02 OE-B
My PSP is on 1.5 and I have no idea what "OE-B" etc is about, where do I find reliable info? I have no problem recoding the app as long as I don't need to find out by myself what to change.

EDIT1: Thanks for your PM and lighting it up Djakku ;)

EDIT2: I just installed 3.03 OE-A, tried PMPVLC 0.0.9 and found it works fine. In the 3.03 OE-A recovery menu under "Configuration" you must configure "Game folder homebrew" to "1.50 Kernel". PMPVLC folders can be installed in /PSP/GAME as usual. Note that you can't use wpa in your wifi since 1.50 kernel doesn't support it, wpa128 works fine.
ok, sorry, thought that wise that it was 3.03 oe-a
ok, create a folder in /psp/ with the name game150 and paste your homebrew for run in kernel 1.50

but the question is different, thinks, i have access point with encryption is wpa, ok??

i run this application in run 1.50, can't access but the kernel 1.50 no support wpa.

i run this application in run 3.03, i have all benefits the last firmware and i can access to access point with wpa, is simple, :P

thanks for your all time invested.

pd. for example ahman, creator of irshell, created port the pspvnc for run in kernel 3.03 and i can access with wpa.
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Re: Does this run on 3.02 OE-B?

Post by jockyw2001 »

avisx wrote:pd. for example ahman, creator of irshell, created port the pspvnc for run in kernel 3.03 and i can access with wpa.
I will take a look at pspvnc
avisx
Posts: 8
Joined: Sat Dec 09, 2006 11:51 am

Re: Does this run on 3.02 OE-B?

Post by avisx »

jockyw2001 wrote:
avisx wrote:pd. for example ahman, creator of irshell, created port the pspvnc for run in kernel 3.03 and i can access with wpa.
I will take a look at pspvnc
ok, for download the port of 3.0x with sources

PMf Player
http://www.irshell.com/download/pmftest_302.zip

Atract3 Player
http://www.irshell.com/download/atrac3player_302.zip

PMP AVC Mod
http://www.irshell.com/download/pmpmoda ... ub_src.zip

PSP VNC
http://www.irshell.com/download/pspvnc-v1.2.2b.zip

thanks for all
Last edited by avisx on Sun Jan 07, 2007 1:10 pm, edited 1 time in total.
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

I already found pspvnc for 3.02 and it doesn't look overly complicated. Afaik all he did was changing the Makefile and link another version of sceUtility which uses sceUtilityLoadNetModule. The makefile builds pspvnc.prx.

I have to revise my networkcode in the same way. Will take a look at that.
avisx
Posts: 8
Joined: Sat Dec 09, 2006 11:51 am

Post by avisx »

jockyw2001 wrote:I already found pspvnc for 3.02 and it doesn't look overly complicated. Afaik all he did was changing the Makefile and link another version of sceUtility which uses sceUtilityLoadNetModule. The makefile builds pspvnc.prx.

I have to revise my networkcode in the same way. Will take a look at that.
ok, very, very thanks... this application is the last homebrew for 3.03, only use habitually pspvnc and pmpvlc :D :D

very thanks for all

pd. i have a betatester, :) :) (private message, i read all days this forum)
damianlewis
Posts: 5
Joined: Fri Nov 17, 2006 3:35 am

3.02 & 3.03

Post by damianlewis »

Jocky,

Do not waste your time porting PMPVLC to firmwares 3.02 and 3.03.
v 0.0.9 already works fine on them!!!

From reading the requests on this forum, I can see that some people do not understand how to install or run PMPVLC properly.

I repeat, PMPVLC v0.0.9 runs 100% fine on fw 3.02 OE A/B and 3.03 OE A/A'.

Any n00bz out there, Read The F****n Manual and this forum thread.

Cheers,

Damian
damianlewis
Posts: 5
Joined: Fri Nov 17, 2006 3:35 am

PMPVLC 0.0.9 on fw 3.03 OE A'

Post by damianlewis »

The proof of the pudding is in the eating.

See video below of me streaming E4 live in the UK from my Mac via EyeTV->CYTV->VLC to my PMPVLC v0.0.9 using firmware 3.03 OE A'.

http://www.youtube.com/watch?v=PNezjpxdij8

Jocky, any chance of making a CYTV channel changer for live streams coming out of EYETV on a Mac?

Cheers,

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

Re: 3.02 & 3.03

Post by jockyw2001 »

damianlewis wrote:Jocky,

Do not waste your time porting PMPVLC to firmwares 3.02 and 3.03.
v 0.0.9 already works fine on them!!!
True, but I believe it doesn't work with WPA enabled Wlan.
kovi4
Posts: 7
Joined: Wed Nov 22, 2006 7:45 pm

PMP VLC 008 with channel change support

Post by kovi4 »

Hi all

I just modified a little bit of the code of PMP VLC 008 to enable channel change for LiveStream option in PMP VLC. (I modified PMPVLC008 because 009 is not working for my 3.02OE B firmware)

How it works:
I'm starting vlc with playlist, where I added a few different tv channels (i'm using UDP source of TV channels)

Example:
vlc -I http --http-host=:9002 --playlist /path_to_playlist/playlist.m3u --volume 4096
--sout "#transcode{vcodec=DIV3,vb=600,width=360,height=272,fps=25,acodec=mp3,ab=48,channels=2}
:duplicate{dst=std{access=http,mux=ogg,url=0.0.0.0:1234}}"

playlist.m3u
#EXTM3U
udp://@233.10.47.71:1234
udp://@233.10.47.72:1234
udp://@233.10.47.70:1234
udp://@233.10.47.14:1234

If you press Left or Right Trigger button during playback, PMP VLC send http command to vlc to change source of stream in playlist to next or previous. Basicaly if you press Left or Right Trigger button during playback you can change tv channel up or down.

I just test it with vlc running on linux with UDP source of TV channels, I can just guess that it will be working also with another scenario.

Can be downloaded here http://rapidshare.com/files/10659762/PM ... C.ZIP.html

For DVB-T cards try to use

with the following .m3u, vlc (on linux) you can tune dvb-t card on a channel and stream it when the psp connects.


Example of playlist.m3u

Code:
#EXTINF:0,M6
#EXTVLCOPT:http-caching=6000
#EXTVLCOPT:sout=#transcode{vcodec=DIV3,vb=700,width=360,height=272,fps=20,acodec
=vorb,ab=48,channels=2}:duplicate{dst=std{access=http,mux=ogg,url=0.0.0.0:1234}}
#EXTVLCOPT:sout-keep
#EXTVLCOPT:dvb-frequency=658000000
#EXTVLCOPT:dvb-adapter=0
#EXTVLCOPT:dvb-bandwidth=8
#EXTVLCOPT:program=1025
dvb://


Enjoy it
Kovi
Last edited by kovi4 on Tue Jan 09, 2007 6:15 am, edited 1 time in total.
jockyw2001
Posts: 339
Joined: Thu Sep 29, 2005 4:19 pm

Post by jockyw2001 »

kovi4: very nice, it's an elegant and generic solution. I like it very much. Will test it with a vlc compliant tuner card, and then add it to the upcoming version.

Strange that 0.0.9 doesn't run on 3.02 OE-B. What's exactly the problem? Maybe your PMP VLC directory names are a bit too long (i noticed that can cause the corrupt content message in xmb)
kovi4
Posts: 7
Joined: Wed Nov 22, 2006 7:45 pm

Post by kovi4 »

Strange that 0.0.9 doesn't run on 3.02 OE-B. What's exactly the problem?

It was my fault, 0.0.9 is running fine right now, Now I'm testing with 009Rev1. What I'm missing is source code for 0.0.9Rev2. Is it somewhere aviable for download?

Maybe what should be included in that channel change solution, is one parameter for pmp.ini. For example "wait" parameter.
As you can see in source code for channel change, one can find there -> sceKernelDelayThread(1000*1000); How long we should wait until vlc start stream another channel. For TV tunner cards it can take longer, and it also depends on CPU of server.

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

Post by jockyw2001 »

Hmm, I probably forgot to publish source code of later 0.0.9 revisions. Meanwhile I'm on rev3. I will take a look and publish source/binaries asap.

Regarding the delays, I will sort that out somehow :)
Ostehovel
Posts: 11
Joined: Wed Apr 05, 2006 7:01 pm

Post by Ostehovel »

kovi4 wrote: Maybe what should be included in that channel change solution, is one parameter for pmp.ini. For example "wait" parameter.
As you can see in source code for channel change, one can find there -> sceKernelDelayThread(1000*1000); How long we should wait until vlc start stream another channel. For TV tunner cards it can take longer, and it also depends on CPU of server.

Kovi
It's very smart to include a wait parameter in the pmp.ini becouse i stream tv from an old server pc, 700 mhz 128 mb ram that is very slow to change channel... from 2-4 secounds...
Post Reply