[FFmpeg-trac] #5516(ffmpeg:new): Multi-thread HTTP streaming server doesn't work
FFmpeg
trac at avcodec.org
Fri May 6 00:51:15 CEST 2016
#5516: Multi-thread HTTP streaming server doesn't work
--------------------------------+--------------------------------------
Reporter: bgrh | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+--------------------------------------
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.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5516>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list