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

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

Results (1 - 100 of 566)

1 2 3 4 5 6
Ticket Summary Component Milestone Type Created
Description
#6874 "Invalid image height" decoding seemingly valid animated gif avcodec defect Nov 27, 2017

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

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

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

How to reproduce:

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

Sample

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

Output:

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

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

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

#3989 "Overwrite?" dialog causes frozen video when capturing desktop video ffmpeg enhancement Sep 30, 2014

1) Record some video of the desktop with a command like ffmpeg -f x11grab -i $DISPLAY test.mkv.

2) Without deleting the video from (1), run that command again. This time it pauses with the question "File 'test.mkv' already exists. Overwrite ? [y/N]". Wait a few seconds before saying yes.

3) Play the resulting video in VLC.

BUG: The video begins with several seconds of stillness, corresponding to the amount of time you waited at the prompt in (2).

Repros on the release version (1:2.4.1-1, Arch Linux) and also when I build locally from master.


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


#3621 "pts < dts" causing remuxing failure for h264 from mkv to mkv avformat defect May 7, 2014

I have some h264/mkv files that ffmpeg blows up on while remuxing, due to non-monotonic pts timestamps.

$ ffmpeg -nostats -i test.mkv -c:v copy -c:a copy out.mkv
ffmpeg version 2.2.1 Copyright (c) 2000-2014 the FFmpeg developers
  built on May  7 2014 00:59:53 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      52. 66.100 / 52. 66.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  2.100 /  4.  2.100
  libavresample   1.  2.  0 /  1.  2.  0
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from 'test.mkv':
  Metadata:
    encoder         : libebml v1.3.0 + libmatroska v1.4.0
    creation_time   : 2014-05-06 09:28:53
  Duration: 00:44:21.01, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc (default)
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Stream #0:2(eng): Subtitle: subrip (default)
Output #0, matroska, to 'out.mkv':
  Metadata:
    encoder         : Lavf55.33.100
    Stream #0:0(eng): Video: h264 (H264 / 0x34363248), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 1k tbn, 1k tbc (default)
    Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), 384 kb/s (default)
    Stream #0:2(eng): Subtitle: ssa (default)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (subrip -> ssa)
Press [q] to stop, [?] for help
[matroska @ 0x7f9c6283de00] pts (375) < dts (418) in stream 0
av_interleaved_write_frame(): Invalid argument
frame=   11 fps=0.0 q=-1.0 Lsize=     217kB time=00:00:00.59 bitrate=2983.2kbits/s
video:189kB audio:27kB subtitle:0 data:0 global headers:0kB muxing overhead 0.492406%

Here are the video packets from -debug_ts on one of the files:

muxer <- type:video pkt_pts:0 pkt_pts_time:0 pkt_dts:0 pkt_dts_time:0 size:32998
muxer <- type:video pkt_pts:42 pkt_pts_time:0.042 pkt_dts:42 pkt_dts_time:0.042 size:31878
muxer <- type:video pkt_pts:83 pkt_pts_time:0.083 pkt_dts:83 pkt_dts_time:0.083 size:34437
muxer <- type:video pkt_pts:125 pkt_pts_time:0.125 pkt_dts:125 pkt_dts_time:0.125 size:26936
muxer <- type:video pkt_pts:167 pkt_pts_time:0.167 pkt_dts:167 pkt_dts_time:0.167 size:22856
muxer <- type:video pkt_pts:209 pkt_pts_time:0.209 pkt_dts:209 pkt_dts_time:0.209 size:22355
muxer <- type:video pkt_pts:250 pkt_pts_time:0.25 pkt_dts:250 pkt_dts_time:0.25 size:14882
muxer <- type:video pkt_pts:292 pkt_pts_time:0.292 pkt_dts:292 pkt_dts_time:0.292 size:3548
muxer <- type:video pkt_pts:334 pkt_pts_time:0.334 pkt_dts:334 pkt_dts_time:0.334 size:2954
muxer <- type:video pkt_pts:417 pkt_pts_time:0.417 pkt_dts:417 pkt_dts_time:0.417 size:138
muxer <- type:video pkt_pts:375 pkt_pts_time:0.375 pkt_dts:418 pkt_dts_time:0.418 size:140
[matroska @ 0x7fb88c0eaa00] pts (375) < dts (418) in stream 0
av_interleaved_write_frame(): Invalid argument

I believe the error can be ignored, as ffmpeg will attempt to fix timestamps in the output file.

--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -486,7 +486,6 @@ static int compute_pkt_fields2(AVFormatContext *s, AVStream *st, AVPacket *pkt)
     if (pkt->dts != AV_NOPTS_VALUE && pkt->pts != AV_NOPTS_VALUE && pkt->pts < pkt->dts) {
         av_log(s, AV_LOG_ERROR, "pts (%s) < dts (%s) in stream %d\n",
                av_ts2str(pkt->pts), av_ts2str(pkt->dts), st->index);
-        return AVERROR(EINVAL);
     }

     av_dlog(s, "av_write_frame: pts2:%s dts2:%s\n",

With the change above, ffmpeg on master warns me but is able to process my entire input file without crashing:

[matroska @ 0x7fabdc034600] pts (375) < dts (418) in stream 0
[matroska @ 0x7fabdc034600] Non-monotonous DTS in output stream 0:0; previous: 418, current: 375; changing to 418. This may result in incorrect timestamps in the output file.
frame=  152 fps=0.0 q=-1.0 Lsize=    4475kB time=00:00:06.48 bitrate=5654.2kbits/s
video:4168kB audio:303kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.089263%

#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

#443 -color_range AVOption appears to do nothing documentation defect Sep 7, 2011

according to source -color_range <int> can take the following values:- "0" auto "1" 16-235 "2" 0-255

and it functions on encode and decode. However altering the option value appears to make no change to the way media is processed, either on input, or output.

Attached stills sources and script to generate outputs using variations in value attached.


#2547 -muxrate option doesn't work with stream_segment mpegts output avformat defect May 9, 2013

When I use the -muxrate parameter with the mpegts muxer directly, it works fine without any errors and I get the desired muxrate. But it is not working when using the mpegts muxer indirectly via the stream_segment muxer (even after patching segment.c to pass the muxrate parameter to the mpegts muxer and verifying that the right value was passed - see below).

Using mpegts muxer directly: ffmpeg -i lg4test.ts -map 0:0 -vcodec libx264 -s 640x360 -b:v 1M -minrate 1M -maxrate 1M -bufsize 500K -muxrate 1.25M -g 60 -profile:v main -map 0:1 -acodec aac -strict experimental -b:a 128K -ac 2 -ar 48000 -f mpegts -v verbose test.ts

Complete console output attached as: mpegts_output.txt

Quote from the output: [mpegts @ 0x7fc381829c00] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts

So, that looks good. Next I want to do the same thing when using mpegts via the stream_segment muxer.

First I edited libavformat/segment.c to enable the muxrate option to be passed to the muxer specified by -segment_format, via a new option called -segment_format_muxrate (see patch attached). There may be a better way to accomplish this, but it works for now. If you prefer, I can submit this patch first to ffmpeg-devel and then inquire about this bug.

Next, making use of this new option:

ffmpeg -i lg4test.ts -map 0:0 -vcodec libx264 -s 640x360 -b:v 1M -minrate 1M -maxrate 1M -bufsize 500K -muxrate 1.25M -g 60 -profile:v main -map 0:1 -acodec aac -strict experimental -b:a 128K -ac 2 -ar 48000 -f ssegment -segment_list test.m3u8 -segment_list_flags +live -segment_time 10 -segment_format mpegts -segment_format_muxrate 1.25M -segment_time_delta 1.0 -v verbose test%05d.ts

Complete console output attached as: ssegment_output.txt

This message cofirms that the muxrate option was correctly passed to the mpegts muxer: [mpegts @ 0x7fdff3c16800] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts

However, as you can see in the console output, I now get this error message repeated very often: [mpegts @ 0x7fdff3c16800] dts < pcr, TS is invalid

Last message repeated 58 times

When this error occurs, I found that the size of each segment file (which should be all roughly the same size, since they are all approx. the same duration) is actually growing by multiples, e.g.: ls -al test0*.ts -rw-r--r-- 1 jasonlivingston admin 1657784 May 8 22:39 test00000.ts -rw-r--r-- 1 jasonlivingston admin 3273268 May 8 22:39 test00001.ts -rw-r--r-- 1 jasonlivingston admin 5023736 May 8 22:39 test00002.ts -rw-r--r-- 1 jasonlivingston admin 6452160 May 8 22:39 test00003.ts -rw-r--r-- 1 jasonlivingston admin 8077796 May 8 22:39 test00004.ts -rw-r--r-- 1 jasonlivingston admin 9741784 May 8 22:39 test00005.ts -rw-r--r-- 1 jasonlivingston admin 11516692 May 8 22:39 test00006.ts -rw-r--r-- 1 jasonlivingston admin 13087244 May 8 22:39 test00007.ts -rw-r--r-- 1 jasonlivingston admin 14500816 May 8 22:39 test00008.ts -rw-r--r-- 1 jasonlivingston admin 16241884 May 8 22:39 test00009.ts

Again, these are all the same duration and same CBR, so they should be roughly the same size.

Any ideas why this works fine for using mpegts directly, but not when using mpegts via ssegment?


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


#4614 10bit->8bit user selectable dither swscale enhancement Jun 11, 2015

Summary of the bug: providing arguments into 'sws_dither' never affects the output. It appears that no matter which dithering algorithm you specify in sws_dither (of the 4 that are available), ffmpeg ignores it and uses the same dithering algorithm for colorspace conversion no matter what. MD5s of the output .yuv files confirms this.

How to reproduce:

commands only :
./ffmpeg -v debug -y -i /mnt/storage/ProRes_10bit_422.mov -t 30 -pix_fmt yuv420p -an -threads 36 -vf scale=1920:-1:sws_dither=a_dither mnt/storage/raw_8bit_420_adither.yuv
ffmpeg version 2.6.3-   http://johnvansickle.com/ffmpeg/    Copyright (c) 2000-2015 the FFmpeg developers

./ffmpeg -v debug -y -i /mnt/storage/ProRes_10bit_422.mov -t 30 -pix_fmt yuv420p -an -threads 36 -vf scale=1920:-1:sws_dither=bayer mnt/storage/raw_8bit_420_bayer.yuv
ffmpeg version 2.6.3-   http://johnvansickle.com/ffmpeg/    Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-16)

'''[Jared@transcoder:~/Downloads/ffmpeg-2.6.3-64bit-static]$ md5sum /mnt/storage/raw_8bit_420_bayer.yuv
203cb43ecc97aa16d7203626750a14ad  /mnt/storage/raw_8bit_420_bayer.yuv'''
[Jared@transcoder:~/Downloads/ffmpeg-2.6.3-64bit-static]$ md5sum /mnt/storage/raw_8bit_420_adither.yuv
'''203cb43ecc97aa16d7203626750a14ad  /mnt/storage/raw_8bit_420_adither.yuv'''


commands with full output:
[Jared@transcoder:~/Downloads/ffmpeg-2.6.3-64bit-static]$sudo ./ffmpeg -v debug -y -i /mnt/storage/ProRes_10bit_422.mov -t 30 -pix_fmt yuv420p -an -threads 36 -vf scale=1920:-1:sws_dither=a_dither mnt/storage/raw_8bit_420_adither.yuv
ffmpeg version 2.6.3-   http://johnvansickle.com/ffmpeg/    Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-16)
  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 --cc=gcc-4.9
  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
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-i' ... matched as input file with argument '/mnt/storage/ProRes_10bit_422.mov'.
Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '30'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'.
Reading option '-threads' ... matched as AVOption 'threads' with argument '36'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=1920:-1:sws_dither=a_dither'.
Reading option 'mnt/storage/raw_8bit_420.yuv_adither.yuv' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file /mnt/storage/ProRes_10bit_422.mov.
Successfully parsed a group of options.
Opening an input file: /mnt/storage/ProRes_10bit_422.mov.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x48e6680] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x48e6680] Before avformat_find_stream_info() pos: 14083960832 bytes read:253481 seeks:5
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x48e6680] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x48e6680] After avformat_find_stream_info() pos: 98224 bytes read:343513 seeks:6 frames:1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/storage/ProRes_10bit_422.mov':
  Metadata:
    creation_time   : 2015-03-26 19:59:36
    timecode        : 00:57:50:00
  Duration: 00:13:49.08, start: 0.000000, bitrate: 135899 kb/s
    Stream #0:0(eng), 1, 1/24000: Video: prores (apch / 0x68637061), yuv422p10le(bt709), 1920x1080, 1/24000, 135654 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
    Metadata:
      creation_time   : 2015-03-26 19:59:36
      handler_name    : Apple Alias Data Handler
      encoder         : Apple ProRes 422 (HQ)
    Stream #0:1(eng), 0, 1/24000: Data: none (tmcd / 0x64636D74), 1/24, 0 kb/s (default)
    Metadata:
      creation_time   : 2015-03-26 19:59:36
      handler_name    : Apple Alias Data Handler
      reel_name       : Unnamed
      timecode        : 00:57:50:00
Successfully opened the file.
Parsing a group of options: output file mnt/storage/raw_8bit_420.yuv_adither.yuv.
Applying option t (record or transcode "duration" seconds of audio/video) with argument 30.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option an (disable audio) with argument 1.
Applying option vf (set video filters) with argument scale=1920:-1:sws_dither=a_dither.
Successfully parsed a group of options.
Opening an output file: mnt/storage/raw_8bit_420.yuv_adither.yuv.
Successfully opened the file.
[Parsed_scale_0 @ 0x48ee3e0] Setting 'w' to value '1920'
[Parsed_scale_0 @ 0x48ee3e0] Setting 'h' to value '-1'
[Parsed_scale_0 @ 0x48ee3e0] Setting 'sws_dither' to value 'a_dither'
[Parsed_scale_0 @ 0x48ee3e0] Setting 'flags' to value '0x4'
[Parsed_scale_0 @ 0x48ee3e0] w:1920 h:-1 flags:'0x4' interl:0
[graph 0 input from stream 0:0 @ 0x48eeae0] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0x48eeae0] Setting 'pix_fmt' to value '74'
[graph 0 input from stream 0:0 @ 0x48eeae0] Setting 'time_base' to value '1/24000'
[graph 0 input from stream 0:0 @ 0x48eeae0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x48eeae0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x48eeae0] Setting 'frame_rate' to value '24000/1001'
[graph 0 input from stream 0:0 @ 0x48eeae0] w:1920 h:1080 pixfmt:yuv422p10le tb:1/24000 fr:24000/1001 sar:1/1 sws_param:flags=2
[format @ 0x48dbb40] compat: called with args=[yuv420p]
[format @ 0x48dbb40] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x48dbe20] query_formats: 5 queried, 4 merged, 0 already done, 0 delayed
[Parsed_scale_0 @ 0x48ee3e0] w:1920 h:1080 fmt:yuv422p10le sar:1/1 -> w:1920 h:1080 fmt:yuv420p sar:1/1 flags:0x4
detected 32 logical cores
Output #0, rawvideo, to 'mnt/storage/raw_8bit_420.yuv_adither.yuv':
  Metadata:
    timecode        : 00:57:50:00
    encoder         : Lavf56.25.101
    Stream #0:0(eng), 0, 1001/24000: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1001/24000, q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)
    Metadata:
      creation_time   : 2015-03-26 19:59:36
      handler_name    : Apple Alias Data Handler
      encoder         : Lavc56.26.100 rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (prores (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Cliping frame in rate conversion by 0.000008
[output stream 0:0 @ 0x48d1fe0] EOF on sink link output stream 0:0:default.kbits/s
No more output streams to write to, finishing.
frame=  720 fps= 63 q=0.0 Lsize= 2187000kB time=00:00:30.03 bitrate=596600.2kbits/s
video:2187000kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
Input file #0 (/mnt/storage/ProRes_10bit_422.mov):
  Input stream #0:0 (video): 721 packets read (64913072 bytes); 721 frames decoded;
  Input stream #0:1 (data): 0 packets read (0 bytes);
  Total: 721 packets (64913072 bytes) demuxed
Output file #0 (mnt/storage/raw_8bit_420.yuv_adither.yuv):
  Output stream #0:0 (video): 720 frames encoded; 720 packets muxed (2239488000 bytes);
  Total: 720 packets (2239488000 bytes) muxed
721 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x48ebca0] Statistics: 0 seeks, 68400 writeouts
[AVIOContext @ 0x48e5e40] Statistics: 65166553 bytes read, 71 seeks





[Jared@transcoder:~/Downloads/ffmpeg-2.6.3-64bit-static]$ sudo ./ffmpeg -v debug -y -i /mnt/storage/ProRes_10bit_422.mov -t 30 -pix_fmt yuv420p -an -threads 36 -vf scale=1920:-1:sws_dither=bayer mnt/storage/raw_8bit_420_bayer.yuv
ffmpeg version 2.6.3-   http://johnvansickle.com/ffmpeg/    Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-16)
  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 --cc=gcc-4.9
  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
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-i' ... matched as input file with argument '/mnt/storage/ProRes_10bit_422.mov'.
Reading option '-t' ... matched as option 't' (record or transcode "duration" seconds of audio/video) with argument '30'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-an' ... matched as option 'an' (disable audio) with argument '1'.
Reading option '-threads' ... matched as AVOption 'threads' with argument '36'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=1920:-1:sws_dither=bayer'.
Reading option 'mnt/storage/raw_8bit_420.yuv_bayer.yuv' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file /mnt/storage/ProRes_10bit_422.mov.
Successfully parsed a group of options.
Opening an input file: /mnt/storage/ProRes_10bit_422.mov.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x37a5680] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x37a5680] Before avformat_find_stream_info() pos: 14083960832 bytes read:253481 seeks:5
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x37a5680] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x37a5680] After avformat_find_stream_info() pos: 98224 bytes read:343513 seeks:6 frames:1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/storage/ProRes_10bit_422.mov':
  Metadata:
    creation_time   : 2015-03-26 19:59:36
    timecode        : 00:57:50:00
  Duration: 00:13:49.08, start: 0.000000, bitrate: 135899 kb/s
    Stream #0:0(eng), 1, 1/24000: Video: prores (apch / 0x68637061), yuv422p10le(bt709), 1920x1080, 1/24000, 135654 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
    Metadata:
      creation_time   : 2015-03-26 19:59:36
      handler_name    : Apple Alias Data Handler
      encoder         : Apple ProRes 422 (HQ)
    Stream #0:1(eng), 0, 1/24000: Data: none (tmcd / 0x64636D74), 1/24, 0 kb/s (default)
    Metadata:
      creation_time   : 2015-03-26 19:59:36
      handler_name    : Apple Alias Data Handler
      reel_name       : Unnamed
      timecode        : 00:57:50:00
Successfully opened the file.
Parsing a group of options: output file mnt/storage/raw_8bit_420.yuv_bayer.yuv.
Applying option t (record or transcode "duration" seconds of audio/video) with argument 30.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option an (disable audio) with argument 1.
Applying option vf (set video filters) with argument scale=1920:-1:sws_dither=bayer.
Successfully parsed a group of options.
Opening an output file: mnt/storage/raw_8bit_420.yuv_bayer.yuv.
Successfully opened the file.
[Parsed_scale_0 @ 0x37ad3e0] Setting 'w' to value '1920'
[Parsed_scale_0 @ 0x37ad3e0] Setting 'h' to value '-1'
[Parsed_scale_0 @ 0x37ad3e0] Setting 'sws_dither' to value 'bayer'
[Parsed_scale_0 @ 0x37ad3e0] Setting 'flags' to value '0x4'
[Parsed_scale_0 @ 0x37ad3e0] w:1920 h:-1 flags:'0x4' interl:0
[graph 0 input from stream 0:0 @ 0x37adae0] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0x37adae0] Setting 'pix_fmt' to value '74'
[graph 0 input from stream 0:0 @ 0x37adae0] Setting 'time_base' to value '1/24000'
[graph 0 input from stream 0:0 @ 0x37adae0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x37adae0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x37adae0] Setting 'frame_rate' to value '24000/1001'
[graph 0 input from stream 0:0 @ 0x37adae0] w:1920 h:1080 pixfmt:yuv422p10le tb:1/24000 fr:24000/1001 sar:1/1 sws_param:flags=2
[format @ 0x379ab40] compat: called with args=[yuv420p]
[format @ 0x379ab40] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x379ae20] query_formats: 5 queried, 4 merged, 0 already done, 0 delayed
[Parsed_scale_0 @ 0x37ad3e0] w:1920 h:1080 fmt:yuv422p10le sar:1/1 -> w:1920 h:1080 fmt:yuv420p sar:1/1 flags:0x4
detected 32 logical cores
Output #0, rawvideo, to 'mnt/storage/raw_8bit_420.yuv_bayer.yuv':
  Metadata:
    timecode        : 00:57:50:00
    encoder         : Lavf56.25.101
    Stream #0:0(eng), 0, 1001/24000: Video: rawvideo (I420 / 0x30323449), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1001/24000, q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc (default)
    Metadata:
      creation_time   : 2015-03-26 19:59:36
      handler_name    : Apple Alias Data Handler
      encoder         : Lavc56.26.100 rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (prores (native) -> rawvideo (native))
Press [q] to stop, [?] for help
Cliping frame in rate conversion by 0.000008
[output stream 0:0 @ 0x3790fe0] EOF on sink link output stream 0:0:default.kbits/s
No more output streams to write to, finishing.
frame=  720 fps= 66 q=0.0 Lsize= 2187000kB time=00:00:30.03 bitrate=596600.2kbits/s
video:2187000kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
Input file #0 (/mnt/storage/ProRes_10bit_422.mov):
  Input stream #0:0 (video): 721 packets read (64913072 bytes); 721 frames decoded;
  Input stream #0:1 (data): 0 packets read (0 bytes);
  Total: 721 packets (64913072 bytes) demuxed
Output file #0 (mnt/storage/raw_8bit_420.yuv_bayer.yuv):
  Output stream #0:0 (video): 720 frames encoded; 720 packets muxed (2239488000 bytes);
  Total: 720 packets (2239488000 bytes) muxed
721 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x37aaca0] Statistics: 0 seeks, 68400 writeouts
[AVIOContext @ 0x37a4e40] Statistics: 65166553 bytes read, 71 seeks



[Jared@transcoder:~/Downloads/ffmpeg-2.6.3-64bit-static]$ md5sum /mnt/storage/raw_8bit_420_bayer.yuv
203cb43ecc97aa16d7203626750a14ad  /mnt/storage/raw_8bit_420_bayer.yuv
[Jared@transcoder:~/Downloads/ffmpeg-2.6.3-64bit-static]$ md5sum /mnt/storage/raw_8bit_420_adither.yuv
203cb43ecc97aa16d7203626750a14ad  /mnt/storage/raw_8bit_420_adither.yuv




#6841 1ms gap in WebM Opus files encoded with ffmpeg avformat defect Nov 17, 2017

When audio files are encoded with Opus and muxed to WebM in ffmpeg there is a strange 1ms gap before the second audio frame.

Note all Opus frames are 20 ms long. There is a closed set of possible Opus frame durations, i.e. it's not possible to have a 21 ms long Opus frame (see section 2.1.4 of https://tools.ietf.org/html/rfc6716).

How to reproduce:

% curl https://samples.ffmpeg.org/A-codecs/MP3/01%20-%20Charity%20Case.mp3 -o /tmp/any-audio-file.mp3

% ffmpeg -i /tmp/any-audio-file.mp3 -c:a libopus buggy-timestamps.webm

% mkvinfo -v /tmp/buggy-timestamps.webm |grep SimpleBlock |head -n 5
| + SimpleBlock (key, track number 1, 1 frame(s), timestamp 0.000s = 00:00:00.000)
| + SimpleBlock (key, track number 1, 1 frame(s), timestamp 0.021s = 00:00:00.021)
| + SimpleBlock (key, track number 1, 1 frame(s), timestamp 0.041s = 00:00:00.041)
| + SimpleBlock (key, track number 1, 1 frame(s), timestamp 0.061s = 00:00:00.061)
| + SimpleBlock (key, track number 1, 1 frame(s), timestamp 0.081s = 00:00:00.081)

% ffmpeg -version
ffmpeg version 3.3.5 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7 (GCC)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/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' --extra-ldflags='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags='-I/usr/include/nvenc ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --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-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
libavutil      55. 58.100 / 55. 58.100
libavcodec     57. 89.100 / 57. 89.100
libavformat    57. 71.100 / 57. 71.100
libavdevice    57.  6.100 / 57.  6.100
libavfilter     6. 82.100 /  6. 82.100
libavresample   3.  5.  0 /  3.  5.  0
libswscale      4.  6.100 /  4.  6.100
libswresample   2.  7.100 /  2.  7.100
libpostproc    54.  5.100 / 54.  5.100

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


#2400 A/V desync for separate video and aac in mp4 input files undetermined defect Mar 25, 2013

executing following command with the two videos I attached.

ffmpeg -i aaa.mp4 -i bbb.mp4 test.mp4

C:\Conversion>ffmpeg -i aaa.mp4 -i bbb.mp4 test.mp4 ffmpeg version N-51211-ge0e8c20 Copyright (c) 2000-2013 the FFmpeg developers

built on Mar 22 2013 08:56:38 with gcc 4.7.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av

isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg sm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libo pencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li bschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-lib twolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enabl e-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib

libavutil 52. 22.101 / 52. 22.101 libavcodec 55. 1.100 / 55. 1.100 libavformat 55. 0.100 / 55. 0.100 libavdevice 55. 0.100 / 55. 0.100 libavfilter 3. 48.100 / 3. 48.100 libswscale 2. 2.100 / 2. 2.100 libswresample 0. 17.102 / 0. 17.102 libpostproc 52. 2.100 / 52. 2.100

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

Metadata:

major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf54.59.102

Duration: 00:00:08.71, start: 0.000000, bitrate: 245 kb/s

Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1366x768,

241 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc

Metadata:

handler_name : VideoHandler?

Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'bbb.mp4':

Metadata:

major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 encoder : Lavf54.59.102

Duration: 00:00:00.13, start: 0.023220, bitrate: 9029 kb/s

Stream #1:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 89

40 kb/s

Metadata:

handler_name : SoundHandler?

File 'test.mp4' already exists. Overwrite ? [y/N] y using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 [libx264 @ 024adac0] profile High, level 3.2 [libx264 @ 024adac0] 264 - core 130 r2274 c832fe9 - H.264/MPEG-4 AVC codec - Cop yleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deb lock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 m e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chro ma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 i nterlaced=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 scenec ut=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:

major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf55.0.100 Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1366x768, q

=-1--1, 30k tbn, 29.97 tbc

Metadata:

handler_name : VideoHandler?

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

, 128 kb/s

Metadata:

handler_name : SoundHandler?

Stream mapping:

Stream #0:0 -> #0:0 (h264 -> libx264) Stream #1:0 -> #0:1 (aac -> libvo_aacenc)

Press [q] to stop, ? for help frame= 54 fps=0.0 q=29.0 size= 0kB time=00:00:00.06 bitrate= 5.8kbits/ frame= 80 fps= 76 q=29.0 size= 219kB time=00:00:00.93 bitrate=1917.7kbits/ frame= 114 fps= 72 q=29.0 size= 219kB time=00:00:02.06 bitrate= 866.1kbits/ frame= 148 fps= 71 q=29.0 size= 219kB time=00:00:03.20 bitrate= 559.3kbits/ frame= 187 fps= 72 q=29.0 size= 219kB time=00:00:04.50 bitrate= 397.7kbits/ frame= 226 fps= 72 q=29.0 size= 219kB time=00:00:05.80 bitrate= 308.6kbits/ frame= 261 fps= 63 q=2686559.0 Lsize= 390kB time=00:00:08.64 bitrate= 369.9 kbits/s video:251kB audio:133kB subtitle:0 global headers:0kB muxing overhead 1.517758% [libx264 @ 024adac0] frame I:2 Avg QP:20.77 size: 84310 [libx264 @ 024adac0] frame P:68 Avg QP:24.08 size: 1098 [libx264 @ 024adac0] frame B:191 Avg QP:33.16 size: 70 [libx264 @ 024adac0] consecutive B-frames: 1.9% 1.5% 0.0% 96.6% [libx264 @ 024adac0] mb I I16..4: 65.2% 4.7% 30.2% [libx264 @ 024adac0] mb P I16..4: 0.8% 0.0% 0.3% P16..4: 0.6% 0.1% 0.0%

0.0% 0.0% skip:98.1%

[libx264 @ 024adac0] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.7% 0.0% 0.0%

direct: 0.0% skip:99.2% L0:48.3% L1:51.6% BI: 0.1%

[libx264 @ 024adac0] 8x8 transform intra:3.7% inter:46.9% [libx264 @ 024adac0] coded y,uvDC,uvAC intra: 20.3% 19.0% 16.6% inter: 0.1% 0.1%

0.0%

[libx264 @ 024adac0] i16 v,h,dc,p: 62% 37% 0% 0% [libx264 @ 024adac0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 74% 12% 12% 0% 0% 0% 0%

0% 1%

[libx264 @ 024adac0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 39% 12% 2% 2% 2% 3%

2% 3%

[libx264 @ 024adac0] i8c dc,h,v,p: 67% 23% 9% 0% [libx264 @ 024adac0] Weighted P-Frames: Y:0.0% UV:0.0% [libx264 @ 024adac0] ref P L0: 79.1% 12.4% 6.1% 2.4% [libx264 @ 024adac0] ref B L0: 60.7% 38.5% 0.8% [libx264 @ 024adac0] ref B L1: 95.4% 4.6% [libx264 @ 024adac0] kb/s:235.67

then executing ffplay test.mp4 to view the result mp4, you will notice that audio not syndicate with video from the pronunciation of "ffffff" and input "fffffff" via keyboard .

But if we merge the audio and video to a avi file , the audio/video syndicated correctly.

ffmpeg -i aaa.mp4 -i bbb.mp4 test.avi.

I tested with old release and found that http://ffmpeg.zeranoe.com/builds/win32/dev/ffmpeg-git-e01f478-win32-dev.7z built on 2012/03/20 is still ok. From http://ffmpeg.zeranoe.com/builds/win32/dev/ffmpeg-git-4082198-win32-dev.7z built on 2012/03/25 the problem was introduced.

I compared the source code between 03/20 and 03/25 and suspect the audio encode api in codec switch from encode to encode2 interface caused the problem.


#3182 A/V desync when transcoding MPEG-TS streams if an audio track disappears undetermined defect Nov 29, 2013

Hi,

I have some streams that for some unknown reasons (I don't have control on them since it's mainly DVB-S streams) lose audio from time to time.

In some cases a new PMT with only a video track can be found or the audio packets could just disappear. This can last a few seconds or multiple hours (delay for the broadcaster to fix the problem I guess).

In both cases get_input_packet() from process_input() won't see packets with stream_index=audio anymore. ffmpeg will keep encoding the video frames.

The problem is with av_interleaved_write_frame() in write_frame(). This functions waits for all streams to have at least one packet before writing to the output. In this case it will buffer video packets (thus leaking) until another audio packet comes ; and then it will start to write the video packets again but they won't match the audio packets.

I crafted (once again) a sample 'bbb_gap_sound.ts' by deleting some audio packets from an MPEG-TS stream (I don't have a sample where the PMT changes). It's from Big Buck Bunny so there are only music and noises but it's quite easy to spot the A/V desync (the audio disappears at ~37s).

How to reproduce:

ffmpeg -i bbb_gap_sound.ts  -acodec libfdk_aac -b:a 64k -ac 2 -ar 44100 -vcodec libx264 -b:v 800k -s 320x240 /tmp/bbb_encoded.ts
ffmpeg version N-58591-ga677fb6 Copyright (c) 2000-2013 the FFmpeg developers
  built on Nov 29 2013 17:58:08 with gcc 4.7 (Debian 4.7.2-5)
  configuration: --prefix=/home/aurelien/local --enable-postproc --enable-nonfree --enable-gpl --enable-libfaac --enable-shared --enable-libx264 --extra-cflags=-I/home/aurelien/local/include --extra-ldflags=-L/home/aurelien/local/lib --enable-version3 --disable-optimizations --enable-libfreetype --disable-stripping --enable-libaacplus --enable-libfdk-aac
  libavutil      52. 55.100 / 52. 55.100
  libavcodec     55. 44.100 / 55. 44.100
  libavformat    55. 21.102 / 55. 21.102
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     3. 91.100 /  3. 91.100
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[h264 @ 0x16a9aa0] non-existing PPS referenced
[h264 @ 0x16a9aa0] non-existing PPS 0 referenced
[h264 @ 0x16a9aa0] decode_slice_header error
[h264 @ 0x16a9aa0] no frame!
[... non-existing PPS messages skipped ...]
[mpegts @ 0x16a5a00] PES packet size mismatch
Input #0, mpegts, from 'bbb_gap_sound.ts':
  Duration: 00:01:58.26, start: 211.763244, bitrate: 988 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 320x240, 24 fps, 24 tbr, 90k tbn, 48 tbc
    Stream #0:1[0x101](eng): Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 64 kb/s
[libx264 @ 0x16abb40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x16abb40] profile High, level 2.0
Output #0, mpegts, to '/tmp/bbb_encoded.ts':
  Metadata:
    encoder         : Lavf55.21.102
    Stream #0:0: Video: h264 (libx264), yuv420p, 320x240, q=-1--1, 800 kb/s, 90k tbn, 24 tbc
    Stream #0:1(eng): Audio: aac (libfdk_aac), 44100 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
  Stream #0:1 -> #0:1 (aac -> libfdk_aac)
Press [q] to stop, [?] for help
[mpegts @ 0x16a5a00] PES packet size mismatchme=00:01:53.16 bitrate= 616.6kbits/s dup=32 drop=0
[h264 @ 0x228af80] error while decoding MB 4 13, bytestream (-40)
[h264 @ 0x228af80] concealing 85 DC, 85 AC, 85 MV errors in P frame
frame= 2839 fps=601 q=-1.0 Lsize=   14116kB time=00:01:58.20 bitrate= 978.2kbits/s dup=33 drop=0
video:12165kB audio:565kB subtitle:0 global headers:0kB muxing overhead 10.884066%

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

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


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

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

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

This stream works fine in VideoLan? VLC player.

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


#4230 ASF: Big Muxing Overhead avformat defect Jan 6, 2015

Summary of the bug: I'm doing lossless trimming of WMA (audio only; ASF) files and I have the issue that the overall bitrate of the file is growing. I managed to narrow the problem to following issue: If I just pass ASF file through FFMpeg using copy codec the file size grows. How to reproduce: Take the attached input file and encode it using following command

ffmpeg -i original.wma -c copy -y o2.asf
ffmpeg version N-68881-ga79ac73 Copyright (c) 2000-2015 the FFmpeg developers
  built on Jan  5 2015 22:14:33 with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --e
nable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-li
bass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-li
bgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-lib
opencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-l
ibrtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --en
able-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. 16.100 / 54. 16.100
  libavcodec     56. 19.100 / 56. 19.100
  libavformat    56. 18.100 / 56. 18.100
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  6.100 /  5.  6.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from 'original.wma':
  Metadata:
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: L1
    WM/WMADRCPeakReference: 32767
    WM/WMADRCAverageReference: 11007
    PeakValue       : 32673
    AverageLevel    : 8571
    WM/Lyrics       : (Hej, hej) šuti
                    : samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    :
                    : (Hej hej)
                    :
                    : Ako te sretnem samo šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    :
                    : Ako te sretnem samo šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    :
                    : Iako davno su nestale veze
                    : Što spajale su nas
                    : Iako davno izbrisane su rije─Źi
                    : I ne pamtim ti glas
                    :
                    : Iako davno ve─ç zaborav te skrio
                    : I dodir tvoj je stran
                    : Susreti novi probudi u meni onaj stari plan
                    :
                    : Ako te sretnem samo šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    : Šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    :
                    : (hej, hej)
                    :
                    : Dugo ve─ç dugo
                    : Pamtim te samo kao ─Ĺa─Źki grijeh
                    : Dugo ve─ç dugo
                    : Ne znam dal' su dra┼że bile suze il' smijeh (oho)
                    : Dugo ve─ç dugo zaborav te skriva
                    : I dodir tvoj je stran
                    : Susreti novi probudi u meni onaj stari plan
                    :
                    : Ako te sretnem samo šuti, samo šuti
                    : [03:04]┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    : Šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    : Šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    :
                    : Šuti, šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    :
                    : (┼íuti moj dje─Źa─Źe plavi)
                    :
    title           : ┼áuti moj dje─Źa─Źe plavi
    album           : Malo Pomalo
    WMFSDKVersion   : 9.00.00.3250
    IsVBR           : 0
    WM/Year         : 1994
    WM/EncodingTime : 18446744072371848576
    WM/UniqueFileIdentifier: ;
    composer        : Karma
    publisher       : Groove Attack
    genre           : Electronica & Dance
    album_artist    : Karma
    WM/Provider     : User Feedback
    WM/SharedUserRating: 99
    track           : 13
    artist          : Karma
  Duration: 00:04:34.76, start: 0.000000, bitrate: 97 kb/s
    Stream #0:0(cze): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 2 channels, fltp, 96 k
b/s
Output #0, asf, to 'o2.asf':
  Metadata:
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: L1
    WM/WMADRCPeakReference: 32767
    WM/WMADRCAverageReference: 11007
    PeakValue       : 32673
    AverageLevel    : 8571
    WM/Lyrics       : (Hej, hej) šuti
                    : samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    :
                    : (Hej hej)
                    :
                    : Ako te sretnem samo šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    :
                    : Ako te sretnem samo šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    :
                    : Iako davno su nestale veze
                    : Što spajale su nas
                    : Iako davno izbrisane su rije─Źi
                    : I ne pamtim ti glas
                    :
                    : Iako davno ve─ç zaborav te skrio
                    : I dodir tvoj je stran
                    : Susreti novi probudi u meni onaj stari plan
                    :
                    : Ako te sretnem samo šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    : Šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    :
                    : (hej, hej)
                    :
                    : Dugo ve─ç dugo
                    : Pamtim te samo kao ─Ĺa─Źki grijeh
                    : Dugo ve─ç dugo
                    : Ne znam dal' su dra┼że bile suze il' smijeh (oho)
                    : Dugo ve─ç dugo zaborav te skriva
                    : I dodir tvoj je stran
                    : Susreti novi probudi u meni onaj stari plan
                    :
                    : Ako te sretnem samo šuti, samo šuti
                    : [03:04]┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    : Šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    : Šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    : I nek tvoja kosa plava
                    : Na jastuku uspomena spava
                    :
                    : Šuti, šuti, samo šuti
                    : ┼áuti moj dje─Źa─Źe plavi
                    :
                    : (┼íuti moj dje─Źa─Źe plavi)
                    :
    title           : ┼áuti moj dje─Źa─Źe plavi
    WM/AlbumTitle   : Malo Pomalo
    WMFSDKVersion   : 9.00.00.3250
    IsVBR           : 0
    WM/Year         : 1994
    WM/EncodingTime : 18446744072371848576
    WM/UniqueFileIdentifier: ;
    WM/Composer     : Karma
    WM/Language     : hr
    WM/Publisher    : Groove Attack
    WM/Genre        : Electronica & Dance
    WM/AlbumArtist  : Karma
    WM/Provider     : User Feedback
    WM/SharedUserRating: 99
    WM/TrackNumber  : 13
    Author          : Karma
    WM/EncodingSettings: Lavf56.18.100
    Stream #0:0(cze): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, 96 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=    4648kB time=00:04:34.73 bitrate= 138.6kbits/s
video:0kB audio:3235kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead:
43.663895%

You see the huge muxing overhead. The comparison of the original and outout file is

Original file
Size:	3 343 892 B
Audio bitrate: 96kb/s
Overall bitrate: 97kb/s
Overhead: 1%

Copied file
Size:	4 759 638 B (42% growth)
Audio bitrate: 96kb/s
Overall bitrate: 138kb/s
Overhead: 43%

When I compare the files binary I see several blocks of 0 bytes in the transcoded file.

I guess this is issue how the ASF file is generated, that the 0 blocks should nopt be there, thus lowering the overhead.


#3570 AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick build system enhancement Apr 17, 2014

Summary of the bug: AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick How to reproduce:

Follow the guide at https://trac.ffmpeg.org/wiki/MacOSXCompilationGuide

./configure  --prefix=/usr/local --enable-gpl --enable-nonfree --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-indev=avfoundation

But after ./configure script run, it not enable avfoundation indev

Enabled bsfs:
aac_adtstoasc		imx_dump_header		mp3_header_decompress
chomp			mjpeg2jpeg		noise
dump_extradata		mjpega_dump_header	remove_extradata
h264_mp4toannexb	mov2textsub		text2movsub

Enabled indevs:
lavfi

Enabled outdevs:
sdl

Problem from this line in ./configure:

# these are off by default, so fail if requested and not available
enabled avfoundation_indev && { check_header_oc AVFoundation/AVFoundation.h || disable avfoundation_indev; }

It disabled permanently avfoundation_indev

Patch suggest:

enabled avfoundation_indev

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

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

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

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

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


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


#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


#3280 Add dvdnav support undetermined enhancement Jan 8, 2014

I'm running ffprobe on an ISO file which contains 2 titles (one for 59 seconds, and another 1 min). But ffprobe shows a duration of 1 min, which is the duration of only one title.

the ISO file I used is here https://dl.dropboxusercontent.com/u/89678527/2videos.iso

Below is the output of ffprobe

ffprobe version N-58485-ga12b4bd Copyright (c) 2007-2013 the FFmpeg developers

built on Nov 26 2013 22:01:46 with gcc 4.8.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --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-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 52. 55.100 / 52. 55.100 libavcodec 55. 44.100 / 55. 44.100 libavformat 55. 21.102 / 55. 21.102 libavdevice 55. 5.101 / 55. 5.101 libavfilter 3. 91.100 / 3. 91.100 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100

Input #0, mpeg, from '2videos.iso':

Duration: 00:01:00.06, start: 0.033367, bitrate: 9423 kb/s

Stream #0:0[0x1bf]: Data: dvd_nav_packet Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 96 kb/s Stream #0:2[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x480 [SAR 8:9 DAR 4:3], max. 9000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc

Unsupported codec with id 1145979222 for input stream 0


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

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

How to reproduce: HR_6.1_MATRIX_ES_PHASE_SHIFT_3840.dtshd

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


HR_6.1_MATRIX_ES_PRE-MIXED_3840.dtshd

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

#6538 Add support for OnTextData packets on flv avformat enhancement Jul 18, 2017

Problem with "LAV Splitter Source[v0.70.2]", after metadata change playback stop for all RTMP://-streams. Example:

rtmp://wse.planeta-online.tv:1935/live/channel_13


#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


#6761 Allow huge filenames (datauri) in the concat demuxer avformat defect Oct 19, 2017

Summary of the bug: I am trying to turn a stream of jpeg's into a video but the concat demuxer is erroring with the data uris. An output video is produced but it only has the top part of the images included with the rest of each frame being green.

(I'm actually programatically generating the concat script and feeding it into ffmpeg's stdin, but for the sake of this repro case attached is a static concat script)

How to reproduce:

ffmpeg -report -f concat -safe 0 -protocol_whitelist file,data -i concat -vf fps=30 -y out.mp4

The main error looks something like:

[mjpeg @ 00000215a6bbd9a0] overread 8

Attached is the output of the -report option.

As is obvious from the report log I am running on Windows (version 10).


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

#6357 An error in decoding RTMP (h264&aac) live streaming for a long time avformat defect Apr 28, 2017

I use ffplay to play a RTMP live streaming (url is "rtmp://live.hkstv.hk.lxdns.com/live/hks").

After 16819 seconds of receiving, the decoding function returns error, and the error info is as follows. I tried ffmpeg version 3.0, 3.1, 3.3, and it has the same problem. I hope you can tell me where is wrong or how to slove this problem.

D:\ffmpeg-20170425-b4330a0-win32-static\bin>ffplay.exe rtmp://live.hkstv.hk.lxdn s.com/live/hks ffplay version N-85653-gb4330a0 Copyright (c) 2003-2017 the FFmpeg developers

built with gcc 6.3.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --e

nable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth -- enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-li bfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug - -enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enabl e-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolam e --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx

--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable

-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib

libavutil 55. 61.100 / 55. 61.100 libavcodec 57. 93.100 / 57. 93.100 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 87.100 / 6. 87.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100

Metadata: : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0

author PowerSmart? duration 3600.00 datarate 500.00 livetime 1489071037.00 timeshift 0.00 width 640.00 height 480.00 videodatarate 0.00 framerate 25.00 videocodecid 7.00 audiosamplerate 32000.00 audiosamplesize 0.00 stereo TRUE audiocodecid 10.00 filesize 0.00

Input #0, flv, from 'rtmp://live.hkstv.hk.lxdns.com/live/hks':0/0

Metadata:

author : PowerSmart? 0KB vq= 0KB sq= 0B f=0/0 copyright : description : datarate : 500 livetime : 1489071037 timeshift : 0

Duration: 01:00:00.00, start: 0.000000, bitrate: N/A

Stream #0:0: Audio: aac (LC), 32000 Hz, stereo, fltp Stream #0:1: Video: h264 (Constrained Baseline), yuv420p(progressive), 640x4

80, 25 fps, 15 tbr, 1k tbn, 30 tbc Metadata:-V: 0.075 fd= 238 aq= 0KB vq= 0KB sq= 0B f=14/14

author PowerSmart? duration 3600.00 datarate 500.00 livetime 1489071037.00 timeshift 0.00 width 640.00 height 480.00 videodatarate 0.00 framerate 25.00 videocodecid 7.00 audiosamplerate 32000.00 audiosamplesize 0.00 stereo TRUE audiocodecid 10.00 filesize 0.00

[h264 @ 094e5180] P sub_mb_type 13 out of range at 23 25 0B f=15/15 [h264 @ 094e5180] error while decoding MB 23 25 [h264 @ 094e5180] concealing 226 DC, 226 AC, 226 MV errors in P frame HandleInvoke?, Sanity failed. no string method in invoke packet=15/15 [flv @ 08772fe0] DTS 16808050 < 2353520185 out of order 0B f=15/15 [aac @ 09527a60] This decoder does not support parameter changes, but PARAM_CHAN GE side data was sent to it. [h264 @ 087c9880] [aac @ 09527a60] mb_type 34 in P slice too large at 33 24 Error applying parameter changes. [h264 @ 087c9880] error while decoding MB 33 24 [h264 @ 087c9880] concealing 256 DC, 256 AC, 256 MV errors in P frame [flv @ 08772fe0] Audio codec (e) is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file

has a feature which has not been implemented.

[flv @ 08772fe0] If you want to help, upload a sample of this file to ftp://uplo ad.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel @ffmpeg.org) [aac @ 09527a60] This decoder does not support parameter changes, but PARAM_CHAN GE side data was sent to it. [aac @ 09527a60] Error applying parameter changes. [aac @ 09527a60] This decoder does not support parameter changes, but PARAM_CHAN GE side data was sent to it. [aac @ 09527a60] 16819.03 A-V:-2336735.363 fd= 259 aq= 1KB vq= 0KB sq= Error applying parameter changes.


#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


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

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

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

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

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

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

#1712 Audio precision in lossless and long time to encode. ffmpeg defect Sep 2, 2012

Summary of the bug: Hi, first of all, i'm sorry for my english. I've tried the last ffmpeg build and i get a problem with Audio precision in lossless audio file, the audio is delayed about 2 seconds. The audio is passed to another program throught a pipe, but i know that the other program isn't the problem, because with a very old ffmpeg version (SVN 16573, Jan 13 2009) works fine, and i've tried with wav output without pipe and get the same problem.

If you want, here's a test wav files: http://www.mediafire.com/?1ewceliyjhspedk

The command line that i've used is : ffmpeg_old -i "input.ape" -ss 00:59:18.71 -t 00:00:15.55 out_oldffmpeg.wav ffmpeg -i "input.ape" -ss 00:59:18.71 -t 00:00:15.55 out_newffmpeg.wav

How to reproduce:

% ffmpeg -i input -ss 00:45:25 -t 00:05:25 -ac 2 -f wav -

The output is a pipe to another program.

'''ffmpeg version''' N-44080-gdfb4757
'''built on''' Aug 31 2012 16:58:51 with gcc 4.7.1 (GCC)
configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runt
ime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass -
-enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-l
ibfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenj
peg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheo
ra --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --ena
ble-zlib

The other thing that i wan to answer is why the program take a long time to convert a portion of a file, for example: ffmpeg -i input.ape -ss 00:45:15.42 -t 00:00:15.25 output.wav

the program stay a long time without do anything and then start to convert. I take about 2 minutes to convert 15s of audio.


#1806 Audio/video stream order reversed in remuxed VOB files avformat defect Oct 12, 2012

Summary of the bug: I am using ffmpeg to edit and remultiplex unencrypted VOB files (from a HD recorder). When copying (ie not transcoding) the streams ffmpeg ALWAYS insists on making the audio stream ID 0 and video stream ID 1 even though the input file was the other way round and it reports itself as NOT doing this.

Using the -map commands also seem to be ignored wherever they appear on the command line.

(This is a problem because I am using dvdauthor on the files and it only seems to work with VOB files with video as the first stream. Fails with infamous ERR: Cannot infer pts for VOBU if there is no audio or video and it is the first VOBU.)

How to reproduce (with any vob file 'input.vob'): % ffmpeg -i input.vob -target pal-dvd -codec copy output.vob ffmpeg version N-45279-g1a104bf Copyright (c) 2000-2012 the FFmpeg developers

built on Oct 10 2012 19:21:13 with gcc 4.7.2 (GCC)

Input #0, mpeg, from 'input.vob':

Duration: 00:01:28.15, start: 137.626044, bitrate: 2858 kb/s

Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 352x576 [SAR 24:11 DAR 4:3], 3060 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s

Output #0, dvd, to 'output.vob':

Metadata:

encoder : Lavf54.31.100 Stream #0:0: Video: mpeg2video, yuv420p, 352x576 [SAR 24:11 DAR 4:3], q=2-31

, 3060 kb/s, 25 fps, 90k tbn, 25 tbc

Stream #0:1: Audio: ac3, 48000 Hz, stereo, 256 kb/s

Stream mapping:

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

But running ffprobe on resulting 'output.vob': Input #0, mpeg, from 'output.vob':

Duration: 00:01:28.15, start: 1.000000, bitrate: 2877 kb/s

Stream #0:0[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 256 kb/s Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 352x576 [SAR 24:11 DAR 4:3], 3060 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc

Streams swapped round!


#6532 Autodetect cover art codec in mp3 avformat enhancement Jul 18, 2017

I'm trying to extract a part of a song but I have a problem with a specific song: test.mp3.

% ffmpeg -i test.mp3 -ss 7 -t 15 output.mp3
ffmpeg version 3.3.2-1~16.04.york1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version='1~16.04.york1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --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-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
[mp3 @ 0x55e94c9bc7c0] Skipping 191 bytes of junk at 124672.
[mjpeg @ 0x55e94c9bfc80] No JPEG data found in image
[mp3 @ 0x55e94c9bc7c0] decoding for stream 1 failed
[mp3 @ 0x55e94c9bc7c0] Estimating duration from bitrate, this may be inaccurate
[mp3 @ 0x55e94c9bc7c0] Could not find codec parameters for stream 1 (Video: mjpeg, none(bt470bg/unknown/unknown)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mp3, from 'test.mp3':
  Metadata:
    asncomp         : 0
    asnalbum        : ¨äÂæ@˜Â@¨ÞäÚÊÜèÂ
    asnimg          : ÒÚÂÎÊæ^rr^b`dbbdfbr`d``\ÎÒÌ
    title           : Como Un Huracan
    artist          : Colon, Willie & Ruben Blades
    publisher       : Sony International
    genre           : Salsa
    album           : Tras La Tormenta
    album_artist    : Willie Colón
    track           : 2
    composer        : Rubén Blades
    date            : 1995
  Duration: 00:04:57.14, start: 0.000000, bitrate: 233 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 229 kb/s
    Stream #0:1: Video: mjpeg, none(bt470bg/unknown/unknown), 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Other
Stream mapping:
  Stream #0:1 -> #0:0 (mjpeg (native) -> png (native))
  Stream #0:0 -> #0:1 (mp3 (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
[mjpeg @ 0x55e94c9c4900] No JPEG data found in image
Error while decoding stream #0:1: Invalid data found when processing input
Too many packets buffered for output stream 0:1.
[libmp3lame @ 0x55e94c9ec8a0] 4 frames left in the queue on closing
Conversion failed!

I noticed that when modifying any metadata in Rhythmbox and then run the command again the problem does not occur.

In this case I changed the artist metadata: Change "&"" by "y"

Before: Colon, Willie & Ruben Blades After: Colon, Willie y Ruben Blades

To differentiate from "test.mp3" I created a copy of this called "ok.mp3" with the changed artist metadata.

% ffmpeg -i ok.mp3 -ss 7 -t 15 output.mp3
ffmpeg version 3.3.2-1~16.04.york1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version='1~16.04.york1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --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-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Input #0, mp3, from 'ok.mp3':
  Metadata:
    artist          : Colon, Willie y Ruben Blades
    title           : Como Un Huracan
    album           : Tras La Tormenta
    composer        : Rubén Blades
    track           : 2
    genre           : Salsa
    publisher       : Sony International
    album_artist    : Willie Colón
    date            : 1995
  Duration: 00:05:08.14, start: 0.000000, bitrate: 224 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 221 kb/s
    Stream #0:1: Video: bmp, bgr24, 200x200, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      comment         : Other
Stream mapping:
  Stream #0:1 -> #0:0 (bmp (native) -> png (native))
  Stream #0:0 -> #0:1 (mp3 (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
[mp3 @ 0x556668499260] Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
Output #0, mp3, to 'output.mp3':
  Metadata:
    TPE1            : Colon, Willie y Ruben Blades
    TIT2            : Como Un Huracan
    TALB            : Tras La Tormenta
    TCOM            : Rubén Blades
    TRCK            : 2
    TCON            : Salsa
    TPUB            : Sony International
    TPE2            : Willie Colón
    TDRC            : 1995
    TSSE            : Lavf57.71.100
    Stream #0:0: Video: png, rgb24, 200x200, q=2-31, 200 kb/s, 90k fps, 90k tbn, 90k tbc
    Metadata:
      comment         : Other
      encoder         : Lavc57.89.100 png
    Stream #0:1: Audio: mp3 (libmp3lame), 44100 Hz, stereo, s16p
    Metadata:
      encoder         : Lavc57.89.100 libmp3lame
[mp3 @ 0x556668499260] No packets were sent for some of the attached pictures./s speed=14.9x    
frame=    0 fps=0.0 q=0.0 Lsize=     236kB time=00:00:15.02 bitrate= 128.5kbits/s speed=12.9x    
video:0kB audio:235kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.196890%

#5317 Avid MXF audio issues - "OPAtom misinterpreted as OP1a" avformat defect Mar 9, 2016

(Copy of issue I emailed to ffmpeg-devel mailing list)

I have an MXF file (originally generated from Avid Media Composer I believe) on which ffmpeg fails to correctly read the second audio track.

The file is called test_Stereo.mxf and has two audio channels: on 0:a:0 there are 5s of tone, then 5s silence, then 5s tone, then 5s silence, while 0:a:1 is reversed (5s of silence then 5s of tone). Outputting 0:a:0 gives a 1kHz tone as expected but 0:a:1 gives a file that is shorter than expected and sounds garbled (like a fax machine or modem connecting).

Other programs (eg. Media Composer, QuickTime? with the Calibrated{Q} MXF components, Adobe Premiere) play the original file correctly with a 1kHz tone on both tracks.

I have just uploaded test_Stereo.mxf (315MB) to ftp://upload.ffmpeg.org as requested, and include the output of the latest snapshot build below.

Best regards,

-Rolf

PS. Thanks for all your hard work on such a fantastic tool !

% ffmpeg -i test_Stereo.mxf -map 0:a:1 out0a1.mp3

ffmpeg version N-79129-gb3dc51d-tessus Copyright (c) 2000-2016 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-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --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      55. 19.100 / 55. 19.100
  libavcodec     57. 27.101 / 57. 27.101
  libavformat    57. 28.100 / 57. 28.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 39.100 /  6. 39.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mxf @ 0x7fa059805600] OPAtom misinterpreted as OP1a? KLV for edit unit 0 extending into next edit unit is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[mxf @ 0x7fa059805600] 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)
...
[mxf @ 0x7fa059805600] OPAtom misinterpreted as OP1a? KLV for edit unit 7 extending into next edit unit is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[mxf @ 0x7fa059805600] 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)
Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono
Input #0, mxf, from '/Users/rolf/Desktop/FFmpeg Audio 160216-051529-364/test_Stereo.mxf':
  Metadata:
    product_uid     : 60eb8921-2a02-4406-891c-d9b6a6ae0645
    uid             : e96bf281-cfee-11e5-86f8-2837370a7ed1
    generation_uid  : e96bf282-cfee-11e5-9684-2837370a7ed1
    company_name    : Avid Technology, Inc.
    product_name    : MSP_MXF DLL
    product_version : 1.11.0
    application_platform: Mac OS X
    modification_date: 2016-02-10 12:07:53
    material_package_umid: 0x060A2B340101010501010D1213B116D390699A02287405A568F82837370A7ED1
    timecode        : 01:00:00:00
  Duration: 00:00:20.00, start: 0.000000, bitrate: 126175 kb/s
    Stream #0:0: Video: dnxhd, yuv422p(bt709/unknown/unknown), 1920x1080, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Metadata:
      file_package_umid: 0x060A2B340101010501010D1213F2CA4590699A02287405A58AE62837370A7ED1
      file_package_name: Source Package
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D1213F2CA4590699A02287405A58AE62837370A7ED1
      file_package_name: Source Package
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D1213F2CA4590699A02287405A58AE62837370A7ED1
      file_package_name: Source Package
Output #0, mp3, to '/Users/rolf/Desktop/out.mp3':
  Metadata:
    product_uid     : 60eb8921-2a02-4406-891c-d9b6a6ae0645
    uid             : e96bf281-cfee-11e5-86f8-2837370a7ed1
    generation_uid  : e96bf282-cfee-11e5-9684-2837370a7ed1
    company_name    : Avid Technology, Inc.
    product_name    : MSP_MXF DLL
    product_version : 1.11.0
    application_platform: Mac OS X
    modification_date: 2016-02-10 12:07:53
    material_package_umid: 0x060A2B340101010501010D1213B116D390699A02287405A568F82837370A7ED1
    timecode        : 01:00:00:00
    TSSE            : Lavf57.28.100
    Stream #0:0: Audio: mp3 (libmp3lame), 48000 Hz, mono, s32p (24 bit)
    Metadata:
      file_package_umid: 0x060A2B340101010501010D1213F2CA4590699A02287405A58AE62837370A7ED1
      file_package_name: Source Package
      encoder         : Lavc57.27.101 libmp3lame
Stream mapping:
  Stream #0:2 -> #0:0 (pcm_s24le (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Multiple frames in a packet from stream 2
[pcm_s24le @ 0x7fa05980d400] Invalid PCM packet, data has size 1 but at least a size of 3 was expected
Error while decoding stream #0:2: Invalid data found when processing input
[pcm_s24le @ 0x7fa05980d400] Invalid PCM packet, data has size 1 but at least a size of 3 was expected
Error while decoding stream #0:2: Invalid data found when processing input
[pcm_s24le @ 0x7fa05980d400] Invalid PCM packet, data has size 1 but at least a size of 3 was expected
Error while decoding stream #0:2: Invalid data found when processing input
[pcm_s24le @ 0x7fa05980d400] Invalid PCM packet, data has size 1 but at least a size of 3 was expected
Error while decoding stream #0:2: Invalid data found when processing input
[pcm_s24le @ 0x7fa05980d400] Invalid PCM packet, data has size 1 but at least a size of 3 was expected
Error while decoding stream #0:2: Invalid data found when processing input
[pcm_s24le @ 0x7fa05980d400] Invalid PCM packet, data has size 1 but at least a size of 3 was expected
Error while decoding stream #0:2: Invalid data found when processing input
[pcm_s24le @ 0x7fa05980d400] Invalid PCM packet, data has size 1 but at least a size of 3 was expected
Error while decoding stream #0:2: Invalid data found when processing input
[pcm_s24le @ 0x7fa05980d400] Invalid PCM packet, data has size 1 but at least a size of 3 was expected
Error while decoding stream #0:2: Invalid data found when processing input
[mxf @ 0x7fa059805600] OPAtom misinterpreted as OP1a? KLV for edit unit 8 extending into next edit unit is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[mxf @ 0x7fa059805600] 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)
[pcm_s24le @ 0x7fa05980d400] Invalid PCM packet, data has size 1 but at least a size of 3 was expected
Error while decoding stream #0:2: Invalid data found when processing input
[mxf @ 0x7fa059805600] OPAtom misinterpreted as OP1a? KLV for edit unit 9 extending into next edit unit is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[mxf @ 0x7fa059805600] 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)
[pcm_s24le @ 0x7fa05980d400] Invalid PCM packet, data has size 1 but at least a size of 3 was expected
Error while decoding stream #0:2: Invalid data found when processing input
...
[mxf @ 0x7fa059805600] OPAtom misinterpreted as OP1a? KLV for edit unit 498 extending into next edit unit is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[mxf @ 0x7fa059805600] 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)
[pcm_s24le @ 0x7fa05980d400] Invalid PCM packet, data has size 1 but at least a size of 3 was expected
Error while decoding stream #0:2: Invalid data found when processing input
size=      45kB time=00:00:05.66 bitrate=  65.3kbits/s speed=32.4x
video:0kB audio:44kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.648207%

#2398 Bad timestamps when remuxing h264 wtv to ts undetermined defect Mar 24, 2013

Summary of the bug:

How to reproduce:

ffmpeg -i input.wtv -vcodec copy -acodec copy -map 0:a -map 0:v -f mpegts output.ts

Command line : See attached log. Too large to paste.

#1993 Badly interleaved partial AVI file causes audio/video desync avformat defect Dec 5, 2012

Reproducible with streams.videolan.org/issues/ffmpeg/yet-another-broken-interleaved-avi.avi and

dd if=yet-another-broken-interleaved-avi.avi of=test.avi bs=1048576 count=200

The problem description is exactly the same as #333, except with partial files (the complete test file as linked above works fine, just cutting it makes it fail).

Just like with bug #333 (before it was fixed), it causes desync after some time of normal playback in ffplay/mplayer, and it works correctly with mplayer -demuxer avi.

Compared to playback of the complete file, the following ffplay message is missing:

[avi @ 0x7f94980008c0] non-interleaved AVI

which possibly means that the demuxer fails to recognize the file as badly interleaved if the trailing part of the file is missing.


#1582 Banding/discoloration in darker gradients when converting to rgb24 swscale defect Jul 28, 2012

Summary: I've discovered that when I'm converting videos to the rgb24 format (in attempting to use the libx264rgb codec) I get banding and discoloration in darker areas with (color) gradients. To eliminate the possibility that it was the codec (as opposed to the format filter) causing the problem, I did some tests converting the video to .png images. Specifically, I found that: yuv420p10le(source video) -- looks nice yuv420p10le -> rgb24 -- banding/discoloration yuv420p10le -> rgb48be -- looks nice yuv420p10le -> rgb48be -> rgb24 -- banding/discoloration yuv420p10le -> yuv420p -> rgb24 -- banding but no discoloration

I assume that the banding in the yuv420p example is simply a result of the reduced colorspace, but I don't see why any of the other conversions should result in any visible changes. I'm using one of Zeranoe's windows builds (win7 64bit) so I don't know if this happens on Linux. Log file output for the yuv420p10le->rgb24 example follows:

ffmpeg started on 2012-07-28 at 10:56:16
Report written to "ffmpeg-20120728-105616.log"
Command line:
ffmpeg -i vtst0.mp4 -map 0:0 -vsync 0 -report -filter:v "format=rgb24" "tst%03d.png"
ffmpeg version N-42704-g85761ef Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 20 2012 20:39:19 with gcc 4.7.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 42.100 / 54. 42.100
  libavformat    54. 18.100 / 54. 18.100
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  2.100 /  3.  2.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000002e2ec0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000002e2ec0] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000002e2ec0] File position before avformat_find_stream_info() is 7074306
[h264 @ 00000000002f40a0] no picture 
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000002e2ec0] All info found
rfps: 23.750000 0.011875
rfps: 23.833333 0.004757
rfps: 23.916667 0.000859
rfps: 24.000000 0.000180
rfps: 24.083333 0.002721
rfps: 24.166667 0.008482
rfps: 24.250000 0.017461
rfps: 47.666667 0.019029
rfps: 47.750000 0.009623
rfps: 47.833333 0.003436
rfps: 47.916667 0.000469
rfps: 48.000000 0.000722
rfps: 48.083333 0.004194
rfps: 48.166667 0.010885
rfps: 23.976024 0.000046
rfps: 47.952048 0.000183
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000002e2ec0] File position after avformat_find_stream_info() is 1243950
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'vtst0.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.18.100
  Duration: 00:00:10.09, start: 0.000000, bitrate: 5607 kb/s
    Stream #0:0(und), 41, 1/1000: Video: h264 (High 10) (avc1 / 0x31637661), yuv420p10le, 1920x1080, 5604 kb/s, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      handler_name    : VideoHandler
[buffer @ 0000000004ba0f20] Setting entry with key 'video_size' to value '1920x1080'
[buffer @ 0000000004ba0f20] Setting entry with key 'pix_fmt' to value '72'
[buffer @ 0000000004ba0f20] Setting entry with key 'time_base' to value '1/1000'
[buffer @ 0000000004ba0f20] Setting entry with key 'pixel_aspect' to value '0/1'
[buffer @ 0000000004ba0f20] Setting entry with key 'sws_param' to value 'flags=2'
[buffer @ 0000000004ba0f20] Setting entry with key 'frame_rate' to value '24000/1001'
[graph 0 input from stream 0:0 @ 0000000004d73980] w:1920 h:1080 pixfmt:yuv420p10le tb:1/1000 fr:24000/1001 sar:0/1 sws_param:flags=2
[Parsed_format_0 @ 0000000004d738e0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_format_0'
[auto-inserted scaler 0 @ 0000000004d73b20] w:1920 h:1080 fmt:yuv420p10le sar:0/1 -> w:1920 h:1080 fmt:rgb24 sar:0/1 flags:0x4
[h264 @ 00000000002f40a0] detected 2 logical cores
Output #0, image2, to 'tst%03d.png':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.18.100
    Stream #0:0(und), 0, 1/90000: Video: png, rgb24, 1920x1080, q=2-31, 200 kb/s, 90k tbn, 23.98 tbc
    Metadata:
      handler_name    : VideoHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> png)
Press [q] to stop, [?] for help
[h264 @ 00000000003aa100] no picture 
DTS -42, next:-62146 st:0 invalid dropping
[h264 @ 0000000004cdbf00] no picture 
frame=    3 fps=0.0 q=0.0 size=       0kB time=00:00:00.12 bitrate=   0.0kbits/s    
frame=    5 fps=3.1 q=0.0 size=       0kB time=00:00:00.20 bitrate=   0.0kbits/s    
frame=    7 fps=3.0 q=0.0 size=       0kB time=00:00:00.29 bitrate=   0.0kbits/s    

...
 
frame=  237 fps=2.6 q=0.0 size=       0kB time=00:00:09.88 bitrate=   0.0kbits/s    
No more inputs to read from, finishing.
[output stream 0:0 @ 0000000004d73a00] EOF on sink link output stream 0:0:default.
frame=  242 fps=2.6 q=0.0 Lsize=       0kB time=00:00:10.26 bitrate=   0.0kbits/s    

video:276218kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000000%
[AVIOContext @ 000000000216fd80] Statistics: 4336059 bytes read, 2 seeks

#3661 Blu-Ray stream changes audio from ac-3 to dts undetermined defect May 22, 2014

Summary of the bug: Attempting to view the Blu-Ray "Defiance" (UK release) using mplayer built against ffmpeg git commit f932e5f7169282daaa06b08500d2c632cf70e14e results in missing audio after the first few seconds, with multiple errors on the console. Extracting the audio stream to a separate file and playing with ffplay gives the same result:

ffplay version N-40092-gf932e5f Copyright (c) 2003-2014 the FFmpeg developers
  built on May 22 2014 10:10:57 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --enable-ffplay
  libavutil      52. 86.100 / 52. 86.100
  libavcodec     55. 63.100 / 55. 63.100
  libavformat    55. 40.100 / 55. 40.100
  libavdevice    55. 13.101 / 55. 13.101
  libavfilter     4.  5.100 /  4.  5.100
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
[ac3 @ 0x7fd23c0008c0] Estimating duration from bitrate, this may be inaccurate
Input #0, ac3, from '/tmp/defiance_ac3.dump':
  Duration: 00:03:07.25, start: 0.000000, bitrate: 448 kb/s
    Stream #0:0: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
[ac3 @ 0x7fd23c005be0] frame sync errorvq=    0KB sq=    0B f=0/0  
[ac3 @ 0x7fd23c005be0] new coupling strategy must be present in block 0
[ac3 @ 0x7fd23c005be0] error decoding the audio block
[ac3 @ 0x7fd23c005be0] frame sync errorvq=    0KB sq=    0B f=0/0  
[ac3 @ 0x7fd23c005be0] Additional substreams is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[ac3 @ 0x7fd23c005be0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
[ac3 @ 0x7fd23c005be0] unsupported frame type : skipping frame

Complete ffplay command output is here: http://pastebin.com/y24PTdFD

The video looks OK and the other audio streams on the Blu-Ray play without problems, so this doesn't seem to be a problem with failed AACS decryption. I will attach the start of the AC-3 audio stream in question to illustrate the problem.


#2009 Bogus library dependencies (e.g. on SDL) build system defect Dec 10, 2012

Summary of the bug: pkg-config files contain unneeded dependencies (e.g. libavcodec.pc contains -lSDL)

How to reproduce:

% grep SDL /usr/lib/pkgconfig/libav*
/usr/lib/pkgconfig/libavcodec.pc:Libs: -L${libdir} -lavcodec -ldl -lva -lXfixes -lXext -lX11 -ljack -lasound -lSDL -lpthread -lx264 -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lmp3lame -lfdk-aac -lfaac -lass -lm -pthread -lbz2 -lz -lrt
/usr/lib/pkgconfig/libavdevice.pc:Libs: -L${libdir} -lavdevice -ldl -lva -lXfixes -lXext -lX11 -ljack -lasound -lSDL -lpthread -lx264 -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lmp3lame -lfdk-aac -lfaac -lass -lm -pthread -lbz2 -lz -lrt
/usr/lib/pkgconfig/libavfilter.pc:Libs: -L${libdir} -lavfilter -ldl -lva -lXfixes -lXext -lX11 -ljack -lasound -lSDL -lpthread -lx264 -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lmp3lame -lfdk-aac -lfaac -lass -lm -pthread -lbz2 -lz -lrt
/usr/lib/pkgconfig/libavformat.pc:Libs: -L${libdir} -lavformat -ldl -lva -lXfixes -lXext -lX11 -ljack -lasound -lSDL -lpthread -lx264 -lvorbisenc -lvorbis -logg -ltheoraenc -ltheoradec -logg -lmp3lame -lfdk-aac -lfaac -lass -lm -pthread -lbz2 -lz -lrt
% nm -A /usr/lib/libavcodec.a  | grep SDL
%

Issue is that $extralibs is generally used in the configure script for multiple modules, despite them needing different things. It causes issues for programs linking to both libavcodec/libavformat and SDL2.


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


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


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

#1069 Canon Powershot playback / conversion undetermined defect Mar 15, 2012

I get the following errors when playing or converting this file from a Canon Powershot HS100 camera:

[h264 @ 0x160f940]mb_type 33 in I slice too large at 73 58 [h264 @ 0x160f940]error while decoding MB 73 58 [h264 @ 0x160f940]concealing 1176 DC, 1176 AC, 1176 MV errors [h264 @ 0x160f940]dquant out of range (-61) at 60 4 [h264 @ 0x160f940]error while decoding MB 60 4 [h264 @ 0x160f940]concealing 7669 DC, 7669 AC, 7669 MV errors [h264 @ 0x160f940]mb_type 55 in P slice too large at 41 22 [h264 @ 0x160f940]error while decoding MB 41 22 [h264 @ 0x160f940]concealing 5528 DC, 5528 AC, 5528 MV errors [h264 @ 0x160f940]P sub_mb_type 12 out of range at 12 13 [h264 @ 0x160f940]error while decoding MB 12 13 [h264 @ 0x160f940]concealing 6637 DC, 6637 AC, 6637 MV errors [h264 @ 0x160f940]out of range intra chroma pred mode at 65 8 [h264 @ 0x160f940]error while decoding MB 65 8 [h264 @ 0x160f940]concealing 7184 DC, 7184 AC, 7184 MV errors frame= 0 fps= 0 q=0.0 size= 10kB time=10000000000.00 bitrate= 0.0kbit [h264 @ 0x160f940]dquant out of range (-30) at 70 7 [h264 @ 0x160f940]error while decoding MB 70 7 [h264 @ 0x160f940]concealing 7299 DC, 7299 AC, 7299 MV errors [h264 @ 0x160f940]AVC: Consumed only 97276 bytes instead of 217112 [h264 @ 0x160f940]cbp too large (4294967295) at 35 41 [h264 @ 0x160f940]error while decoding MB 35 41 [h264 @ 0x160f940]concealing 3254 DC, 3254 AC, 3254 MV errors [h264 @ 0x160f940]mb_type 50 in P slice too large at 85 63 [h264 @ 0x160f940]error while decoding MB 85 63 [h264 @ 0x160f940]concealing 564 DC, 564 AC, 564 MV errors

Not sure if this is a bug as the file plays with "colored blocks" in Media Player Home Cinema, Quicktime and Windows Media Player but does play properly in the included Viewer/Editor? supplied by Canon which uses Lead Tools.


#6561 Certain DTS in WAV can't be recognised avformat defect Aug 2, 2017

Summary of the bug: The attachments are two DTS files. One is 2ch/44.1KHz, the other is 2ch/88.2KHz. FFmpeg fails to recognise either of them. They can be correctly decoded by VLC and MPC-BE. How to reproduce:

2ch/44.1KHz

ffmpeg -i /Volumes/RamDisk/MUSIC_441_1234.wav -f null -
ffmpeg version 3.3.git Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.1.0 (clang-802.0.42)
  configuration: --optflags=-Ofast --prefix=/usr/local --extra-cflags='-march=haswell -mtune=intel -m64 -minline-all-stringops -fomit-frame-pointer -fforce-addr -finline-functions -funit-at-a-time -funroll-loops -ffunction-sections -fdata-sections -Ofast -pipe -fomit-frame-pointer -ftree-vectorize' --target-os=darwin --arch=x86_64 --cpu=haswell --disable-runtime-cpudetect --disable-debug --disable-opencl --disable-avdevice --disable-ffplay --disable-ffprobe --disable-postproc --disable-ffserver --disable-devices --disable-avresample --disable-indev=qtkit --disable-doc --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gpl --enable-nonfree
  libavutil      55. 69.100 / 55. 69.100
  libavcodec     57.102.100 / 57.102.100
  libavformat    57. 76.100 / 57. 76.100
  libavfilter     6. 95.100 /  6. 95.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from '/Volumes/RamDisk/MUSIC_441_1234.wav':
  Metadata:
    encoder         : Lavf57.76.100
  Duration: 00:00:07.01, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.76.100
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      encoder         : Lavc57.102.100 pcm_s16le
size=N/A time=00:00:07.01 bitrate=N/A speed=2.13e+03x    
video:0kB audio:1208kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

2ch/88.2KHz

ffmpeg -i /Volumes/RamDisk/MUSIC_882_1234.wav -f null -
ffmpeg version 3.3.git Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.1.0 (clang-802.0.42)
  configuration: --optflags=-Ofast --prefix=/usr/local --extra-cflags='-march=haswell -mtune=intel -m64 -minline-all-stringops -fomit-frame-pointer -fforce-addr -finline-functions -funit-at-a-time -funroll-loops -ffunction-sections -fdata-sections -Ofast -pipe -fomit-frame-pointer -ftree-vectorize' --target-os=darwin --arch=x86_64 --cpu=haswell --disable-runtime-cpudetect --disable-debug --disable-opencl --disable-avdevice --disable-ffplay --disable-ffprobe --disable-postproc --disable-ffserver --disable-devices --disable-avresample --disable-indev=qtkit --disable-doc --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gpl --enable-nonfree
  libavutil      55. 69.100 / 55. 69.100
  libavcodec     57.102.100 / 57.102.100
  libavformat    57. 76.100 / 57. 76.100
  libavfilter     6. 95.100 /  6. 95.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from '/Volumes/RamDisk/MUSIC_882_1234.wav':
  Metadata:
    encoder         : Lavf57.76.100
  Duration: 00:00:07.01, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.76.100
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      encoder         : Lavc57.102.100 pcm_s16le
size=N/A time=00:00:07.01 bitrate=N/A speed=2.22e+03x    
video:0kB audio:1208kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown}}}

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


#6370 Change in rotate metadata treatment between ffmpeg 3.2 and ffmpeg 3.3 ffmpeg defect May 4, 2017

Hello

I'm not sure if this is a deliberate change, but given a h264 video with rotate=90 in its meta data, when you then rotated the video using the command below, the output video used to have no rotate metadata. As of 3.3, it retains the metadata which makes the output display incorrectly.

Summary of the bug: How to reproduce:

ffmpeg version 3.2.4:

ffmpeg -noautorotate -i original.mp4 -metadata:s:v rotate=0 -vf scale=640:480,transpose=clock  -f mp4 -y rotated.mp4
... output all ok ...

ffprobe -i rotated.mp4
... snip ...
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rotated.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.56.101
  Duration: 00:00:08.24, start: 0.000000, bitrate: 1298 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 480x640, 1181 kb/s, 14.92 fps, 14.92 tbr, 11456 tbn, 29.83 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 120 kb/s (default)
    Metadata:
      handler_name    : SoundHandler

ffmpeg version 3.3:

ffmpeg -noautorotate -i original.mp4 -metadata:s:v rotate=0 -vf scale=640:480,transpose=clock  -f mp4 -y rotated.mp4
... all looks ok ...

ffprobe  -i rotated.mp4
... snip ...
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'rotated.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.71.100
  Duration: 00:00:08.24, start: 0.000000, bitrate: 1299 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 480x640, 1182 kb/s, 14.92 fps, 14.92 tbr, 11456 tbn, 29.83 tbc (default)
    Metadata:
      rotate          : 90                                  <---- DIFFERENCE HERE
      handler_name    : VideoHandler
    Side data:
      displaymatrix: rotation of -90.00 degrees
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 120 kb/s (default)
    Metadata:
      handler_name    : SoundHandler

Note the difference in the metadata in the second output.

I've verified that HEAD appears to give the same result at 3.3

Is this a bug? Or have we been using ffmpeg incorrectly?

Our goal is to resize videos and transpose them so they are the same way up (we use ffprobe to check their incoming rotation, and then apply the appropriate transpose flags)


#6675 Cineform decoder distorts lower 8 pixels on 1080 video avcodec defect Sep 20, 2017

Summary of the bug:

The lower 8 pixels of 1080 height video distorts when decoding Cineform video.

This does not occur when tested against 1088 height so may be related to 1080 not being divisible by 16.

This is also visible when replayed in ffplay.

The same source file does not show the same errors when replayed in Windows Media Player, using the installable GoPro? Cineform codecs.

I've been able to see this on multiple clips. All generated from Adobe Premier Pro CC.

How to reproduce:

% ffmpeg -i input.mov -vcodec rawvideo -pix_fmt bgr24 output.mov
ffmpeg version N-87327-g18821e3 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)

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

Hi

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

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

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

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

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


#1717 Concat filter can not join individual images avfilter defect Sep 4, 2012

using latest ffmepg build from http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20120903-git-5d55830-win32-static.7z

execute following command ffmpeg -i a1.jpg -i a2.jpg -i a3.jpg -filter_complex "[0:0] [1:0] [2:0] concat=n=3:v=1:a=0" join.mp4

to join three jpeg files to one video, But the generated mp4 file only contain two frames.

ffmpeg -i join.mp4 test%d.jpg

only output test1.jpg and test2.jpg

best regards


#6472 Conversion failed! by Too many packets buffered for output stream 0:0. in wmv undetermined defect Jun 20, 2017

Thank you for the good commands.

I have Conversion failed in wmv. Its source is http://www.encode-service.jp/sample/000_3M_60fps_CBR.wmv.

ffmpeg -i 000_3M_60fps_CBR.wmv -f null -
ffmpeg version N-86499-g1edbf5e20c Copyright (c) 2000-2017 the FFmpeg developers
  built with clang version 3.9.1 (tags/RELEASE_391/final)
  configuration: --prefix=/sw --disable-shared --enable-static --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --optflags=-Ofast --cc=clang-mp-3.9 --cxx=clang++-mp-3.9 --extra-cflags=' -march=native -I/sw/include -I/opt/local/include ' --extra-ldflags=' -L/sw/lib -L/opt/local/lib -fopenmp' --extra-ldlibflags='-L/sw/lib -L/opt/local/lib -static' --target-os=darwin --arch=x86_64 --cpu=corei7-avx --enable-avresample --enable-libfdk-aac --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libfreetype --enable-openssl --enable-gnutls --enable-gcrypt --enable-gmp --enable-librtmp --enable-libass --enable-fontconfig --enable-libfribidi --enable-libbluray --enable-libdc1394 --enable-libmodplug --enable-lzma --enable-libx264 --enable-libx265 --enable-libzimg --enable-libvidstab --enable-libsoxr --enable-libsmbclient --enable-libcdio --enable-opengl --enable-opencl --disable-vda --pkg-config-flags=' --libs --static'
  libavutil      55. 66.100 / 55. 66.100
  libavcodec     57. 99.100 / 57. 99.100
  libavformat    57. 73.100 / 57. 73.100
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 92.100 /  6. 92.100
  libavresample   3.  6.  0 /  3.  6.  0
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, asf, from '000_3M_60fps_CBR.wmv':
  Metadata:
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: L2
    WM/WMADRCPeakReference: 32767
    WM/WMADRCAverageReference: 6147
    WMFSDKVersion   : 10.00.00.3802
    IsVBR           : 0
    title           : 動画サンプル -桜- 3Mbps 59.94fps
    copyright       : アイ・ビー・アイ株式会社
  Duration: 00:00:34.83, start: 0.000000, bitrate: 3091 kb/s
    Stream #0:0(jpn): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 640x480, 2936 kb/s, 59.94 fps, 59.94 tbr, 1k tbn, 1k tbc
    Stream #0:1(jpn): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, stereo, fltp, 64 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (wmv3 (native) -> wrapped_avframe (native))
  Stream #0:1 -> #0:1 (wmav2 (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Too many packets buffered for output stream 0:0.
Conversion failed!

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


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


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


#3369 Copying from MPEG TS to MKV fails with "Can't write packet with unknown timestamp" undetermined defect Feb 3, 2014

When copying from a DVB recording of a channel, to change the container type from MPEG TS to Matroska, the copy aborts as soon as it encounters a missing timestamp with the message:

"Can't write packet with unknown timestamp"

The equivalent operation to change the container to MP4 merely reports a warning message and continues encoding to the end of the file:

"pts has no value"

How to reproduce:

% ffmpeg-2014-02-03 -y  -i TestFiles/BBC3HD_Sherlock_Cut.mpg -vcodec copy -acodec copy  -map 0:0 -map 0:15 -map 0:1 test.mkv
ffmpeg version 2.1.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Feb  3 2014 17:36:04 with gcc 4.3.2 (Debian 4.3.2-1.1)
  configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --disable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --disable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libfreetype --disable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis --enable-libzvbi --extra-cflags='-I/home/justin/ffmpeg/x264-2014-01-04/ -I/home/justin/ffmpeg/xvidcore-2014-01-04/src/ -I/home/justin/ffmpeg/libogg-1.3.1/include -I/home/justin/ffmpeg/libtheora-1.1.1/include -I/home/justin/ffmpeg/libvorbis-1.3.3/include -I/home/justin/ffmpeg/libvpx-2014-01-12/libvpx' --extra-ldflags='-L/home/justin/ffmpeg/x264-2014-01-04/ -L/home/justin/ffmpeg/xvidcore-2014-01-04/build/generic/=build/ -L/home/justin/ffmpeg/libogg-1.3.1/src/.libs/ -L/home/justin/ffmpeg/libtheora-1.1.1/lib/.libs/ -L/home/justin/ffmpeg/libvorbis-1.3.3/lib/.libs/ -L/home/justin/ffmpeg/libvpx-2014-01-12/libvpx' --extra-libs=-ldl
  libavutil      52. 63.100 / 52. 63.100
  libavcodec     55. 49.101 / 55. 49.101
  libavformat    55. 29.100 / 55. 29.100
  libavdevice    55.  7.100 / 55.  7.100
  libavfilter     4.  1.102 /  4.  1.102
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[h264 @ 0x93bdc00] non-existing PPS referenced
[h264 @ 0x93bdc00] non-existing PPS 0 referenced
[h264 @ 0x93bdc00] decode_slice_header error
[h264 @ 0x93bdc00] no frame!
[mpegts @ 0x93b9de0] Stream #3: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x93b9de0] Stream #4: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x93b9de0] Stream #5: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x93b9de0] Stream #6: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x93b9de0] Stream #7: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x93b9de0] Stream #8: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x93b9de0] Stream #9: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x93b9de0] Stream #10: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x93b9de0] Stream #11: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x93b9de0] Stream #12: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x93b9de0] Stream #13: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x93b9de0] Stream #14: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x93b9de0] Stream #16: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x93b9de0] Stream #17: not enough frames to estimate rate; consider increasing probesize
[NULL @ 0x93bf520] start time is not set in estimate_timings_from_pts
[NULL @ 0x93bfd80] start time is not set in estimate_timings_from_pts
[NULL @ 0x93c05e0] start time is not set in estimate_timings_from_pts
[NULL @ 0x93c16e0] start time is not set in estimate_timings_from_pts
[NULL @ 0x93c1f40] start time is not set in estimate_timings_from_pts
[NULL @ 0x93d48e0] start time is not set in estimate_timings_from_pts
[NULL @ 0x93d5100] start time is not set in estimate_timings_from_pts
[NULL @ 0x93d5960] start time is not set in estimate_timings_from_pts
[NULL @ 0x93d61c0] start time is not set in estimate_timings_from_pts
[NULL @ 0x93d6a20] start time is not set in estimate_timings_from_pts
[NULL @ 0x93d72c0] start time is not set in estimate_timings_from_pts
[NULL @ 0x93d8400] start time is not set in estimate_timings_from_pts
[NULL @ 0x93d8d00] start time is not set in estimate_timings_from_pts
[mpegts @ 0x93b9de0] PES packet size mismatch
    Last message repeated 1 times
[mpegts @ 0x93b9de0] Could not find codec parameters for stream 3 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x93b9de0] Could not find codec parameters for stream 4 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x93b9de0] Could not find codec parameters for stream 5 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x93b9de0] Could not find codec parameters for stream 7 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x93b9de0] Could not find codec parameters for stream 8 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x93b9de0] Could not find codec parameters for stream 9 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x93b9de0] Could not find codec parameters for stream 10 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x93b9de0] Could not find codec parameters for stream 11 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x93b9de0] Could not find codec parameters for stream 12 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x93b9de0] Could not find codec parameters for stream 13 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x93b9de0] Could not find codec parameters for stream 14 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x93b9de0] Could not find codec parameters for stream 16 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x93b9de0] Could not find codec parameters for stream 17 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'TestFiles/BBC3HD_Sherlock_Cut.mpg':
  Duration: 00:00:14.26, start: 39086.002622, bitrate: 11765 kb/s
  Program 1 
    Stream #0:0[0x15e0]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x15e2](NAR): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:2[0x15e3](eng,eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250
    Stream #0:3[0xf06]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:4[0xf07]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:5[0xf09]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:6[0x15e4](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:7[0xf00]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:8[0xf01]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:9[0xf02]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:10[0xf03]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:11[0xf04]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:12[0x911]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:13[0x912]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:14[0x913]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:15[0x15e1](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:16[0x15e5]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:17[0x15e6]: Unknown: none ([5][0][0][0] / 0x0005)
Output #0, matroska, to 'test.mkv':
  Metadata:
    encoder         : Lavf55.29.100
    Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 1k tbn, 90k tbc
    Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, 192 kb/s
    Stream #0:2(NAR): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, 256 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:15 -> #0:1 (copy)
  Stream #0:1 -> #0:2 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x93d9dc0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
[matroska @ 0x93d9dc0] Can't write packet with unknown timestamp
frame=  173 fps=0.0 q=-1.0 Lsize=    6494kB time=00:00:08.06 bitrate=6594.1kbits/s    
video:7021kB audio:395kB subtitle:0 data:0 global headers:0kB muxing overhead -12.425578%

Using '-fflags +genpts' as recommended in some other reports has no effect on the output, thus:

% ffmpeg-2014-02-03 -y -fflags +genpts -i TestFiles/BBC3HD_Sherlock_Cut.mpg -vcodec copy -acodec copy  -map 0:0 -map 0:15 -map 0:1 test.mkv

ffmpeg version 2.1.git Copyright (c) 2000-2014 the FFmpeg developers
  built on Feb  3 2014 17:36:04 with gcc 4.3.2 (Debian 4.3.2-1.1)
  configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --disable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --disable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libfreetype --disable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis --enable-libzvbi --extra-cflags='-I/home/justin/ffmpeg/x264-2014-01-04/ -I/home/justin/ffmpeg/xvidcore-2014-01-04/src/ -I/home/justin/ffmpeg/libogg-1.3.1/include -I/home/justin/ffmpeg/libtheora-1.1.1/include -I/home/justin/ffmpeg/libvorbis-1.3.3/include -I/home/justin/ffmpeg/libvpx-2014-01-12/libvpx' --extra-ldflags='-L/home/justin/ffmpeg/x264-2014-01-04/ -L/home/justin/ffmpeg/xvidcore-2014-01-04/build/generic/=build/ -L/home/justin/ffmpeg/libogg-1.3.1/src/.libs/ -L/home/justin/ffmpeg/libtheora-1.1.1/lib/.libs/ -L/home/justin/ffmpeg/libvorbis-1.3.3/lib/.libs/ -L/home/justin/ffmpeg/libvpx-2014-01-12/libvpx' --extra-libs=-ldl
  libavutil      52. 63.100 / 52. 63.100
  libavcodec     55. 49.101 / 55. 49.101
  libavformat    55. 29.100 / 55. 29.100
  libavdevice    55.  7.100 / 55.  7.100
  libavfilter     4.  1.102 /  4.  1.102
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[h264 @ 0x8549c20] non-existing PPS referenced
[h264 @ 0x8549c20] non-existing PPS 0 referenced
[h264 @ 0x8549c20] decode_slice_header error
[h264 @ 0x8549c20] no frame!
[mpegts @ 0x8545e20] Stream #3: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8545e20] Stream #4: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8545e20] Stream #5: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8545e20] Stream #6: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8545e20] Stream #7: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8545e20] Stream #8: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8545e20] Stream #9: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8545e20] Stream #10: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8545e20] Stream #11: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8545e20] Stream #12: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8545e20] Stream #13: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8545e20] Stream #14: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8545e20] Stream #16: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8545e20] Stream #17: not enough frames to estimate rate; consider increasing probesize
[NULL @ 0x854b5c0] start time is not set in estimate_timings_from_pts
[NULL @ 0x854be20] start time is not set in estimate_timings_from_pts
[NULL @ 0x854c6e0] start time is not set in estimate_timings_from_pts
[NULL @ 0x854d7a0] start time is not set in estimate_timings_from_pts
[NULL @ 0x854e000] start time is not set in estimate_timings_from_pts
[NULL @ 0x8560960] start time is not set in estimate_timings_from_pts
[NULL @ 0x85611c0] start time is not set in estimate_timings_from_pts
[NULL @ 0x8561a20] start time is not set in estimate_timings_from_pts
[NULL @ 0x8562280] start time is not set in estimate_timings_from_pts
[NULL @ 0x8562ae0] start time is not set in estimate_timings_from_pts
[NULL @ 0x8563340] start time is not set in estimate_timings_from_pts
[NULL @ 0x8564400] start time is not set in estimate_timings_from_pts
[NULL @ 0x8564d00] start time is not set in estimate_timings_from_pts
[mpegts @ 0x8545e20] PES packet size mismatch
    Last message repeated 1 times
[mpegts @ 0x8545e20] Could not find codec parameters for stream 3 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x8545e20] Could not find codec parameters for stream 4 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x8545e20] Could not find codec parameters for stream 5 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x8545e20] Could not find codec parameters for stream 7 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x8545e20] Could not find codec parameters for stream 8 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x8545e20] Could not find codec parameters for stream 9 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x8545e20] Could not find codec parameters for stream 10 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x8545e20] Could not find codec parameters for stream 11 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x8545e20] Could not find codec parameters for stream 12 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x8545e20] Could not find codec parameters for stream 13 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x8545e20] Could not find codec parameters for stream 14 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x8545e20] Could not find codec parameters for stream 16 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x8545e20] Could not find codec parameters for stream 17 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'TestFiles/BBC3HD_Sherlock_Cut.mpg':
  Duration: 00:00:14.26, start: 39086.002622, bitrate: 11765 kb/s
  Program 1 
    Stream #0:0[0x15e0]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x15e2](NAR): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:2[0x15e3](eng,eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250
    Stream #0:3[0xf06]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:4[0xf07]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:5[0xf09]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:6[0x15e4](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:7[0xf00]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:8[0xf01]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:9[0xf02]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:10[0xf03]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:11[0xf04]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:12[0x911]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:13[0x912]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:14[0x913]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:15[0x15e1](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:16[0x15e5]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:17[0x15e6]: Unknown: none ([5][0][0][0] / 0x0005)
Output #0, matroska, to 'test.mkv':
  Metadata:
    encoder         : Lavf55.29.100
    Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 1k tbn, 90k tbc
    Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, 192 kb/s
    Stream #0:2(NAR): Audio: mp2 (P[0][0][0] / 0x0050), 48000 Hz, stereo, 256 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:15 -> #0:1 (copy)
  Stream #0:1 -> #0:2 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x8565aa0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
[matroska @ 0x8565aa0] Can't write packet with unknown timestamp
frame=  173 fps=0.0 q=-1.0 Lsize=    6494kB time=00:00:08.06 bitrate=6594.1kbits/s    
video:7021kB audio:395kB subtitle:0 data:0 global headers:0kB muxing overhead -12.425578%

Example file for problem, and the related logs can be found here:

http://usenet.gerph.org/FFMPEG/Copy-BBC-HD-To-MKV-Fails/

  • BBC3HD_Sherlock_Cut.mpg
    • Example file.
  • ffmpeg-fileinfo-2014-02-03.txt
    • Output from "ffmpeg -i" from snapshot as at 2014-02-03.
  • ffmpeg-fileinfo.txt
    • Output from "ffmpeg -i" from 2.1.3.
  • ffmpeg-mkv-copy-fails-2014-02-03+genpts.txt
    • Output from "ffmpeg -fflags +genpts ... test.mkv" from snapshot as at 2014-02-03.
  • ffmpeg-mkv-copy-fails-2014-02-03.txt
    • Output from "ffmpeg ... test.mkv" from snapshot as at 2014-02-03.
  • ffmpeg-mkv-copy-fails.txt
    • Output from "ffmpeg ... test.mkv" from 2.1.3.
  • ffmpeg-mp4-copy-works-2014-02-03.txt
    • Output from "ffmpeg ... test.mp4" from snapshot as at 2014-02-03; for comparison of a working conversion.
  • ffmpeg-mp4-copy-works.txt
    • Output from "ffmpeg ... test.mp4" from 2.1.3; for comparison of a working conversion.

Tested on 2.1.1, 2.1.3 and snapshot from 2014-02-03. All fail in the manner described. The '-fflags +genpts' option has no effect on any of these versions.


#4450 Copying subtitle streams aborts w/non monotonically increasing dts undetermined defect Apr 7, 2015

Summary of the bug: Copying the subtitle streams from some mpeg files causes ffmpeg to abort with the following message (example 1 below):

[vob @ 0x9aa6860] Application provided invalid, non monotonically increasing dts to muxer in stream 2: 307990683 >= 0
av_interleaved_write_frame(): Invalid argument

If only video and audio streams are copied, then a similar message is displayed for the audio streams, but ffmpeg does NOT abort (example 2 below):

[vob @ 0x8526700] Non-monotonous DTS in output stream 0:1; previous: 331320960, current: 331319487; changing to 331320961. This may result in incorrect timestamps in the output file.

If ffmpeg.c line 679 is modified to include AVMEDIA_TYPE_SUBTITLE or line 679 is removed, then example 1 will complete the copy. ffmpeg generates the same warning as example 2 for each subtitle stream, but the resulting file appears to be fine with all subtitles intact.

This issue does not happen with ALL mpeg files and it may not be restricted to mpeg files. I've noticed it on several mpeg files where the duration is incorrectly detected. In the 2 examples below ffmpeg indicates the duration is 01:14:31.97, but the actual length is 02:15:53.30. This is confirmed by looking at the output from the successful example 2 below:

$ ffmpeg -i mpeg-COPY-VA.vob 2>&1 | grep Duration
  Duration: 02:15:53.30, start: 0.533367, bitrate: 5677 kb/s

Example 1 - copy 1 video, audio and subtitle stream - aborts:

$ ffmpeg -i mpeg.vob -map 0:0 -map 0:13 -map 0:8 -codec copy -f vob mpeg-COPY-VAS.vob
ffmpeg version N-71325-g9c37c81 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.5.1 (GCC) 20100924 (Red Hat 4.5.1-4)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-static --enable-shared --disable-debug --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-x11grab
  libavutil      54. 22.101 / 54. 22.101
  libavcodec     56. 34.100 / 56. 34.100
  libavformat    56. 30.100 / 56. 30.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 13.101 /  5. 13.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mpeg, from 'mpeg.vob':
  Duration: 01:14:31.97, start: 0.207756, bitrate: 12204 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, smpte170m), 720x480 [SAR 32:27 DAR 16:9], max. 9800 kb/s, 31.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x20]: Subtitle: dvd_subtitle
    Stream #0:2[0x21]: Subtitle: dvd_subtitle
    Stream #0:3[0x22]: Subtitle: dvd_subtitle
    Stream #0:4[0x23]: Subtitle: dvd_subtitle
    Stream #0:5[0x24]: Subtitle: dvd_subtitle
    Stream #0:6[0x25]: Subtitle: dvd_subtitle
    Stream #0:7[0x26]: Subtitle: dvd_subtitle
    Stream #0:8[0x27]: Subtitle: dvd_subtitle
    Stream #0:9[0x28]: Subtitle: dvd_subtitle
    Stream #0:10[0x29]: Subtitle: dvd_subtitle
    Stream #0:11[0x2a]: Subtitle: dvd_subtitle
    Stream #0:12[0x2b]: Subtitle: dvd_subtitle
    Stream #0:13[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:14[0x81]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:15[0x82]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:16[0x83]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Output #0, vob, to 'mpeg-COPY-VAS.vob':
  Metadata:
    encoder         : Lavf56.30.100
    Stream #0:0: Video: mpeg2video, yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=2-31, max. 9800 kb/s, 31.97 fps, 59.94 tbr, 90k tbn, 29.97 tbc
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), 448 kb/s
    Stream #0:2: Subtitle: dvd_subtitle
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:13 -> #0:1 (copy)
  Stream #0:8 -> #0:2 (copy)
Press [q] to stop, [?] for help
[vob @ 0x9aa6860] Application provided invalid, non monotonically increasing dts to muxer in stream 2: 307990683 >= 0
av_interleaved_write_frame(): Invalid argument
frame=88264 fps=548 q=-1.0 Lsize= 2547730kB time=01:01:21.37 bitrate=5669.3kbits/s
video:2314651kB audio:201325kB subtitle:24kB other streams:0kB global headers:0kB muxing overhead: 1.261121%
Conversion failed!

Example 2 - copy 1 video and audio stream - finishes:

$ ffmpeg -i mpeg.vob -map 0:0 -map 0:13 -codec copy -f vob mpeg-COPY-VA.vob
ffmpeg version N-71325-g9c37c81 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.5.1 (GCC) 20100924 (Red Hat 4.5.1-4)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-static --enable-shared --disable-debug --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-x11grab
  libavutil      54. 22.101 / 54. 22.101
  libavcodec     56. 34.100 / 56. 34.100
  libavformat    56. 30.100 / 56. 30.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 13.101 /  5. 13.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mpeg, from 'mpeg.vob':
  Duration: 01:14:31.97, start: 0.207756, bitrate: 12204 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, smpte170m), 720x480 [SAR 32:27 DAR 16:9], max. 9800 kb/s, 31.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x20]: Subtitle: dvd_subtitle
    Stream #0:2[0x21]: Subtitle: dvd_subtitle
    Stream #0:3[0x22]: Subtitle: dvd_subtitle
    Stream #0:4[0x23]: Subtitle: dvd_subtitle
    Stream #0:5[0x24]: Subtitle: dvd_subtitle
    Stream #0:6[0x25]: Subtitle: dvd_subtitle
    Stream #0:7[0x26]: Subtitle: dvd_subtitle
    Stream #0:8[0x27]: Subtitle: dvd_subtitle
    Stream #0:9[0x28]: Subtitle: dvd_subtitle
    Stream #0:10[0x29]: Subtitle: dvd_subtitle
    Stream #0:11[0x2a]: Subtitle: dvd_subtitle
    Stream #0:12[0x2b]: Subtitle: dvd_subtitle
    Stream #0:13[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:14[0x81]: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:15[0x82]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:16[0x83]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Output #0, vob, to 'mpeg-COPY-VA.vob':
  Metadata:
    encoder         : Lavf56.30.100
    Stream #0:0: Video: mpeg2video, yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=2-31, max. 9800 kb/s, 31.97 fps, 59.94 tbr, 90k tbn, 29.97 tbc
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), 448 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:13 -> #0:1 (copy)
Press [q] to stop, [?] for help
[vob @ 0x8526700] Non-monotonous DTS in output stream 0:1; previous: 331320960, current: 331319487; changing to 331320961. This may result in incorrect timestamps in the output file.
frame=195485 fps=458 q=-1.0 Lsize= 5651160kB time=02:15:53.29 bitrate=5678.0kbits/s
video:5135016kB audio:445886kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.258899%

Here's complete debug output for the input file used in the above examples:

$ ffmpeg -v 9 -loglevel 99 -i mpeg.vob
ffmpeg version N-71325-g9c37c81 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.5.1 (GCC) 20100924 (Red Hat 4.5.1-4)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --disable-static --enable-shared --disable-debug --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-x11grab
  libavutil      54. 22.101 / 54. 22.101
  libavcodec     56. 34.100 / 56. 34.100
  libavformat    56. 30.100 / 56. 30.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 13.101 /  5. 13.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'mpeg.vob'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file mpeg.vob.
Successfully parsed a group of options.
Opening an input file: mpeg.vob.
[mpeg @ 0x825d2c0] Format mpeg probed with size=8192 and score=52
[mpeg @ 0x825d2c0] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0
[mpeg @ 0x825d2c0] probing stream 0 pp:2500
[mpeg @ 0x825d2c0] Probe with size=2012, packets=1 detected mpegvideo with score=25
[mpeg @ 0x825d2c0] probed stream 0
[mpeg @ 0x825d2c0] max_analyze_duration 5000000 reached at 5004667 microseconds
rfps: 23.916667 0.017421
rfps: 24.000000 0.011237
rfps: 60.000000 0.007633
rfps: 23.976024 0.009996
    Last message repeated 1 times
rfps: 59.940060 0.000000
    Last message repeated 1 times
[mpeg @ 0x825d2c0] After avformat_find_stream_info() pos: 0 bytes read:2871440 seeks:2 frames:750
Input #0, mpeg, from 'mpeg.vob':
  Duration: 01:14:31.97, start: 0.207756, bitrate: 12204 kb/s
    Stream #0:0[0x1e0], 122, 1/90000: Video: mpeg2video (Main), 1 reference frame, yuv420p(tv, smpte170m, left), 720x480 [SAR 32:27 DAR 16:9], 1001/60000, max. 9800 kb/s, 31.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x20], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:2[0x21], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:3[0x22], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:4[0x23], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:5[0x24], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:6[0x25], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:7[0x26], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:8[0x27], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:9[0x28], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:10[0x29], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:11[0x2a], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:12[0x2b], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:13[0x80], 154, 1/90000: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:14[0x81], 154, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:15[0x82], 154, 1/90000: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:16[0x83], 154, 1/90000: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0x825cae0] Statistics: 2871440 bytes read, 2 seek

#6255 Corrupt .flv file segfaults ffprobe (-print_format json) -show_streams $filename ffprobe defect Mar 23, 2017

corrupt.flv (File attached)

00000000  46 4c 56 01 30 00 00 00  09 30 30 30 30 09 00 00  |FLV.0....0000...|
00000010  30 30 30 30 30 30 30 30  17 00 30 30 30 01 30 30  |00000000..000.00|
00000020  30 ff e1 00 0a 30 30 30  30 30 30 30 30 09 00 00  |0....00000000...|
00000030  13 30 30 30 30 30 30 30  27 30 30 30 30 30 30 30  |.0000000'0000000|
00000040  30 30 30 30 30 30 30 30  30 30 30 00 00 00 1e 09  |00000000000.....|
00000050  00 00 11 30 30 30 30 30  30 30 30 30 30 30 30 00  |...000000000000.|
00000060  00 00 08 e7 30 30 30 42  df e8 81 00 00 00 1c     |....000B.......|
0000006f

https://scr.meo.ws/snapshot/1490263786338886565.png

ffprobe -print_format default -show_streams $filename

GDB:

Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106     ../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) bt
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff660e99c in _IO_puts (str=0x0) at ioputs.c:36
#2  0x00000000005a5bed in writer_print_string (wctx=wctx@entry=0x3bb30b0, key=key@entry=0x2cb31b3 "chroma_location", val=0x0, flags=0) at ffprobe.c:673
#3  0x00000000005bdbe5 in show_stream (w=w@entry=0x3bb30b0, fmt_ctx=fmt_ctx@entry=0x3bb59e0, stream_idx=stream_idx@entry=0, ist=<optimized out>, in_program=in_program@entry=0) at ffprobe.c:2289
#4  0x000000000057dcd0 in show_streams (ifile=0x7fffffffe940, w=0x3bb30b0) at ffprobe.c:2436
#5  probe_file (filename=<optimized out>, wctx=0x3bb30b0) at ffprobe.c:2750
#6  main (argc=<optimized out>, argv=<optimized out>) at ffprobe.c:3397
(gdb) up 2
#2  0x00000000005a5bed in writer_print_string (wctx=wctx@entry=0x3bb30b0, key=key@entry=0x2cb31b3 "chroma_location", val=0x0, flags=0) at ffprobe.c:673
673                 wctx->writer->print_string(wctx, key, val);
(gdb) l
 668                            key, val, section->unique_name);
 669                 }
 670                 av_free(key1);
 671                 av_free(val1);
 672             } else {
*673                 wctx->writer->print_string(wctx, key, val);
 674             }
 675
 676             wctx->nb_item[wctx->level]++;
 677         }

Valgrind:

==940423== Invalid read of size 1
==940423==    at 0x4C2C1A2: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==940423==    by 0x632E99B: puts (ioputs.c:36)
==940423==    by 0x5A5BEC: writer_print_string.constprop.29 (ffprobe.c:673)
==940423==    by 0x5BDBE4: show_stream (ffprobe.c:2289)
==940423==    by 0x57DCCF: show_streams (ffprobe.c:2436)
==940423==    by 0x57DCCF: probe_file (ffprobe.c:2750)
==940423==    by 0x57DCCF: main (ffprobe.c:3397)
==940423==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==940423==
==940423==
==940423== Process terminating with default action of signal 11 (SIGSEGV)
==940423==  Access not within mapped region at address 0x0
==940423==    at 0x4C2C1A2: strlen (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==940423==    by 0x632E99B: puts (ioputs.c:36)
==940423==    by 0x5A5BEC: writer_print_string.constprop.29 (ffprobe.c:673)
==940423==    by 0x5BDBE4: show_stream (ffprobe.c:2289)
==940423==    by 0x57DCCF: show_streams (ffprobe.c:2436)
==940423==    by 0x57DCCF: probe_file (ffprobe.c:2750)
==940423==    by 0x57DCCF: main (ffprobe.c:3397)
==940423==  If you believe this happened as a result of a stack
==940423==  overflow in your program's main thread (unlikely but
==940423==  possible), you can try to increase the size of the
==940423==  main thread stack using the --main-stacksize= flag.
==940423==  The main thread stack size used in this run was 8388608.
==940423==
==940423== HEAP SUMMARY:
==940423==     in use at exit: 2,257,232 bytes in 89 blocks
==940423==   total heap usage: 225 allocs, 136 frees, 2,709,948 bytes allocated
==940423==
==940423== LEAK SUMMARY:
==940423==    definitely lost: 0 bytes in 0 blocks
==940423==    indirectly lost: 0 bytes in 0 blocks
==940423==      possibly lost: 0 bytes in 0 blocks
==940423==    still reachable: 2,257,232 bytes in 89 blocks
==940423==         suppressed: 0 bytes in 0 blocks
==940423== Rerun with --leak-check=full to see details of leaked memory
==940423==
==940423== For counts of detected and suppressed errors, rerun with: -v
==940423== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

ffprobe -print_format compact -show_streams $filename

GDB:

Program received signal SIGSEGV, Segmentation fault.
c_escape_str (dst=0x7fffffffd700, src=0x0, sep=124 '|', log_ctx=0x3bb30b0) at ffprobe.c:934
934         for (p = src; *p; p++) {
(gdb) bt
#0  c_escape_str (dst=0x7fffffffd700, src=0x0, sep=124 '|', log_ctx=0x3bb30b0) at ffprobe.c:934
#1  0x000000000059c1d2 in compact_print_str (wctx=0x3bb30b0, key=0x2cb31b3 "chroma_location", value=0x0) at ffprobe.c:1077
#2  0x00000000005a5bed in writer_print_string (wctx=wctx@entry=0x3bb30b0, key=key@entry=0x2cb31b3 "chroma_location", val=0x0, flags=0) at ffprobe.c:673
#3  0x00000000005bdbe5 in show_stream (w=w@entry=0x3bb30b0, fmt_ctx=fmt_ctx@entry=0x3bb5a90, stream_idx=stream_idx@entry=0, ist=<optimized out>, in_program=in_program@entry=0) at ffprobe.c:2289
#4  0x000000000057dcd0 in show_streams (ifile=0x7fffffffe900, w=0x3bb30b0) at ffprobe.c:2436
#5  probe_file (filename=<optimized out>, wctx=0x3bb30b0) at ffprobe.c:2750
#6  main (argc=<optimized out>, argv=<optimized out>) at ffprobe.c:3397
(gdb) l
 929      */
 930     static const char *c_escape_str(AVBPrint *dst, const char *src, const char sep, void *log_ctx)
 931     {
 932         const char *p;
 933
*934         for (p = src; *p; p++) {
 935             switch (*p) {
 936             case '\b': av_bprintf(dst, "%s", "\\b");  break;
 937             case '\f': av_bprintf(dst, "%s", "\\f");  break;
 938             case '\n': av_bprintf(dst, "%s", "\\n");  break;

Valgrind:

==214239== Invalid read of size 1
==214239==    at 0x59E48F: c_escape_str (ffprobe.c:934)
==214239==    by 0x59C1D1: compact_print_str (ffprobe.c:1077)
==214239==    by 0x5A5BEC: writer_print_string.constprop.29 (ffprobe.c:673)
==214239==    by 0x5BDBE4: show_stream (ffprobe.c:2289)
==214239==    by 0x57DCCF: show_streams (ffprobe.c:2436)
==214239==    by 0x57DCCF: probe_file (ffprobe.c:2750)
==214239==    by 0x57DCCF: main (ffprobe.c:3397)
==214239==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==214239==
==214239==
==214239== Process terminating with default action of signal 11 (SIGSEGV)
==214239==  Access not within mapped region at address 0x0
==214239==    at 0x59E48F: c_escape_str (ffprobe.c:934)
==214239==    by 0x59C1D1: compact_print_str (ffprobe.c:1077)
==214239==    by 0x5A5BEC: writer_print_string.constprop.29 (ffprobe.c:673)
==214239==    by 0x5BDBE4: show_stream (ffprobe.c:2289)
==214239==    by 0x57DCCF: show_streams (ffprobe.c:2436)
==214239==    by 0x57DCCF: probe_file (ffprobe.c:2750)
==214239==    by 0x57DCCF: main (ffprobe.c:3397)
==214239==  If you believe this happened as a result of a stack
==214239==  overflow in your program's main thread (unlikely but
==214239==  possible), you can try to increase the size of the
==214239==  main thread stack using the --main-stacksize= flag.
==214239==  The main thread stack size used in this run was 8388608.
==214239==
==214239== HEAP SUMMARY:
==214239==     in use at exit: 2,257,348 bytes in 91 blocks
==214239==   total heap usage: 229 allocs, 138 frees, 2,710,068 bytes allocated
==214239==
==214239== LEAK SUMMARY:
==214239==    definitely lost: 0 bytes in 0 blocks
==214239==    indirectly lost: 0 bytes in 0 blocks
==214239==      possibly lost: 0 bytes in 0 blocks
==214239==    still reachable: 2,257,348 bytes in 91 blocks
==214239==         suppressed: 0 bytes in 0 blocks
==214239== Rerun with --leak-check=full to see details of leaked memory
==214239==
==214239== For counts of detected and suppressed errors, rerun with: -v
==214239== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Segmentation fault

ffprobe -print_format json -show_streams $filename

GDB:

Program received signal SIGSEGV, Segmentation fault.
json_print_item_str (key=<optimized out>, value=0x0, wctx=<optimized out>) at ffprobe.c:1482
1482        printf(" \"%s\"", json_escape_str(&buf, value, wctx));
(gdb) bt
#0  json_print_item_str (key=<optimized out>, value=0x0, wctx=<optimized out>) at ffprobe.c:1482
#1  0x00000000005a5bed in writer_print_string (wctx=wctx@entry=0x3bb30b0, key=key@entry=0x2cb31b3 "chroma_location", val=0x0, flags=0) at ffprobe.c:673
#2  0x00000000005bdbe5 in show_stream (w=w@entry=0x3bb30b0, fmt_ctx=fmt_ctx@entry=0x3bb59d0, stream_idx=stream_idx@entry=0, ist=<optimized out>, in_program=in_program@entry=0) at ffprobe.c:2289
#3  0x000000000057dcd0 in show_streams (ifile=0x7fffffffe920, w=0x3bb30b0) at ffprobe.c:2436
#4  probe_file (filename=<optimized out>, wctx=0x3bb30b0) at ffprobe.c:2750
#5  main (argc=<optimized out>, argv=<optimized out>) at ffprobe.c:3397
(gdb) l
 1477        AVBPrint buf;
 1478
 1479        av_bprint_init(&buf, 1, AV_BPRINT_SIZE_UNLIMITED);
 1480        printf("\"%s\":", json_escape_str(&buf, key,   wctx));
 1481        av_bprint_clear(&buf);
*1482        printf(" \"%s\"", json_escape_str(&buf, value, wctx));
 1483        av_bprint_finalize(&buf, NULL);
 1484    }
 1485
 1486    static void json_print_str(WriterContext *wctx, const char *key, const char *value)

Valgrind:

==1007190== Invalid read of size 1
==1007190==    at 0x5A9F60: json_escape_str (ffprobe.c:1398)
==1007190==    by 0x5A9F60: json_print_item_str.isra.9 (ffprobe.c:1482)
==1007190==    by 0x5A5BEC: writer_print_string.constprop.29 (ffprobe.c:673)
==1007190==    by 0x5BDBE4: show_stream (ffprobe.c:2289)
==1007190==    by 0x57DCCF: show_streams (ffprobe.c:2436)
==1007190==    by 0x57DCCF: probe_file (ffprobe.c:2750)
==1007190==    by 0x57DCCF: main (ffprobe.c:3397)
==1007190==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==1007190==
==1007190==
==1007190== Process terminating with default action of signal 11 (SIGSEGV)
==1007190==  Access not within mapped region at address 0x0
==1007190==    at 0x5A9F60: json_escape_str (ffprobe.c:1398)
==1007190==    by 0x5A9F60: json_print_item_str.isra.9 (ffprobe.c:1482)
==1007190==    by 0x5A5BEC: writer_print_string.constprop.29 (ffprobe.c:673)
==1007190==    by 0x5BDBE4: show_stream (ffprobe.c:2289)
==1007190==    by 0x57DCCF: show_streams (ffprobe.c:2436)
==1007190==    by 0x57DCCF: probe_file (ffprobe.c:2750)
==1007190==    by 0x57DCCF: main (ffprobe.c:3397)
==1007190==  If you believe this happened as a result of a stack
==1007190==  overflow in your program's main thread (unlikely but
==1007190==  possible), you can try to increase the size of the
==1007190==  main thread stack using the --main-stacksize= flag.
==1007190==  The main thread stack size used in this run was 8388608.
==1007190==
==1007190== HEAP SUMMARY:
==1007190==     in use at exit: 2,257,205 bytes in 89 blocks
==1007190==   total heap usage: 225 allocs, 136 frees, 2,709,921 bytes allocated
==1007190==
==1007190== LEAK SUMMARY:
==1007190==    definitely lost: 0 bytes in 0 blocks
==1007190==    indirectly lost: 0 bytes in 0 blocks
==1007190==      possibly lost: 0 bytes in 0 blocks
==1007190==    still reachable: 2,257,205 bytes in 89 blocks
==1007190==         suppressed: 0 bytes in 0 blocks
==1007190== Rerun with --leak-check=full to see details of leaked memory
==1007190==
==1007190== For counts of detected and suppressed errors, rerun with: -v
==1007190== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

Not attaching more examples but it seems all writers are affected by this


#4016 DRM protected content should be detected avformat enhancement Oct 8, 2014

AFAIK FFmpeg libraries contain no special code to recognize whether a file has been DRM protected e.g. by Apple's so-called "FairPlay?". mp4 files are decoded and played - but the result is simply garbage.

It would be nice, if it was possible to detect whether a file is protected or not. Please note, that I don't mean to suggest building a decoder (like ticket:1800). Instead, just knowing that we simply cannot decode a file properly is already valuable.

A possible implementation could be for avcodec_decode_audio4(...) to return an appropriate error code, if the packet is encrypted and therefore cannot be decoded properly.

For .m4p this is not hard to detect. It contains an atom called drms. If it is present, the file cannot be properly decoded. For WMA there seems to be also some sort of mechanism (see e.g. https://mail.kde.org/pipermail/taglib-devel/2011-March/001885.html).

Further resources for m4p are:

To illustrate where to find the drms atom, here's an excerpt generated with AtomicParsely?:

> AtomicParsley.exe test.m4p -T +
Atom ftyp @ 0 of size: 32, ends @ 32
Atom moov @ 32 of size: 98194, ends @ 98226
     Atom mvhd @ 40 of size: 108, ends @ 148
     Atom trak @ 148 of size: 39374, ends @ 39522
         Atom tkhd @ 156 of size: 92, ends @ 248
         Atom edts @ 248 of size: 36, ends @ 284
             Atom elst @ 256 of size: 28, ends @ 284
         Atom mdia @ 284 of size: 39238, ends @ 39522
             Atom mdhd @ 292 of size: 32, ends @ 324
             Atom hdlr @ 324 of size: 58, ends @ 382
             Atom minf @ 382 of size: 39140, ends @ 39522
                 Atom smhd @ 390 of size: 16, ends @ 406
                 Atom hdlr @ 406 of size: 57, ends @ 463
                 Atom dinf @ 463 of size: 36, ends @ 499
                     Atom dref @ 471 of size: 28, ends @ 499
                 Atom stbl @ 499 of size: 39023, ends @ 39522
                     Atom stsd @ 507 of size: 999, ends @ 1506
                         Atom drms @ 523 of size: 983, ends @ 1506
                             Atom esds @ 559 of size: 51, ends @ 610
                             Atom sinf @ 610 of size: 896, ends @ 1506
                                 Atom frma @ 618 of size: 12, ends @ 630
                                 Atom schm @ 630 of size: 20, ends @ 650
                                 Atom schi @ 650 of size: 856, ends @ 1506
                                     Atom user @ 658 of size: 12, ends @ 670
                                     Atom key  @ 670 of size: 12, ends @ 682
                                     Atom iviv @ 682 of size: 24, ends @ 706
                                     Atom righ @ 706 of size: 88, ends @ 794
                                     Atom name @ 794 of size: 264, ends @ 1058
                                     Atom priv @ 1058 of size: 448, ends @ 1506
                     Atom stts @ 1506 of size: 24, ends @ 1530
                     Atom stsc @ 1530 of size: 7756, ends @ 9286
                     Atom stsz @ 9286 of size: 27640, ends @ 36926
                     Atom stco @ 36926 of size: 2596, ends @ 39522
     Atom udta @ 39522 of size: 58704, ends @ 98226
         Atom meta @ 39530 of size: 58696, ends @ 98226
[...]

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

Summary of the bug:

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

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

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

How to reproduce:

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

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

#2758 DVD-A LPCM in vob cannot be decoded avformat defect Jul 6, 2013

Summary of the bug: Sample: http://mpchc.omertabeyond.com/incorrect_audio_stream.AOB

This AOB sample is incorrectly detected as PCM audio.

How to reproduce:

% ffplay.exe incorrect_audio_stream.AOB
ffplay version N-54277-gff130d7 Copyright (c) 2003-2013 the FFmpeg developers
  built on Jun 30 2013 01:20:12 with gcc 4.7.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-libcaca --enable-libfreetype --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-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 17.100 / 55. 17.100
  libavformat    55. 10.100 / 55. 10.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mpeg, from 'incorrect_audio_stream.AOB':sq=    0B f=0/0
  Duration: 00:04:18.27, start: 0.006500, bitrate: 6141 kb/s
    Stream #0:0[0xa0]: Audio: pcm_s16be, 44100 Hz, 2 channels, s16, 1411 kb/s
[pcm_s16be @ 0464b240] Invalid PCM packet, data has size 8 but at least a size of 16 was expected
[pcm_s16be @ 0464b240] Invalid PCM packet, data has size 13 but at least a size of 16 was expected
    Last message repeated 10 times
    ...

#6658 Dash demuxer segfault avformat defect Sep 13, 2017

Summary of the bug: How to reproduce:

% ffmpeg -i http://download.tsi.telecom-paristech.fr/gpac/dataset/dash/uhd/dashevc-main-6s/dashevc-main-6s.mpd
ffmpeg version N-87286-g6ce4a635ed Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --enable-gpl --enable-nonfree --enable-libx264 --enable-libopus --enable-shared --enable-libcaca --enable-openssl --enable-libxml2
  libavutil      55. 74.100 / 55. 74.100
  libavcodec     57.105.100 / 57.105.100
  libavformat    57. 82.100 / 57. 82.100
  libavdevice    57.  8.100 / 57.  8.100
  libavfilter     6.105.100 /  6.105.100
  libswscale      4.  7.103 /  4.  7.103
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
[2]    26794 segmentation fault (core dumped)  ffmpeg -i 

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007fbf08d83ce3 in ff_dash_fill_tmpl_params (dst=dst@entry=0x7fffffffb7b0 " ", 
    buffer_size=buffer_size@entry=4096, template=0x0, rep_id=rep_id@entry=0, number=0, 
    bit_rate=bit_rate@entry=0, time=0) at libavformat/dash.c:102
102	    while (dst_pos < buffer_size - 1 && *t_cur) {
(gdb) bt
#0  0x00007fbf08d83ce3 in ff_dash_fill_tmpl_params (dst=dst@entry=0x7fffffffb7b0 " ", 
    buffer_size=buffer_size@entry=4096, template=0x0, rep_id=rep_id@entry=0, number=0, 
    bit_rate=bit_rate@entry=0, time=0) at libavformat/dash.c:102
#1  0x00007fbf08d87c5d in get_current_fragment (pls=pls@entry=0x66e6e0)
    at libavformat/dashdec.c:1253
#2  0x00007fbf08d87f24 in read_data (opaque=0x66e6e0, buf=0x67e060 "Ȓ\030\006\277\177", 
    buf_size=32768) at libavformat/dashdec.c:1406
#3  0x00007fbf08d78157 in fill_buffer (s=0x66e6e8) at libavformat/aviobuf.c:573
#4  avio_read (s=s@entry=0x66e6e8, buf=0x66ef00 "\270\222\030\006\277\177", 
    size=size@entry=2048) at libavformat/aviobuf.c:667
#5  0x00007fbf08da1ed3 in av_probe_input_buffer2 (pb=pb@entry=0x66e6e8, 
    fmt=fmt@entry=0x7fffffffc968, filename=filename@entry=0x7fbf08ee021c "", 
    logctx=logctx@entry=0x0, offset=offset@entry=0, max_probe_size=1048576, 
    max_probe_size@entry=0) at libavformat/format.c:314
#6  0x00007fbf08da20e9 in av_probe_input_buffer (pb=pb@entry=0x66e6e8, 
    fmt=fmt@entry=0x7fffffffc968, filename=filename@entry=0x7fbf08ee021c "", 
    logctx=logctx@entry=0x0, offset=offset@entry=0, max_probe_size=max_probe_size@entry=0)
    at libavformat/format.c:368
#7  0x00007fbf08d84536 in reopen_demux_for_component (s=s@entry=0x669e20, 
    pls=pls@entry=0x66e6e0) at libavformat/dashdec.c:1530
#8  0x00007fbf08d84dd5 in open_demux_for_component (s=s@entry=0x669e20, pls=0x66e6e0)
    at libavformat/dashdec.c:1565
#9  0x00007fbf08d8841d in dash_read_header (s=0x669e20) at libavformat/dashdec.c:1615
#10 0x00007fbf08eaf0ee in avformat_open_input (ps=ps@entry=0x7fffffffcb88, 
    filename=filename@entry=0x7fffffffde40 "http://download.tsi.telecom-paristech.fr/gpac/dataset/dash/uhd/dashevc-main-6s/dashevc-main-6s.mpd", fmt=fmt@entry=0x0, options=0x669c28)
    at libavformat/utils.c:595
#11 0x0000000000417b55 in open_input_file (o=o@entry=0x7fffffffcd40, 
    filename=<optimized out>) at ffmpeg_opt.c:1060
#12 0x0000000000419a23 in open_files (l=0x669bd8, l=0x669bd8, 
    open_file=0x4160d0 <open_input_file>, inout=0x43299f "input") at ffmpeg_opt.c:3278
#13 ffmpeg_parse_options (argc=argc@entry=3, argv=argv@entry=0x7fffffffda98)
    at ffmpeg_opt.c:3318
#14 0x0000000000408542 in main (argc=3, argv=0x7fffffffda98) at ffmpeg.c:4786

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

Summary of the bug:

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

full command output:

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

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

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

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

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

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

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

I can supply sample files.


#1753 Delay output for X seconds avfilter enhancement Sep 19, 2012

It would be nice to add a feature where the output could be delayed for certain amount of time (specified in seconds or hh:mm:ss.mmm). One use case for this might be the case where we want to capture the video, only when a certain event occurs (like lightning bolt, robbery or trespassing for example). If we start capturing the output at that exact moment, we might loose some valuable time, but if the output was buffered, then capturing would start in the past, enabling people to record an important event.

How to make use of the feature?

Start one ffmpeg to capture and buffer the webcam input (the output will start after 10 seconds and will continue real-time, always being late for 10 seconds, comparing to the current time):

ffmpeg -f v4l2 -i /dev/video0 -vf delay 10 -af delay 10 -f mpegts udp://localhost:1234

Start another ffmpeg only when some important event occurs (triggered by the sensor or something similar):

ffmpeg -f mpegts -i udp://localhost:1234 -map 0 -c copy capture.avi

Obviously capture.avi will start recording from the past, considering the current time the event was triggered, which will allow the beginning of the event to get recorded as well.


#1325 Different results win7 vs. linux on pcm_dvd --> pcm_s24le ffmpeg enhancement May 19, 2012

Version : ffmpeg version N-40824-g31dfe20 Job : pcm_dvd --> pcm_s24le Args[0] : -i E:\VIDEO_TS\VTS_01_1.VOB test.wav Args[1] : -acodec pcm_s24le -i E:\VIDEO_TS\VTS_01_1.VOB test.wav Result[Win7] : pcm_s16le Result[Ubu] : pcm_s32le

Desc : Sourceformat (24Bit 96kHz) detected, but ffmpeg@windows switch to pcm_s16le for output. FFmpeg@ubuntu create the wav-output with 24Bit. Set the codes pcm_s24le explicit don't help:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

Z:\Music\Ripp\DVD-A>ffmpeg -acodec pcm_s24le -i E:\VIDEO_TS\VTS_01_1.VOB test.wav
ffmpeg version N-40824-g31dfe20 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 19 2012 00:49:25 with gcc 4.6.3
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enab
le-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschro
edinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      51. 53.100 / 51. 53.100
  libavcodec     54. 21.101 / 54. 21.101
  libavformat    54.  5.100 / 54.  5.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 74.101 /  2. 74.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 12.100 /  0. 12.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg @ 0000000001e6eee0] max_analyze_duration 5000000 reached at 5001044
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mpeg, from 'E:\VIDEO_TS\VTS_01_1.VOB':
  Duration: 00:10:59.06, start: 0.262200, bitrate: 13030 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 7500 kb/s, 29.97 tbr, 90k tbn, 59.
94 tbc
    Stream #0:1[0xa0]: Audio: '''pcm_s24le, 96000 Hz, stereo, s32''', 4608 kb/s
[abuffer @ 000000000a0fbf20] format:s32 layout:stereo rate:96000
[aformat @ 000000000ec50d00] auto-inserting filter 'auto-inserted resampler 0' between the filter 'src' and the filter '
aformat'
[aresample @ 000000000dd40da0] r:96000Hz -> r:96000Hz
Output #0, wav, to 'test.wav':
  Metadata:
    encoder         : Lavf54.5.100
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 96000 Hz, stereo, s16, 3072 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 ('''pcm_s24le -> pcm_s16le''')
Press [q] to stop, [?] for help
size=   85217kB time=00:03:47.24 bitrate=3072.0kbits/s
video:0kB audio:85217kB global headers:0kB muxing overhead 0.000078%
Received signal 2: terminating.

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


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

Dear Sirs:

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


#4114 Drastic Preview Pro violates the GPL undetermined license violation Nov 17, 2014

--enable-gplv3 in the installed modules


#3571 Drawtext fontcolor alpha not working with border (border and glyph would need to be combined before drawing them) avfilter defect Apr 17, 2014

Using drawtext filter, the fontcolor alpha channel goes grey instead of see through

Uploaded file example is here - http://www.datafilehost.com/d/b44e215d

buffer=width=640:height=480:pix_fmt=1:time_base=333333/10000000:pixel_aspect=0/1 [primary]; [primary] drawtext=borderw=1:box=1:boxcolor=black@0.5:bordercolor=black:text='Hello world!!!':fontcolor=white@0.2:fontsize=128:fontfile='/WINDOWS/FONTS/Arial.ttf':x=(w-tw)/2:y=h-(2*lh) [drawtext]; [drawtext] buffersink


#3317 Drawtext+Alphamerge results in incorrect alpha value avfilter defect Jan 18, 2014

I was trying to create a video of a timer for use in other videos with a transparent background. There doesn't seem to be a transparent video source so I used alphamerge to achieve the same effect.

Unfortunately, drawtext with alphamerge results in a max alpha of 235 not 255.

Running the following 3 commands generates the 3 attatched files. Note that in alpha.png the text has 235 alpha, not 255, and that I can't reproduce without using drawtext directly.

# Drawtext to alphamerge
ffmpeg -f lavfi -r 30 -t 10 -i "color=c=#FFFFFF" -f lavfi -r 30 -t 10 -i "color=c=#000000" -filter_complex "[1]drawtext=text="FFmpeg":fontcolor=white:fontsize=150:fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf[text];[0][text]alphamerge[out]" -map "[out]" -vframes 1 -c:v png -pix_fmt rgba alpha.png

# Saving the drawtext mask on it's own
ffmpeg -f lavfi -r 30 -t 10 -i "color=c=#FFFFFF" -f lavfi -r 30 -t 10 -i "color=c=#000000" -filter_complex "[1]drawtext=text="FFmpeg":fontcolor=white:fontsize=150:fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf[out]" -map "[out]" -vframes 1 -c:v png -pix_fmt rgba noalpha.png

# And applying that mask (No bug here)
ffmpeg -f lavfi -r 30 -t 10 -i "color=c=#FFFFFF" -i noalpha.png -filter_complex "[0][1]alphamerge[out]" -map "[out]" -vframes 1 -c:v png -pix_fmt rgba third.png

#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


#5501 EAC3 decoding avformat defect May 2, 2016

Problem decoding EAC3 from TS, if track is repackaged with "-copy_unkown", then the stream is a FFmpeg decodable AC3 384k...

Any way to decode original file without the temp file?

  1. FAILED TO DECODE

ffmpeg -i part.ts -map 0:1 -t 10 -f null -

ffmpeg version N-79000-g66edd86 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-libdcadec --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. 28.100 / 57. 28.100 libavformat 57. 28.100 / 57. 28.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 39.102 / 6. 39.102 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100

[mpegts @ 00000000007a2700] probed stream 1 failed [mpegts @ 00000000007a2700] Could not find codec parameters for stream 1 (Unknown: none (EAC3 / 0x33434145)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'part.ts':

Duration: N/A, start: 1.083400, bitrate: N/A Program 2

Stream #0:0[0x1e1]: Video: h264 (High 4:2:2) ([27][0][0][0] / 0x001B), yuv422p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9],

Closed Captions, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc

Stream #0:1[0x1e2]: Unknown: none (EAC3 / 0x33434145)

Cannot map stream #0:1 - unsupported type. If you want unsupported types ignored instead of failing, please use the -ignore_unknown option If you want them copied, please use -copy_unknown

  1. COPIED TRACK TO TS with "-copy_unknown"

ffmpeg -i 108GB_9.ts -map 0:1 -t 10 -copy_unknown -c copy audio_test.ts

ffmpeg version N-79000-g66edd86 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-libdcadec --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. 28.100 / 57. 28.100 libavformat 57. 28.100 / 57. 28.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 39.102 / 6. 39.102 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100

[mpegts @ 0000000000662820] probed stream 1 failed [mpegts @ 0000000000662820] Could not find codec parameters for stream 1 (Unknown: none (EAC3 / 0x33434145)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from '108GB_9.ts':

Duration: N/A, start: 1.083400, bitrate: N/A Program 2

Stream #0:0[0x1e1]: Video: h264 (High 4:2:2) ([27][0][0][0] / 0x001B), yuv422p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9],

Closed Captions, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc

Stream #0:1[0x1e2]: Unknown: none (EAC3 / 0x33434145)

Output #0, mpegts, to 'audio_test.ts':

Metadata:

encoder : Lavf57.28.100 Stream #0:0: Unknown: none (EAC3 / 0x33434145)

Stream mapping:

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

Press [q] to stop, ? for help size= 540kB time=00:00:09.98 bitrate= 443.5kbits/s speed= 35x video:0kB audio:0kB subtitle:0kB other streams:473kB global headers:0kB muxing overhead: 14.242310%

  1. CONVERT TEST AUDIO FILE to WAV - OK!

ffmpeg -i audio_test.ts 1.wav

ffmpeg version N-79000-g66edd86 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-libdcadec --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. 28.100 / 57. 28.100 libavformat 57. 28.100 / 57. 28.100 libavdevice 57. 0.101 / 57. 0.101 libavfilter 6. 39.102 / 6. 39.102 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100

Input #0, mpegts, from 'audio_test.ts':

Duration: 00:00:09.98, start: 1.400000, bitrate: 443 kb/s Program 1

Metadata:

service_name : Service01 service_provider: FFmpeg

Stream #0:0[0x100]: Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 384 kb/s

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

Metadata:

ISFT : Lavf57.28.100 Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 5.1(side), s16, 4608 kb/s Metadata:

encoder : Lavc57.28.100 pcm_s16le

Stream mapping:

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

Press [q] to stop, ? for help [eac3 @ 000000000078ef20] incomplete frame size= 5652kB time=00:00:10.04 bitrate=4608.1kbits/s speed= 141x video:0kB audio:5652kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001762%


#1305 Embedded ASS subtitle support avfilter enhancement May 14, 2012

It would be great to see support for embedded ASS subtitles. Currently ASS subtitles are only supported if there is an external .ass file, but almost always it is a stream inside an MKV container (so there are 3 streams: video, audio and ASS subtitle)

It is possible currently to extract the subtitle stream from the original container, then load it in a second step, but it would be cool to be able to do it in one step instead.

For example in MEncoder you use: mencoder input.mkv -ass -o output.mkv And it will burn the ASS/SSA subtitles contained within input.mkv onto the video stream of output.mkv


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

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

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

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

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

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

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

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

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

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


#730 Encoded video plays too fast for network input undetermined defect Dec 10, 2011

Many IP cameras have MJPEG streams that vary in framerate depending network conditions, ambient light, just plain slow processors on the camera itself, etc. This can be anything from 8fps to 30fps - even if the camera is set to a fixed framerate.

Right now, if you set a framerate in ffmpeg, the duration ffmpeg thinks the movie is does not match reality, sometimes by a factor of more than 3x. While ffmpeg supports variable framerate it requires timestamps which in this case do not exist.

Gstreamer has an option called do-timestamp=true that would be very useful in ffmpeg. From their website: "Timestamps are set on the buffers as they arrive from the camera. These are used by the mime/multipart demultiplexer to emit timestamps on the JPEG-encoded video frame buffers. This allows the multiplexer to timestamp the frames in the resulting file."

This would allow ffmpeg to set the timestamp of "now" on every single frame as it comes in and know the correct duration of the recording. This means correct duration, a/v sync and just being able to seek to specific parts of the recording.


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


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

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

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

The file was generated live recording a Webrtc session.

Any help welcome, thanks.


#5911 Error reading MOV file avformat defect Oct 26, 2016

I have a mov file recorded on an AJA KiPro?. I've never had a problem with the files from this device until now.

The contents should contain "Apple ProRes? 422(LT)" for the video stream, and "pcm_s24le" for the audio streams, plus a "tmcd" timecode.

This particular file will open and play with quicktime without audio, so something in one or both of the audio tracks is messed up. Oddly enough VLC for MacOS manages to open and play with audio.

With ffmpeg I get the following:

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f426c0093e0] Invalid sample_count=-1744855732 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f426c0093e0] error reading header

This is using ffmpeg-3.1.5. I can build and test with current head if that would seem to make any difference.

The file is rather large (368G) so let me know how I can submit a chunk that is just large enough to provide enough info to work with


#667 Error when decoding TrueHD 1.0 track that also contains AC-3 undetermined defect Nov 18, 2011

I am trying to use ffmpeg to decode a TrueHD 1.0 track to WAV for encoding to FLAC. Originally I was using eac3to to accomplish this, and received an error. I was told this had to do with the outdated ffmpeg used by eac3to, and that I should run the following command line with the latest ffmpeg build:

ffmpeg -i japanese.thd -ac 1 -acodec pcm_s24le -f wav japanese.wav

This command produces the following error message:

[truehd @ 0000000001C80290] mlpparse: Parity check failed.

Last message repeated 228 times

[truehd @ 000000000029D570] max_analyze_duration 5000000 reached at 5000000 [truehd @ 000000000029D570] Estimating duration from bitrate, this may be inaccurate Input #0, truehd, from 'japanese.thd':

Duration: N/A, start: 0.000000, bitrate: N/A

Stream #0:0: Audio: truehd, 48000 Hz, mono, s32

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

Metadata:

encoder : Lavf53.20.0 Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, s32, 1152 kb/s

Stream mapping:

Stream #0:0 -> #0:0 (truehd -> pcm_s24le)

Press [q] to stop, ? for help Input stream #0:0 frame changed from rate:48000 fmt:s32 ch:1 to rate:48000 fmt:s32 ch:2 [SWR @ 0000000001CA18D0] Input channel layout has a different number of channels than the number of used channels, ignoring layout [truehd @ 0000000001C80290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C80290] Lossless check failed - expected 05, calculated 00. [truehd @ 0000000001C80290] Lossless check failed - expected 05, calculated 0f. [truehd @ 0000000001C80290] Lossless check failed - expected 09, calculated 06. [truehd @ 0000000001C80290] Lossless check failed - expected 0c, calculated 12. [truehd @ 0000000001C80290] Lossless check failed - expected 00, calculated 0a. [truehd @ 0000000001C80290] Invalid nonrestart_substr. Error while decoding stream #0:0

This error continues until the program halts and stops processing the file. According to the error above, this track is a mix of 1.0 and 2.0, so I tried running the same command with -ac 2 instead and received the same error message.

Here is the output produced by ffmpeg -v 9 -loglevel 99 -i japanese.thd -f wav japanese.wav:

ffmpeg version N-34906-g4e7b3ef, Copyright (c) 2000-2011 the FFmpeg developers

built on Nov 16 2011 12:39:54 with gcc 4.6.2 configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 51. 25. 0 / 51. 25. 0 libavcodec 53. 34. 0 / 53. 34. 0 libavformat 53. 20. 0 / 53. 20. 0 libavdevice 53. 4. 0 / 53. 4. 0 libavfilter 2. 48. 1 / 2. 48. 1 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0

[truehd @ 00000000003AD540] Format truehd probed with size=2048 and score=50 [truehd @ 0000000001C10290] err{or,}_recognition separate: 1; 1 [truehd @ 0000000001C10290] err{or,}_recognition combined: 1; 1 [truehd @ 0000000001C10290] Unsupported bit depth: 0 [truehd @ 0000000001C10290] mlpparse: Parity check failed.

Last message repeated 228 times

[truehd @ 00000000003AD540] max_analyze_duration 5000000 reached at 5000000 [truehd @ 00000000003AD540] Estimating duration from bitrate, this may be inaccurate Input #0, truehd, from 'japanese.thd':

Duration: N/A, start: 0.000000, bitrate: N/A

Stream #0:0, 6002, 1/90000: Audio: truehd, 48000 Hz, mono, s32

Incompatible sample format 's32' for codec 'pcm_s16le', auto-selecting format 's16' [pcm_s16le @ 0000000003B05820] err{or,}_recognition separate: 1; 1 [pcm_s16le @ 0000000003B05820] err{or,}_recognition combined: 1; 1 [truehd @ 0000000001C10290] err{or,}_recognition separate: 1; 1 [truehd @ 0000000001C10290] err{or,}_recognition combined: 1; 1 [truehd @ 0000000001C10290] Unsupported bit depth: 24 Output #0, wav, to 'japanese.wav':

Metadata:

encoder : Lavf53.20.0 Stream #0:0, 0, 1/48000: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s16, 768 kb/s

Stream mapping:

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

Press [q] to stop, ? for help [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. Input stream #0:0 frame changed from rate:48000 fmt:s32 ch:1 to rate:48000 fmt:s32 ch:2 [SWR @ 0000000001C318D0] Input channel layout has a different number of channels than the number of used channels, ignoring layout 0.500000 0.500000 [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped.

Last message repeated 2 times

[truehd @ 0000000001C10290] Lossless check failed - expected 05, calculated 00. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 05, calculated 0f. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped.

Last message repeated 1 times

[truehd @ 0000000001C10290] Lossless check failed - expected 09, calculated 06. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 0c, calculated 12. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 00, calculated 0a. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 05, calculated 03. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 35, calculated 1d. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 96, calculated 1b. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 18, calculated 30. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 21, calculated e8. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected dd, calculated 8e. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 99, calculated bb. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected d2, calculated a5. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 69, calculated a9. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected d2, calculated e8. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 2d, calculated 11. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected db, calculated a9. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 6a, calculated c9. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 6a, calculated 1e. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 8d, calculated ee. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a9, calculated 4e. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f3, calculated b8. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b1, calculated 21. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 93, calculated 06. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 6a, calculated 2b. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped.

Last message repeated 1 times

[truehd @ 0000000001C10290] Lossless check failed - expected 21, calculated 56. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 5c, calculated b2. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 65, calculated 7e. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 05, calculated d8. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected de, calculated a9. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 63, calculated 00. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c5, calculated d4. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a6, calculated a5. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4b, calculated 3c. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected fc, calculated 99. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 5a, calculated 1b. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected af, calculated 6a. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Stream parameters not seen; skipping frame. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected d2, calculated c5. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 9a, calculated 39. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 0a, calculated 17. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 05, calculated 2b. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f5, calculated e2. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 39, calculated 06. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 21, calculated ee. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 81, calculated 6a. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected de, calculated a5. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 1e, calculated 12. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a6, calculated a9. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 06, calculated d2. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 36, calculated 69. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 7d, calculated 30. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f9, calculated e4. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 87, calculated 2b. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 59, calculated 56. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 48, calculated dd. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 24, calculated 30. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3c, calculated ed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f3, calculated b1. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 17, calculated 28. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 82, calculated 7e. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c6, calculated 9a. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 33, calculated e8. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e7, calculated 87. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 7e, calculated 56. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Stream parameters not seen; skipping frame. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c3, calculated 30. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 99, calculated 95. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 35, calculated bb. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a3, calculated 8d. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected cc, calculated 59. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 87, calculated 5f. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 50, calculated e8. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 95, calculated d7. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 78, calculated 71. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ca, calculated 72. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected bb, calculated 9c. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 7d, calculated c6. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 6a, calculated aa. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected d1, calculated a6. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 87, calculated d1. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 9c, calculated 39. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected dd, calculated 24. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 28, calculated 4e. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e7, calculated 41. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected bb, calculated b7. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b7, calculated 88. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 69, calculated db. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 5a, calculated 44. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 7e, calculated 5f. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 0c, calculated e8. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 93, calculated 5f. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected af, calculated d2. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 11, calculated cc. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 03, calculated ed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e7, calculated 30. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 03, calculated cc. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3c, calculated d4. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e1, calculated bb. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 41, calculated 50. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f9, calculated 05. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected fc, calculated cc. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected fc, calculated e4. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 22, calculated 0a. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b8, calculated db. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected de, calculated 39. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c3, calculated 8b. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 90, calculated 41. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 18, calculated e2. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 8e, calculated ff. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 05, calculated 0f. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected aa, calculated 0a. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c3, calculated 8d. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 41, calculated 90. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c5, calculated 28. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected bb, calculated 2b. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 2b, calculated 09. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c0, calculated 7d. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e7, calculated 69. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e7, calculated 7e. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected dd, calculated 6f. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 99, calculated f0. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ff, calculated e4. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 6c, calculated 4e. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3a, calculated 14. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 2b, calculated bd. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e8, calculated 50. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b2, calculated 5c. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 55, calculated b4. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 33, calculated 8b. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b1, calculated 81. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 63, calculated f3. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 12, calculated b1. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 47, calculated cf. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 7e, calculated 39. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3f, calculated 33. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c6, calculated b1. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c5, calculated 56. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected db, calculated 47. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c5, calculated a9. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 88, calculated 2d. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 05, calculated 9f. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 59, calculated 6c. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected d1, calculated 27. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 2b, calculated 66. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected de, calculated 56. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 48, calculated 05. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected be, calculated e7. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 0c, calculated 28. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 47, calculated af. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 2d, calculated 59. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 84, calculated ac. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 56, calculated d4. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b1, calculated 4b. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 33, calculated 6c. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected fa, calculated 2b. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 12, calculated 59. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b8, calculated 5c. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ee, calculated 66. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3a, calculated e7. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 87, calculated e1. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 1e, calculated 5f. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e2, calculated 11. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 96, calculated 11. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 1e, calculated 05. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 1d, calculated 7d. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 06, calculated e7. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 22, calculated 95. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 77, calculated 71. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4b, calculated 95. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected de, calculated e1. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e1, calculated bd. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b4, calculated aa. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b8, calculated 6a. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 17, calculated 03. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 82, calculated 2b. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected be, calculated 4d. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 1b, calculated 9c. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3f, calculated 6f. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 30, calculated eb. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a3, calculated a5. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 5f, calculated 17. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ca, calculated 05. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a5, calculated b7. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a9, calculated 87. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 82, calculated a0. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a6, calculated de. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 71, calculated cf. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4d, calculated 9c. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a5, calculated e7. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 0f, calculated c3. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ed, calculated a6. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 63, calculated 42. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 82, calculated 72. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 87, calculated 8b. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 2e, calculated db. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected dd, calculated fc. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f5, calculated 1b. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 39, calculated 47. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 7b, calculated 30. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Stream parameters not seen; skipping frame. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 0c, calculated 93. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 66, calculated 1e. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 12, calculated de. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4d, calculated bd. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c6, calculated 17. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected fc, calculated db. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3f, calculated 11. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b4, calculated 0c. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 05, calculated b2. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 56, calculated 30. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 7e, calculated b7. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected d1, calculated 7b. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 99, calculated db. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 81, calculated ff. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 87, calculated 5f. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 47, calculated b4. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3a, calculated 4b. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 71, calculated 9f. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected de, calculated 03. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 1b, calculated b8. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ac, calculated b8. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 63, calculated b1. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ee, calculated f6. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c3, calculated cc. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f5, calculated 93. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 12, calculated 5f. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 6a, calculated f6. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 00, calculated 0f. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 90, calculated cc. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ac, calculated 18. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 5c, calculated 81. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 0a, calculated be. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4d, calculated 5c. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 77, calculated bb. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 6c, calculated a0. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 30, calculated 66. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 5c, calculated a0. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c0, calculated e2. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f5, calculated 3f. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 35, calculated 0a. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 63, calculated 78. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 87, calculated b7. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ac, calculated 56. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 0a, calculated ff. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 14, calculated d1. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3a, calculated 95. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 8e, calculated 56. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f9, calculated 53. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 2e, calculated aa. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 77, calculated 03. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ee, calculated 12. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c9, calculated 1b. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f9, calculated 87. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b2, calculated 55. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c6, calculated 17. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 14, calculated 18. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 06, calculated aa. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 53, calculated 95. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 63, calculated 1d. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 71, calculated d8. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ff, calculated 66. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected dd, calculated d2. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 87, calculated 4b. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected d8, calculated 8e. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected eb, calculated 95. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 7d, calculated 55. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 65, calculated f9. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 90, calculated ee. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3c, calculated 33. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c6, calculated e8. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 7d, calculated 44. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 6c, calculated cc. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 09, calculated 24. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 66, calculated ed. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected eb, calculated 3a. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 99, calculated 4d. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ca, calculated e8. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 8e, calculated 30. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 84, calculated 1d. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e4, calculated 48. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 95, calculated 78. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e7, calculated 95. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a9, calculated 0a. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 30, calculated 5f. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected cf, calculated db. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 90, calculated ee. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected af, calculated e8. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 1e, calculated 66. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 95, calculated 22. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 44, calculated a3. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 77, calculated 27. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b1, calculated 09. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 27, calculated 87. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4d, calculated 59. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e2, calculated d1. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4e, calculated c9. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a9, calculated 17. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 71, calculated b2. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 0c, calculated ee. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 2d, calculated 7d. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 9f, calculated cc. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 1e, calculated 4b. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ee, calculated 66. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] Stream parameters not seen; skipping frame.

Last message repeated 1 times

[truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 55, calculated 39. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected d2, calculated 42. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c6, calculated 44. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 28, calculated 3c. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a9, calculated d1. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 71, calculated 1d. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 7b, calculated 4d. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 39, calculated e7. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 69, calculated 2e. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 99, calculated db. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected d4, calculated 2b. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 56, calculated 1d. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f9, calculated 00. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a5, calculated a9. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4b, calculated 81. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 24, calculated b7. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 0a, calculated 2b. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 36, calculated f5. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 28, calculated ed. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 84, calculated 00. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3c, calculated bd. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected cc, calculated e8. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 93, calculated 8b. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 06, calculated a9. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 9a, calculated 55. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f0, calculated b1. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 2e, calculated f5. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 06, calculated 2d. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 53, calculated e1. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 53, calculated f0. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 7b, calculated 14. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f3, calculated 6f. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3c, calculated 28. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c3, calculated 48. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 03, calculated 6c. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 5c, calculated a9. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e4, calculated 82. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3f, calculated 11. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c3, calculated 2d. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected bd, calculated 8b. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 35, calculated de. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 56, calculated 21. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 0c, calculated e2. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c0, calculated 4b. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 24, calculated af. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected db, calculated 14. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 84, calculated af. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 99, calculated 1e. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 50, calculated 2d. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected eb, calculated 6a. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 42, calculated 11. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 30, calculated 0a. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 17, calculated e4. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 72, calculated 9a. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 48, calculated 06. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 2e, calculated 33. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e4, calculated c3. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a3, calculated ac. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a3, calculated 8d. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f9, calculated b2. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ff, calculated ed. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e4, calculated e8. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected c9, calculated e2. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 24, calculated b2. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected d4, calculated 39. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected fc, calculated 48. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4d, calculated f9. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f3, calculated fa. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 12, calculated 05. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3f, calculated d8. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 8d, calculated 65. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4e, calculated 0a. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4b, calculated 9a. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 60, calculated 53. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 00, calculated 9c. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a0, calculated d4. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b2, calculated 59. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f9, calculated cf. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 1d, calculated 12. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 06, calculated 12. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected cc, calculated 30. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 56, calculated bb. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 2e, calculated ed. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected d1, calculated 8b. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected cc, calculated a9. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected ac, calculated 81. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 30, calculated 9f. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 99, calculated c9. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 78, calculated 84. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected bb, calculated ee. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a9, calculated 30. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected d7, calculated 39. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 60, calculated 05. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4e, calculated c9. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e8, calculated e1. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected d4, calculated 06. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e1, calculated 88. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4d, calculated 95. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b7, calculated 72. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 96, calculated 2d. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected dd, calculated 9c. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected bd, calculated d7. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 3f, calculated 6f. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a6, calculated b7. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 28, calculated d8. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 56, calculated 4b. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected b8, calculated 4e. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 53, calculated 77. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 03, calculated 30. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 81, calculated 18. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0 [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 82, calculated 09. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 4e, calculated a0. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected f5, calculated 47. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 28, calculated f3. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 87, calculated 36. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 74, calculated 96. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected a0, calculated af. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected e7, calculated 2b. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 6a, calculated 95. [truehd @ 0000000001C10290] mlpparse: Parity check failed. [truehd @ 0000000001C10290] Extracting 2 channel downmix from substream 0. Further substreams will be skipped. [truehd @ 0000000001C10290] Lossless check failed - expected 93, calculated fa. [truehd @ 0000000001C10290] Invalid nonrestart_substr. Error while decoding stream #0:0


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

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


#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

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


#2874 Export image2 file name as frame metadata avformat enhancement Aug 16, 2013

I'm creating a timelapse which I would love to include the "timecode" of when each picture was taken.

Currently, the timecode option creates one for everyframe of the video.

Also, using text='\%T' seems to work only for real-time streams.

I have files named: 2013-08-16_001032.jpg 2013-08-16_002045.jpg 2013-08-16_003024.jpg 2013-08-16_004043.jpg and so on... That is year-month-date_hourminutesecond.jpg

I'm currently using the following:

% ffmpeg -y -i "2013-08-14_%*.jpg" -vf "drawtext=fontfile=/Library/Fonts/AppleGothic?.ttf: text=%{n}:expansion=normal: r=25: x=(w-tw)/2: y=h-(2*lh): fontcolor=white: box=1: boxcolor=0x00000000@1" output.m4v

And it is printing a new number on each frame. It would be great if instead of %{n} we could use something to grab the filename, or even better, meta data from the jpg to be able to format the timestamp. But just with the file name would be great.

ffmpeg version 1.2.1

Thanks!


#766 Extend ffmpeg's timecode extraction avformat enhancement Dec 15, 2011

Whilst many formats support adding timecode with the -timecode feature currently only the GXF format supports presenting this timecode in the metadata, with mpeg being read using the new ffprobe feature from commit fbe6e29646582fb97317ff3e7214a04ae74c9bef

For consistency it would be good if all formats for which it is valid to present a -timecode value to the muxer allowed extracting that timecode in the demuxer.

Ideally both reading and writing of timecode should be extended to all those formats that support it, which would include mxf and mov.

Given that "burnt in" timecode can now be added to any format using the drawtext filter. This would complete ffmpeg's capabilities in this area.


#6272 FFMPEG .oma to .mp3 “Unsupported codec 5!” with a big file avformat enhancement Mar 28, 2017

I'm trying to convert a .OMA file to .MP3 but no success with a specific file.

If I try:

ffmpeg -i audio2.oma -f mp3 output.mp3
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  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
[oma @ 0x7f8792000000] Unsupported codec 5!
audio2.OMA: Function not implemented

Both audios works fine when using the MP3 Player. The first audio which works is just a random song from my MP3 player to test. The second file was recorded in a music studio playing live with multiple channels.

Anything I'm missing here?

Link for the file which is failing: https://www.dropbox.com/s/swxho7smw4lhz50/dennox.oma?dl=0

You can see the question here too: http://stackoverflow.com/questions/43023844/ffmpeg-oma-to-mp3-unsupported-codec-5-with-a-big-file


#3982 FFMPEG Does Not Support the Audio in TS stream recorded by Marshall Electronics VS-7300 undetermined defect Sep 26, 2014

Summary of the bug:

FFPlay cannot play the audio from a TS stream produced by a Marshall Electronics VS-7300 camera. I have uploaded the stream at http://www.datafilehost.com/d/9da42dca . The stream is playable by VLC.

How to reproduce: ffmpeg version: master git tag 46ad2c4 built on: Slackware Linux 13.37.0 (x86)

ffplay /mnt/share/content/issues/pro-1763/shsu.ts

ffplay version 2.3.git-VF Copyright (c) 2003-2014 the FFmpeg developers
  built on Sep 26 2014 10:14:40 with gcc 4.5.2 (GCC)
  configuration: --extra-version=VF --prefix=/mnt/centshare/ffmpeg/trunk/build/build-linux/stage --extra-cflags='-I/mnt/centshare/ffmpeg/trunk/build/../src/libavformat -I/mnt/centshare/ffmpeg/trunk/build/../src/libavcodec ' --extra-ldflags='-L/mnt/centshare/ffmpeg/trunk/build/build-linux/stage/lib -Wl,-rpath -Wl,/mnt/centshare/ffmpeg/trunk/build/build-linux/stage/lib' --enable-static --enable-shared --enable-avfilter --enable-pthreads --enable-zlib --enable-bzlib --enable-runtime-cpudetect --enable-hardcoded-tables
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  0.101 / 56.  0.101
  libavformat    56.  3.100 / 56.  3.100
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  0.103 /  5.  0.103
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
[aac @ 0x80bc680] channel element 2.10 is not allocated  0B f=0/0   
    Last message repeated 2 times
[h264 @ 0x80bbdc0] left block unavailable for requested intra mode at 0 18
[h264 @ 0x80bbdc0] error while decoding MB 0 18, bytestream 37669
[h264 @ 0x80bbdc0] concealing 6049 DC, 6049 AC, 6049 MV errors in I frame
[aac @ 0x80bc680] channel element 2.10 is not allocated  0B f=0/0   
    Last message repeated 4 times
[aac @ 0x80bc680] channel element 2.10 is not allocated  0B f=0/0   
    Last message repeated 150 times
[mpegts @ 0x80b82a0] decoding for stream 1 failed sq=    0B f=0/0   
[mpegts @ 0x80b82a0] Could not find codec parameters for stream 1 (Audio: aac ([15][0][0][0] / 0x000F), stereo, fltp, 72 kb/s): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from '/mnt/share/content/issues/pro-1763/shsu.ts':
  Duration: 00:01:12.76, start: 34252.839867, bitrate: 4293 kb/s
  Program 1 
    Stream #0:0[0x40]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuvj420p(pc), 1920x1080, 30 fps, 29.97 tbr, 90k tbn, 60 tbc
    Stream #0:1[0x41]: Audio: aac ([15][0][0][0] / 0x000F), stereo, fltp, 72 kb/s
[abuffer @ 0x80d7480] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
    Last message repeated 3 times
[abuffer @ 0x80d7480] Error setting option time_base to value 1/0.
[ffplay_abuffer @ 0x80d73e0] Error applying options to the filter.
[h264 @ 0x80d86e0] left block unavailable for requested intra mode at 0 18
[h264 @ 0x80d86e0] error while decoding MB 0 18, bytestream 37669
[h264 @ 0x80d86e0] concealing 6049 DC, 6049 AC, 6049 MV errors in I frame
[swscaler @ 0xae0d8fa0] deprecated pixel format used, make sure you did set range correctly


#2646 FFMPEG HTTP protocol not generation authorization line avformat defect Jun 6, 2013

I have an acti camera, I can send these headers to it to receive an MJPEG stream:

GET /cgi-bin/cmd/system?GET_STREAM HTTP/1.1
User-Agent: Mozilla/5.0 Lavf/55.8.102
Accept: */*
Host: 192.168.1.40
Connection: Close
Range: bytes=0-
Authorization: Basic YWRtaW46MTIzNDU2

However when I run:

ffmpeg -i "http://admin:123456@192.168.1.40/cgi-bin/cmd/system?GET_STREAM"

And capture what it sends with tcpdump, I see it sends these headers:

GET /cgi-bin/cmd/system?GET_STREAM HTTP/1.1
User-Agent: Mozilla/5.0 Lavf/55.8.102
Accept: */*
Range: bytes=0-
Connection: close
Host: 192.168.1.40

Notice there are identical except FFMPEG doesn't generate the Authorization line. Isn't it meant to?

I'm using ffmpeg version N-53816-g55121f3 compiled Jun 4 2013 on Ubuntu 13.04.


#6491 FFMPEG crashes when trying to crop 1080p60 video to 1440x1080 and interlace avfilter defect Jun 26, 2017

Summary of the bug:

When using a real 1080p60 video source (i.e. not lavfi), attempting to both crop to 1440x1080 and then interlace causes FFMPEG to crash. The same video can be either cropped or interlaced individually with success. Also, doing the cropping and interlacing in two subsequent encodes works as expected. Interestingly, if I crop, scale to 720x480, then interlace in a single encode, this works as expected.

How to reproduce:

Use included sample (or perhaps another 1080p60 video) and then use the following command line:

% ffmpeg -i 1080p60sample.mp4 -vf crop=1440:1080,interlace=scan=tff -c:v libx264 -x264-params tff -flags +ilme+ildct -an output.mp4

ffmpeg version N-86537-gae6f6d4 built on 2017-06-20


#2078 FFMPEG created WTV files cannot be fast forwarded or fast rewound in Windows Media Center avformat defect Dec 29, 2012

Summary of the bug: Any WTV file created by FFMPEG, they can be seeked directly in MCE but when one tries toe fast forward or rewind (using the FF and RW buttons on the remote or the console) it does not go beyond at best 1 FF or 1 RW. i.e. WTV files recorded by MCE one can press the FF button upto 4 times to get 4x fast forward. Files created by FFMPEG sometimes get 1x FF and never go beyond 1x FF, it just returns to normal play.

This happens with any WTV file, so you can take any file you have in your archive and remux it to wtv and see the results.

something as simple as: ffmpeg -i test.ts -c copy test.wtv

I'm not uploading a sample since it can be reproduced with any file remuxed to WTV.


#6284 FFMPEG doesn't output video with MP4 file that has broken frames undetermined defect Mar 31, 2017

I'm trying to re-encode a MP4 video with FFMPEG version 3.2.4-1~14.04.york1 (the original video is playable in all Windows players like WMP or MPC):

ffmpeg -re -i /home/clip.mp4 -y -preset ultrafast -crf 35 -c:a aac -threads 2 /home/conv1.mp4

But the converter freezes at the first frame, there are many such identical strings:

frame=    0 fps=0.0 q=0.0 Lsize= 

So the output has no video, just an audio track. And FFProbe says that it seems the video container normally:

ffprobe version git-2017-01-22-f1214ad Copyright (c) 2007-2017 the FFmpeg  developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --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-libfreetype --enable-gnutls --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-libvidstab --enable-libwavpack --enable-nvenc
libavutil      55. 44.100 / 55. 44.100
libavcodec     57. 75.100 / 57. 75.100
libavformat    57. 63.100 / 57. 63.100
libavdevice    57.  2.100 / 57.  2.100
libavfilter     6. 69.100 /  6. 69.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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/clip.mp4':
Metadata:
major_brand     : dash
minor_version   : 0
compatible_brands: iso6avc1mp41
creation_time   : 2016-03-17T09:39:29.000000Z
Duration: 00:04:18.46, start: 0.000000, bitrate: 3109 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1440x1080 [SAR 1:1 DAR 4:3], 2981 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
Metadata:
  creation_time   : 2016-03-17T09:39:29.000000Z
  handler_name    : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
Metadata:
  creation_time   : 2016-03-17T09:36:59.000000Z
  handler_name    : SoundHandler

Tried converting the video to different formats - still same results, no video.


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


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

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


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


#4284 FFmpeg doesn't pass -x265-params to the x265 encoder correctly. undetermined defect Jan 25, 2015

Hi!

Summary of the bug: When I'm trying to pass x265 parameters by using -x265-params, multiple issues happen:

  1. Some parameters may be reported as "unknown". For example, the --profile option (http://x265.readthedocs.org/en/default/cli.html#cmdoption--profile) is being reported as unknown (see: unknown-report.log, line 98).
  2. If a switch parameter was specified (the parameter that doesn't need a value, for example --no-scenecut (http://x265.readthedocs.org/en/default/cli.html#cmdoption--scenecut)), then parameters (even the correct ones) are not passed to x265 at all. Without any warnings or errors (see: ignore-report.log and ignore-output.log). At the same time, if the problematic switch parameter is replaced with its "key=value" version (for example: --scenecut 0), then parameters are being successfully passed to the encoder.

So, it seems that the problem is complex, and not related only to specific x265 parameters.

How to reproduce:

1. ffmpeg.exe -r 24 -i "1080-png\sintel_trailer_2k_%04d.png" -c:v libx265 -x265-params "profile=main:level=3.0:crf=28:keyint=48:min-keyint=48:scenecut=0" -r 24 -pix_fmt yuv420p -filter:v "scale='trunc(oh*a/2)*2:360'" "360p-hevc.mp4"
2. ffmpeg.exe -r 24 -i "1080-png\sintel_trailer_2k_%04d.png" -c:v libx265 -x265-params "profile=main:level=3.0:crf=28:keyint=48:min-keyint=48:no-scenecut" -r 24 -pix_fmt yuv420p -filter:v "scale='trunc(oh*a/2)*2:360'" "360p-hevc.mp4"

#3375 FFmpeg doesn't set the right language code for Dutch tracks avformat defect Feb 10, 2014

Summary of the bug: When remuxing an .mkv file with Dutch audio/subtitle tracks to an .mp4 file, the language code is not set properly, which results in an "unknown" language in programs such as VLC and Subler. After creating a bug report on the Subler site, the developer replied the following:

you need to use an ISO-639-2/T language code as specified in the mp4 specifications. ISO-639-2/B languages code are invalid.

So please make sure FFmpeg uses the right language codes for mp4 files i.e. set the language code for Dutch tracks to 'nld' instead of 'dut'.

How to reproduce:

ffmpeg -i sample.mkv -map 0 sample.mp4
ffmpeg version 2.0.2
built on Oct  8 2013 20:26:27 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)

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


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


#3020 FFmpeg should do framerate convert before scaling if (and only if) that is expected to be faster ffmpeg enhancement Oct 2, 2013

Summary of the bug: How to reproduce:

%time ffmpeg -i test.mp4 -vcodec mjpeg -s 960x640 -r 0.2 -y out.mov

we may compare the real time with result of running scripts that transcoding to other video format, such as msmpeg4, x264,...

ffmpeg version 2.0.1
built on linux/MINGW32

Details see below:

$ time ./ffmpeg -i test.mp4 -vcodec mjpeg -s 960x640 -r 0.2 -an -y out.mov ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers

built on Oct 1 2013 00:27:45 with gcc 4.3.2 (4.3.2-tdm-1 for MinGW) configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-nonfree --disable-ffserver --enable-memalign-hack --enable-pthreads --disable-txtpages libavutil 52. 46.100 / 52. 46.100 libavcodec 55. 33.101 / 55. 33.101 libavformat 55. 18.104 / 55. 18.104 libavdevice 55. 3.100 / 55. 3.100 libavfilter 3. 88.100 / 3. 88.100 libswscale 2. 5.100 / 2. 5.100 libswresample 0. 17.103 / 0. 17.103 libpostproc 52. 3.100 / 52. 3.100

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

Metadata:

major_brand : mp42 minor_version : 0 compatible_brands: isommp42 creation_time : 2013-04-09 11:10:32 copyright : copyright-eng :

Duration: 00:03:53.87, start: 0.000000, bitrate: 897 kb/s

Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x960, 846 kb/s, 24 fps, 24 tbr, 24k tbn, 48 tbc (default) Metadata:

creation_time : 2013-04-09 11:10:30 handler_name : GPAC ISO Video Handler

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

creation_time : 2013-04-09 11:10:32 handler_name : GPAC ISO Audio Handler

[swscaler @ 03783020] deprecated pixel format used, make sure you did set range correctly Output #0, mov, to 'out.mov':

Metadata:

major_brand : mp42 minor_version : 0 compatible_brands: isommp42 copyright-eng : copyright : encoder : Lavf55.18.104 Stream #0:0(und): Video: mjpeg (jpeg / 0x6765706A), yuvj420p, 960x640, q=2-31, 200 kb/s, 16384 tbn, 0.20 tbc (default) Metadata:

creation_time : 2013-04-09 11:10:30 handler_name : GPAC ISO Video Handler

Stream mapping:

Stream #0:0 -> #0:0 (h264 -> mjpeg)

Press [q] to stop, ? for help frame= 50 fps=0.7 q=0.0 Lsize= 4130kB time=00:04:10.00 bitrate= 135.3kbits/s dup=0 drop=5561 video:4129kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.023129%

real 1m9.687s user 0m0.031s sys 0m0.015s

$ time ./ffmpeg -i test.mp4 -vcodec msmpeg4 -s 960x640 -r 0.2 -an -y out.avi ffmpeg version 2.0 Copyright (c) 2000-2013 the FFmpeg developers

built on Oct 1 2013 00:27:45 with gcc 4.3.2 (4.3.2-tdm-1 for MinGW) configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --enable-nonfree --disable-ffserver --enable-memalign-hack --enable-pthreads --disable-txtpages libavutil 52. 46.100 / 52. 46.100 libavcodec 55. 33.101 / 55. 33.101 libavformat 55. 18.104 / 55. 18.104 libavdevice 55. 3.100 / 55. 3.100 libavfilter 3. 88.100 / 3. 88.100 libswscale 2. 5.100 / 2. 5.100 libswresample 0. 17.103 / 0. 17.103 libpostproc 52. 3.100 / 52. 3.100

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

Metadata:

major_brand : mp42 minor_version : 0 compatible_brands: isommp42 creation_time : 2013-04-09 11:10:32 copyright : copyright-eng :

Duration: 00:03:53.87, start: 0.000000, bitrate: 897 kb/s

Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x960, 846 kb/s, 24 fps, 24 tbr, 24k tbn, 48 tbc (default) Metadata:

creation_time : 2013-04-09 11:10:30 handler_name : GPAC ISO Video Handler

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

creation_time : 2013-04-09 11:10:32 handler_name : GPAC ISO Audio Handler

Output #0, avi, to 'out.avi':

Metadata:

major_brand : mp42 minor_version : 0 compatible_brands: isommp42 copyright-eng : ICOP : ISFT : Lavf55.18.104 Stream #0:0(und): Video: msmpeg4v3 (msmpeg4) (MP43 / 0x3334504D), yuv420p, 960x640, q=2-31, 200 kb/s, 0.20 tbn, 0.20 tbc (default) Metadata:

creation_time : 2013-04-09 11:10:30 handler_name : GPAC ISO Video Handler

Stream mapping:

Stream #0:0 -> #0:0 (h264 -> msmpeg4)

Press [q] to stop, ? for help frame= 49 fps=1.7 q=1.6 Lsize= 3972kB time=00:04:05.00 bitrate= 132.8kbits/s dup=0 drop=5562 video:3965kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.169484%

real 0m29.644s user 0m0.015s sys 0m0.031s

I tested the benchmark of ffmpeg, and I can not find any issue in codec's performance, but I profiled the transcoder and find the performance issue is in the below call-chain, it is avfilter issue. main()->transcode()->transcode_step()->process_input()->output_packet()->decode_video()->av_buffersrc_add_frame_flags()->av_buffersrc_add_frame_internal()->ctx->output_pads[0].request_frame(ctx->outputs[0])


#5671 FFmpeg unable to decode PCM in MXF avformat defect Jun 27, 2016

Summary of the bug: FFmpeg is unable to decode PCM which is wrapped in an MXF file. The MXF file is Avid compatible, but was apparently not created with Avid. Sample can be found here: http://dl.flavoursys.com/samples/ffmpeg/TVOKids_6.mxf

How to reproduce:

% $ ffmpeg -i TVOKids_6.mxf -loglevel debug -y out.wav                                                                                                                                                                                                 [17:02:14]
ffmpeg version N-80780-gd693392 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.1 (Ubuntu 5.3.1-14ubuntu2.1) 20160413
  configuration: --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-version3 --enable-libfdk-aac --enable-libx264 --enable-libfreetype
  libavutil      55. 27.100 / 55. 27.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 40.101 / 57. 40.101
  libavdevice    57.  0.102 / 57.  0.102
  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 '-i' ... matched as input file with argument 'TVOKids_6.mxf'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option 'out.wav' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file TVOKids_6.mxf.
Successfully parsed a group of options.
Opening an input file: TVOKids_6.mxf.
[file @ 0x362acc0] Setting default whitelist 'file,crypto'
[mxf @ 0x362a380] Format mxf probed with size=2048 and score=100
[mxf @ 0x362a380] Dark key 06.0e.2b.34.02.53.01.01.0d.01.01.01.01.01.23.00
[mxf @ 0x362a380] Dark key 06.0e.2b.34.01.01.01.02.03.01.02.10.01.00.00.00
    Last message repeated 2 times
[mxf @ 0x362a380] Dark key 06.0e.2b.34.02.05.01.01.0d.01.02.01.01.11.01.00
[mxf @ 0x362a380] none: Universal Label: 00000000.0000.0000.00000000.00000000
[mxf @ 0x362a380] Before avformat_find_stream_info() pos: 32744 bytes read:66172 seeks:5 nb_streams:1
[mxf @ 0x362a380] IndexSID 1 segment at 0 missing EditUnitByteCount and IndexEntryArray
[mxf @ 0x362a380] After avformat_find_stream_info() pos: 32744 bytes read:66172 seeks:5 frames:0
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, mxf, from 'TVOKids_6.mxf':
  Metadata:
    uid             : 27023931-e9a3-4549-946d-a5aea01cec3e
    generation_uid  : bd18e86b-ee7a-4f8f-8ceb-7ab5ac3f175f
    company_name    : Matrox Electronic
    product_name    : DSX
    product_version : 4.0
    product_uid     : 060e2b34-0401-0109-0e0e-010101000001
    modification_date: 2016-05-31 17:30:17
    material_package_umid: 0x060A2B340101010501010D20130000004F5296D2A16741ED9D11A972EA7C9C30
    material_package_name: 0004PE
    timecode        : 11:22:33;00
  Duration: 00:00:18.95, start: 0.000000, bitrate: 1166 kb/s
    Stream #0:0, 0, 1/48000: Audio: pcm_s24le, 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D20130000000B45AF7186674D708C09A0FCF3D5B364
Successfully opened the file.
Parsing a group of options: output file out.wav.
Successfully parsed a group of options.
Opening an output file: out.wav.
[file @ 0x3631540] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 16 logical cores
[graph 0 input from stream 0:0 @ 0x3643980] Setting 'time_base' to value '1/48000'
[graph 0 input from stream 0:0 @ 0x3643980] Setting 'sample_rate' to value '48000'
[graph 0 input from stream 0:0 @ 0x3643980] Setting 'sample_fmt' to value 's32'
[graph 0 input from stream 0:0 @ 0x3643980] Setting 'channel_layout' to value '0x4'
[graph 0 input from stream 0:0 @ 0x3643980] tb:1/48000 samplefmt:s32 samplerate:48000 chlayout:0x4
[audio format for output stream 0:0 @ 0x3644560] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:0 @ 0x3644560] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'
[AVFilterGraph @ 0x3631b80] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed
[auto-inserted resampler 0 @ 0x3645d40] [SWR @ 0x3646120] Using fltp internally between filters
[auto-inserted resampler 0 @ 0x3645d40] ch:1 chl:mono fmt:s32 r:48000Hz -> ch:1 chl:mono fmt:s16 r:48000Hz
[wav @ 0x362fa00] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, wav, to 'out.wav':
  Metadata:
    uid             : 27023931-e9a3-4549-946d-a5aea01cec3e
    generation_uid  : bd18e86b-ee7a-4f8f-8ceb-7ab5ac3f175f
    company_name    : Matrox Electronic
    product_name    : DSX
    product_version : 4.0
    product_uid     : 060e2b34-0401-0109-0e0e-010101000001
    modification_date: 2016-05-31 17:30:17
    material_package_umid: 0x060A2B340101010501010D20130000004F5296D2A16741ED9D11A972EA7C9C30
    material_package_name: 0004PE
    ISMP            : 11:22:33;00
    ISFT            : Lavf57.40.101
    Stream #0:0, 0, 1/48000: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s16 (24 bit), 768 kb/s
    Metadata:
      file_package_umid: 0x060A2B340101010501010D20130000000B45AF7186674D708C09A0FCF3D5B364
      encoder         : Lavc57.48.101 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s24le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[mxf @ 0x362a380] IndexSID 1 segment at 0 missing EditUnitByteCount and IndexEntryArray
TVOKids_6.mxf: Invalid data found when processing input
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
    Last message repeated 1 times
[output stream 0:0 @ 0x36444c0] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.
size=       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
Input file #0 (TVOKids_6.mxf):
  Input stream #0:0 (audio): 0 packets read (0 bytes); 0 frames decoded (0 samples); 
  Total: 0 packets (0 bytes) demuxed
Output file #0 (out.wav):
  Output stream #0:0 (audio): 0 frames encoded (0 samples); 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 @ 0x3631640] Statistics: 4 seeks, 3 writeouts
[AVIOContext @ 0x3633020] Statistics: 66172 bytes read, 5 seeks

#4398 FLV Sample muxing to mpegts and output file with no Video undetermined defect Mar 27, 2015

Command:

ffmpeg -y -i "test_stream.flv" -bsf:v h264_mp4toannexb -c copy -f mpegts /var/www/html/test.ts

FFmpeg output:

ffmpeg version N-45583-g2139e58-   http://johnvansickle.com/ffmpeg/    Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  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 --cc=gcc-4.9
  libavutil      54. 20.101 / 54. 20.101
  libavcodec     56. 30.100 / 56. 30.100
  libavformat    56. 26.101 / 56. 26.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 13.101 /  5. 13.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, flv, from 'test_stream.flv':
  Metadata:
    author          : NovaRS
    comment         : NovaRS
    copyright       : NovaRS
    title           : NovaRS
    encoder         : BIGTV
  Duration: 00:00:10.52, start: 0.016000, bitrate: 1047 kb/s
    Stream #0:0: Video: h264 (High), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 1000 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
    Stream #0:1: Audio: aac (LC), 22050 Hz, stereo, fltp, 128 kb/s
Output #0, mpegts, to '/var/www/html/test.ts':
  Metadata:
    author          : NovaRS
    comment         : NovaRS
    copyright       : NovaRS
    title           : NovaRS
    encoder         : Lavf56.26.101
    Stream #0:0: Video: h264, yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 1000 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
    Stream #0:1: Audio: aac, 22050 Hz, stereo, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  264 fps=0.0 q=-1.0 Lsize=    1484kB time=00:00:10.54 bitrate=1153.0kbits/s
video:1171kB audio:165kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 11.078672%

FFprobe the output file /var/www/html/test.ts

ffprobe /var/www/html/test.ts
ffprobe version N-45583-g2139e58-   http://johnvansickle.com/ffmpeg/    Copyright (c) 2007-2015 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-10)
  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 --cc=gcc-4.9
  libavutil      54. 20.101 / 54. 20.101
  libavcodec     56. 30.100 / 56. 30.100
  libavformat    56. 26.101 / 56. 26.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 13.101 /  5. 13.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0x4254240] decode_slice_header error
[h264 @ 0x4254240] no frame!
[h264 @ 0x4254240] non-existing PPS 0 referenced
[mpegts @ 0x42501a0] decoding for stream 0 failed
[mpegts @ 0x42501a0] Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from '/var/www/html/test.ts':
  Duration: 00:00:10.74, start: 1.416000, bitrate: 1131 kb/s
  Program 1
    Metadata:
      service_name    : NovaRS
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 ([27][0][0][0] / 0x001B), none, 25 fps, 25 tbr, 90k tbn, 180k tbc
    Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 22050 Hz, stereo, fltp, 116 kb/s

Tested on VLC Player and same, no Video Picture. Audio works fine.


#2282 Failed seeks lead to undefined behavior avformat defect Feb 19, 2013

Play a .flac file with ffplay. Right at the start, hit the cursor-right and cursor-down key multiple times. Then ffplay prints some error messages, and the printed playback position doesn't actually match what you hear.

Specifically, it prints decoder errors after an (obviously) failed seek. This indicates a problem with demuxer behavior and/or the seek API. (And if not, it's a ffplay bug.)

On IRC, it was said that failed seeks leave the demuxer in an undefined state.

$ ffplay test.flac 
ffplay version 1.0.3 Copyright (c) 2003-2012 the FFmpeg developers
  built on Jan 24 2013 14:52:18 with gcc 4.7 (Debian 4.7.2-5)
  configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -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/i386-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libdc1394 --disable-altivec --disable-armv5te --disable  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[flac @ 0x80e0620] max_analyze_duration 5000000 reached at 5015510
Input #0, flac, from 'test.flac':
  Metadata:
    ENCODER         : Lavf54.29.104
  Duration: 00:10:01.48, bitrate: 1186 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
test.flac: error while seeking=   47KB vq=    0KB sq=    0B f=0/0   
[flac @ 0x80e8a80] invalid sync codeKB vq=    0KB sq=    0B f=0/0   
[flac @ 0x80e8a80] invalid frame header
[flac @ 0x80e8a80] decode_frame() failed
[flac @ 0x80e8a80] invalid sync codeKB vq=    0KB sq=    0B f=0/0   
[flac @ 0x80e8a80] invalid frame header
[flac @ 0x80e8a80] decode_frame() failed


#3756 Fails to identify video track in Ogg file avformat enhancement Jul 5, 2014

FFmpeg fails to identify the video codec in this file.

The file contains the string "on2vp8", so I assume it contains VP8 video.

Sample file: https://www.sendspace.com/file/2vxf6w

command-line output: ffmpeg version N-64420-g939d22a Copyright (c) 2000-2014 the FFmpeg developers

built on Jul 4 2014 22:02:13 with gcc 4.8.3 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av

isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable- libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libope njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsox r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab - -enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable- libxavs --enable-libxvid --enable-decklink --enable-zlib

libavutil 52. 90.101 / 52. 90.101 libavcodec 55. 68.100 / 55. 68.100 libavformat 55. 45.100 / 55. 45.100 libavdevice 55. 13.101 / 55. 13.101 libavfilter 4. 10.100 / 4. 10.100 libswscale 2. 6.100 / 2. 6.100 libswresample 0. 19.100 / 0. 19.100 libpostproc 52. 3.100 / 52. 3.100

[ogg @ 02847be0] Codec not found [ogg @ 02847be0] Could not find codec parameters for stream 0 (Unknown: none): u nknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, ogg, from 'video_0001.ogv':

Duration: 00:00:33.69, start: 0.000000, bitrate: 2151 kb/s

Stream #0:0: Unknown: none Stream #0:1(eng): Audio: vorbis, 48000 Hz, stereo, fltp, 128 kb/s Metadata:

CREATION_TIME : 2013-11-18 06:37:08 LANGUAGE : eng HANDLER_NAME : Mainconcept MP4 Sound Media Handler MAJOR_BRAND : mp42 MINOR_VERSION : 0 COMPATIBLE_BRANDS: mp42mp41 ENCODER : Lavf55.13.101


#6500 Fails to playback a certain .WAV audio file avformat defect Jun 28, 2017

Summary of the bug: ffplay fails to playback a certain .WAV audio file. VLC and other non-ffmpeg-based players can play it correctly; I'd assume the audio file is malformed in some way because it seems to be detected as a MP3 file. How to reproduce:

% ffplay -i FF_massfowl.wav
FF_massfowl.wav: Invalid data found when processing input0B f=0/0

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