Page 1 of 1

Stream RTSP to HTTP

Posted: 08 Nov 2017 04:19
by JK010
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

Re: Stream RTSP to HTTP

Posted: 28 Nov 2017 13:57
by Jean-Baptiste Kempf
Please look at the logs.