VLC How to stream desktop to PS3 Java media server

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

VLC How to stream desktop to PS3 Java media server

Postby T-e-x » Mon Feb 23, 2009 5:02 am

Hi plz anyone out there that can help me... i need to stream my desktop to VLC and add a link i ps3 java media server so that it is accessible from my ps3... Im rookie in the business ):
T-e-x
 
Posts: 2
Joined: Mon Feb 23, 2009 5:01 am

Re: VLC How to stream desktop to PS3 Java media server

Postby Gussi » Mon Feb 23, 2009 5:13 am

It's theoretically possible to stream your desktop to your PS3, but note that it's impossible for you to control your PC via PS3, and even if you got wireless keyboard/mouse there's always going to be some latency on the video feed, so it's quite impractical. But if you don't care about all that I'm sure someone here is able to help. ;)
User avatar
Gussi
 
Posts: 51
Joined: Tue Jan 20, 2009 7:45 am
Location: Reykjavik, Iceland

Re: VLC How to stream desktop to PS3 Java media server

Postby T-e-x » Mon Feb 23, 2009 5:15 am

i only want to stream my desktop screen.. emulators Wii,snes,n64 :D
T-e-x
 
Posts: 2
Joined: Mon Feb 23, 2009 5:01 am

Re: VLC How to stream desktop to PS3 Java media server

Postby whome » Mon Feb 23, 2009 9:11 am

VLC can playback a desktop, use the following "video file" url.
screen://:screen-fps=1

But I have not figured it out how to VLC stream it through ps3ms. Do someone has a valid vlc commandline how to start streaming screen:// urls?
whome
 
Posts: 113
Joined: Tue Jan 20, 2009 12:26 am

Re: VLC How to stream desktop to PS3 Java media server

Postby maccroche » Wed Feb 24, 2010 12:11 am

that is a good idea!

Can those commandlines be helpfull?
But how to incorporate it in PMS??

vlc screen:// :screen-fps=30 :screen-caching=100 --sout '#transcode
{vcodec=mp4v,vb=4096,acodec=mpga,ab=256,scale=1,width=1280,height=800}:rtp
{dst=192.168.1.5,port=1234,access=udp,mux=ts}'


Reference: http://forum.videolan.org/viewtopic.php?f=4&t=46971:

vlc screen:// --screen-fps 5 --sout-transcode-croptop 500 --sout-transcode-cropleft 200 --sout-transcode-cropbottom 20 --sout-transcode-cropright 100 --sout "#transcode{vcodec=mp4v,vb=1024,scale=1}:duplicate{dst=std{access=file,mux=ts,dst="C:\Temp\OUT.mpg"}}"

That will capture the screen at 5 fps - cropping the top, left, bottom and right of the screen by 500px, 200px, 20px and 100px respectively. The output video is encoded into mp4v video and streamed to the file "C:\Temp\OUT.mpg".
* Current version installed: pms-setup-windows-1.21.0-SB16.exe
* XP with SP 3
* Sony Bravia KDL 32V5500, firmware PKG1.741EA
* Java build 1.6.0_24-b07
* PMSencoder 1.4.0
maccroche
 
Posts: 95
Joined: Wed Jan 20, 2010 4:44 pm

Re: VLC How to stream desktop to PS3 Java media server

Postby maccroche » Mon Apr 12, 2010 9:11 pm

Hello,

in order to solve this in this way: I installed 2 VLC, once the supported 0.9.8a version and the version 1.0.5 as "portable" application, (see http://portableapps.com/apps/music_video/vlc_portable).

I defined the newest VLC to stream the screen
vlc screen:// :screen-fps=30 :screen-caching=100 :sout=#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=udp,mux=ts,dst=127.0.0.1:1234}

and tried to use a videostream entry in the web.conf file like: videostream.Video=Screen udp,udp://@127.0.0.1:1234

but it still doesn't work.
Do you have some clue, hint to do this?
Thanks
* Current version installed: pms-setup-windows-1.21.0-SB16.exe
* XP with SP 3
* Sony Bravia KDL 32V5500, firmware PKG1.741EA
* Java build 1.6.0_24-b07
* PMSencoder 1.4.0
maccroche
 
Posts: 95
Joined: Wed Jan 20, 2010 4:44 pm

Re: VLC How to stream desktop to PS3 Java media server

Postby maccroche » Wed Jul 28, 2010 10:35 am

Hello,

Does someone get a solution or idea for this idea: streaming desktop using PS3 Java media server?

bye,
* Current version installed: pms-setup-windows-1.21.0-SB16.exe
* XP with SP 3
* Sony Bravia KDL 32V5500, firmware PKG1.741EA
* Java build 1.6.0_24-b07
* PMSencoder 1.4.0
maccroche
 
Posts: 95
Joined: Wed Jan 20, 2010 4:44 pm

Re: VLC How to stream desktop to PS3 Java media server

Postby rogerdpack » Wed Jul 28, 2010 2:57 pm

maccroche wrote:...
vlc screen:// --screen-fps 5 --sout-transcode-croptop 500 --sout-transcode-cropleft 200 --sout-transcode-cropbottom 20 --sout-transcode-cropright 100 --sout "#transcode{vcodec=mp4v,vb=1024,scale=1}:duplicate{dst=std{access=file,mux=ts,dst="C:\Temp\OUT.mpg"}}"

That will capture the screen at 5 fps - cropping the top, left, bottom and right of the screen by 500px, 200px, 20px and 100px respectively. The output video is encoded into mp4v video and streamed to the file "C:\Temp\OUT.mpg".


So to stream this to the PS3 you end up pointing it at the file OUT.mpg?
Is there any tutorial out there on how to stream using VLC input?
Thanks.
-r
rogerdpack
 
Posts: 6
Joined: Wed Jul 28, 2010 2:38 pm

Re: VLC How to stream desktop to PS3 Java media server

Postby maccroche » Wed Sep 08, 2010 4:06 pm

rogerdpack wrote:
maccroche wrote:...
vlc screen:// --screen-fps 5 --sout-transcode-croptop 500 --sout-transcode-cropleft 200 --sout-transcode-cropbottom 20 --sout-transcode-cropright 100 --sout "#transcode{vcodec=mp4v,vb=1024,scale=1}:duplicate{dst=std{access=file,mux=ts,dst="C:\Temp\OUT.mpg"}}"

That will capture the screen at 5 fps - cropping the top, left, bottom and right of the screen by 500px, 200px, 20px and 100px respectively. The output video is encoded into mp4v video and streamed to the file "C:\Temp\OUT.mpg".


So to stream this to the PS3 you end up pointing it at the file OUT.mpg?
Is there any tutorial out there on how to stream using VLC input?
Thanks.
-r

Hello rogerdpack
this was a test, but it was not really effective.
For more info, you can check http://forum.videolan.org/viewtopic.php?f=4&t=46971 or http://forum.videolan.org/viewtopic.php?f=4&t=46971
* Current version installed: pms-setup-windows-1.21.0-SB16.exe
* XP with SP 3
* Sony Bravia KDL 32V5500, firmware PKG1.741EA
* Java build 1.6.0_24-b07
* PMSencoder 1.4.0
maccroche
 
Posts: 95
Joined: Wed Jan 20, 2010 4:44 pm

Re: VLC How to stream desktop to PS3 Java media server

Postby chocolateboy » Wed Sep 08, 2010 6:57 pm

I've got this working with the latest version of PMSEncoder with the following script:

pmsencoder.conf

Code: Select all
config {
    profile ('Screen') {
        pattern {
            match { $URI == 'screen://' }
        }

        action {
            $EXECUTABLE = 'cvlc'
            $ARGS = [
                'screen://',
                '--screen-fps',     '25', // limited to MPEG 2 framerates
                '--screen-caching', '100',
                '--sout',
                    '#transcode{vcodec=mp2v,vb=512,scale=1,width=1024,height=768,acodec=none}:' +
                    "duplicate{dst=std{access=file,mux=ts,dst=\"${$OUTPUT}\"}}"
            ]
        }
    }
}


WEB.conf

Code: Select all
videostream.Web,Test,Screen=Screen,screen://


The command line is:

Code: Select all
cvlc screen:// --screen-fps 25 --screen-caching 100 --sout #transcode{vcodec=mp2v,vb=512,scale=1,width=1024,height=768,acodec=none}:duplicate{dst=std{access=file,mux=ts,dst="/tmp/javaps3media/pmsencoder12345678"}}


(This is on Linux with vlc 1.1.2. On Windows, the options and option syntax are slightly different.)

It doesn't work very well (it's painfully slow and CPU-intensive), but it's a start.

Transcoding to H.264 with a low framerate would probably work better, but PMS/PMSEncoder doesn't support that yet.

Note this is working in the latest commit, not in the latest PMSEncoder release.
chocolateboy
Project Member
 
Posts: 2580
Joined: Wed Sep 16, 2009 10:05 am

Next

Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot] and 20 guests