Opened 8 years ago

Last modified 8 years ago

#5516 open enhancement

Multi-thread HTTP streaming server doesn't work

Reported by: Danila Galimov Owned by:
Priority: wish Component: ffmpeg
Version: git-master Keywords: http
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I'm using FFMpeg under Windows to stream by webcam using MJPEG direct copy via this command line:

ffmpeg -f dshow -video_size 1920x1080 -rtbufsize 1K -framerate 15 -vcodec mjpeg -i video="USB Video Device" -vcodec copy -f mjpeg -listen 1 http://0.0.0.0:8090

This works, I can connect via VLC by just opening http://localhost:8090.
However, ffmpeg exists when user is disconnected (or on other error), so I have to restart it, and there is no multi-user support.

But multi-user HTTP server doesn't work at all - when I'm starting it as

ffmpeg -f dshow -video_size 1920x1080 -rtbufsize 1K -framerate 15 -vcodec mjpeg -i video="USB Video Device" -vcodec copy -f mjpeg -listen 2 http://0.0.0.0:8090

I just cannot open http://localhost:8090 - nothing happens.

Change History (1)

comment:1 by Carl Eugen Hoyos, 8 years ago

Keywords: http added
Priority: normalwish
Status: newopen
Type: defectenhancement
Note: See TracTickets for help on using tickets.