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

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

Results (201 - 300 of 547)

1 2 3 4 5 6
Ticket Summary Component Milestone Type Created
Description
#4736 h264_qsv and hevc_qsv crashes on windows 8.1 (q=-0.0) undetermined defect Jul 25, 2015

ffmpeg -report -i pills.mp4 -c:v h264_qsv -q 20 pills2.mp4 ffmpeg version N-73959-g52c75d4 Copyright (c) 2000-2015 the FFmpeg developers

built with gcc 4.9.2 (GCC) configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/mint/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264 --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-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-libwavpack --enable-libwebp --en libavutil 54. 28.100 / 54. 28.100 libavcodec 56. 52.100 / 56. 52.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 27.100 / 5. 27.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.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 'pills.mp4'. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'h264_qsv'. Reading option '-q' ... matched as option 'q' (use fixed quality scale (VBR)) with argument '20'. Reading option 'pills2.mp4' ... 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 pills.mp4. Successfully parsed a group of options. Opening an input file: pills.mp4. [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000c473a0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000c473a0] ISO: File Type Major Brand: mp42 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000c473a0] Before avformat_find_stream_info() pos: 84216 bytes read:98304 seeks:0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000c473a0] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000c473a0] After avformat_find_stream_info() pos: 186111 bytes read:196608 seeks:0 frames:14 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pills.mp4':

Metadata:

major_brand : mp42 minor_version : 0 compatible_brands: isommp42 creation_time : 2014-06-22 20:34:13

Duration: 00:04:33.02, start: 0.000000, bitrate: 1316 kb/s

Stream #0:0(und), 13, 1/24: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1122 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc (default) Metadata:

handler_name : VideoHandler?

Stream #0:1(und), 1, 1/44100: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 191 kb/s (default) Metadata:

creation_time : 2014-06-22 20:34:15 handler_name : IsoMedia? File Produced by Google, 5-11-2011

Successfully opened the file. Parsing a group of options: output file pills2.mp4. Applying option c:v (codec name) with argument h264_qsv. Applying option q (use fixed quality scale (VBR)) with argument 20. Successfully parsed a group of options. Opening an output file: pills2.mp4. Successfully opened the file. detected 8 logical cores [graph 0 input from stream 0:0 @ 00000000055ad3c0] Setting 'video_size' to value '1280x720' [graph 0 input from stream 0:0 @ 00000000055ad3c0] Setting 'pix_fmt' to value '0' [graph 0 input from stream 0:0 @ 00000000055ad3c0] Setting 'time_base' to value '1/24' [graph 0 input from stream 0:0 @ 00000000055ad3c0] Setting 'pixel_aspect' to value '1/1' [graph 0 input from stream 0:0 @ 00000000055ad3c0] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 0:0 @ 00000000055ad3c0] Setting 'frame_rate' to value '24/1' [graph 0 input from stream 0:0 @ 00000000055ad3c0] w:1280 h:720 pixfmt:yuv420p tb:1/24 fr:24/1 sar:1/1 sws_param:flags=2 [format @ 000000000587c7c0] compat: called with args=[nv12|qsv] [format @ 000000000587c7c0] Setting 'pix_fmts' to value 'nv12|qsv' [auto-inserted scaler 0 @ 000000000587c880] Setting 'flags' to value '0x4' [auto-inserted scaler 0 @ 000000000587c880] w:iw h:ih flags:'0x4' interl:0 [format @ 000000000587c7c0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format' [AVFilterGraph @ 0000000005a552e0] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed [auto-inserted scaler 0 @ 000000000587c880] w:1280 h:720 fmt:yuv420p sar:1/1 -> w:1280 h:720 fmt:nv12 sar:1/1 flags:0x4 [graph 1 input from stream 0:1 @ 0000000005a66f40] Setting 'time_base' to value '1/44100' [graph 1 input from stream 0:1 @ 0000000005a66f40] Setting 'sample_rate' to value '44100' [graph 1 input from stream 0:1 @ 0000000005a66f40] Setting 'sample_fmt' to value 'fltp' [graph 1 input from stream 0:1 @ 0000000005a66f40] Setting 'channel_layout' to value '0x3' [graph 1 input from stream 0:1 @ 0000000005a66f40] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3 [audio format for output stream 0:1 @ 0000000005a66880] Setting 'sample_fmts' to value 's16' [audio format for output stream 0:1 @ 0000000005a66880] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000' [audio format for output stream 0:1 @ 0000000005a66880] Setting 'channel_layouts' to value '0x4|0x3|0x7|0x107|0x37|0x3f|0xff|0x63f' [audio format for output stream 0:1 @ 0000000005a66880] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1' [AVFilterGraph @ 0000000005a551a0] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed [auto-inserted resampler 0 @ 0000000005a67240] [SWR @ 0000000000c28e20] Using fltp internally between filters [auto-inserted resampler 0 @ 0000000005a67240] ch:2 chl:stereo fmt:fltp r:44100Hz -> ch:2 chl:stereo fmt:s16 r:44100Hz [h264_qsv @ 00000000057000a0] Initialized an internal MFX session using hardware accelerated implementation [h264_qsv @ 00000000057000a0] Using the constant quantization parameter (CQP) ratecontrol method [libfdk_aac @ 0000000000c4fba0] VBR quality 2360 out of range, should be 1-5 [libfdk_aac @ 0000000000c4fba0] Note, the VBR setting is unsupported and only works with some parameter combinations Output #0, mp4, to 'pills2.mp4':

Metadata:

major_brand : mp42 minor_version : 0 compatible_brands: isommp42 encoder : Lavf56.40.101 Stream #0:0(und), 0, 1/12288: Video: h264 (h264_qsv) ([33][0][0][0] / 0x0021), nv12, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 1000 kb/s, 24 fps, 12288 tbn, 24 tbc (default) Metadata:

handler_name : VideoHandler? encoder : Lavc56.52.100 h264_qsv

Stream #0:1(und), 0, 1/44100: Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16 (default) Metadata:

creation_time : 2014-06-22 20:34:15 handler_name : IsoMedia? File Produced by Google, 5-11-2011 encoder : Lavc56.52.100 libfdk_aac

Stream mapping:

Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv)) Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))

Press [q] to stop, ? for help Cliping frame in rate conversion by 0.000008 frame= 193 fps=0.0 q=-0.0 size= 983kB time=00:00:07.77 bitrate=1035.1kbits/s frame= 403 fps=397 q=-0.0 size= 2327kB time=00:00:16.88 bitrate=1129.4kbits/s frame= 614 fps=405 q=-0.0 size= 3205kB time=00:00:25.68 bitrate=1022.3kbits/s frame= 825 fps=406 q=-0.0 size= 8096kB time=00:00:34.13 bitrate=1943.1kbits/s frame= 1034 fps=408 q=-0.0 size= 9395kB time=00:00:42.88 bitrate=1794.5kbits/s frame= 1246 fps=409 q=-0.0 size= 11149kB time=00:00:51.71 bitrate=1766.2kbits/s frame= 1466 fps=413 q=-0.0 size= 12587kB time=00:01:00.92 bitrate=1692.3kbits/s

Received windows signal 0


#4798 WMA lossless audio not merged with video avfilter defect Aug 24, 2015

Summary of the bug:

I tried to add background song (in wma lossless audio format) to the mp4 video and resulting video has corrupt audio.

How to reproduce:

./ffmpeg -v 9 -loglevel 99 -report -i video.mp4 -filter_complex "amovie=wmal2.wma:loop=0,aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=1[a1];[0:a]aformat=sample_fmts=fltp:sample_rates=44100:channel_layouts=stereo,volume=0.3[a2];[a1][a2]amerge,pan=stereo|c0<c0+c2|c1<c1+c3[out]" -map 0:v -map "[out]" -c:v copy -c:a libfdk_aac -shortest output.mp4

FFmpeg version built on : I checked out latest development version from git repository

Command above works nicely with mp3 files and other wma files. I attached ffmpeg report log file.

Regards, Aleksandar


#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


#4807 valgrind report uninitialized memory error muxing HEVC file avformat defect Aug 26, 2015

Summary of the bug: Muxing an HEVC elementary stream file to MP4 under valgrind report the following errors:

==13039== Memcheck, a memory error detector
==13039== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==13039== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
==13039== Command: ../../../svsExamples/ffmpeg -i video-H265-1 -c:v copy toto.mp4 -y
==13039==
ffmpeg version 2.7.2 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --prefix=/data/home/mpr/ip7000/.build/x86_64-linux-gnu/libroot --enable-static --disable-shared --enable-shared --disable-static --disable-asm --extra-ldflags='-Wl,-rpath,/data/home/mpr/ip7000/.build/x86_64-linux-gnu/libroot/lib -Wl,-rpath,'\''\$\$ORIGIN/../lib'\'' -ldl' --enable-debug --disable-optimizations --disable-stripping --disable-doc --disable-devices --disable-postproc --disable-filters --disable-network --disable-bsfs --disable-protocols --enable-protocol=file --disable-filters --enable-pic --disable-iconv --disable-zlib --disable-bzlib --disable-xlib
  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
[hevc @ 0x7bba620] Unknown HEVC profile: 0
    Last message repeated 7 times
Input #0, hevc, from 'video-H265-1':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: hevc, yuv420p(tv), 1280x720, 25 fps, 25 tbr, 1200k tbn, 25 tbc
[mp4 @ 0x7f92410] Codec for stream 0 does not use global headers but container format requires global headers
Output #0, mp4, to 'toto.mp4':
  Metadata:
    encoder         : Lavf56.36.100
    Stream #0:0: Video: hevc ([35][0][0][0] / 0x0023), yuv420p, 1280x720, q=2-31, 25 fps, 25 tbr, 1200k tbn, 1200k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x7f92410] pts has no value
    Last message repeated 35 times
==13039==    at 0x704189D: VALGRIND_PRINTF_BACKTRACE (valgrind.h:5631)
==13039==    by 0x70423C1: av_log_default_callback (log.c:346)
==13039==    by 0x7042558: av_vlog (log.c:374)
==13039==    by 0x7042518: av_log (log.c:366)
==13039==    by 0x41ED8A: term_exit (ffmpeg.c:309)
==13039==    by 0x42EC5A: transcode (ffmpeg.c:3958)
==13039==    by 0x42F158: main (ffmpeg.c:4111)
==13039== Conditional jump or move depends on uninitialised value(s)
==13039==    at 0x52DA55C: get_ue_golomb_long (intmath.h:67)
==13039==    by 0x52DAF5E: parse_rps (hevc.c:471)
==13039==    by 0x52DB30F: hvcc_parse_sps (hevc.c:562)
==13039==    by 0x52DBA0E: hvcc_add_nal_unit (hevc.c:779)
==13039==    by 0x52DC85D: ff_isom_write_hvcc (hevc.c:1131)
==13039==    by 0x531F0B6: mov_write_hvcc_tag (movenc.c:1033)
==13039==    by 0x5321AA8: mov_write_video_tag (movenc.c:1711)
==13039==    by 0x532256E: mov_write_stsd_tag (movenc.c:1850)
==13039==    by 0x5322CCB: mov_write_stbl_tag (movenc.c:1965)
==13039==    by 0x5323DF5: mov_write_minf_tag (movenc.c:2208)
==13039==    by 0x5324180: mov_write_mdia_tag (movenc.c:2262)
==13039==    by 0x5325A6B: mov_write_trak_tag (movenc.c:2626)
==13039==
==13039== Invalid read of size 4
==13039==    at 0x52DA006: get_bits (get_bits.h:265)
==13039==    by 0x52DA22F: get_bits_long (get_bits.h:349)
==13039==    by 0x52DA2F1: show_bits_long (get_bits.h:389)
==13039==    by 0x52DA542: get_ue_golomb_long (golomb.h:89)
==13039==    by 0x52DB42E: hvcc_parse_pps (hevc.c:590)
==13039==    by 0x52DBA2E: hvcc_add_nal_unit (hevc.c:781)
==13039==    by 0x52DC85D: ff_isom_write_hvcc (hevc.c:1131)
==13039==    by 0x531F0B6: mov_write_hvcc_tag (movenc.c:1033)
==13039==    by 0x5321AA8: mov_write_video_tag (movenc.c:1711)
==13039==    by 0x532256E: mov_write_stsd_tag (movenc.c:1850)
==13039==    by 0x5322CCB: mov_write_stbl_tag (movenc.c:1965)
==13039==    by 0x5323DF5: mov_write_minf_tag (movenc.c:2208)
==13039==  Address 0x8004bd4 is 4 bytes inside a block of size 7 alloc'd
==13039==    at 0x4C2D110: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==13039==    by 0x4C2D227: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==13039==    by 0x7044B44: av_malloc (mem.c:95)
==13039==    by 0x52DB546: nal_unit_extract_rbsp (hevc.c:647)
==13039==    by 0x52DB937: hvcc_add_nal_unit (hevc.c:749)
==13039==    by 0x52DC85D: ff_isom_write_hvcc (hevc.c:1131)
==13039==    by 0x531F0B6: mov_write_hvcc_tag (movenc.c:1033)
==13039==    by 0x5321AA8: mov_write_video_tag (movenc.c:1711)
==13039==    by 0x532256E: mov_write_stsd_tag (movenc.c:1850)
==13039==    by 0x5322CCB: mov_write_stbl_tag (movenc.c:1965)
==13039==    by 0x5323DF5: mov_write_minf_tag (movenc.c:2208)
==13039==    by 0x5324180: mov_write_mdia_tag (movenc.c:2262)
==13039==
==13039== Invalid read of size 4
==13039==    at 0x52DA006: get_bits (get_bits.h:265)
==13039==    by 0x52DA20E: get_bits_long (get_bits.h:348)
==13039==    by 0x52DA2F1: show_bits_long (get_bits.h:389)
==13039==    by 0x52DA542: get_ue_golomb_long (golomb.h:89)
==13039==    by 0x52DA5E0: get_se_golomb_long (golomb.h:217)
==13039==    by 0x52DB4A8: hvcc_parse_pps (hevc.c:615)
==13039==    by 0x52DBA2E: hvcc_add_nal_unit (hevc.c:781)
==13039==    by 0x52DC85D: ff_isom_write_hvcc (hevc.c:1131)
==13039==    by 0x531F0B6: mov_write_hvcc_tag (movenc.c:1033)
==13039==    by 0x5321AA8: mov_write_video_tag (movenc.c:1711)
==13039==    by 0x532256E: mov_write_stsd_tag (movenc.c:1850)
==13039==    by 0x5322CCB: mov_write_stbl_tag (movenc.c:1965)
==13039==  Address 0x8004bd4 is 4 bytes inside a block of size 7 alloc'd
==13039==    at 0x4C2D110: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==13039==    by 0x4C2D227: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==13039==    by 0x7044B44: av_malloc (mem.c:95)
==13039==    by 0x52DB546: nal_unit_extract_rbsp (hevc.c:647)
==13039==    by 0x52DB937: hvcc_add_nal_unit (hevc.c:749)
==13039==    by 0x52DC85D: ff_isom_write_hvcc (hevc.c:1131)
==13039==    by 0x531F0B6: mov_write_hvcc_tag (movenc.c:1033)
==13039==    by 0x5321AA8: mov_write_video_tag (movenc.c:1711)
==13039==    by 0x532256E: mov_write_stsd_tag (movenc.c:1850)
==13039==    by 0x5322CCB: mov_write_stbl_tag (movenc.c:1965)
==13039==    by 0x5323DF5: mov_write_minf_tag (movenc.c:2208)
==13039==    by 0x5324180: mov_write_mdia_tag (movenc.c:2262)
==13039==
==13039== Invalid read of size 4
==13039==    at 0x52DA006: get_bits (get_bits.h:265)
==13039==    by 0x52DA1FB: get_bits_long (get_bits.h:342)
==13039==    by 0x52DA5C3: get_ue_golomb_long (golomb.h:93)
==13039==    by 0x52DA5E0: get_se_golomb_long (golomb.h:217)
==13039==    by 0x52DB4A8: hvcc_parse_pps (hevc.c:615)
==13039==    by 0x52DBA2E: hvcc_add_nal_unit (hevc.c:781)
==13039==    by 0x52DC85D: ff_isom_write_hvcc (hevc.c:1131)
==13039==    by 0x531F0B6: mov_write_hvcc_tag (movenc.c:1033)
==13039==    by 0x5321AA8: mov_write_video_tag (movenc.c:1711)
==13039==    by 0x532256E: mov_write_stsd_tag (movenc.c:1850)
==13039==    by 0x5322CCB: mov_write_stbl_tag (movenc.c:1965)
==13039==    by 0x5323DF5: mov_write_minf_tag (movenc.c:2208)
==13039==  Address 0x8004bd4 is 4 bytes inside a block of size 7 alloc'd
==13039==    at 0x4C2D110: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==13039==    by 0x4C2D227: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==13039==    by 0x7044B44: av_malloc (mem.c:95)
==13039==    by 0x52DB546: nal_unit_extract_rbsp (hevc.c:647)
==13039==    by 0x52DB937: hvcc_add_nal_unit (hevc.c:749)
==13039==    by 0x52DC85D: ff_isom_write_hvcc (hevc.c:1131)
==13039==    by 0x531F0B6: mov_write_hvcc_tag (movenc.c:1033)
==13039==    by 0x5321AA8: mov_write_video_tag (movenc.c:1711)
==13039==    by 0x532256E: mov_write_stsd_tag (movenc.c:1850)
==13039==    by 0x5322CCB: mov_write_stbl_tag (movenc.c:1965)
==13039==    by 0x5323DF5: mov_write_minf_tag (movenc.c:2208)
==13039==    by 0x5324180: mov_write_mdia_tag (movenc.c:2262)
==13039==
frame=   36 fps=0.0 q=-1.0 Lsize=     273kB time=00:00:01.36 bitrate=1646.3kbits/s
video:272kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.410793%
==13039==    at 0x704189D: VALGRIND_PRINTF_BACKTRACE (valgrind.h:5631)
==13039==    by 0x70423C1: av_log_default_callback (log.c:346)
==13039==    by 0x7042558: av_vlog (log.c:374)
==13039==    by 0x7042518: av_log (log.c:366)
==13039==    by 0x41ED8A: term_exit (ffmpeg.c:309)
==13039==    by 0x41F635: ffmpeg_cleanup (ffmpeg.c:543)
==13039==    by 0x40791A: exit_program (cmdutils.c:126)
==13039==    by 0x42F230: main (in /data/home/mpr/ip7000/.build/x86_64-linux-gnu/libroot/bin/ffmpeg)
==13039==
==13039== HEAP SUMMARY:
==13039==     in use at exit: 40 bytes in 1 blocks
==13039==   total heap usage: 1,648 allocs, 1,647 frees, 4,590,774 bytes allocated
==13039==
==13039== LEAK SUMMARY:
==13039==    definitely lost: 0 bytes in 0 blocks
==13039==    indirectly lost: 0 bytes in 0 blocks
==13039==      possibly lost: 0 bytes in 0 blocks
==13039==    still reachable: 40 bytes in 1 blocks
==13039==         suppressed: 0 bytes in 0 blocks
==13039== Rerun with --leak-check=full to see details of leaked memory
==13039==
==13039== For counts of detected and suppressed errors, rerun with: -v
==13039== Use --track-origins=yes to see where uninitialised values come from
==13039== ERROR SUMMARY: 18 errors from 4 contexts (suppressed: 0 from 0)

How to reproduce:

% ffmpeg -i video-H265-1 -c:v copy toto.mp4 
ffmpeg 2.7.2
built on Ubuntu 14.04

#4813 Remuxing hevc fails undetermined defect Aug 30, 2015

Summary of the bug:

error : first pts value must be set av_interleaved_write_frame(): Invalid data found when processing input

You can test with the following two files in the link.

https://www.dropbox.com/sh/q8oq7tr1tc5f13z/AADrhnoWcmL9kcbn2yNSw35Ka?dl=0

The following is the log file.

ffmpeg started on 2015-08-30 at 14:34:32 Report written to "ffmpeg-20150830-143432.log" Command line: ffmpeg -v 9 -loglevel 99 -report -i test01.hevc -i test01.ac3 -c copy test01.ts ffmpeg version N-74700-g628a73f Copyright (c) 2000-2015 the FFmpeg developers

built with gcc 4.9.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-libdcadec --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-lzma --enable-decklink --enable-zlib libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 59.100 / 56. 59.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 39.100 / 5. 39.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 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 '-report' ... matched as option 'report' (generate a report) with argument '1'. Reading option '-i' ... matched as input file with argument 'test01.hevc'. Reading option '-i' ... matched as input file with argument 'test01.ac3'. Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'. Reading option 'test01.ts' ... 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 loglevel (set logging level) with argument 99. Applying option report (generate a report) with argument 1. Successfully parsed a group of options. Parsing a group of options: input file test01.hevc. Successfully parsed a group of options. Opening an input file: test01.hevc. [hevc @ 00000000048ba3e0] Format hevc probed with size=2048 and score=51 [hevc @ 00000000048ba3e0] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 [hevc @ 00000000048cb4c0] Decoding VPS [hevc @ 00000000048cb4c0] Main 10 profile bitstream [hevc @ 00000000048cb4c0] Decoding SPS [hevc @ 00000000048cb4c0] Main 10 profile bitstream [hevc @ 00000000048cb4c0] Decoding VUI [hevc @ 00000000048cb4c0] Decoding PPS [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 129 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 6 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 5 [hevc @ 00000000048cb4c0] nal_unit_type: 35(AUD), nuh_layer_id: 0, temporal_id: 0 [hevc @ 00000000048cb4c0] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0 [hevc @ 00000000048cb4c0] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0 [hevc @ 00000000048cb4c0] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0 [hevc @ 00000000048cb4c0] nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0 [hevc @ 00000000048cb4c0] nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0 [hevc @ 00000000048cb4c0] nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0 [hevc @ 00000000048cb4c0] nal_unit_type: 21(CRA_NUT), nuh_layer_id: 0, temporal_id: 0 [hevc @ 00000000048cb4c0] Decoding VPS [hevc @ 00000000048cb4c0] Main 10 profile bitstream [hevc @ 00000000048cb4c0] Decoding SPS [hevc @ 00000000048cb4c0] Main 10 profile bitstream [hevc @ 00000000048cb4c0] Decoding VUI [hevc @ 00000000048cb4c0] Decoding PPS [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 129 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 6 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 5 [hevc @ 00000000048cb4c0] Decoded frame with POC 16. [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding VPS [hevc @ 00000000048cb4c0] Main 10 profile bitstream [hevc @ 00000000048cb4c0] Decoding SPS [hevc @ 00000000048cb4c0] Main 10 profile bitstream [hevc @ 00000000048cb4c0] Decoding VUI [hevc @ 00000000048cb4c0] Decoding PPS [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 129 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 6 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 5 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 1 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048cb4c0] Decoding SEI [hevc @ 00000000048cb4c0] Skipped PREFIX SEI 0 [hevc @ 00000000048ba3e0] Probe buffer size limit of 5000000 bytes reached [hevc @ 00000000048ba3e0] Stream #0: not enough frames to estimate rate; consider increasing probesize [hevc @ 00000000048ba3e0] After avformat_find_stream_info() pos: 5030912 bytes read:5046272 seeks:0 frames:73 Input #0, hevc, from 'test01.hevc':

Duration: N/A, bitrate: N/A

Stream #0:0, 73, 1/1200000: Video: hevc (Main 10), 1 reference frame, yuv420p10le(tv), 3840x2160 [SAR 1:1 DAR 16:9], 1/60, 60 fps, 60 tbr, 1200k tbn, 60 tbc

Successfully opened the file. Parsing a group of options: input file test01.ac3. Successfully parsed a group of options. Opening an input file: test01.ac3. [ac3 @ 00000000048c1f80] Format ac3 probed with size=524288 and score=50 [ac3 @ 00000000048c1f80] Before avformat_find_stream_info() pos: 0 bytes read:524288 seeks:0 [ac3 @ 00000000048c1f80] All info found [ac3 @ 00000000048c1f80] Estimating duration from bitrate, this may be inaccurate [ac3 @ 00000000048c1f80] After avformat_find_stream_info() pos: 75776 bytes read:524288 seeks:0 frames:50 Input #1, ac3, from 'test01.ac3':

Duration: 00:00:40.06, start: 0.000000, bitrate: 384 kb/s

Stream #1:0, 50, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s

Successfully opened the file. Parsing a group of options: output file test01.ts. Applying option c (codec name) with argument copy. Successfully parsed a group of options. Opening an output file: test01.ts. Successfully opened the file. [mpegts @ 00000000048d2920] muxrate VBR, pcr every 120000 pkts, sdt every 200, pat/pmt every 40 pkts Output #0, mpegts, to 'test01.ts':

Metadata:

encoder : Lavf56.40.101 Stream #0:0, 0, 1/90000: Video: hevc, 1 reference frame, yuv420p10le, 3840x2160 (0x0) [SAR 1:1 DAR 16:9], 1/1200000, q=2-31, 60 fps, 60 tbr, 90k tbn, 1200k tbc Stream #0:1, 0, 1/90000: Audio: ac3, 48000 Hz, stereo, 384 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (copy) Stream #1:0 -> #0:1 (copy)

Press [q] to stop, ? for help [mpegts @ 00000000048d2920] first pts value must be set av_interleaved_write_frame(): Invalid data found when processing input No more output streams to write to, finishing. [mpegts @ 00000000048d2920] first pts value must be set frame= 3 fps=0.0 q=-1.0 Lsize= 0kB time=00:00:00.03 bitrate= 0.0kbits/s video:776kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Input file #0 (test01.hevc):

Input stream #0:0 (video): 3 packets read (794492 bytes); Total: 3 packets (794492 bytes) demuxed

Input file #1 (test01.ac3):

Input stream #1:0 (audio): 1 packets read (88 bytes); Total: 1 packets (88 bytes) demuxed

Output file #0 (test01.ts):

Output stream #0:0 (video): 3 packets muxed (794492 bytes); Output stream #0:1 (audio): 1 packets muxed (88 bytes); Total: 4 packets (794580 bytes) muxed

0 frames successfully decoded, 0 decoding errors [AVIOContext @ 00000000050dc860] Statistics: 0 seeks, 0 writeouts [AVIOContext @ 00000000048c2b60] Statistics: 5046272 bytes read, 0 seeks [AVIOContext @ 000000000499eee0] Statistics: 524288 bytes read, 0 seeks Conversion failed!


#4820 Converting a H264 MXF to a H264 MOV with "-vcodec copy" results in mov unreadable by QuickTime avformat defect Sep 1, 2015

Summary of the bug:

Using ffmpeg 2.5 (but doesn't work either with 2.6, 2.7 nor master)

How to reproduce:

%./ffmpeg -i h264_vid.mxf -vcodec copy  test.mov

Video is readable by most players (totem, VLC) but not Quicktime, which reports the following errors: "chroma_format_idc too large for high profile" and "invalid H264 profile 122 and/or level 4.1"

Not using "-vcodec copy" results in a video readable by Quicktime, but with very poor quality.

The problem seems to be that in avformat_open_input / mxf_read_header / mxf_parse_structural_metadata, we call "ff_generate_avci_extradata" if codec is H264, which uses a default set of extradata that Quicktime doesn't support AFAICT.

In avformat_find_stream_info, we actually find some (correct) extradata, but we don't set them because st->codec->extradata isn't NULL (already set in avformat_open_input), here:

if (st->parser && st->parser->parser->split && !st->codec->extradata)

As a workaround, when using ffmpeg's lib, removing the extra data between avformat_open_input call and avformat_find_stream_info fixes the issue.

I don't have a workaround when using command line.


#4823 Options -ac, -ar and -sample_fmt do not behave as documented / use another stream_specifier than -codec undetermined defect Sep 2, 2015

How to reproduce: ffmpeg -c:a:0 ac3 -ac 6 -ab 448k -ar48000 Where a:0 = DTS or a DTS MA Track 9/1/2015

It appears to ignore the 6 in the -ac 6 and just down mixes to 2 tracks.


#4868 Unable to perform mpeg-ts lossless copy with seek undetermined defect Sep 20, 2015

Summary of the bug:

ffmpeg is unable to find frames in the video stream and produces an empty file. The mpegts is produced by Fujitsu hardware encoder (MB86H46). Tried a few versions of ffmpeg, a few from the last 6 months and an old one from 2010, on Mac and Linux with the same result.

How to reproduce:

sample file uploaded to ftp://upload.ffmpeg.org/incoming/cannot_copy_video_with_seek.ts

[xx]$ ~/perso/ffmpeg  -ss 5 -i cannot_copy_video_with_seek.ts -c:v copy -an -y trimmed.ts 
ffmpeg version 2.8-tessus Copyright (c) 2000-2015 the FFmpeg developers
  built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --as=yasm --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-version3 --disable-ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb
  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
Input #0, mpegts, from 'cannot_copy_video_with_seek.ts':
  Duration: 00:00:11.67, start: 1.450000, bitrate: 6639 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 90k tbn, 120 tbc
Output #0, mpegts, to 'trimmed.ts':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 60 fps, 60 tbr, 90k tbn, 90k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame=    0 fps=0.0 q=-1.0 Lsize=       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)


#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)


#4905 Splitting a flac file using -ss and -t creates chunks with wrong duration undetermined defect Oct 4, 2015

Summary of the bug: When i try to split a large flac files with ffmpeg, created chunks still have the large file's duration and sample count. How to reproduce:

ffmpeg -v 9 -loglevel 99 -ss 0 -y -i "D:\1.flac" -vn -c:a copy -t 77.222 "C:\1_1.flac"
Exit code: 0
Console output:
ffmpeg version N-75563-g235381e Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.3 (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-libdcadec --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-lzma --enable-decklink --enable-zlib
  libavutil      55.  2.100 / 55.  2.100
  libavcodec     57.  3.100 / 57.  3.100
  libavformat    57.  2.100 / 57.  2.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6.  8.100 /  6.  8.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.100 /  2.  0.100
  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 '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-ss' ... matched as option 'ss' (set the start time offset) with argument '0'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-i' ... matched as input file with argument 'D:\Mp3\Pearl Jam\Pearl Jam\1991 - Ten\01 - Pearl Jam - Once.flac'.
Reading option '-vn' ... matched as option 'vn' (disable video) with argument '1'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '77.222'.
Reading option 'C:\1_1.flac' ... 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 D:\Mp3\Pearl Jam\Pearl Jam\1991 - Ten\01 - Pearl Jam - Once.flac.
Applying option ss (set the start time offset) with argument 0.
Successfully parsed a group of options.
Opening an input file: D:\Mp3\Pearl Jam\Pearl Jam\1991 - Ten\01 - Pearl Jam - Once.flac.
Probing aac score:1 size:2048
Probing flac score:50 size:2048
[flac @ 00000000002e2f60] Format flac probed with size=2048 and score=50
[flac @ 00000000002e2f60] Before avformat_find_stream_info() pos: 1973 bytes read:32768 seeks:0
[flac @ 00000000002ecc00] sample/frame number mismatch in adjacent frames
    Last message repeated 14 times
[flac @ 00000000002e2f60] All info found
[flac @ 00000000002e2f60] 0: start_time: 0.000 duration: 10.216
[flac @ 00000000002e2f60] stream: start_time: 0.000 duration: 231.667 bitrate=919 kb/s
[flac @ 00000000002e2f60] After avformat_find_stream_info() pos: 19381 bytes read:32768 seeks:0 frames:1
[flac @ 00000000002e2f60] read_seek: 0 0
[flac @ 00000000002e2f60] gen_seek: 0 0
[NULL @ 00000000002ecc00] sample/frame number mismatch in adjacent frames
    Last message repeated 14 times
Input #0, flac, from 'D:\Mp3\Pearl Jam\Pearl Jam\1991 - Ten\01 - Pearl Jam - Once.flac':
  Metadata:
    ALBUM           : Ten
    ALBUMARTISTSORT : Pearl Jam
    ARTIST          : Pearl Jam
    ARTISTSORT      : Pearl Jam
    CATALOGNUMBER   : 88697398492
    COMMENT         : Track 1
    DATE            : 2009-03-23
    disc            : 1
    GENRE           : Grunge
    LABEL           : Bertelsmann Music Group
    LANGUAGE        : eng
    MEDIA           : CD
    MUSICBRAINZ_ALBUMARTISTID: 83b9cbe7-9857-49e2-ab8e-b57b01038103
    MUSICBRAINZ_ALBUMID: 06fc304e-d70a-4846-93e5-544d6aa618d6
    MUSICBRAINZ_ARTISTID: 83b9cbe7-9857-49e2-ab8e-b57b01038103
    MUSICBRAINZ_TRACKID: 94bed552-376f-492d-8e87-f470aa7fda0c
    MUSICIP_PUID    : 15ee9b0f-beda-b60f-cb39-e59d719d9f67
    ORIGINALDATE    : 1991-08-27
    RELEASECOUNTRY  : GB
    RELEASESTATUS   : official
    RELEASETYPE     : album
    SCRIPT          : Latn
    TITLE           : Once
    track           : 01
    REPLAYGAIN_ALBUM_GAIN: -5.72 dB
    REPLAYGAIN_ALBUM_PEAK: 1.119748
    REPLAYGAIN_TRACK_GAIN: -6.22 dB
    REPLAYGAIN_TRACK_PEAK: 0.950928
    ENCODEDBY       : Easy CD-DA Extractor (http://www.poikosoft.com)
    TOTALTRACKS     : 11
    TOTALDISCS      : 2
    album_artist    : Pearl Jam
  Duration: 00:03:51.67, start: 0.000000, bitrate: 919 kb/s
    Stream #0:0, 1, 1/44100: Audio: flac, 44100 Hz, stereo, s16
    Side data:
      replaygain: track gain - -6.220000, track peak - 0.000022, album gain - -5.720000, album peak - 0.000026, 
Successfully opened the file.
Parsing a group of options: output file C:\1_1.flac.
Applying option vn (disable video) with argument 1.
Applying option c:a (codec name) with argument copy.
Applying option t (record or transcode "duration" seconds of audio/video) with argument 77.222.
Successfully parsed a group of options.
Opening an output file: C:\1_1.flac.
Successfully opened the file.
Output #0, flac, to 'C:\1_1.flac':
  Metadata:
    ALBUM           : Ten
    ALBUMARTISTSORT : Pearl Jam
    ARTIST          : Pearl Jam
    ARTISTSORT      : Pearl Jam
    CATALOGNUMBER   : 88697398492
    DESCRIPTION     : Track 1
    DATE            : 2009-03-23
    DISCNUMBER      : 1
    GENRE           : Grunge
    LABEL           : Bertelsmann Music Group
    LANGUAGE        : eng
    MEDIA           : CD
    MUSICBRAINZ_ALBUMARTISTID: 83b9cbe7-9857-49e2-ab8e-b57b01038103
    MUSICBRAINZ_ALBUMID: 06fc304e-d70a-4846-93e5-544d6aa618d6
    MUSICBRAINZ_ARTISTID: 83b9cbe7-9857-49e2-ab8e-b57b01038103
    MUSICBRAINZ_TRACKID: 94bed552-376f-492d-8e87-f470aa7fda0c
    MUSICIP_PUID    : 15ee9b0f-beda-b60f-cb39-e59d719d9f67
    ORIGINALDATE    : 1991-08-27
    RELEASECOUNTRY  : GB
    RELEASESTATUS   : official
    RELEASETYPE     : album
    SCRIPT          : Latn
    TITLE           : Once
    TRACKNUMBER     : 01
    REPLAYGAIN_ALBUM_GAIN: -5.72 dB
    REPLAYGAIN_ALBUM_PEAK: 1.119748
    REPLAYGAIN_TRACK_GAIN: -6.22 dB
    REPLAYGAIN_TRACK_PEAK: 0.950928
    ENCODEDBY       : Easy CD-DA Extractor (http://www.poikosoft.com)
    TOTALTRACKS     : 11
    TOTALDISCS      : 2
    ALBUMARTIST     : Pearl Jam
    encoder         : Lavf57.2.100
    Stream #0:0, 0, 1/44100: Audio: flac, 44100 Hz, stereo (16 bit)
    Side data:
      replaygain: track gain - -6.220000, track peak - 0.000022, album gain - -5.720000, album peak - 0.000026, 
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[NULL @ 00000000002ecc00] sample/frame number mismatch in adjacent frames
    Last message repeated 1678 times
No more output streams to write to, finishing.
size=    7284kB time=00:01:17.18 bitrate= 773.1kbits/s    
video:0kB audio:7275kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.123952%
Input file #0 (D:\Mp3\Pearl Jam\Pearl Jam\1991 - Ten\01 - Pearl Jam - Once.flac):
  Input stream #0:0 (audio): 833 packets read (7461572 bytes); 
  Total: 833 packets (7461572 bytes) demuxed
Output file #0 (C:\1_1.flac):
  Output stream #0:0 (audio): 832 packets muxed (7449633 bytes); 
  Total: 832 packets (7449633 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 00000000002f5860] Statistics: 2 seeks, 834 writeouts
[AVIOContext @ 00000000002ec740] Statistics: 7569408 bytes read, 0 seeks


#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 >


#4934 nut container can't hold qtrle avformat enhancement Oct 15, 2015

Summary of the bug: nut container doesnt' seem to "like" qtrle streams

How to reproduce:

./ffmpeg_g -f lavfi -i testsrc=duration=10:size=1280x720:rate=30 -c:v qtrle -y yo.qtrle.nut
ffmpeg version N-75953-gc982d10 Copyright (c) 2000-2015 the FFmpeg developers
  built with Apple LLVM version 7.0.0 (clang-700.0.72)
  configuration: --extra-libs=-llzo2 --enable-debug --disable-optimizations --enable-libx264 --enable-gpl
  libavutil      55.  3.100 / 55.  3.100
  libavcodec     57.  5.100 / 57.  5.100
  libavformat    57.  3.100 / 57.  3.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 11.100 /  6. 11.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.100 /  2.  0.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, lavfi, from 'testsrc=duration=10:size=1280x720:rate=30':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1280x720 [SAR 1:1 DAR 16:9], 30 tbr, 30 tbn, 30 tbc
[nut @ 0x7fc962001000] No codec tag defined for stream 0
Output #0, nut, to 'yo.qtrle.nut':
  Metadata:
    encoder         : Lavf57.3.100
    Stream #0:0: Video: qtrle, rgb24, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 30 fps, 61440 tbn, 30 tbc
    Metadata:
      encoder         : Lavc57.5.100 qtrle
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> qtrle (native))
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument

#4944 -r output option misguiding documentation documentation defect Oct 19, 2015

Summary of the bug:

doc/ffmpeg.texi:As an output option, duplicate or drop input frames to achieve constant output

In fact, that sounds more like the description of the fps filter. What '-r' option actually does, is set the declared fps of a video stream without actually duplicating frames (it may drop frames though).

The following example produces a 2-second 4fps video and uses '-r 120'. The demuxer says: '120 fps', but prints only 8 frames with proper PTS.

$ ffmpeg -y -f lavfi -i testsrc=s=720x576:r=4:d=2 -r 120 -pix_fmt yuv422p -vcodec rawvideo -f matroska - 2>/dev/null | ffmpeg -f matroska -i - -vf "showinfo" -f null x
ffmpeg version N-72058-g3ecc063 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (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-libdcadec --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-lzma --enable-decklink --enable-zlib
  libavutil      54. 23.101 / 54. 23.101
  libavcodec     56. 38.100 / 56. 38.100
  libavformat    56. 33.100 / 56. 33.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, matroska,webm, from 'pipe:':
  Metadata:
    ENCODER         : Lavf56.33.100
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p, 720x576, SAR 1:1 DAR 5:4, 120 fps, 120 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      ENCODER         : Lavc56.38.100 rawvideo
[Parsed_showinfo_0 @ 0000000002a03f20] config in time_base: 1/1000, frame_rate: 120/1
[Parsed_showinfo_0 @ 0000000002a03f20] config out time_base: 0/0, frame_rate: 0/0
Output #0, null, to 'x':
  Metadata:
    encoder         : Lavf56.33.100
    Stream #0:0: Video: rawvideo (Y42B / 0x42323459), yuv422p, 720x576 [SAR 1:1 DAR 5:4], q=2-31, 200 kb/s, 120 fps, 120 tbn, 120 tbc (default)
    Metadata:
      encoder         : Lavc56.38.100 rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
[Parsed_showinfo_0 @ 0000000002a03f20] n:   0 pts:      0 pts_time:0       pos:      618 fmt:yuv422p sar:1/1 s:720x576 i:P iskey:1 type:I checksum:8B0AA2CB plane_checksum:[87271B24 F6292B83 9D3A5C24] mean:[126 129 126] stdev:[71.4 70.2 72.6]
[null @ 0000000002a02be0] Encoder did not produce proper pts, making some up.
[Parsed_showinfo_0 @ 0000000002a03f20] n:   1 pts:    250 pts_time:0.25    pos:   830081 fmt:yuv422p sar:1/1 s:720x576 i:P iskey:1 type:I checksum:5C15AB10 plane_checksum:[C538A9E0 3585795C 479987C5] mean:[126 129 126] stdev:[71.4 70.2 72.7]
[Parsed_showinfo_0 @ 0000000002a03f20] n:   2 pts:    500 pts_time:0.5     pos:  1659545 fmt:yuv422p sar:1/1 s:720x576 i:P iskey:1 type:I checksum:B10C5D37 plane_checksum:[9A6BC88B 93E6BB84 18B8D90A] mean:[126 129 126] stdev:[71.4 70.1 72.8]
[Parsed_showinfo_0 @ 0000000002a03f20] n:   3 pts:    750 pts_time:0.75    pos:  2489009 fmt:yuv422p sar:1/1 s:720x576 i:P iskey:1 type:I checksum:8D290D16 plane_checksum:[F3FAE338 28B7FC3F AEDA2D81] mean:[125 129 126] stdev:[71.4 70.0 72.9]
[Parsed_showinfo_0 @ 0000000002a03f20] n:   4 pts:   1000 pts_time:1       pos:  3318473 fmt:yuv422p sar:1/1 s:720x576 i:P iskey:1 type:I checksum:11BC56BD plane_checksum:[B4839897 9F273F08 9A537F0F] mean:[124 129 126] stdev:[71.3 69.9 72.9]
[Parsed_showinfo_0 @ 0000000002a03f20] n:   5 pts:   1250 pts_time:1.25    pos:  4147937 fmt:yuv422p sar:1/1 s:720x576 i:P iskey:1 type:I checksum:1A09A329 plane_checksum:[ADA1817E F1454629 5FF1DB73] mean:[124 129 126] stdev:[71.2 69.9 73.0]
[Parsed_showinfo_0 @ 0000000002a03f20] n:   6 pts:   1500 pts_time:1.5     pos:  4977401 fmt:yuv422p sar:1/1 s:720x576 i:P iskey:1 type:I checksum:F5CF596F plane_checksum:[27E9F6FA 831823A8 7D483EBE] mean:[124 129 126] stdev:[71.3 70.0 73.0]
[Parsed_showinfo_0 @ 0000000002a03f20] n:   7 pts:   1750 pts_time:1.75    pos:  5806865 fmt:yuv422p sar:1/1 s:720x576 i:P iskey:1 type:I checksum:22CD0DB6 plane_checksum:[816D6A3D 14230294 6028A0D6] mean:[125 129 127] stdev:[71.4 70.0 72.9]
frame=    8 fps=0.0 q=0.0 Lsize=N/A time=00:00:01.75 bitrate=N/A
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Please fix the doc.


#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

#4976 BK2 format support avcodec enhancement Oct 31, 2015

Summary of the bug: FFMpeg can't handle new RAD video tools format - BK2.

How to reproduce: example http://www.datafilehost.com/d/022aac05

Issue 2070 did't match with this request I suppose.


#5012 Jpeg2000 streaming over RTP avformat enhancement Nov 18, 2015

Summary of the bug: When I'm trying to stream jpeg2000 from gdigrab (for example), I get an error on server:

%ffmpeg -f gdigrab  -framerate 20 -i desktop -vf scale=1280:
720 -vcodec libopenjpeg -pix_fmt yuv444p -f rtsp -rtsp_transport tcp rtsp://loca
lhost:8554/live.sdp
ffmpeg version N-69568-g21051af Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3
 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --ena
ble-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --e
nable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-lib
gsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencor
e-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enabl
e-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-l
ibtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-
libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-l
ibwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --ena
ble-lzma --enable-decklink --enable-zlib
  libavutil      54. 18.100 / 54. 18.100
  libavcodec     56. 21.102 / 56. 21.102
  libavformat    56. 19.100 / 56. 19.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5.  9.103 /  5.  9.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[gdigrab @ 00650da0] Capturing whole desktop as 3840x1024x32 at (0,0)
Input #0, gdigrab, from 'desktop':
  Duration: N/A, start: 1447326847.847988, bitrate: N/A
    Stream #0:0: Video: bmp, bgra, 3840x1024, -2147483 kb/s, 20 tbr, 1000k tbn,
20 tbc
[rtp @ 00697880] Unsupported codec jpeg2000
Output #0, rtsp, to 'rtsp://localhost:8554/live.sdp':
  Metadata:
    encoder         : Lavf56.19.100
    Stream #0:0: Video: jpeg2000 (libopenjpeg), yuv444p, 1280x720, q=2-31, 200 k
b/s, 20 fps, 20 tbn, 20 tbc
    Metadata:
      encoder         : Lavc56.21.102 libopenjpeg
Stream mapping:
  Stream #0:0 -> #0:0 (bmp (native) -> jpeg2000 (libopenjpeg))
Could not write header for output file #0 (incorrect codec parameters ?): Error
number -1 occurred

And on the client:

%ffplay -rtsp_flags listen rtsp://localhost:8554/live.sdp
ffplay version N-69568-g21051af Copyright (c) 2003-2015 the FFmpeg developers
  built with gcc 4.9.2 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3
 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --ena
ble-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --e
nable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-lib
gsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencor
e-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enabl
e-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-l
ibtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-
libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-l
ibwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --ena
ble-lzma --enable-decklink --enable-zlib
  libavutil      54. 18.100 / 54. 18.100
  libavcodec     56. 21.102 / 56. 21.102
  libavformat    56. 19.100 / 56. 19.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5.  9.103 /  5.  9.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
rtsp://localhost:8554/live.sdp: End of file   0KB sq=    0B f=0/0
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

https://tools.ietf.org/html/rfc5371 Describes transmitting JPEG2000 over RTP/RTSP, but not implemented yet.

This is a future request. It is my first ticket, sorry if I made anything wrong.


#5033 Incorrect duration when converting WAV/MP3 files to AAC with -shortest undetermined defect Nov 24, 2015

Summary of the bug: Incorrect duration of encoded audio files when converting WAV/MP3 (MP3 created with the same WAV file) to AAC. I assume that this is affecting the duration of MP4 videos created with an still image and audio (which is the reason I'm reporting this bug).

How to reproduce: (espeak is a TTS engine. -w in espeak will save the output speech to a wav file)

$ espeak -s 80 -w /tmp/in.wav 'This product is meant for educational purposes only. Any resemblance to real persons, living or dead is purely coincidental. Void where prohibited. Some assembly required. List each check separately by bank number. Batteries not included. Contents may settle during shipment. Use only as directed. No other warranty expressed or implied. Do not use while operating a motor vehicle or heavy equipment. Postage will be paid by addressee. Subject to CARB approval.'


$ ffmpeg -y -i /tmp/in.wav -vn -c:a aac -strict -2 -ab 24k -ar 16000 /tmp/out.aac
ffmpeg version 2.8.2-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.2.1 (Debian 5.2.1-23) 20151028
  configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --cc=gcc
  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
Guessed Channel Layout for  Input Stream #0.0 : mono
Input #0, wav, from '/tmp/in.wav':
  Duration: 00:01:00.33, bitrate: 352 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, 1 channels, s16, 352 kb/s
Output #0, adts, to '/tmp/out.aac':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Audio: aac, 16000 Hz, mono, fltp, 24 kb/s
    Metadata:
      encoder         : Lavc56.60.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
size=     195kB time=00:01:00.35 bitrate=  26.5kbits/s    
video:0kB audio:189kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.422557%


$ for i in /tmp/in.wav /tmp/out.aac; do ffprobe -i $i 2>&1 | grep Duration; done
  Duration: 00:01:00.33, bitrate: 352 kb/s
  Duration: 00:03:19.68, bitrate: 8 kb/s

If you encode the WAV files to MP3 and then to AAC, once again, you get different, longer audio streams:

$ ffmpeg -y -i /tmp/in.wav -vn -strict -2 -ab 24k -ar 16000 -f mp3 /tmp/out.mp3
...
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))
...
size=     177kB time=00:01:00.33 bitrate=  24.1kbits/s


$ ffmpeg -y -i /tmp/out.mp3 -vn -c:a aac -strict -2 -ab 24k -ar 16000 /tmp/out.aac


$ for i in /tmp/out.mp3 /tmp/out.aac; do ffprobe -i $i 2>&1 | grep Duration; done
  Duration: 00:01:00.41, start: 0.069063, bitrate: 24 kb/s
  Duration: 00:01:06.31, bitrate: 23 kb/s

Interestingly, I ran espeak with a different input ('This is some sample text to test audio encoding. ' repeated 10 times) and it gave me a shorter difference between the duration of the encoded output files.

I tried this with OGG/libvorbis files, the duration of output AAC file didn't seem to be affected.

For MP4s:

$ ffprobe -i /tmp/in.wav 2>&1 | grep Duration
  Duration: 00:01:00.33, bitrate: 352 kb/s


$ ffmpeg -y -framerate 1 -r 1 -loop 1 -i /tmp/in.jpg -i /tmp/in.wav -c:v libx264 -preset veryfast -tune stillimage -c:a aac -ab 32k -ar 16000 -strict experimental -shortest -pix_fmt yuv420p -movflags faststart -f mp4 /tmp/out.mp4                                
ffmpeg version 2.8.2-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.2.1 (Debian 5.2.1-23) 20151028
  configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --cc=gcc
  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
[mjpeg @ 0x4b1daa0] Changeing bps to 8
Input #0, image2, from '/tmp/in.jpg':
  Duration: 00:00:01.00, start: 0.000000, bitrate: 272 kb/s
    Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 300x300 [SAR 1:1 DAR 1:1], 1 fps, 1 tbr, 1 tbn, 1 tbc
Guessed Channel Layout for  Input Stream #1.0 : mono
Input #1, wav, from '/tmp/in.wav':
  Duration: 00:01:00.33, bitrate: 352 kb/s
    Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, 1 channels, s16, 352 kb/s
[swscaler @ 0x4b59e20] deprecated pixel format used, make sure you did set range correctly
[libx264 @ 0x4b7eba0] using SAR=1/1
[libx264 @ 0x4b7eba0] using cpu capabilities: MMX2 SSE2Fast LZCNT
[libx264 @ 0x4b7eba0] profile High, level 1.2
[libx264 @ 0x4b7eba0] 264 - core 148 r209 7599210 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:-3:-3 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=2.00:0.70 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 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=1 keyint=250 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.20
Output #0, mp4, to '/tmp/out.mp4':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 300x300 [SAR 1:1 DAR 1:1], q=-1--1, 1 fps, 16384 tbn, 1 tbc
    Metadata:
      encoder         : Lavc56.60.100 libx264
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 16000 Hz, mono, fltp, 32 kb/s
    Metadata:
      encoder         : Lavc56.60.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
  Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[mp4 @ 0x4b38d40] Starting second pass: moving the moov atom to the beginning of the file
frame=   84 fps=0.0 q=-1.0 Lsize=     298kB time=00:01:22.00 bitrate=  29.8kbits/s    
video:48kB audio:243kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.420870%
[libx264 @ 0x4b7eba0] frame I:1     Avg QP:13.91  size: 46896
[libx264 @ 0x4b7eba0] frame P:21    Avg QP:11.16  size:    31
[libx264 @ 0x4b7eba0] frame B:62    Avg QP:16.35  size:    15
[libx264 @ 0x4b7eba0] consecutive B-frames:  1.2%  0.0%  3.6% 95.2%
[libx264 @ 0x4b7eba0] mb I  I16..4:  0.6%  5.5% 93.9%
[libx264 @ 0x4b7eba0] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.7%  0.0%  0.0%  0.0%  0.0%    skip:99.3%
[libx264 @ 0x4b7eba0] 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 @ 0x4b7eba0] 8x8 transform intra:5.5% inter:6.7%
[libx264 @ 0x4b7eba0] coded y,uvDC,uvAC intra: 97.9% 97.5% 94.7% inter: 0.0% 0.1% 0.0%
[libx264 @ 0x4b7eba0] i16 v,h,dc,p:  0%  0% 50% 50%
[libx264 @ 0x4b7eba0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  8% 51% 14%  4%  2%  1%  9%  5%  6%
[libx264 @ 0x4b7eba0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 22% 16%  6%  8%  5%  8%  7% 13%
[libx264 @ 0x4b7eba0] i8c dc,h,v,p: 41% 27% 18% 14%
[libx264 @ 0x4b7eba0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x4b7eba0] kb/s:4.62


$ ffprobe -i /tmp/out.mp4 2>&1 | grep Duration
  Duration: 00:01:24.00, start: 0.064000, bitrate: 29 kb/s

I talked in #ffmpeg @ freenode with another user who has the same problem with MP4s:

<user> llogan: http://sprunge.us/JYOS
<user> when i run that with a 4m45s audio stream, the first one has a duration of 4:50, the second one 4:56
<user> s/4:56/4:46/
<user> it's also not specific to aac or mp4
<user> and also according to mediainfo it's the video stream which is too long, not the audio stream
<user> and finally, increasing -r reduces the offset
<user> i assume it's an issue with the image2 muxer, but i don't know for sure
<user> and by for sure i of course mean at all

#5046 rtsp stream cannot be read avformat defect Nov 29, 2015

the problem is still here https://trac.ffmpeg.org/ticket/3782

I have latest version of ffmpeg and latests libs ffmpeg log:

ffmpeg -loglevel debug -rtsp_transport tcp -i 'rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp' out.ts
ffmpeg version N-76882-g13696c3 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13)
  configuration: --prefix=/home/happy/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/happy/ffmpeg_build/include --extra-ldflags=-L/home/happy/ffmpeg_build/lib --bindir=/home/happy/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-librtmp --enable-nonfree
  libavutil      55.  9.100 / 55.  9.100
  libavcodec     57. 16.100 / 57. 16.100
  libavformat    57. 19.100 / 57. 19.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 17.100 /  6. 17.100
  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 '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-rtsp_transport' ... matched as AVOption 'rtsp_transport' with argument 'tcp'.
Reading option '-i' ... matched as input file with argument 'rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp'.
Reading option 'out.ts' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp.
Successfully parsed a group of options.
Opening an input file: rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp.
[rtsp @ 0x2724760] SDP:
v=0
o=- 38990265062388 38990265062388 IN IP4 192.168.1.15
a=range:npt=0-
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
a=rtpmap:33 H264/90000
a=framerate:0S
a=fmtp:33 profile-level-id=42e01f; packetization-mode=1; sprop-parameter-sets=Z0LgH9sDoEkQ,aM4wpIA=
a=control:trackID=3

Failed to parse interval end specification ''
setting jitter buffer size to 0
[rtsp @ 0x2724760] hello state=0
[rtsp @ 0x2724760] Continuity check failed for pid 743 expected 3 got 7
[rtsp @ 0x2724760] Continuity check failed for pid 348 expected 6 got 2
[rtsp @ 0x2724760] Continuity check failed for pid 696 expected 2 got 8
[rtsp @ 0x2724760] Continuity check failed for pid 1763 expected 1 got 15
[rtsp @ 0x2724760] Continuity check failed for pid 1829 expected 1 got 14
[rtsp @ 0x2724760] Continuity check failed for pid 296 expected 10 got 2
.....

and many same lines until pressed ctrl-x

In VLC player on windows 10 this stream play fine. VLS debug log:

Opening connection to 46.226.165.78, port 554...
...remote connection opened
Sending request: OPTIONS rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.07.25)


Received 141 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
Content-Length: 72
Server: H264DVR 1.0
cseq: 2

Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, GET_PARAMETER, PLAY, PAUSE

Sending request: DESCRIBE rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.07.25)
Accept: application/sdp


Received 556 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
Content-Length: 279
Content-Type: application/sdp
Server: H264DVR 1.0
cseq: 3
Content-Base: rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp
Cache-Control: private
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1

v=0
o=- 38990265062388 38990265062388 IN IP4 192.168.1.15
a=range:npt=0-
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
a=rtpmap:33 H264/90000
a=framerate:0S
a=fmtp:33 profile-level-id=42e01f; packetization-mode=1; sprop-parameter-sets=Z0LgH9sDoEkQ,aM4wpIA=
a=control:trackID=3

Sending request: SETUP rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp/trackID=3 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.07.25)
Transport: RTP/AVP;unicast;client_port=58230-58231


Received 260 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Content-Length: 0
Server: H264DVR 1.0
cseq: 4
Session: 510274120;timeout=60
Transport: RTP/AVP;unicast;mode=PLAY;source=192.168.1.15;client_port=58230-58231;server_port=6970-6971;ssrc=00001BCC
Cache-Control: private
x-Dynamic-Rate: 1


Sending request: PLAY rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp RTSP/1.0
CSeq: 5
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.07.25)
Session: 510274120
Range: npt=0.000-


Received 105 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
Content-Length: 0
Server: H264DVR 1.0
cseq: 5
Range: npt=now-
Session: 510274120


Sending request: GET_PARAMETER rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp RTSP/1.0
CSeq: 6
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.07.25)
Session: 510274120


Received 68 new bytes of response data.
Received a complete GET_PARAMETER response:
RTSP/1.0 200 OK
Content-Length: 0
Server: H264DVR 1.0
cseq: 6


Sending request: TEARDOWN rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp RTSP/1.0
CSeq: 7
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.07.25)
Session: 510274120


Opening connection to 46.226.165.78, port 554...
...remote connection opened
Sending request: OPTIONS rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.07.25)


Received 141 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
Content-Length: 72
Server: H264DVR 1.0
cseq: 2

Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, GET_PARAMETER, PLAY, PAUSE

Sending request: DESCRIBE rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.07.25)
Accept: application/sdp


Received 556 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
Content-Length: 279
Content-Type: application/sdp
Server: H264DVR 1.0
cseq: 3
Content-Base: rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp
Cache-Control: private
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1

v=0
o=- 38990265062388 38990265062388 IN IP4 192.168.1.15
a=range:npt=0-
m=video 0 RTP/AVP 33
c=IN IP4 0.0.0.0
a=rtpmap:33 H264/90000
a=framerate:0S
a=fmtp:33 profile-level-id=42e01f; packetization-mode=1; sprop-parameter-sets=Z0LgH9sDoEkQ,aM4wpIA=
a=control:trackID=3

Sending request: SETUP rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp/trackID=3 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.07.25)
Transport: RTP/AVP/TCP;unicast;interleaved=0-1


Received 200 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Content-Length: 0
Server: H264DVR 1.0
cseq: 4
Session: 510286890;timeout=60
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=PLAY
Cache-Control: private
x-Dynamic-Rate: 1


Sending request: PLAY rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp RTSP/1.0
CSeq: 5
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.07.25)
Session: 510286890
Range: npt=0.000-


Received a complete PLAY response:
RTSP/1.0 200 OK
Content-Length: 0
Server: H264DVR 1.0
cseq: 5
Range: npt=now-
Session: 510286890


Sending request: TEARDOWN rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp RTSP/1.0
CSeq: 6
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.07.25)
Session: 510286890
core debug: processing request item: rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp, node: Плейлист, skip: 0
core debug: resyncing on rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp
core debug: rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp is at 0
core debug: starting playback of the new playlist item
core debug: resyncing on rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp
core debug: rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp is at 0
core debug: creating new input thread
core debug: Creating an input for 'rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp'
core debug: requesting art for rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp
core debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Happy\AppData\Local\Temp'
core debug: `rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp' gives access `rtsp' demux `' path `46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp'
core debug: specified demux `any'
core debug: creating demux: access='rtsp' demux='any' location='46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp' file='\\46.226.165.78:554\user=admin&password=12345&channel=2&stream=0.sdp'
core debug: looking for access_demux module matching "rtsp": 12 candidates
core debug: looking for meta fetcher module matching "any": 1 candidates
live555 debug: version 2014.07.25
lua debug: Trying Lua scripts in C:\Users\Happy\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
core debug: no meta fetcher modules matched
core debug: searching art for rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp
core debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Happy\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
core debug: no art finder modules matched
core debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\Happy\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac
core debug: using meta fetcher module "lua"
core debug: removing module "lua"
core debug: searching art for rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp
core debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Happy\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
qt4 debug: IM: Setting an input
core debug: no art finder modules matched
core debug: art not found for rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp
live555 debug: RTP subsession 'video/H264'
core debug: selecting program id=0
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: We have a timeout of 60 seconds
live555 debug: spawned timeout thread
live555 debug: play start: 0.000000 stop:0.000000
core debug: using access_demux module "live555"
core debug: looking for decoder module matching "any": 43 candidates
avcodec debug: CPU flags: 0x0107d3db
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using frame thread mode with 4 threads
core debug: using decoder module "avcodec"
core debug: looking for packetizer module matching "any": 23 candidates
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
core debug: using packetizer module "packetizer_h264"
core debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\Happy\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
core debug: no meta reader modules matched
core debug: `rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp' successfully opened
live555 warning: no data received in 10s. Switching to TCP
core debug: removing module "avcodec"
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
core debug: killing decoder fourcc `h264', 0 PES in FIFO
core debug: removing module "packetizer_h264"
core debug: Program doesn't contain anymore ES
live555 debug: RTP subsession 'video/H264'
core debug: looking for decoder module matching "any": 43 candidates
avcodec debug: CPU flags: 0x0107d3db
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using frame thread mode with 4 threads
core debug: using decoder module "avcodec"
core debug: looking for packetizer module matching "any": 23 candidates
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
core debug: using packetizer module "packetizer_h264"
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: play start: 0.000000 stop:0.000000
core debug: Buffering 0%
core debug: Buffering 4%
core debug: Buffering 8%
avcodec debug: available hardware decoder output format 61 (dxva2_vld)
avcodec debug: available software decoder output format 0 (yuv420p)
core debug: looking for hw decoder module matching "none": 1 candidates
core debug: no hw decoder modules matched
core debug: Buffering 12%
core debug: looking for text renderer module matching "any": 2 candidates
freetype debug: Using Arial as font from file C:\WINDOWS\Fonts\arial.ttf
freetype debug: Using Courier New as mono-font from file C:\WINDOWS\Fonts\cour.ttf
freetype debug: using fontsize: 2
core debug: using text renderer module "freetype"
core debug: looking for video filter2 module matching "any": 58 candidates
swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
core debug: using video filter2 module "swscale"
core debug: looking for video filter2 module matching "any": 58 candidates
yuvp debug: YUVP to YUVA converter
core debug: using video filter2 module "yuvp"
core debug: Deinterlacing available
core debug: deinterlace 0, mode blend, is_needed 0
core debug: Opening vout display wrapper
core debug: looking for vout display module matching "any": 11 candidates
direct3d debug: creating Vout EventThread
direct3d debug: Win32VoutCreateWindow
core debug: looking for vout window hwnd module matching "qt4,any": 3 candidates
qt4 debug: requesting video window...
qt4 debug: Video was requested 0, 0
core debug: using vout window hwnd module "qt4"
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
direct3d debug: Direct3d Device: NVIDIA GeForce GTX 760 4318 4487 161
core debug: VoutDisplayEvent 'resize' 944x615 window
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
direct3d debug: Using D3DTEXF_LINEAR for minification
direct3d debug: Using D3DTEXF_LINEAR for magnification
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
core debug: using vout display module "direct3d"
core debug: original format sz 928x578, of (0,0), vsz 928x576, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
core debug: removing module "freetype"
core debug: looking for text renderer module matching "any": 2 candidates
core debug: VoutDisplayEvent 'resize' 928x576 window
freetype debug: Using Arial as font from file C:\WINDOWS\Fonts\arial.ttf
freetype debug: Using Courier New as mono-font from file C:\WINDOWS\Fonts\cour.ttf
freetype debug: using fontsize: 2
core debug: using text renderer module "freetype"
avcodec warning: plane 0 not aligned
avcodec warning: disabling direct rendering
core debug: Buffering 16%
core debug: Buffering 20%
core debug: Buffering 24%
core debug: End of video preroll
core debug: Received first picture
freetype error: Breaking unbreakable line
core debug: Buffering 28%
core debug: Buffering 32%
core debug: Buffering 36%
core debug: Buffering 40%
core debug: Buffering 44%
core debug: Buffering 48%
core debug: Buffering 52%
core debug: Buffering 56%
core debug: Buffering 60%
core debug: Buffering 64%
core debug: Buffering 68%
core debug: Buffering 72%
core debug: Buffering 76%
core debug: Buffering 80%
core debug: Buffering 84%
core debug: Buffering 88%
core debug: Buffering 92%
core debug: Buffering 96%
core debug: Buffering 100%
core debug: auto hiding mouse cursor
core debug: Stream buffering done (1040 ms in 1524 ms)

Here is a link to the camera that does not function properly: rtsp://46.226.165.78:554/user=admin&password=12345&channel=2&stream=0.sdp Can you, please, help with solving the problem?


#5058 the concat filter does not respect the audio delay of the second segment avfilter defect Dec 4, 2015

Suppose that you have two files, each having a video and an audio stream, and also that the second video's audio starts with a delay. If you try to concatenate them with the concat filter, then the resulting video will have sync problems with the audio portion that came from the second file.

Here's a quick way to reproduce this:

ffmpeg -y \
	-filter_complex '
		color=c=black:d=10[v1];
		color=c=white:d=10[v2];
		sine=d=10:f=220[a1];
		sine=d=5,asetpts=PTS+5/TB[a2];
		[v1][a1][v2][a2]concat=a=1
	' \
	test.mkv

When I play the resulting file, the first 10 seconds are just like what I expected (black background with low pitched tone), but the remaining 10 seconds are not. I was expecting that the higher pitched tone would start at 15s but it doesn't. Instead it starts at 10s. So basically, the concat filter simply concatenated the two audio streams without taking into consideration the 5 sec delay of the second one.

I am not sure if this is a bug or the intended behavior, but I think it would be more reasonable if concat inserted silence at the beginning audio streams if necessary, just like it does with the end of such streams.


#5067 crash on Mapping Multicast TV Stream to HLS with "Exactly one WebVTT stream is needed" as message avformat defect Dec 5, 2015

Summary of the bug: i want to map a multicast TV Stream as is to HLS. Till ffmpeg 2.7.2 there was no Problem with the command line. With ffmpeg 2.8.0 till now with ffmpeg 2.8.3 ffmpeg says now "Exactly one WebVTT stream is needed" and crashes. The debug Output comes from ffmpeg 2.8.2, but with ffmpeg 2.8.3 it's the same Problem.

As should be: The command line should run without Problems, even without WebVTT streams, and should map all subtitles as is.

How to reproduce:

root@ffmpegserver:~/ffmpeg-2.8.2-64bit-static# ./ffmpeg -i udp://@239.100.1.1:1234 -map 0 -probesize 100 -analyzeduration 100 -c copy -copy_unknown -f hls -hls_time 10 -hls_wrap 10 -hls_list_size 10 /var/www/test1_.m3u8 -loglevel debug
ffmpeg version 2.8.2-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2015 the FFmpeg developers
 built with gcc 5.2.1 (Debian 5.2.1-23) 20151028
 configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --cc=gcc
 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
Splitting the commandline.
Reading option '-i' ... matched as input file with argument 'udp://@239.100.1.1:1234'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
Reading option '-probesize' ... matched as AVOption 'probesize' with argument '100'.
Reading option '-analyzeduration' ... matched as AVOption 'analyzeduration' with argument '100'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-copy_unknown' ... matched as option 'copy_unknown' (Copy unknown stream types) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'hls'.
Reading option '-hls_time' ... matched as AVOption 'hls_time' with argument '10'.
Reading option '-hls_wrap' ... matched as AVOption 'hls_wrap' with argument '10'.
Reading option '-hls_list_size' ... matched as AVOption 'hls_list_size' with argument '10'.
Reading option '/var/www/test1_.m3u8' ... matched as output file.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option copy_unknown (Copy unknown stream types) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file udp://@239.100.1.1:1234.
Successfully parsed a group of options.
Opening an input file: udp://@239.100.1.1:1234.
[udp @ 0x3c048c0] end receive buffer size reported is 131072
[mpegts @ 0x3c04080] Format mpegts probed with size=2048 and score=100
[mpegts @ 0x3c04080] stream=0 stream_type=3 pid=90 prog_reg_desc=
[mpegts @ 0x3c04080] stream=1 stream_type=6 pid=92 prog_reg_desc=
[mpegts @ 0x3c04080] stream=2 stream_type=2 pid=a8 prog_reg_desc=
[mpegts @ 0x3c04080] stream=3 stream_type=5 pid=585 prog_reg_desc=
[mpegts @ 0x3c04080] Before avformat_find_stream_info() pos: 0 bytes read:215824 seeks:0
[mpegts @ 0x3c04080] parser not found for codec dvb_teletext, packets or times may be invalid.
[mpegts @ 0x3c04080] parser not found for codec none, packets or times may be invalid.
[mpegts @ 0x3c04080] parser not found for codec dvb_teletext, packets or times may be invalid.
[mpeg2video @ 0x3c2a080] Invalid frame dimensions 0x0.
 Last message repeated 4 times
[mpegts @ 0x3c04080] max_analyze_duration 5000000 reached at 5000000 microseconds st:2
[mpegts @ 0x3c04080] Could not find codec parameters for stream 3 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x3c04080] After avformat_find_stream_info() pos: 2948780 bytes read:2949156 seeks:0 frames:469
Input #0, mpegts, from 'udp://@239.100.1.1:1234':
 Duration: N/A, start: 85846.772444, bitrate: N/A
 Program 3394
 Metadata:
 service_name : QVC PLUS
 service_provider: SES ASTRA
 Stream #0:0[0x90](ger), 208, 1/90000: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
 Stream #0:1[0x92](ger), 131, 1/90000: Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
 Stream #0:2[0xa8], 130, 1/90000: Video: mpeg2video (Main), 1 reference frame ([2][0][0][0] / 0x0002), yuv420p(tv, left), 720x576 [SAR 64:45 DAR 16:9], 1/50, max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
 Stream #0:3[0x585], 0, 1/90000: Unknown: none ([5][0][0][0] / 0x0005)
Successfully opened the file.
Parsing a group of options: output file /var/www/test1_.m3u8.
Applying option map (set input stream mapping) with argument 0.
Applying option c (codec name) with argument copy.
Applying option f (force format) with argument hls.
Successfully parsed a group of options.
Opening an output file: /var/www/test1_.m3u8.
Successfully opened the file.
[webvtt @ 0x3fb80c0] Exactly one WebVTT stream is needed.
[mpegts @ 0x3fb7ae0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Segmentation fault (core dumped)
root@ffmpegserver:~/ffmpeg-2.8.2-64bit-static#

#5080 Excessive HTTP GETs reading MP4 from web server avformat enhancement Dec 10, 2015

OS: RHEL 3.14.33-26.47.amzn1.x86_64 Build: ffmpeg-2.8.1-64bit-static Obtained from: ​http://johnvansickle.com/ffmpeg/

Summary of the bug:

When FFmpeg/FFprobe reads an MP4 file from a web server that allows partial download, the application may use an excessive number of GETs. This occurs with files in which audio/video frames are interleaved where audio-video frames exceed a difference in file offset, presumably exceeding some I/O buffer size. I have encountered many files that bring out this behavior, so it's not a corner case.

Doubling probesize to 10000000 does not decrease the number of GETs. All these GETs can cause a dramatic slowdown of encoding speed(4fps vs. 90fps), depending upon the response time of the service/server.

To develop my presumption of frame "position", I used FFprobe's to print that information.

./ffprobe -hide_banner -v trace -show_entries packet=pos,pts_time,codec_type "http://transcodes.s3.amazonaws.com/content/iPhone4_upload_via_3G.MP4" -of compact 2>&1 | grep 'Content-Range\|codec_type'

And an excerpt from the attached output of that command:

packet|codec_type=audio|pts_time=3.436553|pos=42024
packet|codec_type=video|pts_time=2.466667|pos=61374
[http @ 0x3f7a4a0] header='Content-Range: bytes 31559-684616/684617'
packet|codec_type=audio|pts_time=3.482993|pos=42182
packet|codec_type=audio|pts_time=3.529433|pos=42317
packet|codec_type=video|pts_time=2.533333|pos=66016
packet|codec_type=audio|pts_time=3.575873|pos=42473
packet|codec_type=video|pts_time=2.600000|pos=66407
packet|codec_type=audio|pts_time=3.622313|pos=42618
packet|codec_type=video|pts_time=2.666667|pos=67537
packet|codec_type=audio|pts_time=3.668753|pos=48642
packet|codec_type=audio|pts_time=3.715193|pos=48785
packet|codec_type=video|pts_time=2.733333|pos=68161
[http @ 0x3f7a4a0] header='Content-Range: bytes 48926-684616/684617'
packet|codec_type=audio|pts_time=3.761633|pos=48926
packet|codec_type=video|pts_time=2.800000|pos=69005
packet|codec_type=audio|pts_time=3.808073|pos=49058

How to reproduce:

Please note that this is extremely dependent on the source file and must be over HTTP, which is why I made it available.

./ffmpeg -hide_banner -v trace -report -i "https://transcodes.s3.amazonaws.com/content/iPhone4_upload_via_3G.MP4" -y output.mp4 2>&1 | grep 'Content-Range\|frame='

Log Output:

I had to use a fairly verbose logging level to show the http requests and frames processed. Please see the attached report to this bug.

Here's an excerpt, though:

[https @ 0x48f2640] request: GET /content/iPhone4_upload_via_3G.MP4 HTTP/1.1
User-Agent: Lavf/56.40.101
Accept: */*
Range: bytes=65677-
Connection: close
Host: transcodes.s3.amazonaws.com
Icy-MetaData: 1

[libx264 @ 0x48fca20] frame=   0 QP=23.32 NAL=3 Slice:I Poc:0   I:112  P:0    SKIP:0    size=6416 bytes
[libx264 @ 0x48fca20] frame=   1 QP=23.35 NAL=2 Slice:P Poc:4   I:0    P:105  SKIP:7    size=1053 bytes
[libx264 @ 0x48fca20] frame=   2 QP=31.00 NAL=0 Slice:B Poc:2   I:0    P:65   SKIP:47   size=87 bytes
[libx264 @ 0x48fca20] frame=   3 QP=23.65 NAL=2 Slice:P Poc:8   I:0    P:99   SKIP:13   size=957 bytes
[libx264 @ 0x48fca20] frame=   4 QP=31.00 NAL=0 Slice:B Poc:6   I:0    P:56   SKIP:55   size=79 bytes
[libx264 @ 0x48fca20] frame=   5 QP=23.66 NAL=2 Slice:P Poc:12  I:0    P:104  SKIP:8    size=1133 bytes
[libx264 @ 0x48fca20] frame=   6 QP=29.67 NAL=0 Slice:B Poc:10  I:0    P:60   SKIP:47   size=134 bytes
[libx264 @ 0x48fca20] frame=   7 QP=23.84 NAL=2 Slice:P Poc:16  I:0    P:98   SKIP:14   size=884 bytes
[libx264 @ 0x48fca20] frame=   8 QP=31.00 NAL=0 Slice:B Poc:14  I:0    P:62   SKIP:49   size=84 bytes
[libx264 @ 0x48fca20] frame=   9 QP=23.73 NAL=2 Slice:P Poc:20  I:0    P:108  SKIP:4    size=1056 bytes

[https @ 0x48f2640] request: GET /content/iPhone4_upload_via_3G.MP4 HTTP/1.1
User-Agent: Lavf/56.40.101
Accept: */*
Range: bytes=82048-
Connection: close
Host: transcodes.s3.amazonaws.com
Icy-MetaData: 1

[libx264 @ 0x48fca20] frame=  10 QP=31.00 NAL=0 Slice:B Poc:18  I:0    P:48   SKIP:62   size=68 bytes
[libx264 @ 0x48fca20] frame=  11 QP=23.79 NAL=2 Slice:P Poc:24  I:0    P:107  SKIP:5    size=1079 bytes
[libx264 @ 0x48fca20] frame=  12 QP=31.50 NAL=0 Slice:B Poc:22  I:0    P:48   SKIP:64   size=56 bytes
[libx264 @ 0x48fca20] frame=  13 QP=23.96 NAL=2 Slice:P Poc:28  I:0    P:105  SKIP:7    size=971 bytes
[libx264 @ 0x48fca20] frame=  14 QP=30.33 NAL=0 Slice:B Poc:26  I:0    P:69   SKIP:39   size=137 bytes
[libx264 @ 0x48fca20] frame=  15 QP=23.62 NAL=2 Slice:P Poc:32  I:0    P:112  SKIP:0    size=1858 bytes
[libx264 @ 0x48fca20] frame=  16 QP=29.60 NAL=0 Slice:B Poc:30  I:0    P:64   SKIP:46   size=196 bytes
[libx264 @ 0x48fca20] frame=  17 QP=23.32 NAL=2 Slice:P Poc:36  I:0    P:105  SKIP:7    size=1228 bytes
[libx264 @ 0x48fca20] frame=  18 QP=29.05 NAL=0 Slice:B Poc:34  I:0    P:83   SKIP:27   size=170 bytes
[libx264 @ 0x48fca20] frame=  19 QP=23.24 NAL=2 Slice:P Poc:40  I:0    P:107  SKIP:5    size=1039 bytes
[libx264 @ 0x48fca20] frame=  20 QP=29.67 NAL=0 Slice:B Poc:38  I:0    P:74   SKIP:33   size=181 bytes
[libx264 @ 0x48fca20] frame=  21 QP=23.45 NAL=2 Slice:P Poc:44  I:0    P:110  SKIP:2    size=1133 bytes

[https @ 0x48f2640] request: GET /content/iPhone4_upload_via_3G.MP4 HTTP/1.1
User-Agent: Lavf/56.40.101
Accept: */*
Range: bytes=90655-
Connection: close
Host: transcodes.s3.amazonaws.com
Icy-MetaData: 1

#5083 Conversion from yuv410p to rgb24 looks wrong swscale defect Dec 11, 2015

Summary of the bug: When generating still pictures from a yuv410p video stream in PNG or BMP format, the output looks incorrect. The same still pictures written as TIFF or JPEG pictures look right. Given that TIFF and JPEG store the data in YUV color space while PNG and BMP use the RGB color space, this makes me suspect that the conversion from yuv410p to rgb24 is broken.

How to reproduce:

% ffmpeg -f lavfi -i "color=color=white:size=16x16" -frames:v 1 -vf "format=yuv410p,drawbox=color=red:x=4:y=4:w=8:h=8" -f image2 410p.png
ffmpeg version N-77180-g45938f0 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (SUSE Linux)
  configuration: --prefix=/opt/ffmpeg --enable-shared --enable-libmp3lame --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --enable-avfilter --enable-version3 --enable-libx264 --enable-pthreads --enable-libvorbis --enable-libtheora --enable-fontconfig --cpu=corei7 --enable-libfaac --enable-nonfree
  libavutil      55. 10.100 / 55. 10.100
  libavcodec     57. 17.100 / 57. 17.100
  libavformat    57. 19.100 / 57. 19.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 20.100 /  6. 20.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, lavfi, from 'color=color=white:size=16x16':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 16x16 [SAR 1:1 DAR 1:1], 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to '410p.png':
  Metadata:
    encoder         : Lavf57.19.100
    Stream #0:0: Video: png, rgb24, 16x16 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.17.100 png
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> png (native))
Press [q] to stop, [?] for help
[swscaler @ 0x1b9f4c0] Warning: data is not aligned! This can lead to a speedloss
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A    
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

The generated image file does not look good. While the generated pattern is fully symmetric, the output image is not. Same problem with 410p.bmp as the output. However both 410p.jpg and 410p.tiff look right.

Also note that format=yuv420p and format=yuv411p both work properly. So this is not a generic problem with the YUV to RGB color space conversion, rather this seems to be specifically related to yuv410p.

Converting from yuv410p to yuv420p seems to also be broken, but differently. See how

% ffmpeg -f lavfi -i "color=color=white:size=16x16" -frames:v 1 -vf "format=yuv410p,drawbox=color=red:x=4:y=4:w=8:h=8,format=yuv420p" -f image2 410p_to_420p.tiff

manages to create green pixels from a picture that originally only had white and red.


#5088 copying mpegts file fails for h264 video undetermined defect Dec 14, 2015

Summary of the bug: copying an transport stream file to another transport stream file using ffmpeg results in video not being copied to the output file for certain transport stream files.

FFprobe sees the file as valid, and containing both video (h264) and audio

ffprobe -i ../../bug.ts
ffprobe version 2.2.git Copyright (c) 2007-2014 the FFmpeg developers
  built on Nov  3 2015 14:08:20 with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-avfilter
  libavutil      52. 66.101 / 52. 66.101
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 34.100 / 55. 34.100
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
[h264 @ 0x1b92420] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x1b92420] decode_slice_header error
[h264 @ 0x1b92420] no frame!
[h264 @ 0x1b92420] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x1b92420] decode_slice_header error
[h264 @ 0x1b92420] no frame!
[h264 @ 0x1b92420] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x1b92420] decode_slice_header error
[h264 @ 0x1b92420] no frame!
Input #0, mpegts, from '../../bug.ts':
  Duration: 00:01:17.47, start: 88107.279200, bitrate: 2743 kb/s
  Program 4
    Stream #0:0[0x223]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x224]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 130 kb/s

How to reproduce:

% ffmpeg -y -loglevel debug -i bug.ts -c:v copy -c:a copy -f mpegts out.ts
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov  3 2015 14:08:20 with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libx264 --enable-avfilter
  libavutil      52. 66.101 / 52. 66.101
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 34.100 / 55. 34.100
  libavdevice    55. 11.100 / 55. 11.100
  libavfilter     4.  3.100 /  4.  3.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input file with argument '../../bug.ts'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mpegts'.
Reading option 'out.ts' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file ../../bug.ts.
Successfully parsed a group of options.
Opening an input file: ../../bug.ts.
[mpegts @ 0x214f940] Format mpegts probed with size=2048 and score=100
[mpegts @ 0x214f940] stream=0 stream_type=1b pid=223 prog_reg_desc=
[mpegts @ 0x214f940] stream=1 stream_type=f pid=224 prog_reg_desc=
[mpegts @ 0x214f940] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0
[mpegts @ 0x214f940] All programs have pmt, headers found
[h264 @ 0x2153b40] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x2153b40] decode_slice_header error
[h264 @ 0x2153b40] no frame!
[h264 @ 0x2153b40] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x2153b40] decode_slice_header error
[h264 @ 0x2153b40] no frame!
[h264 @ 0x2153b40] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x2153b40] decode_slice_header error
[h264 @ 0x2153b40] no frame!
[h264 @ 0x2153b40] Frame num gap 29 26
[h264 @ 0x2153b40] Frame num gap 29 27
[h264 @ 0x2153b40] no picture ooo
[h264 @ 0x2153b40] no picture
[h264 @ 0x2153b40] Increasing reorder buffer to 1
[mpegts @ 0x214f940] All info found
[mpegts @ 0x214f940] After avformat_find_stream_info() pos: 0 bytes read:577680 seeks:2 frames:65
Input #0, mpegts, from '../../bug.ts':
  Duration: 00:01:17.47, start: 88107.279200, bitrate: 2743 kb/s
  Program 4
    Stream #0:0[0x223], 21, 1/90000: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], 1/50, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x224], 44, 1/90000: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 130 kb/s
Successfully opened the file.
Parsing a group of options: output file out.ts.
Applying option c:v (codec name) with argument copy.
Applying option c:a (codec name) with argument copy.
Applying option f (force format) with argument mpegts.
Successfully parsed a group of options.
Opening an output file: out.ts.
Successfully opened the file.
[mpegts @ 0x2155420] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'out.ts':
  Metadata:
    encoder         : Lavf55.34.100
    Stream #0:0, 0, 1/90000: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 1/25, q=2-31, 25 fps, 90k tbn, 25 tbc
    Stream #0:1, 0, 1/90000: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, 130 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
    Last message repeated 1 times
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005334 > 10000000: forcing output
[mpegts @ 0x2155420] Delay between the first packet and last packet in the muxing queue is 10005333 > 10000000: forcing output
No more output streams to write to, finishing.
frame=    0 fps=0.0 q=-1.0 Lsize=    1391kB time=00:01:16.88 bitrate= 148.2kbits/s
video:0kB audio:1225kB subtitle:0 data:0 global headers:0kB muxing overhead 13.499879%
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x2153380] Statistics: 0 seeks, 451 writeouts
[AVIOContext @ 0x2158100] Statistics: 27145840 bytes read, 2 seeks



#5090 fragmented mp4 have bad dts on video track avformat defect Dec 16, 2015

ffmpeg version 2.8.3-39.1

As you can see from the attached log file, any fragments of video track begin with a dts that is not the continuation of the previous fragment, while in the audio track, dts grows properly, but both audio and video have tfdt box with the correct timing. Indeed ffplay it does not play the video, but audio only. However this has started to happen only recently, because before everything was ok.


#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)


#5093 Accurate seek not possible with MPEG program stream and transport sream ffmpeg defect Dec 18, 2015

According to the documentation, the "-ss" ffmpeg option should be frame-accurate. Sadly, this is not the case for MPEG program and transport streams. It always skips to the closest keyframe after the specified timestamp.

How to reproduce:

% ffmpeg -loop 1 -i 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVQI12NgYGAAAAAEAAEnNCcKAAAAAElFTkSuQmCC' -vf scale=640:480,drawtext="fontfile=/usr/share/fonts/DejaVuSans.ttf:text='%{n} %{pts}':x=5:y=5:fontsize=50:fontcolor=yellow:box=1:boxcolor=red" -r 25 -t 00:01:00 -codec:v mpeg2video -g 40 test.mpg
ffmpeg version 2.8.3 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4)
  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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
  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
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, png_pipe, from 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVQI12NgYGAAAAAEAAEnNCcKAAAAAElFTkSuQmCC':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: png, rgb24(pc), 1x1, 25 fps, 25 tbr, 25 tbn, 25 tbc
[mpeg @ 0x16f59e0] VBV buffer size not set, using default size of 130KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
Output #0, mpeg, to 'test.mpg':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: mpeg2video, yuv420p, 640x480, q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.60.100 mpeg2video
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> mpeg2video (native))
Press [q] to stop, [?] for help
frame= 1500 fps=716 q=21.7 Lsize=    1606kB time=00:00:59.96 bitrate= 219.4kbits/s    
video:1586kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.251059%


% ffmpeg -ss 00:00:05 -i test.mpg -frames:v 1 test.png
ffmpeg version 2.8.3 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4)
  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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
  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
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mpeg, from 'test.mpg':
  Duration: 00:01:00.00, start: 0.540000, bitrate: 219 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3], max. 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Output #0, image2, to 'test.png':
  Metadata:
    encoder         : Lavf56.40.101
    Stream #0:0: Video: png, rgb24, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.60.100 png
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> png (native))
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:01.48 bitrate=N/A    
video:17kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Result: Frame with PTS 6.4 seconds is shown instead of somewhere close to 5 seconds.


#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

#5170 Input option -r has no effect with -vcodec copy ffmpeg enhancement Jan 18, 2016

When a playback device can only accept 25fps and input is 24fps, people usually have to re-encode. But some other software provided an alternative way called conforming.

Instead of re-encoding for a different framerate, the video stream can be copied with a different set of timestamps and duration. This is called conforming. The stretch of video length is usually not observable, and the audio is stretched at the same rate (ffmpeg's atempo filter can do that) and re-encoded.

This feature useful in the case that re-encoding video damages perceived quality more than alterating its duration.

It is especially useful when audio doesn't matter: e.g. when user wants slow-mo effect from a 240fps camera, or when user processes security camera output at low framerate.

Currently for this to work, users do the following:

  1. mencoder allow users to specific framerate, overwriting the framerate specified in the source file. Use mencoder to conform the video:
    > mencoder -fps 25 -o conformed.avi -ovc copy -nosound 24fps_input.mp4
    
  1. use ffmpeg to set tempo:
    > ffmpeg -i conformed.avi -i 24fps_input.mp4 -map 0 -map 1 -c:v copy -af "atempo=0.96" 25fps_output.mp4
    
  1. delete the temp file
    > rm conformed.avi
    

where 0.96 equals 24⁄25.

This feature request propose to allow user do this without the need of mencoder.

This can be done by making -r parameter overwrite the framerate specified in input file when user specifies video stream to be copied instead of re-encoded.

If user specified -r when re-encoding the video, he could mean that input video's frames be dropped or duplicated, or that the output video should be encoded in the specified framerate.

However, if user specifies -r together with '-c:v copy' for video stream to be copied, he unambiguously means that he intends conforming. ffmpeg can proceed with conforming, and, by the end of the process, if it found that video and audio duration in input mathces each other, but in output different, it can give a warning, prompting the user to google for solution (which is to use atempo).


#5184 Incorrect pts at start of avi file undetermined defect Jan 24, 2016

The included file is .avi, and therefore has to presentation timestamps, only decoding timestamps. Maybe the video codec is part of the reason. ffprobe shows a pts only for the first frame, no others have one.

-show_frames:

pkt_pts=0 pkt_pts_time=0.000000 pkt_dts=1 pkt_dts_time=0.033333

pkt_pts=N/A pkt_pts_time=N/A pkt_dts=2 pkt_dts_time=0.066667

(the rest continue)

-show_packets:

pts=0 pts_time=0.000000 dts=0 dts_time=0.000000 duration=1 duration_time=0.033333

pts=N/A pts_time=N/A dts=1 dts_time=0.033333 duration=1 duration_time=0.033333

(the rest continue)

The bug might be that the decoder is giving the first frame a dts of 1 instead of 0, while still keeping the pts at 0, and so later frames are also one timestamp late. Since they don't have a pts, they are assigned the same value as the dts.

ffmpeg -i (video) -vf showinfo -t 0.2 -an -f null -hide_banner - :

[Parsed_showinfo_0 @ 0x2601240] n: 0 pts: 0 pts_time:0 pos: 165604 fmt:yuv420p sar:1/1 s:1800x1004 i:P iskey:1 type:I checksum:4B4CD06C plane_checksum:[911ACB2B CFADC078 44C544BA] mean:[96 123 141] stdev:[17.9 5.3 7.3] [Parsed_showinfo_0 @ 0x2601240] side data - pan/scan [null @ 0x2608420] Encoder did not produce proper pts, making some up. [Parsed_showinfo_0 @ 0x2601240] n: 1 pts: 2 pts_time:0.0666667 pos: 314468 fmt:yuv420p sar:1/1 s:1800x1004 i:P iskey:0 type:P checksum:572F13E7 plane_checksum:[AB01FD9B E4B0AFBF 64BC666F] mean:[96 123 141] stdev:[17.8 5.3 7.3] [Parsed_showinfo_0 @ 0x2601240] side data - pan/scan [Parsed_showinfo_0 @ 0x2601240] n: 2 pts: 3 pts_time:0.1 pos: 351150 fmt:yuv420p sar:1/1 s:1800x1004 i:P iskey:0 type:P checksum:2EB120B0 plane_checksum:[39B5068A 516DB19C F3B3687B] mean:[96 123 141] stdev:[17.8 5.3 7.3] [Parsed_showinfo_0 @ 0x2601240] side data - pan/scan [Parsed_showinfo_0 @ 0x2601240] n: 3 pts: 4 pts_time:0.133333 pos: 356674 fmt:yuv420p sar:1/1 s:1800x1004 i:P iskey:0 type:P checksum:13EDC4DB plane_checksum:[A5F2511C 3A8F893F 8C8BEA71] mean:[96 123 141] stdev:[17.4 5.2 7.2]

It's a little bit confusing because showinfo says they have a pts, but null output says they don't. I'm guessing showinfo is wrong. (In another, unsubmitted bug, the value of 'pos' shown by showinfo differs from that used by the select filter in some cases..~)

I don't know if this bug affects all avi files, but it affects all files in a sample of 9 similar avi files from the same source.

As it seems that -show_frames is correct, the simple solution is to use a setpts=N filter, but this isn't an obvious bug. A group of 6 avi files, a subset of the 9, all had a duplicate frame at the start (the example file doesn't). lavf/lavc isn't mentioned in the file metadata, but it suggests another program could be producing duplicate frames in a similar way.

Some lines from the avi demuxer using -v trace:

[avi @ 0x1d0ae60] overriding invalid dshow_block_align of 1 [...] [avi @ 0x1d0ae60] movi_end=0x11d99bc [avi @ 0x1d0ae60] Before avformat_find_stream_info() pos: 165012 bytes read:65536 seeks:3 [avi @ 0x1d0ae60] dts:0 offset:0 1000/24000000 smpl_siz:1 base:1000000 st:1 size:576 [avi @ 0x1d0ae60] dts:0 offset:0 10000/300000 smpl_siz:0 base:1000000 st:0 size:148272 [avi @ 0x1d0ae60] All info found [avi @ 0x1d0ae60] 0: start_time: 0.000 duration: 0.000 [avi @ 0x1d0ae60] 1: start_time: 0.000 duration: -9223372036854.775 [avi @ 0x1d0ae60] stream: start_time: 0.000 duration: 2.567 bitrate=6383 kb/s [...]

encoder : BandiAviMuxer? 1.0

Duration: 00:00:02.57, start: 0.000000, bitrate: 6383 kb/s

Stream #0:0, 1, 1/30: Video: mpeg1video, 1 reference frame (MPEG / 0x4745504D), yu[...]

[...] [avi @ 0x1d0ae60] dts:1 offset:1 10000/300000 smpl_siz:0 base:1000000 st:0 size:35505 [null @ 0x1d11400] Encoder did not produce proper pts, making some up. [avi @ 0x1d0ae60] dts:2 offset:2 10000/300000 smpl_siz:0 base:1000000 st:0 size:4931 [avi @ 0x1d0ae60] dts:3 offset:3 10000/300000 smpl_siz:0 base:1000000 st:0 size:30745 [avi @ 0x1d0ae60] dts:4 offset:4 10000/300000 smpl_siz:0 base:1000000 st:0 size:313 [avi @ 0x1d0ae60] dts:5 offset:5 10000/300000 smpl_siz:0 base:1000000 st:0 size:21891 [avi @ 0x1d0ae60] dts:6 offset:6 10000/300000 smpl_siz:0 base:1000000 st:0 size:25706


#5212 Can't seek while using -re and -ss at the same time ffmpeg defect Feb 2, 2016

Summary of the bug: If i use -re while using -ss 10, the video will be delayed by 10 seconds, instead of skipping 10 seconds into the video, which is normal behavior while not using -re

How to reproduce:

ffmpeg -re -ss 10 -i test.mkv -c:v copy -c:a copy new.mkv

Output:

ffmpeg version N-78257-gdd57b31 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/opt/ffmpeg --enable-libx264 --enable-libssh --enable-libfdk-aac --enable-libmp3lame --enable-libxvid --enable-libvpx --enable-openssl --enable-gpl --enable-nonfree
  libavutil      55. 17.100 / 55. 17.100
  libavcodec     57. 24.101 / 57. 24.101
  libavformat    57. 24.100 / 57. 24.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 28.100 /  6. 28.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, matroska,webm, from 'test.mkv':
  Metadata:
    ENCODER         : Lavf57.24.100
  Duration: 00:01:30.60, start: 0.000000, bitrate: 11347 kb/s
    Chapter #0:0: start 0.000000, end 5.463000
    Chapter #0:1: start 5.463000, end 93.508000
    Stream #0:0: Video: h264 (High), yuv420p, 1920x800, SAR 1:1 DAR 12:5, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      DURATION        : 00:01:30.590000000
    Stream #0:1: Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
    Metadata:
      DURATION        : 00:01:30.600000000
Output #0, matroska, to 'new.mkv':
  Metadata:
    encoder         : Lavf57.24.100
    Chapter #0:0: start 0.000000, end 83.508000
    Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      DURATION        : 00:01:30.590000000
    Stream #0:1: Audio: dts (DTS) ([1] [0][0] / 0x2001), 48000 Hz, 5.1(side), 1536 kb/s (default)
    Metadata:
      DURATION        : 00:01:30.600000000
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x3122200] failed to avoid negative pts -75 in stream 1.
Try -avoid_negative_ts 1 as a possible workaround.
[matroska @ 0x3122200] failed to avoid negative pts -63 in stream 1.
Try -avoid_negative_ts 1 as a possible workaround.
[matroska @ 0x3122200] failed to avoid negative pts -53 in stream 1.
Try -avoid_negative_ts 1 as a possible workaround.
[matroska @ 0x3122200] failed to avoid negative pts -42 in stream 1.
Try -avoid_negative_ts 1 as a possible workaround.
[matroska @ 0x3122200] failed to avoid negative pts -31 in stream 1.
Try -avoid_negative_ts 1 as a possible workaround.
[matroska @ 0x3122200] failed to avoid negative pts -21 in stream 1.
Try -avoid_negative_ts 1 as a possible workaround.
[matroska @ 0x3122200] failed to avoid negative pts -10 in stream 1.
Try -avoid_negative_ts 1 as a possible workaround.
frame= 1958 fps= 24 q=-1.0 Lsize=  113108kB time=00:01:20.59 bitrate=11497.4kbits/s speed=   1x    
video:97980kB audio:15059kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.061519%

#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.


#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) .... ....


#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.

#5281 FFmpeg doesn't care about existing output file ffmpeg defect Mar 2, 2016

Executing this command

ffmpeg.exe -i "H:\Musiques\Musique Papa\BACH JS\BACH JS - Intégrale Brilliiant - Volume IV - Cantates II\BACH JS - Cantantes II - 1 - 110 198\02 Piste 2.wma" -vn -acodec vorbis -strict -2 -ac 2 "H:\Musiques\Musique Papa\BACH JS\BACH JS - Intégrale Brilliiant - Volume IV - Cantates II\BACH JS - Cantantes II - 1 - 110 198\02 Piste 2.ogg"

With ffmpeg "N-77870-gb58cfa6" or "N-50911-g9efcfbe" (seriously?!) and while both files exist should output for an overwrite confirmation. It actually doesn't: FFmpeg overrides the output without a warning nor a confirm.

Hence, having the "-n" option doens't work either: FFMpeg overwrites the output file.


#5291 Wrong parsing when start time > end time in subtitles (.ass) undetermined defect Mar 6, 2016

Summary of the bug: .ass subtitles parsed wrong when dialog start time is larger than dialog end time.

How to reproduce:

Test file (test.ass):

[Script Info]
Title: Default Aegisub file
ScriptType: v4.00+
PlayResX: 1280
PlayResY: 720
PlayDepth: 16
Timer: 100,0000
WrapStyle: 1
YCbCr Matrix: TV.709

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,45,&H00FFFFFF,&H00005BFF,&H00010101,&HBE1F0C05,-1,0,0,0,90,100,0,0,1,2,0,2,10,10,15,1

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 1,0:02:11.52,0:02:11.49,Default,,0,0,0,fx,test

And then:

ffmpeg -i test.ass -f webvtt -nostats -loglevel 0 -
WEBVTT

02:11.520 --> 1193:04:58.786
<b>test</b>

As you see dialog with duration 0 ms converts to dialog with duration 1193 hours.

With loglevel 999 (but I think it's useless):

ffmpeg -i test.ass -f webvtt -loglevel 999 -
ffmpeg version N-76944-g15206ff Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libdcadec --enable-libfreetype --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
  libavutil      55.  9.100 / 55.  9.100
  libavcodec     57. 16.101 / 57. 16.101
  libavformat    57. 19.100 / 57. 19.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 17.100 /  6. 17.100
  libavresample   3.  0.  0 /  3.  0.  0
  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 '-i' ... matched as input file with argument 'test.ass'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'webvtt'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '999'.
Reading option '-' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument 999.
Successfully parsed a group of options.
Parsing a group of options: input file test.ass.
Successfully parsed a group of options.
Opening an input file: test.ass.
Probing ass score:100 size:660
Probing lrc score:5 size:660
[ass @ 0x2ee93c0] Format ass probed with size=2048 and score=100
[ass @ 0x2ee93c0] Before avformat_find_stream_info() pos: 660 bytes read:660 seeks:0
[ass @ 0x2ee93c0] All info found
[ass @ 0x2ee93c0] 0: start_time: -9223372036854.775 duration: -9223372036854.775
[ass @ 0x2ee93c0] stream: start_time: -9223372036854.775 duration: -9223372036854.775 bitrate=0 kb/s
[ass @ 0x2ee93c0] After avformat_find_stream_info() pos: 660 bytes read:660 seeks:0 frames:0
Input #0, ass, from 'test.ass':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 0, 1/100: Subtitle: ass
Successfully opened the file.
Parsing a group of options: output file -.
Applying option f (force format) with argument webvtt.
Successfully parsed a group of options.
Opening an output file: -.
Successfully opened the file.
WEBVTT
Output #0, webvtt, to 'pipe:':
  Metadata:
    encoder         : Lavf57.19.100
    Stream #0:0, 0, 1/1000: Subtitle: webvtt
    Metadata:
      encoder         : Lavc57.16.101 webvtt
Stream mapping:
  Stream #0:0 -> #0:0 (ass (native) -> webvtt (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)

02:11.520 --> 1193:04:58.786
<b>test</b>
No more output streams to write to, finishing.
size=       0kB time=00:02:11.52 bitrate=   0.0kbits/s
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 345.454559%
Input file #0 (test.ass):
  Input stream #0:0 (subtitle): 1 packets read (26 bytes); 1 frames decoded;
  Total: 1 packets (26 bytes) demuxed
Output file #0 (pipe:):
  Output stream #0:0 (subtitle): 1 frames encoded; 1 packets muxed (11 bytes);
  Total: 1 packets (11 bytes) muxed
1 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x2eead20] Statistics: 0 seeks, 2 writeouts
[AVIOContext @ 0x2ef1f40] Statistics: 660 bytes read, 0 seeks

#5308 dvbsubtitles always uses page_id of 1 avformat defect Mar 7, 2016

I have a stream which uses composition_page_id of 2 and Ancillary_page_id of 2

but in dvbsub.c:258 we have the following

page_id = 1;

This value should be updated from the mpegtsenc.c when it creates the PMT so the values follow through the chain.


#5338 Implement -h, -h long, -h full in ffplay to match ffmpeg cli ffplay enhancement Mar 15, 2016

Summary of the bug: (ffmpeg-20160310-git-66edd86-win64-static) When trying to view the help for "ffplay" binary with the "-h" option, over 300K of text is dumped to the console window. How am I supposed to find anything -- especially when Windows doesn't provide 'grep' and I'm not doing powershell(period). How to reproduce:

% ffplay -h

Please partition this (un)helpful output. Thank you.


#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.


#5366 Support for Audio Filtering of Core Audio of OSX avfilter enhancement Mar 23, 2016

thank ffmpeg team for the good app.

core audio of osx can filter or mix audio through audio unit. wherein there are many audio filters or mixers. https://developer.apple.com/library/mac/documentation/MusicAudio/Conceptual/CoreAudioOverview/SystemAudioUnits/SystemAudioUnits.html#//apple_ref/doc/uid/TP40003577-CH8-SW2

i request support for these.


#5374 Infinite loop in paletteuse on pix_fmt change avfilter defect Mar 24, 2016

I'm trying to create GIF from series of JPG images using palette but processing completely stall. I'm using last static build (http://johnvansickle.com/ffmpeg/). Same behavior reproduced on older build (I'm try some 2015 year release), also 32 and 64 bit builds. I tries to resize pictures, remove EXIF data, change colorspace.

I'm using Debian (3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64 GNU/Linux) on VMWare.

Firstly i'm generating a palette:

ffmpeg -nostdin -i 6659679_%04d.jpg -vf palettegen -y palette.png

Next I'm trying to create GIF:

ffmpeg -y -framerate 2 -i 6659679_%04d.jpg -i palette.png -lavfi paletteuse 6659679.gif

And got ffmpeg stall on second frame:

ffmpeg version 2.6.5 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector-strong -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libpulse --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2 --enable-libvidstab --enable-libzvbi --enable-avresample --disable-htmlpages --disable-podpages --enable-libutvideo --enable-libfdk-aac --enable-libx265 --enable-libiec61883 --enable-vaapi --enable-libdc1394 --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.102 /  5. 11.102
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[mjpeg @ 0x1533aa0] Changeing bps to 8
Input #0, image2, from '6659679_%04d.jpg':
  Duration: 00:00:01.50, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 652x386 [SAR 72:72 DAR 326:193], 2 fps, 2 tbr, 2 tbn, 2 tbc
Input #1, png_pipe, from 'palette.png':
  Duration: N/A, bitrate: N/A
    Stream #1:0: Video: png, rgba, 16x16 [SAR 1:1 DAR 1:1], 25 tbr, 25 tbn, 25 tbc
[swscaler @ 0x1528ee0] deprecated pixel format used, make sure you did set range correctly
Output #0, gif, to '6659679.gif':
  Metadata:
    encoder         : Lavf56.25.101
    Stream #0:0: Video: gif, pal8, 652x386 [SAR 1:1 DAR 326:193], q=2-31, 200 kb/s, 2 fps, 100 tbn, 2 tbc (default)
    Metadata:
      encoder         : Lavc56.26.100 gif
Stream mapping:
  Stream #0:0 (mjpeg) -> paletteuse:default
  Stream #1:0 (png) -> paletteuse:palette
  paletteuse -> Stream #0:0 (gif)
Press [q] to stop, [?] for help
Input stream #0:0 frame changed from size:652x386 fmt:yuvj420p to size:652x386 fmt:yuvj444p
[swscaler @ 0x150ac80] deprecated pixel format used, make sure you did set range correctly
Input stream #0:0 frame changed from size:652x386 fmt:yuvj444p to size:652x386 fmt:yuvj420p
[swscaler @ 0x150ac80] deprecated pixel format used, make sure you did set range correctly
frame=    2 fps=0.2 q=0.0 size=     140kB time=00:00:01.00 bitrate=1144.1kbits/s  

My JPEGs: http://zettich.com/images.tgz


#5375 Can't download a m3u playlist stream that uses AES encryption avformat enhancement Mar 25, 2016

Summary of the bug: I am trying to download a video using a m3u8 playlist but I get the error saying "Sample-AES encryption is not yet supported; Failed to open segment of playlist 0". Then at the end I get "Error loading first segment: <very long url is here> Invalid data when processing input How to reproduce:

% ffmpeg -i "https://once.unicornmedia.com/now/od/aut
o/e62f13e1-cab4-4fca-bdbb-eaa84d793f41/523587ee-47d2-403b-a3d0-e5db30f6929c/cim
44emqp001i0fo5daa1yd3o/content.m3u8" -c copy test.ts

ffmpeg version: 3.0
built on: Unknown

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


#5396 ffmpeg don`t close program if -t or -to used with -map 0 undetermined defect Apr 1, 2016

-map 0 (save all streams) option used with -t or -to causes that program don`t quit himself after reached time given in -t param. If i don`t using -map 0, everithing is ok - ffmpeg quit.

Change -t for use on input (before -t) doesn`t change anything.

How to reproduce:

% /usr/bin/ffmpeg -i udp://@239.100.100.7:5000 -map 0 -codec copy -to 60 -f mpegts /home/xyz.ts

ffmpeg version 3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8.2 (GCC)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/doc/ffmpeg-3.0.1/html --mandir=/usr/man --disable-debug --enable-shared --disable-static --enable-pthreads --enable-libtheora --enable-libvorbis --enable-gpl --enable-version3 --enable-libx264 --enable-postproc --enable-swscale --disable-x11grab --enable-avfilter --enable-gnutls --enable-libcdio --enable-libssh --arch=x86_64 --enable-libmp3lame --enable-libx264
  libavutil      55. 17.103 / 55. 17.103
  libavcodec     57. 24.102 / 57. 24.102
  libavformat    57. 25.100 / 57. 25.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 31.100 /  6. 31.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100

#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.


#5407 WavPack correction file (hybrid mode) undetermined enhancement Apr 6, 2016

As far as I can tell ffmpeg is currently not able to use WavePack? correction file when decoding a WavePack? track.

It would be great if this could be implemented.

Relevant excerpt from WavePack? user documentation:

If the -c option is specified (in addition to the -b option), then WavPack? will generate an additional file that will contain the information that was discarded to generate the lossy .wv file. This file will have the same name as the .wv file but will have the extension .wvc (the 'c' is for "correction"). When WvUnpack? is used to restore the .wav file, it will attempt to find the .wvc file in the same directory as the .wv file. If it is found then the decompression will be lossless and will be reported as such, otherwise lossy decompression will be reported (assuming that any information was actually discarded during the original compression).


#5413 Image size, pixel format cannot be detected ( 0x0,-1 ) for short h264 video avformat defect Apr 7, 2016

Cannot convert video which plays fine with Windows Media Player.

ffmpeg parameters ( splitted by comma) -probesize,100M,-analyzeduration,100M,-i,00443.MTS,-an,-y,-c:v,mjpeg,-q:v,8,frame%d.jpg

ffmpeg output: [mpegts @ 0x7ffcd9808800] Could not find codec parameters for stream 0 (Video: h264 (HDMV / 0x564D4448), none): unspecified size

Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from '/Users/saden/Documents/asimon/simplevideoed/test/folder8/00443.MTS': Duration: 00:00:00.51, start: 1.033367, bitrate: 9216 kb/s Program 1 Stream #0:0[0x1011]: Video: h264 (HDMV / 0x564D4448), none, 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080 [buffer @ 0x7ffcd96013c0] Unable to parse option value "0x0" as image size [buffer @ 0x7ffcd96013c0] Unable to parse option value "-1" as pixel format [buffer @ 0x7ffcd96013c0] Unable to parse option value "0x0" as image size [buffer @ 0x7ffcd96013c0] Error setting option video_size to value 0x0. [graph 0 input from stream 0:0 @ 0x7ffcd9601500] Error applying options to the filter.

This problem is easily reproducible with the latest version of ffmpeg on both OSX and windows systems.

At the same time exiftool returns correct values for size.


#5419 HLS EXT-X-DISCONTINUITY tag is not supported avformat defect Apr 10, 2016

Summary of the bug:

I'm trying to read input from HLS and output to RTMP, this works fine if the HLS segments are all in one time sequence. However if the time changes e.g. segments generated from two video files, ffmpeg got error 'Non-monotonous DTS in output stream 0:1;'.

According to the HLS documentation, EXT-X-DISCONTINUITY should be used when time sequence changes. (https://tools.ietf.org/html/draft-pantos-http-live-streaming-13#section-3.4.11) But I still got the same error after I added that tag to the m3u8 file. Look at hls.c file in libavformat, it doesn't handle EXT-X-DISCONTINUITY tag.

How to reproduce:

ffmpeg -re -i http://hls-server/playlist.m3u8 -acodec copy -vcodec copy -bsf:a aac_adtstoasc -f flv rtmp://rtmp-server/app

#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%


#5516 Multi-thread HTTP streaming server doesn't work ffmpeg enhancement May 6, 2016

I'm using FFMpeg under Windows to stream by webcam using MJPEG direct copy via 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

This works, I can connect via VLC by just opening http://localhost:8090. However, ffmpeg exists when user is disconnected (or on other error), so I have to restart it, and there is no multi-user support.

But multi-user HTTP server doesn't work at all - when I'm starting it as

ffmpeg -f dshow -video_size 1920x1080 -rtbufsize 1K -framerate 15 -vcodec mjpeg -i video="USB Video Device" -vcodec copy -f mjpeg -listen 2 http://0.0.0.0:8090

I just cannot open http://localhost:8090 - nothing happens.


#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


#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.


#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

#5568 POWER8 VSX vectorization libswscale/swscale.c swscale enhancement May 17, 2016

Optimize approximately 17 functions in libswscale/swscale.c for POWER8 VSX SIMD instructions on PPC64 Linux.


#5569 POWER8 VSX vectorization libswscale/output.c swscale enhancement May 17, 2016

Optimize approximately 30 functions in libswscale/output.c for POWER8 VSX

SIMD instructions on PPC64 Linux.


#5570 POWER8 VSX vectorization libswscale/input.c swscale enhancement May 17, 2016

Optimize approximately 50 functions in libswscale/input.c for POWER8 VSX SIMD instructions on PPC64 Linux.


#5617 Application provided invalid, non monotonically increasing dts to muxer (TS) undetermined defect Jun 7, 2016

Summary of the bug: Transcoding a TS made with current VDR (2.2.0). Program exits 45s into recording with error Application provided invalid, non monotonically increasing dts to muxer

Accompanied by error av_interleaved_write_frame(): Invalid argument

Subtitle stream is the cause. Omitting the subs stream and the issue does not occur.

In fact one doesn't need to even transcode, just trying to copy the streams causes the same issue.

Using option -fix_sub_duration doesn't help

May be similar to tickets #1154, #3658

How to reproduce:

% ffmpeg -y -report -v 9 -loglevel 99 -i "00001.ts" -map 0:0 -map 0:1 -map 0:2 -map 0:3 -c:v copy  -c:a:0 copy -c:a:1 copy -c:s copy  "file-1.ts"
ffmpeg version N-80225-g1729387
built on 07-Jun-2016

Log attached, first 50s of video uploaded under this ticket number


#5641 Support WebVTT according to MKV specs avformat defect Jun 14, 2016

FFmpeg supports the D_WEBVTT/SUBTITLES flavor following WebM specs (http://www.webmproject.org/docs/container/), but not the recent S_TEXT/WEBVTT flavor added to Matroska spec (https://matroska.org/technical/specs/codecid/index.html), likely close to it being added to mkvtoolnix in https://github.com/mbunkus/mkvtoolnix/commit/c0c8ea01 .

It should probably also be changed to mux WebVTT tracks as S_TEXT/WEBVTT, at least to Matroska so mkvtoolnix recognizes the track as valid subtitles.

ffmpeg -i cut-vtt.mkv
ffmpeg version N-80317-gff53b66-g9da27fb+1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (Rev1, Built by MSYS2 project)
  configuration:  --enable-libx264 --enable-libvpx --enable-libopus --disable-postproc --disable-doc --disable-demuxer=asf --disable-ffplay --enable-gpl --disable-debug
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 46.100 / 57. 46.100
  libavformat    57. 38.100 / 57. 38.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.101 /  6. 46.101
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
[matroska,webm @ 000000038f2d1c60] Unknown/unsupported AVCodecID S_TEXT/WEBVTT.
[matroska,webm @ 000000038f2d1c60] Could not find codec parameters for stream 3 (Subtitle: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from 'cut-vtt.mkv':
  Metadata:
    encoder         : libebml v1.3.3 + libmatroska v1.4.4
    creation_time   : 2016-06-14 12:56:53
  Duration: 00:00:11.28, start: 0.000000, bitrate: 352 kb/s
    Stream #0:0: Video: vp9 (Profile 2), yuv420p10le(tv), 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      BPS             : 291322
      BPS-eng         : 291322
      DURATION        : 00:00:09.760000000
      DURATION-eng    : 00:00:09.760000000
      NUMBER_OF_FRAMES: 234
      NUMBER_OF_FRAMES-eng: 234
      NUMBER_OF_BYTES : 355414
      NUMBER_OF_BYTES-eng: 355414
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-06-14 12:56:53
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-06-14 12:56:53
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp (default) (forced)
    Metadata:
      BPS             : 107013
      BPS-eng         : 107013
      DURATION        : 00:00:09.758000000
      DURATION-eng    : 00:00:09.758000000
      NUMBER_OF_FRAMES: 488
      NUMBER_OF_FRAMES-eng: 488
      NUMBER_OF_BYTES : 130530
      NUMBER_OF_BYTES-eng: 130530
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-06-14 12:56:53
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-06-14 12:56:53
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(eng): Subtitle: webvtt
    Metadata:
      title           : FFmpeg
      BPS             : 163
      BPS-eng         : 163
      DURATION        : 00:00:10.300000000
      DURATION-eng    : 00:00:10.300000000
      NUMBER_OF_FRAMES: 5
      NUMBER_OF_FRAMES-eng: 5
      NUMBER_OF_BYTES : 211
      NUMBER_OF_BYTES-eng: 211
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-06-14 12:56:53
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-06-14 12:56:53
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3: Subtitle: none (default)
    Metadata:
      title           : mkvmerge
      BPS             : 0
      BPS-eng         : 0
      DURATION        : 00:00:00.000000000
      DURATION-eng    : 00:00:00.000000000
      NUMBER_OF_FRAMES: 0
      NUMBER_OF_FRAMES-eng: 0
      NUMBER_OF_BYTES : 0
      NUMBER_OF_BYTES-eng: 0
      _STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
      _STATISTICS_WRITING_DATE_UTC: 2016-06-14 12:56:53
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-06-14 12:56:53
      _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
At least one output file must be specified

#5661 Warnings shown when seeking asf avformat defect Jun 23, 2016

ffmpeg started on 2016-06-23 at 17:00:34 Report written to "ffmpeg-20160623-170034.log" Command line:

ffmpeg -report -v 9 -loglevel 99 -ss 2 -i data1.wmv -an -vf "scale='if(gt(a,1.78),320,-1)':'if(gt(a,1.78),-1,180)'" -vframes 1 -f image2 pipe:
ffmpeg version N-80522-ge0faad8 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-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. 24.100 / 55. 24.100
  libavcodec     57. 46.100 / 57. 46.100
  libavformat    57. 38.102 / 57. 38.102
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.102 /  6. 46.102
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  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 '-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 '-ss' ... matched as option 'ss' (set the start time offset) with argument '2'.
Reading option '-i' ... matched as input file with argument 'data1.wmv'.
Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale='if(gt(a,1.78),320,-1)':'if(gt(a,1.78),-1,180)''.
Reading option '-vframes' ... matched as option 'vframes' (set the number of video frames to output) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'image2'.
Reading option 'pipe:' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option v (set logging level) with argument 9.
Applying option loglevel (set logging level) with argument 99.
Successfully parsed a group of options.
Parsing a group of options: input file data1.wmv.
Applying option ss (set the start time offset) with argument 2.
Successfully parsed a group of options.
Opening an input file: data1.wmv.
[file @ 033ca400] Setting default whitelist 'file,crypto'
[asf @ 033c9a80] Format asf probed with size=2048 and score=100
[asf @ 033c9a80] gpos mismatch our pos=24, end=38
[asf @ 033c9a80] Payload extension 50 2
[asf @ 033c9a80] gpos mismatch our pos=24, end=26
[asf @ 033c9a80] gpos mismatch our pos=24, end=3850
[asf @ 033c9a80] gpos mismatch our pos=24, end=38
[asf @ 033c9a80] gpos mismatch our pos=24, end=304
[asf @ 033c9a80] Before avformat_find_stream_info() pos: 5363 bytes read:32768 seeks:0 nb_streams:2
[wmv3 @ 034e6ce0] Header: 4FF10801
[wmv3 @ 034e6ce0] Profile 1:
frmrtq_postproc=7, bitrtq_postproc=31
LoopFilter=0, MultiRes=0, FastUVMC=0, Extended MV=0
Rangered=0, VSTransform=1, Overlap=0, SyncMarker=0
DQuant=0, Quantizer mode=0, Max B-frames=0
[wmv3 @ 034e6ce0] Extra data: 8 bits left, value: 0
[asf @ 033c9a80] parser not found for codec wmapro, packets or times may be invalid.
[asf @ 033c9a80] parser not found for codec wmapro, packets or times may be invalid.
[asf @ 033c9a80] All info found
[asf @ 033c9a80] rfps: 29.666667 0.013781
[asf @ 033c9a80] rfps: 29.666667 0.013781
[asf @ 033c9a80] rfps: 29.750000 0.007295
[asf @ 033c9a80] rfps: 29.750000 0.007295
[asf @ 033c9a80] rfps: 29.833333 0.002869
[asf @ 033c9a80] rfps: 29.833333 0.002869
[asf @ 033c9a80] rfps: 29.916667 0.000504
[asf @ 033c9a80] rfps: 29.916667 0.000504
[asf @ 033c9a80] rfps: 30.000000 0.000199
[asf @ 033c9a80] rfps: 60.000000 0.000798
[asf @ 033c9a80] rfps: 120.000000 0.003191
[asf @ 033c9a80] rfps: 240.000000 0.012764
[asf @ 033c9a80] rfps: 29.970030 0.000072
[asf @ 033c9a80] rfps: 59.940060 0.000287
[asf @ 033c9a80] Setting avg frame rate based on r frame rate
[asf @ 033c9a80] Estimating duration from bitrate, this may be inaccurate
[asf @ 033c9a80] After avformat_find_stream_info() pos: 1350131 bytes read:1376256 seeks:0 frames:46
[asf @ 033c9a80] asf_read_pts failed
[asf @ 033c9a80] asf_read_pts failed
[asf @ 033c9a80] asf_read_pts failed
[asf @ 033c9a80] asf_read_pts failed
[asf @ 033c9a80] asf_read_pts failed
[asf @ 033c9a80] asf_read_pts failed
[asf @ 033c9a80] ff asf bad header 0  at:25678361
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] asf_read_pts failed
[asf @ 033c9a80] ff asf bad header 0  at:25563456
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25612636
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25661816
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] asf_read_pts failed
[asf @ 033c9a80] ff asf bad header 0  at:25497796
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25546976
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25596156
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25645336
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25694516
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] asf_read_pts failed
[asf @ 033c9a80] ff asf bad header 0  at:25497796
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25546976
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25596156
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25645336
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25694516
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] asf_read_pts failed
[asf @ 033c9a80] ff asf bad header 0  at:25497796
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25546976
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25596156
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25645336
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25694516
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] asf_read_pts failed
[asf @ 033c9a80] ff asf bad header 0  at:25497796
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25546976
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25596156
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25645336
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] ff asf bad header 0  at:25694516
[asf @ 033c9a80] ff asf skip 16406 (unknown stream)
[asf @ 033c9a80] asf_read_pts failed
Input #0, asf, from 'data1.wmv':
  Metadata:
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: M1
    WMFSDKVersion   : 11.0.5705.5043
    IsVBR           : 0
  Duration: 00:00:27.88, start: 0.000000, bitrate: 7376 kb/s
    Stream #0:0(fre), 41, 1/1000: Video: wmv3 (Main), 1 reference frame (WMV3 / 0x33564D57), yuv420p(left), 1280x720, 0/1, 7000 kb/s, 29.97 fps, 29.97 tbr, 1k tbn, 1k tbc
    Stream #0:1(fre), 5, 1/1000: Audio: wmapro (b[1][0][0] / 0x0162), 48000 Hz, 5.1, fltp, 384 kb/s
Successfully opened the file.
Parsing a group of options: output file pipe:.
Applying option an (disable audio) with argument 1.
Applying option vf (set video filters) with argument scale='if(gt(a,1.78),320,-1)':'if(gt(a,1.78),-1,180)'.
Applying option vframes (set the number of video frames to output) with argument 1.
Applying option f (force format) with argument image2.
Successfully parsed a group of options.
Opening an output file: pipe:.
Successfully opened the file.
detected 1 logical cores
[Parsed_scale_0 @ 034e8e20] Setting 'w' to value 'if(gt(a,1.78),320,-1)'
[Parsed_scale_0 @ 034e8e20] Setting 'h' to value 'if(gt(a,1.78),-1,180)'
[Parsed_scale_0 @ 034e8e20] Setting 'flags' to value 'bicubic'
[Parsed_scale_0 @ 034e8e20] w:if(gt(a,1.78),320,-1) h:if(gt(a,1.78),-1,180) flags:'bicubic' interl:0
[graph 0 input from stream 0:0 @ 034e86e0] Setting 'video_size' to value '1280x720'
[graph 0 input from stream 0:0 @ 034e86e0] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 034e86e0] Setting 'time_base' to value '1/1000'
[graph 0 input from stream 0:0 @ 034e86e0] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 034e86e0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 034e86e0] Setting 'frame_rate' to value '30000/1001'
[graph 0 input from stream 0:0 @ 034e86e0] w:1280 h:720 pixfmt:yuv420p tb:1/1000 fr:30000/1001 sar:0/1 sws_param:flags=2
[format @ 034b25a0] compat: called with args=[yuvj420p|yuvj422p|yuvj444p]
[format @ 034b25a0] Setting 'pix_fmts' to value 'yuvj420p|yuvj422p|yuvj444p'
[AVFilterGraph @ 033cae60] query_formats: 5 queried, 4 merged, 0 already done, 0 delayed
[Parsed_scale_0 @ 034e8e20] picking yuvj420p out of 3 ref:yuv420p alpha:0
[swscaler @ 034e8e80] deprecated pixel format used, make sure you did set range correctly
[Parsed_scale_0 @ 034e8e20] w:1280 h:720 fmt:yuv420p sar:0/1 -> w:320 h:180 fmt:yuvj420p sar:0/1 flags:0x4
[wmv3 @ 0355b320] Header: 4FF10801
[wmv3 @ 0355b320] Profile 1:
frmrtq_postproc=7, bitrtq_postproc=31
LoopFilter=0, MultiRes=0, FastUVMC=0, Extended MV=0
Rangered=0, VSTransform=1, Overlap=0, SyncMarker=0
DQuant=0, Quantizer mode=0, Max B-frames=0
[wmv3 @ 0355b320] Extra data: 8 bits left, value: 0
[mjpeg @ 033ce900] Forcing thread count to 1 for MJPEG encoding, use -thread_type slice or a constant quantizer if you want to use multiple cpu cores
[mjpeg @ 033ce900] intra_quant_bias = 96 inter_quant_bias = 0
[image2 @ 0358e020] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, image2, to 'pipe:':
  Metadata:
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: M1
    WMFSDKVersion   : 11.0.5705.5043
    IsVBR           : 0
    encoder         : Lavf57.38.102
    Stream #0:0(fre), 0, 1001/30000: Video: mjpeg, 1 reference frame, yuvj420p(pc, left), 320x180, 0/1, q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.46.100 mjpeg
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (wmv3 (native) -> mjpeg (native))
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)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 3, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 1, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 2, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 3, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 3, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 3, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 1, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 2, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 1, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 1, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 1, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 1, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 1, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 1, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 0, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 1, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 3, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 1, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 3, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 1, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 1, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 3, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 2, Invert: 1
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 4, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 3, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 1, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 1, Invert: 0
frame=    0 fps=0.0 q=0.0 size=N/A 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)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 4, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 0, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 1, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 0, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 4, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 1, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 3, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 2, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 1, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 4, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 4, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 3, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 2, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 1, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 3, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 1, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 4, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 0, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 1, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 4, Invert: 0
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[wmv3 @ 0355b320] MB MV Type plane encoding: Imode: 3, Invert: 0
[wmv3 @ 0355b320] MB Skip plane encoding: Imode: 2, Invert: 0
[pipe @ 034e7d20] Setting default whitelist 'crypto'
[AVIOContext @ 03c3ce80] Statistics: 0 seeks, 1 writeouts
No more output streams to write to, finishing.
frame=    1 fps=0.3 q=3.6 Lsize=N/A time=00:00:00.03 bitrate=N/A speed=0.00901x    
video:7kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (data1.wmv):
  Input stream #0:0 (video): 48 packets read (1240390 bytes); 48 frames decoded; 
  Input stream #0:1 (audio): 0 packets read (0 bytes); 
  Total: 48 packets (1240390 bytes) demuxed
Output file #0 (pipe:):
  Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (7624 bytes); 
  Total: 1 packets (7624 bytes) muxed
48 frames successfully decoded, 0 decoding errors
[AVIOContext @ 033ca540] Statistics: 17717799 bytes read, 27 seeks

#5662 Enhancement request for the detelecine filter avfilter defect Jun 24, 2016

Hello,

the detelecine filter currently does not use full frames even when they are available in the source but combines two fields from different frames. This results in suboptimal output, in particular for progressively encoded input files with hard telecining (I know that encoding such stuff progressively without IVTC is stupid; but it's nevertheless done). My attachment contains such an example: A five frame source (one complete 2:3 pulldown period (top field first)) with hard telecining. The underlying four frame sequence (on which the pulldown has been applied) has a scenecut between the third and the fourth frame so that the fourth frame of the telecined video is a mixture of two fields from totally different frames; plus errors introduced in the encoding which entails that the bottom fields of frames four and five do not coincide and the bottom field of frame four and the top field of frame five do not match very well. In reconstructing the fourth frame of the untelecined video one should therefore use the top and bottom fields of the fifth frame of the telecined video; but that is not what the detelecine filter does.


#5663 cannot transcode flv (cannot find video stream) avformat defect Jun 24, 2016

Summary of the bug: I am trying to transcode from streaming captured flv(avc+aac) video to mp4(avc+aac) format, with original Latest Zeranoe FFmpeg Build Version: 6935aaa (2016-06-24)(windows binary of https://ffmpeg.zeranoe.com/builds/) , but cannot find video stream ,instead found subtitle stream. Our(Saccubus team) modified ffmpeg (http://ci.ledyba.org/job/SaccubusFFmpegBuild_1.x/lastSuccessfulBuild/artifact/ffmpeg_1.x_20160624_075650.7z) does the same. The sample flv file may be broken nevertheless it can be viewed by MPC-HC x64 Windows application (verison and property info is mpchc64_OK_version.txt) I am not sure this is bug.

Command line:(on msys2 MinGW-w64 32bit - Windows 10) How to reproduce:

% "C:\\msys64\\usr\\local\\src\\ffmpeg_bug_report\\0624\\ffmpeg.exe" -y -i sample_flvrepair100.flv -q:v 0 -s 640x360 out.mp4
ffmpeg version N-80615-g6935aaa 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-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. 26.100 / 55. 26.100
  libavcodec     57. 46.100 / 57. 46.100
  libavformat    57. 40.101 / 57. 40.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 46.102 /  6. 46.102
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-i' ... matched as input file with argument 'sample_flvrepair100.flv'.
Reading option '-q:v' ... matched as option 'q' (use fixed quality scale (VBR)) with argument '0'.
Reading option '-s' ... matched as option 's' (set frame size (WxH or abbreviation)) with argument '640x360'.
Reading option 'out.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file sample_flvrepair100.flv.
Successfully parsed a group of options.
Opening an input file: sample_flvrepair100.flv.
[file @ 03c09500] Setting default whitelist 'file,crypto'
[flv @ 03c08de0] Format flv probed with size=2048 and score=100
[flv @ 03c08de0] Before avformat_find_stream_info() pos: 13 bytes read:32768 seeks:0 nb_streams:0
[flv @ 03c08de0] audio stream discovered after head already parsed
[flv @ 03c08de0] subtitle stream discovered after head already parsed
[flv @ 03c08de0] max_analyze_duration 5000000 reached at 5014000 microseconds st:0
[flv @ 03c08de0] After avformat_find_stream_info() pos: 49702 bytes read:98308 seeks:2 frames:221
Input #0, flv, from 'sample_flvrepair100.flv':
  Metadata:
    moovPosition    : 36
    avcprofile      : 100
    avclevel        : 30
    aacaot          : 2
    videoframerate  : 28
    audiochannels   : 2
    sampletype      : mp4a
    length          : 3984381
    timescale       : 1000
  Duration: 01:06:24.41, start: 2.322000, bitrate: 284 kb/s
    Stream #0:0, 220, 1/1000: Audio: aac, 44100 Hz, stereo, fltp
    Stream #0:1, 1, 1/1000: Subtitle: text
Successfully opened the file.
Parsing a group of options: output file out.mp4.
Applying option q:v (use fixed quality scale (VBR)) with argument 0.
Applying option s (set frame size (WxH or abbreviation)) with argument 640x360.
Successfully parsed a group of options.
Opening an output file: out.mp4.
[file @ 03222b00] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:0 @ 0323fae0] Setting 'time_base' to value '1/44100'
[graph 0 input from stream 0:0 @ 0323fae0] Setting 'sample_rate' to value '44100'
[graph 0 input from stream 0:0 @ 0323fae0] Setting 'sample_fmt' to value 'fltp'
[graph 0 input from stream 0:0 @ 0323fae0] Setting 'channel_layout' to value '0x3'
[graph 0 input from stream 0:0 @ 0323fae0] tb:1/44100 samplefmt:fltp samplerate:44100 chlayout:0x3
[audio format for output stream 0:0 @ 0323fa60] Setting 'sample_fmts' to value 'fltp'
[audio format for output stream 0:0 @ 0323fa60] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
[AVFilterGraph @ 032375e0] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
[mp4 @ 03233a20] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, mp4, to 'out.mp4':
  Metadata:
    moovPosition    : 36
    avcprofile      : 100
    avclevel        : 30
    aacaot          : 2
    videoframerate  : 28
    audiochannels   : 2
    sampletype      : mp4a
    length          : 3984381
    timescale       : 1000
    encoder         : Lavf57.40.101
    Stream #0:0, 0, 1/44100: Audio: aac (LC) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc57.46.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[flv @ 03c08de0] video stream discovered after head already parsed
[NULL @ 03206ac0] nal_unit_type: 7, nal_ref_idc: 3
[NULL @ 03206ac0] nal_unit_type: 8, nal_ref_idc: 3
[flv @ 03c08de0] New (null) stream 0:2 at pos:60653 and DTS:8.627s
size=     191kB time=00:00:12.19 bitrate= 128.5kbits/s speed=24.3x    
size=     405kB time=00:00:25.79 bitrate= 128.6kbits/s speed=25.8x    
                                   (*snip*)                                  
size=   56205kB time=00:59:09.23 bitrate= 129.7kbits/s speed=23.5x    
[aac @ 03230da0] decode_band_types: Input buffer exhausted before END element found
Error while decoding stream #0:0: Invalid data found when processing input
[output stream 0:0 @ 0323fbe0] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.
size=   56998kB time=00:59:21.33 bitrate= 131.1kbits/s speed=23.5x    
video:0kB audio:56397kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.065180%
Input file #0 (sample_flvrepair100.flv):
  Input stream #0:0 (audio): 153375 packets read (40624776 bytes); 153374 frames decoded (157054976 samples); 
  Input stream #0:1 (subtitle): 1 packets read (515 bytes); 
  Total: 153376 packets (40625291 bytes) demuxed
Output file #0 (out.mp4):
  Output stream #0:0 (audio): 153374 frames encoded (157054976 samples); 153375 packets muxed (57750330 bytes); 
  Total: 153375 packets (57750330 bytes) muxed
153374 frames successfully decoded, 1 decoding errors
[AVIOContext @ 03c004e0] Statistics: 30 seeks, 153416 writeouts
[aac @ 0323bae0] Qavg: 2100.247
[AVIOContext @ 03208080] Statistics: 141830040 bytes read, 2 seeks

sample is https://www.datafilehost.com/d/3abf78e9


#5696 ffmpeg broken for AES-encrypted HLS stream with Accept-Encoding header avformat defect Jul 8, 2016

Summary of the bug: How to reproduce:

$ ffmpeg -loglevel debug -headers "Accept-Encoding: gzip, deflate" -i https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc output.mp4
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 6.1.1 (GCC) 20160602
  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
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-headers' ... matched as AVOption 'headers' with argument 'Accept-Encoding: gzip, deflate'.
Reading option '-i' ... matched as input file with argument 'https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mp4'.
Reading option '-bsf:a' ... matched as option 'bsf' (A comma-separated list of bitstream filters) with argument 'aac_adtstoasc'.
Reading option 'output.mp4' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8.
Successfully parsed a group of options.
Opening an input file: https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8.
[https @ 0x56373daa0320] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[https @ 0x56373daa0320] No trailing CRLF found in HTTP header.
[https @ 0x56373daa0320] request: GET /episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8 HTTP/1.1
User-Agent: Lavf/57.41.100
Accept: */*
Range: bytes=0-
Connection: close
Host: d2sazdeahkz1yk.cloudfront.net
Icy-MetaData: 1
Accept-Encoding: gzip, deflate


[hls,applehttp @ 0x56373da9fb20] Format hls,applehttp probed with size=2048 and score=100
[hls,applehttp @ 0x56373da9fb20] HLS request for url 'https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p00000.ts', offset 0, playlist 0
[https @ 0x56373e0c8700] request: GET /episodes/S01E03-loading-view-controllers/hls_key HTTP/1.1
User-Agent: Lavf/57.41.100
Accept: */*
Connection: close
Host: talk.objc.io
Icy-MetaData: 1
Accept-Encoding: gzip, deflate


[https @ 0x56373e0c8700] inflate return value: -3, invalid code lengths set
    Last message repeated 1 times
Unable to read key file https://talk.objc.io/episodes/S01E03-loading-view-controllers/hls_key
[AVIOContext @ 0x56373dc811a0] Statistics: 0 bytes read, 0 seeks
[https @ 0x56373deedc20] request: GET /episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p00000.ts HTTP/1.1
User-Agent: Lavf/57.41.100
Accept: */*
Connection: close
Host: d2sazdeahkz1yk.cloudfront.net
Icy-MetaData: 1
Accept-Encoding: gzip, deflate


[hls,applehttp @ 0x56373da9fb20] Error when loading first segment 'https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p00000.ts'
[AVIOContext @ 0x56373dbcc380] Statistics: 1050928 bytes read, 0 seeks
[AVIOContext @ 0x56373de18ce0] Statistics: 4997 bytes read, 0 seeks
https://d2sazdeahkz1yk.cloudfront.net/episodes/1b888bc4-d261-481d-a8ba-28c02b31eaab/1/1080p.m3u8: Invalid data found when processing input

The key file is correctly gzipped:

$ curl "https://talk.objc.io/episodes/S01E03-loading-view-controllers/hls_key" | xxd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    16    0    16    0     0     16      0 --:--:-- --:--:-- --:--:--    16
00000000: 9016 6c2e 9f21 f436 9478 2438 464e 917a  ..l..!.6.x$8FN.z

$ curl -H 'Accept-Encoding: gzip, deflate' "https://talk.objc.io/episodes/S01E03-loading-view-controllers/hls_key" | gunzip -c - | xxd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    43    0    43    0     0     48      0 --:--:-- --:--:-- --:--:--    48
00000000: 9016 6c2e 9f21 f436 9478 2438 464e 917a  ..l..!.6.x$8FN.z

$ curl -H 'Accept-Encoding: gzip, deflate' "https://talk.objc.io/episodes/S01E03-loading-view-controllers/hls_key" | xxd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    43    0    43    0     0     45      0 --:--:-- --:--:-- --:--:--    45
00000000: 1f8b 0800 2d89 7f57 0003 9a20 96a3 375f  ....-..W... ..7_
00000010: f18b d994 0a15 0b37 bf89 5500 0000 00ff  .......7..U.....
00000020: ff03 0070 464c a710 0000 00              ...pFL.....

#5709 Using lavc option sar breaks muxing undetermined defect Jul 14, 2016

Summary of the bug: Failed to find codec in Stream #0:1 It was no problem in 3.0.2 Stream #0:1 is Audio: aac (LC)

How to reproduce:

/root/ffmpeg-3.1.1/ffmpeg -y -i input.ts -metadata creation_time="$(date --utc +'%F%T')" -vcodec h264_qsv -b:v 2200k -sar 16:9 -s 1280\x720 -acodec copy -absf aac_adtstoasc -bufsize 20000k -maxrate 25000k -movflags faststart -f mp4 "/mnt/hdd/recorded/output.mp4"
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
  configuration: --enable-static --enable-gpl --enable-nonfree --disable-doc --disable-ffserver --enable-pthreads --enable-libmfx
  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
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
C/N = 29.002180dB
Recording...
Available sid = 1040 1041 1424 
Chosen sid    = 1040
Available PMT = 0x110 0x120 0x1fc8 
[mpeg2video @ 0x32d8280] Invalid frame dimensions 0x0.
    Last message repeated 3 times
[mpegts @ 0x32d3660] Could not find codec parameters for stream 4 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x32d3660] Could not find codec parameters for stream 5 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x32d3660] Could not find codec parameters for stream 6 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x32d3660] Could not find codec parameters for stream 7 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x32d3660] Could not find codec parameters for stream 8 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x32d3660] Could not find codec parameters for stream 9 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x32d3660] Could not find codec parameters for stream 10 (Unknown: none ([13][0][0][0] / 0x000D)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'pipe:':
  Duration: N/A, start: 7829.753300, bitrate: N/A
  Program 1040 
    Stream #0:0[0x111]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt709), 1440x1080 [SAR 4:3 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x112]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 200 kb/s
    Stream #0:2[0x116]: Data: bin_data ([6][0][0][0] / 0x0006)
    Stream #0:3[0x117]: Data: bin_data ([6][0][0][0] / 0x0006)
    Stream #0:4[0x511]: Unknown: none ([13][0][0][0] / 0x000D)
    Stream #0:5[0x513]: Unknown: none ([13][0][0][0] / 0x000D)
    Stream #0:6[0x514]: Unknown: none ([13][0][0][0] / 0x000D)
    Stream #0:7[0x611]: Unknown: none ([13][0][0][0] / 0x000D)
    Stream #0:8[0x612]: Unknown: none ([13][0][0][0] / 0x000D)
    Stream #0:9[0x613]: Unknown: none ([13][0][0][0] / 0x000D)
    Stream #0:10[0x711]: Unknown: none ([13][0][0][0] / 0x000D)
libva info: VA-API version 0.99.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
[mp4 @ 0x4156fc0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
[mp4 @ 0x4156fc0] Aspect ratio mismatch between muxer (1/1) and encoder layer (16/9)
Output #0, mp4, to '/mnt/hdd/recorded/test.mp4':
  Metadata:
    creation_time   : 2016-07-1414:07:49
    Stream #0:0: Video: h264 (h264_qsv), nv12, 1280x720 [SAR 16:9 DAR 256:81], q=2-31, 2200 kb/s, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.48.101 h264_qsv
    Side data:
      cpb: bitrate max/min/avg: 25000000/0/2200000 buffer size: 20000000 vbv_delay: -1
    Stream #0:1: Unknown: none  // Here
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_qsv))
  Stream #0:1 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
write: Broken pipe

SIGPIPE received. cleaning up...
Recorded 7sec


No problem in 3.0.1

  Metadata:
    creation_time   : 2016-07-1414:18:17
    encoder         : Lavf57.25.100
    Stream #0:0: Video: h264 (h264_qsv) ([33][0][0][0] / 0x0021), nv12, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 2200 kb/s, 29.97 fps, 30k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.24.102 h264_qsv
    Side data:
      unknown side data type 10 (24 bytes)
    Stream #0:1: Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 191 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (h264_qsv))
  Stream #0:1 -> #0:1 (copy)
frame=   85 fps=0.0 q=-0.0 size=     224kB time=00:00:02.58 bitrate= 710.9kbits/s dup=19 drop=0 speed= 5frame=  126 fps=122 q=-0.0 size=     614kB time=00:00:03.92 bitrate=1280.8kbits/s dup=19 drop=0 speed= 3frame=  139 fps= 88 q=-0.0 size=     734kB time=00:00:04.48 bitrate=1341.7kbits/s dup=19 drop=0 speed=2.frame=  156 fps= 74 q=-0.0 size=     896kB time=00:00:05.01 bitrate=1463.5kbits/s dup=19 drop=0 speed=2.

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


#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.


#5722 there's no sound when ffplaying a mp4 fragment file -- dash avformat defect Jul 18, 2016

Summary of the bug: How to reproduce:

% ffplay dash.mp4

ffmpeg version: 3.1.1 built on ubuntu

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


#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.


#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

#5749 File produced ffmpeg by stream copy reports audio (AAC) for the stream that should be video (MPEG2) undetermined defect Aug 2, 2016

Summary of the bug: I'm attempting a partial stream copy of the file "Alcorn McBride? PAL Test Clip (SD)" vid00003.mpg Available here: http://alcorn.com/test-files/

The source file shows these streams, with the AAC one that I'm not expecting, and no video stream:

stream,0,mpeg2video,MPEG-2 video,Main,video,1/25
stream,1,mp2,MP2 (MPEG audio layer 2),unknown,audio,1/44100

Copying the streams with a cut ffmpeg.exe -i vid00003.mpg -ss 00:00:10 -c:v copy -c:a copy vid00003_cut.mpg gives these streams:

stream,0,mp2,MP2 (MPEG audio layer 2),unknown,audio,1/44100
stream,1,aac,AAC (Advanced Audio Coding),SSR,audio,1/24000

Copying the streams without the cut ffmpeg.exe -i vid00003.mpg -c:v copy -c:a copy vid00003_nocut.mpg works fine.

How to reproduce:

% ffmpeg.exe -i vid00003.mpg -ss 00:00:10 -c:v copy -c:a copy vid00003_cut.mpg

ffmpeg version is from zeranoe.com, dated 2016-07-28, git fb91143

ffmpeg version N-81154-gfb91143 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3
 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avi
synth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --e
nable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --ena
ble-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --
enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-l
ibx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --ena
ble-lzma --enable-decklink --enable-zlib
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 51.100 / 57. 51.100
  libavformat    57. 44.100 / 57. 44.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 49.100 /  6. 49.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100



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


#5755 HEVC video stream obtained from Zavio D6320 IP camea can be decoded only partitially avformat enhancement Aug 4, 2016

Summary of the bug:

Have Zavio D6320 IP camera which sends H265/HEVC via RTSP. Video obtained from the camera cannot be played via ffplay

./ffplay rtsp://user:user@ip_address:554/video.pro1 -rtsp_transport tcp

However at the same time VLC player 2.2.4 (Mac) can play this stream without any problem.

I have saved 5 seconds of H265 stream (640x480 @ 30fps) and attached to this ticket using the following command:

./ffmpeg -v 9 -loglevel 99 -i 'rtsp://user:user@ip_address:554/video.pro1' -rtsp_transport tcp -vcodec copy video640x480.h265

How to reproduce:

% ffplay video640x480.h265
ffmpeg master (snapshot).
built on August 3, 2016

You should see only upper right corner of the video is displayed. This problem is reproducible on all resolutions the camera support (320x240, 640x480, 720p, 1080p, 2304x1296).


#5756 Robustness issue with nul character in ASS subtitle streams undetermined defect Aug 4, 2016

This report describes a robustness issue with the processing of ASS subtitles.

ffmpeg version N-81256-gd3426fb (full text in commands below)

Summary

Some MKV files (but not all) containing ASS subtitles contain a nul character at the end of the ASS header (this is text). I do not know if this character is valid or not.

When the subtitle track is extracted using ffmpeg, the nul character can be seen in the middle of the ASS text file, at the end of the "[V4+ Styles]" section, before the "[Events]" section. Then, when this file is used to burn the subtitles using the "ass" video filter, no subtitle is seen in the video. If we manually modify the ASS text file to remove the nul character and retry the "ass" video filter, then the subtitles are correctly inserted in the video.

Even if the nul character is invalid (to be confirmed), failing because of it is a pity. Other tools handle that situation without problem:

  1. VLC correctly displays the subtitle track when playing the MKV file.
  2. When mkvextract is used to extract the subtitle track, the created ASS text file does not have the nul character.

So, for the sake of robustness, whether the nul character in the input file is valid or not, I suggest the following two enhancements. They are redundant in the specific example of this report, but they are in fact two independent robustness improvements for distinct use cases.

  1. When extracting the ASS header in a text file, remove the nul character, just like mkvextract.
  2. In the "ass" video filter, ignore nul characters from the text file containing the subtitles.

Demonstration

I have a small MKV file named im.mkv, 10 MB, 30 seconds of playback, demonstrating the problem. This file is extracted from a larger MKV file. Several other MKV from multiple origins have the same nul character in the ASS header.

Extracting the subtitles using mkvextract into a text file named im-mkvextract.ass:

$ mkvextract tracks im.mkv 2:im-mkvextract.ass
Extracting track 2 with the CodecID 'S_TEXT/ASS' to the file 'im-mkvextract.ass'. Container format: SSA/ASS text subtitles
Progress: 100%
$

Extracting the subtitles using ffmpeg into a text file named im-ffmpeg.ass:

$ ffmpeg -i im.mkv -vn -an -codec:s ass -f ass -y im-ffmpeg.ass
ffmpeg version N-81256-gd3426fb 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.100 / 57. 51.100
  libavformat    57. 44.100 / 57. 44.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 49.100 /  6. 49.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, matroska,webm, from 'im.mkv':
  Metadata:
    ENCODER         : Lavf57.25.100
  Duration: 00:00:30.60, start: 0.000000, bitrate: 2618 kb/s
    Chapter #0:0: start 0.000000, end 30.000000
    Metadata:
      title           : 00:00:00.000
    Stream #0:0(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Metadata:
      title           : Surround
      DURATION        : 00:00:30.016000000
    Stream #0:1: Video: h264 (High), yuv420p(tv, bt709), 1920x800 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 180k tbc (default)
    Metadata:
      DURATION        : 00:00:30.182000000
    Stream #0:2(fre): Subtitle: ass
    Metadata:
      DURATION        : 00:00:30.601000000
[ass @ 0000000002865500] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, ass, to 'im-ffmpeg.ass':
  Metadata:
    encoder         : Lavf57.44.100
    Chapter #0:0: start 0.000000, end 30.000000
    Metadata:
      title           : 00:00:00.000
    Stream #0:0(fre): Subtitle: ass
    Metadata:
      DURATION        : 00:00:30.601000000
      encoder         : Lavc57.51.100 ass
Stream mapping:
  Stream #0:2 -> #0:0 (ass (ssa) -> ass (native))
Press [q] to stop, [?] for help
size=       1kB time=00:00:28.68 bitrate=   0.4kbits/s speed=50.9x
video:0kB audio:0kB subtitle:1kB other streams:0kB global headers:0kB muxing overhead: 167.719299%
$

The file im-ffmpeg.ass contains a nul character as illustrated below. The file im-mkvextract.ass does not have this nul character.

[Script Info]
ScriptType: v4.00+
Collisions: Normal
PlayResX: 1920
PlayResY: 800
Timer: 100.0
WrapStyle: 0

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Arial,52,&H00FFFFFF,&H00FFFFFF,&H000F0F0F,&H000F0F0F,0,0,0,0,100,100,0,0.00,1,2,3,2,20,20,20,0
^@ <==== nul character here
[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
.....

Now, we try to burn the two subtitle files im-ffmpeg.ass and im-mkvextract.ass in the video, separately.

In the file im1.mpg, generated using im-ffmpeg.ass, there is no subtitle in the video. In the file im2.mpg, generated using im-mkvextract.ass, the subtitles are correctly inserted in the video.

$ ffmpeg -i im.mkv -codec:a ac3 -codec:v mpeg2video -vf ass=filename=im-ffmpeg.ass -f dvd -y im1.mpg
ffmpeg version N-81256-gd3426fb 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.100 / 57. 51.100
  libavformat    57. 44.100 / 57. 44.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 49.100 /  6. 49.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, matroska,webm, from 'im.mkv':
  Metadata:
    ENCODER         : Lavf57.25.100
  Duration: 00:00:30.60, start: 0.000000, bitrate: 2618 kb/s
    Chapter #0:0: start 0.000000, end 30.000000
    Metadata:
      title           : 00:00:00.000
    Stream #0:0(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Metadata:
      title           : Surround
      DURATION        : 00:00:30.016000000
    Stream #0:1: Video: h264 (High), yuv420p(tv, bt709), 1920x800 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 180k tbc (default)
    Metadata:
      DURATION        : 00:00:30.182000000
    Stream #0:2(fre): Subtitle: ass
    Metadata:
      DURATION        : 00:00:30.601000000
[Parsed_ass_0 @ 000000000073ff20] Shaper: FriBidi 0.19.6 (SIMPLE)
[Parsed_ass_0 @ 000000000073ff20] Using font provider directwrite
[Parsed_ass_0 @ 000000000073ff20] Added subtitle file: 'im-ffmpeg.ass' (2 styles, 0 events)
[dvd @ 00000000027f8500] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
[dvd @ 00000000027f8500] VBV buffer size not set, using default size of 130KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
Output #0, dvd, to 'im1.mpg':
  Metadata:
    encoder         : Lavf57.44.100
    Chapter #0:0: start 0.000000, end 30.000000
    Metadata:
      title           : 00:00:00.000
    Stream #0:0: Video: mpeg2video (Main), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], q=2-31, 200 kb/s, 23.98 fps, 90k tbn, 23.98 tbc (default)
    Metadata:
      DURATION        : 00:00:30.182000000
      encoder         : Lavc57.51.100 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      title           : Surround
      DURATION        : 00:00:30.016000000
      encoder         : Lavc57.51.100 ac3
Stream mapping:
  Stream #0:1 -> #0:0 (h264 (native) -> mpeg2video (native))
  Stream #0:0 -> #0:1 (ac3 (native) -> ac3 (native))
Press [q] to stop, [?] for help
frame=  724 fps=126 q=24.8 Lsize=    6742kB time=00:00:30.11 bitrate=1834.1kbits/s dup=22 drop=0 speed=5.23x
video:4832kB audio:1642kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 4.153100%
$
$
$ ffmpeg -i im.mkv -codec:a ac3 -codec:v mpeg2video -vf ass=filename=im-mkvextract.ass -f dvd -y im2.mpg
ffmpeg version N-81256-gd3426fb 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.100 / 57. 51.100
  libavformat    57. 44.100 / 57. 44.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 49.100 /  6. 49.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, matroska,webm, from 'im.mkv':
  Metadata:
    ENCODER         : Lavf57.25.100
  Duration: 00:00:30.60, start: 0.000000, bitrate: 2618 kb/s
    Chapter #0:0: start 0.000000, end 30.000000
    Metadata:
      title           : 00:00:00.000
    Stream #0:0(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Metadata:
      title           : Surround
      DURATION        : 00:00:30.016000000
    Stream #0:1: Video: h264 (High), yuv420p(tv, bt709), 1920x800 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 180k tbc (default)
    Metadata:
      DURATION        : 00:00:30.182000000
    Stream #0:2(fre): Subtitle: ass
    Metadata:
      DURATION        : 00:00:30.601000000
[Parsed_ass_0 @ 00000000027a96c0] Shaper: FriBidi 0.19.6 (SIMPLE)
[Parsed_ass_0 @ 00000000027a96c0] Using font provider directwrite
[Parsed_ass_0 @ 00000000027a96c0] Added subtitle file: 'im-mkvextract.ass' (2 styles, 12 events)
[dvd @ 00000000029700a0] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
    Last message repeated 1 times
[dvd @ 00000000029700a0] VBV buffer size not set, using default size of 130KB
If you want the mpeg file to be compliant to some specification
Like DVD, VCD or others, make sure you set the correct buffer size
Output #0, dvd, to 'im2.mpg':
  Metadata:
    encoder         : Lavf57.44.100
    Chapter #0:0: start 0.000000, end 30.000000
    Metadata:
      title           : 00:00:00.000
    Stream #0:0: Video: mpeg2video (Main), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], q=2-31, 200 kb/s, 23.98 fps, 90k tbn, 23.98 tbc (default)
    Metadata:
      DURATION        : 00:00:30.182000000
      encoder         : Lavc57.51.100 mpeg2video
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      title           : Surround
      DURATION        : 00:00:30.016000000
      encoder         : Lavc57.51.100 ac3
Stream mapping:
  Stream #0:1 -> #0:0 (h264 (native) -> mpeg2video (native))
  Stream #0:0 -> #0:1 (ac3 (native) -> ac3 (native))
Press [q] to stop, [?] for help
[Parsed_ass_0 @ 00000000027a96c0] fontselect: (Arial, 400, 0) -> ArialMT, 0, ArialMTp=20 drop=0 speed=5.77x
frame=  724 fps=110 q=24.8 Lsize=    6914kB time=00:00:30.11 bitrate=1880.9kbits/s dup=22 drop=0 speed= 4.6x
video:5003kB audio:1642kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 4.057209%
$

#5762 HTTP: IDN doesn't work avformat enhancement Aug 9, 2016

ffmpeg-3.1.1 ‰ mpv http://буранчик.рф/juick/vn.ogg Playing: http://буранчик.рф/juick/vn.ogg [ffmpeg] tcp: Failed to resolve hostname %D0%B1%D1%83%D1%80%D0%B0%D0%BD%D1%87%D0%B8%D0%BA.%D1%80%D1%84: Name or service not known Failed to open http://буранчик.рф/juick/vn.ogg.

It should have converted "буранчик.рф" to "xn--80abwinqu9a.xn--p1ai".


#5771 avi with defect header won't work avformat defect Aug 10, 2016

Summary of the bug: I can't ffmpeg get to cooperate with any videos created with the catcam http://www.mr-lee-catcam.de/ Videos work in vlc, windows media player, mplayer and mencoder can convert them. But ffmpeg won't do anything.

How to reproduce:

$ ffmpeg -c:v avrn -loglevel trace -an -r:v 30 -i PICT0001.AVI -vf scale=640:480 -an katze.mpg ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 6.1.1 (GCC) 20160707 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

Splitting the commandline. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'avrn'. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'trace'. Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'. Reading option '-r:v' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '30'. Reading option '-i' ... matched as input file with argument 'PICT0001.AVI'. Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=640:480'. Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'. Reading option 'katze.mpg' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Applying option loglevel (set logging level) with argument trace. Successfully parsed a group of options. Parsing a group of options: input file PICT0001.AVI. Applying option c:v (codec name) with argument avrn. Applying option an (disable audio) with argument 1. Applying option r:v (set frame rate (Hz value, fraction or abbreviation)) with argument 30. Successfully parsed a group of options. Opening an input file: PICT0001.AVI. [file @ 0x55e8ab72c060] Setting default whitelist 'file,crypto' Probing avi score:100 size:2048 [avi @ 0x55e8ab72b820] Format avi probed with size=2048 and score=100 [avi @ 0x55e8ab72bf80] use odml:1 pos:14 tag: tag=LIST size=0x154 pos:18 list: tag=hdrl size=0x0 pos:20 tag: tag=avih size=0x38 pos:60 tag: tag=LIST size=0xa4 pos:64 list: tag=strl size=0x0 pos:6C tag: tag=strh size=0x38 pos:74 strh: tag=vids size=0xffffffff [avi @ 0x55e8ab72b820] 1000000 33333 0 pos:AC tag: tag=strf size=0x28 pos:D4 video: tag=MJPG size=0x0 pos:DC tag: tag=strd size=0x28 pos:10C tag: tag=LIST size=0x5c pos:110 list: tag=strl size=0x0 pos:118 tag: tag=strh size=0x38 pos:120 strh: tag=auds size=0xffffffff [avi @ 0x55e8ab72b820] scale/rate is 1/0 which is invalid. (This file has been generated by broken software.) [avi @ 0x55e8ab72b820] 1000000 33333 1 pos:158 tag: tag=strf size=0x10 [avi @ 0x55e8ab72b820] Invalid sample rate: 0 [AVIOContext @ 0x55e8ab7343a0] Statistics: 32768 bytes read, 0 seeks PICT0001.AVI: Invalid data found when processing input


#5776 Add SOCKS proxy support avformat enhancement Aug 12, 2016

FFmpeg has HTTP proxy support via environment variable http_proxy or CLI option -http_proxy, whilist SOCKS proxy support seems missing. (grep -ir socks in ffmpeg.git repo and nothing is found) Is it possible to add it?

Downstream request: https://github.com/rg3/youtube-dl/issues/10304


#5777 No support for coloured emoji with drawtext filter avfilter defect Aug 12, 2016

Summary of the bug: Using the drawtext filter and a capable emoji font, the colour is changed by whatever the fontcolor parameter is. The emoji should stay it's original colour (in this case, red), rather than being changed.

How to reproduce:

% ffmpeg -t 100 -s 640x480 -f rawvideo -pix_fmt rgb24 -r 25 -i /dev/zero -vf drawtext="emojione.ttf: text='Nice 💯 !': fontcolor=white: fontsize=24: x=(w-text_w)/2: y=(h-text_h-line_h)/2" -codec:a copy output.mp4 -y
ffmpeg version N-81321-g17eb004 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.3.0 (clang-703.0.31)
  configuration: --samples=fate --enable-libopenmpt --enable-libdc1394 --enable-libfreetype --enable-fontconfig
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 51.100 / 57. 51.100
  libavformat    57. 46.100 / 57. 46.100
  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
Input #0, rawvideo, from '/dev/zero':
  Duration: N/A, start: 0.000000, bitrate: 184320 kb/s
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 640x480, 184320 kb/s, 25 tbr, 25 tbn, 25 tbc
[mp4 @ 0x7f9495800600] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, mp4, to 'output.mp4':
  Metadata:
    encoder         : Lavf57.46.100
    Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 640x480, q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.51.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
frame= 2500 fps=545 q=2.0 Lsize=    1209kB time=00:01:39.96 bitrate=  99.1kbits/s speed=21.8x
video:1197kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.954954%

#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.


#5804 pan audio filter parser fails to correctly parse LFE2 channel identifier avfilter defect Aug 27, 2016

The pan filter only expects alphabetical characters for channel identifiers so parsing LFE2 fails.

https://github.com/FFmpeg/FFmpeg/blob/eae2d89bf715bc3edff478174b43e1f388e768bf/libavfilter/af_pan.c#L73

ffmpeg -i test1.mp4 -filter:a 'pan=stereo|FL<FL<LFE2+FL|FR<LFE2+FR' ~/tmp/test.mkv ffmpeg version 3.1.3 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 6.2.0 (GCC) configuration: --disable-static --prefix=/nix/store/lg96h2rflg1yagkhyaw52031dkh3akl2-ffmpeg-3.1.3 --enable-gpl --enable-version3 --disable-nonfree --disable-thumb --enable-shared --disable-static --enable-pic --disable-small --enable-runtime-cpudetect --enable-gray --enable-swscale-alpha --disable-incompatible-libav-abi --enable-hardcoded-tables --enable-safe-bitstream-reader --disable-memalign-hack --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --enable-ffmpeg --enable-ffplay --enable-ffprobe --enable-ffserver --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avresample --enable-avutil --enable-postproc --enable-swresample --enable-swscale --enable-doc --disable-htmlpages --enable-manpages --disable-podpages --disable-txtpages --disable-audiotoolbox --disable-cuda --disable-cuvid --disable-d3d11va --disable-dxva2 --disable-libmfx --disable-libnpp --disable-mmal --disable-nvenc --enable-vaapi --disable-vda --enable-vdpau --disable-videotoolbox --enable-xvmc --disable-avisynth --enable-bzlib --disable-chromaprint --disable-crystalhd --disable-frei0r --enable-gcrypt --disable-gmp --enable-gnutls --enable-iconv --disable-jni --disable-ladspa --enable-libass --enable-libbluray --disable-libbs2b --disable-libcaca --disable-libcelt --disable-libcdio --disable-libdc1394 --disable-libebur128 --disable-libfaac --disable-libfdk-aac --enable-libfontconfig --disable-libflite --enable-libfreetype --disable-libfribidi --disable-libgme --disable-libgsm --disable-libiec61883 --disable-libilbc --disable-libkvazaar --disable-libmodplug --enable-libmp3lame --disable-libnut --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libopencv --disable-libopenh264 --disable-libopenjpeg --enable-libopus --enable-libpulse --disable-librubberband --disable-librtmp --disable-libschroedinger --disable-libshine --disable-libsmbclient --disable-libsnappy --enable-libsoxr --enable-libspeex --disable-libssh --disable-libtesseract --enable-libtheora --disable-libtwolame --enable-libv4l2 --disable-libvidstab --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --disable-libwavpack --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxcb-shape --disable-libxvid --disable-libzimg --disable-libzmq --disable-libzvbi --enable-lzma --disable-decklink --disable-mediacodec --disable-netcdf --disable-openal --disable-opencl --enable-opengl --disable-openssl --disable-schannel --enable-sdl --disable-securetransport --disable-x11grab --enable-zlib --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping 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

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test1.mp4':

Metadata:

major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf56.40.101

Duration: 00:01:00.10, start: 0.000000, bitrate: 5916 kb/s

Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 5907 kb/s, 23.98 fps, 23.98 tbr, 16k tbn, 180k tbc (default) Metadata:

handler_name : VideoHandler?

Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 2 kb/s (default) Metadata:

handler_name : SoundHandler?

[Parsed_pan_0 @ 0x190f820] Syntax error near "2+FL" [AVFilterGraph @ 0x190e660] Error initializing filter 'pan' with args 'stereo|FL<LFE2+FL|FR<LFE2+FR' Error opening filters!


#5828 Duration mismatch on opus to pcm conversion undetermined defect Sep 6, 2016

Summary of the bug:

There is a random non negligible duration mismatch when converting from opus to PCM

How to reproduce:

% ffmpeg -i test.opus out.wav
ffmpeg version N-81528-g39f7564-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.1 (Debian 5.4.1-1) 20160803
libopus version 1.1.3

% ffprobe test.opus 
Input #0, ogg, from 'test.opus':
  Duration: 00:00:22.81, start: 1.346000, bitrate: 27 kb/s
    Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp, delay 48, padding 0
    Metadata:
      LANGUAGE        : eng
      ENCODER         : Lavf57.48.101

% ffprobe output.wav 
Input #0, wav, from 'output.wav':
  Metadata:
    encoder         : Lavf57.48.101
  Duration: 00:00:21.48, bitrate: 768 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, s16, 768 kb/s


#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

#5846 Support writing BOM in SRT muxer avformat enhancement Sep 14, 2016

Summary of the bug:

I can add srt subs (UTF-8) to a MP4 file (ttxt subs) with:

-c:s mov_text

but when I extract them from the same MP4 file with:

ffmpeg 	-i input.mp4 -c:s text	 output.srt

apart from they have no break lines (opened in Notepad) it seems Ok in Notepad++, but it says it's UTF-8 but whithout BOM, and if I try to convert them to IDX/SUB with Txt2VobSub, all special characters (like accents) are wrong.

Here http://www.trustfm.net/software/video/Txt2Vobsub.php?page=Features it says Txt2Vobsub does not support UTF8 without BOM (it does, but wrong), so I need no add that BOM manually with Nopetad++, and then accents are back!

According to this http://forum.doom9.org/showthread.php?t=152419 -bom option existed before??

I haven't tried yet, but if I extract subtitles from a MKV file, it also would be whitout BOM?

How to reproduce:

% ffmpeg -i input ... output
ffmpeg version
built on ...

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


#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

#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.


#5860 "PES packet size mismatch", "Could not find codec parameters for stream 0" for TS stream that mplayer can play avformat defect Sep 23, 2016

I am trying to convert a ts stream produced by my TV tuner into an MP4 file:

ffmpeg -i sample-video.ts sample-video.mp4

It is reporting "PES packet size mismatch" and "Could not find codec parameters for stream 0 (Unknown: none): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options".

The video plays fine with mplayer and encodes fine with mencoder.

Other videos recorded from the tuner do not have this problem.

This discussion -- http://ffmpeg.gusari.org/viewtopic.php?f=11&t=853 -- suggests that it is appropriate for me to report this problem to you because you may be able to debug it and improve ffmpeg to make it go away in the future.


#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.


#5881 Allow writing subtitle only hls streams avformat enhancement Oct 8, 2016

Hi,

I'm unable to mux dvb_teletext as webvtt hls (.m3u8). I always obtain the following error

(incorrect codec parameters ?): Invalid argument

It looks and issue of the hls mux as .webvtt output works well

How to reproduce: To reproduce you DVB MPTS or SPTS stresm that include dvb_teletext pid and your ffmpeg must be build libvzbi

--Doesn't works---

command line

/usr/local/bin/ffmpeg -v 9 -loglevel 99 -txt_format text -txt_page 801 -txt_duration 4000 -i "udp://@239.180.15.15:2000?localaddr=192.168.0.201&fifo_size=1000000&overrun_nonfatal=1"       -map 0:p:2000:3 -c:s:0 webvtt -f hls -hls_time 10 -hls_list_size 180 -hls_flags delete_segments -hls_segment_filename /mnt/sub0_%05d.vtt /mnt/sub0.m3u8

output

ffmpeg version N-81896-ga6bce3c Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
  configuration: --prefix=/home/scramatte/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/scramatte/ffmpeg_build/include --extra-ldflags=-L/home/scramatte/ffmpeg_build/lib --bindir=/home/scramatte/bin --enable-gpl --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libmfx --enable-libzvbi --enable-nonfree
  libavutil      55. 32.100 / 55. 32.100
  libavcodec     57. 60.101 / 57. 60.101
  libavformat    57. 51.102 / 57. 51.102
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 63.100 /  6. 63.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  2.100 /  2.  2.100
  libpostproc    54.  0.100 / 54.  0.100
Successfully opened the file.
Parsing a group of options: output file /mnt/sub0.m3u8.
Applying option map (set input stream mapping) with argument 0:p:29815:3.
Applying option c:s:0 (codec name) with argument webvtt.
Applying option f (force format) with argument hls.
Successfully parsed a group of options.
Opening an output file: /mnt/sub0.m3u8.
Successfully opened the file.
[libzvbi_teletextdec @ 0x2f35da0] page filter: 801
[file @ 0x2f3d1a0] Setting default whitelist 'file,crypto'
[file @ 0x2f30e60] Setting default whitelist 'file,crypto'
[mpegts @ 0x334a940] No streams to mux were specified
Output #0, hls, to '/mnt/sub0.m3u8':
  Metadata:
    encoder         : Lavf57.51.102
    Stream #0:0(spa,eng), 0, 1/1000: Subtitle: webvtt, 492x250
    Metadata:
      encoder         : Lavc57.60.101 webvtt
Stream mapping:
  Stream #0:26 -> #0:0 (dvb_teletext (libzvbi_teletextdec) -> webvtt (native))
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
[AVIOContext @ 0x2eef020] Statistics: 16653040 bytes read, 0 seeks

-- Works -- command line

/usr/local/bin/ffmpeg -txt_format text -txt_page 801 -txt_duration 4000 -i "udp://@239.180.15.15:2000?localaddr=192.168.0.201&fifo_size=1000000&overrun_nonfatal=1"       -map 0:p:29815:3 -c:s:0 webvtt -f webvtt sub.webvtt

output

File 'sub.webvtt' already exists. Overwrite ? [y/N] y
Output #0, webvtt, to 'sub.webvtt':
  Metadata:
    encoder         : Lavf57.51.102
    Stream #0:0(spa,eng): Subtitle: webvtt
    Metadata:
      encoder         : Lavc57.60.101 webvtt
Stream mapping:
  Stream #0:21 -> #0:0 (dvb_teletext (libzvbi_teletextdec) -> webvtt (native))
Press [q] to stop, [?] for help
size=       0kB time=00:00:02.96 bitrate=   0.3kbits/s speed=1.17x    
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 109.259262%

#5914 FFmpeg not able to read a specific HLS stream avformat defect Oct 27, 2016

Summary of the bug: Even I've succesfully played the stream in VLC, ffmpeg is not able to read it How to reproduce:

% ffmpeg -i http://sonlife-i.akamaihd.net/hls/live/250092/internationalvtt/internationalvtt1/internationalvtt1.m3u8
ffmpeg version N-82143-gbf14393 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
  configuration: --prefix=/ffmpeg --enable-static --disable-shared --enable-gpl --enable-libx264
  libavutil      55. 35.100 / 55. 35.100
  libavcodec     57. 65.100 / 57. 65.100
  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
[hls,applehttp @ 0x3d3f240] No longer receiving playlist 0
http://sonlife-i.akamaihd.net/hls/live/250092/internationalvtt/internationalvtt1/internationalvtt1.m3u8: could not find codec parameters

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


#5921 Can not read mjpeg from IP camera avformat defect Oct 31, 2016

Summary of the bug: I downloaded a FFmpeg demo from the internet. Tried to change the video source to IP camera, but it shows bugs as follows. BTW I use OC in Xcode How to reproduce:

self.video =[[XYQMovieObject alloc] initWithVideo:@"http://192.168.10.123:7060"];

The bug shows that

Input #0, mpjpeg, from 'http://192.168.10.123:7060':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 640x480, 25 tbr, 25 tbn, 25 tbc
[mpjpeg @ 0x7feadc818000] Expected boundary '--' not found, instead found a line of 8 bytes
[mpjpeg @ 0x7feadc818000] Expected boundary '--' not found, instead found a line of 2 bytes

I don't know what to do to fix it. It works when I use other internet source of video like

self.video = [[XYQMovieObject alloc] initWithVideo:@"http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8"]; 

Can any one tell me what to do to debug that? I would really appreciate that. Thanks guys.


#5933 Some unused output options do not trigger a warning undetermined defect Nov 9, 2016

rtsp_transport tcp is ignored when this parameter is not right after ffmpeg command How to reproduce:

ffmpeg is ignoried in below case:

ffmpeg -i rtsp://192.168.1.201:554/11 -c:v copy -rtsp_transport tcp -an out.mkv 

below case is working fine, as expected:

ffmpeg -rtsp_transport tcp -i rtsp://192.168.1.201:554/11 -c:v copy -an out.mkv


ffmpeg version: tested on 3.1.x and 3.2.x (latest from Nov 08 2016)
built on Linux (Ubuntu)

It will be good to have this information at least in the documentation. It is possible to find this information on some forums like stackoverflow.com but I didn't find any information about this on ffmpeg.org.


#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

#5945 Lavfi & filter_complex ignore fps filter documentation defect Nov 13, 2016

Summary: When using the fps filter with -lavfi or -filter_complex it will be ignored and use the default 25 FPS for the output video. How to reproduce: Specify fps for a video stream.

ffmpeg -loop 1 -i ~/Desktop/FP2.tiff -i ~/Desktop/fp.mov -lavfi \
"[1:v]fps=60[video]; \
 [0:v][video]overlay=50:200:shortest=1[final]" \
-map "[final]" -map 1:a -c:v ffv1 -level 3 -c:a copy ~/Desktop/filtergraph.nut

#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.


#6001 ffprobe: incorrect determination of the number of reference frames undetermined defect Dec 7, 2016

Hi!

ffprobe incorrect determinates of the number of reference frames. ffprobe for all video returns refs=1, which does not coincide with the values returned by MediaInfo?. The attached txt file contains information returned by ffprobe and MediaInfo?.


#6007 mov read failure for http chunked byte range request avformat defect Dec 9, 2016

Summary of the bug: A quicktime file is being served using chunked transfer and byte range requests enabled. FFmpeg opens the file in libavformat, mov.c mov_read_default and it fails to complete because the (seekable) file returns an error (ENOSYS) for avio_size. avio_size is returning an error because the code in libavformat/http.c is ignoring the resource length provided by the Content-Range response header. I have a suggested fix which I'll post to the devel list.

How to reproduce: Compile the attached simple web server (mongoose) that allows the issue to be reproduced. The server will serve files from the current directory; the 'test.mp4' file will be served using chunked transfer and byte range requests. The Transfer-Encoding header is placed after Content-Range to ensure libavformat/http.c, http_read_header doesn't set filesize. This header ordering was used by a proxy which exposed the issue in the real system.

Create the test file as follows: ffmpeg -f lavfi -i testsrc -t 5 -pix_fmt yuv420p test.mp4

Run the web server and then run the ffmpeg command below. It should show a 416 error code and after ctrl-c you get the rest of the console output shown below.

ffmpeg -v 9 -loglevel 99 -i http://localhost:8000/test.mp4
ffmpeg version N-82785-g6b95da9 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration: --enable-gpl --enable-shared --disable-ffserver --disable-doc --enable-libx264 --enable-nonfree --enable-avresample
  libavutil      55. 41.101 / 55. 41.101
  libavcodec     57. 66.109 / 57. 66.109
  libavformat    57. 58.101 / 57. 58.101
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 68.100 /  6. 68.100
  libavresample   3.  2.  0 /  3.  2.  0
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.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 'http://localhost:8000/test.mp4'.
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 http://localhost:8000/test.mp4.
Successfully parsed a group of options.
Opening an input file: http://localhost:8000/test.mp4.
[http @ 0x1789a60] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[tcp @ 0x178b720] Connection to tcp://localhost:8000 failed (Connection refused), trying next address
[http @ 0x1789a60] request: GET /test.mp4 HTTP/1.1
User-Agent: Lavf/57.58.101
Accept: */*
Range: bytes=0-
Connection: close
Host: localhost:8000
Icy-MetaData: 1


[http @ 0x1789a60] header='HTTP/1.1 200 OK'
[http @ 0x1789a60] http_code=200
[http @ 0x1789a60] header='Content-Type: video/mp4'
[http @ 0x1789a60] header='Accept-Ranges: bytes'
[http @ 0x1789a60] header='Content-Range: bytes 0-26328/26329'
[http @ 0x1789a60] header='Transfer-Encoding: chunked'
[http @ 0x1789a60] header=''
[http @ 0x1789a60] Chunked encoding data size: 1000'
    Last message repeated 2 times
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048
Probing mp3 score:1 size:2048
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 70797466 'ftyp' parent:'root' sz: 32 8 9223372036854775807
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 65657266 'free' parent:'root' sz: 8 40 9223372036854775807
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 7461646d 'mdat' parent:'root' sz: 24058 48 9223372036854775807
[tcp @ 0x178c2e0] Connection to tcp://localhost:8000 failed (Connection refused), trying next address
[http @ 0x1789a60] request: GET /test.mp4 HTTP/1.1
User-Agent: Lavf/57.58.101
Accept: */*
Range: bytes=24098-
Connection: close
Host: localhost:8000
Icy-MetaData: 1


[http @ 0x1789a60] header='HTTP/1.1 200 OK'
[http @ 0x1789a60] http_code=200
[http @ 0x1789a60] header='Content-Type: video/mp4'
[http @ 0x1789a60] header='Accept-Ranges: bytes'
[http @ 0x1789a60] header='Content-Range: bytes 24098-26328/26329'
[http @ 0x1789a60] header='Transfer-Encoding: chunked'
[http @ 0x1789a60] header=''
[http @ 0x1789a60] Chunked encoding data size: 1000'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 766f6f6d 'moov' parent:'root' sz: 2231 24106 9223372036854775807
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6468766d 'mvhd' parent:'moov' sz: 108 8 2223
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] time scale = 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6b617274 'trak' parent:'moov' sz: 2017 116 2223
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 64686b74 'tkhd' parent:'trak' sz: 92 8 2009
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 73746465 'edts' parent:'trak' sz: 36 100 2009
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 74736c65 'elst' parent:'edts' sz: 28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] track[0].edit_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] duration=5000 time=1024 rate=1.000000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6169646d 'mdia' parent:'trak' sz: 1881 136 2009
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6468646d 'mdhd' parent:'mdia' sz: 32 8 1873
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 726c6468 'hdlr' parent:'mdia' sz: 45 40 1873
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] ctype=  (0x00000000)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] stype= vide
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 666e696d 'minf' parent:'mdia' sz: 1796 85 1873
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 64686d76 'vmhd' parent:'minf' sz: 20 8 1788
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 666e6964 'dinf' parent:'minf' sz: 36 28 1788
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 66657264 'dref' parent:'dinf' sz: 28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type url  size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] Unknown dref type 0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6c627473 'stbl' parent:'minf' sz: 1732 64 1788
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 64737473 'stsd' parent:'stbl' sz: 168 8 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] size=152 4CC= avc1/0x31637661 codec_type=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 43637661 'avcC' parent:'stsd' sz: 50 8 66
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 70736170 'pasp' parent:'stsd' sz: 16 58 66
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 73747473 'stts' parent:'stbl' sz: 24 176 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] track[0].stts.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] sample_count=125, sample_duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 73737473 'stss' parent:'stbl' sz: 20 200 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] keyframe_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 73747463 'ctts' parent:'stbl' sz: 944 220 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] track[0].ctts.entries = 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=5, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[http @ 0x1789a60] Chunked encoding data size: 1000'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1536
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=6, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2560
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=512
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=2048
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] dts shift 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 63737473 'stsc' parent:'stbl' sz: 28 1164 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] track[0].stsc.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 7a737473 'stsz' parent:'stbl' sz: 520 1192 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] sample_size = 0 sample_count = 125
[http @ 0x1789a60] Chunked encoding data size: 231'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6f637473 'stco' parent:'stbl' sz: 20 1712 1724
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 0, offset 30, dts 0, size 3956, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 1, offset fa4, dts 512, size 519, distance 1, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 2, offset 11ab, dts 1024, size 75, distance 2, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 3, offset 11f6, dts 1536, size 32, distance 3, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 4, offset 1216, dts 2048, size 32, distance 4, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 5, offset 1236, dts 2560, size 434, distance 5, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 6, offset 13e8, dts 3072, size 70, distance 6, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 7, offset 142e, dts 3584, size 39, distance 7, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 8, offset 1455, dts 4096, size 39, distance 8, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 9, offset 147c, dts 4608, size 494, distance 9, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 10, offset 166a, dts 5120, size 56, distance 10, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 11, offset 16a2, dts 5632, size 30, distance 11, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 12, offset 16c0, dts 6144, size 42, distance 12, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 13, offset 16ea, dts 6656, size 449, distance 13, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 14, offset 18ab, dts 7168, size 67, distance 14, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 15, offset 18ee, dts 7680, size 39, distance 15, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 16, offset 1915, dts 8192, size 30, distance 16, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 17, offset 1933, dts 8704, size 413, distance 17, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 18, offset 1ad0, dts 9216, size 70, distance 18, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 19, offset 1b16, dts 9728, size 38, distance 19, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 20, offset 1b3c, dts 10240, size 35, distance 20, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 21, offset 1b5f, dts 10752, size 218, distance 21, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 22, offset 1c39, dts 11264, size 212, distance 22, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 23, offset 1d0d, dts 11776, size 264, distance 23, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 24, offset 1e15, dts 12288, size 254, distance 24, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 25, offset 1f13, dts 12800, size 381, distance 25, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 26, offset 2090, dts 13312, size 464, distance 26, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 27, offset 2260, dts 13824, size 55, distance 27, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 28, offset 2297, dts 14336, size 41, distance 28, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 29, offset 22c0, dts 14848, size 50, distance 29, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 30, offset 22f2, dts 15360, size 445, distance 30, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 31, offset 24af, dts 15872, size 63, distance 31, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 32, offset 24ee, dts 16384, size 41, distance 32, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 33, offset 2517, dts 16896, size 36, distance 33, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 34, offset 253b, dts 17408, size 465, distance 34, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 35, offset 270c, dts 17920, size 60, distance 35, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 36, offset 2748, dts 18432, size 41, distance 36, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 37, offset 2771, dts 18944, size 41, distance 37, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 38, offset 279a, dts 19456, size 486, distance 38, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 39, offset 2980, dts 19968, size 61, distance 39, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 40, offset 29bd, dts 20480, size 27, distance 40, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 41, offset 29d8, dts 20992, size 39, distance 41, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 42, offset 29ff, dts 21504, size 522, distance 42, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 43, offset 2c09, dts 22016, size 61, distance 43, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 44, offset 2c46, dts 22528, size 34, distance 44, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 45, offset 2c68, dts 23040, size 34, distance 45, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 46, offset 2c8a, dts 23552, size 450, distance 46, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 47, offset 2e4c, dts 24064, size 60, distance 47, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 48, offset 2e88, dts 24576, size 28, distance 48, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 49, offset 2ea4, dts 25088, size 30, distance 49, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 50, offset 2ec2, dts 25600, size 525, distance 50, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 51, offset 30cf, dts 26112, size 38, distance 51, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 52, offset 30f5, dts 26624, size 470, distance 52, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 53, offset 32cb, dts 27136, size 53, distance 53, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 54, offset 3300, dts 27648, size 39, distance 54, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 55, offset 3327, dts 28160, size 33, distance 55, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 56, offset 3348, dts 28672, size 479, distance 56, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 57, offset 3527, dts 29184, size 68, distance 57, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 58, offset 356b, dts 29696, size 36, distance 58, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 59, offset 358f, dts 30208, size 34, distance 59, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 60, offset 35b1, dts 30720, size 495, distance 60, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 61, offset 37a0, dts 31232, size 65, distance 61, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 62, offset 37e1, dts 31744, size 35, distance 62, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 63, offset 3804, dts 32256, size 31, distance 63, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 64, offset 3823, dts 32768, size 513, distance 64, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 65, offset 3a24, dts 33280, size 79, distance 65, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 66, offset 3a73, dts 33792, size 43, distance 66, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 67, offset 3a9e, dts 34304, size 39, distance 67, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 68, offset 3ac5, dts 34816, size 488, distance 68, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 69, offset 3cad, dts 35328, size 73, distance 69, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 70, offset 3cf6, dts 35840, size 36, distance 70, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 71, offset 3d1a, dts 36352, size 39, distance 71, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 72, offset 3d41, dts 36864, size 537, distance 72, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 73, offset 3f5a, dts 37376, size 75, distance 73, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 74, offset 3fa5, dts 37888, size 42, distance 74, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 75, offset 3fcf, dts 38400, size 47, distance 75, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 76, offset 3ffe, dts 38912, size 432, distance 76, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 77, offset 41ae, dts 39424, size 60, distance 77, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 78, offset 41ea, dts 39936, size 42, distance 78, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 79, offset 4214, dts 40448, size 34, distance 79, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 80, offset 4236, dts 40960, size 488, distance 80, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 81, offset 441e, dts 41472, size 70, distance 81, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 82, offset 4464, dts 41984, size 38, distance 82, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 83, offset 448a, dts 42496, size 35, distance 83, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 84, offset 44ad, dts 43008, size 467, distance 84, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 85, offset 4680, dts 43520, size 89, distance 85, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 86, offset 46d9, dts 44032, size 42, distance 86, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 87, offset 4703, dts 44544, size 38, distance 87, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 88, offset 4729, dts 45056, size 468, distance 88, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 89, offset 48fd, dts 45568, size 67, distance 89, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 90, offset 4940, dts 46080, size 48, distance 90, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 91, offset 4970, dts 46592, size 37, distance 91, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 92, offset 4995, dts 47104, size 418, distance 92, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 93, offset 4b37, dts 47616, size 54, distance 93, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 94, offset 4b6d, dts 48128, size 44, distance 94, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 95, offset 4b99, dts 48640, size 36, distance 95, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 96, offset 4bbd, dts 49152, size 209, distance 96, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 97, offset 4c8e, dts 49664, size 257, distance 97, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 98, offset 4d8f, dts 50176, size 272, distance 98, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 99, offset 4e9f, dts 50688, size 244, distance 99, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 100, offset 4f93, dts 51200, size 411, distance 100, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 101, offset 512e, dts 51712, size 242, distance 101, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 102, offset 5220, dts 52224, size 461, distance 102, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 103, offset 53ed, dts 52736, size 66, distance 103, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 104, offset 542f, dts 53248, size 32, distance 104, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 105, offset 544f, dts 53760, size 23, distance 105, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 106, offset 5466, dts 54272, size 411, distance 106, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 107, offset 5601, dts 54784, size 66, distance 107, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 108, offset 5643, dts 55296, size 27, distance 108, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 109, offset 565e, dts 55808, size 35, distance 109, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 110, offset 5681, dts 56320, size 397, distance 110, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 111, offset 580e, dts 56832, size 79, distance 111, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 112, offset 585d, dts 57344, size 30, distance 112, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 113, offset 587b, dts 57856, size 33, distance 113, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 114, offset 589c, dts 58368, size 399, distance 114, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 115, offset 5a2b, dts 58880, size 88, distance 115, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 116, offset 5a83, dts 59392, size 40, distance 116, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 117, offset 5aab, dts 59904, size 47, distance 117, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 118, offset 5ada, dts 60416, size 357, distance 118, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 119, offset 5c3f, dts 60928, size 74, distance 119, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 120, offset 5c89, dts 61440, size 38, distance 120, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 121, offset 5caf, dts 61952, size 44, distance 121, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 122, offset 5cdb, dts 62464, size 243, distance 122, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 123, offset 5dce, dts 62976, size 48, distance 123, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] AVIndex stream 0, sample 124, offset 5dfe, dts 63488, size 36, distance 124, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] Offset DTS by ctts[0].duration: 1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] Processing st: 0, edit list 0 - media time: 1024, duration: 64000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 0 @ 0, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 512 @ 1, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 1024 @ 2, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 1536 @ 3, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 2048 @ 4, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 2560 @ 5, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 3072 @ 6, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 3584 @ 7, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 4096 @ 8, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 4608 @ 9, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 5120 @ 10, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 5632 @ 11, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 6144 @ 12, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 6656 @ 13, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 7168 @ 14, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 7680 @ 15, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 8192 @ 16, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 8704 @ 17, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 9216 @ 18, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 9728 @ 19, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 10240 @ 20, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 10752 @ 21, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 11264 @ 21, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 11776 @ 21, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 12288 @ 21, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 12800 @ 21, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 13312 @ 22, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 13824 @ 23, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 14336 @ 24, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 14848 @ 25, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 15360 @ 26, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 15872 @ 27, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 16384 @ 28, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 16896 @ 29, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 17408 @ 30, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 17920 @ 31, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 18432 @ 32, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 18944 @ 33, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 19456 @ 34, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 19968 @ 35, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 20480 @ 36, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 20992 @ 37, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 21504 @ 38, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 22016 @ 39, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 22528 @ 40, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 23040 @ 41, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 23552 @ 42, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 24064 @ 43, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 24576 @ 44, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 25088 @ 45, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 25600 @ 46, ctts: 1536, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 26112 @ 47, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 26624 @ 48, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 27136 @ 49, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 27648 @ 50, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 28160 @ 51, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 28672 @ 52, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 29184 @ 53, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 29696 @ 54, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 30208 @ 55, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 30720 @ 56, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 31232 @ 57, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 31744 @ 58, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 32256 @ 59, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 32768 @ 60, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 33280 @ 61, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 33792 @ 62, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 34304 @ 63, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 34816 @ 64, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 35328 @ 65, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 35840 @ 66, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 36352 @ 67, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 36864 @ 68, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 37376 @ 69, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 37888 @ 70, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 38400 @ 71, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 38912 @ 72, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 39424 @ 73, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 39936 @ 74, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 40448 @ 75, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 40960 @ 76, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 41472 @ 77, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 41984 @ 78, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 42496 @ 79, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 43008 @ 80, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 43520 @ 81, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 44032 @ 82, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 44544 @ 83, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 45056 @ 84, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 45568 @ 85, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 46080 @ 86, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 46592 @ 87, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 47104 @ 88, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 47616 @ 89, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 48128 @ 90, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 48640 @ 91, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 49152 @ 92, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 49664 @ 92, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 50176 @ 92, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 50688 @ 92, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 51200 @ 92, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 51712 @ 92, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 52224 @ 93, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 52736 @ 94, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 53248 @ 95, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 53760 @ 96, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 54272 @ 97, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 54784 @ 98, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 55296 @ 99, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 55808 @ 100, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 56320 @ 101, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 56832 @ 102, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 57344 @ 103, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 57856 @ 104, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 58368 @ 105, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 58880 @ 106, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 59392 @ 107, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 59904 @ 108, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 60416 @ 109, ctts: 2560, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 60928 @ 110, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 61440 @ 111, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 61952 @ 112, ctts: 512, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 62464 @ 113, ctts: 2048, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 62976 @ 114, ctts: 1024, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] shifted frame pts, curr_cts: 63488 @ 115, ctts: 0, ctts_count: 116
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 61746475 'udta' parent:'moov' sz: 98 2133 2223
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6174656d 'meta' parent:'udta' sz: 90 8 90
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 726c6468 'hdlr' parent:'meta' sz: 33 8 78
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] ctype=  (0x00000000)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] stype= mdir
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 74736c69 'ilst' parent:'meta' sz: 45 41 78
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 6f6f74a9 '�too' parent:'ilst' sz: 37 8 37
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] lang "   " tag "encoder" value "Lavf57.56.100" atom "�too" 27 13
[http @ 0x1789a60] Chunked encoding data size: 0'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 00000000 '' parent:'root' sz: 0 26337 9223372036854775807
[tcp @ 0x178dd60] Connection to tcp://localhost:8000 failed (Connection refused), trying next address
[http @ 0x1789a60] request: GET /test.mp4 HTTP/1.1
User-Agent: Lavf/57.58.101
Accept: */*
Range: bytes=9223372036854775799-
Connection: close
Host: localhost:8000
Icy-MetaData: 1


[http @ 0x1789a60] header='HTTP/1.1 416 Requested Range Not Satisfiable'
[http @ 0x1789a60] http_code=416
[http @ 0x1789a60] HTTP error 416 Requested Range Not Satisfiable
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] type: 00000000 '' parent:'root' sz: 218759168 -9223372036854775801 9223372036854775807
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] on_parse_exit_offset=26331
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] Before avformat_find_stream_info() pos: 26331 bytes read:5233 seeks:1 nb_streams:1
[h264 @ 0x178ce40] nal_unit_type: 7, nal_ref_idc: 3
[h264 @ 0x178ce40] nal_unit_type: 8, nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] interrupted
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] stream 0: start_time: -720575940379279.375 duration: 5.000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] format: start_time: -9223372036854.775 duration: 5.000 bitrate=0 kb/s
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] Could not find codec parameters for stream 0 (Video: h264, 1 reference frame (avc1 / 0x31637661), none(left), 320x240, 1/25600, 38 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1789280] After avformat_find_stream_info() pos: 26331 bytes read:5233 seeks:1 frames:0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://localhost:8000/test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.56.100
  Duration: 00:00:05.00, bitrate: N/A
    Stream #0:0(und), 0, 1/12800: Video: h264, 1 reference frame (avc1 / 0x31637661), none(left), 320x240, 0/1, 38 kb/s, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 12800 tbn, 25600 tbc (default)
    Metadata:
      handler_name    : VideoHandler
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0x178bb40] Statistics: 5233 bytes read, 1 seeks
Exiting normally, received signal 2.

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


#6028 Wrong duration & other artifacts in captured mpeg stream avformat defect Dec 19, 2016

Hello,

I'm using ffmpeg to post-process tv tuner captures. I have a capture that appears to be corrupt in some subtle way. If I just play the file, it plays ok. However, numerous things are broken (eg, skipping to an arbitrary point in time doesn't work, cutting with ffmpeg -ss/-t and using -acodec copy/-vcodec copy results in clips that have 0 audio channels).

The simplest way to demonstrate how broken the file is is that ffprobe reports a duration of 17:57:32.95, when the real recording is only ~2 hours long. Furthermore, if I cut out the first ~300kb from the file (a trick I came across on another forum), ffprobe correctly picks up the duration as 02:00:29.68. Maybe the capture started in the middle of some frame that confused ffmpeg.

If I truncate the original capture to a 10Mb file, it still shows the large 17 hour duration, so, if helpful, I can provide a sample file as well.

Thanks.

How to reproduce:

$ ffprobe -v 9 -loglevel 99 bad_duration_file.ts
ffprobe version 3.2-2 Copyright (c) 2007-2016 the FFmpeg developers
  built with gcc 6.2.0 (Debian 6.2.0-10) 20161027
  configuration: --prefix=/usr --extra-version=2 --toolchain=hardened --libdir=/usr/lib/i386-linux-gnu --incdir=/usr/include/i386-linux-gnu --enable-gpl --disable-libtesseract --disable-stripping --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-opengl --enable-sdl2 --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-openal --enable-frei0r --enable-libopencv --enable-libx264 --enable-chromaprint --enable-shared
  WARNING: library configuration mismatch
  avutil      configuration: --cc='ccache cc' --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-stripping --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --incdir=/usr/include/i386-linux-gnu --libdir=/usr/lib/i386-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --enable-libmfx --disable-altivec --shlibdir=/usr/lib/i386-linux-gnu
  avcodec     configuration: --cc='ccache cc' --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-stripping --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --incdir=/usr/include/i386-linux-gnu --libdir=/usr/lib/i386-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --enable-libmfx --disable-altivec --shlibdir=/usr/lib/i386-linux-gnu
  avformat    configuration: --cc='ccache cc' --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-stripping --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --incdir=/usr/include/i386-linux-gnu --libdir=/usr/lib/i386-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --enable-libmfx --disable-altivec --shlibdir=/usr/lib/i386-linux-gnu
  avfilter    configuration: --cc='ccache cc' --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-stripping --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --incdir=/usr/include/i386-linux-gnu --libdir=/usr/lib/i386-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --enable-libmfx --disable-altivec --shlibdir=/usr/lib/i386-linux-gnu
  avresample  configuration: --cc='ccache cc' --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-stripping --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --incdir=/usr/include/i386-linux-gnu --libdir=/usr/lib/i386-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --enable-libmfx --disable-altivec --shlibdir=/usr/lib/i386-linux-gnu
  swscale     configuration: --cc='ccache cc' --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-stripping --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --incdir=/usr/include/i386-linux-gnu --libdir=/usr/lib/i386-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --enable-libmfx --disable-altivec --shlibdir=/usr/lib/i386-linux-gnu
  swresample  configuration: --cc='ccache cc' --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-stripping --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --incdir=/usr/include/i386-linux-gnu --libdir=/usr/lib/i386-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --enable-libmfx --disable-altivec --shlibdir=/usr/lib/i386-linux-gnu
  postproc    configuration: --cc='ccache cc' --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv --disable-podpages --disable-stripping --enable-avfilter --enable-avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl --enable-openssl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --incdir=/usr/include/i386-linux-gnu --libdir=/usr/lib/i386-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --enable-libmfx --disable-altivec --shlibdir=/usr/lib/i386-linux-gnu
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.100 / 57. 64.100
  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
[file @ 0x8170c0e0] Setting default whitelist 'file,crypto'
Probing mp3 score:1 size:2048
Probing mpeg score:25 size:2048
Probing mpegts score:50 size:2048
[mpegts @ 0x8170ba20] Format mpegts probed with size=2048 and score=50
score: 44, dvhs_score: -2, fec_score: -2
[mpegts @ 0x8170ba20] Filter: pid=0x11 type=1
[mpegts @ 0x8170ba20] Filter: pid=0x0 type=1
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] sid=0x5 pid=0x50
[mpegts @ 0x8170ba20] new_program: id=0x0005
[mpegts @ 0x8170ba20] Filter: pid=0x50 type=1
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] sid=0x5 sec_num=0/0 version=1 tid=2
[mpegts @ 0x8170ba20] pcr_pid=0x51
[mpegts @ 0x8170ba20] Filter: pid=0x51 type=0
[mpegts @ 0x8170ba20] stream=0 stream_type=2 pid=51 prog_reg_desc=
[mpegts @ 0x8170ba20] Filter: pid=0x54 type=0
[mpegts @ 0x8170ba20] stream=1 stream_type=81 pid=54 prog_reg_desc=
[mpegts @ 0x8170ba20] tag: 0x0a len=4
[mpegts @ 0x8170ba20] tag: 0x6a len=1
[mpegts @ 0x8170ba20] tuning done
[mpegts @ 0x8170ba20] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:2
[mpegts @ 0x8170ba20] Skipping after seek
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] Continuity check failed for pid 81 expected 4 got 7
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpeg2video @ 0x8170fee0] Invalid frame dimensions 0x0.
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] sid=0x5 pid=0x50
[mpegts @ 0x8170ba20] new_program: id=0x0005
[mpegts @ 0x8170ba20] Filter: pid=0x1ffb type=0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] sid=0x5 sec_num=0/0 version=1 tid=2
[mpegts @ 0x8170ba20] pcr_pid=0x51
[mpegts @ 0x8170ba20] tag: 0x0a len=4
[mpegts @ 0x8170ba20] tag: 0x6a len=1
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpeg2video @ 0x8170fee0] Invalid frame dimensions 0x0.
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpeg2video @ 0x8170fee0] Invalid frame dimensions 0x0.
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpeg2video @ 0x8170fee0] Invalid frame dimensions 0x0.
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpeg2video @ 0x8170fee0] Invalid frame dimensions 0x0.
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpeg2video @ 0x8170fee0] Invalid frame dimensions 0x0.
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpeg2video @ 0x8170fee0] Invalid frame dimensions 0x0.
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpeg2video @ 0x8170fee0] Invalid frame dimensions 0x0.
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpeg2video @ 0x8170fee0] Invalid frame dimensions 0x0.
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpeg2video @ 0x8170fee0] Invalid frame dimensions 0x0.
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpeg2video @ 0x8170fee0] Invalid frame dimensions 0x0.
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpeg2video @ 0x8170fee0] Invalid frame dimensions 0x0.
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 3 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 3 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 5 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 2 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 3 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 5 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 2 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 2 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 2 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 2 times
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 2 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 2 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 3 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 2 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 2 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 3 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 2 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] max_analyze_duration 5000000 reached at 5024000 microseconds st:1
[mpegts @ 0x8170ba20] Skipping after seek
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] sid=0x5 sec_num=0/0 version=1 tid=2
[mpegts @ 0x8170ba20] pcr_pid=0x51
[mpegts @ 0x8170ba20] tag: 0x0a len=4
[mpegts @ 0x8170ba20] tag: 0x6a len=1
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 2 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
[mpegts @ 0x8170ba20] pid=54 pes_code=0x1bd
[mpegts @ 0x8170ba20] pid=51 pes_code=0x1e0
    Last message repeated 1 times
[mpegts @ 0x8170ba20] PAT:
[mpegts @ 0x8170ba20] PMT: len 35
[mpegts @ 0x8170ba20] PES packet size mismatch
[mpegts @ 0x8170ba20] stream 0: start_time: 90535.296 duration: 64652.951
[mpegts @ 0x8170ba20] stream 1: start_time: 147957.927 duration: 7229.632
[mpegts @ 0x8170ba20] format: start_time: 90535.296 duration: 64652.951 bitrate=329 kb/s
[mpegts @ 0x8170ba20] After avformat_find_stream_info() pos: 0 bytes read:2183312 seeks:2 frames:319
Input #0, mpegts, from 'bad_duration_file.ts':
  Duration: 17:57:32.95, start: 90535.295800, bitrate: 329 kb/s
  Program 5
    Stream #0:0[0x51], 160, 1/90000: Video: mpeg2video (Main), 1 reference frame ([2][0][0][0] / 0x0002), yuv420p(tv, smpte170m, top first, left), 720x480 [SAR 8:9 DAR 4:3], 0/1, Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x54](eng), 159, 1/90000: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s
[AVIOContext @ 0x817142e0] Statistics: 2183312 bytes read, 2 seeks


#6037 mkv muxing broken avformat defect Dec 22, 2016

Summary of the bug: Muxing two working files (AC3 stream + DVD sub stream and a freshly encoded ffv1 stream) into a mkv produces a broken file: seeking around can break (mute) audio. Reproducible with both mpv and ffplay (example: seek to around 5.5s).

It seem like http://ffmpeg.gusari.org/viewtopic.php?f=11&t=2713 is related.

On the longer sample, I also get: -Audio being muted without having to seek -"Starting new cluster due to timestamp" matroska warnings during mux -"[mkv] Too many packets in the demuxer packet queues" errors in mpv

How to reproduce:

ffmpeg -y -i 20s.mkv -i ffv1.mkv -map 0:a:1 -map 0:s -map 1:v -c copy out.mkv >ffmpeg.log 2>&1
ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.3 (Gentoo 4.9.3 p1.5, pie-0.6.4)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --docdir=/usr/share/doc/ffmpeg-3.2.2/html --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 -march=native -mprefer-avx128 -mvzeroupper -pipe' --disable-static --enable-avfilter --enable-avresample --disable-stripping --enable-nonfree --disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --disable-gnutls --disable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv --disable-lzma --enable-network --enable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-sdl2 --disable-vaapi --disable-vdpau --enable-xlib --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --disable-libpulse --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg --enable-libbluray --disable-libcelt --disable-libgme --disable-libgsm --disable-mmal --disable-libmodplug --enable-libopus --disable-libilbc --disable-librtmp --disable-libssh --disable-libschroedinger --disable-libspeex --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-libbs2b --disable-chromaprint --disable-libebur128 --disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig --disable-ladspa --enable-libass --disable-libfreetype --disable-librubberband --enable-libzimg --disable-libsoxr --enable-pthreads --disable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --disable-nvenc --disable-libopenh264 --disable-libsnappy --disable-libtheora --disable-libtwolame --disable-libwavpack --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxvid --enable-x11grab --disable-amd3dnow --disable-amd3dnowext --disable-avx2 --cpu=host --disable-doc --disable-htmlpages --enable-manpages
  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
Input #0, matroska,webm, from '20s.mkv':
  Metadata:
    title           : Gunsmith Cats
    ENCODER         : Lavf57.56.100
  Duration: 00:00:20.16, start: 0.016000, bitrate: 7009 kb/s
    Chapter #0:0: start 0.064000, end 20.000000
    Metadata:
      title           : 0 1
    Stream #0:0(eng): Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s (default)
    Metadata:
      title           : Stereo
      BPS-eng         : 224000
      DURATION-eng    : 00:29:17.152000000
      NUMBER_OF_FRAMES-eng: 54911
      NUMBER_OF_BYTES-eng: 49200256
      SOURCE_ID-eng   : 0180BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.3 linux(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-12-21 10:56:43
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:20.016000000
    Stream #0:1(jpn): Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 224000
      DURATION-eng    : 00:29:13.728000000
      NUMBER_OF_FRAMES-eng: 54804
      NUMBER_OF_BYTES-eng: 49104384
      SOURCE_ID-eng   : 0181BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.3 linux(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-12-21 10:56:43
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:20.027000000
    Stream #0:2(eng): Video: mpeg2video (Main), yuv420p(tv, top first), 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 1k tbn, 50 tbc
    Metadata:
      BPS-eng         : 6522010
      DURATION-eng    : 00:29:17.200000000
      NUMBER_OF_FRAMES-eng: 43930
      NUMBER_OF_BYTES-eng: 1432559524
      SOURCE_ID-eng   : 0100E0
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.3 linux(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-12-21 10:56:43
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:20.160000000
    Stream #0:3(eng): Subtitle: dvd_subtitle, 720x576 (default)
    Metadata:
      BPS-eng         : 5142
      DURATION-eng    : 00:28:42.315200000
      NUMBER_OF_FRAMES-eng: 371
      NUMBER_OF_BYTES-eng: 1107152
      SOURCE_ID-eng   : 0120BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.3 linux(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-12-21 10:56:43
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:00.000000000
Input #1, matroska,webm, from 'ffv1.mkv':
  Metadata:
    ENCODER         : Lavf57.56.100
  Duration: 00:00:20.00, start: 0.000000, bitrate: 57823 kb/s
    Stream #1:0: Video: ffv1 (FFV1 / 0x31564646), yuv420p(progressive), 744x568, 50 fps, 50 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      ENCODER         : Lavc57.64.101 ffv1
      DURATION        : 00:00:20.000000000
Output #0, matroska, to 'out.mkv':
  Metadata:
    title           : Gunsmith Cats
    encoder         : Lavf57.56.100
    Chapter #0:0: start 0.048000, end 19.984000
    Metadata:
      title           : 0 1
    Stream #0:0(jpn): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, 224 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 224000
      DURATION-eng    : 00:29:13.728000000
      NUMBER_OF_FRAMES-eng: 54804
      NUMBER_OF_BYTES-eng: 49104384
      SOURCE_ID-eng   : 0181BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.3 linux(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-12-21 10:56:43
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:20.027000000
    Stream #0:1(eng): Subtitle: dvd_subtitle, 720x576 (default)
    Metadata:
      BPS-eng         : 5142
      DURATION-eng    : 00:28:42.315200000
      NUMBER_OF_FRAMES-eng: 371
      NUMBER_OF_BYTES-eng: 1107152
      SOURCE_ID-eng   : 0120BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.10.3 linux(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2016-12-21 10:56:43
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      DURATION        : 00:00:00.000000000
    Stream #0:2: Video: ffv1 (FFV1 / 0x31564646), yuv420p(progressive), 744x568, q=2-31, 50 fps, 50 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      ENCODER         : Lavc57.64.101 ffv1
      DURATION        : 00:00:20.000000000
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:3 -> #0:1 (copy)
  Stream #1:0 -> #0:2 (copy)
Press [q] to stop, [?] for help
frame= 1000 fps=0.0 q=-1.0 Lsize=  141718kB time=00:00:19.98 bitrate=58102.8kbits/s speed=37.7x    
video:141160kB audio:540kB subtitle:0kB other streams:0kB global headers:1kB muxing overhead: 0.012737%

Files 20s.mkv: https://files.catbox.moe/4bdv0o.mkv ffv1.mkv: https://files.catbox.moe/zp0brx.mkv (or you can convert 20s.mkv to ffv1.mkv) out.mkv: ask if you can't reproduce


#6074 encode HDCD feature avfilter enhancement Jan 11, 2017

ffmpeg is able to decode HDCD which is great. There are also use cases where encoding HDCD would be useful, so I request to implement that feature, please. HDCD is protected by US patent 5479168 (1) and maybe others. It seems to me, that this patent has expired or will expire soon (I don't know anything of patent law). If that patent really has expired, it would be nice to see that feature in ffmpeg.

There are some scenarios, where HDCD encoding would be useful:

  • producing your own CDs with HDCD support
  • drive a DAC with HDCD support not able to process more than 16 resp. 20bits (like some Burr-Brown from the 90's) - this would enhance the music quality coming from high res sources on those devices
  • ..and maybe others like stream HDCD encoded to reduce bandwith or reduce file size without loosing quality in certain circumstances

There is still a lot of equipment out there that is HDCD enabled, like CD players, DACs etc. Also there is support in Windows media player for HDCD. Thus many people are able to use HDCD enhanced records, but there is a lack of HDCD encoded material. Having ffmpeg being able to encode HDCD HDCD-enabled equipment could be used more effectively.

I haven't found any software to do the job and the hardware equipment to encode HDCD is very expensive or not even available.

Thanks for considering.

(1) http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&p=1&u=%2Fnetahtml%2FPTO%2Fsearch-bool.html&r=1&f=G&l=50&co1=AND&d=PTXT&s1=5479168.PN.&OS=PN/5479168&RS=PN/5479168


#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,


#6108 ffmpeg will not warn when putting random unsupported codecs in mpegts avformat defect Jan 27, 2017

This is a bug report for ffmpeg version N-83243-g2080bc3 Windows static binary, v3.2.2 64-bit obtained from https://ffmpeg.zeranoe.com/builds/

I am attempting to remux files from an MP4 (also tested with MKV) container, into an M2TS container however, the process fails silently with no warning issued on the CLI.

The MP4 container typically contains an H264 stream and an AAC audio stream. The target M2TS is meant to contain an H264 stream and a PCM audio stream. Files are produced that have no audio, and upon inspection no audio streams either when analyzed with MediaInfo?, or what imported into applications such as Sony Vegas, or when played back on applications such as MPC-HC, Windows Media Player, etc.

I can provide a sample file if needed but I do believe this can be replicated with any file based on feedback from others I asked about the problem before writing this report.

The command line was as follows (working with a game capture produced by OBS)

ffmpeg -i "2017-01-09 21-52-42.mp4" -c:v copy -c:a pcm_s16le "Dirt Rally.m2ts"

A file "lacking" an audio track is always produced. I don't know if the data isn't there, or if its actually there but something got corrupted or something like that. I've also tried with pcm_s16be

I do know that changing the audio format to AC3 produced a proper file. This only seems to affect PCM audio tracks. I was also unable to create an M2TS by muxing separate files in directly


#6113 Seek to 0 jpeg image input file image causes eof of the input stream avformat defect Jan 31, 2017

When input file is an jpeg image (any valid jpeg image) and I seek the file to 0 then the demuxer gives empty stream by immediately outputting eof. or I cannot rewind jpeg input stream to the beginning by seeking to 0 or any other value since the demuxer signals eof after any seek.

Does not happen for png image files. Does not happen with 20151020-git-e91cd8a, cannot determine when exactly it was introduced.

How to reproduce

ffmpeg -ss 0 -i input.jpg output.jpg

ffmpeg version 20170130-cba4f0e

Console output

ffmpeg -v 9 -loglevel 99 -ss -1 -i d:\1.jpg d:\file.jpg

ffmpeg version N-83280-gcba4f0e Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.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-decklink --enable-zlib
  libavutil      55. 45.100 / 55. 45.100
  libavcodec     57. 75.100 / 57. 75.100
  libavformat    57. 65.100 / 57. 65.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 71.100 /  6. 71.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.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 '-ss' ... matched as option 'ss' (set the start time offset) with argument '0'.
Reading option '-i' ... matched as input url with argument 'd:\1.jpg'.
Reading option 'd:\file.jpg' ... 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 d:\1.jpg.
Applying option ss (set the start time offset) with argument 0.
Successfully parsed a group of options.
Opening an input file: d:\1.jpg.
[file @ 00000000004fae00] Setting default whitelist 'file,crypto'
Probing image2 score:50 size:2048
Probing jpeg_pipe score:25 size:2048
[image2 @ 00000000004fa400] Format image2 probed with size=2048 and score=50
[image2 @ 00000000004fa400] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 nb_streams:1
[mjpeg @ 000000000050c4c0] marker=d8 avail_size_in_buf=266292
[mjpeg @ 000000000050c4c0] marker parser used 0 bytes (0 bits)
[mjpeg @ 000000000050c4c0] marker=e0 avail_size_in_buf=266290
[mjpeg @ 000000000050c4c0] marker parser used 16 bytes (128 bits)
[mjpeg @ 000000000050c4c0] marker=e1 avail_size_in_buf=266272
[mjpeg @ 000000000050c4c0] marker parser used 77 bytes (616 bits)
[mjpeg @ 000000000050c4c0] marker=db avail_size_in_buf=266192
[mjpeg @ 000000000050c4c0] index=0
[mjpeg @ 000000000050c4c0] qscale[0]: 2
[mjpeg @ 000000000050c4c0] marker parser used 67 bytes (536 bits)
[mjpeg @ 000000000050c4c0] marker=db avail_size_in_buf=266123
[mjpeg @ 000000000050c4c0] index=1
[mjpeg @ 000000000050c4c0] qscale[1]: 5
[mjpeg @ 000000000050c4c0] marker parser used 67 bytes (536 bits)
[mjpeg @ 000000000050c4c0] marker=c0 avail_size_in_buf=266054
[mjpeg @ 000000000050c4c0] Changing bps from 0 to 8
[mjpeg @ 000000000050c4c0] sof0: picture: 1600x1200
[mjpeg @ 000000000050c4c0] component 0 2:2 id: 0 quant:0
[mjpeg @ 000000000050c4c0] component 1 1:1 id: 1 quant:1
[mjpeg @ 000000000050c4c0] component 2 1:1 id: 2 quant:1
[mjpeg @ 000000000050c4c0] pix fmt id 22111100
[mjpeg @ 000000000050c4c0] marker parser used 17 bytes (136 bits)
[mjpeg @ 000000000050c4c0] marker=c4 avail_size_in_buf=266035
[mjpeg @ 000000000050c4c0] marker parser used 0 bytes (0 bits)
[mjpeg @ 000000000050c4c0] marker=c4 avail_size_in_buf=266002
[mjpeg @ 000000000050c4c0] marker parser used 0 bytes (0 bits)
[mjpeg @ 000000000050c4c0] marker=c4 avail_size_in_buf=265819
[mjpeg @ 000000000050c4c0] marker parser used 0 bytes (0 bits)
[mjpeg @ 000000000050c4c0] marker=c4 avail_size_in_buf=265786
[mjpeg @ 000000000050c4c0] marker parser used 0 bytes (0 bits)
[mjpeg @ 000000000050c4c0] escaping removed 561 bytes
[mjpeg @ 000000000050c4c0] marker=da avail_size_in_buf=265603
[mjpeg @ 000000000050c4c0] marker parser used 265042 bytes (2120336 bits)
[mjpeg @ 000000000050c4c0] marker=d9 avail_size_in_buf=0
[mjpeg @ 000000000050c4c0] decode frame unused 0 bytes
[image2 @ 00000000004fa400] stream 0: start_time: 0.000 duration: 0.040
[image2 @ 00000000004fa400] format: start_time: 0.000 duration: 0.040 bitrate=53258 kb/s
[image2 @ 00000000004fa400] After avformat_find_stream_info() pos: 266294 bytes read:266294 seeks:0 frames:1
Input #0, image2, from 'd:\1.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: 53258 kb/s
    Stream #0:0, 1, 1/25: Video: mjpeg, 1 reference frame, yuvj420p(pc, bt470bg/unknown/unknown, center), 1600x1200 [SAR 1:1 DAR 4:3], 0/1, 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output url d:\file.jpg.
Successfully parsed a group of options.
Opening an output file: d:\file.jpg.
Successfully opened the file.
Initializing cuvid transcoding
detected 4 logical cores
[graph 0 input from stream 0:0 @ 000000000050b680] Setting 'video_size' to value '1600x1200'
[graph 0 input from stream 0:0 @ 000000000050b680] Setting 'pix_fmt' to value '12'
[graph 0 input from stream 0:0 @ 000000000050b680] Setting 'time_base' to value '1/25'
[graph 0 input from stream 0:0 @ 000000000050b680] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 000000000050b680] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 000000000050b680] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 000000000050b680] w:1600 h:1200 pixfmt:yuvj420p tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[format @ 0000000000513ba0] compat: called with args=[yuvj420p|yuvj422p|yuvj444p]
[format @ 0000000000513ba0] Setting 'pix_fmts' to value 'yuvj420p|yuvj422p|yuvj444p'
[AVFilterGraph @ 00000000006675a0] query_formats: 5 queried, 4 merged, 0 already done, 0 delayed
[mjpeg @ 0000000000507a40] Forcing thread count to 1 for MJPEG encoding, use -thread_type slice or a constant quantizer if you want to use multiple cpu cores
[mjpeg @ 0000000000507a40] intra_quant_bias = 96 inter_quant_bias = 0
Output #0, image2, to 'd:\file.jpg':
  Metadata:
    encoder         : Lavf57.65.100
    Stream #0:0, 0, 1/25: Video: mjpeg, 1 reference frame, yuvj420p(pc, center), 1600x1200 [SAR 1:1 DAR 4:3], 0/1, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.75.100 mjpeg
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg (native) -> mjpeg (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
No more output streams to write to, finishing.
frame=    0 fps=0.0 q=0.0 Lsize=N/A 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
Input file #0 (d:\1.jpg):
  Input stream #0:0 (video): 0 packets read (0 bytes); 0 frames decoded; 
  Total: 0 packets (0 bytes) demuxed
Output file #0 (d:\file.jpg):
  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, 0 decoding errors
[AVIOContext @ 0000000000668d00] Statistics: 266294 bytes read, 0 seeks

#6149 VP6 corruption avformat defect Feb 14, 2017

Sample: https://www.datafilehost.com/d/d5c82fbb

FFmpeg v2.8.6 works OK.

ffmpeg version N-83507-g8fa18e0 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.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. 47.100 / 55. 47.100
  libavcodec     57. 80.100 / 57. 80.100
  libavformat    57. 66.102 / 57. 66.102
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 73.100 /  6. 73.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[flv @ 0000000000407320] audio stream discovered after head already parsed
[flv @ 0000000000407320] video stream discovered after head already parsed
[flv @ 0000000000407320] Packet mismatch -265762973 15027 152220
Input #0, flv, from 'vp6_error.flv':
  Metadata:
    audiodelay      : 0
    canSeekToEnd    : true
  Duration: 00:25:38.17, start: 0.000000, bitrate: 555 kb/s
    Stream #0:0: Audio: mp3, 22050 Hz, stereo, s16p, 49 kb/s
    Stream #0:1: Video: vp6f, yuv420p, 640x480, 460 kb/s, 24 fps, 1k tbr, 1k tbn

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