Stream RTSP to HTTP

About encoding, codec settings, muxers and filter usage
JK010
New Cone
New Cone
Posts: 7
Joined: 20 Oct 2017 07:05

Stream RTSP to HTTP

Postby JK010 » 08 Nov 2017 04:19

I am trying to setup a test where I stream this file 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov' and transcode it to a format that I can use in HTML5 (eg. MP4). I am eventually hoping to use this method to transcode a multicast SDP live stream on an internal network, but for testing I am trying to use the example MOV file in this first instance.

When I run the following in the command line...
vlc "rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov" :sout=#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:http{mux=ffmpeg{mux=flv},dst=:8080/vlc} :sout-keep

...VLC loads up and plays the stream, but there is no video or audio, but the video timeline shows that it is playing a file. Does anybody know where I could be going wrong? Or would I be better off doing this directly in FFMPEG?

And then in my test HTML page, when I use the 'http://localhost:8080/vlc' URL for the video source tag, I get a blank browser screen, but the console shows that data is streaming. Any help would be greatly appreciated

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: Stream RTSP to HTTP

Postby Jean-Baptiste Kempf » 28 Nov 2017 13:57

Please look at the logs.
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 19 guests