{5} Open Tickets by Owner (Full Description) (552 matches)

List open tickets, group by ticket owner. This report demonstrates the use of full-row display.

Results (1 - 100 of 552)

1 2 3 4 5 6
Ticket Summary Component Milestone Type Created
Description
#3674 WMP does not accept sample aspect ratio close to 1 but != 1 in mov avcodec defect May 26, 2014

Summary of the bug: I have a screen recorded video with frame rate 15, video codec H.264 (MP4) and AAC as audio. The target via FFmpeg should contain frame rate 25, height of 720 pixel and the codecs without change.

After encoding, the file is playable in VLC player, Chrome browser (HTML5 video tag) and Firefox. In Windows Media player I just get the audio played (no video to see) and in Internet Explorer 11, I get an error ("Unknown source.")

How to reproduce:

% ffmpeg -i input_file.mp4 -vf "scale='(trunc((out_h*a)/2)*2):(min(720, in_h))'" output_file.mp4
VERSION: N-63439-g96470ca
N-63439-g96470ca

Strange is: If I encode the video with a height of 718 or 722 (or any other height I tried), the video is playable anywhere - without problems.

Test video file for input (short, length of 1 second): http://www.datafilehost.com/d/1ca920ac


#4888 62bd8deef causes a regression in HEVC decoding / hevc needs support to skip initial corrupt frames avcodec defect Sep 28, 2015

Summary of the bug: I'm trying to extract a thumb from the middle of a live TS, containing one HEVC-stream. Before this patch I would always get a good looking thumb, but with this patch I would for the most part get a mostly gray frame.

If I generates a few more thumbnails i see that it eventually spits out the same frame that ffmpeg before this patch produced as the first thumb, and it looks OK.

However it is much more blocky than what the previous ffmpeg produced.

How to reproduce (b7baebb75 is the commit just before the patch):

% ./ffmpeg.b7baebb75 -an -i hevc_fail.ts -vframes 1 before_patch%d.jpg
ffmpeg version N-74781-gb7baebb Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.7 (Debian 4.7.2-5)
  configuration: 
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
[NULL @ 0x1f74780] PPS id out of range: 0
[hevc @ 0x1f74780] PPS id out of range: 0
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
[hevc @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1f74780] Error parsing NAL unit #2.
Input #0, mpegts, from 'hevc_fail.ts':
  Duration: 00:00:02.50, start: 2237.360033, bitrate: 7740 kb/s
    Stream #0:0[0x1e1]: Video: hevc (Main 10), yuv420p10le(tv), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
[swscaler @ 0x1f9a140] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to 'before_patch%d.jpg':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: mjpeg, yuvj420p(pc), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc
    Metadata:
      encoder         : Lavc56.60.100 mjpeg
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[NULL @ 0x1f74780] PPS id out of range: 0
[hevc @ 0x2052600] PPS id out of range: 0
[hevc @ 0x2052600] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x20609a0] PPS id out of range: 0
[hevc @ 0x20609a0] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
[hevc @ 0x2072400] PPS id out of range: 0
[hevc @ 0x2072400] Error parsing NAL unit #2.
[hevc @ 0x2083e60] PPS id out of range: 0
[hevc @ 0x2083e60] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x20958c0] PPS id out of range: 0
[hevc @ 0x20958c0] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
[hevc @ 0x20a7320] PPS id out of range: 0
[hevc @ 0x20a7320] Error parsing NAL unit #2.
[hevc @ 0x20b8d80] PPS id out of range: 0
[hevc @ 0x20b8d80] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x20ca7e0] PPS id out of range: 0
[hevc @ 0x20ca7e0] Error parsing NAL unit #2.
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x20dc240] PPS id out of range: 0
[hevc @ 0x20dc240] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x2052600] PPS id out of range: 0
[hevc @ 0x2052600] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x20609a0] PPS id out of range: 0
[hevc @ 0x20609a0] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x2072400] PPS id out of range: 0
[hevc @ 0x2072400] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x2083e60] PPS id out of range: 0
[hevc @ 0x2083e60] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x20958c0] PPS id out of range: 0
[hevc @ 0x20958c0] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x20a7320] PPS id out of range: 0
[hevc @ 0x20a7320] Error parsing NAL unit #2.
[NULL @ 0x1f74780] PPS id out of range: 0
Error while decoding stream #0:0: Invalid data found when processing input
[hevc @ 0x20b8d80] PPS id out of range: 0
[hevc @ 0x20b8d80] Error parsing NAL unit #2.
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 7 times
frame=    1 fps=0.0 q=7.5 Lsize=N/A time=00:00:00.75 bitrate=N/A    
video:108kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!

This gives me one image, before_patch1.jpg that looks completly fine. http://kolbu.ws/~chiller/ffmpeg_bug/before_patch1.jpg

Now I do the same with the patch:

ffmpeg version N-74782-g62bd8de Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.7 (Debian 4.7.2-5)
  configuration: 
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
[NULL @ 0x1dc2780] PPS id out of range: 0
[hevc @ 0x1dc2780] PPS id out of range: 0
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
[hevc @ 0x1dc2780] PPS id out of range: 0
    Last message repeated 1 times
[hevc @ 0x1dc2780] Error parsing NAL unit #2.
Input #0, mpegts, from 'hevc_fail.ts':
  Duration: 00:00:02.50, start: 2237.360033, bitrate: 7740 kb/s
    Stream #0:0[0x1e1]: Video: hevc (Main 10), yuv420p10le(tv), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
[swscaler @ 0x1dec4e0] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to 'with_patch%d.jpg':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: mjpeg, yuvj420p(pc), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc
    Metadata:
      encoder         : Lavc56.60.100 mjpeg
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[hevc @ 0x1ea0760] Could not find ref with POC 12
[hevc @ 0x1ea0760] Could not find ref with POC 15
frame=    1 fps=0.0 q=5.0 Lsize=N/A time=00:00:00.04 bitrate=N/A    
video:69kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

This gives me one file with_patch1.jpg that looks garbaged. http://kolbu.ws/~chiller/ffmpeg_bug/with_patch1.jpg

If I re-run the last command with -vframes 100 it generates 60 images, where image 18 is almost identical to the before_patch1.jpg, except a bit more blocky.

http://kolbu.ws/~chiller/ffmpeg_bug/with_patch18.jpg

Here is the link to the .ts-file: http://kolbu.ws/~chiller/ffmpeg_bug/hevc_fail.ts

and all files involved can be viewed here: http://kolbu.ws/~chiller/ffmpeg_bug/ (The most important ones are attached)


#5272 videotoolbox fails to initialize for mpeg2, mpeg4 codec avcodec defect Feb 25, 2016

Summary of the bug: ffmpeg 2.8 branch can decode mpeg2video, mpeg4 and h264, but 3.0 and master can only decode h264. videotoolbox_default_init returns AVERROR_UNKNOWN for mpeg2video and mpeg4. How to reproduce:

% ffmpeg version N-76033-g1a29804 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.0.2 (clang-700.1.81)
  configuration: --extra-version=QtAV --disable-doc --disable-debug --disable-shared --enable-pic --enable-runtime-cpudetect --enable-hwaccels --enable-avresample --disable-postproc --enable-videotoolbox --cc=clang --extra-cflags='-mmacosx-version-min=10.8' --extra-ldflags='-mmacosx-version-min=10.8'
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 25.101 / 57. 25.101
  libavformat    57. 26.100 / 57. 26.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 36.100 /  6. 36.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
Input #0, mpeg, from '/Volumes/Share/samples/big_buck_bunny_480p_MPEG2_MP2_25fps_1800K.MPG':
  Duration: 00:01:14.68, start: 0.240000, bitrate: 2123 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 854x480 [SAR 1:1 DAR 427:240], max. 2496 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16p, 160 kb/s
File '/tmp/t.ts' already exists. Overwrite ? [y/N] Output #0, mpegts, to '/tmp/t.ts':
  Metadata:
    encoder         : Lavf57.26.100
    Stream #0:0: Video: mpeg2video (Main), yuv420p, 854x480 [SAR 1:1 DAR 427:240], q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.25.101 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: mp2, 44100 Hz, stereo, s16, 384 kb/s
    Metadata:
      encoder         : Lavc57.25.101 mp2
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> mpeg2video (native))
  Stream #0:1 -> #0:1 (mp2 (native) -> mp2 (native))
Press [q] to stop, [?] for help
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[mpeg2video @ 0x7fa632804000] decoding to AV_PIX_FMT_NONE is not supported.
[mpeg2video @ 0x7fa632804000] mpeg_decode_postinit() failure
Error while decoding stream #0:0: Operation not permitted
Error creating Videotoolbox decoder.
videotoolbox hwaccel requested for input stream #0:0, but cannot be initialized.
[mpeg2video @ 0x7fa632804000] decoding to AV_PIX_FMT_NONE is not supported.
[mpeg2video @ 0x7fa632804000] mpeg_decode_postinit() failure
Error while decoding stream #0:0: Operation not permitted
Error creating Videotoolbox decoder.

#5718 ffmpeg not remapping channels for libopus automatically avcodec defect Jul 15, 2016
[libopus @ 00000000026ad020] Invalid channel layout 5.1(side) for specified mapping family -1.

Summary of the bug: Encode a 5.1 audio file with 5.1(side) channel map How to reproduce:

% ffmpeg -i movie-with-51side.mkv -c:a libopus -b:a 256k output.mkv
ffmpeg version N-81025-g25ca74d
built on July 15 2016

ffmpeg version N-80101-gd970f7b automatically remapped these to the rear channels since libopus doesn't seem to allow side channels. I now have to explicitly add:

-af "channelmap=channel_layout=5.1"

Not sure if this is expected behavior or not. Without this channelmap, it aborts. Command-line opusenc automatically remaps as well.


#6112 ffmpeg not responding, stuck at converting flac to wav file avcodec defect Jan 31, 2017

I am trying to convert a flac to a wav file. Unfortunately the ffmpeg is getting stuck in the conversion process. I have tried with multiple ffmpeg versions (including the last one) and the same issue occurs.

I have attached the source flac file (AFN8429768236582_01_11_FLAC.flac)

How to reproduce:

% ffmpeg.exe -i AFN8429768236582_01_11_FLAC.flac -y -ar 44100 -ac 2 -sample_fmt s16 AFN8429768236582_01_11_wav.wav

ffmpeg version N-67063-g282c935 Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct 20 2014 22:01:37 with gcc 4.9.1 (GCC)

Below if the output with the debug log level:

ffmpeg.exe -v 9 -loglevel 99 -i AFN8429768236582_01_11_FLAC.flac -y -ar 44100 -ac 2 -sample_fmt s16 AFN8429768236582_01_11_wav.wav

ffmpeg version N-67063-g282c935 Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct 20 2014 22:01:37 with gcc 4.9.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-
libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --e
nable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libw
ebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      54. 10.100 / 54. 10.100
  libavcodec     56.  8.102 / 56.  8.102
  libavformat    56.  9.101 / 56.  9.101
  libavdevice    56.  1.100 / 56.  1.100
  libavfilter     5.  2.100 /  5.  2.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'AFN8429768236582_01_11_FLAC.flac'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '44100'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-sample_fmt' ... matched as option 'sample_fmt' (set sample format) with argument 's16'.
Reading option 'AFN8429768236582_01_11_wav.wav' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file AFN8429768236582_01_11_FLAC.flac.
Successfully parsed a group of options.
Opening an input file: AFN8429768236582_01_11_FLAC.flac.
[flac @ 04485720] Format flac probed with size=2048 and score=50
[flac @ 04485720] Before avformat_find_stream_info() pos: 8288 bytes read:32768 seeks:0
[flac @ 0446fc60] sample/frame number mismatch in adjacent frames
    Last message repeated 14 times
[flac @ 04485720] All info found
[flac @ 04485720] After avformat_find_stream_info() pos: 73728 bytes read:98304 seeks:0 frames:1
Input #0, flac, from 'AFN8429768236582_01_11_FLAC.flac':
  Metadata:
    ENCODER         : Lavf55.12.100
  Duration: 00:01:54.81, start: 0.000000, bitrate: 830 kb/s
    Stream #0:0, 1, 1/44100: Audio: flac, 44100 Hz, stereo, s16
Successfully opened the file.
Parsing a group of options: output file AFN8429768236582_01_11_wav.wav.
Applying option ar (set audio sampling rate (in Hz)) with argument 44100.
Applying option ac (set number of audio channels) with argument 2.
Applying option sample_fmt (set sample format) with argument s16.
Successfully parsed a group of options.
Opening an output file: AFN8429768236582_01_11_wav.wav.
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:0 @ 0446e820] Setting 'time_base' to value '1/44100'
[graph 0 input from stream 0:0 @ 0446e820] Setting 'sample_rate' to value '44100'
[graph 0 input from stream 0:0 @ 0446e820] Setting 'sample_fmt' to value 's16'
[graph 0 input from stream 0:0 @ 0446e820] Setting 'channel_layout' to value '0x3'
[graph 0 input from stream 0:0 @ 0446e820] tb:1/44100 samplefmt:s16 samplerate:44100 chlayout:0x3
[audio format for output stream 0:0 @ 0446ed80] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:0 @ 0446ed80] Setting 'sample_rates' to value '44100'
[audio format for output stream 0:0 @ 0446ed80] Setting 'channel_layouts' to value '0x3'
[AVFilterGraph @ 02b3fe80] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
Output #0, wav, to 'AFN8429768236582_01_11_wav.wav':
  Metadata:
    ISFT            : Lavf56.9.101
    Stream #0:0, 0, 1/44100: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      encoder         : Lavc56.8.102 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (flac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
    Last message repeated 187 times
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
    Last message repeated 171 times
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
    Last message repeated 157 times
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
    Last message repeated 157 times
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
    Last message repeated 169 times
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
    Last message repeated 7 times
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
[NULL @ 0446fc60] crc check failed from offset 70650 (frame 436) to 74071 (frame 243)
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
[NULL @ 0446fc60] crc check failed from offset 61719 (frame 435) to 74071 (frame 243)
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
[NULL @ 0446fc60] crc check failed from offset 52626 (frame 434) to 74071 (frame 243)
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
[NULL @ 0446fc60] crc check failed from offset 62483 (frame 436) to 83256 (frame 244)
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
[NULL @ 0446fc60] crc check failed from offset 53552 (frame 435) to 83256 (frame 244)
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
[NULL @ 0446fc60] crc check failed from offset 53909 (frame 436) to 91005 (frame 245)
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
    Last message repeated 1 times
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
    Last message repeated 1 times
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
    Last message repeated 1 times
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
    Last message repeated 1 times
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
    Last message repeated 1 times
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample rate change detected in adjacent frames
[NULL @ 0446fc60] bits per sample change detected in adjacent frames
[NULL @ 0446fc60] sample/frame number mismatch in adjacent frames
    Last message repeated 1 times

Thanks! Ovidiu


#6581 ffmpeg refuses to process Indeo3 resolutions not a multiple of 4. avcodec defect Aug 12, 2017

Summary of the bug:

ffmpeg refuses to process Indeo3 resolutions not a multiple of 4. Attached is a video extracted from a game that appears to have such a resolution

How to reproduce:

Attempt to play attached video. Video extracted from a game via

ffmpeg -i SCIGUY.MOV -c copy

(and some manipulation of that file's first few bytes to extract different videos. Note that this process has, in fact, resulted in valid videos, see https://github.com/Sgeo/therock_decoder ) 

ffmpeg version:

C:\Users\Sgeo\Documents\Dev\Rust\therock_decoder>ffmpeg --help
ffmpeg version N-86950-g1bef008 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.1.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-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-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --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. 70.100 / 55. 70.100
  libavcodec     57.102.100 / 57.102.100
  libavformat    57. 76.100 / 57. 76.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 98.100 /  6. 98.100
  libswscale      4.  7.102 /  4.  7.102
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Hyper fast Audio and Video encoder


built on ...

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.


#6591 Unable to read mp4/h264 caused by SPS decoding failure avcodec defect Aug 16, 2017

Attempting to transcode the attached sample file results in an error for both 3.3.2 as well as git version N-86933-g80bc64.

This has been previously been known to work with version n2.7.2-3-gb1863e3.

Example shown for 3.3.2 (git version looks identical)

% ffmpeg -i test.mp4 -c:v libx264 -c:a aac test2.mp4
ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.1.0 (clang-802.0.42)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
  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
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Splitting the commandline.
Reading option '-i' ... matched as input url with argument 'test.mp4'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx264'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'aac'.
Reading option 'test2.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Successfully parsed a group of options.
Parsing a group of options: input url test.mp4.
Successfully parsed a group of options.
Opening an input file: test.mp4.
[NULL @ 0x7fc902001000] Opening 'test.mp4' for reading
[file @ 0x7fc9016000a0] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] ISO: File Type Major Brand: f4v 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] rfps: 24.916667 0.010848
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] rfps: 24.916667 0.010848
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] rfps: 25.000000 0.000140
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] rfps: 25.083333 0.007202
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] rfps: 25.083333 0.007202
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] rfps: 50.000000 0.000558
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] Before avformat_find_stream_info() pos: 887991 bytes read:35746 seeks:1 nb_streams:2
[h264 @ 0x7fc902001600] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7fc902001600] Overread VUI by 2 bits
[h264 @ 0x7fc902001600] SPS decoding failure, trying again after escaping the NAL
[h264 @ 0x7fc902001600] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7fc902001600] Overread VUI by 2 bits
[h264 @ 0x7fc902001600] Decoding sps 0 from avcC failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] Failed to open codec in avformat_find_stream_info
[h264 @ 0x7fc902001600] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7fc902001600] Overread VUI by 2 bits
[h264 @ 0x7fc902001600] SPS decoding failure, trying again after escaping the NAL
[h264 @ 0x7fc902001600] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7fc902001600] Overread VUI by 2 bits
[h264 @ 0x7fc902001600] Decoding sps 0 from avcC failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc902001000] After avformat_find_stream_info() pos: 194497 bytes read:232354 seeks:2 frames:27
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
    major_brand     : f4v 
    minor_version   : 0
    compatible_brands: isommp42m4v 
    creation_time   : 2014-10-07T14:35:54.000000Z
  Duration: 00:00:04.12, start: 0.000000, bitrate: 1725 kb/s
    Stream #0:0(eng), 26, 1/90000: Video: h264 (avc1 / 0x31637661), none, 1280x720, 1655 kb/s, 25.01 fps, 25 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      creation_time   : 2014-10-07T14:35:54.000000Z
      handler_name    : WowzaStreamingEngine
      encoder         : WowzaStreamingEngine
    Stream #0:1(eng), 1, 1/90000: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 65 kb/s (default)
    Metadata:
      creation_time   : 2014-10-07T14:35:54.000000Z
      handler_name    : WowzaStreamingEngine
Successfully opened the file.
Parsing a group of options: output url test2.mp4.
Applying option c:v (codec name) with argument libx264.
Applying option c:a (codec name) with argument aac.
Successfully parsed a group of options.
Opening an output file: test2.mp4.
[file @ 0x7fc901600ec0] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 8 logical cores
[h264 @ 0x7fc902802c00] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7fc902802c00] Overread VUI by 2 bits
[h264 @ 0x7fc902802c00] SPS decoding failure, trying again after escaping the NAL
[h264 @ 0x7fc902802c00] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7fc902802c00] Overread VUI by 2 bits
[h264 @ 0x7fc902802c00] Decoding sps 0 from avcC failed
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Error while opening decoder for input stream #0:0 : Invalid data found when processing input
[AVIOContext @ 0x7fc901600f40] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0x7fc9016001e0] Statistics: 232354 bytes read, 2 seeks

FFprobe suffers from the same failure:

% ffprobe test.mp4
ffprobe version 3.3.2 Copyright (c) 2007-2017 the FFmpeg developers
  built with Apple LLVM version 8.1.0 (clang-802.0.42)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
  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
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
[NULL @ 0x7fd1be002a00] Opening 'test.mp4' for reading
[file @ 0x7fd1bc402680] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] ISO: File Type Major Brand: f4v 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] rfps: 24.916667 0.010848
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] rfps: 24.916667 0.010848
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] rfps: 25.000000 0.000140
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] rfps: 25.083333 0.007202
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] rfps: 25.083333 0.007202
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] rfps: 50.000000 0.000558
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] Before avformat_find_stream_info() pos: 887991 bytes read:35746 seeks:1 nb_streams:2
[h264 @ 0x7fd1be00b600] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7fd1be00b600] Overread VUI by 2 bits
[h264 @ 0x7fd1be00b600] SPS decoding failure, trying again after escaping the NAL
[h264 @ 0x7fd1be00b600] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7fd1be00b600] Overread VUI by 2 bits
[h264 @ 0x7fd1be00b600] Decoding sps 0 from avcC failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] Failed to open codec in avformat_find_stream_info
[h264 @ 0x7fd1be00b600] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7fd1be00b600] Overread VUI by 2 bits
[h264 @ 0x7fd1be00b600] SPS decoding failure, trying again after escaping the NAL
[h264 @ 0x7fd1be00b600] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7fd1be00b600] Overread VUI by 2 bits
[h264 @ 0x7fd1be00b600] Decoding sps 0 from avcC failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd1be002a00] After avformat_find_stream_info() pos: 194497 bytes read:232354 seeks:2 frames:27
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
    major_brand     : f4v 
    minor_version   : 0
    compatible_brands: isommp42m4v 
    creation_time   : 2014-10-07T14:35:54.000000Z
  Duration: 00:00:04.12, start: 0.000000, bitrate: 1725 kb/s
    Stream #0:0(eng), 26, 1/90000: Video: h264 (avc1 / 0x31637661), none, 1280x720, 1655 kb/s, 25.01 fps, 25 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      creation_time   : 2014-10-07T14:35:54.000000Z
      handler_name    : WowzaStreamingEngine
      encoder         : WowzaStreamingEngine
    Stream #0:1(eng), 1, 1/90000: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 65 kb/s (default)
    Metadata:
      creation_time   : 2014-10-07T14:35:54.000000Z
      handler_name    : WowzaStreamingEngine
[h264 @ 0x7fd1bc800000] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7fd1bc800000] Overread VUI by 2 bits
[h264 @ 0x7fd1bc800000] SPS decoding failure, trying again after escaping the NAL
[h264 @ 0x7fd1bc800000] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x7fd1bc800000] Overread VUI by 2 bits
[h264 @ 0x7fd1bc800000] Decoding sps 0 from avcC failed
Could not open codec for input stream 0

Working version:

% ffmpeg -i test.mp4 -c:v libx264 -c:a libfaac test2.mp4
ffmpeg version n2.7.2-3-gb1863e3 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/var/transcoder/dist/package/usr --enable-libspeex --enable-libfaac --enable-libfdk-aac --enable-libx264 --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-pthreads --enable-postproc --enable-nonfree --enable-librtmp --enable-shared --enable-libtheora --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libvpx --disable-demuxer='hls,applehttp' --disable-protocol=hls
  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
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
[h264 @ 0xba2fe0] Overread VUI by 2 bits
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Metadata:
    major_brand     : f4v 
    minor_version   : 0
    compatible_brands: isommp42m4v 
    creation_time   : 2014-10-07 14:35:54
  Duration: 00:00:04.12, start: 0.000000, bitrate: 1725 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 1280x720, 1655 kb/s, 25.01 fps, 25 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      creation_time   : 2014-10-07 14:35:54
      handler_name    : WowzaStreamingEngine
      encoder         : WowzaStreamingEngine
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 65 kb/s (default)
    Metadata:
      creation_time   : 2014-10-07 14:35:54
      handler_name    : WowzaStreamingEngine
File 'test2.mp4' already exists. Overwrite ? [y/N] y
[libx264 @ 0xd59d20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0xd59d20] profile High, level 3.1
[libx264 @ 0xd59d20] 264 - core 146 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[h264 @ 0x1264ae0] Overread VUI by 2 bits
Output #0, mp4, to 'test2.mp4':
  Metadata:
    major_brand     : f4v 
    minor_version   : 0
    compatible_brands: isommp42m4v 
    encoder         : Lavf56.36.100
    Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x720, q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2014-10-07 14:35:54
      handler_name    : WowzaStreamingEngine
      encoder         : Lavc56.41.100 libx264
    Stream #0:1(eng): Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 44100 Hz, mono, s16, 128 kb/s (default)
    Metadata:
      creation_time   : 2014-10-07 14:35:54
      handler_name    : WowzaStreamingEngine
      encoder         : Lavc56.41.100 libfaac
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (libfaac))
Press [q] to stop, [?] for help
[h264 @ 0x13937c0] Overread VUI by 2 bits
[h264 @ 0x1264ae0] Overread VUI by 2 bitsB time=00:00:02.85 bitrate= 502.0kbits/s    
frame=  103 fps= 52 q=-1.0 Lsize=     620kB time=00:00:04.04 bitrate=1256.9kbits/s    
video:577kB audio:37kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.874109%
[libx264 @ 0xd59d20] frame I:2     Avg QP:18.74  size: 19168
[libx264 @ 0xd59d20] frame P:65    Avg QP:20.67  size:  6911
[libx264 @ 0xd59d20] frame B:36    Avg QP:22.38  size:  2860
[libx264 @ 0xd59d20] consecutive B-frames: 46.6% 17.5%  8.7% 27.2%
[libx264 @ 0xd59d20] mb I  I16..4: 35.5% 58.8%  5.7%
[libx264 @ 0xd59d20] mb P  I16..4:  2.2%  3.4%  0.1%  P16..4: 45.0%  5.2%  4.7%  0.0%  0.0%    skip:39.3%
[libx264 @ 0xd59d20] mb B  I16..4:  0.1%  0.1%  0.0%  B16..8: 42.7%  0.8%  0.0%  direct: 2.7%  skip:53.5%  L0:47.6% L1:52.0% BI: 0.4%
[libx264 @ 0xd59d20] 8x8 transform intra:59.1% inter:90.2%
[libx264 @ 0xd59d20] coded y,uvDC,uvAC intra: 31.7% 42.4% 1.6% inter: 8.4% 18.2% 0.0%
[libx264 @ 0xd59d20] i16 v,h,dc,p: 23% 26% 23% 28%
[libx264 @ 0xd59d20] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 21% 42%  3%  2%  2%  3%  2%  7%
[libx264 @ 0xd59d20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 27% 19%  5%  6%  6%  4%  3% 10%
[libx264 @ 0xd59d20] i8c dc,h,v,p: 59% 24% 15%  3%
[libx264 @ 0xd59d20] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0xd59d20] ref P L0: 75.3%  4.1% 14.8%  5.8%
[libx264 @ 0xd59d20] ref B L0: 89.3%  9.5%  1.1%
[libx264 @ 0xd59d20] ref B L1: 95.3%  4.7%
[libx264 @ 0xd59d20] kb/s:1146.66

Note that because of the older version, libfaac is used instead of aac but the end result is the same (also tried with other output formats, it makes no difference to either the working or non-working versions.


#6815 Regression recovering broken H264 stream avcodec defect Nov 7, 2017

Summary of the bug:

With v3.1.7, the attached H264 input encounters an error, but recovers almost immediately. With v3.3.3 (and current master), it still will recover if AV_CODEC_FLAG2_CHUNKS flag isn't set (which is why ffmpeg works), but will never decode another frame, if the flag is provided.

How to reproduce:

Change ffmpeg.c by adding

ist->dec_ctx->flags2 |= AV_CODEC_FLAG2_CHUNKS;

before avcodec_open2 (not sure if there's a command line option to set it?)

% ffmpeg -threads 1 -i brokenStream.h264 -vcodec mpeg4 foo.mp4

n3.1.7 will recover after encountering an error concealing 1580 DC, 1580 AC, 1580 MV errors in P frame

n3.3.3 will not


#6907 hevc decoding regression avcodec defect Dec 11, 2017

After the update ffmpeg git-n3.4-dev-2207-geea64ef4fif RAW video files has stopped playing.

Test sample: https://yadi.sk/d/_CMwldVX3QSNxx


#6991 incorrect frame readout after seek avcodec defect Jan 29, 2018

This issue can be reproduced on this file https://www.dropbox.com/s/8oru7o1dtf24x22/clipcanvas_14348_offline.mp4?dl=0

The command to reproduce this issue is

ffplay clipcanvas_14348_offline.mp4 -ss 00:00:04
ffplay version N-89901-ga026a3efae Copyright (c) 2003-2018 the FFmpeg developers
  built with gcc 7.2.0 (GCC)

if run without -ss, then everything is OK


#7030 qsv in ffmpeg avcodec defect Feb 20, 2018

Testing was conducted on the same equipment on the same video stream. configuration: --prefix=/home/palich/ffmpeg-test/ --extra-cflags='-I/home/palich/ffmpeg-testinclude -Ofast -march=native' --extra-ldflags='-L/home/palich/ffmpeg-testlib -ldl' --enable-avresample --enable-static --enable-shared --enable-nonfree --enable-gpl --enable-version3 --enable-libx264 --enable-libfdk-aac --enable-libmp3lame --enable-librtmp --enable-gnutls --enable-libfreetype --enable-filters --enable-postproc --enable-runtime-cpudetect --enable-decklink --enable-libmfx

ffmpeg version 3.2.10

ffmpeg -i rtmp://... -c:v h264_qsv -b:v 1000k -g 50 -r 25 -strict experimental -acodec aac -ab 64k -ar 44100 -f flv rtmp://127.0.0.1/virtual/1

%CPU LOAD (top) 29,7 %GPU LOAD (metrics_monitor) RENDER usage: 15.15, VIDEO usage: 6.06, VIDEO_E usage: 0.00 GT Freq: 350.00

This works well.

ffmpeg version 3.4.2 add -init_hw_device qsv:hw

ffmpeg -v info -i rtmp://.... -init_hw_device qsv:hw -c:v h264_qsv -b:v 1000k -strict experimental -acodec aac -ab 64k -ar 44100 -f flv rtmp://127.0.0.1/virtual/1

%CPU LOAD (top) 36.0 %GPU LOAD (metrics_monitor) RENDER usage: 14.14, VIDEO usage: 5.05, VIDEO_E usage: 0.00 GT Freq: 350.00

This works well.

ffmpeg version 3.3.6

ffmpeg -v info -i rtmp://.... -init_hw_device qsv:hw -c:v h264_qsv -b:v 1000k -strict experimental -acodec aac -ab 64k -ar 44100 -f flv rtmp://127.0.0.1/virtual/1

Unrecognized option 'init_hw_device'.

Without this option, QSV is not initialized. And gives an error. Selected ratecontrol mode is not supported by the QSV runtime. Choose a different mode.

ffmpeg version N-90085-gacdea9e

ffmpeg -v info -i rtmp://.... -init_hw_device qsv:hw -c:v h264_qsv -b:v 1000k -strict experimental -acodec aac -ab 64k -ar 44100 -f flv rtmp://127.0.0.1/virtual/1

Selected ratecontrol mode is not supported by the QSV runtime. Choose a different mode.

How to make QSV work in these versions ? (3.3.6 and N-90085-gacdea9e)

./sys_analyzer_linux.py
--------------------------
Hardware readiness checks:
--------------------------
 [ OK ] Processor name: Intel(R) Xeon(R) CPU E3-1275 v5 @ 3.60GHz
--------------------------
OS readiness checks:
--------------------------
 [ OK ] GPU visible to OS
--------------------------
Media Server Studio Install:
--------------------------
 [ OK ] user in video group
 [ OK ] libva.so.1 found
 [ OK ] vainfo reports valid codec entry points
 [ OK ] /dev/dri/renderD128 connects to Intel i915
--------------------------
Component Smoke Tests:
--------------------------
 [ OK ] Media SDK HW API level:1.19
 [ OK ] Media SDK SW API level:1.19
 [ OK ] OpenCL check:platform:Intel(R) OpenCL GPU OK CPU OK

#7058 loud aac encoder artefact avcodec defect Mar 5, 2018

Summary of the bug: AAC At 00:59, the sound goes down.

How to reproduce #first:

% ffmpeg.exe -i 59s_sound_falls_original.flac -y -c:a aac -b:a 320k -ar 44100 -movflags +faststart -map 0:a -map_metadata -1 -report 59s_sound_falls.m4a
ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.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 --enab
le-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 --enabl
e-libspeex --enable-libxvid --enable-libmfx --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, flac, from '59s_sound_falls_original.flac':
  Metadata:
    TITLE           : *deleted
    ARTIST          : *deleted
    ALBUMTITLE      : *deleted
    COMMENT         : *deleted
  Duration: 00:04:31.43, start: 0.000000, bitrate: 1046 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
Stream mapping:
  Stream #0:0 -> #0:0 (flac (native) -> aac (native))
Press [q] to stop, [?] for help
Output #0, ipod, to '59s_sound_falls.m4a':
  Metadata:
    encoder         : Lavf57.83.100
    Stream #0:0: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp (16 bit), 320 kb/s
    Metadata:
      encoder         : Lavc57.107.100 aac
[ipod @ 00000000004d6b40] Starting second pass: moving the moov atom to the beginning of the file
size=   10796kB time=00:04:31.44 bitrate= 325.8kbits/s speed=21.1x
video:0kB audio:10749kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.433493%
[aac @ 00000000004abac0] Qavg: 3600.476

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.


#7174 H.264 decoding turns blocky, "Out of range weight"+"decode_slice_header error"+more avcodec defect Apr 29, 2018

Summary of the bug: When decoding a specific H.264 sample (irregardless of container, i.e. mkv, mp4 or elementary stream) the picture exhibits lots of blocks and ffmpeg throws several error messages. This applies both to the standard sw H.264 decoder as well as the DXVA2 decoder (I'm using AMD GPU, HD5850). Decoding works absolutely fine on an Android phone.

Sample download: https://mega.nz/#!gxNzhaJZ!0xXguojCNvrJ3ARAq9XZTEhgg9hI6UgX5t4VSMQEstY

How to reproduce:

ffmpeg started on 2018-04-29 at 11:26:19
Report written to "ffmpeg-20180429-112619.log"
Command line:
ffmpeg -report -i "ffmpeg H.264 decoding bug blocking.mkv" -c:v libx264 output.mkv
ffmpeg version N-90884-g19c3df0cd6 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.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-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56. 17.100 / 56. 17.100
  libavcodec     58. 19.100 / 58. 19.100
  libavformat    58. 13.100 / 58. 13.100
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 20.100 /  7. 20.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.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 'ffmpeg H.264 decoding bug blocking.mkv'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx264'.
Reading option 'output.mkv' ... 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 ffmpeg H.264 decoding bug blocking.mkv.
Successfully parsed a group of options.
Opening an input file: ffmpeg H.264 decoding bug blocking.mkv.
[NULL @ 00000000005a3b00] Opening 'ffmpeg H.264 decoding bug blocking.mkv' for reading
[file @ 00000000005a5480] Setting default whitelist 'file,crypto'
[matroska,webm @ 00000000005a3b00] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
[matroska,webm @ 00000000005a3b00] Before avformat_find_stream_info() pos: 5438 bytes read:33170 seeks:2 nb_streams:1
[h264 @ 00000000005b7ac0] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 00000000005b7ac0] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 00000000005b7ac0] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 00000000005b7ac0] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 00000000005b7ac0] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 00000000005b7ac0] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 00000000005b7ac0] nal_unit_type: 5, nal_ref_idc: 3
[h264 @ 00000000005b7ac0] Format yuv420p chosen by get_format().
[h264 @ 00000000005b7ac0] Reinit context to 1920x1040, pix_fmt: yuv420p
[h264 @ 00000000005b7ac0] no picture 
[matroska,webm @ 00000000005a3b00] All info found
[matroska,webm @ 00000000005a3b00] After avformat_find_stream_info() pos: 296306 bytes read:324038 seeks:2 frames:3
Input #0, matroska,webm, from 'ffmpeg H.264 decoding bug blocking.mkv':
  Metadata:
    encoder         : libebml v1.3.5 + libmatroska v1.4.8
    creation_time   : 2018-04-29T01:04:32.000000Z
  Duration: 00:00:06.22, start: 0.000000, bitrate: 22260 kb/s
    Stream #0:0, 3, 1/1000: Video: h264 (High), yuv420p(progressive), 1920x1040, SAR 1:1 DAR 24:13, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      BPS-eng         : 22251324
      DURATION-eng    : 00:00:06.215000000
      NUMBER_OF_FRAMES-eng: 149
      NUMBER_OF_BYTES-eng: 17286498
      _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 ('At The End Of The World') 32-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-29 01:04:32
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Successfully opened the file.
Parsing a group of options: output url output.mkv.
Applying option c:v (codec name) with argument libx264.
Successfully parsed a group of options.
Opening an output file: output.mkv.
[file @ 00000000005acd00] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 4 logical cores
[h264 @ 00000000005fd8c0] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 00000000005fd8c0] nal_unit_type: 8, nal_ref_idc: 3
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
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)
[h264 @ 00000000005fd8c0] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 00000000005fd8c0] nal_unit_type: 8, nal_ref_idc: 3
[h264 @ 00000000005fd8c0] nal_unit_type: 5, nal_ref_idc: 3
[h264 @ 00000000005fd8c0] Format yuv420p chosen by get_format().
[h264 @ 00000000005fd8c0] Reinit context to 1920x1040, pix_fmt: yuv420p
[h264 @ 00000000005fd8c0] no picture 
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
[graph 0 input from stream 0:0 @ 0000000002c8fd80] Setting 'video_size' to value '1920x1040'
[graph 0 input from stream 0:0 @ 0000000002c8fd80] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0000000002c8fd80] Setting 'time_base' to value '1/1000'
[graph 0 input from stream 0:0 @ 0000000002c8fd80] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0000000002c8fd80] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0000000002c8fd80] Setting 'frame_rate' to value '24000/1001'
[graph 0 input from stream 0:0 @ 0000000002c8fd80] w:1920 h:1040 pixfmt:yuv420p tb:1/1000 fr:24000/1001 sar:1/1 sws_param:flags=2
[format @ 0000000002aba440] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21|yuv420p10le|yuv422p10le|yuv444p10le|nv20le'
[AVFilterGraph @ 00000000005a85c0] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[libx264 @ 00000000005abe00] using mv_range_thread = 88
[libx264 @ 00000000005abe00] using SAR=1/1
[libx264 @ 00000000005abe00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 00000000005abe00] profile High, level 4.0
[libx264 @ 00000000005abe00] 264 - core 155 r2901 7d0ff22 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[matroska @ 0000000003008040] get_metadata_duration returned: 0
Output #0, matroska, to 'output.mkv':
  Metadata:
    encoder         : Lavf58.13.100
    Stream #0:0, 0, 1/1000: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1920x1040 [SAR 1:1 DAR 24:13], q=-1--1, 23.98 fps, 1k tbn, 23.98 tbc (default)
    Metadata:
      BPS-eng         : 22251324
      DURATION-eng    : 00:00:06.215000000
      NUMBER_OF_FRAMES-eng: 149
      NUMBER_OF_BYTES-eng: 17286498
      _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 ('At The End Of The World') 32-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-29 01:04:32
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      encoder         : Lavc58.19.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Clipping frame in rate conversion by 0.000008
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.009972
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.002983
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.005974
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
Clipping frame in rate conversion by 0.008995
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.001976
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 2
Clipping frame in rate conversion by 0.004997
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.007988
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.010979
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.003990
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.006981
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.009972
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 0
Clipping frame in rate conversion by 0.002983
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cad80] nal_unit_type: 5, nal_ref_idc: 3
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.005974
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.008995
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.001976
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.004997
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.007988
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 2
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000999
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
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)
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
Clipping frame in rate conversion by 0.010979
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
Clipping frame in rate conversion by 0.003990
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] scene cut at 2 Icost:1943282 Pcost:1931325 ratio:0.0062 bias:0.0250 gop:2 (imb:7272 pmb:162)
frame=   47 fps= 43 q=0.0 size=       1kB time=00:00:00.00 bitrate=N/A speed=   0x    
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.006981
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[NULL @ 00000000005b7ac0] Out of range weight
[NULL @ 00000000005b7ac0]  is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[NULL @ 00000000005b7ac0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 00000000005cad80] Out of range weight
[h264 @ 00000000005cad80]  is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[h264 @ 00000000005cad80] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[h264 @ 00000000005cad80] decode_slice_header error
[h264 @ 00000000005cad80] no frame!
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 00000000005cb4c0] reference picture missing during reorder
[h264 @ 00000000005cb4c0] reference picture missing during reorder
[h264 @ 00000000005cb4c0] reference picture missing during reorder
[h264 @ 00000000005cb4c0] Missing reference picture, default is 65574
[h264 @ 00000000005cb4c0] Missing reference picture, default is 65574
[h264 @ 00000000005cb4c0] Missing reference picture, default is 65574
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.009972
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 00000000005fd8c0] reference picture missing during reorder
[h264 @ 00000000005fd8c0] Missing reference picture, default is 65578
[libx264 @ 00000000005abe00] frame=   0 QP=23.54 NAL=3 Slice:I Poc:0   I:7800 P:0    SKIP:0    size=45359 bytes
[matroska @ 0000000003008040] Writing block at offset 9, size 46048, pts 0, dts -83, duration 42, keyframe 1
Clipping frame in rate conversion by 0.002983
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 00000000005fdd40] reference picture missing during reorder
[h264 @ 00000000005fdd40] Missing reference picture, default is 65580
[libx264 @ 00000000005abe00] frame=   1 QP=23.81 NAL=2 Slice:P Poc:2   I:4215 P:2679 SKIP:906  size=38067 bytes
[matroska @ 0000000003008040] Writing block at offset 46066, size 38067, pts 42, dts -42, duration 42, keyframe 0
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 00000000005fe480] reference picture missing during reorder
[h264 @ 00000000005fe480] Missing reference picture, default is 65582
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=   2 QP=23.63 NAL=2 Slice:I Poc:4   I:7800 P:0    SKIP:0    size=87787 bytes
[matroska @ 0000000003008040] Writing block at offset 84141, size 87787, pts 83, dts 0, duration 42, keyframe 0
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] scene cut at 10 Icost:1111777 Pcost:1096643 ratio:0.0136 bias:0.0435 gop:10 (imb:7356 pmb:78)
[libx264 @ 00000000005abe00] frame=   3 QP=23.95 NAL=2 Slice:P Poc:6   I:7635 P:165  SKIP:0    size=47773 bytes
[matroska @ 0000000003008040] Writing block at offset 171936, size 47773, pts 125, dts 42, duration 42, keyframe 0
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=   4 QP=24.50 NAL=2 Slice:P Poc:8   I:5876 P:1800 SKIP:124  size=50902 bytes
[matroska @ 0000000003008040] Writing block at offset 219717, size 50902, pts 167, dts 83, duration 42, keyframe 0
frame=   55 fps= 34 q=28.0 size=       1kB time=00:00:00.08 bitrate= 109.0kbits/s speed=0.0522x    
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=   5 QP=23.75 NAL=2 Slice:P Poc:10  I:3888 P:3842 SKIP:70   size=40290 bytes
[matroska @ 0000000003008040] Writing block at offset 270627, size 40290, pts 209, dts 125, duration 42, keyframe 0
Clipping frame in rate conversion by 0.008995
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=   6 QP=23.92 NAL=2 Slice:P Poc:12  I:3363 P:3763 SKIP:674  size=37947 bytes
[matroska @ 0000000003008040] Writing block at offset 310925, size 37947, pts 250, dts 167, duration 42, keyframe 0
Clipping frame in rate conversion by 0.001976
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=   7 QP=25.13 NAL=2 Slice:P Poc:14  I:7384 P:415  SKIP:1    size=62906 bytes
[matroska @ 0000000003008040] Writing block at offset 348880, size 62906, pts 292, dts 209, duration 42, keyframe 0
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=   8 QP=23.83 NAL=2 Slice:P Poc:16  I:5037 P:2755 SKIP:8    size=44050 bytes
[matroska @ 0000000003008040] Writing block at offset 411794, size 44050, pts 334, dts 250, duration 42, keyframe 0
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=   9 QP=25.15 NAL=2 Slice:P Poc:18  I:2913 P:4885 SKIP:2    size=47929 bytes
[matroska @ 0000000003008040] Writing block at offset 455852, size 47929, pts 375, dts 292, duration 42, keyframe 0
Clipping frame in rate conversion by 0.004997
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  10 QP=20.69 NAL=2 Slice:I Poc:20  I:7800 P:0    SKIP:0    size=78977 bytes
[matroska @ 0000000003008040] Writing block at offset 503789, size 78977, pts 417, dts 334, duration 42, keyframe 0
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] scene cut at 20 Icost:523817 Pcost:523073 ratio:0.0014 bias:0.0870 gop:20 (imb:7396 pmb:38)
[libx264 @ 00000000005abe00] frame=  11 QP=24.15 NAL=2 Slice:P Poc:22  I:4365 P:3106 SKIP:329  size=47713 bytes
[matroska @ 0000000003008040] Writing block at offset 582774, size 47713, pts 459, dts 375, duration 42, keyframe 0
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  12 QP=24.57 NAL=2 Slice:P Poc:24  I:4762 P:2878 SKIP:160  size=53198 bytes
[matroska @ 0000000003008040] Writing block at offset 630495, size 53198, pts 501, dts 417, duration 42, keyframe 0
frame=   63 fps= 28 q=28.0 size=       1kB time=00:00:00.41 bitrate=  21.9kbits/s speed=0.186x    
Clipping frame in rate conversion by 0.007988
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  13 QP=24.05 NAL=2 Slice:P Poc:26  I:4159 P:3529 SKIP:112  size=46353 bytes
[matroska @ 0000000003008040] Writing block at offset 683701, size 46353, pts 542, dts 459, duration 42, keyframe 0
Clipping frame in rate conversion by 0.000999
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] scene cut at 23 Icost:520022 Pcost:491874 ratio:0.0541 bias:0.1000 gop:23 (imb:6340 pmb:1094)
[libx264 @ 00000000005abe00] frame=  14 QP=25.40 NAL=2 Slice:P Poc:28  I:7186 P:614  SKIP:0    size=65197 bytes
[matroska @ 0000000003008040] Writing block at offset 730062, size 65197, pts 584, dts 501, duration 42, keyframe 0
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  15 QP=24.12 NAL=2 Slice:P Poc:30  I:3219 P:4581 SKIP:0    size=44430 bytes
[matroska @ 0000000003008040] Writing block at offset 795267, size 44430, pts 626, dts 542, duration 42, keyframe 0
Clipping frame in rate conversion by 0.010979
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  16 QP=25.24 NAL=2 Slice:P Poc:32  I:5348 P:2451 SKIP:1    size=56900 bytes
[matroska @ 0000000003008040] Writing block at offset 839705, size 56900, pts 667, dts 584, duration 42, keyframe 0
Clipping frame in rate conversion by 0.003990
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  17 QP=23.95 NAL=2 Slice:P Poc:36  I:3468 P:4332 SKIP:0    size=40766 bytes
[matroska @ 0000000003008040] Writing block at offset 896613, size 40766, pts 751, dts 626, duration 42, keyframe 0
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  18 QP=24.07 NAL=0 Slice:B Poc:34  I:576  P:4523 SKIP:2604 size=24605 bytes
[matroska @ 0000000003008040] Writing block at offset 937387, size 24605, pts 709, dts 667, duration 42, keyframe 0
frame=   69 fps= 25 q=25.0 size=       1kB time=00:00:00.66 bitrate=  13.7kbits/s speed=0.241x    
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  19 QP=24.64 NAL=2 Slice:P Poc:38  I:4945 P:2714 SKIP:141  size=51115 bytes
[matroska @ 0000000003008040] Writing block at offset 962000, size 51115, pts 792, dts 709, duration 42, keyframe 0
Clipping frame in rate conversion by 0.006981
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  20 QP=16.79 NAL=2 Slice:I Poc:40  I:7800 P:0    SKIP:0    size=46407 bytes
[matroska @ 0000000003008040] Writing block at offset 1013123, size 46407, pts 834, dts 751, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame=  21 QP=20.70 NAL=2 Slice:P Poc:42  I:662  P:2353 SKIP:4785 size=7632 bytes
[matroska @ 0000000003008040] Writing block at offset 1059538, size 7632, pts 876, dts 792, duration 42, keyframe 0
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  22 QP=21.34 NAL=2 Slice:P Poc:44  I:3770 P:2341 SKIP:1689 size=22624 bytes
[matroska @ 0000000003008040] Writing block at offset 1067177, size 22624, pts 918, dts 834, duration 42, keyframe 0
Clipping frame in rate conversion by 0.009972
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  23 QP=16.87 NAL=3 Slice:I Poc:0   I:7800 P:0    SKIP:0    size=41042 bytes
[matroska @ 0000000003008040] Starting new cluster at offset 1090965 bytes, pts 959dts 876
[matroska @ 0000000003008040] Writing block at offset 10, size 41042, pts 959, dts 876, duration 42, keyframe 1
Clipping frame in rate conversion by 0.002983
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  24 QP=20.32 NAL=2 Slice:P Poc:4   I:3598 P:1720 SKIP:2482 size=15907 bytes
[matroska @ 0000000003008040] Writing block at offset 41060, size 15907, pts 1043, dts 918, duration 42, keyframe 0
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] scene cut at 33 Icost:1593121 Pcost:1591148 ratio:0.0012 bias:0.0435 gop:10 (imb:7390 pmb:44)
[libx264 @ 00000000005abe00] frame=  25 QP=20.10 NAL=0 Slice:B Poc:2   I:828  P:2818 SKIP:4141 size=10643 bytes
[matroska @ 0000000003008040] Writing block at offset 56974, size 10643, pts 1001, dts 959, duration 42, keyframe 0
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  26 QP=22.06 NAL=2 Slice:P Poc:6   I:7613 P:99   SKIP:88   size=30817 bytes
[matroska @ 0000000003008040] Writing block at offset 67624, size 30817, pts 1084, dts 1001, duration 42, keyframe 0
Clipping frame in rate conversion by 0.005974
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  27 QP=23.94 NAL=2 Slice:P Poc:8   I:7570 P:229  SKIP:1    size=51094 bytes
[matroska @ 0000000003008040] Writing block at offset 98449, size 51094, pts 1126, dts 1043, duration 42, keyframe 0
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  28 QP=24.78 NAL=2 Slice:P Poc:10  I:7406 P:394  SKIP:0    size=65618 bytes
[matroska @ 0000000003008040] Writing block at offset 149551, size 65618, pts 1168, dts 1084, duration 42, keyframe 0
frame=   79 fps= 23 q=25.0 size=    1065kB time=00:00:01.08 bitrate=8044.0kbits/s speed=0.318x    
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  29 QP=25.10 NAL=2 Slice:P Poc:12  I:6530 P:1269 SKIP:1    size=67908 bytes
[matroska @ 0000000003008040] Writing block at offset 215177, size 67908, pts 1210, dts 1126, duration 42, keyframe 0
Clipping frame in rate conversion by 0.008995
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  30 QP=24.94 NAL=2 Slice:P Poc:14  I:6274 P:1526 SKIP:0    size=66881 bytes
[matroska @ 0000000003008040] Writing block at offset 283093, size 66881, pts 1251, dts 1168, duration 42, keyframe 0
Clipping frame in rate conversion by 0.001976
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  31 QP=25.36 NAL=2 Slice:P Poc:16  I:5768 P:2032 SKIP:0    size=68679 bytes
[matroska @ 0000000003008040] Writing block at offset 349982, size 68679, pts 1293, dts 1210, duration 42, keyframe 0
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  32 QP=25.39 NAL=2 Slice:P Poc:18  I:5295 P:2502 SKIP:3    size=72328 bytes
[matroska @ 0000000003008040] Writing block at offset 418669, size 72328, pts 1335, dts 1251, duration 42, keyframe 0
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  33 QP=20.10 NAL=2 Slice:I Poc:20  I:7800 P:0    SKIP:0    size=58691 bytes
[matroska @ 0000000003008040] Writing block at offset 491005, size 58691, pts 1376, dts 1293, duration 42, keyframe 0
Clipping frame in rate conversion by 0.004997
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] scene cut at 43 Icost:2089137 Pcost:1963711 ratio:0.0600 bias:0.0870 gop:20 (imb:6096 pmb:1338)
[libx264 @ 00000000005abe00] frame=  34 QP=23.50 NAL=2 Slice:P Poc:24  I:6886 P:914  SKIP:0    size=68098 bytes
[matroska @ 0000000003008040] Writing block at offset 549704, size 68098, pts 1460, dts 1335, duration 42, keyframe 0
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  35 QP=23.80 NAL=0 Slice:B Poc:22  I:640  P:3598 SKIP:3513 size=20597 bytes
[matroska @ 0000000003008040] Writing block at offset 617810, size 20597, pts 1418, dts 1376, duration 42, keyframe 0
frame=   86 fps= 21 q=28.0 size=    1065kB time=00:00:01.37 bitrate=6338.2kbits/s speed=0.339x    
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  36 QP=23.83 NAL=2 Slice:P Poc:32  I:5599 P:2191 SKIP:10   size=54597 bytes
[matroska @ 0000000003008040] Writing block at offset 638415, size 54597, pts 1627, dts 1418, duration 42, keyframe 0
Clipping frame in rate conversion by 0.007988
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  37 QP=24.04 NAL=2 Slice:B Poc:28  I:1037 P:4975 SKIP:1701 size=37761 bytes
[matroska @ 0000000003008040] Writing block at offset 693020, size 37761, pts 1543, dts 1460, duration 42, keyframe 0
Clipping frame in rate conversion by 0.000999
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  38 QP=24.37 NAL=0 Slice:B Poc:26  I:999  P:5600 SKIP:1098 size=39769 bytes
[matroska @ 0000000003008040] Writing block at offset 730789, size 39769, pts 1502, dts 1502, duration 42, keyframe 0
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  39 QP=24.28 NAL=0 Slice:B Poc:30  I:762  P:4073 SKIP:2852 size=27677 bytes
[matroska @ 0000000003008040] Writing block at offset 770566, size 27677, pts 1585, dts 1543, duration 42, keyframe 0
Clipping frame in rate conversion by 0.010979
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  40 QP=24.50 NAL=2 Slice:P Poc:36  I:3697 P:3000 SKIP:1103 size=44048 bytes
[matroska @ 0000000003008040] Writing block at offset 798251, size 44048, pts 1710, dts 1585, duration 42, keyframe 0
Clipping frame in rate conversion by 0.003990
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  41 QP=24.28 NAL=0 Slice:B Poc:34  I:804  P:3781 SKIP:3100 size=26456 bytes
[matroska @ 0000000003008040] Writing block at offset 842307, size 26456, pts 1668, dts 1627, duration 42, keyframe 0
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  42 QP=24.75 NAL=2 Slice:P Poc:38  I:3536 P:4218 SKIP:46   size=45455 bytes
[matroska @ 0000000003008040] Writing block at offset 868771, size 45455, pts 1752, dts 1668, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame=  43 QP=22.11 NAL=2 Slice:I Poc:40  I:7800 P:0    SKIP:0    size=101310 bytes
[matroska @ 0000000003008040] Writing block at offset 914234, size 101310, pts 1793, dts 1710, duration 42, keyframe 0
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
frame=   94 fps= 20 q=28.0 size=    1065kB time=00:00:01.71 bitrate=5100.9kbits/s speed=0.366x    
Clipping frame in rate conversion by 0.006981
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] scene cut at 53 Icost:4355784 Pcost:3977501 ratio:0.0868 bias:0.1093 gop:30 (imb:6304 pmb:1130)
[libx264 @ 00000000005abe00] frame=  44 QP=25.39 NAL=2 Slice:P Poc:42  I:3601 P:4162 SKIP:37   size=52174 bytes
[matroska @ 0000000003008040] Writing block at offset 1015552, size 52174, pts 1835, dts 1752, duration 42, keyframe 0
frame=   95 fps= 13 q=28.0 size=    1065kB time=00:00:01.75 bitrate=4978.7kbits/s speed=0.238x    
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  45 QP=25.07 NAL=2 Slice:P Poc:44  I:5897 P:1903 SKIP:0    size=63055 bytes
[matroska @ 0000000003008040] Writing block at offset 1067734, size 63055, pts 1877, dts 1793, duration 42, keyframe 0
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  46 QP=24.89 NAL=2 Slice:P Poc:46  I:5668 P:2128 SKIP:4    size=68138 bytes
[matroska @ 0000000003008040] Writing block at offset 1130797, size 68138, pts 1919, dts 1835, duration 42, keyframe 0
Clipping frame in rate conversion by 0.009972
[libx264 @ 00000000005abe00] frame=  47 QP=25.05 NAL=2 Slice:P Poc:48  I:4275 P:3375 SKIP:150  size=63956 bytes
[matroska @ 0000000003008040] Writing block at offset 1198943, size 63956, pts 1960, dts 1877, duration 42, keyframe 0
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
Clipping frame in rate conversion by 0.002983
[libx264 @ 00000000005abe00] frame=  48 QP=25.21 NAL=2 Slice:P Poc:50  I:4230 P:3491 SKIP:79   size=63004 bytes
[matroska @ 0000000003008040] Writing block at offset 1262907, size 63004, pts 2002, dts 1919, duration 42, keyframe 0
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  49 QP=25.66 NAL=2 Slice:P Poc:52  I:4379 P:3173 SKIP:248  size=69821 bytes
[matroska @ 0000000003008040] Writing block at offset 1325919, size 69821, pts 2044, dts 1960, duration 42, keyframe 0
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  50 QP=25.85 NAL=2 Slice:P Poc:54  I:4940 P:2857 SKIP:3    size=75773 bytes
[matroska @ 0000000003008040] Writing block at offset 1395748, size 75773, pts 2085, dts 2002, duration 42, keyframe 0
Clipping frame in rate conversion by 0.005974
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  51 QP=25.93 NAL=2 Slice:P Poc:56  I:5371 P:2427 SKIP:2    size=74631 bytes
[matroska @ 0000000003008040] Writing block at offset 1471529, size 74631, pts 2127, dts 2044, duration 42, keyframe 0
frame=  102 fps= 13 q=28.0 size=    1065kB time=00:00:02.04 bitrate=4267.8kbits/s speed=0.257x    
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  52 QP=23.37 NAL=2 Slice:P Poc:58  I:6966 P:831  SKIP:3    size=114654 bytes
[matroska @ 0000000003008040] Writing block at offset 1546168, size 114654, pts 2169, dts 2085, duration 42, keyframe 0
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  53 QP=22.72 NAL=3 Slice:I Poc:0   I:7800 P:0    SKIP:0    size=144180 bytes
[matroska @ 0000000003008040] Starting new cluster at offset 2751807 bytes, pts 2252dts 2127
[matroska @ 0000000003008040] Writing block at offset 10, size 144180, pts 2252, dts 2127, duration 42, keyframe 1
Clipping frame in rate conversion by 0.008995
[libx264 @ 00000000005abe00] frame=  54 QP=25.31 NAL=2 Slice:P Poc:8   I:7397 P:403  SKIP:0    size=142335 bytes
[matroska @ 0000000003008040] Writing block at offset 144198, size 142335, pts 2419, dts 2169, duration 42, keyframe 0
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
Clipping frame in rate conversion by 0.001976
[libx264 @ 00000000005abe00] frame=  55 QP=26.24 NAL=2 Slice:B Poc:4   I:2639 P:3957 SKIP:878  size=61289 bytes
[matroska @ 0000000003008040] Writing block at offset 286541, size 61289, pts 2336, dts 2252, duration 42, keyframe 0
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  56 QP=27.27 NAL=0 Slice:B Poc:2   I:2143 P:4550 SKIP:877  size=55424 bytes
[matroska @ 0000000003008040] Writing block at offset 347838, size 55424, pts 2294, dts 2294, duration 42, keyframe 0
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  57 QP=27.40 NAL=0 Slice:B Poc:6   I:1048 P:5330 SKIP:1277 size=47485 bytes
[matroska @ 0000000003008040] Writing block at offset 403270, size 47485, pts 2377, dts 2336, duration 42, keyframe 0
Clipping frame in rate conversion by 0.004997
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  58 QP=26.67 NAL=2 Slice:P Poc:16  I:4031 P:3630 SKIP:139  size=96957 bytes
[matroska @ 0000000003008040] Writing block at offset 450763, size 96957, pts 2586, dts 2377, duration 42, keyframe 0
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  59 QP=26.31 NAL=2 Slice:B Poc:12  I:1816 P:4929 SKIP:767  size=71486 bytes
[matroska @ 0000000003008040] Writing block at offset 547728, size 71486, pts 2503, dts 2419, duration 42, keyframe 0
frame=  110 fps= 13 q=28.0 size=    2687kB time=00:00:02.42 bitrate=9096.9kbits/s speed=0.282x    
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  60 QP=27.44 NAL=0 Slice:B Poc:10  I:1395 P:4242 SKIP:1922 size=41062 bytes
[matroska @ 0000000003008040] Writing block at offset 619222, size 41062, pts 2461, dts 2461, duration 42, keyframe 0
Clipping frame in rate conversion by 0.007988
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  61 QP=27.83 NAL=0 Slice:B Poc:14  I:1622 P:4201 SKIP:1757 size=49969 bytes
[matroska @ 0000000003008040] Writing block at offset 660292, size 49969, pts 2544, dts 2503, duration 42, keyframe 0
Clipping frame in rate conversion by 0.000999
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  62 QP=26.39 NAL=2 Slice:P Poc:24  I:6016 P:1784 SKIP:0    size=139973 bytes
[matroska @ 0000000003008040] Writing block at offset 710269, size 139973, pts 2753, dts 2544, duration 42, keyframe 0
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  63 QP=27.42 NAL=2 Slice:B Poc:20  I:3244 P:4012 SKIP:247  size=94080 bytes
[matroska @ 0000000003008040] Writing block at offset 850250, size 94080, pts 2669, dts 2586, duration 42, keyframe 0
Clipping frame in rate conversion by 0.010979
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  64 QP=27.74 NAL=0 Slice:B Poc:18  I:2954 P:3856 SKIP:723  size=72362 bytes
[matroska @ 0000000003008040] Writing block at offset 944338, size 72362, pts 2628, dts 2628, duration 42, keyframe 0
Clipping frame in rate conversion by 0.003990
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  65 QP=27.91 NAL=0 Slice:B Poc:22  I:2772 P:3800 SKIP:924  size=71384 bytes
[matroska @ 0000000003008040] Writing block at offset 1016708, size 71384, pts 2711, dts 2669, duration 42, keyframe 0
frame=  116 fps= 13 q=28.0 size=    2687kB time=00:00:02.67 bitrate=8245.1kbits/s speed=0.293x    
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  66 QP=27.55 NAL=2 Slice:P Poc:32  I:4531 P:3249 SKIP:20   size=108677 bytes
[matroska @ 0000000003008040] Writing block at offset 1088100, size 108677, pts 2920, dts 2711, duration 42, keyframe 0
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  67 QP=27.64 NAL=2 Slice:B Poc:28  I:2782 P:3939 SKIP:786  size=86864 bytes
[matroska @ 0000000003008040] Writing block at offset 1196785, size 86864, pts 2836, dts 2753, duration 42, keyframe 0
Clipping frame in rate conversion by 0.006981
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  68 QP=28.27 NAL=0 Slice:B Poc:26  I:2062 P:5085 SKIP:373  size=73580 bytes
[matroska @ 0000000003008040] Writing block at offset 1283657, size 73580, pts 2794, dts 2794, duration 42, keyframe 0
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  69 QP=28.46 NAL=0 Slice:B Poc:30  I:2496 P:3680 SKIP:1293 size=72634 bytes
[matroska @ 0000000003008040] Writing block at offset 1357245, size 72634, pts 2878, dts 2836, duration 42, keyframe 0
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  70 QP=27.23 NAL=2 Slice:P Poc:40  I:6380 P:1419 SKIP:1    size=133955 bytes
[matroska @ 0000000003008040] Writing block at offset 1429887, size 133955, pts 3086, dts 2878, duration 42, keyframe 0
Clipping frame in rate conversion by 0.009972
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  71 QP=27.72 NAL=2 Slice:B Poc:36  I:4713 P:2703 SKIP:194  size=107811 bytes
[matroska @ 0000000003008040] Writing block at offset 1563850, size 107811, pts 3003, dts 2920, duration 42, keyframe 0
frame=  122 fps= 13 q=28.0 size=    2687kB time=00:00:02.92 bitrate=7536.6kbits/s speed=0.302x    
Clipping frame in rate conversion by 0.002983
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  72 QP=28.70 NAL=0 Slice:B Poc:34  I:2742 P:3953 SKIP:774  size=87238 bytes
[matroska @ 0000000003008040] Writing block at offset 1671669, size 87238, pts 2961, dts 2961, duration 42, keyframe 0
frame=  123 fps=7.0 q=28.0 size=    2687kB time=00:00:02.96 bitrate=7432.3kbits/s speed=0.168x    
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  73 QP=28.55 NAL=0 Slice:B Poc:38  I:3118 P:3726 SKIP:703  size=86088 bytes
[matroska @ 0000000003008040] Writing block at offset 1758915, size 86088, pts 3045, dts 3003, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame=  74 QP=27.09 NAL=2 Slice:P Poc:48  I:5688 P:2111 SKIP:1    size=120435 bytes
[matroska @ 0000000003008040] Writing block at offset 1845011, size 120435, pts 3253, dts 3045, duration 42, keyframe 0
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 2
Clipping frame in rate conversion by 0.005974
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  75 QP=27.43 NAL=2 Slice:B Poc:44  I:3973 P:3076 SKIP:580  size=92655 bytes
[matroska @ 0000000003008040] Writing block at offset 1965454, size 92655, pts 3170, dts 3086, duration 42, keyframe 0
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  76 QP=28.24 NAL=0 Slice:B Poc:42  I:3035 P:3894 SKIP:592  size=78427 bytes
[matroska @ 0000000003008040] Writing block at offset 2058117, size 78427, pts 3128, dts 3128, duration 42, keyframe 0
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  77 QP=28.28 NAL=0 Slice:B Poc:46  I:2740 P:3866 SKIP:920  size=79196 bytes
[matroska @ 0000000003008040] Writing block at offset 2136552, size 79196, pts 3212, dts 3170, duration 42, keyframe 0
Clipping frame in rate conversion by 0.008995
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  78 QP=27.34 NAL=2 Slice:P Poc:56  I:5743 P:2056 SKIP:1    size=108723 bytes
[matroska @ 0000000003008040] Writing block at offset 2215756, size 108723, pts 3420, dts 3212, duration 42, keyframe 0
Clipping frame in rate conversion by 0.001976
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  79 QP=27.57 NAL=2 Slice:B Poc:52  I:4156 P:3270 SKIP:174  size=97134 bytes
[matroska @ 0000000003008040] Writing block at offset 2324487, size 97134, pts 3337, dts 3253, duration 42, keyframe 0
frame=  130 fps=7.1 q=28.0 size=    2687kB time=00:00:03.25 bitrate=6765.4kbits/s speed=0.179x    
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  80 QP=28.43 NAL=0 Slice:B Poc:50  I:2717 P:3748 SKIP:1016 size=83584 bytes
[matroska @ 0000000003008040] Writing block at offset 2421629, size 83584, pts 3295, dts 3295, duration 42, keyframe 0
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  81 QP=28.35 NAL=0 Slice:B Poc:54  I:2986 P:3739 SKIP:809  size=81982 bytes
[matroska @ 0000000003008040] Writing block at offset 2505221, size 81982, pts 3378, dts 3337, duration 42, keyframe 0
Clipping frame in rate conversion by 0.004997
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  82 QP=26.81 NAL=2 Slice:P Poc:64  I:7313 P:487  SKIP:0    size=124516 bytes
[matroska @ 0000000003008040] Writing block at offset 2587211, size 124516, pts 3587, dts 3378, duration 42, keyframe 0
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  83 QP=27.62 NAL=2 Slice:B Poc:60  I:4296 P:3094 SKIP:271  size=94014 bytes
[matroska @ 0000000003008040] Writing block at offset 2711735, size 94014, pts 3504, dts 3420, duration 42, keyframe 0
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  84 QP=28.17 NAL=0 Slice:B Poc:58  I:3137 P:3249 SKIP:1163 size=78627 bytes
[matroska @ 0000000003008040] Writing block at offset 2805757, size 78627, pts 3462, dts 3462, duration 42, keyframe 0
Clipping frame in rate conversion by 0.007988
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  85 QP=28.04 NAL=0 Slice:B Poc:62  I:3675 P:3312 SKIP:584  size=78893 bytes
[matroska @ 0000000003008040] Writing block at offset 2884392, size 78893, pts 3545, dts 3504, duration 42, keyframe 0
Clipping frame in rate conversion by 0.000999
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  86 QP=25.82 NAL=2 Slice:P Poc:72  I:7266 P:534  SKIP:0    size=124684 bytes
[matroska @ 0000000003008040] Writing block at offset 2963293, size 124684, pts 3754, dts 3545, duration 42, keyframe 0
frame=  137 fps=7.3 q=28.0 size=    2687kB time=00:00:03.54 bitrate=6208.3kbits/s speed=0.189x    
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  87 QP=27.11 NAL=2 Slice:B Poc:68  I:3946 P:3248 SKIP:481  size=78978 bytes
[matroska @ 0000000003008040] Writing block at offset 3087985, size 78978, pts 3670, dts 3587, duration 42, keyframe 0
Clipping frame in rate conversion by 0.010979
[h264 @ 00000000005cb4c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  88 QP=27.95 NAL=0 Slice:B Poc:66  I:3213 P:3583 SKIP:830  size=66320 bytes
[matroska @ 0000000003008040] Writing block at offset 3166971, size 66320, pts 3629, dts 3629, duration 42, keyframe 0
Clipping frame in rate conversion by 0.003990
[h264 @ 00000000005fd8c0] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  89 QP=27.64 NAL=0 Slice:B Poc:70  I:3118 P:3551 SKIP:974  size=60986 bytes
[matroska @ 0000000003008040] Writing block at offset 3233299, size 60986, pts 3712, dts 3670, duration 42, keyframe 0
[h264 @ 00000000005fdd40] nal_unit_type: 1, nal_ref_idc: 2
[libx264 @ 00000000005abe00] frame=  90 QP=25.32 NAL=2 Slice:P Poc:76  I:5713 P:2087 SKIP:0    size=81577 bytes
[matroska @ 0000000003008040] Writing block at offset 3294293, size 81577, pts 3837, dts 3712, duration 42, keyframe 0
[h264 @ 00000000005fe480] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  91 QP=27.30 NAL=0 Slice:B Poc:74  I:1817 P:3550 SKIP:2315 size=43278 bytes
[matroska @ 0000000003008040] Writing block at offset 3375878, size 43278, pts 3795, dts 3754, duration 42, keyframe 0
frame=  142 fps=7.4 q=28.0 size=    2687kB time=00:00:03.75 bitrate=5862.7kbits/s speed=0.195x    
Clipping frame in rate conversion by 0.006981
[h264 @ 00000000005cad80] nal_unit_type: 1, nal_ref_idc: 0
[libx264 @ 00000000005abe00] frame=  92 QP=25.10 NAL=2 Slice:P Poc:80  I:5469 P:2331 SKIP:0    size=77771 bytes
[matroska @ 0000000003008040] Writing block at offset 3419164, size 77771, pts 3921, dts 3795, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame=  93 QP=27.32 NAL=0 Slice:B Poc:78  I:1585 P:4441 SKIP:1623 size=41854 bytes
[matroska @ 0000000003008040] Writing block at offset 3496943, size 41854, pts 3879, dts 3837, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame=  94 QP=24.49 NAL=2 Slice:P Poc:84  I:5518 P:2274 SKIP:8    size=77121 bytes
[matroska @ 0000000003008040] Writing block at offset 3538805, size 77121, pts 4004, dts 3879, duration 42, keyframe 0
Clipping frame in rate conversion by 0.009972
[libx264 @ 00000000005abe00] frame=  95 QP=26.85 NAL=0 Slice:B Poc:82  I:1203 P:4819 SKIP:1665 size=36684 bytes
[matroska @ 0000000003008040] Writing block at offset 3615934, size 36684, pts 3962, dts 3921, duration 42, keyframe 0
Clipping frame in rate conversion by 0.002983
[libx264 @ 00000000005abe00] frame=  96 QP=24.37 NAL=2 Slice:P Poc:92  I:3556 P:4240 SKIP:4    size=80735 bytes
[matroska @ 0000000003008040] Writing block at offset 3652626, size 80735, pts 4171, dts 3962, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame=  97 QP=25.47 NAL=2 Slice:B Poc:88  I:1990 P:4841 SKIP:760  size=46738 bytes
[matroska @ 0000000003008040] Writing block at offset 3733369, size 46738, pts 4087, dts 4004, duration 42, keyframe 0
[out_0_0 @ 000000000327fd40] EOF on sink link out_0_0:default.
No more output streams to write to, finishing.
[libx264 @ 00000000005abe00] frame=  98 QP=26.58 NAL=0 Slice:B Poc:86  I:747  P:5341 SKIP:1555 size=32859 bytes
[matroska @ 0000000003008040] Writing block at offset 3780115, size 32859, pts 4046, dts 4046, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame=  99 QP=26.16 NAL=0 Slice:B Poc:90  I:718  P:5096 SKIP:1828 size=31381 bytes
[matroska @ 0000000003008040] Writing block at offset 3812982, size 31381, pts 4129, dts 4087, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 100 QP=24.69 NAL=2 Slice:P Poc:100 I:2577 P:5137 SKIP:86   size=70540 bytes
[matroska @ 0000000003008040] Writing block at offset 3844371, size 70540, pts 4338, dts 4129, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 101 QP=25.88 NAL=2 Slice:B Poc:96  I:900  P:5373 SKIP:1326 size=37608 bytes
[matroska @ 0000000003008040] Writing block at offset 3914919, size 37608, pts 4254, dts 4171, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 102 QP=26.50 NAL=0 Slice:B Poc:94  I:540  P:5845 SKIP:1267 size=31143 bytes
[matroska @ 0000000003008040] Writing block at offset 3952535, size 31143, pts 4213, dts 4213, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 103 QP=26.11 NAL=0 Slice:B Poc:98  I:605  P:5101 SKIP:1929 size=28314 bytes
[matroska @ 0000000003008040] Writing block at offset 3983686, size 28314, pts 4296, dts 4254, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 104 QP=24.59 NAL=2 Slice:P Poc:108 I:2589 P:5035 SKIP:176  size=65522 bytes
[matroska @ 0000000003008040] Writing block at offset 4012008, size 65522, pts 4505, dts 4296, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 105 QP=25.83 NAL=2 Slice:B Poc:104 I:1455 P:4738 SKIP:1354 size=42185 bytes
[matroska @ 0000000003008040] Writing block at offset 4077538, size 42185, pts 4421, dts 4338, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 106 QP=26.43 NAL=0 Slice:B Poc:102 I:487  P:5537 SKIP:1553 size=30432 bytes
[matroska @ 0000000003008040] Writing block at offset 4119731, size 30432, pts 4379, dts 4379, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 107 QP=26.13 NAL=0 Slice:B Poc:106 I:608  P:5194 SKIP:1838 size=29291 bytes
[matroska @ 0000000003008040] Writing block at offset 4150171, size 29291, pts 4463, dts 4421, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 108 QP=24.59 NAL=2 Slice:P Poc:116 I:2114 P:5535 SKIP:151  size=77233 bytes
[matroska @ 0000000003008040] Writing block at offset 4179470, size 77233, pts 4671, dts 4463, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 109 QP=25.85 NAL=2 Slice:B Poc:112 I:1161 P:5233 SKIP:1092 size=43290 bytes
[matroska @ 0000000003008040] Writing block at offset 4256711, size 43290, pts 4588, dts 4505, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 110 QP=26.16 NAL=0 Slice:B Poc:110 I:718  P:5675 SKIP:1157 size=34918 bytes
[matroska @ 0000000003008040] Writing block at offset 4300009, size 34918, pts 4546, dts 4546, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 111 QP=26.25 NAL=0 Slice:B Poc:114 I:589  P:5595 SKIP:1406 size=31699 bytes
[matroska @ 0000000003008040] Writing block at offset 4334935, size 31699, pts 4630, dts 4588, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 112 QP=24.52 NAL=2 Slice:P Poc:124 I:1980 P:5657 SKIP:163  size=67239 bytes
[matroska @ 0000000003008040] Writing block at offset 4366642, size 67239, pts 4838, dts 4630, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 113 QP=25.72 NAL=2 Slice:B Poc:120 I:1079 P:5457 SKIP:960  size=40157 bytes
[matroska @ 0000000003008040] Writing block at offset 4433889, size 40157, pts 4755, dts 4671, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 114 QP=26.42 NAL=0 Slice:B Poc:118 I:439  P:5521 SKIP:1640 size=31100 bytes
[matroska @ 0000000003008040] Writing block at offset 4474054, size 31100, pts 4713, dts 4713, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 115 QP=26.18 NAL=0 Slice:B Poc:122 I:350  P:5532 SKIP:1767 size=26054 bytes
[matroska @ 0000000003008040] Writing block at offset 4505162, size 26054, pts 4796, dts 4755, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 116 QP=24.98 NAL=2 Slice:P Poc:132 I:2140 P:5448 SKIP:212  size=60089 bytes
[matroska @ 0000000003008040] Writing block at offset 4531224, size 60089, pts 5005, dts 4796, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 117 QP=25.88 NAL=2 Slice:B Poc:128 I:1184 P:5260 SKIP:1157 size=37707 bytes
[matroska @ 0000000003008040] Writing block at offset 4591321, size 37707, pts 4922, dts 4838, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 118 QP=26.24 NAL=0 Slice:B Poc:126 I:561  P:5408 SKIP:1681 size=29898 bytes
[matroska @ 0000000003008040] Writing block at offset 4629036, size 29898, pts 4880, dts 4880, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 119 QP=26.63 NAL=0 Slice:B Poc:130 I:745  P:5108 SKIP:1741 size=30261 bytes
[matroska @ 0000000003008040] Writing block at offset 4658942, size 30261, pts 4963, dts 4922, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 120 QP=25.27 NAL=2 Slice:P Poc:140 I:2099 P:5366 SKIP:335  size=58123 bytes
[matroska @ 0000000003008040] Writing block at offset 4689211, size 58123, pts 5172, dts 4963, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 121 QP=25.73 NAL=2 Slice:B Poc:136 I:1215 P:4969 SKIP:1370 size=39528 bytes
[matroska @ 0000000003008040] Writing block at offset 4747342, size 39528, pts 5088, dts 5005, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 122 QP=26.63 NAL=0 Slice:B Poc:134 I:653  P:5063 SKIP:1901 size=30039 bytes
[matroska @ 0000000003008040] Writing block at offset 4786878, size 30039, pts 5047, dts 5047, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 123 QP=26.39 NAL=0 Slice:B Poc:138 I:430  P:5212 SKIP:2007 size=26925 bytes
[matroska @ 0000000003008040] Writing block at offset 4816925, size 26925, pts 5130, dts 5088, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 124 QP=24.87 NAL=2 Slice:P Poc:144 I:2228 P:4995 SKIP:577  size=49215 bytes
[matroska @ 0000000003008040] Writing block at offset 4843858, size 49215, pts 5255, dts 5130, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 125 QP=26.55 NAL=0 Slice:B Poc:142 I:481  P:5232 SKIP:1915 size=28136 bytes
[matroska @ 0000000003008040] Writing block at offset 4893081, size 28136, pts 5214, dts 5172, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 126 QP=25.11 NAL=2 Slice:P Poc:152 I:3391 P:4224 SKIP:185  size=66765 bytes
[matroska @ 0000000003008040] Writing block at offset 4921225, size 66765, pts 5422, dts 5214, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 127 QP=25.41 NAL=2 Slice:B Poc:148 I:1770 P:4884 SKIP:904  size=46712 bytes
[matroska @ 0000000003008040] Writing block at offset 4987998, size 46712, pts 5339, dts 5255, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 128 QP=26.16 NAL=0 Slice:B Poc:146 I:630  P:5631 SKIP:1348 size=34284 bytes
[matroska @ 0000000003008040] Writing block at offset 5034718, size 34284, pts 5297, dts 5297, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 129 QP=26.22 NAL=0 Slice:B Poc:150 I:1014 P:5187 SKIP:1381 size=37204 bytes
[matroska @ 0000000003008040] Writing block at offset 5069010, size 37204, pts 5380, dts 5339, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 130 QP=24.95 NAL=2 Slice:P Poc:158 I:2588 P:5107 SKIP:105  size=65761 bytes
[matroska @ 0000000003008040] Writing block at offset 5106222, size 65761, pts 5547, dts 5380, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 131 QP=26.06 NAL=2 Slice:B Poc:154 I:1561 P:4544 SKIP:1494 size=41275 bytes
[matroska @ 0000000003008040] Writing block at offset 5171991, size 41275, pts 5464, dts 5422, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 132 QP=26.47 NAL=0 Slice:B Poc:156 I:1027 P:5135 SKIP:1431 size=36375 bytes
[matroska @ 0000000003008040] Writing block at offset 5213274, size 36375, pts 5506, dts 5464, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 133 QP=24.76 NAL=2 Slice:P Poc:166 I:1839 P:5774 SKIP:187  size=61587 bytes
[matroska @ 0000000003008040] Starting new cluster at offset 8001476 bytes, pts 5714dts 5506
[matroska @ 0000000003008040] Writing block at offset 10, size 61587, pts 5714, dts 5506, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 134 QP=25.79 NAL=2 Slice:B Poc:162 I:1218 P:4958 SKIP:1402 size=41126 bytes
[matroska @ 0000000003008040] Writing block at offset 61605, size 41126, pts 5631, dts 5547, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 135 QP=26.35 NAL=0 Slice:B Poc:160 I:1087 P:4819 SKIP:1700 size=33967 bytes
[matroska @ 0000000003008040] Writing block at offset 102739, size 33967, pts 5589, dts 5589, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 136 QP=26.32 NAL=0 Slice:B Poc:164 I:644  P:5320 SKIP:1673 size=32839 bytes
[matroska @ 0000000003008040] Writing block at offset 136714, size 32839, pts 5672, dts 5631, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 137 QP=24.74 NAL=2 Slice:P Poc:174 I:1398 P:6109 SKIP:293  size=52351 bytes
[matroska @ 0000000003008040] Writing block at offset 169561, size 52351, pts 5881, dts 5672, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 138 QP=25.75 NAL=2 Slice:B Poc:170 I:693  P:5563 SKIP:1322 size=35062 bytes
[matroska @ 0000000003008040] Writing block at offset 221920, size 35062, pts 5797, dts 5714, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 139 QP=26.39 NAL=0 Slice:B Poc:168 I:560  P:5607 SKIP:1472 size=29218 bytes
[matroska @ 0000000003008040] Writing block at offset 256990, size 29218, pts 5756, dts 5756, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 140 QP=26.28 NAL=0 Slice:B Poc:172 I:371  P:5399 SKIP:1863 size=27069 bytes
[matroska @ 0000000003008040] Writing block at offset 286216, size 27069, pts 5839, dts 5797, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 141 QP=25.20 NAL=2 Slice:P Poc:182 I:1209 P:5946 SKIP:645  size=44905 bytes
[matroska @ 0000000003008040] Writing block at offset 313293, size 44905, pts 6048, dts 5839, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 142 QP=25.89 NAL=2 Slice:B Poc:178 I:674  P:5804 SKIP:1153 size=34385 bytes
[matroska @ 0000000003008040] Writing block at offset 358206, size 34385, pts 5964, dts 5881, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 143 QP=26.06 NAL=0 Slice:B Poc:176 I:485  P:5252 SKIP:1927 size=28811 bytes
[matroska @ 0000000003008040] Writing block at offset 392599, size 28811, pts 5923, dts 5923, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 144 QP=26.34 NAL=0 Slice:B Poc:180 I:443  P:5752 SKIP:1470 size=28805 bytes
[matroska @ 0000000003008040] Writing block at offset 421418, size 28805, pts 6006, dts 5964, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 145 QP=26.43 NAL=2 Slice:P Poc:188 I:1055 P:5353 SKIP:1392 size=37389 bytes
[matroska @ 0000000003008040] Writing block at offset 450231, size 37389, pts 6173, dts 6006, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 146 QP=25.87 NAL=2 Slice:B Poc:184 I:367  P:5435 SKIP:1873 size=28904 bytes
[matroska @ 0000000003008040] Writing block at offset 487628, size 28904, pts 6089, dts 6048, duration 42, keyframe 0
[libx264 @ 00000000005abe00] frame= 147 QP=26.44 NAL=0 Slice:B Poc:186 I:264  P:5833 SKIP:1536 size=29005 bytes
[matroska @ 0000000003008040] Writing block at offset 516540, size 29005, pts 6131, dts 6089, duration 42, keyframe 0
[matroska @ 0000000003008040] end duration = 6215
[matroska @ 0000000003008040] stream 0 end duration = 6215
frame=  148 fps=6.5 q=-1.0 Lsize=    8347kB time=00:00:06.09 bitrate=11227.7kbits/s speed=0.267x    
video:8344kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.029094%
Input file #0 (ffmpeg H.264 decoding bug blocking.mkv):
  Input stream #0:0 (video): 149 packets read (17286498 bytes); 148 frames decoded; 
  Total: 149 packets (17286498 bytes) demuxed
Output file #0 (output.mkv):
  Output stream #0:0 (video): 148 frames encoded; 148 packets muxed (8544628 bytes); 
  Total: 148 packets (8544628 bytes) muxed
148 frames successfully decoded, 1 decoding errors
[AVIOContext @ 00000000005acdc0] Statistics: 22 seeks, 50 writeouts
[libx264 @ 00000000005abe00] frame I:8     Avg QP:20.80  size: 75469
[libx264 @ 00000000005abe00] frame P:65    Avg QP:24.79  size: 66102
[libx264 @ 00000000005abe00] frame B:75    Avg QP:26.53  size: 48581
[libx264 @ 00000000005abe00] consecutive B-frames: 28.4% 10.8%  4.1% 56.8%
[libx264 @ 00000000005abe00] mb I  I16..4: 17.0% 75.3%  7.7%
[libx264 @ 00000000005abe00] mb P  I16..4:  5.7% 48.4%  4.9%  P16..4: 28.3%  5.7%  3.5%  0.0%  0.0%    skip: 3.5%
[libx264 @ 00000000005abe00] mb B  I16..4:  1.2% 15.7%  3.5%  B16..8: 41.3%  8.1%  1.6%  direct:10.8%  skip:17.7%  L0:47.8% L1:43.9% BI: 8.3%
[libx264 @ 00000000005abe00] 8x8 transform intra:79.9% inter:74.0%
[libx264 @ 00000000005abe00] coded y,uvDC,uvAC intra: 72.4% 79.1% 36.1% inter: 41.7% 50.9% 1.1%
[libx264 @ 00000000005abe00] i16 v,h,dc,p: 35% 20% 12% 33%
[libx264 @ 00000000005abe00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 15% 24%  7%  8%  8%  8%  7%  8%
[libx264 @ 00000000005abe00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 18% 14%  7% 11%  9%  9%  6%  7%
[libx264 @ 00000000005abe00] i8c dc,h,v,p: 52% 22% 20%  6%
[libx264 @ 00000000005abe00] Weighted P-Frames: Y:33.8% UV:30.8%
[libx264 @ 00000000005abe00] ref P L0: 42.7% 14.0% 26.6% 15.4%  1.4%
[libx264 @ 00000000005abe00] ref B L0: 83.5% 12.6%  3.9%
[libx264 @ 00000000005abe00] ref B L1: 94.4%  5.6%
[libx264 @ 00000000005abe00] kb/s:10998.64
[AVIOContext @ 00000000005ad700] Statistics: 17321429 bytes read, 2 seeks


#691 Errors while decoding wmav2 stream avcodec defect Nov 27, 2011

My file decoded incorrectly, but on my mobile phone this file plays correctly. I can upload it on ftp server: upload.ffmpeg.org, if you need.


#742 zygo video codec decodes with visible graphic corruption avcodec defect Dec 14, 2011
C:\>ffmpeg -i M3_E3TrailerMC56k7fps.mov
ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 12 2011 13:50:00 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 43. 0 / 53. 43. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[h263 @ 020C9E20] illegal ac vlc code at 3x0
[h263 @ 020C9E20] Error at MB: 3
[h263 @ 020C9E20] concealing 180 DC, 180 AC, 180 MV errors

Seems stream 1 codec frame rate differs from container frame rate: 29.97 (30000/
1001) -> 7.50 (15/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M3_E3TrailerMC56k7fps.mov':
  Metadata:
    creation_time   : 2004-07-06 16:29:59
  Duration: 00:02:35.73, start: 0.000000, bitrate: 55 kb/s
    Stream #0:0(eng): Audio: qdm2 (QDM2 / 0x324D4451), 44100 Hz, 1 channels, s16
, 10 kb/s
    Metadata:
      creation_time   : 2004-07-06 16:29:59
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Video: h263 (ZyGo / 0x6F47795A), yuv420p, 240x192 [SAR 12:
11 DAR 15:11], 45 kb/s, 7.50 fps, 7.50 tbr, 600 tbn, 29.97 tbc
    Metadata:
      creation_time   : 2004-07-06 16:29:59
      handler_name    : ?Apple Alias Data Handler
At least one output file must be specified

#946 ffplay: almost unreadable dvd subtitles due to wrong colors avcodec defect Jan 28, 2012

http://www.datafilehost.com/download-76a1c6a8.html

related to:

commit cf16104ad13f6c558ea386e5fa55a67e2b378f5e
Author: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Date:   Sat Apr 30 23:00:17 2011 +0200

    Change guess_palette so its output matches the most common palette.
    
    This means it uses full brightness range and brightness
    increasing instead of decreasing with index of non-opaque
    color.
    
    Based on patch by Alexandre Colucci [alexandre elgato com]

diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c
index bb3e124..6d5973c 100644
--- a/libavcodec/dvdsubdec.c
+++ b/libavcodec/dvdsubdec.c
@@ -120,6 +120,14 @@ static void guess_palette(uint32_t *rgba_palette,
                           uint8_t *alpha,
                           uint32_t subtitle_color)
 {
+    static const uint8_t level_map[4][4] = {
+        // this configuration (full range, lowest to highest) in tests
+        // seemed most common, so assume this
+        {0xff},
+        {0x00, 0xff},
+        {0x00, 0x80, 0xff},
+        {0x00, 0x55, 0xaa, 0xff},
+    };
     uint8_t color_used[16];
     int nb_opaque_colors, i, level, j, r, g, b;
 
@@ -138,18 +146,18 @@ static void guess_palette(uint32_t *rgba_palette,
     if (nb_opaque_colors == 0)
         return;
 
-    j = nb_opaque_colors;
+    j = 0;
     memset(color_used, 0, 16);
     for(i = 0; i < 4; i++) {
         if (alpha[i] != 0) {
             if (!color_used[colormap[i]])  {
-                level = (0xff * j) / nb_opaque_colors;
+                level = level_map[nb_opaque_colors][j];
                 r = (((subtitle_color >> 16) & 0xff) * level) >> 8;
                 g = (((subtitle_color >> 8) & 0xff) * level) >> 8;
                 b = (((subtitle_color >> 0) & 0xff) * level) >> 8;
                 rgba_palette[i] = b | (g << 8) | (r << 16) | ((alpha[i] * 17) << 24);
                 color_used[colormap[i]] = (i + 1);
-                j--;
+                j++;
             } else {
                 rgba_palette[i] = (rgba_palette[color_used[colormap[i]] - 1] & 0x00ffffff) |
                                     ((alpha[i] * 17) << 24);
C:\>ffmpeg -i dvdsub.vob
ffmpeg version N-36890-g67f5650 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 16 2012 21:57:13 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 34.100 / 51. 34.100
  libavcodec     53. 56.105 / 53. 56.105
  libavformat    53. 30.100 / 53. 30.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 59.100 /  2. 59.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    51.  2.100 / 51.  2.100
[mpeg @ 020F2320] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from 'dvdsub.vob':
  Duration: 00:00:07.96, start: 1556.319267, bitrate: 5263 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DA
R 16:9], 7500 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:2[0x20]: Subtitle: dvd_subtitle
    Stream #0:3[0x22]: Subtitle: dvd_subtitle
    Stream #0:4[0x24]: Subtitle: dvd_subtitle
    Stream #0:5[0x25]: Subtitle: dvd_subtitle
    Stream #0:6[0x26]: Subtitle: dvd_subtitle
    Stream #0:7[0x28]: Subtitle: dvd_subtitle
    Stream #0:8[0x29]: Subtitle: dvd_subtitle
    Stream #0:9[0x21]: Subtitle: dvd_subtitle
    Stream #0:10[0x23]: Subtitle: dvd_subtitle
    Stream #0:11[0x27]: Subtitle: dvd_subtitle
    Stream #0:12[0x2a]: Subtitle: dvd_subtitle
At least one output file must be specified

#1282 VP6F Libavcodec decoding bug (slowly accumulating artifacts) avcodec defect May 8, 2012

Hello, Here's a report for a FLV4/VP6 Libavcodec decoding bug. A sample is here: http://videoff7.free.fr/sample_artefact.flv (also tentatively attached to this ticket).

As the video progresses, PQ becomes worse and worse, it can be seen easily on the newscaster's face 10 seconds in.

I tested with DShow based decoders (FFDShow/LAV) and also with mplayer2, all on Windows. The issue shows up with all of them.

No such issue happens when decoding with the original On2 VP6 directshow decoder [ http://videoff7.free.fr/On2_VP6_Decoder.zip ].

Thank you for your support.


#1614 AAC stream with SBR fails with "channel element 0.1 is not allocated" avcodec defect Aug 6, 2012

Summary of the bug: Getting the following message repeatedly when trying to play the AAC stream with ffplay from master: [aac @ 0x7ff1c2023800] channel element 0.1 is not allocated

Stream is http://3043.live.streamtheworld.com/SAM04AAC41_SC

This stream works fine in VideoLan? VLC player.

How to reproduce: ./ffplay http://3043.live.streamtheworld.com/SAM04AAC41_SC


#1737 ffmpeg detect aac stereo as mono avcodec defect Sep 14, 2012

How to reproduce:

ffprobe -v 9 -loglevel 99 ./audio_aac_stereo_as_mono.mp4
ffprobe version N-44445-ge332947 Copyright (c) 2007-2012 the FFmpeg developers
  built on Sep 14 2012 14:05:18 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --cc='gcc -O2 -m64 -mtune=core2 -pipe' --enable-version3 --enable-libfaac --enable-libx264 --enable-pthreads --enable-gpl --enable-nonfree --enable-librtmp --enable-shared --enable-filter=movie --enable-avfilter --enable-libspeex --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libaacplus --enable-libvo-aacenc
  libavutil      51. 73.100 / 51. 73.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 27.100 / 54. 27.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 16.103 /  3. 16.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17953c0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17953c0] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17953c0] File position before avformat_find_stream_info() is 1175362
[aac @ 0x179cc60] channel element 0.0 is not allocated
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17953c0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17953c0] File position after avformat_find_stream_info() is 143323
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './audio_aac_stereo_as_mono.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : Teradek stream
    encoder         : Lavf54.27.100
    copyright       : Teradek
  Duration: 00:00:21.05, start: 0.000000, bitrate: 446 kb/s
    Stream #0:0(und), 41, 1/1000: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 360x240 [SAR 32:27 DAR 16:9], 1/50, 407 kb/s, 23.86 fps, 25 tbr, 1k tbn, 50 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und), 120, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, s16, 32 kb/s
    Metadata:
      handler_name    : SoundHandler
[h264 @ 0x179bc00] detected 8 logical cores
[AVIOContext @ 0x179da40] Statistics: 214912 bytes read, 2 seeks

Attach log for:

ffmpeg -v 9 -loglevel 99 -i ./audio_aac_stereo_as_mono.mp4 -vcodec copy -acodec libfaac -ar 22050 -report -f mp4 /tmp/aaa3.mp4

#1768 audio AAC fails at CCE avcodec defect Sep 27, 2012

get_che function of aacdec.c file doesn't handle CCE type, as a result, AAC decoder fails to continue decoding. I got "channel element 2.8 is not allocated" error message for my AAC audio.


#2035 DVD subtitle from VOB does not contain CodecPrivate data avcodec defect Dec 16, 2012

Summary of the bug:

When copying DVD subtitles from vob files into the matroska container the subtitles do not contain CodecPrivate? data.

The subtitles play fine in vlc but mkvtoolnix has problems with editing the file. The header editor recognizes all tracks but mkvextract fails to extract the subtitles because of the missing data (Error: Track 5 with the CodecID 'S_VOBSUB' is missing the "codec private" element and cannot be extracted.). Also editing the file with mmg/mkvmerge does not work because the existing subtitles are ignored and not written to the output file because of the same reason (Warning: matroska_reader: The CodecID for track 5 is 'S_VOBSUB', but there was no private data found).

While I understand that the CodecPrivate? data is not direct available when reading from VOB files as this information normally comes from the IDX part of extracted subtitles in vobsub format. However it would be nice if this information could be acquired somehow and written to the codec initialization part for the files to be editable by mkvtoolnix. This would save the additional step of extracting the subtitles to IDX/SUB. I guess that the ultimate solution would be to add a DVD reader who understands the dvd structure as I this information is stored in the IFO file.

How to reproduce:

% ffmpeg -i concat:VTS_01_1.VOB\|VTS_01_2.VOB\|VTS_01_3.VOB\|VTS_01_4.VOB \
-map 0:0 -map 0:1 -map 0:2 -map 0:6 -map 0:5 -map 0:4 \
-c:v libx264 -preset fast -crf 18 \
-c:a copy -metadata:s:a:0 language=ger \
-c:a copy -metadata:s:a:1 language=eng \
-c:s copy -metadata:s:s:0 language=eng \
-c:s copy -metadata:s:s:1 language=ger \
-c:s copy -metadata:s:s:2 language=ger \
-f matroska movie.mkv

ffmpeg version N-47903-gde89dff
built on Dec 16 2012 15:51:01

#3087 Suspicion that valid random access point is not marked as keyframe in AVCHD samples from Panasonic Lumix GH1 (1080i material) avcodec defect Oct 27, 2013

This is a follow-up to #3083.

The issue is very similar here, that I-frames that work as random access points (checked by cutting off the beginning of the file until the packet start of such a frame and it decodes fine) are not marked as keyframes by the parser.

The heuristic introduced to fix #3083

if(h->sps.ref_frame_count <= 1 && h->pps.ref_count[0] <= 1 && s->pict_type == AV_PICTURE_TYPE_I)

s->key_frame = 1;

fails here because both, h->sps.ref_frame_count and h->pps.ref_count[0] are 2.

I understand too little of h264 internals to say how that may be changed but maybe the heuristic does not cover the interlaced case.

I don't know if it has anything to do with it but this material is progressive segmented frame (i.e. progressively scanned but encoded as field pictures).


#3408 ffmpeg fails to decode aac in mpeg-ts avcodec defect Feb 22, 2014

ffmpeg does not want to play my audio in that video stream while vlc works fine to read the original stream using faad command:

ffmpeg -i dump.ts -map 0 -c:v rawvideo -c:a pcm_s16le -f null -

ffmpeg version N-60700-g07b4b0c built on Feb 17 2014 08:35:59

ffmpeg output:

[h264 @ 0x36e7b60] mmco: unref short failure [aac @ 0x36e85c0] channel element 0.0 is not allocated

Last message repeated 6 times

[h264 @ 0x36e7b60] mmco: unref short failure [aac @ 0x36e85c0] channel element 0.0 is not allocated

Last message repeated 209 times

[mpegts @ 0x36e39c0] decoding for stream 1 failed [mpegts @ 0x36e39c0] PES packet size mismatch [mpegts @ 0x36e39c0] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp, 95 kb/s): unspecified sample rate Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'dump.ts':

Duration: 00:00:51.84, start: 33732.762167, bitrate: 933 kb/s Program 26

Metadata:

service_name : my video service_provider:

Stream #0:0[0x33d]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, smpte170m), 544x480 [SAR 40:33 DAR 136:99], 29.75 fps, 29.97 tbr, 90k tbn, 59.94 tbc Stream #0:1[0x335](spa): Audio: aac ([15][0][0][0] / 0x000F), 0 channels, fltp, 95 kb/s

[abuffer @ 0x37177a0] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]

Last message repeated 1 times

[abuffer @ 0x37177a0] Error setting option time_base to value 1/0. [graph 1 input from stream 0:1 @ 0x3716a20] Error applying options to the filter


#3442 h264 decoder decodes complete GOP wrong / skips one GOP if stream does not start with SPS/PPS avcodec defect Mar 7, 2014

Summary of the bug:

I recorded a DVB TS stream. It contains an H264 video stream which first NALU is a B slice, followed by the SPS, PPS NALUs and an IDR frame.

If this stream is played with ffplay (either the TS or the demuxed elementary stream), the decoder seems to get so much confused by the leading B slice that the following valid GOP is completely decoded erroneous until the next GOP arrives. ffplay skips the broken frames and starts playing at the second GOP by default. One has to specify -flags2 +showall to see the GOP of broken frames.

If the B slice is removed from the stream, playing starts fine from the first frame/GOP on.

I see that it is intended that ffmpeg tries to decode and conceal every frame coming in, but that should effect only one frame (the B slice) and not the following GOP.

However, I'm not so sure why the B slice is concealed as there is no valid SPS/PPS yet which is mandatory to decode the slice. But that might be a different problem.

Take a h264 stream starting with a B slice, followed by the SPS/PPS/IDR. I uploaded a sample TS file to ftp://upload.ffmpeg.org/MPlayer/incoming/ called DVB_testvideo.ts. One can either play that file or extract the H264 elementary stream and use it directly.

The stream is using PAFF/MBAFF, but I don't know if this is related.

How to reproduce:

% ffplay DVB_testvideo.ts
skips the first valid GOP completely and starts playing from frame 16 onwards.

% ffplay DVB_testvideo.ts -flags2 +showall
starts playing 16 broken frames, then recovers and plays fine.

Now remove the first B slice (skip 17756 from the H264 bitstream or 20304 bytes from the whole TS file).

% ffplay DVB_testvideo.ts
plays fine from the first frame on (15 frames valid frames more then before)

% ffplay DVB_testvideo.ts -flags2 +showall
shows no broken frames anymore


ffmpeg version N-42015-g64e4bd7
built on openSUSE 13.1 (gcc 4.8.1)

#4641 Error decoding SILK frame avcodec defect Jun 18, 2015

When I reproduce the attached MKV file with VP8/Opus it lost audio. FFplay logs the following errors several times:

[opus @ 0x7f952101f400] LBRR frames present; this is unsupported
[opus @ 0x7f952101f400] Error decoding a SILK frame.
[opus @ 0x7f952101f400] Error decoding an Opus frame.

The file was generated live recording a Webrtc session.

Any help welcome, thanks.


#5092 Field order wrong for DV HD avcodec defect Dec 18, 2015

The field order (i.e. topfield first) is wrong for DV HD video. It's actually due to a stupid change they made to the spec. The bits in the VAUX are the same but their meaning changed. In SMPTE 314M, which is for SD, field 2 refers to the even fields and field 1 refers the odd fields. But in SMPTE 370M, which is for HD, field 1 refers to the even fields and field 2 refers to the odd fields. So if the FS bit in the VAUX is 1 it means BFF in SD but TFF in HD.

So we need a line in the code to flip the TFF flag if the file is HD. (the current code parses it according to the SMPTE 314M spec regardless of resolution)


#5105 MPEG-4 asp corrupted after bitstream error avcodec defect Dec 24, 2015

Summary of the bug:

mplayer/ffplay plays the down below video - but I can ffmpeg the video to a valid video.

How to reproduce: Transcoding to anything (wmv/h264/...) produces a corrupt result.

wget http://doppelbauer.name/3LaSaletteLeSecret.mp4
/usr/local/bin/ffmpeg -i 3LaSaletteLeSecret.mp4 -r 0.1 -c:v mjpeg /tmp/images/%d.jpg

The first error is not an issue. The problem is the second one - which permantly repeats and produces corrupt pictures. Full output has about ~30 MB, so it is cuted. Maybe the problem is a color change in the middle of the video.

ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --prefix=/usr/local --enable-gpl --enable-version3 --enable-nonfree --enable-bzlib --enable-zlib --enable-openssl --enable-libx264 --enable-libfdk-aac --enable-libmp3lame --enable-libvpx --enable-libopus
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3497440] stream 0, timescale not set
[mjpeg @ 0x349d620] ignoring invalid SAR: 64/45                                                                                                                                                             
[mjpeg @ 0x349d620] Changeing bps to 8
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'queue-nu3yMP8yxFK-1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    track           : 1
    comment         : www.dvdvideosoft.com
    date            : 2014
    encoder         : Lavf54.59.107
  Duration: 01:16:12.08, start: 0.023022, bitrate: 1696 kb/s
    Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 800x600 [SAR 4:3 DAR 16:9], 1500 kb/s, 24 fps, 24 tbr, 12288 tbn, 24 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 192 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 720x576, 90k tbr, 90k tbn, 90k tbc
[swscaler @ 0x34c5b80] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to '/tmp/images/%d.jpg':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    track           : 1
    comment         : www.dvdvideosoft.com
    date            : 2014
    encoder         : Lavf56.40.101
    Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 800x600 [SAR 4:3 DAR 16:9], q=2-31, 200 kb/s, 0.10 fps, 0.10 tbn, 0.10 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc56.60.100 mjpeg
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[mpeg4 @ 0x3517640] Error at MB: 833ime=00:02:50.00 bitrate=N/A dup=0 drop=3620    
[mpeg4 @ 0x3517640] marker does not match f_code
    Last message repeated 7 times
[mpeg4 @ 0x3517640] I cbpc damaged at 19 15
[mpeg4 @ 0x3517640] Error at MB: 784
[mpeg4 @ 0x3517640] marker does not match f_code
    Last message repeated 1 times
[mpeg4 @ 0x3517640] I cbpc damaged at 37 30
[mpeg4 @ 0x3517640] Error at MB: 1567
Marker bit missing at 266309 of 372200 before time_increment in video packed header
Marker bit missing at 266315 of 372200 before vop_coding_type in video packed header
[mpeg4 @ 0x3517640] I cbpy damaged at 42 35
[mpeg4 @ 0x3517640] Error at MB: 1827
[mpeg4 @ 0x3517640] marker does not match f_code
    Last message repeated 10 times
[mpeg4 @ 0x3517640] illegal mb_num in video packet (2019 1900) 
[mpeg4 @ 0x3517640] marker does not match f_code
Marker bit missing at 333128 of 372200 before time_increment in video packed header
Marker bit missing at 333134 of 372200 before vop_coding_type in video packed header
[mpeg4 @ 0x3517640] 1. marker bit missing in 3. esc
[mpeg4 @ 0x3517640] Error at MB: 89
[mpeg4 @ 0x3517640] marker does not match f_code
    Last message repeated 12 times
Marker bit missing at 360667 of 372200 before time_increment in video packed header
[mpeg4 @ 0x3517640] ac-tex damaged at 24 27
[mpeg4 @ 0x3517640] Error at MB: 1401
[mpeg4 @ 0x3517640] concealing 1900 DC, 1900 AC, 1900 MV errors in I frame
[mpeg4 @ 0x351a860] header damaged
[mpeg4 @ 0x351da60] header damaged
[mpeg4 @ 0x3520d80] header damaged
Error while decoding stream #0:0: Operation not permitted
    Last message repeated 2 times
[mpeg4 @ 0x3520d80] illegal chroma format0:22:00.00 bitrate=N/A dup=0 drop=31052    
[mpeg4 @ 0x3520d80] only rectangular vol supported
Marker bit missing at 5044 of 20120 before time_increment_resolution
[mpeg4 @ 0x3520d80] 18 sprite_warping_points
[mpeg4 @ 0x3520d80] header damaged
[mpeg4 @ 0x3516ea0] header damaged
[mpeg4 @ 0x3517640] header damaged
[mpeg4 @ 0x351a860] header damaged
Error while decoding stream #0:0: Invalid data found when processing input
[mpeg4 @ 0x351da60] header damaged
Error while decoding stream #0:0: Operation not permitted
[mpeg4 @ 0x3520d80] only rectangular vol supported
Marker bit missing at 26825 of 28280 before fixed_vop_rate
[mpeg4 @ 0x3520d80] N-bit not supported
[mpeg4 @ 0x3520d80] quant precision 1
Marker bit missing at 26865 of 28280 in complexity estimation part 1
[mpeg4 @ 0x3520d80] reduced resolution VOP not supported
[mpeg4 @ 0x3520d80] header damaged
Error while decoding stream #0:0: Operation not permitted
[mpeg4 @ 0x3516ea0] only rectangular vol supported
Marker bit missing at 1762 of 554696 before fixed_vop_rate
Marker bit missing at 9858 of 554696 before fixed_vop_rate
Marker bit missing at 9873 of 554696 before width
Marker bit missing at 9901 of 554696 after height
[mpeg4 @ 0x3516ea0] Static Sprites not supported
Marker bit missing at 9918 of 554696 after sprite_width
Marker bit missing at 9932 of 554696 after sprite_height
Marker bit missing at 9946 of 554696 after sprite_left
Marker bit missing at 9960 of 554696 after sprite_top
[mpeg4 @ 0x3516ea0] 57 sprite_warping_points
[mpeg4 @ 0x3516ea0] Reverting picture dimensions change due to header decoding failure
[mpeg4 @ 0x3516ea0] header damaged
Error while decoding stream #0:0: Operation not permitted
    Last message repeated 1 times
[mpeg4 @ 0x3517640] Error at MB: 348
[mpeg4 @ 0x3517640] marker does not match f_code
    Last message repeated 1 times
[mpeg4 @ 0x3517640] concealing 1900 DC, 1900 AC, 1900 MV errors in P frame
Error while decoding stream #0:0: Operation not permitted
Error while decoding stream #0:0: Invalid data found when processing input
[mpeg4 @ 0x3520d80] marker missing after first P partition at 0 38
[mpeg4 @ 0x3520d80] concealing 1900 DC, 1900 AC, 1900 MV errors in P frame
[mpeg4 @ 0x349bd20] has_b_frames is larger in decoder than demuxer 1 > 0.
If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)ac-tex damaged at 43 8
[mpeg4 @ 0x351a860] Error at MB: 451
[mpeg4 @ 0x351a860] marker does not match f_code
    Last message repeated 1 times
[mpeg4 @ 0x351a860] concealing 1900 DC, 1900 AC, 1900 MV errors in P frame
[mpeg4 @ 0x351da60] ac-tex damaged at 37 7
[mpeg4 @ 0x351da60] Error at MB: 394
[mpeg4 @ 0x351da60] marker does not match f_code
    Last message repeated 1 times
[mpeg4 @ 0x351da60] concealing 1900 DC, 1900 AC, 1900 MV errors in P frame
[mpeg4 @ 0x349bd20] has_b_frames is larger in decoder than demuxer 1 > 0.
If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)has_b_frames is larger in decoder than demuxer 1 > 0.                                                                                                                                                                                                        
If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)ac-tex damaged at 13 3

#5224 Excessive memory use in H.264 decoder with threading enabled avcodec defect Feb 9, 2016

Given a stream with gaps in frame_num, the threaded decoder may allocate many more frames than it should. (Up to thread count * num_ref_frames whole frame buffers.)

See attached stream.

This has parameters:

  • Baseline profile
  • num_ref_frames = 16
  • log2_max_frame_num_minus4 = 12
  • gaps_in_frame_num_value_allowed_flag = 1

The stream is then a single IDR frame of black, followed by all-skip P frames with frame_num decreasing by one each time (65535, 65534, ...).

Decode this stream with:

% ffmpeg -v 55 -vsync 0 -threads 8 -thread_type frame+slice -i large_frame_num_gaps.264 -f null -

Virtual memory use is much higher than expected, though this is rather hard to see. (Since the frames are never actually touched, the real memory use is not excessive.)

To see the problem more effectively, apply the following patch to instrument malloc/free:

diff --git a/libavutil/mem.c b/libavutil/mem.c
index 8dfaad8..bddb0d1 100644
--- a/libavutil/mem.c
+++ b/libavutil/mem.c
@@ -69,6 +69,7 @@ void  free(void *ptr);
  * Note that this will cost performance. */
 
 static size_t max_alloc_size= INT_MAX;
+static void *big_mem_list[100];
 
 void av_max_alloc(size_t max){
     max_alloc_size = max;
@@ -139,6 +140,18 @@ void *av_malloc(size_t size)
     if (ptr)
         memset(ptr, FF_MEMORY_POISON, size);
 #endif
+
+#if 1
+    if(size > 1000000) {
+        int i;
+        av_log(0, AV_LOG_DEBUG, "malloc(%zu) = %p\n", size, ptr);
+        for(i = 0; i < FF_ARRAY_ELEMS(big_mem_list) && big_mem_list[i]; i++);
+        if(i >= FF_ARRAY_ELEMS(big_mem_list))
+            av_assert0(0 && "Too many big allocations.");
+        big_mem_list[i] = ptr;
+    }
+#endif
+
     return ptr;
 }
 
@@ -227,6 +240,19 @@ int av_reallocp_array(void *ptr, size_t nmemb, size_t size)
 
 void av_free(void *ptr)
 {
+#if 1
+    if(ptr) {
+        int i;
+        for(i = 0; i < FF_ARRAY_ELEMS(big_mem_list); i++) {
+            if(big_mem_list[i] == ptr) {
+                av_log(0, AV_LOG_DEBUG, "free(%p)\n", ptr);
+                big_mem_list[i] = 0;
+                break;
+            }
+        }
+    }
+#endif
+
 #if CONFIG_MEMALIGN_HACK
     if (ptr) {
         int v= ((char *)ptr)[-1];

Now the first command will abort with threads = 8 (and not with threads = 1), because it tries to allocate more than 100 frame buffers.


#5243 MPEG1 decoding error avcodec defect Feb 18, 2016

Old mpeg1 file decoding error... Windows builtin decoder is fine.

Sample is.... https://www.dropbox.com/s/xsu1dt5zn31jpzs/FBOW05XX_broken.rar?dl=0

Error message is... MPEG motion vector out of boundary (314 217) MPEG motion vector out of boundary (330 217) ac-tex damaged at 16 12 MPEG motion vector out of boundary (315 130) MPEG motion vector out of boundary (315 124) end mismatch left=679 149A62 Header missing MPEG motion vector out of boundary (311 224) MPEG motion vector out of boundary (327 224) MPEG motion vector out of boundary (352 243) MPEG motion vector out of boundary (368 243) MPEG motion vector out of boundary (384 243) MPEG motion vector out of boundary (400 243) end mismatch left=222 4A4451 Warning MVs not available concealing 60 DC, 60 AC, 60 MV errors in B frame slice mismatch MPEG motion vector out of boundary (-5 82) mb incr damaged MPEG motion vector out of boundary (306 78) MPEG motion vector out of boundary (33023 32863) MPEG motion vector out of boundary (33023 32863) mb incr damaged MPEG motion vector out of boundary (270 32863) MPEG motion vector out of boundary (286 32863) MPEG motion vector out of boundary (302 32863) ac-tex damaged at 0 7 MPEG motion vector out of boundary (-2 129) MPEG motion vector out of boundary (-2 145) MPEG motion vector out of boundary (-2 160) .... ....


#5405 ffv1 in 2 pass mode creates corrupted files when bit depth > 8 avcodec defect Apr 5, 2016

Summary of the bug: When source video has more than 8 bits per component and ffv1 codec is used in 2 pass mode, resulting file is corrupted.

ffmpeg started on 2016-04-05 at 21:14:34
Report written to "ffmpeg-20160405-211434.log"
Command line:
./ffmpeg-N-79243-g54c9146 -report -i zz.yuv420p10le.nut -c:v ffv1 -g 1 -slices 4 -coder 1 -context 1 -pass 1 -f null -
ffmpeg version N-79243-g54c9146 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
  configuration: --prefix=/home/xxxxxx/Programy/ffmpeg/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/xxxxxx/Programy/ffmpeg/ffmpeg_build/include --extra-ldflags=-L/home/xxxxxx/Programy/ffmpeg/ffmpeg_build/lib --bindir=/home/xxxxxx/Programy/ffmpeg/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-x11grab --enable-libsoxr --disable-ffserver --enable-libschroedinger --enable-libopenjpeg
  libavutil      55. 20.100 / 55. 20.100
  libavcodec     57. 33.100 / 57. 33.100
  libavformat    57. 29.101 / 57. 29.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 40.102 /  6. 40.102
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input file with argument 'zz.yuv420p10le.nut'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'ffv1'.
Reading option '-g' ... matched as AVOption 'g' with argument '1'.
Reading option '-slices' ... matched as AVOption 'slices' with argument '4'.
Reading option '-coder' ... matched as AVOption 'coder' with argument '1'.
Reading option '-context' ... matched as AVOption 'context' with argument '1'.
Reading option '-pass' ... matched as option 'pass' (select the pass number (1 to 3)) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'null'.
Reading option '-' ... matched as output file.
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 file zz.yuv420p10le.nut.
Successfully parsed a group of options.
Opening an input file: zz.yuv420p10le.nut.
[file @ 0x32bd8a0] Setting default whitelist 'file,crypto'
[nut @ 0x32bd020] Format nut probed with size=2048 and score=100
[nut @ 0x32bd020] Before avformat_find_stream_info() pos: 261 bytes read:32953 seeks:3
[nut @ 0x32bd020] Probe buffer size limit of 5000000 bytes reached
[nut @ 0x32bd020] After avformat_find_stream_info() pos: 5530081 bytes read:5562773 seeks:3 frames:8
Input #0, nut, from 'zz.yuv420p10le.nut':
  Metadata:
    encoder         : Lavf57.25.100
  Duration: 00:00:00.97, start: 0.000000, bitrate: 171619 kb/s
    Stream #0:0, 8, 1/61440: Video: rawvideo (Y3[11][10] / 0xA0B3359), yuv420p10le, 640x360, 30 fps, 30 tbr, 61440 tbn, 61440 tbc
    Metadata:
      encoder         : Lavc57.24.102 rawvideo
Successfully opened the file.
Parsing a group of options: output file -.
Applying option c:v (codec name) with argument ffv1.
Applying option pass (select the pass number (1 to 3)) with argument 1.
Applying option f (force format) with argument null.
Successfully parsed a group of options.
Opening an output file: -.
Successfully opened the file.
detected 4 logical cores
[graph 0 input from stream 0:0 @ 0x32c0d60] Setting 'video_size' to value '640x360'
[graph 0 input from stream 0:0 @ 0x32c0d60] Setting 'pix_fmt' to value '72'
[graph 0 input from stream 0:0 @ 0x32c0d60] Setting 'time_base' to value '1/61440'
[graph 0 input from stream 0:0 @ 0x32c0d60] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 0x32c0d60] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x32c0d60] Setting 'frame_rate' to value '30/1'
[graph 0 input from stream 0:0 @ 0x32c0d60] w:640 h:360 pixfmt:yuv420p10le tb:1/61440 fr:30/1 sar:0/1 sws_param:flags=2
[format @ 0x32c26c0] compat: called with args=[yuv420p|yuva420p|yuva422p|yuv444p|yuva444p|yuv440p|yuv422p|yuv411p|yuv410p|bgr0|bgra|yuv420p16le|yuv422p16le|yuv444p16le|yuv444p9le|yuv422p9le|yuv420p9le|yuv420p10le|yuv422p10le|yuv444p10le|yuva444p16le|yuva422p16le|yuva420p16le|yuva444p10le|yuva422p10le|yuva420p10le|yuva444p9le|yuva422p9le|yuva420p9le|gray16le|gray|gbrp9le|gbrp10le|gbrp12le|gbrp14le|ya8]
[format @ 0x32c26c0] Setting 'pix_fmts' to value 'yuv420p|yuva420p|yuva422p|yuv444p|yuva444p|yuv440p|yuv422p|yuv411p|yuv410p|bgr0|bgra|yuv420p16le|yuv422p16le|yuv444p16le|yuv444p9le|yuv422p9le|yuv420p9le|yuv420p10le|yuv422p10le|yuv444p10le|yuva444p16le|yuva422p16le|yuva420p16le|yuva444p10le|yuva422p10le|yuva420p10le|yuva444p9le|yuva422p9le|yuva420p9le|gray16le|gray|gbrp9le|gbrp10le|gbrp12le|gbrp14le|ya8'
[AVFilterGraph @ 0x32c12c0] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.29.101
    Stream #0:0, 0, 1/30: Video: ffv1, yuv420p10le, 640x360, q=2-31, pass 1, 200 kb/s, 30 fps, 30 tbn, 30 tbc
    Metadata:
      encoder         : Lavc57.33.100 ffv1
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> ffv1 (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[rawvideo @ 0x32c41e0] PACKET SIZE: 691200, STRIDE: 1920
[output stream 0:0 @ 0x32c21e0] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.
frame=   30 fps=0.0 q=-0.0 Lsize=N/A time=00:00:01.00 bitrate=N/A speed=2.57x    
video:6227kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (zz.yuv420p10le.nut):
  Input stream #0:0 (video): 30 packets read (20736000 bytes); 30 frames decoded; 
  Total: 30 packets (20736000 bytes) demuxed
Output file #0 (pipe:):
  Output stream #0:0 (video): 30 frames encoded; 30 packets muxed (6376408 bytes); 
  Total: 30 packets (6376408 bytes) muxed
30 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x32c5b40] Statistics: 20770003 bytes read, 3 seeks
ffmpeg started on 2016-04-05 at 21:14:39
Report written to "ffmpeg-20160405-211439.log"
Command line:
./ffmpeg-N-79243-g54c9146 -report -i zz.yuv420p10le.nut -c:v ffv1 -g 1 -slices 4 -coder 1 -context 1 -pass 2 zz.yuv420p10le.ffv1.2p.mkv
ffmpeg version N-79243-g54c9146 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
  configuration: --prefix=/home/xxxxxx/Programy/ffmpeg/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/xxxxxx/Programy/ffmpeg/ffmpeg_build/include --extra-ldflags=-L/home/xxxxxx/Programy/ffmpeg/ffmpeg_build/lib --bindir=/home/xxxxxx/Programy/ffmpeg/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-x11grab --enable-libsoxr --disable-ffserver --enable-libschroedinger --enable-libopenjpeg
  libavutil      55. 20.100 / 55. 20.100
  libavcodec     57. 33.100 / 57. 33.100
  libavformat    57. 29.101 / 57. 29.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 40.102 /  6. 40.102
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input file with argument 'zz.yuv420p10le.nut'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'ffv1'.
Reading option '-g' ... matched as AVOption 'g' with argument '1'.
Reading option '-slices' ... matched as AVOption 'slices' with argument '4'.
Reading option '-coder' ... matched as AVOption 'coder' with argument '1'.
Reading option '-context' ... matched as AVOption 'context' with argument '1'.
Reading option '-pass' ... matched as option 'pass' (select the pass number (1 to 3)) with argument '2'.
Reading option 'zz.yuv420p10le.ffv1.2p.mkv' ... matched as output file.
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 file zz.yuv420p10le.nut.
Successfully parsed a group of options.
Opening an input file: zz.yuv420p10le.nut.
[file @ 0x3be5740] Setting default whitelist 'file,crypto'
[nut @ 0x3be4fa0] Format nut probed with size=2048 and score=100
[nut @ 0x3be4fa0] Before avformat_find_stream_info() pos: 261 bytes read:32953 seeks:3
[nut @ 0x3be4fa0] Probe buffer size limit of 5000000 bytes reached
[nut @ 0x3be4fa0] After avformat_find_stream_info() pos: 5530081 bytes read:5562773 seeks:3 frames:8
Input #0, nut, from 'zz.yuv420p10le.nut':
  Metadata:
    encoder         : Lavf57.25.100
  Duration: 00:00:00.97, start: 0.000000, bitrate: 171619 kb/s
    Stream #0:0, 8, 1/61440: Video: rawvideo (Y3[11][10] / 0xA0B3359), yuv420p10le, 640x360, 30 fps, 30 tbr, 61440 tbn, 61440 tbc
    Metadata:
      encoder         : Lavc57.24.102 rawvideo
Successfully opened the file.
Parsing a group of options: output file zz.yuv420p10le.ffv1.2p.mkv.
Applying option c:v (codec name) with argument ffv1.
Applying option pass (select the pass number (1 to 3)) with argument 2.
Successfully parsed a group of options.
Opening an output file: zz.yuv420p10le.ffv1.2p.mkv.
[file @ 0x3be90c0] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x3be9320] Statistics: 1246868 bytes read, 0 seeks
[file @ 0x3be9320] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 4 logical cores
[graph 0 input from stream 0:0 @ 0x3bea5e0] Setting 'video_size' to value '640x360'
[graph 0 input from stream 0:0 @ 0x3bea5e0] Setting 'pix_fmt' to value '72'
[graph 0 input from stream 0:0 @ 0x3bea5e0] Setting 'time_base' to value '1/61440'
[graph 0 input from stream 0:0 @ 0x3bea5e0] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 0x3bea5e0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x3bea5e0] Setting 'frame_rate' to value '30/1'
[graph 0 input from stream 0:0 @ 0x3bea5e0] w:640 h:360 pixfmt:yuv420p10le tb:1/61440 fr:30/1 sar:0/1 sws_param:flags=2
[format @ 0x3beb400] compat: called with args=[yuv420p|yuva420p|yuva422p|yuv444p|yuva444p|yuv440p|yuv422p|yuv411p|yuv410p|bgr0|bgra|yuv420p16le|yuv422p16le|yuv444p16le|yuv444p9le|yuv422p9le|yuv420p9le|yuv420p10le|yuv422p10le|yuv444p10le|yuva444p16le|yuva422p16le|yuva420p16le|yuva444p10le|yuva422p10le|yuva420p10le|yuva444p9le|yuva422p9le|yuva420p9le|gray16le|gray|gbrp9le|gbrp10le|gbrp12le|gbrp14le|ya8]
[format @ 0x3beb400] Setting 'pix_fmts' to value 'yuv420p|yuva420p|yuva422p|yuv444p|yuva444p|yuv440p|yuv422p|yuv411p|yuv410p|bgr0|bgra|yuv420p16le|yuv422p16le|yuv444p16le|yuv444p9le|yuv422p9le|yuv420p9le|yuv420p10le|yuv422p10le|yuv444p10le|yuva444p16le|yuva422p16le|yuva420p16le|yuva444p10le|yuva422p10le|yuva420p10le|yuva444p9le|yuva422p9le|yuva420p9le|gray16le|gray|gbrp9le|gbrp10le|gbrp12le|gbrp14le|ya8'
[AVFilterGraph @ 0x3be97a0] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
Output #0, matroska, to 'zz.yuv420p10le.ffv1.2p.mkv':
  Metadata:
    encoder         : Lavf57.29.101
    Stream #0:0, 0, 1/1000: Video: ffv1 (FFV1 / 0x31564646), yuv420p10le, 640x360, q=2-31, pass 2, 200 kb/s, 30 fps, 1k tbn, 30 tbc
    Metadata:
      encoder         : Lavc57.33.100 ffv1
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> ffv1 (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
Clipping frame in rate conversion by 0.000008
[matroska @ 0x3bec6c0] Writing block at offset 44549, size 197710, pts 0, dts 0, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 242267 bytes, pts 33dts 33
[matroska @ 0x3bec6c0] Writing block at offset 242282, size 197638, pts 33, dts 33, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 439928 bytes, pts 67dts 67
[matroska @ 0x3bec6c0] Writing block at offset 439943, size 197595, pts 67, dts 67, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 637546 bytes, pts 100dts 100
[matroska @ 0x3bec6c0] Writing block at offset 637561, size 197594, pts 100, dts 100, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 835163 bytes, pts 133dts 133
[matroska @ 0x3bec6c0] Writing block at offset 835178, size 197583, pts 133, dts 133, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 1032769 bytes, pts 167dts 167
[matroska @ 0x3bec6c0] Writing block at offset 1032784, size 197666, pts 167, dts 167, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 1230458 bytes, pts 200dts 200
[matroska @ 0x3bec6c0] Writing block at offset 1230473, size 197438, pts 200, dts 200, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 1427919 bytes, pts 233dts 233
[matroska @ 0x3bec6c0] Writing block at offset 1427934, size 197692, pts 233, dts 233, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 1625634 bytes, pts 267dts 267
[matroska @ 0x3bec6c0] Writing block at offset 1625650, size 197427, pts 267, dts 267, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 1823085 bytes, pts 300dts 300
[matroska @ 0x3bec6c0] Writing block at offset 1823101, size 197370, pts 300, dts 300, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 2020479 bytes, pts 333dts 333
[matroska @ 0x3bec6c0] Writing block at offset 2020495, size 197243, pts 333, dts 333, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 2217746 bytes, pts 367dts 367
[matroska @ 0x3bec6c0] Writing block at offset 2217762, size 197125, pts 367, dts 367, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 2414895 bytes, pts 400dts 400
[matroska @ 0x3bec6c0] Writing block at offset 2414911, size 197184, pts 400, dts 400, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 2612103 bytes, pts 433dts 433
[matroska @ 0x3bec6c0] Writing block at offset 2612119, size 196930, pts 433, dts 433, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 2809057 bytes, pts 467dts 467
[matroska @ 0x3bec6c0] Writing block at offset 2809073, size 197074, pts 467, dts 467, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 3006155 bytes, pts 500dts 500
[matroska @ 0x3bec6c0] Writing block at offset 3006171, size 197049, pts 500, dts 500, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 3203228 bytes, pts 533dts 533
[matroska @ 0x3bec6c0] Writing block at offset 3203244, size 197085, pts 533, dts 533, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 3400337 bytes, pts 567dts 567
[matroska @ 0x3bec6c0] Writing block at offset 3400353, size 196944, pts 567, dts 567, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 3597305 bytes, pts 600dts 600
[matroska @ 0x3bec6c0] Writing block at offset 3597321, size 196816, pts 600, dts 600, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 3794145 bytes, pts 633dts 633
[matroska @ 0x3bec6c0] Writing block at offset 3794161, size 196795, pts 633, dts 633, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 3990964 bytes, pts 667dts 667
[matroska @ 0x3bec6c0] Writing block at offset 3990980, size 196658, pts 667, dts 667, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 4187646 bytes, pts 700dts 700
[matroska @ 0x3bec6c0] Writing block at offset 4187662, size 196425, pts 700, dts 700, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 4384095 bytes, pts 733dts 733
[matroska @ 0x3bec6c0] Writing block at offset 4384111, size 196295, pts 733, dts 733, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 4580414 bytes, pts 767dts 767
[matroska @ 0x3bec6c0] Writing block at offset 4580430, size 196140, pts 767, dts 767, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 4776578 bytes, pts 800dts 800
[matroska @ 0x3bec6c0] Writing block at offset 4776594, size 196158, pts 800, dts 800, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 4972760 bytes, pts 833dts 833
[matroska @ 0x3bec6c0] Writing block at offset 4972776, size 196099, pts 833, dts 833, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 5168883 bytes, pts 867dts 867
[matroska @ 0x3bec6c0] Writing block at offset 5168899, size 195996, pts 867, dts 867, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 5364903 bytes, pts 900dts 900
[matroska @ 0x3bec6c0] Writing block at offset 5364919, size 195813, pts 900, dts 900, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 5560740 bytes, pts 933dts 933
[matroska @ 0x3bec6c0] Writing block at offset 5560756, size 195814, pts 933, dts 933, duration 33, keyframe 1
[rawvideo @ 0x3bec220] PACKET SIZE: 691200, STRIDE: 1920
[matroska @ 0x3bec6c0] Starting new cluster at offset 5756578 bytes, pts 967dts 967
[matroska @ 0x3bec6c0] Writing block at offset 5756594, size 195604, pts 967, dts 967, duration 33, keyframe 1
[output stream 0:0 @ 0x3beadc0] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.
[matroska @ 0x3bec6c0] end duration = 1000
[matroska @ 0x3bec6c0] stream 0 end duration = 1000
frame=   30 fps=0.0 q=-0.0 Lsize=    5813kB time=00:00:01.00 bitrate=47622.2kbits/s speed=3.95x    
video:5769kB audio:0kB subtitle:0kB other streams:0kB global headers:43kB muxing overhead: 0.775678%
Input file #0 (zz.yuv420p10le.nut):
  Input stream #0:0 (video): 30 packets read (20736000 bytes); 30 frames decoded; 
  Total: 30 packets (20736000 bytes) demuxed
Output file #0 (zz.yuv420p10le.ffv1.2p.mkv):
  Output stream #0:0 (video): 30 frames encoded; 30 packets muxed (5906960 bytes); 
  Total: 30 packets (5906960 bytes) muxed
30 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x3be91a0] Statistics: 223 seeks, 355 writeouts
[AVIOContext @ 0x3beda20] Statistics: 20770003 bytes read, 3 seeks

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.


#5514 Interlaced HEVC Steam not Decoded Properly avcodec defect May 5, 2016

Summary of the bug:

I have a 480i interlaced HEVC elementary stream. The HM reference decoder decodes the stream and generates 720x480 interlaced frames. FFMPEG/FFPLAY decodes the stream and 720x240 progressive frames and FFPLAY plays them at half the frame rate with the first/second field/frames bouncing up and down a line because these are actually 2 different fields of the same frame.

How to reproduce:

ffmpeg -i src13_interlaced.265 src13_interaced.yuv
ffplay src13_interlaced.265


$ ffmpeg -i src13_interlaced.265 src13_interaced.yuv
ffmpeg version git-2016-04-27-7bccbee-VF Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
  configuration: --extra-version=VF --prefix=/mnt/kermit/work/git/ort/build/linux64/stage/ffmpeg --ld=/usr/bin/cc --target-os=linux --arch=x86_64 --cpu=x86_64 --enable-pic --enable-static --enable-shared --enable-rpath --enable-avfilter --enable-pthreads --enable-zlib --enable-bzlib --enable-runtime-cpudetect --enable-hardcoded-tables --disable-stripping --disable-doc --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --yasmexe=/mnt/kermit/work/git/ort/build/linux64/tools/yasm/bin/yasm --sdl-config=/mnt/kermit/work/git/ort/build/linux64/stage/sdl/lib/../bin/sdl-config --extra-cflags='-I/mnt/kermit/work/git/ort/build/linux64/stage/zlib/include -I/mnt/kermit/work/git/ort/build/linux64/stage/bzip2/include -I/mnt/kermit/work/git/ort/build/linux64/stage/lzma/include -I/mnt/kermit/work/git/ort/build/linux64/stage/sdl/include -DVFBUILD_DISABLE_INTMATH_OPTIMIZATIONS=1' --extra-ldflags='-L/mnt/kermit/work/git/ort/build/linux64/stage/zlib/lib -L/mnt/kermit/work/git/ort/build/linux64/stage/bzip2/lib -L/mnt/kermit/work/git/ort/build/linux64/stage/lzma/lib -L/mnt/kermit/work/git/ort/build/linux64/stage/sdl/lib'
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 28.203 / 57. 28.203
  libavformat    57. 29.200 / 57. 29.200
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 39.202 /  6. 39.202
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
VFAVUtil_MetaData_RunUnitTests() Completed Successfully.
Input #0, hevc, from 'src13_interlaced.265':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: hevc (Main), yuv420p(tv), 720x240, 30 fps, 30 tbr, 1200k tbn, 30 tbc
Output #0, rawvideo, to 'src13_interaced.yuv':
  Metadata:
    encoder         : Lavf57.29.200
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x240, q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc
    Metadata:
      encoder         : Lavc57.28.203 rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> rawvideo (native))
Press [q] to stop, [?] for help
frame=  336 fps=0.0 q=-0.0 size=   85050kB time=00:00:11.20 bitrate=62208.0kbitsframe=  337 fps=263 q=-0.0 size=   85303kB time=00:00:11.23 bitrate=62208.0kbitsframe=  522 fps=337 q=-0.0 Lsize=  132131kB time=00:00:17.40 bitrate=62208.0kbits/s speed=11.2x    
video:132131kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%


#5533 Unable to decode some H.264 stream on seeking avcodec defect May 10, 2016

Link to file - ​https://yadi.sk/i/SwTnylRerayJL Summary of the bug: Unable decoding if seeking after opening file. How to reproduce:

ffplay.exe CSI.Cyber.S02E12.720p.HDTV.HamsterStudio.org.mkv
ffplay version N-79883-g38eeb85 Copyright (c) 2003-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --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-decklink --enable-zlib
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 40.100 / 57. 40.100
  libavformat    57. 36.100 / 57. 36.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 45.100 /  6. 45.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, matroska,webm, from 'CSI.Cyber.S02E12.720p.HDTV.HamsterStudio.org.mkv':
  Metadata:
    encoder         : libebml v1.3.1 + libmatroska v1.4.2
    creation_time   : 2016-02-22 17:09:39
  Duration: 00:41:58.75, start: 0.000000, bitrate: 4666 kb/s
    Stream #0:0: Video: h264 (Main), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
    Metadata:
      BPS             : 3896559
      BPS-eng         : 3896559
      DURATION        : 00:41:58.641000000
      DURATION-eng    : 00:41:58.641000000
      NUMBER_OF_FRAMES: 60387    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
      NUMBER_OF_FRAMES-eng: 60387
      NUMBER_OF_BYTES : 1226754179
      NUMBER_OF_BYTES-eng: 1226754179
      _STATISTICS_WRITING_APP: mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
      _STATISTICS_WRITING_DATE_UTC: 2016-02-22 17:09:39
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-02-22 17:09:39
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1: Subtitle: ass (default) (forced)
    Metadata:
      BPS             : 2
      BPS-eng         : 2
      DURATION        : 00:40:39.000000000
      DURATION-eng    : 00:40:39.000000000
      NUMBER_OF_FRAMES: 3
      NUMBER_OF_FRAMES-eng: 3
      NUMBER_OF_BYTES : 645
      NUMBER_OF_BYTES-eng: 645
      _STATISTICS_WRITING_APP: mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
      _STATISTICS_WRITING_DATE_UTC: 2016-02-22 17:09:39
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-02-22 17:09:39
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(rus): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default) (forced)
    Metadata:
      title           : HamsterStudio.org
      BPS             : 384000
      BPS-eng         : 384000
      DURATION        : 00:41:58.752000000
      DURATION-eng    : 00:41:58.752000000
      NUMBER_OF_FRAMES: 78711
      NUMBER_OF_FRAMES-eng: 78711
      NUMBER_OF_BYTES : 120900096
      NUMBER_OF_BYTES-eng: 120900096
      _STATISTICS_WRITING_APP: mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
      _STATISTICS_WRITING_DATE_UTC: 2016-02-22 17:09:39
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-02-22 17:09:39
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Metadata:
      BPS             : 384000
      BPS-eng         : 384000
      DURATION        : 00:41:58.752000000
      DURATION-eng    : 00:41:58.752000000
      NUMBER_OF_FRAMES: 78711
      NUMBER_OF_FRAMES-eng: 78711
      NUMBER_OF_BYTES : 120900096
      NUMBER_OF_BYTES-eng: 120900096
      _STATISTICS_WRITING_APP: mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
      _STATISTICS_WRITING_APP-eng: mkvmerge v7.8.0 ('River Man') 64bit built on Mar 27 2015 16:31:37
      _STATISTICS_WRITING_DATE_UTC: 2016-02-22 17:09:39
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-02-22 17:09:39
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
SDL_OpenAudio (6 channels, 48000 Hz): DirectSound CreateSoundBuffer: Invalid parameter
SDL_OpenAudio (4 channels, 48000 Hz): DirectSound CreateSoundBuffer: Invalid parameter
Seek to 37% ( 0:15:32) of total duration ( 0:41:58)       B f=0/0
[h264 @ 05e32c60] deblocking_filter_idc 19 out of range  0B f=0/0
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058130e0] illegal modification_of_pic_nums_idc 6
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] mmco: unref short failure2939KB sq=    0B f=0/0
[h264 @ 058134e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058134e0] illegal modification_of_pic_nums_idc 31
[h264 @ 058134e0] decode_slice_header error
[h264 @ 0580c5a0] mmco: unref short failure
[h264 @ 0580c5a0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c5a0] co located POCs unavailable
[h264 @ 0580c5a0] Reference 3 >= 3
[h264 @ 0580c5a0] error while decoding MB 48 1, bytestream 21219
[h264 @ 0580c5a0] concealing 3521 DC, 3521 AC, 3521 MV errors in B frame
[h264 @ 0580c9c0] Missing reference picture, default is 65568
    Last message repeated 4 times
[h264 @ 0580c9c0] co located POCs unavailable77KB sq=    0B f=0/0
[h264 @ 0580c9c0] concealing 3580 DC, 3580 AC, 3580 MV errors in B frame
[h264 @ 055cf9e0] illegal modification_of_pic_nums_idc 4
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] illegal modification_of_pic_nums_idc 5
[h264 @ 058b0220] decode_slice_header error
[h264 @ 055dcea0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 055dcea0] reference count overflow
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] mmco: unref short failure2775KB sq=    0B f=0/0
[h264 @ 055dbe80] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dbe80] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 055dbe80] reference count overflow
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] mmco: unref short failure
[h264 @ 05e32c60] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 05e32c60] illegal modification_of_pic_nums_idc 8
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] mmco: unref short failure4159KB sq=    0B f=0/0
[h264 @ 058130e0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058130e0] illegal modification_of_pic_nums_idc 8
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] illegal memory management control operation 32
[h264 @ 058134e0] deblocking_filter_idc 4 out of range
[h264 @ 058134e0] decode_slice_header error
[h264 @ 0580c5a0] mmco: unref short failure
[h264 @ 0580c5a0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c5a0] Missing reference picture, default is 65365
    Last message repeated 5 times
[h264 @ 0580c5a0] co located POCs unavailable
[h264 @ 0580c9c0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c5a0] concealing 3538 DC, 3538 AC, 3538 MV errors in B frame
[h264 @ 0580c9c0] reference picture missing during reorder
    Last message repeated 3 times
[h264 @ 0580c9c0] reference count overflow
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 055cf9e0] reference picture missing during reorderB f=0/0
    Last message repeated 2 times
[h264 @ 055cf9e0] reference count overflow
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] mmco: unref short failure4109KB sq=    0B f=0/0
[h264 @ 058b0220] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058b0220] illegal long ref in memory management control operation 4
[h264 @ 058b0220] co located POCs unavailable
[h264 @ 058b0220] Reference 3 >= 3
[h264 @ 058b0220] error while decoding MB 12 0, bytestream 100676
[h264 @ 055dcea0] mmco: unref short failure
[h264 @ 058b0220] concealing 3600 DC, 3600 AC, 3600 MV errors in B frame
[h264 @ 055dcea0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dcea0] illegal modification_of_pic_nums_idc 8
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] illegal modification_of_pic_nums_idc 7 0B f=0/0
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 05e32c60] reference count overflow
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] illegal modification_of_pic_nums_idc 31
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] mmco: unref short failure
[h264 @ 058134e0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058134e0] reference picture missing during reorder
[h264 @ 058134e0] reference count overflow
[h264 @ 058134e0] decode_slice_header error
[h264 @ 0580c5a0] mmco: unref short failure
[h264 @ 0580c5a0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c5a0] illegal modification_of_pic_nums_idc 8 0B f=0/0
[h264 @ 0580c5a0] decode_slice_header error
[h264 @ 0580c9c0] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 0580c9c0] reference count overflow
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 055cf9e0] mmco: unref short failure
[h264 @ 055cf9e0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055cf9e0] reference count overflow
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 058b0220] reference count overflow
[h264 @ 058b0220] decode_slice_header error
[h264 @ 055dcea0] mmco: unref short failure4017KB sq=    0B f=0/0
[h264 @ 055dcea0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dcea0] illegal modification_of_pic_nums_idc 4
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 055dbe80] reference count overflow
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] mmco: unref short failure
[h264 @ 05e32c60] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 05e32c60] reference picture missing during reorder
[h264 @ 05e32c60] reference count overflow
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] mmco: unref short failure3949KB sq=    0B f=0/0
[h264 @ 058130e0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058130e0] illegal long ref in memory management control operation 4
[h264 @ 058130e0] co located POCs unavailable
[h264 @ 058134e0] mmco: unref short failure
[h264 @ 058134e0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058130e0] Reference 4 >= 3
[h264 @ 058130e0] error while decoding MB 50 0, bytestream 41419
[h264 @ 058134e0] illegal modification_of_pic_nums_idc 130B f=0/0
[h264 @ 058134e0] decode_slice_header error
[h264 @ 058130e0] concealing 3599 DC, 3599 AC, 3599 MV errors in B frame
[h264 @ 0580c5a0] illegal modification_of_pic_nums_idc 4
[h264 @ 0580c5a0] decode_slice_header error
[h264 @ 0580c9c0] illegal modification_of_pic_nums_idc 31
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 055cf9e0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055cf9e0] illegal memory management control operation 7
[h264 @ 055cf9e0] co located POCs unavailable
[h264 @ 058b0220] mmco: unref short failure
[h264 @ 058b0220] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055cf9e0] concealing 3564 DC, 3564 AC, 3564 MV errors in B frame
[h264 @ 058b0220] reference picture missing during reorder
    Last message repeated 3 times
[h264 @ 058b0220] reference count overflow
[h264 @ 058b0220] decode_slice_header error
[h264 @ 055dcea0] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 055dcea0] reference count overflow
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dbe80] illegal memory management control operation 7
[h264 @ 055dbe80] co located POCs unavailable
[h264 @ 05e32c60] mmco: unref short failure3783KB sq=    0B f=0/0
[h264 @ 055dbe80] concealing 3595 DC, 3595 AC, 3595 MV errors in B frame
[h264 @ 05e32c60] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 05e32c60] reference picture missing during reorder
    Last message repeated 3 times
[h264 @ 05e32c60] reference count overflow
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 058130e0] reference count overflow
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] mmco: unref short failure3789KB sq=    0B f=0/0
[h264 @ 058134e0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058134e0] reference picture missing during reorder
[h264 @ 058134e0] reference count overflow
[h264 @ 058134e0] decode_slice_header error
[h264 @ 0580c5a0] mmco: unref short failure
[h264 @ 0580c5a0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c5a0] reference picture missing during reorder
[h264 @ 0580c5a0] reference count overflow
[h264 @ 0580c5a0] decode_slice_header error
[h264 @ 0580c9c0] mmco: unref short failure3832KB sq=    0B f=0/0
[h264 @ 0580c9c0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c9c0] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 0580c9c0] reference count overflow
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 055cf9e0] mmco: unref short failure
[h264 @ 055cf9e0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055cf9e0] illegal long ref in memory management control operation 4
[h264 @ 055cf9e0] co located POCs unavailable
[h264 @ 058b0220] mmco: unref short failure3803KB sq=    0B f=0/0
[h264 @ 058b0220] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055cf9e0] Reference 4 >= 3
[h264 @ 055cf9e0] error while decoding MB 24 0, bytestream 63783
[h264 @ 058b0220] illegal modification_of_pic_nums_idc 8
[h264 @ 058b0220] decode_slice_header error
[h264 @ 055cf9e0] concealing 3600 DC, 3600 AC, 3600 MV errors in B frame
[h264 @ 055dcea0] reference count overflow
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] illegal modification_of_pic_nums_idc 31
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] mmco: unref short failure
[h264 @ 05e32c60] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 05e32c60] illegal long ref in memory management control operation 4
[h264 @ 05e32c60] co located POCs unavailable
[h264 @ 05e32c60] top block unavailable for requested intra mode
[h264 @ 05e32c60] error while decoding MB 8 0, bytestream 171920
[h264 @ 058130e0] mmco: unref short failure
[h264 @ 058130e0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 05e32c60] concealing 3600 DC, 3600 AC, 3600 MV errors in B frame
[h264 @ 058130e0] illegal modification_of_pic_nums_idc 8 0B f=0/0
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] illegal modification_of_pic_nums_idc 9
[h264 @ 058134e0] decode_slice_header error
[h264 @ 0580c5a0] illegal modification_of_pic_nums_idc 8
[h264 @ 0580c5a0] decode_slice_header error
[h264 @ 0580c9c0] illegal modification_of_pic_nums_idc 31
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 055cf9e0] mmco: unref short failure
[h264 @ 055cf9e0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055cf9e0] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 055cf9e0] reference count overflow
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] mmco: unref short failure3712KB sq=    0B f=0/0
[h264 @ 058b0220] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058b0220] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 058b0220] reference count overflow
[h264 @ 058b0220] decode_slice_header error
[h264 @ 055dcea0] mmco: unref short failure
[h264 @ 055dcea0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dcea0] reference picture missing during reorderB f=0/0
    Last message repeated 2 times
[h264 @ 055dcea0] reference count overflow
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] mmco: unref short failure
[h264 @ 055dbe80] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dbe80] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 055dbe80] reference count overflow
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] mmco: unref short failure
[h264 @ 05e32c60] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 05e32c60] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 05e32c60] reference count overflow
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] mmco: unref short failure3692KB sq=    0B f=0/0
[h264 @ 058130e0] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058130e0] illegal modification_of_pic_nums_idc 4
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] top block unavailable for requested intra mode -1
[h264 @ 058134e0] error while decoding MB 0 0, bytestream 132421
[h264 @ 0580c5a0] illegal long ref in memory management control operation 3
[h264 @ 058134e0] concealing 3600 DC, 3600 AC, 3600 MV errors in I frame
[h264 @ 0580c9c0] mmco: unref short failure
[h264 @ 0580c9c0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c5a0] top block unavailable for requested intra mode
[h264 @ 0580c9c0] illegal modification_of_pic_nums_idc 4
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 0580c5a0] error while decoding MB 16 0, bytestream 42174
[h264 @ 055cf9e0] mmco: unref short failure
[h264 @ 055cf9e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c5a0] concealing 3600 DC, 3600 AC, 3600 MV errors in P frame
[h264 @ 055cf9e0] illegal modification_of_pic_nums_idc 4
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] illegal modification_of_pic_nums_idc 4 0B f=0/0
[h264 @ 058b0220] decode_slice_header error
[h264 @ 055dcea0] reference picture missing during reorder
[h264 @ 055dcea0] illegal modification_of_pic_nums_idc 4
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] reference picture missing during reorder
[h264 @ 055dbe80] illegal modification_of_pic_nums_idc 4
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 05e32c60] reference count overflow
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] mmco: unref short failure3652KB sq=    0B f=0/0
[h264 @ 058130e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058130e0] illegal memory management control operation 12
[h264 @ 058130e0] co located POCs unavailable
[h264 @ 058130e0] deblocking_filter_idc 4 out of range
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] mmco: unref short failure
[h264 @ 058134e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058134e0] reference picture missing during reorder
[h264 @ 058134e0] illegal modification_of_pic_nums_idc 4
[h264 @ 058134e0] decode_slice_header error
[h264 @ 0580c5a0] reference picture missing during reorderB f=0/0
    Last message repeated 1 times
[h264 @ 0580c5a0] reference count overflow
[h264 @ 0580c5a0] decode_slice_header error
[h264 @ 0580c9c0] mmco: unref short failure
[h264 @ 0580c9c0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c9c0] reference picture missing during reorder
[h264 @ 0580c9c0] illegal modification_of_pic_nums_idc 4
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 055cf9e0] reference count overflow
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] mmco: unref short failure
[h264 @ 058b0220] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058b0220] illegal modification_of_pic_nums_idc 7
[h264 @ 058b0220] decode_slice_header error
[h264 @ 055dcea0] mmco: unref short failure
[h264 @ 055dcea0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dcea0] illegal modification_of_pic_nums_idc 7 0B f=0/0
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] illegal modification_of_pic_nums_idc 7
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] reference picture missing during reorder
[h264 @ 05e32c60] illegal modification_of_pic_nums_idc 4
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] illegal modification_of_pic_nums_idc 4
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] illegal modification_of_pic_nums_idc 31
[h264 @ 058134e0] decode_slice_header error
[h264 @ 0580c5a0] mmco: unref short failure3609KB sq=    0B f=0/0
[h264 @ 0580c5a0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c5a0] reference picture missing during reorder
[h264 @ 0580c5a0] illegal modification_of_pic_nums_idc 4
[h264 @ 0580c5a0] decode_slice_header error
[h264 @ 0580c9c0] cabac_init_idc 4 overflow
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 055cf9e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055cf9e0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 055cf9e0] reference count overflow
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] mmco: unref short failure3491KB sq=    0B f=0/0
[h264 @ 058b0220] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058b0220] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 058b0220] reference count overflow
[h264 @ 058b0220] decode_slice_header error
[h264 @ 055dcea0] mmco: unref short failure
[h264 @ 055dcea0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dcea0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 055dcea0] reference count overflow
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] mmco: unref short failure3501KB sq=    0B f=0/0
[h264 @ 055dbe80] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dbe80] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 055dbe80] reference count overflow
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] mmco: unref short failure
[h264 @ 05e32c60] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 05e32c60] reference picture missing during reorderB f=0/0
[h264 @ 05e32c60] illegal modification_of_pic_nums_idc 4
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] illegal memory management control operation 32
[h264 @ 058130e0] cabac_init_idc 6 overflow
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] mmco: unref short failure
[h264 @ 058134e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058134e0] reference picture missing during reorder
    Last message repeated 3 times
[h264 @ 058134e0] reference count overflow
[h264 @ 058134e0] decode_slice_header error
[h264 @ 0580c5a0] cabac_init_idc 32 overflow539KB sq=    0B f=0/0
[h264 @ 0580c5a0] decode_slice_header error
[h264 @ 0580c9c0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0580c9c0] reference count overflow
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 055cf9e0] mmco: unref short failure
[h264 @ 055cf9e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055cf9e0] Missing reference picture, default is 66199
[h264 @ 055cf9e0] co located POCs unavailable
[h264 @ 055cf9e0] deblocking_filter_idc 4 out of range
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] top block unavailable for requested intra mode -1
[h264 @ 058b0220] error while decoding MB 0 0, bytestream 125232
[h264 @ 055dcea0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058b0220] concealing 3600 DC, 3600 AC, 3600 MV errors in I frame
[h264 @ 055dcea0] top block unavailable for requested intra mode -1
[h264 @ 055dbe80] illegal modification_of_pic_nums_idc 8
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 055dcea0] error while decoding MB 5 0, bytestream 60140
[h264 @ 05e32c60] mmco: unref short failure
[h264 @ 05e32c60] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dcea0] Cannot use next picture in error concealment
[h264 @ 05e32c60] illegal modification_of_pic_nums_idc 6
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 055dcea0] concealing 3600 DC, 3600 AC, 3600 MV errors in P frame
[h264 @ 058130e0] illegal modification_of_pic_nums_idc 6 0B f=0/0
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 058134e0] reference count overflow
[h264 @ 058134e0] decode_slice_header error
[h264 @ 0580c5a0] mmco: unref short failure
[h264 @ 0580c5a0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c5a0] co located POCs unavailable
[h264 @ 0580c5a0] deblocking filter parameters -66 -6 out of range
[h264 @ 0580c5a0] decode_slice_header error
[h264 @ 0580c9c0] reference picture missing during reorder
[h264 @ 0580c9c0] illegal modification_of_pic_nums_idc 4
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 055cf9e0] reference picture missing during reorder
[h264 @ 055cf9e0] illegal modification_of_pic_nums_idc 4
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] reference picture missing during reorderB f=0/0
    Last message repeated 2 times
[h264 @ 058b0220] reference count overflow
[h264 @ 058b0220] decode_slice_header error
[h264 @ 055dcea0] mmco: unref short failure
[h264 @ 055dcea0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dcea0] illegal modification_of_pic_nums_idc 5
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] mmco: unref short failure
[h264 @ 055dbe80] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dbe80] illegal modification_of_pic_nums_idc 5
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] illegal modification_of_pic_nums_idc 5
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] co located POCs unavailable
[h264 @ 058134e0] cabac_init_idc 32 overflow
[h264 @ 058134e0] decode_slice_header error
[h264 @ 058130e0] Reference 3 >= 3
[h264 @ 058130e0] error while decoding MB 32 2, bytestream 12023
[h264 @ 0580c5a0] Missing reference picture, default is 65175
    Last message repeated 1 times
[h264 @ 058130e0] concealing 3457 DC, 3457 AC, 3457 MV errors in B frame
[h264 @ 0580c5a0] co located POCs unavailable
[h264 @ 0580c5a0] deblocking_filter_idc 4 out of range
[h264 @ 0580c5a0] decode_slice_header error
[h264 @ 0580c9c0] illegal modification_of_pic_nums_idc 7
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 055cf9e0] illegal modification_of_pic_nums_idc 7
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] illegal modification_of_pic_nums_idc 4
[h264 @ 058b0220] decode_slice_header error
[h264 @ 055dcea0] illegal modification_of_pic_nums_idc 31
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] mmco: unref short failure
[h264 @ 055dbe80] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dbe80] co located POCs unavailable
[h264 @ 055dbe80] cabac_init_idc 18 overflow
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 05e32c60] illegal modification_of_pic_nums_idc 7
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] illegal modification_of_pic_nums_idc 7
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] illegal modification_of_pic_nums_idc 4
[h264 @ 058134e0] decode_slice_header error
[h264 @ 0580c5a0] illegal modification_of_pic_nums_idc 31
[h264 @ 0580c5a0] decode_slice_header error
[h264 @ 0580c9c0] mmco: unref short failure
[h264 @ 0580c9c0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c9c0] co located POCs unavailable
[h264 @ 0580c9c0] cabac_init_idc 18 overflow
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 055cf9e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055cf9e0] illegal modification_of_pic_nums_idc 7
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] illegal modification_of_pic_nums_idc 7
[h264 @ 058b0220] decode_slice_header error
[h264 @ 055dcea0] illegal modification_of_pic_nums_idc 4
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] illegal modification_of_pic_nums_idc 31
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] mmco: unref short failure
[h264 @ 05e32c60] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 05e32c60] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 05e32c60] reference count overflow
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] mmco: unref short failure
[h264 @ 058130e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058130e0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 058130e0] reference count overflow
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] mmco: unref short failure
[h264 @ 058134e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058134e0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 058134e0] reference count overflow
[h264 @ 058134e0] decode_slice_header error
[h264 @ 0580c5a0] mmco: unref short failure
[h264 @ 0580c5a0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c5a0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0580c5a0] reference count overflow
[h264 @ 0580c5a0] decode_slice_header error
[h264 @ 0580c9c0] mmco: unref short failure
[h264 @ 0580c9c0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c9c0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0580c9c0] reference count overflow
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 055cf9e0] mmco: unref short failure
[h264 @ 055cf9e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055cf9e0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 055cf9e0] reference count overflow
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] mmco: unref short failure
[h264 @ 058b0220] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058b0220] reference count overflow
[h264 @ 058b0220] decode_slice_header error
[h264 @ 055dcea0] cabac_init_idc 32 overflow
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] illegal memory management control operation 8
[h264 @ 055dbe80] co located POCs unavailable
[h264 @ 055dbe80] cabac_init_idc 3 overflow
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] mmco: unref short failure
[h264 @ 05e32c60] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 05e32c60] illegal modification_of_pic_nums_idc 8
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 058130e0] reference count overflow
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] mmco: unref short failure
[h264 @ 058134e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058134e0] illegal memory management control operation 8
[h264 @ 058134e0] co located POCs unavailable
[h264 @ 058134e0] Reference 3 >= 3
[h264 @ 058134e0] error while decoding MB 69 0, bytestream 9138
[h264 @ 0580c5a0] mmco: unref short failure
[h264 @ 0580c5a0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058134e0] concealing 3580 DC, 3580 AC, 3580 MV errors in B frame
[h264 @ 0580c5a0] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 0580c5a0] reference count overflow
[h264 @ 0580c5a0] decode_slice_header error
[h264 @ 0580c9c0] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 0580c9c0] reference count overflow
[h264 @ 0580c9c0] decode_slice_header error
[h264 @ 055cf9e0] mmco: unref short failure
[h264 @ 055cf9e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055cf9e0] reference picture missing during reorder
[h264 @ 055cf9e0] illegal modification_of_pic_nums_idc 4
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] cabac_init_idc 4 overflow
[h264 @ 058b0220] decode_slice_header error
[h264 @ 055dcea0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dcea0] illegal memory management control operation 8
[h264 @ 055dcea0] co located POCs unavailable
[h264 @ 055dcea0] top block unavailable for requested intra mode -1
[h264 @ 055dcea0] error while decoding MB 0 0, bytestream 11197
[h264 @ 055dbe80] mmco: unref short failure
[h264 @ 055dbe80] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dcea0] concealing 3600 DC, 3600 AC, 3600 MV errors in B frame
[h264 @ 055dbe80] reference count overflow
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 05e32c60] reference count overflow
[h264 @ 05e32c60] decode_slice_header error
[h264 @ 058130e0] mmco: unref short failure
[h264 @ 058130e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058130e0] illegal memory management control operation 13
[h264 @ 058130e0] co located POCs unavailable
[h264 @ 058130e0] deblocking_filter_idc 4 out of range
[h264 @ 058130e0] decode_slice_header error
[h264 @ 058134e0] mmco: unref short failure
[h264 @ 058134e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 058134e0] Missing reference picture, default is 64606
    Last message repeated 3 times
[h264 @ 058134e0] co located POCs unavailable
[h264 @ 058134e0] Reference 7 >= 7
[h264 @ 058134e0] error while decoding MB 1 0, bytestream 12336
[h264 @ 0580c5a0] reference picture missing during reorder
    Last message repeated 2 times
[h264 @ 0580c5a0] reference count overflow
[h264 @ 0580c5a0] decode_slice_header error
[h264 @ 058134e0] concealing 3600 DC, 3600 AC, 3600 MV errors in B frame
[h264 @ 0580c9c0] mmco: unref short failure
[h264 @ 0580c9c0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c9c0] illegal long ref in memory management control operation 4
[h264 @ 0580c9c0] co located POCs unavailable
[h264 @ 0580c9c0] top block unavailable for requested intra mode -1
[h264 @ 0580c9c0] error while decoding MB 7 0, bytestream 15864
[h264 @ 055cf9e0] mmco: unref short failure
[h264 @ 055cf9e0] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0580c9c0] concealing 3600 DC, 3600 AC, 3600 MV errors in B frame
[h264 @ 055cf9e0] illegal modification_of_pic_nums_idc 10
[h264 @ 055cf9e0] decode_slice_header error
[h264 @ 058b0220] Missing reference picture, default is 64540
    Last message repeated 3 times
[h264 @ 058b0220] co located POCs unavailable
[h264 @ 058b0220] concealing 3600 DC, 3600 AC, 3600 MV errors in B frame
[h264 @ 055dcea0] illegal modification_of_pic_nums_idc 31
[h264 @ 055dcea0] decode_slice_header error
[h264 @ 055dbe80] mmco: unref short failure
[h264 @ 055dbe80] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 055dbe80] illegal memory management control operation 13
[h264 @ 055dbe80] co located POCs unavailable
[h264 @ 055dbe80] deblocking_filter_idc 4 out of range
[h264 @ 055dbe80] decode_slice_header error
[h264 @ 05e32c60] mmco: unref short failure
[h264 @ 05e32c60] number of reference frames (1+3) exceeds max (3; probably corrupt input), discarding one
[h264 @ 05e32c60] Missing reference picture, default is 64542
    Last message repeated 3 times
[h264 @ 05e32c60] co located POCs unavailable
[h264 @ 05e32c60] concealing 3440 DC, 3440 AC, 3440 MV errors in B frame
[h264 @ 058130e0] reference picture missing during reorder
    Last message repeated 2 times

But if skip reklama block - seeking/playback is normal.


#5548 FFV1 encoder creates invalid stream with -level 3 if width or height is between 1 and 3 avcodec defect May 12, 2016

Summary of the bug: FFV1 encoder creates an invalid stream if width or height is 1 or 2. technical description: is such scenario, num_v_slices has a value of 2 so slice_y should be maximum 1, but slices have slice_y = 2 everywhere (instead of = 0 or 1).

How to reproduce:

>ffmpeg -y -f lavfi -i testsrc -t 1 -filter:v scale="353:1" -vcodec ffv1 -level 3 353x1.mkv
ffmpeg version N-79630-g9ac154d Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --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-decklink --enable-zlib
  libavutil      55. 22.101 / 55. 22.101
  libavcodec     57. 38.100 / 57. 38.100
  libavformat    57. 34.103 / 57. 34.103
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, lavfi, from 'testsrc':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 fps, 25 tbr, 25 tbn
[matroska @ 0000000000f8e8e0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, matroska, to '353x1.mkv':
  Metadata:
    encoder         : Lavf57.34.103
    Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), bgr0, 353x1 [SAR 4:1059 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 1k tbn
    Metadata:
      encoder         : Lavc57.38.100 ffv1
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> ffv1 (native))
Press [q] to stop, [?] for help
frame=   25 fps=0.0 q=-0.0 Lsize=      15kB time=00:00:00.96 bitrate= 130.4kbits/s speed=44.7x
video:14kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 7.009154%

>ffmpeg -i 353x1.mkv fake.mp4
ffmpeg version N-79630-g9ac154d Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --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-decklink --enable-zlib
  libavutil      55. 22.101 / 55. 22.101
  libavcodec     57. 38.100 / 57. 38.100
  libavformat    57. 34.103 / 57. 34.103
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 44.100 /  6. 44.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[ffv1 @ 00000000025245e0] slice count invalid
[matroska,webm @ 00000000001d6e60] Failed to open codec in av_find_stream_info
[ffv1 @ 00000000025245e0] slice count invalid
Input #0, matroska,webm, from '353x1.mkv':
  Metadata:
    ENCODER         : Lavf57.34.103
  Duration: 00:00:01.00, start: 0.000000, bitrate: 125 kb/s
    Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), none, 353x1, SAR 1:255 DAR 353:255, 25 fps, 25 tbr, 1k tbn (default)
    Metadata:
      ENCODER         : Lavc57.38.100 ffv1
      DURATION        : 00:00:01.000000000
[buffer @ 00000000025179e0] Unable to parse option value "-1" as pixel format
    Last message repeated 1 times
[buffer @ 00000000025179e0] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:0 @ 0000000002517500] Error applying options to the filter.
Error opening filters!

Same if you invert width and height.


#5746 LucasArts SANM/SMUSH video fails to decode avcodec defect Jul 31, 2016

Summary of the bug:

Decoding a LucasArts? SANM file fails with "Subcodec 48 is not implemented" and no output file is created.

How to reproduce:

% ffmpeg -i input.SAN output.mp4
...
[sanm @ 0x7fce49017000] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!

View output.txt for full output.

% ffmpeg -version
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
built with Apple LLVM version 7.3.0 (clang-703.0.31)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-libx265 --disable-lzma --enable-vda
libavutil      55. 28.100 / 55. 28.100
libavcodec     57. 48.101 / 57. 48.101
libavformat    57. 41.100 / 57. 41.100
libavdevice    57.  0.101 / 57.  0.101
libavfilter     6. 47.100 /  6. 47.100
libavresample   3.  0.  0 /  3.  0.  0
libswscale      4.  1.100 /  4.  1.100
libswresample   2.  1.100 /  2.  1.100
libpostproc    54.  0.100 / 54.  0.100

#5802 Conversion from JPEG-SOF3(lossless) fails avcodec defect Aug 26, 2016

How to reproduce:

ffmpeg -y -i C:\Users\sknoll\Desktop\big.sof3 -vcodec jpegls -q:v 0 test.jls
ffmpeg version N-81342-gb93e223 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --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-decklink --enable-zlib
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 51.102 / 57. 51.102
  libavformat    57. 46.101 / 57. 46.101
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 51.100 /  6. 51.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, jpeg_pipe, from 'C:\Users\sknoll\Desktop\big.sof3':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: mjpeg, gray16le(bt470bg/unknown/unknown), 512x512, lossless, 25 tbr, 25 tbn, 25 tbc
[image2 @ 00000000006a5600] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, image2, to 'test.jls':
  Metadata:
    encoder         : Lavf57.46.101
    Stream #0:0: Video: jpegls, gray16le, 512x512, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.51.102 jpegls
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg (native) -> jpegls (native))
Press [q] to stop, [?] for help
[mjpeg @ 00000000006a7060] mjpeg_decode_dc: bad vlc: 0:0 (00000000006a4f20)
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A speed= 8.8x
video:5kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown 

See attachments for samples.


#6175 IFF Anims starting with audio don't show video avcodec defect Feb 22, 2017

Summary of the bug: If an IFF file starts with an 8SVX structure, FFMpeg thinks the whole file is an audio file and decodes even the video portions as audio, resorting in static for a good portion of the audio as it is decoded as audio. How to reproduce:

% ffmpeg -i At_the_Movies.anim -c:a pcm_s8 atm1.aiff
% ffprobe At\ the\ Movies\ 1.anim 
ffprobe version 3.2.2 Copyright (c) 2007-2016 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-indev=jack --disable-outdev=xv --enable-audiotoolbox --enable-sdl2 --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-vda --enable-videotoolbox --arch=x86_64 --enable-yasm --enable-libx265 --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
[iff @ 0x7fd367005800] Estimating duration from bitrate, this may be inaccurate
Input #0, iff, from 'At the Movies 1.anim':
  Metadata:
    comment         : TOROID
  Duration: 00:01:21.64, bitrate: 72 kb/s
    Stream #0:0: Audio: pcm_s8_planar (ANIM / 0x4D494E41), 9085 Hz, mono, u8p, 72 kb/s
% file At\ the\ Movies\ 1.anim 
At the Movies 1.anim: IFF data, ANIM animation

#6224 signed integer overflow in decode_coeffs_b_generic() avcodec defect Mar 7, 2017

Summary of the bug: UBSan: libavcodec/vp9.c:2255:13: runtime error: signed integer overflow: -262210 * 18766 cannot be represented in type 'int'

How to reproduce: Built with Undefined behavior sanitizer (-fsanitize=undefined)

% ffmpeg -f ivf -i <test_case> -f null -
ffmpeg version N-83756-g8aa4f3b Copyright (c) 2000-2017 the FFmpeg developers
  built with clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
  configuration: --cc=afl-clang-fast --cxx=afl-clang-fast++ --disable-libxcb --disable-xlib --disable-logging --disable-ffprobe --disable-ffplay --disable-sdl2 --disable-ffserver --disable-doc --disable-pthreads --disable-network --disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --disable-stripping --disable-runtime-cpudetect --disable-postproc --disable-securetransport --disable-iconv --disable-swscale --disable-avdevice --disable-videotoolbox --disable-everything --enable-encoder=wrapped_avframe --disable-lzma --enable-protocol='file,pipe' --enable-muxer=null --enable-demuxer=ivf --enable-parser=vp9 --enable-decoder=vp9 --disable-pic

libavcodec/vp9.c:2255:13: runtime error: signed integer overflow: -262210 * 18766 cannot be represented in type 'int'
    #0 0x9610af in decode_coeffs_b_generic libavcodec/vp9.c:2255:13
    #1 0x9610af in decode_coeffs_b_16bpp libavcodec/vp9.c:2289
    #2 0x8fb97a in decode_coeffs libavcodec/vp9.c:2408:9
    #3 0x8fb97a in decode_coeffs_16bpp libavcodec/vp9.c:2477
    #4 0x80377d in decode_b libavcodec/vp9.c:3240:30
    #5 0x7e632f in decode_sb libavcodec/vp9.c:3476:13
    #6 0x7e6b50 in decode_sb libavcodec/vp9.c:3444:17
    #7 0x7b1de2 in vp9_decode_frame libavcodec/vp9.c:4204:29
    #8 0x78369a in avcodec_decode_video2 libavcodec/utils.c:2263:19
    #9 0x791e73 in do_decode libavcodec/utils.c:2796:15
    #10 0x791354 in avcodec_send_packet libavcodec/utils.c:2885:12
    #11 0x7038f0 in try_decode_frame libavformat/utils.c:3000:19
    #12 0x6ee52b in avformat_find_stream_info libavformat/utils.c:3701:9
    #13 0x5094c8 in open_input_file ffmpeg_opt.c:1012:11
    #14 0x5059dc in open_files ffmpeg_opt.c:3197:15
    #15 0x505071 in ffmpeg_parse_options ffmpeg_opt.c:3237:11
    #16 0x5743d0 in main ffmpeg.c:4679:11
    #17 0x7fd38f21082f in __libc_start_main /build/glibc-t3gR2i/glibc-2.23/csu/../csu/libc-start.c:291
    #18 0x4198b8 in _start (ffmpeg+0x4198b8)

#6345 MPEG2 decode error avcodec defect Apr 24, 2017

Summary of the bug:

I have an XDCAM-422 MXF file which displays colored blocks near the very bottom part of some frames when decoded by ffmpeg decoder. The blocks appear when doing ffmpeg transcoding, in ffplay and when using libavcodec from a custom application. I would have guessed that the file is corrupt but other decoders (I tried opening the very same file in Adobe Premiere) display all the frames just fine.

How to reproduce:

ffmpeg started on 2017-04-24 at 00:34:07
Report written to "ffmpeg-20170424-003407.log"
Command line:
"C:\\my\\ffmpeg-20170418-6108805-win64-shared\\bin\\ffmpeg.exe" -report -i mpeg2_decode_artefact.mxf -an -vcodec h264 test.mp4
ffmpeg version N-85588-g6108805 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-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-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --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. 61.100 / 55. 61.100
  libavcodec     57. 93.100 / 57. 93.100
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 84.101 /  6. 84.101
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.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 'mpeg2_decode_artefact.mxf'.
Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'h264'.
Reading option 'test.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 mpeg2_decode_artefact.mxf.
Successfully parsed a group of options.
Opening an input file: mpeg2_decode_artefact.mxf.
[file @ 000000000259c740] Setting default whitelist 'file,crypto'
[mxf @ 000000000259b720] Format mxf probed with size=2048 and score=100
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.02.53.01.01.0d.01.01.01.01.01.23.00
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
[mxf @ 000000000259b720] Dark key 06.0e.2b.34.02.05.01.01.0d.01.02.01.01.11.01.00
[mxf @ 000000000259b720] mpeg2video: Universal Label: 060e2b34.0401.0103.04010202.01040300
[mxf @ 000000000259b720] video_line_map: (21, 584), field_dominance: 1
[mxf @ 000000000259b720] none: Universal Label: 00000000.0000.0000.00000000.00000000
[mxf @ 000000000259b720] none: Universal Label: 00000000.0000.0000.00000000.00000000
[mxf @ 000000000259b720] Before avformat_find_stream_info() pos: 6656 bytes read:68220 seeks:5 nb_streams:3
[mxf @ 000000000259b720] Probe buffer size limit of 5000000 bytes reached
[mxf @ 000000000259b720] rfps: 29.250000 0.017316
[mxf @ 000000000259b720] rfps: 29.250000 0.017316
[mxf @ 000000000259b720] rfps: 29.333333 0.013540
[mxf @ 000000000259b720] rfps: 29.333333 0.013540
[mxf @ 000000000259b720] rfps: 29.416667 0.010227
[mxf @ 000000000259b720] rfps: 29.416667 0.010227
[mxf @ 000000000259b720] rfps: 29.500000 0.007379
[mxf @ 000000000259b720] rfps: 29.500000 0.007379
[mxf @ 000000000259b720] rfps: 29.583333 0.004994
[mxf @ 000000000259b720] rfps: 29.583333 0.004994
[mxf @ 000000000259b720] rfps: 29.666667 0.003074
[mxf @ 000000000259b720] rfps: 29.666667 0.003074
[mxf @ 000000000259b720] rfps: 29.750000 0.001617
[mxf @ 000000000259b720] rfps: 29.750000 0.001617
[mxf @ 000000000259b720] rfps: 29.833333 0.000624
[mxf @ 000000000259b720] rfps: 29.833333 0.000624
[mxf @ 000000000259b720] rfps: 29.916667 0.000095
[mxf @ 000000000259b720] rfps: 29.916667 0.000095
[mxf @ 000000000259b720] rfps: 30.000000 0.000030
[mxf @ 000000000259b720] rfps: 60.000000 0.000120
[mxf @ 000000000259b720] rfps: 120.000000 0.000480
[mxf @ 000000000259b720] rfps: 240.000000 0.001920
[mxf @ 000000000259b720] rfps: 29.970030 0.000000
[mxf @ 000000000259b720] rfps: 59.940060 0.000000
[mxf @ 000000000259b720] After avformat_find_stream_info() pos: 5157376 bytes read:5218940 seeks:5 frames:58
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Input #0, mxf, from 'mpeg2_decode_artefact.mxf':
  Metadata:
    uid             : adab4424-2f25-4dc7-92ff-29bd000c0000
    generation_uid  : adab4424-2f25-4dc7-92ff-29bd000c0001
    company_name    : FFmpeg
    product_name    : OP1a Muxer
    product_version : 57.57.100
    product_uid     : adab4424-2f25-4dc7-92ff-29bd000c0002
    modification_date: 2017-04-24T04:02:49.000000Z
    material_package_umid: 0x060A2B340101010501010D001329272152947134A22927210052947134A22900
    timecode        : 00:00:00;00
  Duration: 00:00:04.00, start: 0.000000, bitrate: 55261 kb/s
    Stream #0:0, 20, 1001/30000: Video: mpeg2video (4:2:2), yuv422p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 50000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D001329272152947134A22927210052947134A22901
    Stream #0:1, 19, 1/48000: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D001329272152947134A22927210052947134A22901
    Stream #0:2, 19, 1/48000: Audio: pcm_s24le, 48000 Hz, mono, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D001329272152947134A22927210052947134A22901
Successfully opened the file.
Parsing a group of options: output url test.mp4.
Applying option an (disable audio) with argument 1.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument h264.
Successfully parsed a group of options.
Opening an output file: test.mp4.
Matched encoder 'libx264' for codec 'h264'.
[file @ 000000000260bf80] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 12 logical cores
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264))
Press [q] to stop, [?] for help
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)
[graph 0 input from stream 0:0 @ 0000000002c11aa0] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0000000002c11aa0] Setting 'pix_fmt' to value '4'
[graph 0 input from stream 0:0 @ 0000000002c11aa0] Setting 'time_base' to value '1001/30000'
[graph 0 input from stream 0:0 @ 0000000002c11aa0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0000000002c11aa0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0000000002c11aa0] Setting 'frame_rate' to value '30000/1001'
[graph 0 input from stream 0:0 @ 0000000002c11aa0] w:1920 h:1080 pixfmt:yuv422p tb:1001/30000 fr:30000/1001 sar:1/1 sws_param:flags=2
[format @ 0000000002c12040] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21]
[format @ 0000000002c12040] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21'
[AVFilterGraph @ 000000000260b4c0] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
No pixel format specified, yuv422p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 0000000000e274a0] using mv_range_thread = 24
[libx264 @ 0000000000e274a0] using SAR=1/1
[libx264 @ 0000000000e274a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0000000000e274a0] profile High 4:2:2, level 4.0, 4:2:2 8-bit
[libx264 @ 0000000000e274a0] 264 - core 148 r2762 90a61ec - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'test.mp4':
  Metadata:
    uid             : adab4424-2f25-4dc7-92ff-29bd000c0000
    generation_uid  : adab4424-2f25-4dc7-92ff-29bd000c0001
    company_name    : FFmpeg
    product_name    : OP1a Muxer
    product_version : 57.57.100
    product_uid     : adab4424-2f25-4dc7-92ff-29bd000c0002
    modification_date: 2017-04-24T04:02:49.000000Z
    material_package_umid: 0x060A2B340101010501010D001329272152947134A22927210052947134A22900
    timecode        : 00:00:00;00
    encoder         : Lavf57.72.101
    Stream #0:0, 0, 1/30000: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D001329272152947134A22927210052947134A22901
      encoder         : Lavc57.93.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Clipping frame in rate conversion by 0.000008
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)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] end mismatch left=2728 3 at 0 68
[mpeg2video @ 0000000002723140] Warning MVs not available
[mpeg2video @ 0000000002723140] concealing 120 DC, 120 AC, 120 MV errors in P frame
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)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] end mismatch left=2333 18 at 0 68
[mpeg2video @ 0000000002723140] Warning MVs not available
[mpeg2video @ 0000000002723140] concealing 120 DC, 120 AC, 120 MV errors in I frame
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] end mismatch left=2656 3 at 0 68
[mpeg2video @ 0000000002723140] Warning MVs not available
[mpeg2video @ 0000000002723140] concealing 120 DC, 120 AC, 120 MV errors in P frame
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)
[mpeg2video @ 0000000002723140] ignoring extra picture following a frame-picture
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
frame=   59 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video 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)
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[libx264 @ 0000000000e274a0] frame=   0 QP=24.65 NAL=3 Slice:I Poc:0   I:8160 P:0    SKIP:0    size=81415 bytes
[libx264 @ 0000000000e274a0] frame=   1 QP=24.61 NAL=2 Slice:P Poc:8   I:2800 P:5026 SKIP:334  size=50897 bytes
[libx264 @ 0000000000e274a0] frame=   2 QP=25.01 NAL=2 Slice:B Poc:4   I:442  P:5284 SKIP:2318 size=30736 bytes
[libx264 @ 0000000000e274a0] frame=   3 QP=25.59 NAL=0 Slice:B Poc:2   I:348  P:4852 SKIP:2858 size=25968 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=   4 QP=25.53 NAL=0 Slice:B Poc:6   I:305  P:5312 SKIP:2442 size=26763 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=   5 QP=24.27 NAL=2 Slice:P Poc:16  I:3173 P:4678 SKIP:309  size=52385 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=   6 QP=25.40 NAL=2 Slice:B Poc:12  I:550  P:5760 SKIP:1690 size=35990 bytes
[libx264 @ 0000000000e274a0] frame=   7 QP=25.48 NAL=0 Slice:B Poc:10  I:327  P:4757 SKIP:2956 size=26115 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=   8 QP=25.58 NAL=0 Slice:B Poc:14  I:328  P:4891 SKIP:2855 size=26679 bytes
[libx264 @ 0000000000e274a0] frame=   9 QP=25.01 NAL=2 Slice:P Poc:24  I:2142 P:5634 SKIP:384  size=52926 bytes
[libx264 @ 0000000000e274a0] frame=  10 QP=25.04 NAL=2 Slice:B Poc:20  I:358  P:5485 SKIP:2181 size=31373 bytes
[libx264 @ 0000000000e274a0] frame=  11 QP=25.49 NAL=0 Slice:B Poc:18  I:222  P:5477 SKIP:2373 size=26337 bytes
[libx264 @ 0000000000e274a0] frame=  12 QP=25.57 NAL=0 Slice:B Poc:22  I:284  P:4893 SKIP:2883 size=24836 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  13 QP=24.84 NAL=2 Slice:P Poc:32  I:1919 P:5913 SKIP:328  size=52563 bytes
[libx264 @ 0000000000e274a0] frame=  14 QP=25.26 NAL=2 Slice:B Poc:28  I:430  P:5320 SKIP:2245 size=32674 bytes
frame=   77 fps= 76 q=29.0 size=     565kB time=00:00:00.40 bitrate=11555.8kbits/s speed=0.395x    
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  15 QP=25.69 NAL=0 Slice:B Poc:26  I:291  P:4768 SKIP:3021 size=25031 bytes
[libx264 @ 0000000000e274a0] frame=  16 QP=25.63 NAL=0 Slice:B Poc:30  I:200  P:5330 SKIP:2551 size=25203 bytes
[libx264 @ 0000000000e274a0] frame=  17 QP=24.97 NAL=2 Slice:P Poc:40  I:1535 P:6178 SKIP:447  size=49355 bytes
[mpeg2video @ 0000000002723140] end mismatch left=280 307 at 0 68
[mpeg2video @ 0000000002723140] Warning MVs not available
[mpeg2video @ 0000000002723140] concealing 120 DC, 120 AC, 120 MV errors in I frame
[libx264 @ 0000000000e274a0] frame=  18 QP=25.32 NAL=2 Slice:B Poc:36  I:307  P:5692 SKIP:2004 size=31154 bytes
[libx264 @ 0000000000e274a0] frame=  19 QP=25.59 NAL=0 Slice:B Poc:34  I:228  P:4745 SKIP:3085 size=22975 bytes
[libx264 @ 0000000000e274a0] frame=  20 QP=25.59 NAL=0 Slice:B Poc:38  I:183  P:4827 SKIP:3083 size=22306 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  21 QP=24.80 NAL=2 Slice:P Poc:48  I:1646 P:6206 SKIP:308  size=52134 bytes
[mpeg2video @ 0000000002723140] end mismatch left=1423 6 at 0 68
[mpeg2video @ 0000000002723140] Warning MVs not available
[mpeg2video @ 0000000002723140] concealing 120 DC, 120 AC, 120 MV errors in B frame
[libx264 @ 0000000000e274a0] frame=  22 QP=25.24 NAL=2 Slice:B Poc:44  I:404  P:5304 SKIP:2299 size=32350 bytes
[libx264 @ 0000000000e274a0] frame=  23 QP=25.75 NAL=0 Slice:B Poc:42  I:294  P:5292 SKIP:2455 size=28164 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  24 QP=25.32 NAL=0 Slice:B Poc:46  I:312  P:4467 SKIP:3240 size=23202 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  25 QP=24.61 NAL=2 Slice:P Poc:56  I:2077 P:5751 SKIP:332  size=54473 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  26 QP=25.03 NAL=2 Slice:B Poc:52  I:318  P:5482 SKIP:2183 size=32519 bytes
[libx264 @ 0000000000e274a0] frame=  27 QP=25.65 NAL=0 Slice:B Poc:50  I:270  P:4795 SKIP:2987 size=24895 bytes
[libx264 @ 0000000000e274a0] frame=  28 QP=25.69 NAL=0 Slice:B Poc:54  I:211  P:5338 SKIP:2502 size=25657 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  29 QP=24.64 NAL=2 Slice:P Poc:64  I:1886 P:5873 SKIP:401  size=50651 bytes
[libx264 @ 0000000000e274a0] frame=  30 QP=25.52 NAL=2 Slice:B Poc:60  I:465  P:5502 SKIP:2046 size=33233 bytes
[libx264 @ 0000000000e274a0] frame=  31 QP=25.73 NAL=0 Slice:B Poc:58  I:297  P:4763 SKIP:2972 size=24692 bytes
[libx264 @ 0000000000e274a0] frame=  32 QP=25.76 NAL=0 Slice:B Poc:62  I:288  P:4857 SKIP:2955 size=24267 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  33 QP=25.13 NAL=2 Slice:P Poc:72  I:1934 P:5871 SKIP:355  size=61749 bytes
[libx264 @ 0000000000e274a0] frame=  34 QP=25.27 NAL=2 Slice:B Poc:68  I:378  P:5277 SKIP:2379 size=30454 bytes
frame=   97 fps= 64 q=29.0 size=    1224kB time=00:00:01.06 bitrate=9387.1kbits/s speed= 0.7x    
[libx264 @ 0000000000e274a0] frame=  35 QP=25.75 NAL=0 Slice:B Poc:66  I:211  P:5307 SKIP:2552 size=24664 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  36 QP=25.86 NAL=0 Slice:B Poc:70  I:303  P:4719 SKIP:3040 size=24343 bytes
[libx264 @ 0000000000e274a0] frame=  37 QP=24.93 NAL=2 Slice:P Poc:80  I:2102 P:5780 SKIP:278  size=64696 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  38 QP=24.81 NAL=2 Slice:B Poc:76  I:564  P:5222 SKIP:2173 size=42840 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  39 QP=25.87 NAL=0 Slice:B Poc:74  I:325  P:4835 SKIP:2914 size=30942 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  40 QP=25.85 NAL=0 Slice:B Poc:78  I:235  P:5430 SKIP:2419 size=35290 bytes
[libx264 @ 0000000000e274a0] frame=  41 QP=24.88 NAL=2 Slice:P Poc:88  I:1985 P:5825 SKIP:350  size=62651 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  42 QP=25.50 NAL=2 Slice:B Poc:84  I:319  P:5937 SKIP:1751 size=42741 bytes
[mpeg2video @ 0000000002723140] Invalid MXF data found in video stream
[libx264 @ 0000000000e274a0] frame=  43 QP=25.72 NAL=0 Slice:B Poc:82  I:265  P:4851 SKIP:2921 size=31544 bytes
[libx264 @ 0000000000e274a0] frame=  44 QP=25.80 NAL=0 Slice:B Poc:86  I:238  P:4915 SKIP:2891 size=30325 bytes
[libx264 @ 0000000000e274a0] frame=  45 QP=24.98 NAL=2 Slice:P Poc:96  I:1364 P:6374 SKIP:422  size=59161 bytes
[libx264 @ 0000000000e274a0] frame=  46 QP=25.57 NAL=2 Slice:B Poc:92  I:417  P:5315 SKIP:2263 size=38988 bytes
[libx264 @ 0000000000e274a0] frame=  47 QP=26.12 NAL=0 Slice:B Poc:90  I:279  P:5119 SKIP:2637 size=32012 bytes
[libx264 @ 0000000000e274a0] frame=  48 QP=25.83 NAL=0 Slice:B Poc:94  I:241  P:4870 SKIP:2970 size=28146 bytes
[libx264 @ 0000000000e274a0] frame=  49 QP=24.87 NAL=2 Slice:P Poc:104 I:1889 P:5917 SKIP:354  size=53076 bytes
[libx264 @ 0000000000e274a0] frame=  50 QP=25.48 NAL=2 Slice:B Poc:100 I:367  P:5352 SKIP:2315 size=37672 bytes
[libx264 @ 0000000000e274a0] frame=  51 QP=25.80 NAL=0 Slice:B Poc:98  I:239  P:4667 SKIP:3158 size=28363 bytes
[libx264 @ 0000000000e274a0] frame=  52 QP=25.72 NAL=0 Slice:B Poc:102 I:358  P:5377 SKIP:2313 size=29900 bytes
frame=  115 fps= 57 q=29.0 size=    1905kB time=00:00:01.66 bitrate=9351.8kbits/s speed=0.821x    
[libx264 @ 0000000000e274a0] frame=  53 QP=24.76 NAL=2 Slice:P Poc:112 I:1746 P:6011 SKIP:403  size=50151 bytes
[libx264 @ 0000000000e274a0] frame=  54 QP=25.20 NAL=2 Slice:B Poc:108 I:306  P:5752 SKIP:1961 size=32557 bytes
[libx264 @ 0000000000e274a0] frame=  55 QP=25.29 NAL=0 Slice:B Poc:106 I:307  P:4369 SKIP:3345 size=22678 bytes
[libx264 @ 0000000000e274a0] frame=  56 QP=25.64 NAL=0 Slice:B Poc:110 I:296  P:4788 SKIP:2981 size=25277 bytes
[libx264 @ 0000000000e274a0] frame=  57 QP=25.21 NAL=2 Slice:P Poc:120 I:1693 P:6027 SKIP:440  size=51447 bytes
No more output streams to write to, finishing.
[libx264 @ 0000000000e274a0] frame=  58 QP=25.20 NAL=2 Slice:B Poc:116 I:385  P:5558 SKIP:2060 size=32544 bytes
[libx264 @ 0000000000e274a0] frame=  59 QP=25.77 NAL=0 Slice:B Poc:114 I:238  P:5335 SKIP:2480 size=26901 bytes
[libx264 @ 0000000000e274a0] frame=  60 QP=25.65 NAL=0 Slice:B Poc:118 I:287  P:5046 SKIP:2726 size=25764 bytes
[libx264 @ 0000000000e274a0] frame=  61 QP=24.91 NAL=2 Slice:P Poc:128 I:2288 P:5464 SKIP:408  size=54409 bytes
[libx264 @ 0000000000e274a0] frame=  62 QP=25.16 NAL=2 Slice:B Poc:124 I:417  P:5490 SKIP:2074 size=33223 bytes
[libx264 @ 0000000000e274a0] frame=  63 QP=25.74 NAL=0 Slice:B Poc:122 I:311  P:4864 SKIP:2867 size=25567 bytes
[libx264 @ 0000000000e274a0] frame=  64 QP=25.74 NAL=0 Slice:B Poc:126 I:245  P:5407 SKIP:2398 size=26414 bytes
[libx264 @ 0000000000e274a0] frame=  65 QP=24.34 NAL=2 Slice:P Poc:136 I:4182 P:3613 SKIP:365  size=58546 bytes
[libx264 @ 0000000000e274a0] frame=  66 QP=25.49 NAL=2 Slice:B Poc:132 I:496  P:5655 SKIP:1840 size=35540 bytes
[libx264 @ 0000000000e274a0] frame=  67 QP=25.77 NAL=0 Slice:B Poc:130 I:320  P:4742 SKIP:2978 size=25538 bytes
[libx264 @ 0000000000e274a0] frame=  68 QP=25.71 NAL=0 Slice:B Poc:134 I:361  P:5004 SKIP:2689 size=27191 bytes
[libx264 @ 0000000000e274a0] frame=  69 QP=24.85 NAL=2 Slice:P Poc:144 I:2367 P:5543 SKIP:250  size=61089 bytes
[libx264 @ 0000000000e274a0] frame=  70 QP=25.45 NAL=2 Slice:B Poc:140 I:464  P:5394 SKIP:2141 size=32830 bytes
[libx264 @ 0000000000e274a0] frame=  71 QP=25.64 NAL=0 Slice:B Poc:138 I:229  P:5408 SKIP:2401 size=26323 bytes
[libx264 @ 0000000000e274a0] frame=  72 QP=25.46 NAL=0 Slice:B Poc:142 I:197  P:5080 SKIP:2785 size=24359 bytes
[libx264 @ 0000000000e274a0] frame=  73 QP=24.84 NAL=2 Slice:P Poc:152 I:2484 P:5442 SKIP:234  size=56100 bytes
[libx264 @ 0000000000e274a0] frame=  74 QP=25.20 NAL=2 Slice:B Poc:148 I:582  P:5479 SKIP:1922 size=35834 bytes
[libx264 @ 0000000000e274a0] frame=  75 QP=25.57 NAL=0 Slice:B Poc:146 I:225  P:5036 SKIP:2783 size=25182 bytes
[libx264 @ 0000000000e274a0] frame=  76 QP=25.83 NAL=0 Slice:B Poc:150 I:299  P:5517 SKIP:2240 size=29053 bytes
[libx264 @ 0000000000e274a0] frame=  77 QP=25.01 NAL=2 Slice:P Poc:160 I:2550 P:5330 SKIP:280  size=53889 bytes
[libx264 @ 0000000000e274a0] frame=  78 QP=25.38 NAL=2 Slice:B Poc:156 I:556  P:5896 SKIP:1569 size=36681 bytes
[libx264 @ 0000000000e274a0] frame=  79 QP=25.67 NAL=0 Slice:B Poc:154 I:423  P:5142 SKIP:2471 size=28538 bytes
[libx264 @ 0000000000e274a0] frame=  80 QP=25.66 NAL=0 Slice:B Poc:158 I:370  P:4994 SKIP:2715 size=25996 bytes
[libx264 @ 0000000000e274a0] frame=  81 QP=24.91 NAL=2 Slice:P Poc:168 I:2185 P:5745 SKIP:230  size=68291 bytes
[libx264 @ 0000000000e274a0] frame=  82 QP=25.45 NAL=2 Slice:B Poc:164 I:664  P:5591 SKIP:1726 size=44404 bytes
[libx264 @ 0000000000e274a0] frame=  83 QP=25.90 NAL=0 Slice:B Poc:162 I:425  P:5494 SKIP:2097 size=34890 bytes
[libx264 @ 0000000000e274a0] frame=  84 QP=25.50 NAL=0 Slice:B Poc:166 I:398  P:4859 SKIP:2760 size=35315 bytes
[libx264 @ 0000000000e274a0] frame=  85 QP=25.02 NAL=2 Slice:P Poc:176 I:1918 P:5941 SKIP:301  size=60645 bytes
[libx264 @ 0000000000e274a0] frame=  86 QP=25.46 NAL=2 Slice:B Poc:172 I:587  P:5446 SKIP:1972 size=43812 bytes
[libx264 @ 0000000000e274a0] frame=  87 QP=25.73 NAL=0 Slice:B Poc:170 I:319  P:5046 SKIP:2679 size=35167 bytes
[libx264 @ 0000000000e274a0] frame=  88 QP=26.06 NAL=0 Slice:B Poc:174 I:349  P:5516 SKIP:2213 size=36920 bytes
[libx264 @ 0000000000e274a0] frame=  89 QP=24.92 NAL=2 Slice:P Poc:184 I:2156 P:5718 SKIP:286  size=61510 bytes
[libx264 @ 0000000000e274a0] frame=  90 QP=25.38 NAL=2 Slice:B Poc:180 I:426  P:5935 SKIP:1636 size=42838 bytes
[libx264 @ 0000000000e274a0] frame=  91 QP=25.90 NAL=0 Slice:B Poc:178 I:308  P:5055 SKIP:2690 size=34389 bytes
[libx264 @ 0000000000e274a0] frame=  92 QP=25.86 NAL=0 Slice:B Poc:182 I:347  P:5266 SKIP:2448 size=33465 bytes
[libx264 @ 0000000000e274a0] frame=  93 QP=25.03 NAL=2 Slice:P Poc:192 I:2364 P:5538 SKIP:258  size=56531 bytes
[libx264 @ 0000000000e274a0] frame=  94 QP=25.31 NAL=2 Slice:B Poc:188 I:538  P:5654 SKIP:1805 size=40669 bytes
[libx264 @ 0000000000e274a0] frame=  95 QP=26.01 NAL=0 Slice:B Poc:186 I:441  P:5675 SKIP:1945 size=36039 bytes
[libx264 @ 0000000000e274a0] frame=  96 QP=25.83 NAL=0 Slice:B Poc:190 I:361  P:5007 SKIP:2714 size=32047 bytes
[libx264 @ 0000000000e274a0] frame=  97 QP=24.66 NAL=2 Slice:P Poc:200 I:1957 P:5950 SKIP:253  size=51611 bytes
[libx264 @ 0000000000e274a0] frame=  98 QP=24.76 NAL=2 Slice:B Poc:196 I:611  P:5326 SKIP:2059 size=35532 bytes
[libx264 @ 0000000000e274a0] frame=  99 QP=25.64 NAL=0 Slice:B Poc:194 I:342  P:5107 SKIP:2608 size=28307 bytes
[libx264 @ 0000000000e274a0] frame= 100 QP=25.59 NAL=0 Slice:B Poc:198 I:262  P:5719 SKIP:2087 size=29143 bytes
[libx264 @ 0000000000e274a0] frame= 101 QP=25.10 NAL=2 Slice:P Poc:208 I:1938 P:5864 SKIP:358  size=51473 bytes
[libx264 @ 0000000000e274a0] frame= 102 QP=25.39 NAL=2 Slice:B Poc:204 I:421  P:5800 SKIP:1774 size=35399 bytes
[libx264 @ 0000000000e274a0] frame= 103 QP=25.60 NAL=0 Slice:B Poc:202 I:187  P:5082 SKIP:2803 size=24889 bytes
[libx264 @ 0000000000e274a0] frame= 104 QP=25.74 NAL=0 Slice:B Poc:206 I:287  P:5075 SKIP:2691 size=26452 bytes
[libx264 @ 0000000000e274a0] frame= 105 QP=24.92 NAL=2 Slice:P Poc:216 I:2396 P:5423 SKIP:341  size=58751 bytes
[libx264 @ 0000000000e274a0] frame= 106 QP=25.38 NAL=2 Slice:B Poc:212 I:383  P:5609 SKIP:2026 size=33412 bytes
[libx264 @ 0000000000e274a0] frame= 107 QP=25.70 NAL=0 Slice:B Poc:210 I:202  P:5369 SKIP:2447 size=26113 bytes
[libx264 @ 0000000000e274a0] frame= 108 QP=25.59 NAL=0 Slice:B Poc:214 I:225  P:5029 SKIP:2779 size=24968 bytes
[libx264 @ 0000000000e274a0] frame= 109 QP=24.54 NAL=2 Slice:P Poc:224 I:2477 P:5406 SKIP:277  size=59456 bytes
[libx264 @ 0000000000e274a0] frame= 110 QP=25.40 NAL=2 Slice:B Poc:220 I:351  P:5403 SKIP:2254 size=33531 bytes
[libx264 @ 0000000000e274a0] frame= 111 QP=25.60 NAL=0 Slice:B Poc:218 I:231  P:4928 SKIP:2892 size=24069 bytes
[libx264 @ 0000000000e274a0] frame= 112 QP=25.45 NAL=0 Slice:B Poc:222 I:185  P:5420 SKIP:2444 size=26820 bytes
[libx264 @ 0000000000e274a0] frame= 113 QP=24.84 NAL=2 Slice:P Poc:232 I:980  P:6729 SKIP:451  size=46076 bytes
[libx264 @ 0000000000e274a0] frame= 114 QP=24.88 NAL=2 Slice:B Poc:228 I:246  P:5935 SKIP:1851 size=32356 bytes
[libx264 @ 0000000000e274a0] frame= 115 QP=25.31 NAL=0 Slice:B Poc:226 I:73   P:4565 SKIP:3450 size=19023 bytes
[libx264 @ 0000000000e274a0] frame= 116 QP=25.48 NAL=0 Slice:B Poc:230 I:111  P:4721 SKIP:3272 size=20772 bytes
[libx264 @ 0000000000e274a0] frame= 117 QP=25.40 NAL=2 Slice:P Poc:238 I:2151 P:5358 SKIP:651  size=40115 bytes
[libx264 @ 0000000000e274a0] frame= 118 QP=25.41 NAL=2 Slice:B Poc:234 I:276  P:5129 SKIP:2695 size=27949 bytes
[libx264 @ 0000000000e274a0] frame= 119 QP=25.68 NAL=0 Slice:B Poc:236 I:169  P:4823 SKIP:3119 size=23152 bytes
frame=  120 fps= 35 q=-1.0 Lsize=    4315kB time=00:00:03.90 bitrate=9055.5kbits/s speed=1.14x    
video:4313kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.066235%
Input file #0 (mpeg2_decode_artefact.mxf):
  Input stream #0:0 (video): 120 packets read (26340382 bytes); 120 frames decoded; 
  Input stream #0:1 (audio): 19 packets read (91290 bytes); 
  Input stream #0:2 (audio): 19 packets read (91290 bytes); 
  Total: 158 packets (26522962 bytes) demuxed
Output file #0 (test.mp4):
  Output stream #0:0 (video): 120 frames encoded; 120 packets muxed (4416087 bytes); 
  Total: 120 packets (4416087 bytes) muxed
120 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0000000000e28e40] Statistics: 58 seeks, 225 writeouts
[libx264 @ 0000000000e274a0] frame I:1     Avg QP:24.65  size: 81415
[libx264 @ 0000000000e274a0] frame P:30    Avg QP:24.86  size: 55227
[libx264 @ 0000000000e274a0] frame B:89    Avg QP:25.55  size: 30081
[libx264 @ 0000000000e274a0] consecutive B-frames:  0.8%  0.0%  2.5% 96.7%
[libx264 @ 0000000000e274a0] mb I  I16..4: 11.3% 83.4%  5.3%
[libx264 @ 0000000000e274a0] mb P  I16..4:  3.4% 22.4%  0.5%  P16..4: 52.2% 10.3%  7.0%  0.0%  0.0%    skip: 4.2%
[libx264 @ 0000000000e274a0] mb B  I16..4:  0.6%  3.5%  0.0%  B16..8: 47.4%  4.4%  0.7%  direct:12.9%  skip:30.6%  L0:47.9% L1:49.1% BI: 2.9%
[libx264 @ 0000000000e274a0] 8x8 transform intra:85.1% inter:89.8%
[libx264 @ 0000000000e274a0] coded y,uvDC,uvAC intra: 61.4% 85.0% 8.9% inter: 29.1% 61.9% 0.6%
[libx264 @ 0000000000e274a0] i16 v,h,dc,p: 20% 32% 16% 32%
[libx264 @ 0000000000e274a0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 18% 35%  4%  5%  6%  5%  4%  5%
[libx264 @ 0000000000e274a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 51% 11%  3%  4%  3%  5%  3%  4%
[libx264 @ 0000000000e274a0] i8c dc,h,v,p: 49% 19% 22% 10%
[libx264 @ 0000000000e274a0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0000000000e274a0] ref P L0: 48.4% 12.1% 25.6% 13.9%
[libx264 @ 0000000000e274a0] ref B L0: 79.9% 15.6%  4.5%
[libx264 @ 0000000000e274a0] ref B L1: 92.0%  8.0%
[libx264 @ 0000000000e274a0] kb/s:8821.97
[AVIOContext @ 00000000025a4900] Statistics: 27719864 bytes read, 5 seeks

#6874 "Invalid image height" decoding seemingly valid animated gif avcodec defect Nov 27, 2017

Summary of the bug: After successfully converting numerous animated gifs to mp4, we ran into one that ffmpeg chokes on. It gives the error for the sample linked below:

[gif @ 0xac23860] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input

The gif in question animates properly in the web browser and can be decoded without warning by other gif tools

How to reproduce:

ffmpeg -i ani_gif_invalid_image_height.gif -f mp4 xyz.mp4

Sample

https://ufile.io/7mr08 (9MB)

Output:

ffmpeg version 3.4.git Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18)
  configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags='-L/root/ffmpeg_build/lib -ldl' --bindir=/usr/local/bin --pkg-conf$
  libavutil      56.  3.100 / 56.  3.100
  libavcodec     58.  6.100 / 58.  6.100
  libavformat    58.  2.102 / 58.  2.102
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7.  5.100 /  7.  5.100
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, gif, from 'ani_gif_invalid_image_height.gif':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: gif, bgra, 680x449, 10 fps, 10 tbr, 100 tbn, 100 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (gif (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0xabe5b80] using cpu capabilities: none!
[libx264 @ 0xabe5b80] profile High 4:4:4 Predictive, level 2.2, 4:4:4 8-bit
[libx264 @ 0xabe5b80] 264 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0$
Output #0, mp4, to 'xyz.mp4':
  Metadata:
    encoder         : Lavf58.2.102
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p, 680x449, q=-1--1, 10 fps, 10240 tbn, 10 tbc
    Metadata:
      encoder         : Lavc58.6.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
[gif @ 0xab9bd60] Invalid image height.
Error while decoding stream #0:0: Invalid data found when processing input
frame=    1 fps=0.0 q=25.0 Lsize=      22kB time=00:00:00.00 bitrate=1834775.5kbits/s speed=0.000265x
video:21kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.695502%
[libx264 @ 0xabe5b80] frame I:1     Avg QP:25.80  size: 21007
[libx264 @ 0xabe5b80] mb I  I16..4: 20.3% 56.7% 23.0%
[libx264 @ 0xabe5b80] 8x8 transform intra:56.7%
[libx264 @ 0xabe5b80] coded y,u,v intra: 65.6% 0.0% 0.0%
[libx264 @ 0xabe5b80] i16 v,h,dc,p: 69%  9% 16%  6%
[libx264 @ 0xabe5b80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 24% 20%  4%  7%  5%  8%  5%  9%
[libx264 @ 0xabe5b80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 25% 12%  6%  8%  7%  9%  5%  9%
[libx264 @ 0xabe5b80] kb/s:1680.56
Conversion failed!

ffmpeg -v 9 -loglevel 99 -i ani_gif_invalid_image_height.gif

[root@localhost test]# ffmpeg -v 9 -loglevel 99 -i ani_gif_invalid_image_height.gif
ffmpeg version 3.4.git Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-18)
  configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags='-L/root/ffmpeg_build/lib -ldl' --bindir=/usr/local/bin --pkg-config-flags=--static --enable-gpl --enable-version3 --enable-nonfree --enable-libfreetype --enable-libvorbis --enable-libx264
  libavutil      56.  3.100 / 56.  3.100
  libavcodec     58.  6.100 / 58.  6.100
  libavformat    58.  2.102 / 58.  2.102
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7.  5.100 /  7.  5.100
  libswscale      5.  0.101 /  5.  0.101
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input url with argument 'ani_gif_invalid_image_height.gif'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url ani_gif_invalid_image_height.gif.
Successfully parsed a group of options.
Opening an input file: ani_gif_invalid_image_height.gif.
[NULL @ 0xb5bf1c0] Opening 'ani_gif_invalid_image_height.gif' for reading
[file @ 0xb5bf960] Setting default whitelist 'file,crypto'
Probing gif score:100 size:2048
[gif @ 0xb5bf1c0] Format gif probed with size=2048 and score=100
[gif @ 0xb5bf1c0] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:1
[gif @ 0xb5bf1c0] Probe buffer size limit of 5000000 bytes reached
[gif @ 0xb5bf1c0] stream 0: start_time: -92233720368547760.000 duration: -92233720368547760.000
[gif @ 0xb5bf1c0] format: start_time: -9223372036854.775 duration: -9223372036854.775 bitrate=0 kb/s
[gif @ 0xb5bf1c0] After avformat_find_stream_info() pos: 5031219 bytes read:10831155 seeks:36 frames:36
Input #0, gif, from 'ani_gif_invalid_image_height.gif':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 36, 1/100: Video: gif, 1 reference frame, bgra, 680x449, 0/1, 10 fps, 10 tbr, 100 tbn, 100 tbc
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0xb5c7b00] Statistics: 10831155 bytes read, 36 seeks

#7069 H.264 decoder fails and not restores into correct decoding after error avcodec defect Mar 7, 2018

Summary of the bug:

FFmpeg transcodes stream and after some error in stream decoder fails and can't restore it's normal operational condition and defects output bitstream (it seems that defect at decoding stage).

How to reproduce:

% ffmpeg -i pipe:0 -b:0 1800k -maxrate:0 2000k -codec:0 libx264 -bufsize:0 1710k -preset:0 faster -streamid 0:101 -map 0:v -f mpegts pipe:1 < squared_cut.ts > outff.ts
ffmpeg version N-90223-g8218249 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.5) 20160609
  configuration: --prefix=/usr/local --pkg-config-flags=--static --enable-static --disable-shared --disable-avdevice --enable-runtime-cpudetect --enable-gpl --enable-libx264 --enable-libx265 --enable-libmp3lame --extra-libs=-lpthread
  libavutil      56.  8.100 / 56.  8.100
  libavcodec     58. 13.102 / 58. 13.102
  libavformat    58. 10.100 / 58. 10.100
  libavfilter     7. 12.100 /  7. 12.100
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
[h264 @ 0x3edf100] SPS unavailable in decode_picture_timing
[h264 @ 0x3edf100] non-existing PPS 0 referenced
[h264 @ 0x3edf100] SPS unavailable in decode_picture_timing
[h264 @ 0x3edf100] non-existing PPS 0 referenced
[h264 @ 0x3edf100] decode_slice_header error
[h264 @ 0x3edf100] no frame!
[h264 @ 0x3edf100] SPS unavailable in decode_picture_timing

...

Input #0, mpegts, from 'pipe:0':
  Duration: N/A, start: 74179.963833, bitrate: N/A
  Program 1070 
    Metadata:
      service_name    : ?07 ??????-24
      service_provider: ?????
    Stream #0:0[0x42f]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x430]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
[h264 @ 0x3ee19c0] co located POCs unavailable
[libx264 @ 0x3ed3b80] using SAR=16/11
[libx264 @ 0x3ed3b80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x3ed3b80] profile High, level 3.0
Output #0, mpegts, to 'pipe:1':
  Metadata:
    encoder         : Lavf58.10.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 720x576 [SAR 16:11 DAR 20:11], q=-1--1, 1800 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.13.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 2000000/0/1800000 buffer size: 1710000 vbv_delay: -1
[h264 @ 0x3ee19c0] Found reference and non-reference fields in the same frame, which is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[h264 @ 0x3ee19c0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[h264 @ 0x3ee19c0] decode_slice_header error
[h264 @ 0x4458100] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0x4458100] Missing reference picture, default is 68916
    Last message repeated 1 times
[h264 @ 0x4134540] reference picture missing during reorder
[h264 @ 0x4134540] Missing reference picture, default is 68917
[h264 @ 0x40e3c80] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x40e3c80] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0x41c0580] chroma_log2_weight_denom 12 is out of rangetrate=1769.3kbits/s speed=20.2x    
[h264 @ 0x41c0580] Reference 4 >= 2
[h264 @ 0x41c0580] error while decoding MB 3 1, bytestream 906
[h264 @ 0x41a1300] chroma_log2_weight_denom 12 is out of range
[h264 @ 0x41a1300] top block unavailable for requested intra mode -1
[h264 @ 0x41a1300] error while decoding MB 11 0, bytestream 994
[h264 @ 0x4115dc0] chroma_log2_weight_denom 14 is out of range
[h264 @ 0x4115dc0] cabac_init_idc 4 overflow
[h264 @ 0x4115dc0] decode_slice_header error
[h264 @ 0x4115dc0] no frame!
[h264 @ 0x4189680] mmco: unref short failure
[h264 @ 0x4189680] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
[h264 @ 0x40e1800] mmco: unref short failure
[h264 @ 0x3f7fa80] mmco: unref short failure
[h264 @ 0x3f75740] cabac_init_idc 32 overflow
[h264 @ 0x3f75740] decode_slice_header error
[h264 @ 0x3f75740] no frame!
[h264 @ 0x4458100] cabac_init_idc 32 overflow
[h264 @ 0x4458100] decode_slice_header error
[h264 @ 0x4458100] no frame!
[h264 @ 0x4134540] deblocking_filter_idc 32 out of range
[h264 @ 0x4134540] decode_slice_header error
[h264 @ 0x4134540] no frame!
[h264 @ 0x41c0580] deblocking_filter_idc 32 out of range
[h264 @ 0x41c0580] decode_slice_header error
[h264 @ 0x41c0580] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x41a1300] deblocking_filter_idc 32 out of range
[h264 @ 0x41a1300] decode_slice_header error
[h264 @ 0x41a1300] no frame!
[h264 @ 0x4115dc0] deblocking_filter_idc 32 out of range
[h264 @ 0x4115dc0] decode_slice_header error
[h264 @ 0x4115dc0] no frame!
[h264 @ 0x4265600] cabac_init_idc 19 overflow
[h264 @ 0x4265600] decode_slice_header error
[h264 @ 0x4265600] no frame!
[h264 @ 0x4189680] cabac_init_idc 31 overflow
[h264 @ 0x4189680] decode_slice_header error
[h264 @ 0x4189680] no frame!
[h264 @ 0x40dcec0] cabac_init_idc 32 overflow
[h264 @ 0x40dcec0] decode_slice_header error
[h264 @ 0x40dcec0] no frame!
[h264 @ 0x40e1800] cabac_init_idc 32 overflow
[h264 @ 0x40e1800] decode_slice_header error
[h264 @ 0x40e1800] no frame!
Past duration 0.999992 too large
[h264 @ 0x3ee19c0] deblocking_filter_idc 32 out of range
[h264 @ 0x3ee19c0] decode_slice_header error
[h264 @ 0x3ee19c0] no frame!
[h264 @ 0x411a4c0] deblocking_filter_idc 32 out of range
[h264 @ 0x411a4c0] decode_slice_header error
[h264 @ 0x411a4c0] no frame!
Past duration 0.999992 too large
[h264 @ 0x40e3c80] deblocking_filter_idc 32 out of range
[h264 @ 0x40e3c80] decode_slice_header error
[h264 @ 0x40e3c80] no frame!
[h264 @ 0x3f4f640] deblocking_filter_idc 32 out of range
[h264 @ 0x3f4f640] decode_slice_header error
[h264 @ 0x3f4f640] no frame!
Past duration 0.999992 too large
[h264 @ 0x424a480] cabac_init_idc 19 overflow
[h264 @ 0x424a480] decode_slice_header error
[h264 @ 0x424a480] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x3f7fa80] cabac_init_idc 31 overflow
[h264 @ 0x3f7fa80] decode_slice_header error
[h264 @ 0x3f7fa80] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x3f75740] cabac_init_idc 32 overflow
[h264 @ 0x3f75740] decode_slice_header error
[h264 @ 0x3f75740] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x4458100] cabac_init_idc 32 overflow
[h264 @ 0x4458100] decode_slice_header error
[h264 @ 0x4458100] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x4134540] deblocking_filter_idc 32 out of range
[h264 @ 0x4134540] decode_slice_header error
[h264 @ 0x4134540] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x41c0580] deblocking_filter_idc 32 out of range
[h264 @ 0x41c0580] decode_slice_header error
[h264 @ 0x41c0580] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x41a1300] deblocking_filter_idc 32 out of range
[h264 @ 0x41a1300] decode_slice_header error
[h264 @ 0x41a1300] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x4115dc0] deblocking_filter_idc 32 out of range
[h264 @ 0x4115dc0] decode_slice_header error
[h264 @ 0x4115dc0] no frame!
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 14 times
[h264 @ 0x4134540] left block unavailable for requested intra modee=1916.3kbits/s dup=0 drop=1 speed=  21x    
[h264 @ 0x4134540] error while decoding MB 0 22, bytestream 1448
[h264 @ 0x41c0580] reference picture missing during reorder
[h264 @ 0x41c0580] Missing reference picture, default is 87632
[h264 @ 0x41a1300] reference picture missing during reorder
[h264 @ 0x41a1300] Missing reference picture, default is 87625
[h264 @ 0x4265600] Reference 5 >= 2
[h264 @ 0x4265600] error while decoding MB 10 1, bytestream 6374
[h264 @ 0x4189680] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0x4189680] chroma_log2_weight_denom 12 is out of range
[h264 @ 0x4189680] deblocking filter parameters -15 -1 out of range
[h264 @ 0x4189680] decode_slice_header error
[h264 @ 0x40dcec0] chroma_log2_weight_denom 12 is out of range
[h264 @ 0x4115dc0] Reference 4 >= 2
[h264 @ 0x4115dc0] error while decoding MB 29 24, bytestream 2090
[h264 @ 0x40e1800] chroma_log2_weight_denom 12 is out of range
[h264 @ 0x40e1800] deblocking_filter_idc 7 out of range
[h264 @ 0x40e1800] decode_slice_header error
[h264 @ 0x3ee19c0] chroma_log2_weight_denom 12 is out of range
[h264 @ 0x3ee19c0] cabac_init_idc 23 overflow
[h264 @ 0x3ee19c0] decode_slice_header error
[NULL @ 0x3edf100] chroma_log2_weight_denom 9 is out of range
[h264 @ 0x411a4c0] Found reference and non-reference fields in the same frame, which is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[h264 @ 0x411a4c0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[h264 @ 0x411a4c0] decode_slice_header error
[h264 @ 0x40e3c80] chroma_log2_weight_denom 9 is out of range
[h264 @ 0x40e3c80] deblocking_filter_idc 14 out of range
[h264 @ 0x40e3c80] decode_slice_header error
[h264 @ 0x424a480] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0x3f4f640] Reference 3 >= 2
[h264 @ 0x3f4f640] error while decoding MB 13 0, bytestream 6678
[h264 @ 0x424a480] top block unavailable for requested intra mode -1
[h264 @ 0x424a480] error while decoding MB 23 1, bytestream 5806
[h264 @ 0x3f7fa80] chroma_log2_weight_denom 12 is out of range
[h264 @ 0x3f75740] chroma_log2_weight_denom 12 is out of range
[h264 @ 0x3f7fa80] Reference 3 >= 2
[h264 @ 0x3f7fa80] error while decoding MB 5 2, bytestream 3282
[h264 @ 0x3f75740] Reference 3 >= 2
[h264 @ 0x3f75740] error while decoding MB 30 3, bytestream 3331
[h264 @ 0x4458100] chroma_log2_weight_denom 12 is out of range
[h264 @ 0x4458100] cabac_init_idc 5 overflow
[h264 @ 0x4458100] decode_slice_header error
[h264 @ 0x4458100] no frame!
[h264 @ 0x4134540] chroma_log2_weight_denom 12 is out of range
[h264 @ 0x4134540] Reference 7 >= 2
[h264 @ 0x4134540] error while decoding MB 12 1, bytestream 3130
[h264 @ 0x41c0580] Found reference and non-reference fields in the same frame, which is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[h264 @ 0x41c0580] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[h264 @ 0x41c0580] decode_slice_header error
[NULL @ 0x3edf100] chroma_log2_weight_denom 9 is out of range
[h264 @ 0x41a1300] chroma_log2_weight_denom 9 is out of range
[h264 @ 0x41a1300] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0x41a1300] Missing reference picture, default is 87869
    Last message repeated 1 times
[h264 @ 0x41a1300] Reference 3 >= 2
[h264 @ 0x41a1300] error while decoding MB 4 1, bytestream 9567
[h264 @ 0x4115dc0] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0x4265600] number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0x4265600] Reference 4 >= 2
[h264 @ 0x4265600] error while decoding MB 1 1, bytestream 4895
[h264 @ 0x4115dc0] Reference 3 >= 2
[h264 @ 0x4115dc0] error while decoding MB 22 2, bytestream 6051
[h264 @ 0x4189680] chroma_log2_weight_denom 10 is out of range
[h264 @ 0x40dcec0] chroma_log2_weight_denom 10 is out of range
[h264 @ 0x40e1800] chroma_log2_weight_denom 10 is out of range
[h264 @ 0x40e1800] deblocking_filter_idc 24 out of range
[h264 @ 0x40e1800] decode_slice_header error
[h264 @ 0x40e1800] no frame!
[h264 @ 0x40dcec0] Reference 2 >= 2
[h264 @ 0x40dcec0] error while decoding MB 29 3, bytestream 3004
[h264 @ 0x3ee19c0] chroma_log2_weight_denom 10 is out of range
[h264 @ 0x3ee19c0] deblocking_filter_idc 4 out of range
[h264 @ 0x3ee19c0] decode_slice_header error
[h264 @ 0x3ee19c0] no frame!
[NULL @ 0x3edf100] chroma_log2_weight_denom 8 is out of range
[h264 @ 0x411a4c0] reference picture missing during reorder
[h264 @ 0x411a4c0] Missing reference picture, default is 87876
[h264 @ 0x411a4c0] Reference 2 >= 2
[h264 @ 0x411a4c0] error while decoding MB 3 0, bytestream 12754
[h264 @ 0x40e3c80] number of reference frames (1+4) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0x40e3c80] chroma_log2_weight_denom 8 is out of range
[h264 @ 0x40e3c80] deblocking_filter_idc 9 out of range
[h264 @ 0x40e3c80] decode_slice_header error
[h264 @ 0x3f4f640] deblocking filter parameters 0 -7 out of range
[h264 @ 0x3f4f640] decode_slice_header error
[h264 @ 0x424a480] deblocking_filter_idc 18 out of range
[h264 @ 0x424a480] decode_slice_header error
[h264 @ 0x3f7fa80] chroma_log2_weight_denom 10 is out of range
[h264 @ 0x3f7fa80] Reference 2 >= 2
[h264 @ 0x3f7fa80] error while decoding MB 18 0, bytestream 2874
Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x3f75740] chroma_log2_weight_denom 10 is out of range
[h264 @ 0x3f75740] Reference 2 >= 2
[h264 @ 0x3f75740] error while decoding MB 1 1, bytestream 2862
[h264 @ 0x4458100] chroma_log2_weight_denom 10 is out of range
[h264 @ 0x4458100] cabac_init_idc 6 overflow
[h264 @ 0x4458100] decode_slice_header error
[h264 @ 0x4458100] no frame!
[h264 @ 0x4134540] chroma_log2_weight_denom 10 is out of range
[h264 @ 0x4134540] deblocking filter parameters -4 13 out of range
[h264 @ 0x4134540] decode_slice_header error
[h264 @ 0x4134540] no frame!
[NULL @ 0x3edf100] chroma_log2_weight_denom 8 is out of range
[h264 @ 0x41c0580] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0x41c0580] Missing reference picture, default is 87876
    Last message repeated 1 times
[h264 @ 0x41c0580] Reference 2 >= 2
[h264 @ 0x41c0580] error while decoding MB 1 0, bytestream 13413
[h264 @ 0x41a1300] chroma_log2_weight_denom 8 is out of range
[h264 @ 0x41a1300] deblocking filter parameters -1 -10 out of range
[h264 @ 0x41a1300] decode_slice_header error
[h264 @ 0x4265600] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x4265600] number of reference frames (1+4) exceeds max (4; probably corrupt input), discarding one
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[h264 @ 0x411a4c0] reference picture missing during reorder
    Last message repeated 1 times
[h264 @ 0x411a4c0] Missing reference picture, default is 87660
    Last message repeated 1 times
[h264 @ 0x40e3c80] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x40e3c80] number of reference frames (1+4) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0x40e3c80] reference picture missing during reorder
[h264 @ 0x40e3c80] Missing reference picture, default is 87661
[h264 @ 0x424a480] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x424a480] number of reference frames (1+4) exceeds max (4; probably corrupt input), discarding one
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
[h264 @ 0x4265600] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x4265600] number of reference frames (1+4) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0x424a480] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x424a480] number of reference frames (1+4) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0x4265600] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x4265600] number of reference frames (1+4) exceeds max (4; probably corrupt input), discarding one

....

[h264 @ 0x4265600] number of reference frames (1+4) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0x424a480] mmco: unref short failure
    Last message repeated 1 times

.... and so on until the end of dump (if it's continuous stream, it's not restored to normal)

[h264 @ 0x424a480] number of reference frames (1+4) exceeds max (4; probably corrupt input), discarding one
[h264 @ 0x424a480] error while decoding MB 29 29, bytestream -18
frame=12188 fps=514 q=-1.0 Lsize=  116454kB time=00:08:18.08 bitrate=1915.3kbits/s dup=0 drop=1 speed=  21x    
video:106609kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 9.234699%
[libx264 @ 0x3ed3b80] frame I:64    Avg QP:13.52  size: 60899
[libx264 @ 0x3ed3b80] frame P:3691  Avg QP:16.04  size: 19640
[libx264 @ 0x3ed3b80] frame B:8433  Avg QP:19.73  size:  3887
[libx264 @ 0x3ed3b80] consecutive B-frames:  2.4% 15.2%  2.2% 80.1%
[libx264 @ 0x3ed3b80] mb I  I16..4: 20.6% 25.2% 54.2%
[libx264 @ 0x3ed3b80] mb P  I16..4:  8.1% 14.7%  6.6%  P16..4: 28.8% 14.0%  8.7%  0.0%  0.0%    skip:19.0%
[libx264 @ 0x3ed3b80] mb B  I16..4:  1.9%  4.3%  0.5%  B16..8: 19.3%  7.0%  0.9%  direct: 9.3%  skip:56.9%  L0:41.5% L1:38.3% BI:20.2%
[libx264 @ 0x3ed3b80] 8x8 transform intra:53.8% inter:41.6%
[libx264 @ 0x3ed3b80] coded y,uvDC,uvAC intra: 66.9% 62.5% 22.5% inter: 17.3% 18.9% 2.2%
[libx264 @ 0x3ed3b80] i16 v,h,dc,p: 43% 31% 19%  7%
[libx264 @ 0x3ed3b80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 26% 29%  2%  2%  2%  2%  3%  3%
[libx264 @ 0x3ed3b80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 29% 15%  3%  4%  5%  4%  5%  4%
[libx264 @ 0x3ed3b80] i8c dc,h,v,p: 48% 23% 25%  3%
[libx264 @ 0x3ed3b80] Weighted P-Frames: Y:0.5% UV:0.3%
[libx264 @ 0x3ed3b80] ref P L0: 79.4% 20.6%
[libx264 @ 0x3ed3b80] ref B L0: 80.7% 19.3%
[libx264 @ 0x3ed3b80] ref B L1: 96.8%  3.2%
[libx264 @ 0x3ed3b80] kb/s:1756.66

And here is the interesting part. There is a little manipulations with this dump, after which ffmpeg transcodes it more stable.

dd if=/root/squared_cut.ts of=/tmp/bad_tail.ts bs=188 skip=1034300

dd if=/tmp/bad_tail.ts of=/tmp/c2.ts bs=188 count=3883 && dd if=/tmp/cut.ts of=/tmp/c3.ts bs=188 skip=5113 && cat /tmp/c2.ts /tmp/c3.ts > /tmp/good_cut.ts

So after this manipulations we get good_cut.ts dump which transcodes fine - at least decoder not fails unrecoverably. Sorry the dump quite huge, because I'm not sure which part of it actually lead to bug. So I uploaded it on yandex.disk and turn on access by link: https://yadi.sk/d/9Vs8ijw93T7TdX


#7117 DVB subtitles render incorrectly avcodec defect Apr 1, 2018

Summary of the bug:

Conversion of sup subtitles (pgssub) to DVB subtitles and muxing to mpeg-ts results in bad looking subtitles. When using the overlay filter instead, they render correctly.

I am using the latest nightly build 20180331-be502ec and testing with VLC Player 3.0.1 (Windows). I also tried playing the dvb output with ffplay but subtitles aren't showing but instead the screen is just flashing from black to video. I tried with or without canvas_size 1920x1080 and/or s:s 1920x1080, makes no difference.

How to reproduce: I've attached the input video and subtitles needed to reproduce + both outputs I got on my end.

Output with DVB subtitles which looks wrong:

ffmpeg -y -i input.mp4 -fix_sub_duration -i subtitles.sup -vcodec libx264 -crf 24 -f mpegts -scodec dvbsub output_dvb.ts
ffmpeg version N-90553-gbe502ec6cd Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.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-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 16.100 / 58. 16.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 13.100 /  7. 13.100
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2018-04-01T16:37:29.000000Z
  Duration: 00:00:30.12, start: 0.000000, bitrate: 20 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 18 kb/s, 25 fps, 25 tbr, 100 tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2018-04-01T16:37:29.000000Z
      handler_name    : 264@GPAC0.7.0-rev0-gbd5c9af-master
Input #1, sup, from 'subtitles.sup':
  Duration: N/A, start: 3.440000, bitrate: N/A
    Stream #1:0: Subtitle: hdmv_pgs_subtitle, 1920x1080
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #1:0 -> #0:1 (hdmv_pgs_subtitle (pgssub) -> dvb_subtitle (dvbsub))
Press [q] to stop, [?] for help
[sup @ 00000271594a0140] Invalid timestamps stream=0, pts=0, dts=303570, size=4974
[libx264 @ 00000271594833c0] using SAR=1/1
[libx264 @ 00000271594833c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 00000271594833c0] profile High, level 4.0
Output #0, mpegts, to 'output_dvb.ts':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    encoder         : Lavf58.10.100
    Stream #0:0(und): Video: h264 (libx264), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc (default)
    Metadata:
      creation_time   : 2018-04-01T16:37:29.000000Z
      handler_name    : 264@GPAC0.7.0-rev0-gbd5c9af-master
      encoder         : Lavc58.16.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1: Subtitle: dvb_subtitle (dvbsub), 1920x1080
    Metadata:
      encoder         : Lavc58.16.100 dvbsub
[sup @ 00000271594a0140] Invalid timestamps stream=0, pts=0, dts=767997, size=6238
[sup @ 00000271594a0140] Invalid timestamps stream=0, pts=0, dts=1135096, size=9926
frame=  150 fps=0.0 q=29.0 size=      27kB time=00:00:06.68 bitrate=  33.1kbits/s sp[sup @ 00000271594a0140] Invalid timestamps stream=0, pts=0, dts=1635183, size=17502
frame=  310 fps=309 q=29.0 size=      80kB time=00:00:11.80 bitrate=  55.6kbits/s sp[sup @ 00000271594a0140] Invalid timestamps stream=0, pts=0, dts=2218393, size=18698
frame=  478 fps=317 q=29.0 size=     133kB time=00:00:18.60 bitrate=  58.7kbits/s spframe=  639 fps=318 q=29.0 size=     187kB time=00:00:24.20 bitrate=  63.1kbits/s spframe=  753 fps=310 q=-1.0 Lsize=     221kB time=00:00:30.00 bitrate=  60.3kbits/s speed=12.3x
video:54kB audio:0kB subtitle:65kB other streams:0kB global headers:0kB muxing overhead: 85.350807%
[libx264 @ 00000271594833c0] frame I:4     Avg QP: 8.50  size:   642
[libx264 @ 00000271594833c0] frame P:190   Avg QP:10.10  size:    77
[libx264 @ 00000271594833c0] frame B:559   Avg QP:13.67  size:    69
[libx264 @ 00000271594833c0] consecutive B-frames:  0.9%  0.3%  0.0% 98.8%
[libx264 @ 00000271594833c0] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 00000271594833c0] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
[libx264 @ 00000271594833c0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%
[libx264 @ 00000271594833c0] 8x8 transform intra:0.0%
[libx264 @ 00000271594833c0] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
[libx264 @ 00000271594833c0] i16 v,h,dc,p: 99%  0%  1%  0%
[libx264 @ 00000271594833c0] i8c dc,h,v,p: 100%  0%  0%  0%
[libx264 @ 00000271594833c0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 00000271594833c0] kb/s:14.75

Output with overlay subtitles which looks correct:

ffmpeg -y -i input.mp4 -i subtitles.sup -filter_complex "[1:s]scale=width=1920:height=1080[sub];[0:v][sub]overlay" -vcodec libx264 -crf 24 -f mpegts output_overlay.ts
ffmpeg version N-90553-gbe502ec6cd Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.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-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  libavutil      56. 12.100 / 56. 12.100
  libavcodec     58. 16.100 / 58. 16.100
  libavformat    58. 10.100 / 58. 10.100
  libavdevice    58.  2.100 / 58.  2.100
  libavfilter     7. 13.100 /  7. 13.100
  libswscale      5.  0.102 /  5.  0.102
  libswresample   3.  0.101 /  3.  0.101
  libpostproc    55.  0.100 / 55.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    creation_time   : 2018-04-01T16:37:29.000000Z
  Duration: 00:00:30.12, start: 0.000000, bitrate: 20 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 18 kb/s, 25 fps, 25 tbr, 100 tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2018-04-01T16:37:29.000000Z
      handler_name    : 264@GPAC0.7.0-rev0-gbd5c9af-master
Input #1, sup, from 'subtitles.sup':
  Duration: N/A, start: 3.440000, bitrate: N/A
    Stream #1:0: Subtitle: hdmv_pgs_subtitle, 1920x1080
Stream mapping:
  Stream #0:0 (h264) -> overlay:main
  Stream #1:0 (pgssub) -> scale
  overlay -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
[sup @ 00000292aeae0600] Invalid timestamps stream=0, pts=0, dts=303570, size=4974
[sup @ 00000292aeae0600] Invalid timestamps stream=0, pts=0, dts=767997, size=6238
[sup @ 00000292aeae0600] sub2video: using 720x576 canvas
[libx264 @ 00000292ae6e2700] using SAR=1/1
[libx264 @ 00000292ae6e2700] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 00000292ae6e2700] profile High, level 4.0
Output #0, mpegts, to 'output_overlay.ts':
  Metadata:
    major_brand     : isom
    minor_version   : 1
    compatible_brands: isomavc1
    encoder         : Lavf58.10.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc (default)
    Metadata:
      encoder         : Lavc58.16.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame=   57 fps=0.0 q=29.0 size=       7kB time=-00:00:00.07 bitrate=N/A speed=N/A  frame=  123 fps=123 q=29.0 size=      20kB time=00:00:02.56 bitrate=  62.9kbits/s sp[sup @ 00000292aeae0600] Invalid timestamps stream=0, pts=0, dts=1135096, size=9926
frame=  189 fps=126 q=29.0 size=      40kB time=00:00:05.20 bitrate=  63.6kbits/s sp[sup @ 00000292aeae0600] Invalid timestamps stream=0, pts=0, dts=1635183, size=17502
frame=  255 fps=127 q=29.0 size=      53kB time=00:00:07.84 bitrate=  55.2kbits/s spframe=  322 fps=128 q=29.0 size=      78kB time=00:00:10.52 bitrate=  60.5kbits/s sp[sup @ 00000292aeae0600] Invalid timestamps stream=0, pts=0, dts=2218393, size=18698
frame=  388 fps=129 q=29.0 size=      91kB time=00:00:13.16 bitrate=  56.5kbits/s spframe=  454 fps=129 q=29.0 size=     125kB time=00:00:15.80 bitrate=  64.6kbits/s spframe=  518 fps=129 q=29.0 size=     137kB time=00:00:18.36 bitrate=  61.2kbits/s spframe=  583 fps=129 q=29.0 size=     149kB time=00:00:20.96 bitrate=  58.4kbits/s spframe=  649 fps=129 q=29.0 size=     184kB time=00:00:23.60 bitrate=  64.0kbits/s spframe=  716 fps=129 q=29.0 size=     198kB time=00:00:26.28 bitrate=  61.6kbits/s spframe=  754 fps=127 q=-1.0 Lsize=     216kB time=00:00:30.04 bitrate=  58.8kbits/s speed=5.07x
video:116kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 85.782951%
[libx264 @ 00000292ae6e2700] frame I:5     Avg QP: 8.08  size: 12890
[libx264 @ 00000292ae6e2700] frame P:190   Avg QP: 9.85  size:    81
[libx264 @ 00000292ae6e2700] frame B:559   Avg QP:13.61  size:    70
[libx264 @ 00000292ae6e2700] consecutive B-frames:  1.1%  0.3%  0.0% 98.7%
[libx264 @ 00000292ae6e2700] mb I  I16..4: 95.4%  3.1%  1.5%
[libx264 @ 00000292ae6e2700] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
[libx264 @ 00000292ae6e2700] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%  L0:42.3% L1:57.7% BI: 0.0%
[libx264 @ 00000292ae6e2700] 8x8 transform intra:3.0% inter:6.6%
[libx264 @ 00000292ae6e2700] coded y,uvDC,uvAC intra: 1.0% 1.5% 1.5% inter: 0.0% 0.0% 0.0%
[libx264 @ 00000292ae6e2700] i16 v,h,dc,p: 98%  0%  2%  0%
[libx264 @ 00000292ae6e2700] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 55%  4% 41%  0%  0%  0%  0%  0%  0%
[libx264 @ 00000292ae6e2700] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 18% 14%  3%  4%  6%  5%  4%  3%
[libx264 @ 00000292ae6e2700] i8c dc,h,v,p: 99%  1%  0%  0%
[libx264 @ 00000292ae6e2700] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 00000292ae6e2700] ref P L0: 90.5%  6.0%  3.6%
[libx264 @ 00000292ae6e2700] ref B L0: 75.5% 24.5%
[libx264 @ 00000292ae6e2700] ref B L1: 98.5%  1.5%
[libx264 @ 00000292ae6e2700] kb/s:0.00

#1901 cavs artefacts in B frames avcodec defect Nov 9, 2012

hi all,

i found a ffmpeg a bug, with play chinese cavs stream , there is video flicker strongly.


#5731 Wranings about truncating oversized PPS when decoding files from Sony camera FS7 avcodec defect Jul 24, 2016

How to reproduce:

ffmpeg -i ~/lesspain/samples/cameras/sony/pxw_fs7/sony_pxw_fs7_1080_xavc_2997p_13s.MXF -f null /dev/null
ffmpeg version N-81077-g640c096 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.0.2 (clang-700.1.81)
  configuration: 
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 50.100 / 57. 50.100
  libavformat    57. 44.100 / 57. 44.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
[h264 @ 0x7fca5b00da00] Truncating likely oversized PPS
    Last message repeated 9 times
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Guessed Channel Layout for Input Stream #0.5 : mono
Guessed Channel Layout for Input Stream #0.6 : mono
Guessed Channel Layout for Input Stream #0.7 : mono
Guessed Channel Layout for Input Stream #0.8 : mono
Input #0, mxf, from '/Users/krueger/lesspain/samples/cameras/sony/pxw_fs7/sony_pxw_fs7_1080_xavc_2997p_13s.MXF':
  Metadata:
    uid             : 791517d2-264c-11e6-826b-0800469995c2
    generation_uid  : 791517dc-264c-11e6-8829-0800469995c2
    company_name    : Sony
    product_name    : Mem 
    product_version : 2.00
    product_uid     : cede1104-8280-11de-8a39-08004678031c
    modification_date: 2016-05-30 09:54:17
    material_package_umid: 0x060A2B340101010501010D43130000000FA7A669387505D208004602029995C2
    timecode        : 00:00:57;20
  Duration: 00:00:13.68, start: 0.000000, bitrate: 123923 kb/s
    Stream #0:0: Video: h264 (High 4:2:2 Intra), yuv422p10le(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D431300000010A7A669387505D208004602029995C2
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D431300000010A7A669387505D208004602029995C2
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D431300000010A7A669387505D208004602029995C2
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D431300000010A7A669387505D208004602029995C2
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D431300000010A7A669387505D208004602029995C2
    Stream #0:5: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D431300000010A7A669387505D208004602029995C2
    Stream #0:6: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D431300000010A7A669387505D208004602029995C2
    Stream #0:7: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D431300000010A7A669387505D208004602029995C2
    Stream #0:8: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D431300000010A7A669387505D208004602029995C2
    Stream #0:9: Data: none
    Metadata:
      file_package_umid: 0x060A2B340101010501010D431300000010A7A669387505D208004602029995C2
      data_type       : vbi_vanc_smpte_436M
[null @ 0x7fca5c842000] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, null, to '/dev/null':
  Metadata:
    uid             : 791517d2-264c-11e6-826b-0800469995c2
    generation_uid  : 791517dc-264c-11e6-8829-0800469995c2
    company_name    : Sony
    product_name    : Mem 
    product_version : 2.00
    product_uid     : cede1104-8280-11de-8a39-08004678031c
    modification_date: 2016-05-30 09:54:17
    material_package_umid: 0x060A2B340101010501010D43130000000FA7A669387505D208004602029995C2
    timecode        : 00:00:57;20
    encoder         : Lavf57.44.100
    Stream #0:0: Video: wrapped_avframe, yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D431300000010A7A669387505D208004602029995C2
      encoder         : Lavc57.50.100 wrapped_avframe
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, mono, s16 (24 bit), 768 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D431300000010A7A669387505D208004602029995C2
      encoder         : Lavc57.50.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (pcm_s24le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[NULL @ 0x7fca5b00da00] Truncating likely oversized PPS
    Last message repeated 102 times
[NULL @ 0x7fca5b00da00] Truncating likely oversized PPStrate=N/A speed= 7.4x    
    Last message repeated 116 times
[NULL @ 0x7fca5b00da00] Truncating likely oversized PPStrate=N/A speed=7.56x    
    Last message repeated 113 times
[NULL @ 0x7fca5b00da00] Truncating likely oversized PPStrate=N/A speed=7.57x    
    Last message repeated 65 times
frame=  410 fps=225 q=-0.0 Lsize=N/A time=00:00:13.68 bitrate=N/A speed= 7.5x    
video:195kB audio:1283kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

The sample is the same as for ticket 5730.


#5732 Display corruption on very high-bitrate H.264 files avcodec defect Jul 24, 2016

Hi,

I've discovered what I believe is a bug in the H.264 decoder of libavcodec. It concerns the following file, where the video is encoded using Intel Quick Sync Video (on a Haswell, via VA-API) at constant quantizer:

http://storage.sesse.net/through-the-cracks.mp4

Unfortunately, the file is very big (~5.1GB), and attempts to cut it using ffmpeg(1) resulted in something VLC wouldn't play, so I've left it alone save for remuxing (it was originally in NUT) and audio reencoding.

The corruption happens around 13:50, in the right-hand side of the picture. You can see it by decoding using ffmpeg(1):

ffmpeg -ss 13:50 -i /srv/storage.sesse.net/through-the-cracks.mp4 -vframes 50 out-%03d.png

and then looking at out-*.png. The errors persist from out-001.png to out-019.png; they disappear at out-020.png (perhaps new keyframe?) and come back at out-045.png. It looks like some kind of overflow to me, probably due to the extreme bitrate chosen (around 170 Mbit/sec; this content is super-hard to encode!).

The file plays perfectly in VLC if and only if I enable VA-API hardware acceleration, so that it's decoded in hardware instead of by libavcodec's H.264 decoder.


#5851 Option to remove tags from Closed Captions avcodec defect Sep 17, 2016

I can extract Closed Captions from this NTSC DVD sample Starship_Troopers.vob with this:

"ffmpeg" -f lavfi -i "movie=Starship_Troopers.vob[out0+subcc]" -map s "output_map-s.srt"

output:

ffmpeg version N-81452-g01aee81 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --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-decklink --enable-zlib
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 54.100 / 57. 54.100
  libavformat    57. 48.100 / 57. 48.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 54.100 /  6. 54.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, lavfi, from 'movie=Starship_Troopers.vob[out0+subcc]':
  Duration: N/A, start: 1986.626100, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480 [SAR 1:1 DAR 3:2], 59.94 tbr, 90k tbn, 90k tbc
    Stream #0:1: Subtitle: eia_608
[srt @ 0612b2c0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[null @ 0608cfa0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, srt, to 'output_map-s.srt':
  Metadata:
    encoder         : Lavf57.48.100
    Stream #0:0: Subtitle: subrip (srt)
    Metadata:
      encoder         : Lavc57.54.100 srt
Output #1, null, to 'nul':
  Metadata:
    encoder         : Lavf57.48.100
    Stream #1:0: Video: wrapped_avframe, yuv420p, 720x480 [SAR 1:1 DAR 3:2], q=2-31, 200 kb/s, 59.94 fps, 59.94 tbn, 59.94 tbc
    Metadata:
      encoder         : Lavc57.54.100 wrapped_avframe
Stream mapping:
  Stream #0:1 -> #0:0 (eia_608 (cc_dec) -> subrip (srt))
  Stream #0:0 -> #1:0 (rawvideo (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
frame=  467 fps=0.0 q=-0.0 size=       0kB time=00:00:19.43 bitrate=   0.1kbits/s speed=38.9x    
frame=  973 fps=973 q=-0.0 size=       1kB time=00:00:40.54 bitrate=   0.1kbits/s speed=40.5x    
[mpeg2video @ 060527a0] ac-tex damaged at 3 27
[mpeg2video @ 060527a0] Warning MVs not available
[mpeg2video @ 060527a0] concealing 135 DC, 135 AC, 135 MV errors in I frame
frame= 1229 fps=980 q=-0.0 Lsize=       1kB time=00:00:51.30 bitrate=   0.2kbits/s speed=40.9x    
video:461kB audio:0kB subtitle:1kB other streams:0kB global headers:0kB muxing overhead: unknown

but, srt has font tags, and some strange position tags:

1
00:00:11,745 --> 00:00:15,249
<font face="Monospace">{\an7}PILOT TRAINEE IBANEZ
REPORTING FOR DUTY, MA’AM.</font>

2
00:00:15,249 --> 00:00:18,252
<font face="Monospace">{\an7}- TAKE THE NUMBER TWO CHAIR,
\h\hIBANEZ.
- YES, MA’AM.</font>

3
00:00:22,756 --> 00:00:27,761
<font face="Monospace">{\an7}\h\h\h\h\h\h\h\h\h\h\h\h\h\h\h\h\h\h\h\hIDENTIFY.
IBANEZ, "T"-THREE-TWO-FIVE-"A,"
CLEAR.</font>

4
00:00:30,764 --> 00:00:34,768
<font face="Monospace">{\an7}[ Laughs ]
WHAT ARE YOU DOING HERE ?</font>

5
00:00:36,270 --> 00:00:39,273
<font face="Monospace">{\an7}I’M THE GUY WHO’S GONNA
TEACH YOU TO FLY THIS CRATE.</font>

6
00:00:39,273 --> 00:00:41,776
<font face="Monospace">{\an7}<i>AH.
ASSISTANT INSTRUCTOR.</i></font>

7
00:00:41,775 --> 00:00:44,778
<font face="Monospace">{\an7}SHOULD I CALL YOU
"SIR" ?</font>

8
00:00:44,778 --> 00:00:47,281
<font face="Monospace">{\an7}ONLY WHEN I GIVE YOU
AN ORDER.</font>

9
00:00:47,281 --> 00:00:49,283
<font face="Monospace">{\an7}PREPARE FOR DEPARTURE.</font>


These tags are not allowed by TXT2VobSub because subtitles are too long, and if I harsub them with this:

"ffmpeg" -i "Starship_Troopers.vob" -vf "subtitles=output_map-s.srt:force_style='FontName=Microsoft Sans Serif,Fontsize=18,Outline=1,PrimaryColour=&HFFFFFF'" -f avi -c:v libxvid -b:v 1500k -vtag XVID -c:a libmp3lame -b:a 128k "Starship_Troopers-ffmpeg.avi"

output:

ffmpeg version N-81452-g01aee81 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --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-decklink --enable-zlib
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 54.100 / 57. 54.100
  libavformat    57. 48.100 / 57. 48.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 54.100 /  6. 54.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mpeg, from 'Starship_Troopers.vob':
  Duration: 00:00:51.30, start: 1986.626100, bitrate: 4618 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x480 [SAR 32:27 DAR 16:9], Closed Captions, 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x83]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:2[0x82]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:3[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:4[0x81]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:5[0x20]: Subtitle: dvd_subtitle
    Stream #0:6[0x22]: Subtitle: dvd_subtitle
[Parsed_subtitles_0 @ 049ef6e0] Shaper: FriBidi 0.19.6 (SIMPLE)
[Parsed_subtitles_0 @ 049ef6e0] Using font provider directwrite
[avi @ 04942f60] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
[null @ 04942120] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
Output #0, avi, to 'Starship_Troopers-ffmpeg.avi':
  Metadata:
    ISFT            : Lavf57.48.100
    Stream #0:0: Video: mpeg4 (libxvid) (XVID / 0x44495658), yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=2-31, 1500 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.54.100 libxvid
    Stream #0:1: Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, delay 1105, padding 0, 128 kb/s
    Metadata:
      encoder         : Lavc57.54.100 libmp3lame
Output #1, null, to 'nul':
  Metadata:
    encoder         : Lavf57.48.100
    Stream #1:0: Video: wrapped_avframe, yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.54.100 wrapped_avframe
    Stream #1:1: Audio: pcm_s16le, 48000 Hz, 5.1(side), s16, 4608 kb/s
    Metadata:
      encoder         : Lavc57.54.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> mpeg4 (libxvid))
  Stream #0:4 -> #0:1 (ac3 (native) -> mp3 (libmp3lame))
  Stream #0:0 -> #1:0 (mpeg2video (native) -> wrapped_avframe (native))
  Stream #0:4 -> #1:1 (ac3 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[ac3 @ 04de9c80] frame sync error
Error while decoding stream #0:4: Invalid data found when processing input
[null @ 04942120] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 1891 >= 1891
[libmp3lame @ 04debec0] Queue input is backward in time
frame=   95 fps=0.0 q=6.0 q=-0.0 size=     671kB time=00:00:03.94 bitrate=1394.7kbits/s speed=7.83x    
frame=  185 fps=184 q=6.0 q=-0.0 size=    1326kB time=00:00:07.71 bitrate=1407.7kbits/s speed=7.67x    
frame=  276 fps=183 q=9.0 q=-0.0 size=    2029kB time=00:00:11.49 bitrate=1446.2kbits/s speed=7.62x    
[Parsed_subtitles_0 @ 049ef6e0] fontselect: (Microsoft Sans Serif, 400, 0) -> MicrosoftSansSerif, 0, MicrosoftSansSerif
[Parsed_subtitles_0 @ 049ef6e0] fontselect: (Monospace, 400, 0) -> CourierNewPSMT, 0, CourierNewPSMT
[mpeg @ 002eb780] New subtitle stream 0:7 at pos:8497166 and DTS:1999.51s
frame=  372 fps=185 q=5.0 q=-0.0 size=    2752kB time=00:00:15.52 bitrate=1451.8kbits/s speed=7.73x    
frame=  459 fps=183 q=9.0 q=-0.0 size=    3439kB time=00:00:19.14 bitrate=1471.6kbits/s speed=7.63x    
frame=  557 fps=185 q=7.0 q=-0.0 size=    4135kB time=00:00:23.18 bitrate=1460.6kbits/s speed= 7.7x    
frame=  645 fps=184 q=9.0 q=-0.0 size=    4824kB time=00:00:26.88 bitrate=1469.7kbits/s speed=7.65x    
frame=  733 fps=181 q=6.0 q=-0.0 size=    5313kB time=00:00:30.53 bitrate=1425.2kbits/s speed=7.53x    
frame=  837 fps=184 q=4.0 q=-0.0 size=    5933kB time=00:00:34.88 bitrate=1393.0kbits/s speed=7.66x    
frame=  935 fps=185 q=5.0 q=-0.0 size=    6631kB time=00:00:38.98 bitrate=1393.4kbits/s speed=7.71x    
[Parsed_subtitles_0 @ 049ef6e0] fontselect: (Monospace, 400, 100) -> CourierNewPS-ItalicMT, 0, CourierNewPS-ItalicMT
frame= 1035 fps=186 q=5.0 q=-0.0 size=    7311kB time=00:00:43.17 bitrate=1387.1kbits/s speed=7.77x    
frame= 1139 fps=188 q=6.0 q=-0.0 size=    8053kB time=00:00:47.48 bitrate=1389.5kbits/s speed=7.84x    
[mpeg2video @ 049477c0] ac-tex damaged at 3 27
[mpeg2video @ 049477c0] Warning MVs not available
[mpeg2video @ 049477c0] concealing 135 DC, 135 AC, 135 MV errors in I frame
[ac3 @ 04de9c80] incomplete frame
frame= 1229 fps=189 q=6.0 Lq=-0.0 size=    8736kB time=00:00:51.31 bitrate=1394.6kbits/s speed= 7.9x    
video:8300kB audio:29601kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Those font tags overwrite FontName? from subtitles filter, and position tags puts subs above and aligned like this:

http://i47.photobucket.com/albums/f169/edumj/Starship_Troopers-ffmpeg.png

CCextrator removes those tags, and looks like this:

http://i47.photobucket.com/albums/f169/edumj/Starship_Troopers-ccextractor.png

Is there an option to remove those tags, like "-txt_format text" does with other embed text subs? That way, we could also do soft subs (XSUBs) and not only hard subs from CC.


#5937 Flac decoding - sample/frame number mismatch in adjacent frames avcodec defect Nov 10, 2016

Summary of the bug: sample/frame number mismatch in adjacent frames This apparently recurring error is still appearing with latest master, so I thought I'd make a report. There's no discernable problem in the sound itself, but this error appears randomly when decoding flac files. Note that flac -t (flac 1.3.1) doesn't have anything to say about the problematic files. How to reproduce:

~/ffmpeg-git-20161110-64bit-static/ffmpeg -threads 1 -i "11 - Suite en Gm, FK nv24 - Bourrée, Trio I & II.flac" -c:a pcm_s16le -f null -
ffmpeg version N-82314-g863ebe6-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.1 (Debian 5.4.1-3) 20161019
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libebur128 --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg
  libavutil      55. 36.100 / 55. 36.100
  libavcodec     57. 66.101 / 57. 66.101
  libavformat    57. 57.100 / 57. 57.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 66.100 /  6. 66.100
  libswscale      4.  3.100 /  4.  3.100
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, flac, from '11 - Suite en Gm, FK nv24 - Bourrée, Trio I & II.flac':
  Metadata:
    ALBUM           : Divers
    REPLAYGAIN_ALBUM_GAIN: -2.28 dB
    ARTIST          : W.F. Bach
    TITLE           : Suite en Gm, FK nv24 - Bourrée, Trio I & II
    REPLAYGAIN_TRACK_PEAK: 0.7671
    REPLAYGAIN_TRACK_GAIN: -2.24 dB
    REPLAYGAIN_ALBUM_PEAK: 1.0000
    track           : 11
    TRACKTOTAL      : 22
  Duration: 00:05:41.40, start: 0.000000, bitrate: 889 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Side data:
      replaygain: track gain - -2.240000, track peak - 0.000018, album gain - -2.280000, album peak - 0.000023,
Output #0, null, to 'pipe:':
  Metadata:
    ALBUM           : Divers
    REPLAYGAIN_ALBUM_GAIN: -2.28 dB
    ARTIST          : W.F. Bach
    TITLE           : Suite en Gm, FK nv24 - Bourrée, Trio I & II
    REPLAYGAIN_TRACK_PEAK: 0.7671
    REPLAYGAIN_TRACK_GAIN: -2.24 dB
    REPLAYGAIN_ALBUM_PEAK: 1.0000
    track           : 11
    TRACKTOTAL      : 22
    encoder         : Lavf57.57.100
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      encoder         : Lavc57.66.101 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (flac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[NULL @ 0x57cb700] sample/frame number mismatch in adjacent frames
size=N/A time=00:05:41.40 bitrate=N/A speed= 585x
video:0kB audio:58811kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

#3955 native vorbis encoder produces noise avcodec defect Sep 17, 2014

Converted a 5.1 channel video into webm with latest ffmpeg (using native vorbis for audio encoder). But can hear noise not exists in source video.

Was able to reproduce this issue with 2 videos.

Below is the command used to convert.

$ ffmpeg.exe -i Stereotest.mp4 -acodec vorbis -strict -2 test.webm
ffmpeg version N-66289-gb76d613 Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 15 2014 22:02:10 with gcc 4.8.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  4.101 / 56.  4.101
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  1.100 /  5.  1.100
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Stereotest.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2013-12-23 05:20:05
  Duration: 00:00:20.04, start: 0.000000, bitrate: 159 kb/s
    Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 480x360, 60 kb/s, 29.97 fps, 29.97 tbr, 60k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default)
    Metadata:
      creation_time   : 2013-12-23 05:20:05
      handler_name    : IsoMedia File Produced by Google, 5-11-2011
File 'test.webm' already exists. Overwrite ? [y/N] y
[libvpx @ 04404a60] v1.3.0
Output #0, webm, to 'test.webm':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    encoder         : Lavf56.4.101
    Stream #0:0(und): Video: vp8 (libvpx), yuv420p, 480x360, q=-1--1, 200 kb/s, 29.97 fps, 1k tbn, 29.97 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc56.1.100 libvpx
    Stream #0:1(und): Audio: vorbis, 44100 Hz, stereo, fltp (default)
    Metadata:
      creation_time   : 2013-12-23 05:20:05
      handler_name    : IsoMedia File Produced by Google, 5-11-2011
      encoder         : Lavc56.1.100 vorbis
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> vp8 (libvpx))
  Stream #0:1 -> #0:1 (aac (native) -> vorbis (native))
Press [q] to stop, [?] for help
frame=  600 fps=145 q=0.0 Lsize=     560kB time=00:00:20.06 bitrate= 228.5kbits/s
video:130kB audio:416kB subtitle:0kB other streams:0kB global headers:3kB muxing overhead: 2.403836%



$ ffmpeg.exe -i Original51.mkv -acodec vorbis -strict -2 test.webm
ffmpeg version N-66289-gb76d613 Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 15 2014 22:02:10 with gcc 4.8.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  4.101 / 56.  4.101
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  1.100 /  5.  1.100
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100
Input #0, matroska,webm, from 'Original51.mkv':
  Metadata:
    ENCODER         : Lavf55.33.100
  Duration: 00:00:46.63, start: 0.000000, bitrate: 605 kb/s
    Stream #0:0: Video: h264 (High), yuv420p, 800x600 [SAR 1:1 DAR 4:3], 8 fps, 8 tbr, 1k tbn, 16 tbc (default)
    Stream #0:1: Audio: aac, 44100 Hz, stereo, fltp (default)
File 'test.webm' already exists. Overwrite ? [y/N] y
[libvpx @ 037d47e0] v1.3.0
Output #0, webm, to 'test.webm':
  Metadata:
    encoder         : Lavf56.4.101
    Stream #0:0: Video: vp8 (libvpx), yuv420p, 800x600 [SAR 1:1 DAR 4:3], q=-1--1, 200 kb/s, 8 fps, 1k tbn, 8 tbc (default)
    Metadata:
      encoder         : Lavc56.1.100 libvpx
    Stream #0:1: Audio: vorbis, 44100 Hz, stereo, fltp (default)
    Metadata:
      encoder         : Lavc56.1.100 vorbis
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> vp8 (libvpx))
  Stream #0:1 -> #0:1 (aac (native) -> vorbis (native))
Press [q] to stop, [?] for help
frame=  373 fps= 49 q=0.0 Lsize=     944kB time=00:00:46.62 bitrate= 165.8kbits/s
video:421kB audio:503kB subtitle:0kB other streams:0kB global headers:3kB muxing overhead: 2.077811%

#232 amrnb dec: dtx mode not implemented. avcodec enhancement May 23, 2011

I've just compiled the latest version of ffmpeg from the SVN on a CentOS machine and when I try to decode amr audio files I get this error (repeated a lot of times):

[amrnb @ 0x626e90] dtx mode not implemented. Update your FFmpeg version to the newest one from SVN. If the problem still occurs, it means that your file has a feature which has not been implemented.If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.

On another box, an Ubuntu one, I have installed the ffmpeg package from the repositories and it works fine with the same files. Also, on yet another CentOS box I am using a several-year-old version of ffmpeg that was compiled ages ago which can decode the same amr files just fine.

So either the error message is completely wrong and the real problem with the files is different, or there has been some regression in that a feature that had already been implemented ages ago has been dropped.


#638 add support for tiled TIFF avcodec enhancement Nov 11, 2011
C:\>ffmpeg -i Tiled_NONE_8bpp.tif
ffmpeg version N-34549-g13b7781, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov  6 2011 22:02:08 with gcc 4.6.1
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 24. 0 / 51. 24. 0
  libavcodec   53. 28. 0 / 53. 28. 0
  libavformat  53. 19. 0 / 53. 19. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 47. 0 /  2. 47. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[tiff @ 02605B60] Image data is missing
[image2 @ 020A2320] Could not find codec parameters (Video: tiff)
Tiled_NONE_8bpp.tif: could not find codec parameters

#643 VAAPI dynamic loading avcodec enhancement Nov 11, 2011

Hi,

We have implemented VAAPI support in our video player and things are great so far. However, ffmpeg creates a hard dependency on libva when we compile it with --enable-vaapi. This means the library won't load if libva is not available. This was a big problem to us. We can't really force its installation on already deployed systems especially when they don't even support hardware acceleration. Instead, I created a patch to support VAAPI dynamic loading. This patch does not come without compromises. For example, the vaapi_context now requires additional function pointers. Still, if you think this could be useful, here is the patch.

Thanks, Gabi Julien


#747 Enable AMV encoding for audio avcodec enhancement Dec 14, 2011

The amv format is made for chinese s1mp3 hardware players, and is now part of the latest version of FFmpeg (0.9 - Harmony).

However, its underlying audio is adpcm_ima_amv, and this is unsupported by FFmpeg.

When I call ffmpeg -codecs, it contains the line D A D adpcm_ima_amv ADPCM IMA AMV, which means Decoding supported, Audio codec, Direct rendering, but it doesn't contain E which stands for Encoding.

I found the amv-codec-tools project, which supports this audio format automatically.

I think it would be easy to merge the outdated adpcm_ima_amv encoder from the amv-codec-tools into FFmpeg.

To be noted, compiling amv-codec-tools with the new FFmpeg version doesn't work, even I disable the amv and the adpcm_ima_amv encoders/decoders, I get this error:

[NULL @ 039a7860] Requested output format 'amv' is not a suitable output format
sample.amv: Invalid argument

Which is the same error that occurs when trying to use FFmpeg 0.9 for the AMV format - an issue that should be reported separately.

This issue is very urgent to me and I consider promoting a developer that will make it work.


#798 LEAD codecs not supported avcodec enhancement Dec 20, 2011

windows media player play such files fine

ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec  5 2011 14:28:46 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --e
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable
libxvid --enable-zlib
  libavutil    51. 30. 0 / 51. 30. 0
  libavcodec   53. 40. 0 / 53. 40. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 51. 0 /  2. 51. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[avi @ 000000000031D830] Format avi probed with size=2048 and score=100
[AVI demuxer @ 0000000001C20080] use odml:1
st:1 removing common factor 13 from timebase
[gsm_ms @ 000000000031F620] err{or,}_recognition separate: 1; 1
[gsm_ms @ 000000000031F620] err{or,}_recognition combined: 1; 65537
[avi @ 000000000031D830] parser not found for codec gsm_ms, packets or times may be invalid.
[avi @ 000000000031D830] parser not found for codec none, packets or times may be invalid.
[avi @ 000000000031D830] max_analyze_duration 5000000 reached at 5005000
Input #0, avi, from 'DaDa_CMP.avi':
  Duration: 00:00:07.54, start: 0.000000, bitrate: 2750 kb/s
    Stream #0:0, 152, 1001/30000: Video: none (LEAD / 0x4441454C), 480x320, 1001/30000, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1, 703, 5/689: Audio: gsm_ms (1[0][0][0] / 0x0031), 44100 Hz, 1 channels, s16, 71 kb/s
Video pixel format is unknown, stream cannot be encoded

==================

ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec  5 2011 14:28:46 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --e
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable
libxvid --enable-zlib
  libavutil    51. 30. 0 / 51. 30. 0
  libavcodec   53. 40. 0 / 53. 40. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 51. 0 /  2. 51. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[avi @ 000000000200D7F0] Format avi probed with size=2048 and score=100
[AVI demuxer @ 0000000000330080] use odml:1
st:1 removing common factor 13 from timebase
[gsm_ms @ 000000000200F5E0] err{or,}_recognition separate: 1; 1
[gsm_ms @ 000000000200F5E0] err{or,}_recognition combined: 1; 65537
[avi @ 000000000200D7F0] parser not found for codec gsm_ms, packets or times may be invalid.
[avi @ 000000000200D7F0] parser not found for codec none, packets or times may be invalid.
[avi @ 000000000200D7F0] max_analyze_duration 5000000 reached at 5005000
Input #0, avi, from 'DaDa_CMW.avi':
  Duration: 00:00:07.54, start: 0.000000, bitrate: 2355 kb/s
    Stream #0:0, 152, 1001/30000: Video: none (LCW2 / 0x3257434C), 480x320, 1001/30000, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1, 703, 5/689: Audio: gsm_ms (1[0][0][0] / 0x0031), 44100 Hz, 1 channels, s16, 71 kb/s
Video pixel format is unknown, stream cannot be encoded

#914 tiff: support "old style LZW" avcodec enhancement Jan 11, 2012

quad-lzw.tif 512x384 8-bit RGB (lzw) "quadric surfaces"

C:\>ffmpeg -i quad-lzw.tif out.bmp
ffmpeg version N-36635-gceb0dd9 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan  9 2012 17:39:58 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 34.100 / 51. 34.100
  libavcodec     53. 54.100 / 53. 54.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 58.100 /  2. 58.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    51.  2.100 / 51.  2.100
[tiff @ 02645B60] Decoded only 3 bytes of 1536
Input #0, image2, from 'quad-lzw.tif':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: tiff, rgb24, 512x384, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'rgb24' for codec 'bmp', auto-selecting format 'bgr24'

[buffer @ 020F1760] w:512 h:384 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 020F19E0] auto-inserting filter 'auto-inserted scale 0' between th
e filter 'src' and the filter 'out'
[scale @ 020F1E60] w:512 h:384 fmt:rgb24 -> w:512 h:384 fmt:bgr24 flags:0x4
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf53.29.100
    Stream #0:0: Video: bmp, bgr24, 512x384, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (tiff -> bmp)
Press [q] to stop, [?] for help
[tiff @ 02645B60] Decoded only 3 bytes of 1536
frame=    1 fps=  0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/
s
video:576kB audio:0kB global headers:0kB muxing overhead -100.000000%

#929 AAC decoder does not respect request_channels avcodec enhancement Jan 19, 2012

I tested AAC 5.1 channel audio on stereo output on arm-based beagleboard. sometimes there is audio output on left channel, other times on right channel. This issue doesn't happen on AC3 5.1 channel.


#1009 XvBA - AMD Hardware acceleration avcodec enhancement Feb 21, 2012

It would be nice if ffmpeg supports XvBA hardware acceleration because VA-API/XvBA fell into an unmaintained modus.

More Information about the hardware acceleration interface: http://en.wikipedia.org/wiki/X-Video_Bitstream_Acceleration

XvBA SDK: http://developer.amd.com/zones/opensource/Pages/default.aspx

An another project implements the XvBA interface: http://www.phoronix.com/scan.php?page=news_item&px=MTAyODU


#1087 support decoding the CineForm codec avcodec enhancement Mar 17, 2012

I found that ffmpeg can't read CineForm? CFHD files.

There are some samples available here: http://samples.mplayerhq.hu/V-codecs/CFHD/ I may be able to provide more samples if needed.

ffmpeg -y -i MT_BeartoothHighway_1min_Cineform.avi anything.mp4
ffmpeg version N-34835-g4a9f466 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar  4 2012 08:53:39 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-libfreetype --cc=/usr/bin/gcc-4.2 --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass
  libavutil      51. 41.100 / 51. 41.100
  libavcodec     54.  7.100 / 54.  7.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 63.100 /  2. 63.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
[avi @ 0x7fb4c201ae00] decoding for stream 0 failed
[avi @ 0x7fb4c201ae00] Could not find codec parameters (Video: none (CFHD / 0x44484643), 1280x720)
Input #0, avi, from 'MT_BeartoothHighway_1min_Cineform.avi':
  Duration: 00:01:01.96, start: 0.000000, bitrate: 16472 kb/s
    Stream #0:0: Video: none (CFHD / 0x44484643), 1280x720, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
Video pixel format is unknown, stream cannot be encoded

#1258 Codec support request : MPEG Multichannel Audio avcodec enhancement Apr 28, 2012

Hi

Support for MPEG Multichannel audio seems to be missing. This is different to ac3. More information can be found here : http://en.wikipedia.org/wiki/MPEG_Multichannel

It's a method of encoding surround audio into stereo mpeg2 files. If the files are played back using software that doesn't support the extra channels, the data is dropped and only the first two channels are decoded.

This codec forms part of the HDV specification (specifically the 4 channel audio option on some HDV camcorders). The Canon XLH1, in particular, made use of this system.

I have found a very old project called mctoolamed : http://mctoolame.sourceforge.net which can decode this codec.

mctoolamed has several issues; it doesn't make provision for sample rates other than 44.1kHz and it also only supports 2,6 and 8 channel files (HDV cameras shoot 4 channels).


#1308 Decoding SAFA / Philips .ZVR files avcodec enhancement May 15, 2012

SAFA and Philips mobile recording devices create sound files with the extension .ZVR

I have checked whether this format can be read by ffmpeg and I believe that it can't.

There is a free very simple file converter for Windows, but there's nothing for Linux, apart from running the Windows file converter under Wine.

It would be useful if ffmpeg could read (but not write) these files.

I have no idea how much work it might be or how you would get the file specification.

I can supply sample files.


#1347 gif parser avcodec enhancement May 23, 2012

with the test image attached image2 works:

    ffmpeg -f image2 -vcodec gif -i test.gif -f null -

whereas image2pipe doesn't:

[pisto@pcpcpcpc Desktop]$ ffmpeg -f image2 -vcodec gif -i test.gif -f null -
ffmpeg version N-33891-g0e82d31 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 19 2012 15:17:38 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2)
  configuration: --enable-gpl --enable-pic --arch=amd64 --cpu=native --enable-libvpx --enable-libx264 --enable-libv4l2 --enable-libtheora --enable-libspeex --enable-libschroedinger --enable-libpulse --enable-libmp3lame --enable-libfaac --enable-nonfree
  libavutil      51. 53.100 / 51. 53.100
  libavcodec     54. 21.101 / 54. 21.101
  libavformat    54.  5.100 / 54.  5.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 74.102 /  2. 74.102
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 12.100 /  0. 12.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, image2, from 'test.gif':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: gif, pal8, 640x480, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x2a05d80] w:640 h:480 pixfmt:pal8 tb:1/1000000 sar:0/1 sws_param:flags=2
[buffersink @ 0x2a06260] No opaque field provided
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.5.100
    Stream #0:0: Video: rawvideo, pal8, 640x480, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (gif -> rawvideo)
Press [q] to stop, [?] for help
[null @ 0x2a04e40] Encoder did not produce proper pts, making some up.
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/s    
video:0kB audio:0kB global headers:0kB muxing overhead -nan%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
[pisto@pcpcpcpc Desktop]$ cat test.gif | ffmpeg -f image2pipe -vcodec gif -i - -f null -
ffmpeg version N-33891-g0e82d31 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 19 2012 15:17:38 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2)
  configuration: --enable-gpl --enable-pic --arch=amd64 --cpu=native --enable-libvpx --enable-libx264 --enable-libv4l2 --enable-libtheora --enable-libspeex --enable-libschroedinger --enable-libpulse --enable-libmp3lame --enable-libfaac --enable-nonfree
  libavutil      51. 53.100 / 51. 53.100
  libavcodec     54. 21.101 / 54. 21.101
  libavformat    54.  5.100 / 54.  5.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 74.102 /  2. 74.102
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 12.100 /  0. 12.100
  libpostproc    52.  0.100 / 52.  0.100
lzw overread
    Last message repeated 352 times
[image2pipe @ 0x2ef0240] Estimating duration from bitrate, this may be inaccurate
Input #0, image2pipe, from 'pipe:':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: gif, pal8, 640x480, 25 fps, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x2f06020] w:640 h:480 pixfmt:pal8 tb:1/1000000 sar:0/1 sws_param:flags=2
[buffersink @ 0x2f064e0] No opaque field provided
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.5.100
    Stream #0:0: Video: rawvideo, pal8, 640x480, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (gif -> rawvideo)
lzw overread
    Last message repeated 352 times
[null @ 0x2f04f60] Encoder did not produce proper pts, making some up.
Error while decoding stream #0:0
    Last message repeated 3 times
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/s    
video:0kB audio:0kB global headers:0kB muxing overhead -nan%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

#1679 Ability to identify progressive segmented frame material in h.264 avcodec enhancement Aug 25, 2012

It is desirable to be able to identify progressive segmented frame (PsF) material (i.e. a progressively scanned frame encoded as two fields with the same timestamp) in an h.264 stream as that gives applications using libavcodec the possibility to correctly report to the user that the underlying material is really progressive and no deinterlacing makes sense.

From the h.264 spec: clock_timestamp_flag[ i ] equal to 1 indicates that a number of clock timestamp syntax elements are present and follow immediately. clock_timestamp_flag[ i ] equal to 0 indicates that the associated clock timestamp syntax elements are not present. When NumClockTS is greater than 1 and clock_timestamp_flag[ i ] is equal to 1 for more than one value of i, the value of clockTimestamp shall be non-decreasing with increasing value of i. ct_type indicates the scan type (interlaced or progressive) of the source material as follows: Two fields of a coded frame may have different values of ct_type. When clockTimestamp is equal for two fields of opposite parity that are consecutive in output order, both with ct_type equal to 0 (progressive) or ct_type equal to 2 (unknown), the two fields are indicated to have come from the same original progressive frame. Two consecutive fields in output order shall have different values of clockTimestamp when the value of ct_type for either field is 1 (interlaced).

AFAICS in the code in h264.c the information required to make that determination is not parsed, which should not be difficult to add. However, once one has that information, how do I give this back to the API user? Currently there is only the field top_field_first in AVFrame.

What would be the recommended/accepted way of modeling this? If no API change would be accepted for this, would it be ok to sets this as frame metadata via av_frame_set_metadata?


#1882 Multi-threading wmv encoder avcodec enhancement Nov 3, 2012

I'm having issues using multiple cores when using the wmv encoder. It appears to be locked to a single core only.

Any chance we could get support for multiple threads?

Please refer to: http://forum.serviio.org/viewtopic.php?f=5&t=7698


#1887 wmv3: Old interlaced mode is not supported / Reserved RES_SM=2 is forbidden avcodec enhancement Nov 5, 2012

Summary of the bug: check ffmpeg supported codecs , it already support wmv3/wmav2 , but for some files , we can play it but can't decode it. How to reproduce:

for SVN-r22888:
ffmpeg -i huasi.asf  -y huasi.avi
FFmpeg version SVN-r22888, Copyright (c) 2000-2010 the FFmpeg developers
  built on Apr 23 2010 15:09:04 with gcc 4.1.2 20070925 (Red Hat 4.1.2-33)
  configuration: --prefix=/usr/local/enctools --enable-postproc --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libmp3lame --disable-shared --enable-libx264 --enable-pthreads --enable-libfaac --enable-libfaad --enable-nonfree --enable-gpl --enable-libgsm --enable-libnut --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libopenjpeg --enable-libxvid --enable-bzlib --enable-libschroedinger --enable-zlib --enable-small --extra-cflags=-I/usr/local/enctools/include --extra-ldflags=-L/usr/local/enctools/lib
  libavutil     50.14. 0 / 50.14. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.61. 0 / 52.61. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.10. 0 /  0.10. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[wmv3 @ 0x9136a40]Reserved RES_SM=2 is forbidden

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, asf, from 'huasi.asf':
  Metadata:
    WM/ToolName     : TMPGEnc 4.0 XPress Version. 4.2.3.193
    WMFSDKVersion   : 9.00.00.2980
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 00:00:57.07, start: 3.000000, bitrate: 574 kb/s
    Stream #0.0(chi): Audio: wmav2, 48000 Hz, 2 channels, s16, 64 kb/s
    Stream #0.1(chi): Video: wmv3, yuv420p, 720x576, 500 kb/s, 25 tbr, 1k tbn, 1k tbc
[wmv3 @ 0x9136a40]Reserved RES_SM=2 is forbidden
Output #0, avi, to 'huasi.avi':
    Stream #0.0(chi): Video: mpeg4, yuv420p, 720x576, q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream #0.1(chi): Audio: mp2, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
Error while opening decoder for input stream #0.1

also failed on latest ffmpeg-1.0:

ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 15 2012 12:12:07 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  configuration: --prefix=/usr/local/ffmpeg-1.0-new --enable-postproc --enable-avfilter --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libmp3lame --disable-shared --enable-libx264 --enable-pthreads --enable-libfaac --enable-nonfree --enable-gpl --enable-libgsm --enable-libnut --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libopenjpeg --enable-libxvid --enable-bzlib --enable-libschroedinger --enable-zlib --enable-small --enable-libcdio --enable-libvo-aacenc --enable-libfdk-aac --enable-libvo-amrwbenc --enable-libvpx --enable-libxavs --extra-cflags=-I/usr/local/enctools/include --extra-ldflags=-L/usr/local/enctools/lib
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[wmv3 @ 0x1b2f7e0] Old interlaced mode is not supported
    Last message repeated 1 times
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from 'huasi.asf':
  Metadata:
    WM/ToolName     : TMPGEnc 4.0 XPress Version. 4.2.3.193
    WMFSDKVersion   : 9.00.00.2980
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 00:00:57.07, start: 0.000000, bitrate: 574 kb/s
    Stream #0:0(chi): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, stereo, s16, 64 kb/s
    Stream #0:1(chi): Video: wmv3 (WMV3 / 0x33564D57), yuv420p, 720x576, 500 kb/s, 25 tbr, 1k tbn, 1k tbc
[wmv3 @ 0x1b2f7e0] Old interlaced mode is not supported
Output #0, avi, to 'test.avi':
  Metadata:
    WM/ToolName     : TMPGEnc 4.0 XPress Version. 4.2.3.193
    WMFSDKVersion   : 9.00.00.2980
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
    Stream #0:0(chi): Video: mpeg4, yuv420p, 720x576, q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream #0:1(chi): Audio: mp3, 48000 Hz, stereo, s16
Stream mapping:
  Stream #0:1 -> #0:0 (wmv3 -> mpeg4)
  Stream #0:0 -> #0:1 (wmav2 -> libmp3lame)
Error while opening decoder for input stream #0:1


#2377 Support lossless mp3HD avcodec enhancement Mar 19, 2013

FFmpeg does not support decoding the lossless layer of mp3HD

$ ffmpeg -i sample-128-and-lossless-mp3HD.mp3 ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers

built on Nov 13 2012 16:03:45 with gcc 4.6.3 configuration: --prefix=/usr --enable-shared --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include --disable-stripping --enable-postproc --enable-gpl --enable-pthreads --enable-libtheora --enable-libvorbis --disable-encoder=vorbis --enable-libvpx --enable-x11grab --enable-runtime-cpudetect --enable-libdc1394 --enable-libschroedinger --enable-librtmp --enable-libspeex --enable-libfreetype --enable-libnut --enable-libgsm --enable-libcelt --enable-libopencv --enable-libopenjpeg --enable-libxavs --enable-frei0r --enable-libmodplug --enable-libass --enable-gnutls --enable-libcdio --enable-libpulse --enable-libdirac --enable-libv4l2 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libxvid libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100

[mp3 @ 0x1efe840] Format mp3 detected only with low score of 24, misdetection possible! [mp3 @ 0x1efe840] max_analyze_duration 5000000 reached at 5015510 Input #0, mp3, from 'sample-128-and-lossless-mp3HD.mp3':

Duration: 00:03:39.35, start: 0.000000, bitrate: 666 kb/s

Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s

At least one output file must be specified


#2690 Red Cinema r3d files not supported avcodec enhancement Jun 20, 2013

Summary of the bug: I have tested it with more files from different sources, on fresh compiled git version of ffmpeg, on ffmpeg compiled without "libopenjpeg", but it doesn't work - R3d files from RED Cinema cannot be decoded.

[me@localhost modules]# ffmpeg -v 9 -loglevel 99 -i /me/Desktop/A002_C006_0205V7_001.R3D ffmpeg version 1.0.7 Copyright (c) 2000-2013 the FFmpeg developers

built on May 14 2013 21:59:35 with gcc 4.7.2 (GCC) 20121109 (Red Hat 4.7.2-8) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect libavutil 51. 73.101 / 51. 73.101 libavcodec 54. 59.100 / 54. 59.100 libavformat 54. 29.104 / 54. 29.104 libavdevice 54. 2.101 / 54. 2.101 libavfilter 3. 17.100 / 3. 17.100 libswscale 2. 1.101 / 2. 1.101 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100

[r3d @ 0x7c8780] Format r3d probed with size=2048 and score=100 [r3d @ 0x7c8780] File position before avformat_find_stream_info() is 324 [libopenjpeg @ 0x7d6c80] Error decoding codestream.

Last message repeated 3 times

[r3d @ 0x7c8780] Probe buffer size limit 5000000 reached [r3d @ 0x7c8780] decoding for stream 0 failed [r3d @ 0x7c8780] Could not find codec parameters for stream 0 (Video: jpeg2000, 4096x2304, 1/240000): unspecified pixel format Consider increasing the value for the 'analyzeduration' and 'probesize' options [r3d @ 0x7c8780] File position after avformat_find_stream_info() is 6494364 /root/Desktop/A002_C006_0205V7_001.R3D: could not find codec parameters [AVIOContext @ 0x7d7e20] Statistics: 6529424 bytes read, 3 seeks


#3009 Support mvc avcodec enhancement Sep 28, 2013

Summary of the bug:Trying to analyze the AVC_codec_not_recognized_right_video_sample.m2ts. ffmpeg does not recognize the AVC codec in the m2ts file.

Was using the command $ ffmpeg -probesize 10240 -analyzeduration 1000 -i AVC_codec_not_recognized_right_video_sample.m2ts ffmpeg -probesize 10240 -analyzeduration 1000 -i right_video_sample.m2ts ffmpeg version N-56704-g3e0c78b Copyright (c) 2000-2013 the FFmpeg developers

built on Sep 27 2013 16:48:11 with gcc 4.7.3 (Gentoo 4.7.3 p1.2, pie-0.5.5) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe -g' --extra-cflags='-march=native -O2 -pipe -g' --extra-cxxflags='-march=native -O2 -pipe -g' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-version3 --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --disable-network --disable-openssl --enable-ffplay --disable-vaapi --disable-vdpau --enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --disable-libfdk-aac --disable-libaacplus --disable-libfaac --enable-libtheora --disable-libtwolame --disable-libwavpack --enable-libx264 --enable-libxvid --disable-libcdio --disable-libiec61883 --enable-libdc1394 --disable-libcaca --enable-openal --disable-libv4l2 --disable-libpulse --enable-x11grab --disable-libflite --disable-frei0r --disable-fontconfig --disable-libass --enable-libfreetype --disable-libsoxr --enable-pthreads --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopenjpeg --disable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-libmodplug --disable-libopus --disable-libquvi --disable-librtmp --disable-libschroedinger --disable-libspeex --enable-libvorbis --disable-libvpx --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-vis --disable-neon --cpu=host libavutil 52. 46.100 / 52. 46.100 libavcodec 55. 33.101 / 55. 33.101 libavformat 55. 18.104 / 55. 18.104 libavdevice 55. 3.100 / 55. 3.100 libavfilter 3. 87.100 / 3. 87.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.100 / 2. 5.100 libswresample 0. 17.103 / 0. 17.103 libpostproc 52. 3.100 / 52. 3.100

[mpegts @ 0x220a320] probed stream 0 failed [mpegts @ 0x220a320] Could not find codec parameters for stream 0 (Unknown: none (HDMV / 0x564D4448)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options right_video_sample.m2ts: could not find codec parameters

mediainfo is able to recognize the AVC codec $ mediainfo AVC_codec_not_recognized_right_video_sample.m2ts General ID : 0 (0x0) Complete name : right_video_sample.m2ts Format : BDAV Format/Info? : Blu-ray Video File size : 9.77 MiB Duration : 4s 593ms Overall bit rate mode : Variable Overall bit rate : 17.7 Mbps Maximum Overall bit rate : 48.0 Mbps

Video ID : 4114 (0x1012) Menu ID : 1 (0x1) Format : AVC Format/Info? : Advanced Video Codec Format profile : Stereo High@L4.1 MultiView_Count : 2 Format settings, CABAC : Yes Format settings, ReFrames? : 4 frames Codec ID : 32 Duration : 4s 296ms Bit rate mode : Variable Bit rate : 17.0 Mbps Maximum bit rate : 22.6 Mbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 23.976 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.341 Stream size : 8.68 MiB (89%)

The output of $ ffmpeg -v 9 -loglevel 99 -i AVC_codec_not_recognized_right_video_sample.m2ts is show below

In comparison, the left video file from the same 3D source, is recognized

$ ffmpeg -i AVC_codec_recognized_left_video_sample.m2ts ffmpeg version N-56704-g3e0c78b Copyright (c) 2000-2013 the FFmpeg developers

built on Sep 27 2013 16:48:11 with gcc 4.7.3 (Gentoo 4.7.3 p1.2, pie-0.5.5) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe -g' --extra-cflags='-march=native -O2 -pipe -g' --extra-cxxflags='-march=native -O2 -pipe -g' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-version3 --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --disable-network --disable-openssl --enable-ffplay --disable-vaapi --disable-vdpau --enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --disable-libfdk-aac --disable-libaacplus --disable-libfaac --enable-libtheora --disable-libtwolame --disable-libwavpack --enable-libx264 --enable-libxvid --disable-libcdio --disable-libiec61883 --enable-libdc1394 --disable-libcaca --enable-openal --disable-libv4l2 --disable-libpulse --enable-x11grab --disable-libflite --disable-frei0r --disable-fontconfig --disable-libass --enable-libfreetype --disable-libsoxr --enable-pthreads --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopenjpeg --disable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-libmodplug --disable-libopus --disable-libquvi --disable-librtmp --disable-libschroedinger --disable-libspeex --enable-libvorbis --disable-libvpx --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-vis --disable-neon --cpu=host libavutil 52. 46.100 / 52. 46.100 libavcodec 55. 33.101 / 55. 33.101 libavformat 55. 18.104 / 55. 18.104 libavdevice 55. 3.100 / 55. 3.100 libavfilter 3. 87.100 / 3. 87.100 libavresample 1. 1. 0 / 1. 1. 0 libswscale 2. 5.100 / 2. 5.100 libswresample 0. 17.103 / 0. 17.103 libpostproc 52. 3.100 / 52. 3.100

[mpegts @ 0x244e0a0] Stream #2: not enough frames to estimate rate; consider increasing probesize [NULL @ 0x2453540] start time is not set in estimate_timings_from_pts [mpegts @ 0x244e0a0] PES packet size mismatch [mpegts @ 0x244e0a0] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'AVC_codec_recognized_left_video_sample.m2ts':

Duration: 00:00:02.88, start: 11.608967, bitrate: 28465 kb/s Program 1

Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), fltp, 1536 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)

$ mediainfo AVC_codec_recognized_left_video_sample.m2ts General ID : 0 (0x0) Complete name : AVC_codec_recognized_left_video_sample.m2ts Format : BDAV Format/Info? : Blu-ray Video File size : 9.77 MiB Duration : 2s 791ms Overall bit rate mode : Variable Overall bit rate : 28.8 Mbps Maximum Overall bit rate : 48.0 Mbps

Video ID : 4113 (0x1011) Menu ID : 1 (0x1) Format : AVC Format/Info? : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames? : 4 frames Codec ID : 27 Duration : 2s 878ms Bit rate mode : Variable Maximum bit rate : 33.9 Mbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 23.976 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive

Audio ID : 4352 (0x1100) Menu ID : 1 (0x1) Format : DTS Format/Info? : Digital Theater Systems Format profile : MA / Core Mode : 16 Format settings, Endianness : Big Muxing mode : Stream extension Codec ID : 134 Duration : 2s 763ms Bit rate mode : Variable Bit rate : Unknown / 1 509 Kbps Channel count : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz Bit depth : 24 bits Compression mode : Lossless / Lossy

Text ID : 4608 (0x1200) Menu ID : 1 (0x1) Format : PGS Codec ID : 144

All files have been submitted to the ftp server in incoming/AVC_codec_in_m2ts_not_recognized

How to reproduce:

Run 
$ ffmpeg -i AVC_codec_not_recognized_right_video_sample.m2ts

$ ffmpeg -v 9 -loglevel 99 -i AVC_codec_not_recognized_right_video_sample.m2ts 
ffmpeg version N-56704-g3e0c78b Copyright (c) 2000-2013 the FFmpeg developers
  built on Sep 27 2013 16:48:11 with gcc 4.7.3 (Gentoo 4.7.3 p1.2, pie-0.5.5)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe -g' --extra-cflags='-march=native -O2 -pipe -g' --extra-cxxflags='-march=native -O2 -pipe -g' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-version3 --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --disable-network --disable-openssl --enable-ffplay --disable-vaapi --disable-vdpau --enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --disable-libfdk-aac --disable-libaacplus --disable-libfaac --enable-libtheora --disable-libtwolame --disable-libwavpack --enable-libx264 --enable-libxvid --disable-libcdio --disable-libiec61883 --enable-libdc1394 --disable-libcaca --enable-openal --disable-libv4l2 --disable-libpulse --enable-x11grab --disable-libflite --disable-frei0r --disable-fontconfig --disable-libass --enable-libfreetype --disable-libsoxr --enable-pthreads --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopenjpeg --disable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-libmodplug --disable-libopus --disable-libquvi --disable-librtmp --disable-libschroedinger --disable-libspeex --enable-libvorbis --disable-libvpx --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-vis --disable-neon --cpu=host
  libavutil      52. 46.100 / 52. 46.100
  libavcodec     55. 33.101 / 55. 33.101
  libavformat    55. 18.104 / 55. 18.104
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 87.100 /  3. 87.100
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  5.100 /  2.  5.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.                                               
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.                                
Reading option '-i' ... matched as input file with argument 'right_video_sample.m2ts'.                                             
Finished splitting the commandline.                                                                                                
Parsing a group of options: global .                                                                                               
Applying option v (set logging level) with argument 9.                                                                             
Successfully parsed a group of options.                                                                                            
Parsing a group of options: input file right_video_sample.m2ts.                                                                    
Successfully parsed a group of options.                                                                                            
Opening an input file: right_video_sample.m2ts.                                                                                    
[mpegts @ 0xffe0e0] Format mpegts probed with size=2048 and score=100                                                              
[mpegts @ 0xffe0e0] stream=0 stream_type=20 pid=1012 prog_reg_desc=HDMV                                                            
[mpegts @ 0xffe0e0] File position before avformat_find_stream_info() is 0
[mpegts @ 0xffe0e0] parser not found for codec none, packets or times may be invalid.
[mpegts @ 0xffe0e0] probing stream 0 pp:2500
[mpegts @ 0xffe0e0] probing stream 0 pp:2499
[mpegts @ 0xffe0e0] probing stream 0 pp:2498
[mpegts @ 0xffe0e0] probing stream 0 pp:2497
[mpegts @ 0xffe0e0] probing stream 0 pp:2496
[mpegts @ 0xffe0e0] probing stream 0 pp:2495
[mpegts @ 0xffe0e0] probing stream 0 pp:2494
[mpegts @ 0xffe0e0] probing stream 0 pp:2493
[mpegts @ 0xffe0e0] probing stream 0 pp:2492
[mpegts @ 0xffe0e0] probing stream 0 pp:2491
[mpegts @ 0xffe0e0] probing stream 0 pp:2490
[mpegts @ 0xffe0e0] probing stream 0 pp:2489
[mpegts @ 0xffe0e0] probing stream 0 pp:2488
[mpegts @ 0xffe0e0] probing stream 0 pp:2487
[mpegts @ 0xffe0e0] probing stream 0 pp:2486
[mpegts @ 0xffe0e0] probing stream 0 pp:2485
[mpegts @ 0xffe0e0] probing stream 0 pp:2484
[mpegts @ 0xffe0e0] probing stream 0 pp:2483
[mpegts @ 0xffe0e0] probing stream 0 pp:2482
[mpegts @ 0xffe0e0] probing stream 0 pp:2481
[mpegts @ 0xffe0e0] probing stream 0 pp:2480
[mpegts @ 0xffe0e0] probing stream 0 pp:2479
[mpegts @ 0xffe0e0] probing stream 0 pp:2478
[mpegts @ 0xffe0e0] probing stream 0 pp:2477
[mpegts @ 0xffe0e0] probing stream 0 pp:2476
[mpegts @ 0xffe0e0] probing stream 0 pp:2475
[mpegts @ 0xffe0e0] probing stream 0 pp:2474
[mpegts @ 0xffe0e0] probing stream 0 pp:2473
[mpegts @ 0xffe0e0] probing stream 0 pp:2472
[mpegts @ 0xffe0e0] probing stream 0 pp:2471
[mpegts @ 0xffe0e0] probing stream 0 pp:2470
[mpegts @ 0xffe0e0] probing stream 0 pp:2469
[mpegts @ 0xffe0e0] probing stream 0 pp:2468
[mpegts @ 0xffe0e0] probing stream 0 pp:2467
[mpegts @ 0xffe0e0] probing stream 0 pp:2466
[mpegts @ 0xffe0e0] probing stream 0 pp:2465
[mpegts @ 0xffe0e0] probing stream 0 pp:2464
[mpegts @ 0xffe0e0] probing stream 0 pp:2463
[mpegts @ 0xffe0e0] probing stream 0 pp:2462
[mpegts @ 0xffe0e0] probing stream 0 pp:2461
[mpegts @ 0xffe0e0] probing stream 0 pp:2460
[mpegts @ 0xffe0e0] probing stream 0 pp:2459
[mpegts @ 0xffe0e0] probed stream 0 failed
[mpegts @ 0xffe0e0] parser not found for codec none, packets or times may be invalid.
[mpegts @ 0xffe0e0] Probe buffer size limit of 5000000 bytes reached
[mpegts @ 0xffe0e0] Could not find codec parameters for stream 0 (Unknown: none (HDMV / 0x564D4448)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0xffe0e0] File position after avformat_find_stream_info() is 0
right_video_sample.m2ts: could not find codec parameters
[AVIOContext @ 0x10067a0] Statistics: 5558420 bytes read, 3 seeks

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.


#3085 Audio in broken transport stream can be decoded with other software avcodec enhancement Oct 26, 2013

Summary of the bug: When trying to convert a file I get the following error:

[aac @ 03254800] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.

Is this something that is supported and need to be enabled or something which needs support?

Can one choose the library used for decoding?(fdk or libvo or aac)?

ffmpeg version N-54802-gfc6de70 Copyright (c) 2000-2013 the FFmpeg developers
built on Oct 14 2013 09:33:16 with gcc 4.8.0 (GCC)
 configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libmodplug --extra-libs=-lstdc++ --enable-libcaca --prefix=/home/mcebuddy/Software/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32 --enable-static --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass   libavutil      52. 40.100 / 52. 40.100
libavcodec     55. 18.102 / 55. 18.102
libavformat    55. 12.102 / 55. 12.102
libavdevice    55.  3.100 / 55.  3.100
libavfilter     3. 81.101 /  3. 81.101
libswscale      2.  4.100 /  2.  4.100
libswresample   0. 17.102 /  0. 17.102
libpostproc    52.  3.100 / 52.  3.100

#3247 Transparent subtitle outlines (IDX/SUB) upon conversion to XSUB become solid, and colors become b&w avcodec enhancement Dec 26, 2013

Summary of the bug:

Transparent subtitle outlines (IDX/SUB) upon conversion to XSUB become solid, and colors become black and white.

How to reproduce:

ffmpeg -v 9 -loglevel 99 -report -i transpidx.avi -i t

ranspidx.idx -vcodec copy -an transpxsub.avi


#3392 FFmpeg does not show video bitrates for H.264 video avcodec enhancement Feb 17, 2014

When using ffmpeg -i file.mkv , FFmpegdoes not display the video bitrate of .mkv files All other containers seems to work fine.


#3577 add LAME tag for MP3s avcodec enhancement Apr 21, 2014

When creating MP3s using FFMPEG, the LAME tag doesn't get added. Normally, it looks like this:

Writing library  : LAME3.99r
Encoding settings: -m j -V 2 -q 0 -lowpass 18.5 --vbr-new -b 32

But with libmp3lame it looks like this only:

Writing library : LAME3.99.5

#3595 Support >6 channels in E-AC-3 audio encoder avcodec enhancement Apr 27, 2014

E-AC-3 supports up to 15 full-bandwidth channels, but libavcodec's encoder currently doesn't support 6.1 and 7.1 channel layouts. Do these layouts just need to be added to ff_ac3_channel_layouts, or would this require additional work on the encoder?


#3854 Does hevc support ARM (VFP and NEON) optimization? avcodec enhancement Aug 15, 2014

Dear Sirs:

I downloaded the latest source code and I found the HEVC does not support ARM(NEON and VFP) optimization. Is there any plan to implement it?


#4141 HEVC: 1920x1080i file decoded as 1920x540p avcodec enhancement Nov 26, 2014

Summary of the bug: It seems ffmpeg is decoding this sample as 1920x540 progressive instead of 1920x1080 interlaced.

How to reproduce:

ffmpeg version N-67999-gd0879a9 Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov 25 2014 11:37:18 with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 13.100 / 56. 13.100
  libavformat    56. 15.100 / 56. 15.100
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[hevc @ 02a52aa0] Could not find ref with POC 72
[hevc @ 02a52aa0] Could not find ref with POC 68
[hevc @ 02a52aa0] Could not find ref with POC 64
Input #0, mpeg, from 'Service 5 (T2 Test) (2014-11-26 01-39-13-695).mpg':
  Duration: 00:00:04.69, start: 50223.448456, bitrate: 3204 kb/s
    Stream #0:0[0x1e0]: Video: hevc (Main), yuv420p(tv), 1920x540, 25 fps, 25 tbr, 90k tbn, 25 tbc
    Stream #0:1[0x80]: Audio: eac3, 48000 Hz, stereo, fltp, 192 kb/s

#4360 reencode mbs even at -mbd 0 when coeffs require cliping avcodec enhancement Mar 8, 2015

Summary of the bug:

A specific sample video experiences heavy artifacts when transcoded to MPEG-1 video using -mbd 0 (or leaving it as default), even at very high bit rates. -q:v 1 increases the severity.

How to reproduce:

Download this video: http://trailers.divx.com/divx_prod/profiles/Micayala_DivX1080p_ASP.divx

Run this (used Zoranoe git-9d7e42e 64-bit static build)

% ffmpeg -i Micayala_DivX1080p_ASP.divx -b:v 30000k -bf 5 -report -y artifacts.m1v

Notice artifacts on the DivX logo animations and both the start and end of the video.

Changing -b:v to 5000k or 30000k did not have any effect. -q:v 1 increased the severity. The problem does not occur when using -mbd 1 or -mbd 2.


#4409 Implement decoding for 10bit Grayscale (Y only) pixelformat from DPX avcodec enhancement Mar 30, 2015

Summary of the bug: Hello, we are using a Scanity HDR filmscanner which is able to create 10bit grayscale DPX files. Current ffmpeg versions are not able to decode/encode this pixelformat. I need just to decode this pixelformat from DPX files from a Scanity scanner. So, in fact, this is not a bug, it is an improvement ticket.

How to reproduce: just try to decode a DPX from the attached testbed (DPX_Samples_10Bit_Y_Only.zip).

C:\Users\gersti>ffmpegnew -i "I:\DPX\_DPX examples\Bojan\ffmpegticket\0090000.dpx"
ffmpeg version N-70803-g0f16dfd Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libblu
ray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --
enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enab
le-zlib
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 28.100 / 56. 28.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 12.100 /  5. 12.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[dpx @ 0000000002d27840] Packing 2 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been impl
emented.
[dpx_pipe @ 0000000002d16600] decoding for stream 0 failed
[dpx_pipe @ 0000000002d16600] Could not find codec parameters for stream 0 (Video: dpx, none, 2048x1520): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
I:\DPX\_DPX examples\Bojan\ffmpegticket\0090000.dpx: could not find codec parameters
Input #0, dpx_pipe, from 'I:\DPX\_DPX examples\Bojan\ffmpegticket\0090000.dpx':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: dpx, none, 2048x1520, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

Additonal Information from SCANITY HDR: Supported Pixel Formats: *Bits per Component (Kodak Cineon, DPX): 8/10/16bit per Component *Color Components (DPX, TIFF): RGB / RGBA / Y only / Alpha only

10 Bit Y Only: SCANITY usually will generate a DPX V2.0 conform images in the 10 Bit Y only B image packing mode, which is used in the SPIRIT family. This switch allows to change the image packing to the DPX V2.0 conform 10 Bit Y only A mode.

I guess ffmpeg means with "[dpx @ 0000000002d27840] Packing 2 is not implemented" the B IMAGE PACKING MODE.

Best Regards Christoph Gerstbauer


#4638 Multithreaded FLAC encoding avcodec enhancement Jun 18, 2015

I found that FLAC encoding utilizes only 100% of CPU, instead, e.g. 1200% (I have 12-core computer). It takes so long when encoding large files at maximum compression level.

Could you add multithreading to FLAC encoding? Maybe, openCL would be help common users too. flaCCL, FlaCuda? are multithreaded and have better compression than that one of ffmpeg. Could you include them into ffmpeg?

I hope this request won't hang here 3-2 years like many others. :'(


#4799 audio codec conversion codec 0x0135 sipro lab kelvin avcodec enhancement Aug 24, 2015

I'm trying to convert codec 0x0135 sipro lab kelvin to mp3. I think ffmpeg currently doesn't support this conversion.

commandline - ffmpeg -i sipro_codec_wav.wav test.mp3 http://www.datafilehost.com/d/cef9a4d9 http://www.datafilehost.com/d/d87133da http://www.datafilehost.com/d/05a4dc9e - sample wav


#4907 Support decoding animated WebP images avcodec enhancement Oct 5, 2015

Summary of the bug: Currently, FFmpeg can encode animated WebPs?, but cannot decode them, which is inconvenient for users.

Decoding animated WebPs? right now generates "image data not found error" due to "unsupported chunk": https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/webp.c#L1504

How to reproduce: (example input image: https://www.gstatic.com/webp/animated/1.webp)

% ffmpeg -i 1.webp 1.gif
ffmpeg version N-75787-g1d4af04 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --enable-libwebp
  libavutil      55.  2.100 / 55.  2.100
  libavcodec     57.  4.100 / 57.  4.100
  libavformat    57.  3.100 / 57.  3.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 10.100 /  6. 10.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.100 /  2.  0.100
[webp @ 0x3782940] image data not found
[webp_pipe @ 0x3781360] decoding for stream 0 failed

< Rest of the output truncated >


#4947 libx264/265 encoder "parameter unknown" is a warning rather than an error avcodec enhancement Oct 20, 2015

Summary of the bug: A cyan-yellow warning is displayed when an invalid parameter is used for libx264/265 param options, which continues the encoding process, furthermore with the combined use of verbose messages the console output may scroll far enough for this error to be missed, it has created confusion that lead to assumption of a bug and has spent unnecessary effort and time spent in discussions.

The mistake in this case was of the use of "-" minus/dash which is a ffmpeg param, not the encoder option.

x265 case: Unknown option -crf.

x264 case: Error parsing option "-crf = 20".

As we can see, the x264 message is even closer, it is actually written as an error, but it still appears and behaves as a warning and the encoding process continues.

How to reproduce:

% ffmpeg -i input -x265-params -crf=20 ... output
ffmpeg version ... N/A
built on ... N/A

#5213 Change Flags for MPEG files without reencode avcodec enhancement Feb 2, 2016

Is it possible to implemente a feature in MPEG to change flags in MPEG files, without the need to reencode? This would greatly help in cases when it is needed to change aspect ratio, frame rate, encoding profiles, etc.


#5361 support for the options of decoding quality of videotoolbox avcodec enhancement Mar 22, 2016

thank ffmpeg team for the good app.

as i said in the ticket #5272, seeing "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/VideoToolbox.framework/Versions/A/Headers/VTDecompressionProperties.h" videotoolbox decoder has the options of decoding quality.

there is a commit of such a function in vlc player. [vlc-commits] videotoolbox: add temporal deinterlacer option ​https://mailman.videolan.org/pipermail/vlc-commits/2015-August/031929.html

i request supports for the below options. for denterlace kVTDecompressionPropertyKey_FieldMode kVTDecompressionPropertyKey_DeinterlaceMode

for scale kVTDecompressionPropertyKey_ReducedResolutionDecode

for frame drop kVTDecompressionPropertyKey_ReducedFrameDelivery kVTDecompressionPropertyKey_OnlyTheseFrames

for realtime playback kVTDecompressionPropertyKey_SuggestedQualityOfServiceTiers

though there are some options pixel formats and kVTDecompressionPropertyKey_ReducedCoefficientDecode, i don't evaluate these.


#5561 Implement a tiff parser avcodec enhancement May 16, 2016

when sending TIFF files to ffmpeg via piped input -> error:

[tiff_pipe @ 0000024d6abdcf40] Could not find codec parameters for stream 0 (Video: tiff, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options

I successfully tested piped input with png and jpg files

ffmpeg started on 2016-05-16 at 00:41:45
Report written to "ffmpeg-20160516-004145.log"
Command line:
ffmpeg -v 9 -framerate 25 -i pipe:0 test.mp4 -y -report < file_1_test.tif
ffmpeg version N-79173-gbe746ae Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --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-decklink --enable-zlib
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 32.100 / 57. 32.100
  libavformat    57. 29.101 / 57. 29.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 40.102 /  6. 40.102
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-framerate' ... matched as AVOption 'framerate' with argument '25'.
Reading option '-i' ... matched as input file with argument 'pipe:0'.
Reading option 'test.mp4' ... matched as output file.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option y (overwrite output files) with argument 1.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file pipe:0.
Successfully parsed a group of options.
Opening an input file: pipe:0.
[pipe @ 00000241e664f080] Setting default whitelist 'crypto'
[tiff_pipe @ 00000241e664e0e0] Format tiff_pipe probed with size=2048 and score=51
[tiff_pipe @ 00000241e664e0e0] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0
[tiff_pipe @ 00000241e664e0e0] parser not found for codec tiff, packets or times may be invalid.
[tiff_pipe @ 00000241e664e0e0] Could not find codec parameters for stream 0 (Video: tiff, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[tiff_pipe @ 00000241e664e0e0] After avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 frames:0
pipe:0: could not find codec parameters
Input #0, tiff_pipe, from 'pipe:0':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 0, 1/25: Video: tiff, none, 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output file test.mp4.
Successfully parsed a group of options.
Opening an output file: test.mp4.
Output #0, mp4, to 'test.mp4':
Output file #0 does not contain any stream
[AVIOContext @ 00000241e6657200] Statistics: 32768 bytes read, 0 seeks

for comparison, here I am using the same TIFF file with the -i option, which works fine:

ffmpeg started on 2016-05-16 at 00:43:15
Report written to "ffmpeg-20160516-004315.log"
Command line:
ffmpeg -v 9 -framerate 25 -i file_1_test.tif test.mp4 -y -report
ffmpeg version N-79173-gbe746ae Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --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-decklink --enable-zlib
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 32.100 / 57. 32.100
  libavformat    57. 29.101 / 57. 29.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 40.102 /  6. 40.102
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-framerate' ... matched as AVOption 'framerate' with argument '25'.
Reading option '-i' ... matched as input file with argument 'file_1_test.tif'.
Reading option 'test.mp4' ... matched as output file.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option y (overwrite output files) with argument 1.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file file_1_test.tif.
Successfully parsed a group of options.
Opening an input file: file_1_test.tif.
[file @ 000002bc834af0a0] Setting default whitelist 'file,crypto'
[tiff_pipe @ 000002bc834ae100] Format tiff_pipe probed with size=2048 and score=51
[tiff_pipe @ 000002bc834ae100] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0
[tiff_pipe @ 000002bc834ae100] parser not found for codec tiff, packets or times may be invalid.
[tiff_pipe @ 000002bc834ae100] parser not found for codec tiff, packets or times may be invalid.
[tiff_pipe @ 000002bc834ae100] After avformat_find_stream_info() pos: 548628 bytes read:548628 seeks:0 frames:1
Input #0, tiff_pipe, from 'file_1_test.tif':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 1, 1/25: Video: tiff, rgba, 480x270 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output file test.mp4.
Successfully parsed a group of options.
Opening an output file: test.mp4.
[file @ 000002bc83547a40] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 4 logical cores
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] Setting 'video_size' to value '480x270'
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] Setting 'pix_fmt' to value '28'
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] Setting 'time_base' to value '1/25'
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] w:480 h:270 pixfmt:rgba tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[format @ 000002bc8354b120] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21]
[format @ 000002bc8354b120] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21'
[auto-inserted scaler 0 @ 000002bc8354b1e0] Setting 'flags' to value 'bicubic'
[auto-inserted scaler 0 @ 000002bc8354b1e0] w:iw h:ih flags:'bicubic' interl:0
[format @ 000002bc8354b120] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 000002bc834adb80] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
[auto-inserted scaler 0 @ 000002bc8354b1e0] picking yuv444p out of 8 ref:rgba alpha:1
[auto-inserted scaler 0 @ 000002bc8354b1e0] w:480 h:270 fmt:rgba sar:1/1 -> w:480 h:270 fmt:yuv444p sar:1/1 flags:0x4
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 000002bc83546fe0] using mv_range_thread = 24
[libx264 @ 000002bc83546fe0] using SAR=1/1
[libx264 @ 000002bc83546fe0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 000002bc83546fe0] profile High 4:4:4 Predictive, level 2.1, 4:4:4 8-bit
[libx264 @ 000002bc83546fe0] 264 - core 148 r2665 a01e339 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'test.mp4':
  Metadata:
    encoder         : Lavf57.29.101
    Stream #0:0, 0, 1/12800: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 480x270 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.32.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (tiff (native) -> h264 (libx264))
Press [q] to stop, [?] for help
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)
Clipping frame in rate conversion by 0.000008
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)
[output stream 0:0 @ 000002bc8354ae00] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.
[libx264 @ 000002bc83546fe0] frame=   0 QP=15.09 NAL=3 Slice:I Poc:0   I:510  P:0    SKIP:0    size=1209 bytes
frame=    1 fps=0.0 q=28.0 Lsize=       3kB time=00:00:00.04 bitrate= 539.6kbits/s speed=N/A    
video:2kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 42.224564%
Input file #0 (file_1_test.tif):
  Input stream #0:0 (video): 1 packets read (548628 bytes); 1 frames decoded; 
  Total: 1 packets (548628 bytes) demuxed
Output file #0 (test.mp4):
  Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (1897 bytes); 
  Total: 1 packets (1897 bytes) muxed
1 frames successfully decoded, 0 decoding errors
[AVIOContext @ 000002bc83547b20] Statistics: 30 seeks, 24 writeouts
[libx264 @ 000002bc83546fe0] frame I:1     Avg QP:15.09  size:  1209
[libx264 @ 000002bc83546fe0] mb I  I16..4:  0.6% 89.2% 10.2%
[libx264 @ 000002bc83546fe0] 8x8 transform intra:89.2%
[libx264 @ 000002bc83546fe0] coded y,u,v intra: 4.6% 0.0% 0.0%
[libx264 @ 000002bc83546fe0] i16 v,h,dc,p:  0% 33% 67%  0%
[libx264 @ 000002bc83546fe0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 100%  0%  0%  0%  0%  0%  0%
[libx264 @ 000002bc83546fe0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 34% 24%  4%  2%  0%  1%  8%  2%
[libx264 @ 000002bc83546fe0] kb/s:241.80
[AVIOContext @ 000002bc834b7220] Statistics: 548628 bytes read, 0 seeks

#5842 "unsupported" mtaf file avcodec enhancement Sep 12, 2016

Well, it does use the mtaf codec but the output doesn't even look stable. It's just noises at this point.

>ffprobe E:\MGS_HDC\PS3\BLUS30847\PS3_GAME\USRDIR\MGS3\mgs3\us\mg1_bgm03_main.mtaf
ffprobe version N-81516-gbe07c25 Copyright (c) 2007-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --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-decklink --enable-zlib
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 54.101 / 57. 54.101
  libavformat    57. 48.101 / 57. 48.101
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 58.100 /  6. 58.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mtaf, from 'E:\MGS_HDC\PS3\BLUS30847\PS3_GAME\USRDIR\MGS3\mgs3\us\mg1_bgm03_main.mtaf':
  Duration: 00:01:40.23, bitrate: 408 kb/s
    Stream #0:0: Audio: adpcm_mtaf, 48000 Hz, 2 channels, s16p

#5874 tiff LZW compression does not compress enough avcodec enhancement Oct 4, 2016

Summary of the bug:tiff LZW compression might not compress enough How to reproduce: ffmpeg -y -i b.tif -pix_fmt rgb24 -vcodec tiff -compression_algo lzw test_24.tif The file made in ffmepg is 59.2 MB, if I resave the file in photoshop it is 39.8 MB ffmpeg version N-78598-g98a0053 Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.


#5959 aspect ratio change not working with libx265 (works with libx264) avcodec enhancement Nov 16, 2016

Summary of the bug: files encoded with libx264 support aspect ratio change during the clip. With libx265 this is not the case. It is not clear to me if this is a libx265 issue or an ffmpeg issue.

How to reproduce: ffmpeg, ffplay from ffmpeg-git

encode example MPEG2 clip which changes AR from 4:3 to 16:9 (PAL, non-square pixel).

ffmpeg -i ar-change.mpg -vcodec libx264 ar-change-h264.ts ffmpeg -i ar-change.mpg -vcodec libx265 ar-change-h265.ts

Display with ffplay ffplay ar-change.mpg ffplay ar-change-h264.ts ffplay ar-change-h265.ts

mpg/h264 will show AR change, h265 not.

no external player (kodi, mplayer, vlc) show AR change, so i assume its an ffmpeg/avcodec issue (or libx265), but not an ffplay issue.


#6419 MPEG-4 SLS audio codec not supported avcodec enhancement May 25, 2017

Summary of the issue: SLS audio codec is not supported. https://en.wikipedia.org/wiki/MPEG-4_SLS

How to reproduce:

[aac @ 078ae440] Audio object type 37 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.

#6568 Add support for DTS matrixed channel decoding avcodec enhancement Aug 4, 2017

Summary of the bug: The attachments are 2 "6.1 Matrix DTS-HD High Resolution Audio" files. One is "ES Phase Shift" enabled, which requires a discrete Center Surround channel during encoding. The other is "ES Pre-Mixed" enabled, which doesn't require a discrete Center Surround channel during encoding. FFmpeg is not able to decode those samples to 6.1 channel.

How to reproduce: HR_6.1_MATRIX_ES_PHASE_SHIFT_3840.dtshd

ffmpeg -i /Volumes/BOOTCAMP/Users/Davis/Downloads/DTS\ CHECK/HR_6.1_MATRIX_ES_PHASE_SHIFT_3840.dtshd -f null -
ffmpeg version 3.3.git Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.1.0 (clang-802.0.42)
  configuration: --optflags=-Ofast --prefix=/usr/local --extra-cflags='-march=haswell -mtune=intel -m64 -minline-all-stringops -fomit-frame-pointer -fforce-addr -finline-functions -funit-at-a-time -funroll-loops -ffunction-sections -fdata-sections -Ofast -pipe -fomit-frame-pointer -ftree-vectorize' --target-os=darwin --arch=x86_64 --cpu=haswell --disable-runtime-cpudetect --disable-debug --disable-opencl --disable-avdevice --disable-ffplay --disable-ffprobe --disable-postproc --disable-ffserver --disable-devices --disable-avresample --disable-indev=qtkit --disable-doc --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gpl --enable-nonfree --enable-libopenh264 --enable-shared
  libavutil      55. 69.100 / 55. 69.100
  libavcodec     57.102.100 / 57.102.100
  libavformat    57. 76.100 / 57. 76.100
  libavfilter     6. 96.100 /  6. 96.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
Input #0, dtshd, from '/Volumes/BOOTCAMP/Users/Davis/Downloads/DTS CHECK/HR_6.1_MATRIX_ES_PHASE_SHIFT_3840.dtshd':
  Metadata:
    fileinfo        : 	
                    : 
  Duration: 00:00:04.03, bitrate: 3850 kb/s
    Stream #0:0: Audio: dts (DTS-HD HRA), 48000 Hz, 5.1(side), fltp
Stream mapping:
  Stream #0:0 -> #0:0 (dts (dca) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    fileinfo        : 	
                    : 
    encoder         : Lavf57.76.100
    Stream #0:0: Audio: pcm_s16le, 48000 Hz, 5.1(side), s16, 4608 kb/s
    Metadata:
      encoder         : Lavc57.102.100 pcm_s16le
size=N/A time=00:00:04.03 bitrate=N/A speed= 117x    
video:0kB audio:2268kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown


HR_6.1_MATRIX_ES_PRE-MIXED_3840.dtshd

ffmpeg -i /Volumes/BOOTCAMP/Users/Davis/Downloads/DTS\ CHECK/HR_6.1_MATRIX_ES_PRE-MIXED_3840.dtshd -f null -
ffmpeg version 3.3.git Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.1.0 (clang-802.0.42)
  configuration: --optflags=-Ofast --prefix=/usr/local --extra-cflags='-march=haswell -mtune=intel -m64 -minline-all-stringops -fomit-frame-pointer -fforce-addr -finline-functions -funit-at-a-time -funroll-loops -ffunction-sections -fdata-sections -Ofast -pipe -fomit-frame-pointer -ftree-vectorize' --target-os=darwin --arch=x86_64 --cpu=haswell --disable-runtime-cpudetect --disable-debug --disable-opencl --disable-avdevice --disable-ffplay --disable-ffprobe --disable-postproc --disable-ffserver --disable-devices --disable-avresample --disable-indev=qtkit --disable-doc --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gpl --enable-nonfree --enable-libopenh264 --enable-shared
  libavutil      55. 69.100 / 55. 69.100
  libavcodec     57.102.100 / 57.102.100
  libavformat    57. 76.100 / 57. 76.100
  libavfilter     6. 96.100 /  6. 96.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
Input #0, dtshd, from '/Volumes/BOOTCAMP/Users/Davis/Downloads/DTS CHECK/HR_6.1_MATRIX_ES_PRE-MIXED_3840.dtshd':
  Metadata:
    fileinfo        : 	
                    : 
  Duration: 00:00:04.03, bitrate: 3850 kb/s
    Stream #0:0: Audio: dts (DTS-HD HRA), 48000 Hz, 5.1(side), fltp
Stream mapping:
  Stream #0:0 -> #0:0 (dts (dca) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    fileinfo        : 	
                    : 
    encoder         : Lavf57.76.100
    Stream #0:0: Audio: pcm_s16le, 48000 Hz, 5.1(side), s16, 4608 kb/s
    Metadata:
      encoder         : Lavc57.102.100 pcm_s16le
size=N/A time=00:00:04.03 bitrate=N/A speed=35.9x    
video:0kB audio:2268kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown}}}

#6637 No debug info available when decoding HEVC avcodec enhancement Sep 4, 2017

The -debug options provide very usable information for e.g. H.264. For HEVC, none of these options seems to produce the intended output. Only highlevel header data is available.

I especially miss the -debug qp feature.

Everything is a lot simpler for H.264 and is handled nicely in mpegvideo.c. For HEVC the quadtree makes it a lot more complex...

Summary of the bug: How to reproduce:

$ ffmpeg -debug qp -i input.hevc
$ ffplay -debug qp input.hevc

#6641 Severe artifacts when decoding WMV / WMV3 (Windows Media Video 9) / VC-1 videos avcodec enhancement Sep 6, 2017

Summary of the bug: I've noticed that new versions of mpv video player cannot play WMV videos reliably anymore. There are always visual artifacts every minute or so (keyframes maybe?).

Today I had some time and decided to investigate. Artifacting only occurs with VC-1 WMV videos (not older codecs). I've asked for help from mpv team but they sent me here since it's not an mpv issue.

Here's an example of artifacts: Left is ffmpeg-based player (mpv) and right is a player that doesn't use ffmpeg:

https://i.imgur.com/jtHTe34.jpg

Usually, it's not as severe as this example but this bug makes WMV videos completely unwatchable in mpv.

Sample video: http://samples.mplayerhq.hu/V-codecs/WMV9/halo2_wmp9_WMV3+audio0x162.wmv

$ mpv --version
mpv 0.26.0-237-g5771f7abf4 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
 built on Linux x86_64
ffmpeg library versions:
   libavutil       55.74.100
   libavcodec      57.105.100
   libavformat     57.81.100
   libswscale      4.7.103
   libavfilter     6.102.100
   libswresample   2.8.100
ffmpeg version: N-87204-gd8bc198d09


#6797 Decode PSD file: Color mode 4 is not implemented avcodec enhancement Nov 1, 2017

Summary of the bug:

FFmpeg fails to convert some PSD files to PNG thumbnails and throws the following error: color mode 4 is not implemented error when coverting a photoshop PSD with a 4th channel.

full command output:

ffmpeg -v 9 -loglevel 99 -i 'ZorroCMYK.psd'  -vf 'scale=300:200:force_original_aspect_ratio=decrease' -f image2 ZorroCMYK.png
user@host:~$ ffmpeg -v 9 -loglevel 99 -i 'ZorroCMYK.psd'  -vf 'scale=300:200:force_original_aspect_ratio=decrease' -f image2 ZorroCMYK.png
ffmpeg version N-87871-g7480f23 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/home/itbo/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/itbo/ffmpeg_build/include --extra-ldflags=-L/home/itbo/ffmpeg_build/lib --extra-libs=-lpthread --bindir=/home/itbo/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
  libavutil      55. 79.100 / 55. 79.100
  libavcodec     57.108.100 / 57.108.100
  libavformat    57. 84.100 / 57. 84.100
  libavdevice    57. 11.100 / 57. 11.100
  libavfilter     6.108.100 /  6.108.100
  libswscale      4.  9.100 /  4.  9.100
  libswresample   2. 10.100 /  2. 10.100
  libpostproc    54.  8.100 / 54.  8.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input url with argument 'ZorroCMYK.psd'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=300:200:force_original_aspect_ratio=decrease'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'image2'.
Reading option 'ZorroCMYK.png' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url ZorroCMYK.psd.
Successfully parsed a group of options.
Opening an input file: ZorroCMYK.psd.
[NULL @ 0x2e73660] Opening 'ZorroCMYK.psd' for reading
[file @ 0x2e74040] Setting default whitelist 'file,crypto'
Probing psd_pipe score:54 size:2048
[psd_pipe @ 0x2e73660] Format psd_pipe probed with size=2048 and score=54
[psd_pipe @ 0x2e73660] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:1
[psd_pipe @ 0x2e73660] parser not found for codec psd, packets or times may be invalid.
    Last message repeated 1 times
[psd @ 0x2e752c0] color mode 4 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[psd_pipe @ 0x2e73660] decoding for stream 0 failed
[psd_pipe @ 0x2e73660] stream 0: start_time: -368934881474191040.000 duration: -368934881474191040.000
[psd_pipe @ 0x2e73660] format: start_time: -9223372036854.775 duration: -9223372036854.775 bitrate=0 kb/s
[psd_pipe @ 0x2e73660] Could not find codec parameters for stream 0 (Video: psd, 1 reference frame, none, 1200x895, 1/25): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[psd_pipe @ 0x2e73660] After avformat_find_stream_info() pos: 1824638 bytes read:1824638 seeks:0 frames:1
Input #0, psd_pipe, from 'ZorroCMYK.psd':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 1, 1/25: Video: psd, 1 reference frame, none, 1200x895, 0/1, 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output url ZorroCMYK.png.
Applying option vf (set video filters) with argument scale=300:200:force_original_aspect_ratio=decrease.
Applying option f (force format) with argument image2.
Successfully parsed a group of options.
Opening an output file: ZorroCMYK.png.
Successfully opened the file.
detected 8 logical cores
Stream mapping:
  Stream #0:0 -> #0:0 (psd (native) -> png (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    Last message repeated 1 times
[psd @ 0x2e85de0] color mode 4 is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
Error while decoding stream #0:0: Not yet implemented in FFmpeg, patches welcome
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
No more output streams to write to, finishing.
Finishing stream 0:0 without any data written to it.
Nothing was written into output file 0 (ZorroCMYK.png), because at least one of its streams received no packets.
frame=    0 fps=0.0 q=0.0 Lsize=N/A time=-577014:32:22.77 bitrate=N/A speed=N/A
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (ZorroCMYK.psd):
  Input stream #0:0 (video): 1 packets read (1824638 bytes); 0 frames decoded;
  Total: 1 packets (1824638 bytes) demuxed
Output file #0 (ZorroCMYK.png):
  Output stream #0:0 (video): 0 frames encoded; 0 packets muxed (0 bytes);
  Total: 0 packets (0 bytes) muxed
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
0 frames successfully decoded, 1 decoding errors
[AVIOContext @ 0x2e73da0] Statistics: 1824638 bytes read, 0 seeks
Conversion failed!

#6985 Add support for FLIF animations and pictures avcodec enhancement Jan 25, 2018

Hi, FLIF is a relatively new image format. It produces small sized pictures while maintaining quality by using lossless compression. I had love to see Ffmpeg support for it. Thanks


#6091 support ds2 audio (dss pro audio) file format avcodec sponsoring request Jan 19, 2017

Summary of the bug: ffmpeg already supports dss audio file decoding. Please add support for ds2 as well, which is an improved version of dss and called "dss pro" How to reproduce:

ffmpeg started on 2017-01-19 at 04:20:46
Report written to "ffmpeg-20170119-042046.log"
Command line:
../bin/ffmpeg -report -i VoiceRec11.ds2 VoiceRec11.mp3
ffmpeg version N-83132-g9561de4 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/home/ubuntu/ffmpeg_build --pkg-config-flags=--static --extra-cflags='-I/home/ubuntu/ffmpeg_build/include -static' --extra-ldflags='-L/home/ubuntu/ffmpeg_build/lib -static' --bindir=/home/ubuntu/bin --enable-libmp3lame
  libavutil      55. 43.100 / 55. 43.100
  libavcodec     57. 73.100 / 57. 73.100
  libavformat    57. 62.100 / 57. 62.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 69.100 /  6. 69.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  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 'VoiceRec11.ds2'.
Reading option 'VoiceRec11.mp3' ... 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 VoiceRec11.ds2.
Successfully parsed a group of options.
Opening an input file: VoiceRec11.ds2.
[file @ 0x3e5db40] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x3e66f60] Statistics: 1048576 bytes read, 0 seeks
VoiceRec11.ds2: Invalid data found when processing input

A ds2 sample file is attached for testing. Also making a small donation to the project

thank you,


#3815 libcdio only works with -ss 00 avdevice defect Jul 30, 2014

Summary of the bug: The (undocumented) libcdio device does not work directly. How to reproduce:

ffmpeg -f libcdio -i /dev/sr0 test.wav 

always end instantly and did not produce any valid file.

A possible workaround is:

ffmpeg -ss 00 -f libcdio -i /dev/sr0 test.wav 

I use git version.

(I tried on another computer with ffmpeg stable release and it didn't work, too.)

Here is the output: $ ffmpeg -f libcdio -i /dev/sr0 test.wav ffmpeg version N-65021-gc2ef844 Copyright (c) 2000-2014 the FFmpeg developers

built on Jul 27 2014 14:04:31 with gcc 4.8.2 (Gentoo 4.8.2 p1.3r1, pie-0.5.8r1) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -march=native -fomit-frame-pointer' --extra-cflags='-O2 -pipe -march=native -fomit-frame-pointer' --extra-cxxflags='-O2 -pipe -march=native -fomit-frame-pointer' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-nonfree --enable-version3 --enable-nonfree --disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --enable-gnutls --enable-hardcoded-tables --enable-iconv --enable-network --enable-openssl --disable-libsmbclient --enable-ffplay --enable-vaapi --enable-vdpau --enable-xlib --enable-zlib --enable-libvo-aacenc --disable-libvo-amrwbenc --enable-libmp3lame --enable-libaacplus --disable-libfaac --enable-libtheora --disable-libtwolame --enable-libwavpack --disable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --disable-libpulse --enable-x11grab --disable-libbs2b --disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig --enable-ladspa --disable-libass --enable-libfreetype --disable-libsoxr --enable-pthreads --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg --enable-libbluray --enable-libcelt --disable-libgme --disable-libgsm --disable-libmodplug --enable-libopus --enable-libquvi --disable-librtmp --disable-libssh --disable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-amd3dnow --disable-amd3dnowext --disable-avx --disable-avx2 --disable-fma3 --disable-fma4 --disable-sse3 --disable-sse4 --disable-sse42 --disable-xop --cpu=host libavutil 52. 92.101 / 52. 92.101 libavcodec 55. 69.100 / 55. 69.100 libavformat 55. 49.100 / 55. 49.100 libavdevice 55. 13.102 / 55. 13.102 libavfilter 4. 11.102 / 4. 11.102 libavresample 1. 3. 0 / 1. 3. 0 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc 52. 3.100 / 52. 3.100

Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, libcdio, from '/dev/sr0':

Duration: 00:39:21.61, bitrate: N/A

Chapter #0.0: start 0.000000, end 89.360000 Metadata:

title : track 01

Chapter #0.1: start 89.360000, end 100.453333 Metadata:

title : track 02

Chapter #0.2: start 100.453333, end 346.680000 Metadata:

title : track 03

Chapter #0.3: start 346.680000, end 414.746667 Metadata:

title : track 04

Chapter #0.4: start 414.746667, end 576.333333 Metadata:

title : track 05

Chapter #0.5: start 576.333333, end 631.093333 Metadata:

title : track 06

Chapter #0.6: start 631.093333, end 723.906667 Metadata:

title : track 07

Chapter #0.7: start 723.906667, end 771.813333 Metadata:

title : track 08

Chapter #0.8: start 771.813333, end 862.746667 Metadata:

title : track 09

Chapter #0.9: start 862.746667, end 940.346667 Metadata:

title : track 10

Chapter #0.10: start 940.346667, end 1079.186667 Metadata:

title : track 11

Chapter #0.11: start 1079.186667, end 1190.653333 Metadata:

title : track 12

Chapter #0.12: start 1190.653333, end 1238.746667 Metadata:

title : track 13

Chapter #0.13: start 1238.746667, end 1393.866667 Metadata:

title : track 14

Chapter #0.14: start 1393.866667, end 1467.586667 Metadata:

title : track 15

Chapter #0.15: start 1467.586667, end 1548.733333 Metadata:

title : track 16

Chapter #0.16: start 1548.733333, end 1595.493333 Metadata:

title : track 17

Chapter #0.17: start 1595.493333, end 1720.413333 Metadata:

title : track 18

Chapter #0.18: start 1720.413333, end 1801.480000 Metadata:

title : track 19

Chapter #0.19: start 1801.480000, end 1932.146667 Metadata:

title : track 20

Chapter #0.20: start 1932.146667, end 1969.053333 Metadata:

title : track 21

Chapter #0.21: start 1969.053333, end 2135.746667 Metadata:

title : track 22

Chapter #0.22: start 2135.746667, end 2176.933333 Metadata:

title : track 23

Chapter #0.23: start 2176.933333, end 2361.613333 Metadata:

title : track 24

Stream #0:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s

Output #0, wav, to 'test.wav':

Metadata:

ISFT : Lavf55.49.100 Chapter #0.0: start 0.000000, end 89.360000 Metadata:

title : track 01

Chapter #0.1: start 89.360000, end 100.453333 Metadata:

title : track 02

Chapter #0.2: start 100.453333, end 346.680000 Metadata:

title : track 03

Chapter #0.3: start 346.680000, end 414.746667 Metadata:

title : track 04

Chapter #0.4: start 414.746667, end 576.333333 Metadata:

title : track 05

Chapter #0.5: start 576.333333, end 631.093333 Metadata:

title : track 06

Chapter #0.6: start 631.093333, end 723.906667 Metadata:

title : track 07

Chapter #0.7: start 723.906667, end 771.813333 Metadata:

title : track 08

Chapter #0.8: start 771.813333, end 862.746667 Metadata:

title : track 09

Chapter #0.9: start 862.746667, end 940.346667 Metadata:

title : track 10

Chapter #0.10: start 940.346667, end 1079.186667 Metadata:

title : track 11

Chapter #0.11: start 1079.186667, end 1190.653333 Metadata:

title : track 12

Chapter #0.12: start 1190.653333, end 1238.746667 Metadata:

title : track 13

Chapter #0.13: start 1238.746667, end 1393.866667 Metadata:

title : track 14

Chapter #0.14: start 1393.866667, end 1467.586667 Metadata:

title : track 15

Chapter #0.15: start 1467.586667, end 1548.733333 Metadata:

title : track 16

Chapter #0.16: start 1548.733333, end 1595.493333 Metadata:

title : track 17

Chapter #0.17: start 1595.493333, end 1720.413333 Metadata:

title : track 18

Chapter #0.18: start 1720.413333, end 1801.480000 Metadata:

title : track 19

Chapter #0.19: start 1801.480000, end 1932.146667 Metadata:

title : track 20

Chapter #0.20: start 1932.146667, end 1969.053333 Metadata:

title : track 21

Chapter #0.21: start 1969.053333, end 2135.746667 Metadata:

title : track 22

Chapter #0.22: start 2135.746667, end 2176.933333 Metadata:

title : track 23

Chapter #0.23: start 2176.933333, end 2361.613333 Metadata:

title : track 24

Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s Metadata:

encoder : Lavc55.69.100 pcm_s16le

Stream mapping:

Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))

Press [q] to stop, ? for help size= 0kB time=00:00:00.00 bitrate=N/A video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)


#2410 ffmpeg down with video4linux2. avdevice defect Mar 28, 2013

I have Easycap DC60 card(a video capture card). it runs on kernel 3.2 with stk1160 driver. I download ffmpeg source code on 3013/03/29 and compile it. when I run a commandline:

[root@localhost ~]# ffmpeg -f video4linux2 -pix_fmt yuv420p -i /dev/video0  -vco                                                      dec mpeg4 -b:v 1200k -y test.avi
ffmpeg version N-51426-gdd17843 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 29 2013 00:22:28 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
  configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopenco                                                      re-amrwb --enable-avfilter --enable-nonfree --enable-libmp3lame --enable-gpl --e                                                      nable-libfaac --enable-libx264 --enable-pthreads --disable-stripping --enable-li                                                      bass --extra-cflags=-I/usr/local/include --disable-debug
  libavutil      52. 22.101 / 52. 22.101
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  0.100 / 55.  0.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 48.105 /  3. 48.105
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
'''[video4linux2,v4l2 @ 0x99704a0] ioctl(VIDIOC_G_PARM): Inappropriate ioctl for de                                                      vice
/dev/video0: Inappropriate ioctl for device'''

#5850 Using Hauppauge HD-PVR fails (streaming I/O) avdevice defect Sep 16, 2016

Summary of the bug: Using the Hauppauge HD-PVR does not work anymore. Used to work on Ubuntu 14.04, does not at Ubuntu 16.04 nor at Arch Linux. A self-compiled avplay does the job. If it helps: open broadcast studio (obs-studio) cannot open the device-file either, same error as 'ffplay /dev/video0'

I used Arch Linux for the output below:

How to reproduce:

% ffplay /dev/video0
ffplay started on 2016-09-16 at 19:44:29
Report written to "ffplay-20160916-194429.log"
Command line:
ffplay /dev/video0 -report
ffplay version 3.1.3 Copyright (c) 2003-2016 the FFmpeg developers
  built with gcc 6.1.1 (GCC) 20160802
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-avisynth --enable-avresample --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf --enable-shared --enable-version3 --enable-x11grab
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
[video4linux2,v4l2 @ 0x7f5478009240] fd:7 capabilities:81220001/0   
[video4linux2,v4l2 @ 0x7f5478009240] The device does not support the streaming I/O method.
/dev/video0: Function not implemented

Using the device with 'cat /dev/video0 > test.mp4' works perfectly well. Even 'gst-play-1.0 /dev/video0' works. Output of v4l2-ctl:

% v4l2-ctl --all -d /dev/video0
Driver Info (not using libv4l2):
	Driver name   : hdpvr
	Card type     : Hauppauge HD PVR
	Bus info      : usb-0000:00:14.0-4
	Driver version: 4.7.2
	Capabilities  : 0x81220001
		Video Capture
		Audio
		Read/Write
		Extended Pix Format
		Device Capabilities
	Device Caps   : 0x01220001
		Video Capture
		Audio
		Read/Write
		Extended Pix Format
Priority: 2
Video input : 0 (Component: ok)
Audio input : 0 (RCA back)
Video Standard = 0x0000f900
	PAL-M/60
	NTSC-M/M-JP/443/M-KR
DV timings:
	Active width: 720
	Active height: 480
	Total width: 858
	Total height: 525
	Frame format: interlaced
	Polarities: -vsync -hsync
	Pixelclock: 13500000 Hz (59.94 fields per second)
	Horizontal frontporch: 19
	Horizontal sync: 62
	Horizontal backporch: 57
	Field 1:
	Vertical frontporch: 4
	Vertical sync: 3
	Vertical backporch: 15
	Field 2:
	Vertical frontporch: 4
	Vertical sync: 3
	Vertical backporch: 16
	Standards: CEA-861
	Flags: half-line, CE-video
DV timings capabilities:
	Minimum Width: 720
	Maximum Width: 1920
	Minimum Height: 480
	Maximum Height: 1080
	Minimum PClock: 27000000
	Maximum PClock: 74250000
	Standards: CEA-861
	Capabilities: Interlaced, Progressive
Format Video Capture:
	Width/Height      : 720/480
	Pixel Format      : 'MPEG'
	Field             : Interlaced
	Bytes per Line    : 0
	Size Image        : 8192
	Colorspace        : SMPTE 170M
	Transfer Function : Default
	YCbCr Encoding    : Default
	Quantization      : Default
	Flags             : 

User Controls

                     brightness (int)    : min=0 max=255 step=1 default=128 value=128 flags=slider
                       contrast (int)    : min=0 max=255 step=1 default=64 value=64 flags=slider
                     saturation (int)    : min=0 max=255 step=1 default=64 value=64 flags=slider
                            hue (int)    : min=0 max=30 step=1 default=15 value=15 flags=slider
                      sharpness (int)    : min=0 max=255 step=1 default=128 value=128 flags=slider

Codec Controls

                    stream_type (menu)   : min=0 max=1 default=1 value=1 flags=update
                 audio_encoding (menu)   : min=0 max=4 default=3 value=3 flags=update
                 video_encoding (menu)   : min=0 max=2 default=2 value=2
             video_bitrate_mode (menu)   : min=0 max=1 default=1 value=1 flags=update
                  video_bitrate (int)    : min=1000000 max=13500000 step=100000 default=6500000 value=6500000
             video_peak_bitrate (int)    : min=1100000 max=20200000 step=100000 default=9000000 value=9000000 flags=inactive

#314 OpenAL device does not work on OS X avdevice enhancement Jun 27, 2011

configure is not set to find openal on OS X.

The fix for the linker check is easy: add "-Wl,-framework,OpenAL" to the list of flags to check

-enabled openal     && { { for al_libs in "${OPENAL_LIBS}" "-lopenal" "-lOpenAL32"; do
+enabled openal     && { { for al_libs in "${OPENAL_LIBS}" "-lopenal" "-lOpenAL32" "-Wl,-framework,OpenAL"; do

I don't know how to fix the header check to look for multiple possibilities, but on OS X the header in the OpenAL framework is found in OpenAL/al.h (not AL/al.h like in linux). If I change the header check in configure and the includes in libavdevice/openal-dec.c, the build and linkage works well.

However, running 'ffmpeg -f openal' as suggested in the manual fails with an malloc error, so this might just not be doable on OS X.

nieder $ /usr/local/ffmpeg-git/bin/ffmpeg -list_devices true -f openal -i dummy out.ogg
ffmpeg version N-31036-g65eae2a, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 27 2011 10:29:19 with gcc 4.0.1 (Apple Inc. build 5493)
  configuration: --prefix=/usr/local/ffmpeg-git --mandir=/usr/local/ffmpeg-git/share/man --disable-static --enable-shared --enable-gpl --enable-version3 --enable-postproc --enable-pthreads --enable-x11grab --enable-bzlib --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdirac --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-openal --enable-zlib --disable-debug --extra-cflags='-I/sw/lib/libspeex1/include -I/sw/include -I/usr/X11R6/include' --extra-ldflags='-L/sw/lib/libspeex1/lib -L/sw/lib -L/usr/X11R6/lib'
  libavutil    51. 10. 0 / 51. 10. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 24. 0 /  2. 24. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[openal @ 0x200a800] List of OpenAL capture devices on this system:
[openal @ 0x200a800]   Built-in Microphone
dummy: Immediate exit requested

nieder $ /usr/local/ffmpeg-git/bin/ffmpeg -f openal -i 'Built-in Microphone' out.ogg
ffmpeg version N-31036-g65eae2a, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 27 2011 10:29:19 with gcc 4.0.1 (Apple Inc. build 5493)
  configuration: --prefix=/usr/local/ffmpeg-git --mandir=/usr/local/ffmpeg-git/share/man --disable-static --enable-shared --enable-gpl --enable-version3 --enable-postproc --enable-pthreads --enable-x11grab --enable-bzlib --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdirac --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-openal --enable-zlib --disable-debug --extra-cflags='-I/sw/lib/libspeex1/include -I/sw/include -I/usr/X11R6/include' --extra-ldflags='-L/sw/lib/libspeex1/lib -L/sw/lib -L/usr/X11R6/lib'
  libavutil    51. 10. 0 / 51. 10. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 24. 0 /  2. 24. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
mpeg(49840,0xa025b720) malloc: *** error for object 0x1e2c0e0: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
mpeg(49840,0xa025b720) malloc: *** error for object 0x1e2c0e0: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
[openal @ 0x200a800] Error: ALC Invalid Device
Bus error

#5517 Add support for basic HTTP authentication to build-in http server avdevice enhancement May 6, 2016

I'm streaming webcam by using 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

However, it would be nice to protect this stream by specifying username and password, like this

-username user -password password


#6636 Support H264/5 Streams with v4l2 outdev avdevice enhancement Sep 4, 2017

Hi,

Currently, v4l2 format outputs only support rawvideo. Some outputs support h264, like v4l2loopback(see here https://github.com/umlaeute/v4l2loopback/blob/master/v4l2loopback_formats.h)

You currently get this error if you try the following command ffmpeg -f x11grab -r 30 -s 2560x1440 -i :0.0+1920,0 -vcodec libx264 -f v4l2 -y /dev/video0

[v4l2 @ 0x94a6c0] V4L2 output device supports only a single raw video stream

I would like the ability to output to v4l2 with h264/5 encoded video streams.

I can test any patches.

Thanks, Sarnex


#6354 segfault using signature filter on some videos avfilter defect Apr 25, 2017

The attached videos produce a segfault when using the signature filter.

Using the x64 binary build for ffmpeg 3.3:

https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz

How to reproduce:

ffmpeg -i v1.avi -i v2.avi -filter_complex "[0:v][1:v] signature=nb_inputs=2:detectmode=full" -map :v -f null - 

Most videos work fine, but these particular ones cause a segfault and core dump though the static build does not contain debugging symbols so I was not able to get a backtrace.

ffmpeg version 3.3-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.1 (Debian 5.4.1-8) 20170304 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg 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


#6833 setpts filter incorrect handle current_pts value avfilter defect Nov 13, 2017

Summary of the bug: fps filter use current_pts to duplicate frames at end, but current_pts > last pts after setpts filter and fps insert too many frames at end. Example must be 5 sec, but 10 actually How to reproduce:

% ffmpeg -f lavfi -i testsrc=duration=10 -vf trim=5,setpts=PTS-5/TB,fps=25 -pix_fmt yuv420p 1.mkv
ffmpeg version N-88804-g3af2bf0af0

#1618 Padding to odd/uneven size fails avfilter defect Aug 8, 2012

### WHAT I am try resize (scale + pad) and convert a video file to mp4 format and defined size.

### PROBLEM When padding to odd width I face problems. Strangely, when I use even numbers then it works.

### COMMAND LINES (for two files)

  1. File "Duracell10sec_CutdowulydCDCD.wmv"

A.1 Resizing to 425x300

  • COMMAND LINE:
    ffmpeg.exe -i "Duracell10sec_Cutdow__ulydCDCD.wmv"  -vf "scale=427:239,pad=427:300:0:30,setdar=427:300"  -y -b:v 400k -r 49.75 -ar 44100  -acodec libmp3lame -vcodec libx264 -ac 2 "Duracell10sec_Cutdow__ulydCDCD4_TMP.mp4"
    
  • OUTPUT:
    ffmpeg version N-43206-gf857465 Copyright (c) 2000-2012 the FFmpeg developers
      built on Aug  4 2012 16:10:39 with gcc 4.7.1 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --ena
    ble-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-li
    bnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --e
    nable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
      libavutil      51. 66.100 / 51. 66.100
      libavcodec     54. 49.100 / 54. 49.100
      libavformat    54. 22.100 / 54. 22.100
      libavdevice    54.  2.100 / 54.  2.100
      libavfilter     3.  5.102 /  3.  5.102
      libswscale      2.  1.100 /  2.  1.100
      libswresample   0. 15.100 /  0. 15.100
      libpostproc    52.  0.100 / 52.  0.100
    Guessed Channel Layout for  Input Stream #0.0 : mono
    Input #0, asf, from 'Duracell10sec_Cutdow__ulydCDCD.wmv':
      Metadata:
        WMFSDKVersion   : 10.00.00.3702
        WMFSDKNeeded    : 0.0.0.0000
        IsVBR           : 1
        VBR Peak        : 139
        Buffer Average  : 151
      Duration: 00:00:10.04, start: 0.000000, bitrate: 1864 kb/s
        Stream #0:0(dan): Audio: wmav2 (a[1][0][0] / 0x0161), 8000 Hz, mono, s16, 0 kb/s
        Stream #0:1(dan): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 1280x720, 1843 kb/s, 49.75 tbr, 1k tbn, 1k tbc
    [Parsed_pad_1 @ 01f9a760] Input area 0:30:427:269 not within the padded area 0:0:426:300 or zero-sized
    [Parsed_scale_0 @ 01fe7260] Failed to configure input pad on Parsed_pad_1
    Error opening filters!
    
  1. File "fishermans_friendCD_720_xvid.avi"

B.1 Resizing to 425x300

  • COMMAND LINE:
    ffmpeg.exe -i "fishermans_friendCD_720_xvid.avi"  -vf "scale=425:239,pad=425:300:0:30,setdar=425:300"  -y -b:v 400k -r 25 -ar 44100  -ab 128 -acodec libmp3lame -vcodec libx264 -ac 2 "fishermans_friendCD_720_xvid4_TMP.mp4"
    
  • OUTPUT:
    ffmpeg version N-43206-gf857465 Copyright (c) 2000-2012 the FFmpeg developers
      built on Aug  4 2012 16:10:39 with gcc 4.7.1 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --ena
    ble-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-li
    bnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --e
    nable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
      libavutil      51. 66.100 / 51. 66.100
      libavcodec     54. 49.100 / 54. 49.100
      libavformat    54. 22.100 / 54. 22.100
      libavdevice    54.  2.100 / 54.  2.100
      libavfilter     3.  5.102 /  3.  5.102
      libswscale      2.  1.100 /  2.  1.100
      libswresample   0. 15.100 /  0. 15.100
      libpostproc    52.  0.100 / 52.  0.100
    Input #0, avi, from 'fishermans_friendCD_720_xvid.avi':
      Metadata:
        encoder         : MEncoder Sherpya-SVN-r32492-4.2.5
      Duration: 00:00:09.96, start: 0.000000, bitrate: 1090 kb/s
        Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
        Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 128 kb/s
    [Parsed_pad_1 @ 03fd59e0] Input area 0:30:425:269 not within the padded area 0:0:424:300 or zero-sized
    [Parsed_scale_0 @ 03fd5940] Failed to configure input pad on Parsed_pad_1
    Error opening filters!
    

### FILES

  1. "Duracell10sec_CutdowulydCDCD.wmv"
  • OUTPUT:
    ffmpeg version N-43206-gf857465 Copyright (c) 2000-2012 the FFmpeg developers
      built on Aug  4 2012 16:10:39 with gcc 4.7.1 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --ena
    ble-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-li
    bnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --e
    nable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
      libavutil      51. 66.100 / 51. 66.100
      libavcodec     54. 49.100 / 54. 49.100
      libavformat    54. 22.100 / 54. 22.100
      libavdevice    54.  2.100 / 54.  2.100
      libavfilter     3.  5.102 /  3.  5.102
      libswscale      2.  1.100 /  2.  1.100
      libswresample   0. 15.100 /  0. 15.100
      libpostproc    52.  0.100 / 52.  0.100
    [asf @ 01fbc400] Format asf probed with size=2048 and score=100
    [asf @ 01fbc400] gpos mismatch our pos=24, end=26
    [asf @ 01fbc400] gpos mismatch our pos=24, end=3622
    [asf @ 01fbc400] gpos mismatch our pos=24, end=38
    [asf @ 01fbc400] Unsupported value type 1 in tag ASFLeakyBucketPairs.
    [asf @ 01fbc400] gpos mismatch our pos=24, end=252
    [asf @ 01fbc400] gpos mismatch our pos=24, end=38
    [asf @ 01fbc400] File position before avformat_find_stream_info() is 5300
    [asf @ 01fbc400] parser not found for codec wmav2, packets or times may be invalid.
    [wmv3 @ 01fbd720] Header: 4DC11A01
    [wmv3 @ 01fbd720] Profile 1:
    frmrtq_postproc=6, bitrtq_postproc=28
    LoopFilter=0, MultiRes=0, FastUVMC=0, Extended MV=0
    Rangered=0, VSTransform=1, Overlap=1, SyncMarker=0
    DQuant=1, Quantizer mode=0, Max B frames=0
    [asf @ 01fbc400] parser not found for codec wmav2, packets or times may be invalid.
    [asf @ 01fbc400] All info found
    rfps: 24.583333 0.019493
        Last message repeated 1 times
    rfps: 24.666667 0.010206
        Last message repeated 1 times
    rfps: 24.750000 0.003909
        Last message repeated 1 times
    rfps: 24.833333 0.000600
        Last message repeated 1 times
    rfps: 24.916667 0.000281
    rfps: 25.000000 0.002950
    rfps: 25.083333 0.008607
        Last message repeated 1 times
    rfps: 25.166667 0.017254
        Last message repeated 1 times
    rfps: 49.500000 0.015636
        Last message repeated 1 times
    rfps: 49.583333 0.007524
        Last message repeated 1 times
    rfps: 49.666667 0.002402
        Last message repeated 1 times
    rfps: 49.750000 0.000268
        Last message repeated 1 times
    rfps: 49.833333 0.001122
    rfps: 49.916667 0.004966
    rfps: 50.000000 0.011798
    [asf @ 01fbc400] File position after avformat_find_stream_info() is 251519
    Guessed Channel Layout for  Input Stream #0.0 : mono
    Input #0, asf, from 'Duracell10sec_Cutdow__ulydCDCD.wmv':
      Metadata:
        WMFSDKVersion   : 10.00.00.3702
        WMFSDKNeeded    : 0.0.0.0000
        IsVBR           : 1
        VBR Peak        : 139
        Buffer Average  : 151
      Duration: 00:00:10.04, start: 0.000000, bitrate: 1864 kb/s
        Stream #0:0(dan), 18, 1/1000: Audio: wmav2 (a[1][0][0] / 0x0161), 8000 Hz, mono, s16, 0 kb/s
        Stream #0:1(dan), 41, 1/1000: Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 1280x720, 1/1000, 1843 kb/s, 49.75 tbr, 1k tbn, 1k tbc
    At least one output file must be specified
    [AVIOContext @ 01fb14e0] Statistics: 262144 bytes read, 0 seeks
    
  1. "fishermans_friendCD_720_xvid.avi"
  • OUTPUT:
    ffmpeg version N-43206-gf857465 Copyright (c) 2000-2012 the FFmpeg developers
      built on Aug  4 2012 16:10:39 with gcc 4.7.1 (GCC)
      configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --ena
    ble-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-li
    bnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --e
    nable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
      libavutil      51. 66.100 / 51. 66.100
      libavcodec     54. 49.100 / 54. 49.100
      libavformat    54. 22.100 / 54. 22.100
      libavdevice    54.  2.100 / 54.  2.100
      libavfilter     3.  5.102 /  3.  5.102
      libswscale      2.  1.100 /  2.  1.100
      libswresample   0. 15.100 /  0. 15.100
      libpostproc    52.  0.100 / 52.  0.100
    [avi @ 0235c400] Format avi probed with size=2048 and score=100
    [avi @ 02351560] use odml:1
    st:1 removing common factor 36 from timebase
    [avi @ 0235c400] File position before avformat_find_stream_info() is 4108
    [avi @ 0235c400] All info found
    [avi @ 0235c400] File position after avformat_find_stream_info() is 22706
    Input #0, avi, from 'fishermans_friendCD_720_xvid.avi':
      Metadata:
        encoder         : MEncoder Sherpya-SVN-r32492-4.2.5
      Duration: 00:00:09.96, start: 0.000000, bitrate: 1090 kb/s
        Stream #0:0, 1, 1/25: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1/25, 25 tbr, 25 tbn, 25 tbc
        Stream #0:1, 20, 32/1225: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 128 kb/s
    At least one output file must be specified
    [AVIOContext @ 023514c0] Statistics: 184008 bytes read, 7 seeks
    

1 2 3 4 5 6
Note: See TracReports for help on using and creating reports.