[FFmpeg-trac] #4750(ffplay:new): ffplay (ffmpeg) MJpeg Stream silently stops streaming
FFmpeg
trac at avcodec.org
Sun Aug 2 18:17:24 CEST 2015
#4750: ffplay (ffmpeg) MJpeg Stream silently stops streaming
-----------------------------------+----------------------------------
Reporter: chrisjenx | Type: defect
Status: new | Priority: normal
Component: ffplay | Version: 2.7
Keywords: mjpeg | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-----------------------------------+----------------------------------
Summary of the bug:
When streaming some Mjpeg sources ffmpeg (ffplay) may read an EOF as end
of stream, when actually it's just the end of a frame.
When playing a stream in ffplay, it will play for some time (a minute or
so) then the video will stop but ffplay goes on even though the video has
stopped.
How to reproduce:
Run the following command, it will play the stream.
{{{
fplay -f mjpeg -i http://204.239.12.142/mjpg/video.mjpg
ffplay version 2.7.1 Copyright (c) 2003-2015 the FFmpeg developers
built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM
3.6.0svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.7.1 --enable-shared
--enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables
--enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-
libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid
--enable-ffplay --enable-vda
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, mjpeg, from 'http://204.239.12.142/mjpg/video.mjpg':0/0
Duration: N/A, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown),
480x360, 25 tbr, 1200k tbn, 25 tbc
}}}
After ~150 seconds, ffplay will continue, but the video output will stop.
I can reproduce it with the above stream every time.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4750>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list