Start RTP streaming from the command line on Windows
Posted: 14 Jul 2017 22:08
Hi,
I have been successful getting vlc to start streaming an RTP on linux using the following command:
vlc -vvv filename.mp4 --sout '#rtp{mux=ts,dst=142.92.38.100,sdp=sap,name="TestStream"}'
Using this verbatim on Windows did not work.
By using the4 GUI media->stream I was able to manually start the stream.
Copying the Src and Dst, and stream parameters from the media->stream dialog box my Windows command line is now:
vlc -vvv file:///C:Program%20Files%20%28x86%29/VideoLAN/VLC/filename.mp4 :sout=#rtp{dst=169.254.129.26,port=5004,mux=ts,ttl=1} :sout-all :sout-keep
I've used versions of vlc from 2.0.8 up to current.
None of the versions complain about the format of this command, but none of them start streaming.
Is there something like a :start, :play, or :stream command that will force it to start streaming? (I tried those, no joy.)
Or is there another way to get vlc on Windows to start streaming when the program starts?
Thanks,
Don
I have been successful getting vlc to start streaming an RTP on linux using the following command:
vlc -vvv filename.mp4 --sout '#rtp{mux=ts,dst=142.92.38.100,sdp=sap,name="TestStream"}'
Using this verbatim on Windows did not work.
By using the4 GUI media->stream I was able to manually start the stream.
Copying the Src and Dst, and stream parameters from the media->stream dialog box my Windows command line is now:
vlc -vvv file:///C:Program%20Files%20%28x86%29/VideoLAN/VLC/filename.mp4 :sout=#rtp{dst=169.254.129.26,port=5004,mux=ts,ttl=1} :sout-all :sout-keep
I've used versions of vlc from 2.0.8 up to current.
None of the versions complain about the format of this command, but none of them start streaming.
Is there something like a :start, :play, or :stream command that will force it to start streaming? (I tried those, no joy.)
Or is there another way to get vlc on Windows to start streaming when the program starts?
Thanks,
Don