[FFmpeg-trac] #6375(ffmpeg:reopened): [bug][regression] Too many packets buffered for output stream
FFmpeg
trac at avcodec.org
Fri May 26 00:20:43 EEST 2017
#6375: [bug][regression] Too many packets buffered for output stream
------------------------------------+------------------------------------
Reporter: p137 | Owner:
Type: defect | Status: reopened
Priority: important | Component: ffmpeg
Version: git-master | Resolution:
Keywords: regression | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by ObvB):
Additional data point ... just in case it helps ...
I was encountering this problem on a Raspberry Pi 2.
{{{
pi:~/ffmpeg_sources/ffmpeg-3.3$ ./ffmpeg -vcodec mpeg2_mmal -i CBS-
Evening-News-With-Scott-Pelley.ts -f null -
ffmpeg version 3.3 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.9.2 (Raspbian 4.9.2-10)
configuration: --disable-doc --disable-htmlpages --disable-manpages
--disable-podpages --disable-txtpages --enable-mmal --enable-
decoder=mpeg2_mmal --enable-decoder=mpeg4_mmal --enable-decoder=h264_mmal
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
Input #0, mpegts, from 'CBS-Evening-News-With-Scott-Pelley.ts':
Duration: 00:30:00.50, start: 24953.710244, bitrate: 16569 kb/s
Program 1
Stream #0:0[0x31]: Video: mpeg2video ([2][0][0][0] / 0x0002),
yuv420p(top first), 320x240, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
5.1(side), fltp, 384 kb/s
Stream #0:2[0x35](spa): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
mono, fltp, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (mpeg2_mmal) -> wrapped_avframe
(native))
Stream #0:1 -> #0:1 (ac3 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Too many packets buffered for output stream 0:1.
Conversion failed!
pi:~/ffmpeg_sources/ffmpeg-3.3$
}}}
When attempting to decode an HD ATSC broadcast TV .ts file made by
tvheadend, using the decoder mpeg2_mmal, it failed with the message "Too
many packets buffered for output stream"
Decoding without specifying the mmal decoder worked.
Decoding an SD (704x480) file worked with (and without) using decoder
mpeg2_mmal
ffmpeg 3.2.4 worked in all of the above cases.
As a workaround, allocating more memory to the GPU worked. Setting
gpu_mem=256 in /boot/config.txt "fixes" the problem in my case.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6375#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list