HTTP restream produce download in web browser

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Dodfr2
New Cone
New Cone
Posts: 2
Joined: 21 May 2014 12:10

HTTP restream produce download in web browser

Postby Dodfr2 » 21 May 2014 12:23

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.

Dodfr2
New Cone
New Cone
Posts: 2
Joined: 21 May 2014 12:10

Re: HTTP restream produce download in web browser

Postby Dodfr2 » 24 May 2014 23:09

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).

Sandie C
New Cone
New Cone
Posts: 8
Joined: 23 Apr 2015 14:33

Re: HTTP restream produce download in web browser

Postby Sandie C » 23 Apr 2015 15:49

Hi !
Did you find how to not be stuck on the first frame ?
Thanks for your reply

Dodfr
New Cone
New Cone
Posts: 3
Joined: 05 May 2010 21:09

Re: HTTP restream produce download in web browser

Postby Dodfr » 23 Apr 2015 16:46

Sorry Sandie I dont't remember if I solved the problem :-(


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 48 guests