Too many packets buffered for output stream 0:1.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Too many packets buffered for output stream 0:1.

William C Bonner
I've encountered the error message "Too many packets buffered for output
stream 0:1." when converting files and would appreciate direction in how I
might get around the error.

When it occurs, there is a zero length output file created and FFMPEG exits
with an error result.

This same input file plays in VLC without noticeable errors.

My command line included a -report option, so I'm pasting the report.

ffmpeg started on 2019-02-04 at 12:52:24
Report written to "ffmpeg-20190204-125224.log"
Command line:
ffmpeg -report -i "Counterpart.S02E08.720p.WEB.H264-METCON[ettv].mkv"
"Counterpart.S02E08.720p.WEB.H264-METCON[ettv].mp4"
ffmpeg version N-93075-gb429c86d84 Copyright (c) 2000-2019 the FFmpeg
developers
  built with gcc 8.2.1 (GCC) 20181201
  configuration: --enable-gpl --enable-version3 --enable-sdl2
--enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
--enable-libdav1d --enable-libbluray --enable-libfreetype
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
--enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
--enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc
--enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom
--enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid
--enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2
--enable-avisynth --enable-libopenmpt
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 46.100 / 58. 46.100
  libavformat    58. 26.100 / 58. 26.100
  libavdevice    58.  6.101 / 58.  6.101
  libavfilter     7. 48.100 /  7. 48.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report)
with argument '1'.
Reading option '-i' ... matched as input url with argument
'Counterpart.S02E08.720p.WEB.H264-METCON[ettv].mkv'.
Reading option 'Counterpart.S02E08.720p.WEB.H264-METCON[ettv].mp4' ...
matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url
Counterpart.S02E08.720p.WEB.H264-METCON[ettv].mkv.
Successfully parsed a group of options.
Opening an input file: Counterpart.S02E08.720p.WEB.H264-METCON[ettv].mkv.
[NULL @ 00000231d923ad80] Opening
'Counterpart.S02E08.720p.WEB.H264-METCON[ettv].mkv' for reading
[file @ 00000231d923bf40] Setting default whitelist 'file,crypto'
[matroska,webm @ 00000231d923ad80] Format matroska,webm probed with
size=2048 and score=100
st:0 removing common factor 1000000 from timebase
st:1 removing common factor 1000000 from timebase
st:2 removing common factor 1000000 from timebase
[matroska,webm @ 00000231d923ad80] Before avformat_find_stream_info() pos:
5656 bytes read:32768 seeks:0 nb_streams:3
[h264 @ 00000231d923c180] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 00000231d923c180] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 00000231d923c180] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 00000231d923c180] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 00000231d923c180] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 00000231d923c180] Format yuv420p chosen by get_format().
[h264 @ 00000231d923c180] Reinit context to 1280x720, pix_fmt: yuv420p
[h264 @ 00000231d923c180] no picture
[matroska,webm @ 00000231d923ad80] All info found
[matroska,webm @ 00000231d923ad80] After avformat_find_stream_info() pos:
411043 bytes read:425984 seeks:0 frames:155
Guessed Channel Layout for Input Stream #0.1 : 5.1
Input #0, matroska,webm, from
'Counterpart.S02E08.720p.WEB.H264-METCON[ettv].mkv':
  Metadata:
    encoder         : libebml v1.3.6 + libmatroska v1.4.9
  Duration: 00:54:11.07, start: 0.024000, bitrate: 1673 kb/s
    Stream #0:0, 4, 1/1000: Video: h264 (High), yuv420p(tv, bt709,
progressive), 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn,
47.95 tbc (default)
    Stream #0:1, 151, 1/1000: Audio: eac3, 48000 Hz, 5.1, fltp (default)
    Stream #0:2(eng), 0, 1/1000: Subtitle: subrip
    Metadata:
      title           : English
Successfully opened the file.
Parsing a group of options: output url
Counterpart.S02E08.720p.WEB.H264-METCON[ettv].mp4.
Successfully parsed a group of options.
Opening an output file: Counterpart.S02E08.720p.WEB.H264-METCON[ettv].mp4.
[file @ 00000231d99e0f80] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 4 logical cores
[h264 @ 00000231d9241500] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 00000231d9241500] nal_unit_type: 8(PPS), nal_ref_idc: 3
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (eac3 (native) -> aac (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
[graph_1_in_0_1 @ 00000231d97ee2c0] Setting 'time_base' to value '1/48000'
[graph_1_in_0_1 @ 00000231d97ee2c0] Setting 'sample_rate' to value '48000'
[graph_1_in_0_1 @ 00000231d97ee2c0] Setting 'sample_fmt' to value 'fltp'
[graph_1_in_0_1 @ 00000231d97ee2c0] Setting 'channel_layout' to value
'0x60f'
[graph_1_in_0_1 @ 00000231d97ee2c0] tb:1/48000 samplefmt:fltp
samplerate:48000 chlayout:0x60f
[format_out_0_1 @ 00000231d97edb00] Setting 'sample_fmts' to value 'fltp'
[format_out_0_1 @ 00000231d97edb00] Setting 'sample_rates' to value
'96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
[AVFilterGraph @ 00000231d9862c40] query_formats: 4 queried, 9 merged, 0
already done, 0 delayed
[aac @ 00000231d99e0700] Using a PCE to encode channel layout "5.1(side)"
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
Too many packets buffered for output stream 0:1.
[AVIOContext @ 00000231d99e1080] Statistics: 0 seeks, 0 writeouts
[aac @ 00000231d99e0700] Qavg: 65536.000
[aac @ 00000231d99e0700] 2 frames left in the queue on closing
[AVIOContext @ 00000231d92441c0] Statistics: 425984 bytes read, 0 seeks
Conversion failed!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Too many packets buffered for output stream 0:1.

Carl Eugen Hoyos-2
2019-02-04 21:59 GMT+01:00, William C Bonner <[hidden email]>:
> I've encountered the error message "Too many packets buffered for output
> stream 0:1." when converting files and would appreciate direction in how I
> might get around the error.
>
> When it occurs, there is a zero length output file created and FFMPEG exits
> with an error result.

I suspect this regression was already reported but please feel free
to provide a sample input file.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".