Page 1 of 1

How to stream a file using RTSP

Posted: 13 Apr 2009 10:04
by Khenatram
Hi All,

How can I stream a file using RTSP protocol? Can anyone share the command for that.
Currently I am using following command which is not working. :(

Code: Select all

cd "C:\program files\videolan\vlc" vlc.exe -vvv --dshow-vdev="C:\MyVideo.wmv" "dshow:// --sout #transcode{vcodec=mp4v,vb=768,scale=1}:duplicate{rtp{dst=localhost,port=1256,sdp="rtsp://localhost:8800/vlc2.sdp"}}

Re: How to stream a file using RTSP

Posted: 13 Apr 2009 16:51
by VLC_help
vlc.exe -vvv --dshow-vdev="C:\MyVideo.wmv" "dshow:// --sout #transcode{vcodec=mp4v,vb=768,scale=1}:duplicate{dst=rtp{dst=localhost,port=1256,sdp="rtsp://localhost:8800/vlc2.sdp"}}
does that work any better?

Re: How to stream a file using RTSP

Posted: 16 Apr 2009 10:27
by Khenatram
:( .
No. It didn't work for me.

Re: How to stream a file using RTSP

Posted: 16 Apr 2009 12:14
by VLC_help
Sorry, I meant

vlc.exe -vvv C:\MyVideo.wmv --sout=#transcode{vcodec=mp4v,vb=768,scale=1}:duplicate{dst=rtp{dst=localhost,port=1256,sdp="rtsp://localhost:8800/vlc2.sdp"}}