RTSP to HTTP streaming

About encoding, codec settings, muxers and filter usage
aitte
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 28 Feb 2012 00:26

RTSP to HTTP streaming

Postby aitte » 28 Mar 2014 23:51

Using VLC I can interface to issue http rtsp smoothly, and the command output is as follows:

:sout=#transcode{vcodec=h264,scale=Automático,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{mux=ffmpeg{mux=flv},dst=:8090/camara},dst=display} :sout-keep

But when I try to run it from the command line in a batch scrit:

"C:\Archivos de programa\VideoLAN\VLC\vlc.exe" -I dummy -vvv rtsp://172.22.11.10 --sout="#transcode{vcodec=h264,scale=Automático,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{mux=ffmpeg{mux=flv},dst=:8090/camara},dst=display} :sout-keep"

He shows these errors:

Image

Can you help me?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: RTSP to HTTP streaming

Postby Jean-Baptiste Kempf » 22 Apr 2014 14:16

Use "C:\Archivos de programa\VideoLAN\VLC\vlc.exe" -I dummy -vvv rtsp://172.22.11.10 --sout="#transcode{vcodec=h264,scale=Automático,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{mux=ffmpeg{mux=flv},dst=:8090/camara},dst=display}" --sout-keep

Mind the " "
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 11 guests