Page 1 of 1

HTTP restream produce download in web browser

Posted: 21 May 2014 12:23
by Dodfr2
Hi,

I am trying to restream an Axis 207W HTTP MJPEG streaming thru VLC

For this I do (Windows interface) :

- Open network stream
- SOURCE : http://host_ip/mjpg/1/video.mjpg
- STREAM OUTPUT : Display locally / New destination -> HTTP -> Add -> port 81
- Activate transcoding OFF (keep same MJPEG stream)
- Stream

This produce :sout=#duplicate{dst=http{mux=ffmpeg{mux=flv},dst=:81/},dst=display} :sout-keep

Doing this it show the stream locally into VLC window so link to AXIS camera is OK.

Problem : when I want to display it thru some web browser connected to VLC integrated HTTP server I get a download dialog instead of video display.

Question : how do I make VLC produce HTTP header that make the web browser display the stream instead of downloading it ?

regards.

Re: HTTP restream produce download in web browser

Posted: 24 May 2014 23:09
by Dodfr2
After investigating a bit more I found that the mux=ffmpeg{mux=flv} has to be mux=mjpg

Now the parameters are with direct mux and no ffmpeg remux inside -> :sout=#http{mux=mpjpeg,dst=:8080/} :sout-keep

But however, after this it only display the first frame and stay on it (but the stream continue to be downloaded by browser).

Re: HTTP restream produce download in web browser

Posted: 23 Apr 2015 15:49
by Sandie C
Hi !
Did you find how to not be stuck on the first frame ?
Thanks for your reply

Re: HTTP restream produce download in web browser

Posted: 23 Apr 2015 16:46
by Dodfr
Sorry Sandie I dont't remember if I solved the problem :-(