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".
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
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}\"}}"
]
}
}
}
videostream.Web,Test,Screen=Screen,screen://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"}}Return to General Help and Support
Users browsing this forum: Bing [Bot], Google [Bot], sttngds9 and 17 guests