Opened 6 years ago

Last modified 6 years ago

#6970 new defect

can't detect video stream, too many packets buffered for output audio stream

Reported by: 赵俊杰 Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mov edts regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

I am trying to resize a mp4 file, this file can be played normally, I used ffmpeg-3.3.2 and ffmpeg-3.4.1, the ffmpeg crashed; But, if I tryed it again use ffmpeg-2.0, it is ok.

How to reproduce:

ffmpeg -i  C:\Users\somebody\Desktop\v19533307.mp4  -s  480x270  C:\Users\somebody\Desktop\out.mp4

it report as follows:

ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.1.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --e
nable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --
enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-li
bfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug -
-enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enabl
e-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li
bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolam
e --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable
-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  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
  libpostproc    54.  5.100 / 54.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\somebody\Desktop\v19533307.m
p4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isom
    creation_time   : 2016-04-19T06:06:41.000000Z
  Duration: 00:06:08.08, start: 0.000000, bitrate: 3815 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080
[SAR 1:1 DAR 16:9], 3686 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2015-04-11T09:33:04.000000Z
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, flt
p, 125 kb/s (default)
    Metadata:
      creation_time   : 2015-04-11T09:20:26.000000Z
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
Too many packets buffered for output stream 0:1.
[aac @ 0000000000548cc0] Qavg: 26968.295
[aac @ 0000000000548cc0] 2 frames left in the queue on closing
Conversion failed!

Change History (9)

comment:1 by Carl Eugen Hoyos, 6 years ago

Please test current FFmpeg git head.

comment:2 by 赵俊杰, 6 years ago

the sample file(v19533307.mp4), is large than 160M, i can't upload it;
if i cut it down to small size, it will not reproduce the problem, what should i do?

in reply to:  1 ; comment:3 by 赵俊杰, 6 years ago

Replying to cehoyos:

Please test current FFmpeg git head.

I have tested use ffmpeg-20180118-381a482, it is also not worked.
is this "current FFmpeg git head"?

in reply to:  1 comment:4 by 赵俊杰, 6 years ago

Replying to cehoyos:

Please test current FFmpeg git head.

the sample file(v19533307.mp4), is large than 160M, i can't upload it;
if i cut it down to small size, it will not reproduce the problem, what should i do?

comment:5 by Carl Eugen Hoyos, 6 years ago

Component: ffmpegundetermined
Version: 3.4git-master

Use Dropbox or datafilehost.com or another file sharing site of your choice.

Last edited 6 years ago by Carl Eugen Hoyos (previous) (diff)

in reply to:  3 ; comment:6 by Carl Eugen Hoyos, 6 years ago

Replying to zjj1209354:

Replying to cehoyos:

Please test current FFmpeg git head.

I have tested use ffmpeg-20180118-381a482, it is also not worked.

Please provide the complete, uncut console output for this version.

is this "current FFmpeg git head"?

Yes.

in reply to:  6 comment:7 by 赵俊杰, 6 years ago

Replying to cehoyos:

Replying to zjj1209354:

Replying to cehoyos:

Please test current FFmpeg git head.

I have tested use ffmpeg-20180118-381a482, it is also not worked.

Please provide the complete, uncut console output for this version.

is this "current FFmpeg git head"?

Yes.

the shared sample file url:

https://www.datafilehost.com/d/7cc5c306

the latest version:

ffmpeg-20180122-2e96f52

the command used:

   C:\Users\somebody\Desktop\ffmpeg-20180122-2e96f52-win64-static\bin\ffmpeg.exe -y -i  C:\Users\somebody\Desktop\v19533307.mp4 -s 480x270 out.mp4

the output:

  ffmpeg version N-89872-g2e96f52780 Copyright (c) 2000-2018 the FFmpeg developers

  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --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-libmfx --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth

  libavutil      56.  7.100 / 56.  7.100
  libavcodec     58.  9.100 / 58.  9.100
  libavformat    58.  5.100 / 58.  5.100
  libavdevice    58.  0.101 / 58.  0.101
  libavfilter     7. 11.101 /  7. 11.101
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100

  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\zhaojunjie\Desktop\v19533307.mp4':
    Metadata:
      major_brand     : isom
      minor_version   : 1
      compatible_brands: isom
      creation_time   : 2016-04-19T06:06:41.000000Z
    Duration: 00:06:08.08, start: 0.000000, bitrate: 3815 kb/s
      Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 3686 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
      Metadata:
        creation_time   : 2015-04-11T09:33:04.000000Z
        handler_name    : VideoHandler
      Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
      Metadata:
        creation_time   : 2015-04-11T09:20:26.000000Z
        handler_name    : SoundHandler
  Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    Stream #0:1 -> #0:1 (aac (native) -> aac (native))
  Press [q] to stop, [?] for help
  Too many packets buffered for output stream 0:1.
  [aac @ 000000881d5a94c0] Qavg: 3261.266
  [aac @ 000000881d5a94c0] 2 frames left in the queue on closing
  Conversion failed!
Last edited 6 years ago by 赵俊杰 (previous) (diff)

comment:8 by Carl Eugen Hoyos, 6 years ago

Component: undeterminedavformat
Keywords: mov edts regression added
Priority: normalimportant

Needs -ignore_editlist 1

in reply to:  8 comment:9 by 赵俊杰, 6 years ago

Replying to cehoyos:

Needs -ignore_editlist 1

thanks!

Note: See TracTickets for help on using tickets.