__group__	ticket	summary	component	version	type	status	created	_changetime	_description	_reporter
0.10	1115	live mpeg-ts stream encoding failed	undetermined	0.10	defect	new	2012-03-22T11:25:59+01:00	2012-05-04T19:59:45+02:00	"/usr/bin/ffmpeg -y -i http://91.216.251.7/238.1.42.4:1234 -itsoffset 00:00:8 -f mpegts -threads 0 -acodec libfaac -ar 48000 -ab 128k -ac 2 -map 0:0 -map 0:1 -vcodec libx264 -s 540x432 -filter:v yadif -b:v 1200k -b:a 128k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -subq 7 -trellis 0 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 1200k -maxrate 1200k -bufsize 1200k -rc_eq blurCplx^(1-qComp) -qcomp 0.6 -qmin 18 -qmax 60 -qdiff 4 -level 30 -g 30 -loglevel debug -async 2 udp:234.100.2.104:1234?pkt_size=1316

output:
root@ffmpeg6:/home/ffmpeg# ./tvi_m.sh 
ffmpeg version 0.10 Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb 14 2012 14:57:55 with gcc 4.6.2
  configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libdirac --disable-decoder=libdirac --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-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libdc1394 --disable-altivec --disable-armv5te --disable-armv6 --disable-vis --shlibdir=/usr/lib/x86_64-linux-gnu
  libavutil      51. 34.101 / 51. 34.101
  libavcodec     53. 60.100 / 53. 60.100
  libavformat    53. 31.100 / 53. 31.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 60.100 /  2. 60.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
[mpegts @ 0x18fa5e0] Format mpegts probed with size=2048 and score=100
[mpegts @ 0x18fa5e0] stream=0 stream_type=2 pid=41 prog_reg_desc=
[mpegts @ 0x18fa5e0] stream=1 stream_type=4 pid=42 prog_reg_desc=
[mpeg2video @ 0x19001c0] err{or,}_recognition separate: 1; 1
[mpeg2video @ 0x19001c0] err{or,}_recognition combined: 1; 10001
[mp3 @ 0x1900b80] err{or,}_recognition separate: 1; 1
[mp3 @ 0x1900b80] err{or,}_recognition combined: 1; 10001
[mpegts @ 0x18fa5e0] stream=2 stream_type=0 pid=1065 prog_reg_desc=
[mpegts @ 0x18fa5e0] Continuity check failed for pid 0 expected 5 got 9
[mpegts @ 0x18fa5e0] probing stream 2 pp:2500
[mpegts @ 0x18fa5e0] probing stream 2 pp:2499
[mpegts @ 0x18fa5e0] Probe with size=3456, packets=2 detected mp3 with score=51
[mpegts @ 0x18fa5e0] probed stream 2
[mp2 @ 0x19028e0] err{or,}_recognition separate: 1; 1
[mp2 @ 0x19028e0] err{or,}_recognition combined: 1; 10001
[mpeg2video @ 0x19001c0] Unsupported bit depth: 0
[mpegts @ 0x18fa5e0] max_analyze_duration 5000000 reached at 5000000
[mpegts @ 0x18fa5e0] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegts, from 'http://91.216.251.7/238.1.42.4:1234':
  Duration: N/A, start: 63620.568333, bitrate: 15320 kb/s
  Program 3 
    Metadata:
      service_name    : TBi
      service_provider: Spacecom
    Stream #0:0[0x41], 127, 1/90000: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 1/50, 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x42](rus), 210, 1/90000: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, mono, s16, 128 kb/s
  Program 1 
    Metadata:
      service_name    : KIEV STB
      service_provider: Spacecom
  Program 2 
    Metadata:
      service_name    : M1
      service_provider: Spacecom
  Program 4 
    Metadata:
      service_name    : NOVY CHANNEL
      service_provider: Spacecom
  Program 5 
    Metadata:
      service_name    : ICTV
      service_provider: Spacecom
  Program 6 
    Metadata:
      service_name    : M2
      service_provider: Spacecom
  Program 7 
    Metadata:
      service_name    : TBi
      service_provider: Spacecom
  Program 8 
    Metadata:
      service_name    : NEWS 24
      service_provider: Spacecom
  Program 10 
    Metadata:
      service_name    : Pervy delovoy
      service_provider: Spacecom
  Program 11 
    Metadata:
      service_name    : QTV
      service_provider: Spacecom
  No Program
    Stream #0:2[0x1065], 210, 1/90000: Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
[buffer @ 0x1a431c0] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:16/15 sws_param:
[yadif @ 0x1a0a7c0] mode:0 parity:-1 auto_enable:0
[scale @ 0x1a31180] w:720 h:576 fmt:yuv420p -> w:540 h:432 fmt:yuv420p flags:0x4
[libx264 @ 0x18f8da0] err{or,}_recognition separate: 1; 1
[libx264 @ 0x18f8da0] err{or,}_recognition combined: 1; 10001
[libx264 @ 0x18f8da0] using mv_range_thread = 24
[libx264 @ 0x18f8da0] using SAR=16/15
[libx264 @ 0x18f8da0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 0x18f8da0] profile High, level 3.0
[libfaac @ 0x18f9ac0] err{or,}_recognition separate: 1; 1
[libfaac @ 0x18f9ac0] err{or,}_recognition combined: 1; 10001
[mpeg2video @ 0x19001c0] err{or,}_recognition separate: 1; 10001
[mpeg2video @ 0x19001c0] err{or,}_recognition combined: 1; 10001
[mpeg2video @ 0x19001c0] detected 8 logical cores
[mp2 @ 0x1900b80] err{or,}_recognition separate: 1; 10001
[mp2 @ 0x1900b80] err{or,}_recognition combined: 1; 10001
[mpegts @ 0x19d6680] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'udp:234.100.2.104:1234?pkt_size=1316':
  Metadata:
    encoder         : Lavf53.31.100
    Stream #0:0, 0, 1/90000: Video: h264, yuv420p, 540x432 [SAR 16:15 DAR 4:3], 1/25, q=18-60, 1200 kb/s, 90k tbn, 25 tbc
    Stream #0:1(rus), 0, 1/90000: Audio: aac, 48000 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> libx264)
  Stream #0:1 -> #0:1 (mp2 -> libfaac)
Press [q] to stop, [?] for help
[mpeg2video @ 0x19001c0] Unsupported bit depth: 0
timestamp discontinuity 23252240956, new offset= -86872809289
0.707107 
0.707107 
discarding 1152 audio samples
    Last message repeated 5 times
timestamp discontinuity -23252240956, new offset= -63620568333
*** 581307 dup!
[libx264 @ 0x18f8da0] frame=   0 QP=18.32 NAL=3 Slice:I Poc:0   I:918  P:0    SKIP:0    size=44308 bytes
[libx264 @ 0x18f8da0] frame=   1 QP=19.29 NAL=2 Slice:P Poc:8   I:0    P:89   SKIP:829  size=226 bytes
[libx264 @ 0x18f8da0] frame=   2 QP=27.00 NAL=2 Slice:B Poc:4   I:0    P:18   SKIP:900  size=47 bytes
[libx264 @ 0x18f8da0] frame=   3 QP=27.00 NAL=0 Slice:B Poc:2   I:0    P:14   SKIP:904  size=39 bytes
[libx264 @ 0x18f8da0] frame=   4 QP=27.00 NAL=0 Slice:B Poc:6   I:0    P:4    SKIP:914  size=20 bytes
[libx264 @ 0x18f8da0] frame=   5 QP=19.88 NAL=2 Slice:P Poc:16  I:0    P:37   SKIP:881  size=116 bytes
[libx264 @ 0x18f8da0] frame=   6 QP=27.00 NAL=2 Slice:B Poc:12  I:0    P:6    SKIP:912  size=28 bytes
[libx264 @ 0x18f8da0] frame=   7 QP=27.00 NAL=0 Slice:B Poc:10  I:0    P:1    SKIP:917  size=15 bytes
[libx264 @ 0x18f8da0] frame=   8 QP=27.00 NAL=0 Slice:B Poc:14  I:0    P:0    SKIP:918  size=12 bytes
[libx264 @ 0x18f8da0] frame=   9 QP=21.02 NAL=2 Slice:P Poc:24  I:0    P:54   SKIP:864  size=145 bytes
[libx264 @ 0x18f8da0] frame=  10 QP=27.00 NAL=2 Slice:B Poc:20  I:0    P:12   SKIP:906  size=38 bytes
[libx264 @ 0x18f8da0] frame=  11 QP=27.00 NAL=0 Slice:B Poc:18  I:0    P:1    SKIP:917  size=15 bytes
[libx264 @ 0x18f8da0] frame=  12 QP=27.00 NAL=0 Slice:B Poc:22  I:0    P:2    SKIP:916  size=17 bytes
[libx264 @ 0x18f8da0] frame=  13 QP=21.02 NAL=2 Slice:P Poc:32  I:0    P:18   SKIP:900  size=70 bytes
[libx264 @ 0x18f8da0] frame=  14 QP=27.00 NAL=2 Slice:B Poc:28  I:0    P:5    SKIP:913  size=26 bytes

===    
Stream #0:0, 0, 1/90000: Video: h264, yuv420p, 540x432 [SAR 16:15 DAR 4:3], 1/25, q=18-60, 1200 kb/s, 90k tbn, 25 tbc
Stream #0:1(rus), 0, 1/90000: Audio: aac, 48000 Hz, 2 channels, s16, 128 kb/s
===

So, ffmpeg skipping about 100% of frames."	mihakiev
0.10.2	1157	Circular buffer overrun with 4+ ffmpeg instances.	undetermined	0.10.2	defect	new	2012-04-01T13:39:22+02:00	2012-05-18T22:22:44+02:00	"Hello, im trying to launch multiple transcoding instances on an i7 2600k. Now with 3 instaces everything is fine, but after 4th I get crashes with this error. CPU is at no more than 30% at the moment of crash. Memory ussage is about 500mb/4G. Here is the output.

ffmpeg -i udp://@239.1.1.2:5000 -pass 1 -crf 5 -vcodec libx264 -preset ultrafast -g 20 -b 500k -bt 10k -acodec libfaac -ab 128k -ar 48000 -ac 2 -f mpegts udp://192.168.1.136:5004 -v warning -bufsize 10000 -vframes 10
[mpeg2video @ 0x249da20] mpeg_decode_postinit() failure
    Last message repeated 5 times
[mpegts @ 0x24733a0] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x24733a0] Estimating duration from bitrate, this may be inaccurate
Please use -b:a or -b:v, -b is ambiguous
[udp @ 0x24738e0] Circular buffer overrun. To avoid, increase fifo_size URL option. To survive in such case, use overrun_nonfatal option
[mpegts @ 0x24733a0] PES packet size mismatch
[mpeg2video @ 0x249da20] ac-tex damaged at 31 4
[mpeg2video @ 0x249da20] Warning MVs not available
[mp2 @ 0x24a3be0] incomplete frame
Error while decoding stream #0:1.

Now I get it that my fifo buffer is too small to handle 4 instances. Can you please advise where can I change the initial value ?

Thanks in advance

"	Involar
0.10.2	1163	ffprobe can produce invalid XML	FFprobe	0.10.2	defect	new	2012-04-02T23:29:19+02:00	2013-04-30T12:15:33+02:00	"ffprobe can output invalid XML as xml_escape_str only handles < > '  "" and &. For example most escape characters below 32 are invalid UTF-8.

This replacement version of the function replaces any invalid UTF-8 characters by the inverted question mark.

{{{#!C
static const char *xml_escape_str(char **dst, size_t *dst_size, const char *src,
                                  void *log_ctx)
{
    // the unknown character (inverted question mark)
    const unsigned char BAD_CHARACTER_1 = 194, BAD_CHARACTER_2 = 191;

    const char *p;
    char *q;
    int copyAll = 1;
    size_t size = 1;

    /* precompute size */
    for (p = src; *p;) {
        int badChar = 0;
        unsigned char byte;

        ESCAPE_CHECK_SIZE(src, size, SIZE_MAX-10);

        byte = (unsigned char)*p;
        if (byte < 32 && byte != 9 && byte != 10 && byte != 13) {
            badChar = 1;
            ++p;
        } else if (byte < 128) {
            switch (byte) {
                case '&' : size += 5; /* &amp; */  copyAll = 0; break;
                case '<' : size += 4; /* &lt; */   copyAll = 0; break;
                case '>' : size += 4; /* &gt; */   copyAll = 0; break;
                case '\""': size += 6; /* &quot; */ copyAll = 0; break;
                case '\'': size += 6; /* &apos; */ copyAll = 0; break;
                default: size++;
                }
            ++p;
            ++size;
            }
        else if (byte < 0xC0)
            {
            badChar = 1;
            ++p;
            }
        else
            {
            int extra;

            copyAll = 0;
            if (byte < 0xe0)
                extra = 1;
            else if (byte < 0xf0)
                extra = 2;
            else if (byte < 0xf8)
                extra = 3;
            else
                badChar = 1;

            if (badChar)
                ++p;
            else
                {
                ++p;
                for (int i = 0; i < extra && *p; ++i, ++p)
                    {
                    byte = (unsigned char)*p;
                    if ((byte & 0xc0) != 0x80)
                        badChar = 1;
                    }
                if (!badChar)
                    size += extra;
                }
            }
        if (badChar) {
            size += 2;
            copyAll = 0;
            }
        }

    ESCAPE_REALLOC_BUF(dst_size, dst, src, size);

#define COPY_STR(str) {      \
        const char *s = str; \
        while (*s)           \
            *q++ = *s++;     \
    }

    p = src;
    q = *dst;
    if (copyAll)
        COPY_STR(p)
    else {
        while (*p) {
            int badChar = 0;
            unsigned char byte;
    
            byte = (unsigned char)*p;
            if (byte < 32 && byte != 9 && byte != 10 && byte != 13) {
                badChar = 1;
                ++p;
            } else if (byte < 128) {
                switch (byte) {
                    case '&' : COPY_STR(""&amp;"");  break;
                    case '<' : COPY_STR(""&lt;"");   break;
                    case '>' : COPY_STR(""&gt;"");   break;
                    case '\""': COPY_STR(""&quot;""); break;
                    case '\'': COPY_STR(""&apos;""); break;
                    default: *q++ = *p;
                    }
                ++p;
                ++size;
                }
            else if (byte < 0xC0)
                {
                badChar = 1;
                ++p;
                }
            else
                {
                int extra;
    
                copyAll = 0;
                if (byte < 0xe0)
                    extra = 1;
                else if (byte < 0xf0)
                    extra = 2;
                else if (byte < 0xf8)
                    extra = 3;
                else
                    badChar = 1;
    
                if (badChar)
                    ++p;
                else
                    {
                    const char *startChar = p;
                    int i;
                    ++p;
                    for (i = 0; i < extra && *p; ++i, ++p)
                        {
                        byte = (unsigned char)*p;
                        if ((byte & 0xc0) != 0x80)
                            badChar = 1;
                        }
                    if (!badChar) {
                        for (i = 0; i < extra;)
                            *q++ = *startChar++;
                    }
                }
            }
            if (badChar) {
                *q++ = BAD_CHARACTER_1;
                *q++ = BAD_CHARACTER_2;
            }
        }
    }
    *q = 0;

    return *dst;
}
}}}"	Ian
0.11.1	1442	In MINGW32 libutvideoenc.cpp and libutvideodec.cpp do not link properly	avcodec	0.11.1	defect	open	2012-06-11T23:57:13+02:00	2012-06-22T00:32:45+02:00	"Summary of the bug:

I've tried to compile ffmpeg in Mingw 32bit environment with --enable-libutvideo and static libutvideo. Decoder utvideo.c alone can be compiled without problems. But if you link libavcodec with objects of c++ modules (libutvideoenc.cpp and libutvideodec.cpp), references to functions of the libavcodec library become invalid after that! During linking of libavformat, gcc generates a lot of errors: ""undefined reference"" to many STANDARD libavcodec functions, such as av_free_packet, av_fast_realloc etc.
Simultaneous linking of c++ and c objects for the libavcodec component produce incorrect results in mingw (and maybe in some other systems).

How to reproduce: try to build the latest ffmpeg in MINGW 32bit with libutvideo and --enable-libutvideo option

"	ffmpeg-tester
0.11.1	1461	Unable to encode video and post it to ffserver for streaming on android-x86 - http://pastebin.com/AWnDEKYU	FFserver	0.11.1	defect	new	2012-06-18T15:22:50+02:00	2012-06-20T12:34:24+02:00	"Summary of the bug:
How to reproduce:
{{{
% /ffmpeg -f rawvideo -pix_fmt rgb565 -s 800X640 -vcodec rawvideo -preset slow -i /dev/graphics/fb0 http://localhost:8090/feed1.ffm

ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 18 2012 15:09:13 with gcc 4.4.3
  configuration: --enable-version3 --disable-pthreads --enable-libx264 --disable-yasm --disable-asm --enable-gpl --enable-nonfree --disable-doc --enable-small --target-os=linux --disable-debug --disable-stripping --enable-cross-compile --cross-prefix=/home/rohit/Downloads/android-ndk-r7b/toolchains/x86-4.4.3/prebuilt/linux-x86/bin/i686-android-linux- --sysroot=/home/rohit/Downloads/android-ndk-r7b/platforms/android-9/arch-x86 --arch=x86 --extra-cflags=-I/home/rohit/android-ec2/streamserver/newffmpeg/libs/x264-snapshot-20120616-2245/ --extra-ldflags=-L/home/rohit/android-ec2/streamserver/newffmpeg/libs/x264-snapshot-20120616-2245/
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[rawvideo @ 0x8c2ab70] Warning: not compiled with thread support, using thread emulation
[rawvideo @ 0x8c1c620] Estimating duration from bitrate, this may be inaccurate
Input #0, rawvideo, from '/dev/graphics/fb0':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGB[16] / 0x10424752), rgb565le, 800x640, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x8c1be50] w:800 h:640 pixfmt:rgb565le tb:1/25 sar:0/1 sws_param:flags=2
[buffersink @ 0x8c1bf80] No opaque field provided
[scale @ 0x8c1c110] w:800 h:640 fmt:rgb565le sar:0/1 -> w:800 h:640 fmt:yuv420p sar:0/1 flags:0x4
[libx264 @ 0x8c1b7a0] Warning: not compiled with thread support, using thread emulation
[libx264 @ 0x8c1b7a0] broken ffmpeg default settings detected
[libx264 @ 0x8c1b7a0] use an encoding preset (e.g. -vpre medium)
[libx264 @ 0x8c1b7a0] preset usage: -vpre <speed> -vpre <profile>
[libx264 @ 0x8c1b7a0] speed presets are listed in x264 --help
[libx264 @ 0x8c1b7a0] profile is optional; x264 defaults to high
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
    Stream #0:0: Video: h264, yuv420p, 800x640, q=2-31, 128 kb/s, 1000k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> libx264)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height



ffmpeg version 0.11.1
built on Ubuntu10.04 cross compiled with android-ndk 7 with prebuilt gcc ()
}}}"	rconline
0.11.1	1556	Frame rate changed without changeing timestamps	undetermined	0.11.1	defect	new	2012-07-19T17:36:14+02:00	2012-07-25T17:41:18+02:00	"
I used to be able to force change in framerate by doing the following:
{{{
% ffmpeg -f $input-device -i input -r 30/1 ... output
}}}

The indev that I'm capturing from gets video at 60fps, and this used to force the frame-rate down to 30 (by dropping every other frame) before streaming.

However now, while it says the output is 30fps, the encoded timestamps seem to be stamped like they would be for 60fps. So the streamer / player says the steam it's receiving is 60 fps, so the audio and video drift wildly out of sync quite quickly when viewing rtp/rtsp streams.

Trying to force is by doing:
{{{
% ffmpeg -r 60/1 -f $input-device -i input -r 30/1 ... output
}}}

results in an error ""Option framerate not found"" similar to #926


My setup is a bit complicated with several apps connected with pipes, but it worked ~6 months ago. I've updated my system this week and it no longer works with ffmpeg 0.11.1

decklink device -> bmdcapture -> ffpeg (scaling and encoding) -> vlc (simultaneous RTP-Mulitcast & RTSP)


I also tried patching ffmpeg to interface with the decklink directly to see if cutting bmdcapture out the pipeline would help, but problem is still the same.

Actual commands used:

with bmdcapture
{{{
bmdcapture -c 2 -s 16 -m 16 -V 4 -A 1 -F nut -f pipe:1 | ffmpeg -re -i - -s 640x320 -r 30/1 -acodec libaacplus -ab 64k -vcodec libx264 -pix_fmt yuv420p -aspect 16:9 -vprofile high -preset slow -crf 22.0 -trellis 2 -threads 8 -f nut - | cvlc - --sout '#duplicate{dst=rtp{mux=ts{use-key-frames},sdp=rtsp://@:8554/teststream},dst=rtp{mux=ts{use-key-frames},dst=224.2.0.1,port=5004,ttl=16,sdp=sap://,name=teststream}}'
}}}

without bmdcapture:
{{{
ffmpeg -re -f decklink -input_format 16 -i """" -s 640x360 -r 30/1 -pix_fmt yuv420p -vcodec libx264 -vprofile high -preset slow -trellis 2 -crf 22 -acodec libaacplus -ab 64k -f nut - | cvlc - --sout '#duplicate{dst=rtp{mux=ts{use-key-frames},sdp=rtsp://@:8554/livestream},dst=rtp{mux=ts{use-key-frames},dst=224.2.0.1,port=5004,ttl=16,sdp=sap://,name=livestream}}'

}}}

Used in conjunction with VLC version 2.0.2 as the actual stream server (no transcoding, just transmuxing) and as the client as well.
"	FishB8
0.11.1	1735	Problems with quicktime reference clips	undetermined	0.11.1	defect	new	2012-09-14T16:52:15+02:00	2012-09-14T18:16:01+02:00	"Summary of the bug:
Hi, i have tried to convert a quicktime reference clip that links to 2 original files. The clip is made with final cut 7,  [https://dl.dropbox.com/u/232052/test_ref_multi.mov test-clip]. Let me know if you also need the original footage, it's simply some prores footage, but the codec doesn't matter.
How to reproduce:
If the sequence in final cut does not contain a ""cut"", everything is ok. So i can export a '''part of a single file''', export it as qt reference and encode it with ffmpeg. 
But '''if I add a second clip or even the same clip twice''', export the sequence as reference, it will output an error. This only happens with reference clips. The clips are viewable with quicktime player or MPEG Streamclip. 
I tried this with ""-use_absolute_path 1"" and without, always the same error.
Any help is appreciated. Thank you.
{{{
16:25:09 sebastianbecker@mpfcps3.studio2010.corp.int ffmpeg_ref_test ffmpeg -loglevel debug -use_absolute_path 1 -i test_ref_multi_2.mov -c:v libx264 test_ref_multi_2.m4v                        1 ↵
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 20 2012 18:45:16 with clang 4.0 ((tags/Apple/clang-421.0.60))
  configuration: --prefix=/usr/local/Cellar/ffmpeg/0.11.1 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-libfreetype --cc=/usr/bin/clang --host-cflags='-Os -w -pipe -march=native -Xclang -target-feature -Xclang -aes -Qunused-arguments -mmacosx-version-min=10.7' --host-ldflags='-L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib -L/usr/X11/lib' --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --enable-libvo-aacenc --disable-ffplay
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.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 @ 0x7fc35b81e200] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] ISO: File Type Major Brand: qt  
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] volume Studio2010, len 10
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] filename test_one.mov, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] nlvl from -1, nlvl to -1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 0, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] dir Basti_Becker
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 2, len 55
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] path //Volumes/Studio2010/Transfer/Basti_Becker/test_one.mov
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 14, len 26
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 15, len 22
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 18, len 35
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 19, len 19
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type -1, len 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] volume Studio2010, len 10
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] filename test_two.mov, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] nlvl from -1, nlvl to -1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 0, len 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] dir Basti_Becker
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 2, len 55
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] path //Volumes/Studio2010/Transfer/Basti_Becker/test_two.mov
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 14, len 26
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 15, len 22
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 18, len 35
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type 19, len 19
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] type -1, len 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] Using absolute path on user request, this is a possible security issue
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] File position before avformat_find_stream_info() is 1163349
[prores @ 0x7fc35b83a600] error, wrong picture data size
[prores @ 0x7fc35b83a600] error decoding picture header
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc35b81e200] File position after avformat_find_stream_info() is 288512
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test_ref_multi_2.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2012-09-14 14:26:24
  Duration: 00:00:04.00, start: 0.000000, bitrate: 2326 kb/s
    Stream #0:0(eng), 1, 1/25: Video: prores (apcs / 0x73637061), yuv422p10le, 1920x1080, 1/25, 8065 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Metadata:
      creation_time   : 2012-09-14 14:26:24
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32, 2304 kb/s
    Metadata:
      creation_time   : 2012-09-14 14:26:24
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng), 0, 1/25: Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2012-09-14 14:26:24
      handler_name    : Apple Alias Data Handler
      timecode        : 01:00:00:00
File 'test_ref_multi_2.m4v' already exists. Overwrite ? [y/N] y
w:1920 h:1080 pixfmt:yuv422p10le tb:1/25 sar:1/1 sws_param:flags=2
[buffersink @ 0x7fc35b4167a0] No opaque field provided
[format @ 0x7fc35b416ae0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'format'
[scale @ 0x7fc35b416e60] w:1920 h:1080 fmt:yuv422p10le sar:1/1 -> w:1920 h:1080 fmt:yuv422p sar:1/1 flags:0x4
[abuffer source @ 0x7fc35b417400] Setting entry with key 'time_base' to value '1/48000'
[abuffer source @ 0x7fc35b417400] Setting entry with key 'sample_rate' to value '48000'
[abuffer source @ 0x7fc35b417400] Setting entry with key 'sample_fmt' to value 's32'
[abuffer source @ 0x7fc35b417400] Setting entry with key 'channel_layout' to value '0x3'
[abuffer @ 0x7fc35b4173a0] tb:1/48000 samplefmt:s32 samplerate: 48000 ch layout:0x3
[aformat filter @ 0x7fc35b4178c0] Setting entry with key 'sample_fmts' to value 's16'
[aformat filter @ 0x7fc35b4178c0] Setting entry with key 'channel_layouts' to value '0x4,0x3,0x7,0x107,0x37,0x3f'
[aformat @ 0x7fc35b417860] auto-inserting filter 'auto-inserted resampler 0' between the filter 'src' and the filter 'aformat'
[aresample @ 0x7fc35b417d80] chl:stereo fmt:s32 r:48000Hz -> chl:stereo fmt:s16 r:48000Hz
[libx264 @ 0x7fc35b84a400] using mv_range_thread = 40
[libx264 @ 0x7fc35b84a400] using SAR=1/1
[libx264 @ 0x7fc35b84a400] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 0x7fc35b84a400] profile High 4:2:2, level 4.0, 4:2:2 8-bit
[libx264 @ 0x7fc35b84a400] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[prores @ 0x7fc35b83a600] detected 8 logical cores
Output #0, ipod, to 'test_ref_multi_2.m4v':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2012-09-14 14:26:24
    encoder         : Lavf54.6.100
    Stream #0:0(eng), 0, 1/25: Video: h264 (avc1 / 0x31637661), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], 1/25, q=-1--1, 25 tbn, 25 tbc
    Metadata:
      creation_time   : 2012-09-14 14:26:24
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng), 0, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2012-09-14 14:26:24
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (prores -> libx264)
  Stream #0:1 -> #0:1 (pcm_s24le -> libfaac)

}}}"	bastibeckr
0.7.1	368	enable interface selection for udp multicast	avformat	0.7.1	enhancement	new	2011-07-28T14:52:41+02:00	2013-01-05T20:37:42+01:00	In case of udp multicast ffmpeg binds to the default interface which will quite often be wrong on multihomed hosts. The auth field of the udp uri is now used to optionally specify the interface address or name to select the interface.	ast@…
1.0.1	2105	Can't receive rtsp interleaved from encoder	avformat	1.0.1	defect	new	2013-01-03T08:59:36+01:00	2013-01-14T16:03:01+01:00	"Summary of the bug:

Hi, all
I have a problem when trying to receive rtsp from remote encoder.
{{{
[rtsp @ 0x8299060] SDP:
v=0
o=StreamingServer 3331435948 1116907222000 IN IP4 192.168.12.125
s=h264.mp4
c=IN IP4 239.0.0.0/1
t=0 0
a=control:*
m=video 0 RTP/AVP 96
a=control:trackID=0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LgHtoCwEkQ,aM4wpIA=
m=audio 0 RTP/AVP 0
a=control:trackID=1
a=rtpmap:0 PCMU/8000
a=ptime:20
m=application 0 RTP/AVP 107
a=control:trackID=2
a=rtpmap:107 vnd.onvif.metadata/90000
}}}

SETUP.rtsp://192.168.12.125/0/trackID=0 and
SETUP.rtsp://192.168.12.125/0/trackID=1
work well and i got RTSP/1.0.200.OK for it.

VLC can work with this stream, but it setup only track 0 and 1
and then send PLAY... this way streaming begin. ffmpeg got error and exit.

Reason as I can see by tcpdump is when ffmpeg try:
SETUP.rtsp://192.168.12.125/0/trackID=2.RTSP/1.0..Transport:.RTP/AVP/TCP;unicast;interleaved=4-5..CSeq:.5..Session:.91270936
it got
RTSP/1.0.461.Invalid.Method..CSeq:.5..Server:.GrandStream.Rtsp.Server.V100R001..Unsupported.Transport..
and finish.

Any suggestions how can I solve this problem? May be somehow skip  
SETUP trackID=2

Thank for any advice.

How to reproduce:
{{{
./ffmpeg  -rtsp_transport tcp -i rtsp://192.168.12.125/0  -acodec libvo_aacenc
 -b:a 32k -ac 1 -sample_fmt s16 -ar 44100 -vcodec copy -s 704x576 -b:v 512k 
-f flv rtmp://x/mp4:test0
ffmpeg version 1.0.1 
built on Dec 31 2012 16:36:05 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
configuration: --arch=i686 --enable-pthreads --enable-runtime-cpudetect
--disable-stripping --prefix=/home/shade/install/ffmpeg-1.0.1_build
--enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r 
--enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp 
--enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex
--enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis 
--enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-x11grab
--enable-libx264 --shlibdir=/usr/lib --disable-shared --enable-static
--enable-libvo-aacenc --enable-version3
  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
rtsp://192.168.1.125/0: Invalid data found when processing input
}}}"	shade_nik
1.1	2151	Warning: data is not aligned! This can lead to a speedloss	swscale	1.1	defect	new	2013-01-17T22:33:52+01:00	2013-01-17T22:54:47+01:00	"Summary of the bug:

How to reproduce:
{{{
% ffmpeg -ss 01:05:30 -i album-familiar-1.mkv -t 00:07:28 -vf ""yadif, crop=690:560:16"" -vcodec mpeg4 -vtag xvid  -qscale:v 4 -ac 1 -acodec libmp3lame -qscale:a 3 /tmp/tieta2.avi
ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 13 2013 22:22:02 with gcc 4.6.3 (GCC)
  configuration: --disable-static --prefix=/nix/store/1pja3gxi62f2hjwyww67ys84mxqfjgwm-ffmpeg-1.1 --enable-gpl --enable-postproc --enable-swscale --disable-ffplay --enable-shared --enable-runtime-cpudetect --enable-libmp3lame --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-vdpau
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, matroska,webm, from 'album-familiar-1.mkv':
  Metadata:
    ENCODER         : Lavf54.59.106
  Duration: 03:04:49.44, start: 0.000000, bitrate: 65334 kb/s
    Stream #0:0: Video: h264 (High 4:4:4 Predictive), yuv422p, 720x576, SAR 1:1 DAR 5:4, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
    Stream #0:1: Audio: flac, 44100 Hz, stereo, s16 (default)
Output #0, avi, to '/tmp/tieta2.avi':
  Metadata:
    ISFT            : Lavf54.59.106
    Stream #0:0: Video: mpeg4 (xvid / 0x64697678), yuv420p, 690x560 [SAR 1:1 DAR 69:56], q=2-31, 200 kb/s, 25 tbn, 25 tbc (default)
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, s16p (default)
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mpeg4)
  Stream #0:1 -> #0:1 (flac -> libmp3lame)
Press [q] to stop, [?] for help
[swscaler @ 0x752040] Warning: data is not aligned! This can lead to a speedloss
frame=    6 fps=0.0 q=4.0 Lsize=      91kB time=00:00:00.24 bitrate=3118.7kbits/s dup=0 drop=7    
video:75kB audio:6kB subtitle:0 global headers:0kB muxing overhead 12.867035%
}}}
"	viric
1.1.1	2170	problem using av_packet_merge_side_data	avformat	1.1.1	defect	reopened	2013-01-22T17:44:15+01:00	2013-04-18T12:33:34+02:00	"Hi, 

I'm currently using ffmpeg API with x264. In my stuff I use av_packet_merge_side_data and av_packet_split_side_data functions. With the latest version of ffmpeg, this isn't working. I mean, the extradata isn't put inside packets.

I try with an old version of ffmpeg API (with the same code) and its working perfect.

Trynitron"	trynitron
1.1.1	2216	memory leak in calling avcodec_alloc_context3 and then avcodec_copy_context	avcodec	1.1.1	defect	new	2013-01-31T11:19:20+01:00	2013-01-31T14:07:19+01:00	"Summary of the bug:

in the documentation of the '''avcodec_copy_context''' function is clearly stated that the '''dest''' target codec context should be initialized with '''avcodec_alloc_context3'''.
If you perform this pair of calls, one after the other, the '''avcodec_alloc_context3''' will allocate some memory pointed by the '''priv_data''' field of the codec context (file '''libavcodec/options.c''', line '''128''') through the call of the '''avcodec_get_context_defaults3''' function, but the following call to the '''avcodec_copy_context''' (with '''dest''' parameter set to the newly allocated codec context) will overwrite the '''priv_data''' pointer without deallocating the memory reserved by the '''avcodec_get_context_defaults3''', so causing a memory leak.

How to reproduce:
{{{

   AVCodec  *codec;
   AVCodecContext    *SourceCodecCtx, *DestCodecCtx;

   ...

   DestCodecCtx = avcodec_alloc_context3(codec);
   avcodec_copy_context(DestCodecCtx, SourceCodecCtx);


}}}
"	vinxxe
1.1.3	2307	Stream segmenter bug if total recorded length > 12 hours	undetermined	1.1.3	defect	new	2013-02-27T11:48:25+01:00	2013-03-28T16:02:53+01:00	"I'm recording UDP streams with transcoding to disk.
UDP source are MPEGTS stream with MPEG2 encoding (TV channels).

I'm transcoding and recording in H264 using 30 minutes chunks. After the #24 segment  is recorded (so after 12 hours of recording) the audio duration info is wrong in the file (look like a signed vs unsigned variable problem).

Here is what I'm doing :
ffmpeg -i udp://xx.xx.xx.xx:5000 -map 0:0 -map 0:1 -s 640x360 -vcodec libx264 -g 60 -vb 500000 -strict experimental -vf yadif -acodec aac -ab 96000 -ac 2 -y -f segment -segment_format mp4 -segment_time 1800 /mnt/%03dt.mp4

I tried to change the audio codec to libvo_aacenc with the same result. 
So it seems to be related to the segmenter.

Here is a copy of the ffmpeg dump when I inspect the file:
Correct files  (segment 0 to 24):

[root@srv1 ~]# ffmpeg -i /mnt/video/www/2013-01-25/tf1/tf1-024.mp4
ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 12 2013 16:56:27 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  configuration: --enable-gpl --enable-libmp3lame --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-version3
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x3156500] Invalid SampleDelta in STTS -2073690672
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/video/www/2013-01-25/tf1/tf1-024.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.59.106
  '''Duration: 00:30:00.32''', start: 0.000000, bitrate: 662 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 560 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s
    Metadata:
      handler_name    : SoundHandler
At least one output file must be specified
--------------------------------------------------------------------------
Bad files  (segment #25 and more)
[root@srv1 ~]# ffmpeg -i /mnt/026.mp4
ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 12 2013 16:56:27 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  configuration: --enable-gpl --enable-libmp3lame --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-version3
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/video/www/2013-01-25/tf1/tf1-026.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.59.106
'''  Duration: 12:21:15.64,''' start: 0.000000, bitrate: 22 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 455 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 3 kb/s
    Metadata:
      handler_name    : SoundHandler
At least one output file must be specified

Any clue on this ?
Thanks.
Denis"	dgillier
1.1.3	2360	FFmpeg rtp streaming was not synchronous	FFmpeg	1.1.3	defect	new	2013-03-14T10:16:03+01:00	2013-03-15T03:19:03+01:00	"Summary of the bug:
Hello,I use ffmpeg-1.1.3 and deliver stream to darwin server.
First,I create a sdp data.

ffmpeg -f video4linux2 -s 720:480 -i /dev/video0 -f alsa -i hw:0,0 -an -vcodec libx264 -pix_fmt yuv420p -s 176x144 -b 104k -r 12 -profile baseline -level 30 -flags +global_header -f rtp rtp://XXXIP:20000 -vn -flags +global_header -acodec libfaac -ac 1 -ar 16000 -ab 16k -f rtp rtp://XXXIP:20002>test.sdp

SDP Data
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
t=0 0
a=tool:libavformat 54.59.106
m=video 20000 RTP/AVP 96
c=IN IP4 XXXIP
b=AS:104
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAHtkCxOhAAAADAEAAAAYDxYuS,aMuMsg==; profile-level-id=42C01E
m=audio 20002 RTP/AVP 97
c=IN IP4 XXXIP
b=AS:16
a=rtpmap:97 MPEG4-GENERIC/16000/1
a=fmtp:97 profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3; config=1408

Second,I copy the sdp data in Darwin Server /usr/local/movies/
and remove the word ""SDP:""

Third,
Play ffmpeg 
ffmpeg -f video4linux2 -s 720:480 -i /dev/video0 -f alsa -i hw:0,0 -an -vcodec libx264 -pix_fmt yuv420p -s 176x144 -b 104k -r 12 -profile baseline -level 30 -flags +global_header -f rtp rtp://XXXIP:20000 -vn -flags +global_header -acodec libfaac -ac 1 -ar 16000 -ab 16k -f rtp rtp://XXXIP:20002

But,I use feature phone(rtsp),it has no audio,so I fix the parameter.(add -rtpflags latm)

ffmpeg -f video4linux2 -s 720:480 -i /dev/video0 -f alsa -i hw:0,0 -an -vcodec libx264 -pix_fmt yuv420p -s 176x144 -b 104k -r 12 -profile baseline -level 30 -flags +global_header -f rtp rtp://XXXIP:20000 -vn -flags +global_header -rtpflags latm -acodec libfaac -ac 1 -ar 16000 -ab 16k -f rtp rtp://XXXIP:20002>test.sdp

SDP Data:
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
t=0 0
a=tool:libavformat 54.59.106
m=video 20000 RTP/AVP 96
c=IN IP4 XXXIP
b=AS:104
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=Z0LAHtkCxOhAAAADAEAAAAYDxYuS,aMuMsg==; profile-level-id=42C01E
m=audio 20002 RTP/AVP 97
c=IN IP4 XXXIP
b=AS:16
a=rtpmap:97 MP4A-LATM/16000/1
a=fmtp:97 profile-level-id=40;cpresent=0;config=400028103fc0

It look perfectly,but the sound is faster than video.

So,have anyone known how to sovle it?

Thanks




 
"	Ken_JJ
1.1.3	2361	Error message: [dshow @ 000000000249efe0] Could not enumerate video devices.	undetermined	1.1.3	defect	new	2013-03-14T11:10:07+01:00	2013-05-01T17:39:57+02:00	"
Summary of the bug:

I am trying to capture my desk top using the instructions here: [http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20grab%20the%20desktop%20(screen)%20with%20FFmpeg]

I downloaded ffmpeg from here: [http://ffmpeg.zeranoe.com/builds/win64/static/]

I have the error message ""Could not enumerate video devices."" on three different computers:

All Microsoft Windows 7 64 bit two of which run Professional edition the other Home edition
 
When I use this command in command prompt: ""ffmpeg -list_devices true -f dshow -i dummy"" I get the following error: ""[dshow @ 000000000249efe0] Could not enumerate video devices."" in the output

When I use this command: ""http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20grab%20the%20desktop%20(screen)%20with%20FFmpeg"" I get a different error message: ""[dshow @ 00000000023bd7a0]Could not enumerate video devices. video=UScreenCapture:audio=Microphone: Input/output error""  in the output

How to reproduce:
{{{
% ffmpeg -f dshow -i video=""UScreenCapture"":audio=""Microphone"" output.flv
ffmpeg version N-50663-gb5e5ed8
libavutil      52. 19.100 / 52. 19.100
libavcodec     54. 92.100 / 54. 92.100
libavformat    54. 63.104 / 54. 63.104
libavdevice    54.  3.103 / 54.  3.103
libavfilter     3. 44.101 /  3. 44.101
libswscale      2.  2.100 /  2.  2.100
libswresample   0. 17.102 /  0. 17.102
libpostproc    52.  2.100 / 52.  2.100
built on ...
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker."	Hotisnottheword
1.1.3	2367	input_format / -pixel_format => libv4l2: error dequeuing buf: Resource temporarily unavailable	undetermined	1.1.3	defect	new	2013-03-16T08:44:10+01:00	2013-04-12T19:59:26+02:00	"Summary of the bug: I am trying to capture S-VHS with a Dazzle DVC100 device. 

This device is able to output 422 format
{{{
$ ffmpeg -f v4l2 -list_formats all -i /dev/video0
ffmpeg version 1.1.3 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 11 2013 17:14:27 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  configuration: --prefix=/opt/ffmpeg-opt/usr --enable-shared --bindir=/opt/ffmpeg-opt/usr/bin --datadir=/opt/ffmpeg-opt/usr/share/ffmpeg-opt --incdir=/opt/ffmpeg-opt/usr/include/ffmpeg-opt --libdir=/opt/ffmpeg-opt/usr/lib64 --mandir=/opt/ffmpeg-opt/usr/share/man --shlibdir=/opt/ffmpeg-opt/usr/lib64 --arch=x86_64 --optflags='-O2 -g' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --build-suffix=1 --disable-doc --enable-runtime-cpudetect
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[video4linux2,v4l2 @ 0x1957280] R :   yuyv422 : 16 bpp YUY2, 4:2:2, packed :
[video4linux2,v4l2 @ 0x1957280] R :  rgb565le :   16 bpp RGB 565, LE :
[video4linux2,v4l2 @ 0x1957280] R : Unsupported : 8 bpp Bayer BGBG..GRGR :
[video4linux2,v4l2 @ 0x1957280] R : Unsupported : 8 bpp Bayer GRGR..BGBG :
[video4linux2,v4l2 @ 0x1957280] R : Unsupported : 8 bpp Bayer GBGB..RGRG :
[video4linux2,v4l2 @ 0x1957280] R :   yuv411p :        12 bpp YUV411 :
/dev/video0: Immediate exit requested
}}}

I get the error :
libv4l2: error dequeuing buf: Resource temporarily unavailable
when I run the command.
Note that when I remove the input_format option this is working well.
I tried with the option
-input_format yuyv422
-pixel_format yuyv422
-pix_fmt yuyv422
the 3 lead to the same error.
Please find the output with the -debug 1 option.

{{{
$ ffmpeg -debug 1 -f alsa -ac 2 -channel_layout stereo -i hw:0,0 -f v4l2 -channel 1 -input_format yuyv422 -i /dev/video0 -map 0:a -map 1:v -c:a pcm_s16le -c:v ffv1 /Store3/Test/T`date +%Y%m%d_%H%M`.avi
ffmpeg version 1.1.3 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 11 2013 17:14:27 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  configuration: --prefix=/opt/ffmpeg-opt/usr --enable-shared --bindir=/opt/ffmpeg-opt/usr/bin --datadir=/opt/ffmpeg-opt/usr/share/ffmpeg-opt --incdir=/opt/ffmpeg-opt/usr/include/ffmpeg-opt --libdir=/opt/ffmpeg-opt/usr/lib64 --mandir=/opt/ffmpeg-opt/usr/share/man --shlibdir=/opt/ffmpeg-opt/usr/lib64 --arch=x86_64 --optflags='-O2 -g' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --build-suffix=1 --disable-doc --enable-runtime-cpudetect
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
 matched as AVOption 'debug' with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'alsa'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-channel_layout' ... matched as option 'channel_layout' (set channel layout) with argument 'stereo'.
Reading option '-i' ... matched as input file with argument 'hw:0,0'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'.
Reading option '-channel' ... matched as AVOption 'channel' with argument '1'.
Reading option '-input_format' ... matched as AVOption 'input_format' with argument 'yuyv422'.
Reading option '-i' ... matched as input file with argument '/dev/video0'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:a'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '1:v'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'pcm_s16le'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'ffv1'.
Reading option '/Store3/Test/T20130316_0730.avi' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Successfully parsed a group of options.
Parsing a group of options: input file hw:0,0.
Applying option f (force format) with argument alsa.
Applying option ac (set number of audio channels) with argument 2.
Applying option channel_layout (set channel layout) with argument stereo.
Successfully parsed a group of options.
Opening an input file: hw:0,0.
[alsa @ 0x1306c20] All info found
[alsa @ 0x1306c20] Estimating duration from bitrate, this may be inaccurate
Input #0, alsa, from 'hw:0,0':
  Duration: N/A, start: 1363419044.643556, bitrate: 1536 kb/s
    Stream #0:0, 1, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Successfully openened the file.
Parsing a group of options: input file /dev/video0.
Applying option f (force format) with argument v4l2.
Successfully parsed a group of options.
Opening an input file: /dev/video0.
[video4linux2,v4l2 @ 0x131c500] [4]Capabilities: 5020041
[video4linux2,v4l2 @ 0x131c500] Querying the device for the current frame size
[video4linux2,v4l2 @ 0x131c500] Setting frame size to 720x576
[video4linux2,v4l2 @ 0x131c500] The V4L2 driver using the interlaced modeThe V4L2 driver set input_id: 1, input: S-Video
libv4l2: error dequeuing buf: Resource temporarily unavailable
libv4l2: error dequeuing buf: Resource temporarily unavailable

.....(cut as many error lines).....

libv4l2: error dequeuing buf: Resource temporarily unavailable
libv4l2: error dequeuing buf: Resource temporarily unavailable
[video4linux2,v4l2 @ 0x131c500] All info found
[video4linux2,v4l2 @ 0x131c500] Estimating duration from bitrate, this may be inaccurate
Input #1, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 1363419045.175310, bitrate: 165888 kb/s
    Stream #1:0, 1, 1/1000000: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 720x576, 1/25, 165888 kb/s, 25 tbr, 1000k tbn, 25 tbc
Successfully openened the file.
Parsing a group of options: output file /Store3/Test/T20130316_0730.avi.
Applying option map (set input stream mapping) with argument 0:a.
Applying option map (set input stream mapping) with argument 1:v.
Applying option c:a (codec name) with argument pcm_s16le.
Applying option c:v (codec name) with argument ffv1.
Successfully parsed a group of options.
Opening an output file: /Store3/Test/T20130316_0730.avi.
Successfully openened the file.
[abuffer @ 0x131f940] Setting entry with key 'time_base' to value '1/48000'
[abuffer @ 0x131f940] Setting entry with key 'sample_rate' to value '48000'
[abuffer @ 0x131f940] Setting entry with key 'sample_fmt' to value 's16'
[abuffer @ 0x131f940] Setting entry with key 'channel_layout' to value '0x3'
[graph 0 input from stream 0:0 @ 0x131d820] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
[aformat @ 0x12f91a0] Setting entry with key 'sample_fmts' to value 's16'
[buffer @ 0x13200e0] Setting entry with key 'video_size' to value '720x576'
[buffer @ 0x13200e0] Setting entry with key 'pix_fmt' to value '1'
[buffer @ 0x13200e0] Setting entry with key 'time_base' to value '1/1000000'
[buffer @ 0x13200e0] Setting entry with key 'pixel_aspect' to value '0/1'
[buffer @ 0x13200e0] Setting entry with key 'sws_param' to value 'flags=2'
[buffer @ 0x13200e0] Setting entry with key 'frame_rate' to value '25/1'
[graph 1 input from stream 1:0 @ 0x131f440] w:720 h:576 pixfmt:yuyv422 tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2
[scale @ 0x1320340] Setting 'w' to value '0'
[scale @ 0x1320340] Setting 'h' to value '0'
[scale @ 0x1320340] Setting 'flags' to value '0x4'
[auto-inserted scaler 0 @ 0x1320220] w:0 h:0 flags:'0x4' interl:0
[format @ 0x131f6e0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
[auto-inserted scaler 0 @ 0x1320220] picking yuv422p out of 22 ref:yuyv422 alpha:0
[auto-inserted scaler 0 @ 0x1320220] w:720 h:576 fmt:yuyv422 sar:0/1 -> w:720 h:576 fmt:yuv422p sar:0/1 flags:0x4
[ffv1 @ 0x131ea40] detected 8 logical cores
Output #0, avi, to '/Store3/Test/T20130316_0730.avi':
  Metadata:
    ISFT            : Lavf54.59.106
    Stream #0:0, 0, 1/48000: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
    Stream #0:1, 0, 1/25: Video: ffv1 (FFV1 / 0x31564646), yuv422p, 720x576, 1/25, q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le -> pcm_s16le)
  Stream #1:0 -> #0:1 (rawvideo -> ffv1)
Press [q] to stop, [?] for help
libv4l2: error dequeuing buf: Resource temporarily unavailable
libv4l2: error dequeuing buf: Resource temporarily unavailable

.....(cut as many error lines).....

libv4l2: error dequeuing buf: Resource temporarily unavailable
libv4l2: error dequeuing buf: Resource temporarily unavailablerate=10737.1kbits/s    
libv4l2: error dequeuing buf: Resource temporarily unavailable
frame=   14 fps=0.0 q=0.0 Lsize=    1475kB time=00:00:01.07 bitrate=11199.9kbits/s    
video:1260kB audio:202kB subtitle:0 global headers:0kB muxing overhead 0.856143%
}}}

Let me know if you want more test or info."	MrNice
1.2	2406	ffmpeg cache protocol bug?	undetermined	1.2	defect	new	2013-03-26T16:45:41+01:00	2013-03-26T17:47:16+01:00	"Summary of the bug:

It looks like the duration is incorrect if cache protocol is used. (cache 00:00:03.71 vs file 00:02:25.68 )

How to reproduce:
{{{
$ ffprobe ""file:///Users/xxxx/Downloads/Videos/Hellboy.ts"" 
[mpeg2video @ 0x7fc6e9015600] 0x0 is invalid
    Last message repeated 29 times
[mpegts @ 0x7fc6e900d000] PES packet size mismatch
Input #0, mpegts, from 'file:///Users/xxxx/Downloads/Videos/Hellboy.ts':
  Duration: 00:02:25.68, start: 41174.341300, bitrate: 10882 kb/s
  Program 1 
    Stream #0:0[0x10]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.42 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x11](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 384 kb/s

$ cat ~/Downloads/Videos/Hellboy.ts |  ffprobe ""cache:pipe:0""  
[mpeg2video @ 0x7fd4f9815600] 0x0 is invalid
    Last message repeated 29 times
Input #0, mpegts, from 'cache:pipe:0':
  Duration: 00:00:03.71, start: 41174.341300, bitrate: 11763 kb/s
  Program 1 
    Stream #0:0[0x10]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.42 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x11](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 384 kb/s

}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker."	testn
1.2	2447	AAC encoder segfault on PPC/OS X 10.5.8	undetermined	1.2	defect	new	2013-04-08T09:29:26+02:00	2013-04-22T10:56:06+02:00	"Summary of the bug:
The AAC encoder crashes with a segmentation fault on PPC under OS X 10.5.8

How to reproduce:
{{{
ffmpeg_g -i input.mkv -map 0:0 -c:0 copy -map 0:1 -c:1 aac -b:1 128k -ac:1 2 -strict experimental  test.m4v
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr  7 2013 21:57:57 with gcc 4.2.1 (GCC) (Apple Inc. build 5577)
  configuration: --enable-runtime-cpudetect --cc=/usr/bin/gcc-4.2
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
Input #0, matroska,webm, from 'input.mkv':
  Duration: 00:50:41.41, start: 0.000000, bitrate: 9793 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) (forced)
    Stream #0:1(ger): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default) (forced)
File 'test.m4v' already exists. Overwrite ? [y/N] y
Output #0, ipod, to 'test.m4v':
    Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 16k tbn, 1k tbc (default) (forced)
    Stream #0:1(ger): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default) (forced)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (ac3 -> aac)
Press [q] to stop, [?] for help



Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x806c7754
quantize_and_encode_band_cost_ESC (s=0x1007810, pb=0x0, in=0x189b980, scaled=0x1007f00, size=0, scale_idx=<value temporarily unavailable, due to optimizations>, cb=<value temporarily unavailable, due to optimizations>, lambda=0, uplim=0, bits=0xbfff9b78) at libavcodec/aaccoder.c:153
153	        curbits =  ff_aac_spectral_bits[cb-1][curidx];
(gdb) bt
#0  quantize_and_encode_band_cost_ESC (s=0x1007810, pb=0x0, in=0x189b980, scaled=0x1007f00, size=0, scale_idx=<value temporarily unavailable, due to optimizations>, cb=<value temporarily unavailable, due to optimizations>, lambda=0, uplim=0, bits=0xbfff9b78) at libavcodec/aaccoder.c:153
#1  0x001607a8 in search_for_quantizers_twoloop (avctx=<value temporarily unavailable, due to optimizations>, s=0x8001f400, sce=0x189a0b0, lambda=<value temporarily unavailable, due to optimizations>) at libavcodec/aaccoder.c:262
#2  0x001607a8 in search_for_quantizers_twoloop (avctx=<value temporarily unavailable, due to optimizations>, s=0x1007810, sce=0x189bb80, lambda=<value temporarily unavailable, due to optimizations>) at libavcodec/aaccoder.c:262
#3  0x0016d918 in aac_encode_frame (avctx=0x100a010, avpkt=0xbfffa928, frame=<value temporarily unavailable, due to optimizations>, got_packet_ptr=0xbfffa7fc) at libavcodec/aacenc.c:597
#4  0x00567d70 in avcodec_encode_audio2 (avctx=0x100a010, avpkt=0xbfffa928, frame=0xf096f0, got_packet_ptr=0xbfffa7fc) at libavcodec/utils.c:1296
#5  0x00011dec in reap_filters () at ffmpeg.c:656
#6  0x00013f8c in transcode_step () at ffmpeg.c:3119
#7  0x0001624c in transcode () at ffmpeg.c:3162
#8  0x00016734 in main (argc=<value temporarily unavailable, due to optimizations>, argv=0x179e8) at ffmpeg.c:3339
(gdb) disass $pc-32,$pc+32
Dump of assembler code for function quantize_and_encode_band_cost_ESC:
0x00162ba0 <quantize_and_encode_band_cost_ESC+0>:	mfcr    r2
0x00162ba4 <quantize_and_encode_band_cost_ESC+4>:	mflr    r0
0x00162ba8 <quantize_and_encode_band_cost_ESC+8>:	stfd    f21,-88(r1)
0x00162bac <quantize_and_encode_band_cost_ESC+12>:	stfd    f22,-80(r1)
0x00162bb0 <quantize_and_encode_band_cost_ESC+16>:	stmw    r17,-204(r1)
0x00162bb4 <quantize_and_encode_band_cost_ESC+20>:	stfd    f24,-64(r1)
0x00162bb8 <quantize_and_encode_band_cost_ESC+24>:	lis     r9,129
0x00162bbc <quantize_and_encode_band_cost_ESC+28>:	fmr     f22,f1
0x00162bc0 <quantize_and_encode_band_cost_ESC+32>:	fmr     f21,f2
0x00162bc4 <quantize_and_encode_band_cost_ESC+36>:	stfd    f26,-48(r1)
0x00162bc8 <quantize_and_encode_band_cost_ESC+40>:	stfd    f27,-40(r1)
0x00162bcc <quantize_and_encode_band_cost_ESC+44>:	cmpwi   r6,0
0x00162bd0 <quantize_and_encode_band_cost_ESC+48>:	stfd    f30,-16(r1)
0x00162bd4 <quantize_and_encode_band_cost_ESC+52>:	stfd    f14,-144(r1)
0x00162bd8 <quantize_and_encode_band_cost_ESC+56>:	mr      r21,r3
0x00162bdc <quantize_and_encode_band_cost_ESC+60>:	mr      r29,r4
0x00162be0 <quantize_and_encode_band_cost_ESC+64>:	stfd    f15,-136(r1)
0x00162be4 <quantize_and_encode_band_cost_ESC+68>:	stfd    f16,-128(r1)
0x00162be8 <quantize_and_encode_band_cost_ESC+72>:	mr      r27,r5
0x00162bec <quantize_and_encode_band_cost_ESC+76>:	mr      r20,r7
0x00162bf0 <quantize_and_encode_band_cost_ESC+80>:	stfd    f17,-120(r1)
0x00162bf4 <quantize_and_encode_band_cost_ESC+84>:	stfd    f18,-112(r1)
0x00162bf8 <quantize_and_encode_band_cost_ESC+88>:	stfd    f19,-104(r1)
0x00162bfc <quantize_and_encode_band_cost_ESC+92>:	stfd    f20,-96(r1)
0x00162c00 <quantize_and_encode_band_cost_ESC+96>:	stfd    f23,-72(r1)
0x00162c04 <quantize_and_encode_band_cost_ESC+100>:	stfd    f25,-56(r1)
0x00162c08 <quantize_and_encode_band_cost_ESC+104>:	stfd    f28,-32(r1)
0x00162c0c <quantize_and_encode_band_cost_ESC+108>:	stfd    f29,-24(r1)
0x00162c10 <quantize_and_encode_band_cost_ESC+112>:	stfd    f31,-8(r1)
0x00162c14 <quantize_and_encode_band_cost_ESC+116>:	stw     r0,8(r1)
0x00162c18 <quantize_and_encode_band_cost_ESC+120>:	stw     r2,4(r1)
0x00162c1c <quantize_and_encode_band_cost_ESC+124>:	stwu    r1,-304(r1)
0x00162c20 <quantize_and_encode_band_cost_ESC+128>:	rlwinm  r2,r8,2,0,29
0x00162c24 <quantize_and_encode_band_cost_ESC+132>:	lwz     r9,-8108(r9)
0x00162c28 <quantize_and_encode_band_cost_ESC+136>:	subfic  r8,r8,304
0x00162c2c <quantize_and_encode_band_cost_ESC+140>:	rlwinm  r8,r8,2,0,29
0x00162c30 <quantize_and_encode_band_cost_ESC+144>:	add     r2,r2,r9
0x00162c34 <quantize_and_encode_band_cost_ESC+148>:	lfs     f26,384(r2)
0x00162c38 <quantize_and_encode_band_cost_ESC+152>:	lis     r2,129
0x00162c3c <quantize_and_encode_band_cost_ESC+156>:	lfsx    f24,r8,r9
0x00162c40 <quantize_and_encode_band_cost_ESC+160>:	lwz     r2,-8128(r2)
0x00162c44 <quantize_and_encode_band_cost_ESC+164>:	lfsx    f30,r8,r2
0x00162c48 <quantize_and_encode_band_cost_ESC+168>:	lis     r2,125
0x00162c4c <quantize_and_encode_band_cost_ESC+172>:	lfs     f0,-10088(r2)
0x00162c50 <quantize_and_encode_band_cost_ESC+176>:	fmuls   f27,f26,f0
0x00162c54 <quantize_and_encode_band_cost_ESC+180>:	bne-    0x162ca0 <quantize_and_encode_band_cost_ESC+256>
0x00162c58 <quantize_and_encode_band_cost_ESC+184>:	cmpwi   cr4,r7,0
0x00162c5c <quantize_and_encode_band_cost_ESC+188>:	addi    r28,r3,736
0x00162c60 <quantize_and_encode_band_cost_ESC+192>:	ble-    cr4,0x162c98 <quantize_and_encode_band_cost_ESC+248>
0x00162c64 <quantize_and_encode_band_cost_ESC+196>:	li      r30,0
0x00162c68 <quantize_and_encode_band_cost_ESC+200>:	li      r31,0
0x00162c6c <quantize_and_encode_band_cost_ESC+204>:	lfsx    f31,r31,r27
0x00162c70 <quantize_and_encode_band_cost_ESC+208>:	addi    r30,r30,1
0x00162c74 <quantize_and_encode_band_cost_ESC+212>:	fabs    f31,f31
0x00162c78 <quantize_and_encode_band_cost_ESC+216>:	fmr     f1,f31
0x00162c7c <quantize_and_encode_band_cost_ESC+220>:	bl      0x662e0c <dyld_stub_sqrtf>
0x00162c80 <quantize_and_encode_band_cost_ESC+224>:	fmuls   f1,f1,f31
0x00162c84 <quantize_and_encode_band_cost_ESC+228>:	bl      0x662e0c <dyld_stub_sqrtf>
0x00162c88 <quantize_and_encode_band_cost_ESC+232>:	cmpw    cr7,r30,r20
0x00162c8c <quantize_and_encode_band_cost_ESC+236>:	stfsx   f1,r31,r28
0x00162c90 <quantize_and_encode_band_cost_ESC+240>:	addi    r31,r31,4
0x00162c94 <quantize_and_encode_band_cost_ESC+244>:	bne+    cr7,0x162c6c <quantize_and_encode_band_cost_ESC+204>
0x00162c98 <quantize_and_encode_band_cost_ESC+248>:	mr      r6,r28
0x00162c9c <quantize_and_encode_band_cost_ESC+252>:	b       0x162ca4 <quantize_and_encode_band_cost_ESC+260>
0x00162ca0 <quantize_and_encode_band_cost_ESC+256>:	cmpwi   cr4,r7,0
0x00162ca4 <quantize_and_encode_band_cost_ESC+260>:	addi    r11,r21,336
0x00162ca8 <quantize_and_encode_band_cost_ESC+264>:	bgt-    cr4,0x162cbc <quantize_and_encode_band_cost_ESC+284>
0x00162cac <quantize_and_encode_band_cost_ESC+268>:	lis     r2,125
0x00162cb0 <quantize_and_encode_band_cost_ESC+272>:	li      r19,0
0x00162cb4 <quantize_and_encode_band_cost_ESC+276>:	lfs     f25,-10336(r2)
0x00162cb8 <quantize_and_encode_band_cost_ESC+280>:	b       0x1633e4 <quantize_and_encode_band_cost_ESC+2116>
0x00162cbc <quantize_and_encode_band_cost_ESC+284>:	mtctr   r20
0x00162cc0 <quantize_and_encode_band_cost_ESC+288>:	lis     r2,125
0x00162cc4 <quantize_and_encode_band_cost_ESC+292>:	lis     r10,125
0x00162cc8 <quantize_and_encode_band_cost_ESC+296>:	li      r9,0
0x00162ccc <quantize_and_encode_band_cost_ESC+300>:	lfs     f13,-8736(r2)
0x00162cd0 <quantize_and_encode_band_cost_ESC+304>:	lfd     f12,-12128(r10)
0x00162cd4 <quantize_and_encode_band_cost_ESC+308>:	nop
0x00162cd8 <quantize_and_encode_band_cost_ESC+312>:	nop
0x00162cdc <quantize_and_encode_band_cost_ESC+316>:	nop
0x00162ce0 <quantize_and_encode_band_cost_ESC+320>:	lfsx    f0,r9,r6
0x00162ce4 <quantize_and_encode_band_cost_ESC+324>:	li      r0,16
0x00162ce8 <quantize_and_encode_band_cost_ESC+328>:	fmuls   f0,f30,f0
0x00162cec <quantize_and_encode_band_cost_ESC+332>:	fadd    f0,f0,f12
0x00162cf0 <quantize_and_encode_band_cost_ESC+336>:	fcmpu   cr7,f0,f13
0x00162cf4 <quantize_and_encode_band_cost_ESC+340>:	bgt-    cr7,0x162d08 <quantize_and_encode_band_cost_ESC+360>
0x00162cf8 <quantize_and_encode_band_cost_ESC+344>:	fctiwz  f0,f0
0x00162cfc <quantize_and_encode_band_cost_ESC+348>:	addi    r2,r1,56
0x00162d00 <quantize_and_encode_band_cost_ESC+352>:	stfiwx  f0,0,r2
0x00162d04 <quantize_and_encode_band_cost_ESC+356>:	lwz     r0,56(r1)
0x00162d08 <quantize_and_encode_band_cost_ESC+360>:	stwx    r0,r9,r11
0x00162d0c <quantize_and_encode_band_cost_ESC+364>:	addi    r9,r9,4
0x00162d10 <quantize_and_encode_band_cost_ESC+368>:	bdnz+   0x162ce0 <quantize_and_encode_band_cost_ESC+320>
0x00162d14 <quantize_and_encode_band_cost_ESC+372>:	lis     r9,125
0x00162d18 <quantize_and_encode_band_cost_ESC+376>:	lis     r2,125
0x00162d1c <quantize_and_encode_band_cost_ESC+380>:	cmpwi   cr4,r29,0
0x00162d20 <quantize_and_encode_band_cost_ESC+384>:	mr      r26,r27
0x00162d24 <quantize_and_encode_band_cost_ESC+388>:	lfs     f20,-8376(r9)
0x00162d28 <quantize_and_encode_band_cost_ESC+392>:	lis     r9,125
0x00162d2c <quantize_and_encode_band_cost_ESC+396>:	lfs     f23,-10348(r2)
0x00162d30 <quantize_and_encode_band_cost_ESC+400>:	lis     r2,129
0x00162d34 <quantize_and_encode_band_cost_ESC+404>:	li      r23,0
0x00162d38 <quantize_and_encode_band_cost_ESC+408>:	li      r19,0
0x00162d3c <quantize_and_encode_band_cost_ESC+412>:	lfd     f14,-12128(r9)
0x00162d40 <quantize_and_encode_band_cost_ESC+416>:	lis     r9,129
0x00162d44 <quantize_and_encode_band_cost_ESC+420>:	lwz     r2,-8152(r2)
0x00162d48 <quantize_and_encode_band_cost_ESC+424>:	lwz     r22,-8184(r9)
0x00162d4c <quantize_and_encode_band_cost_ESC+428>:	lis     r9,129
0x00162d50 <quantize_and_encode_band_cost_ESC+432>:	fmr     f19,f20
0x00162d54 <quantize_and_encode_band_cost_ESC+436>:	fmr     f17,f20
0x00162d58 <quantize_and_encode_band_cost_ESC+440>:	fmr     f18,f20
0x00162d5c <quantize_and_encode_band_cost_ESC+444>:	lwz     r17,-8148(r9)
0x00162d60 <quantize_and_encode_band_cost_ESC+448>:	lis     r9,125
0x00162d64 <quantize_and_encode_band_cost_ESC+452>:	lwz     r18,40(r2)
0x00162d68 <quantize_and_encode_band_cost_ESC+456>:	lfs     f25,-10336(r9)
0x00162d6c <quantize_and_encode_band_cost_ESC+460>:	fmr     f16,f14
0x00162d70 <quantize_and_encode_band_cost_ESC+464>:	fmr     f15,f14
0x00162d74 <quantize_and_encode_band_cost_ESC+468>:	fmr     f28,f25
0x00162d78 <quantize_and_encode_band_cost_ESC+472>:	nop
0x00162d7c <quantize_and_encode_band_cost_ESC+476>:	nop
0x00162d80 <quantize_and_encode_band_cost_ESC+480>:	rlwinm  r9,r23,2,0,29
0x00162d84 <quantize_and_encode_band_cost_ESC+484>:	lfs     f0,0(r26)
0x00162d88 <quantize_and_encode_band_cost_ESC+488>:	lwz     r10,40(r22)
0x00162d8c <quantize_and_encode_band_cost_ESC+492>:	add     r11,r9,r21
0x00162d90 <quantize_and_encode_band_cost_ESC+496>:	lwz     r2,336(r11)
0x00162d94 <quantize_and_encode_band_cost_ESC+500>:	lwz     r0,340(r11)
0x00162d98 <quantize_and_encode_band_cost_ESC+504>:	fabs    f30,f0
0x00162d9c <quantize_and_encode_band_cost_ESC+508>:	mulli   r2,r2,17
0x00162da0 <quantize_and_encode_band_cost_ESC+512>:	add     r2,r2,r0
0x00162da4 <quantize_and_encode_band_cost_ESC+516>:	rlwinm  r27,r2,3,0,28
0x00162da8 <quantize_and_encode_band_cost_ESC+520>:	lbzx    r31,r18,r2
0x00162dac <quantize_and_encode_band_cost_ESC+524>:	rlwinm  r24,r2,1,0,30
0x00162db0 <quantize_and_encode_band_cost_ESC+528>:	lfsx    f0,r27,r10
0x00162db4 <quantize_and_encode_band_cost_ESC+532>:	add     r25,r27,r10
0x00162db8 <quantize_and_encode_band_cost_ESC+536>:	fcmpu   cr7,f0,f20
0x00162dbc <quantize_and_encode_band_cost_ESC+540>:	bne-    cr7,0x162de0 <quantize_and_encode_band_cost_ESC+576>
0x00162dc0 <quantize_and_encode_band_cost_ESC+544>:	b       0x162df4 <quantize_and_encode_band_cost_ESC+596>
0x00162dc4 <quantize_and_encode_band_cost_ESC+548>:	mr      r2,r31
0x00162dc8 <quantize_and_encode_band_cost_ESC+552>:	nop
0x00162dcc <quantize_and_encode_band_cost_ESC+556>:	nop
0x00162dd0 <quantize_and_encode_band_cost_ESC+560>:	addi    r28,r2,1
0x00162dd4 <quantize_and_encode_band_cost_ESC+564>:	b       0x162ec0 <quantize_and_encode_band_cost_ESC+800>
0x00162dd8 <quantize_and_encode_band_cost_ESC+568>:	nop
0x00162ddc <quantize_and_encode_band_cost_ESC+572>:	nop
0x00162de0 <quantize_and_encode_band_cost_ESC+576>:	fcmpu   cr7,f0,f28
0x00162de4 <quantize_and_encode_band_cost_ESC+580>:	fnmsubs f12,f26,f0,f30
0x00162de8 <quantize_and_encode_band_cost_ESC+584>:	mr      r28,r31
0x00162dec <quantize_and_encode_band_cost_ESC+588>:	beq-    cr7,0x162ec0 <quantize_and_encode_band_cost_ESC+800>
0x00162df0 <quantize_and_encode_band_cost_ESC+592>:	b       0x162dc4 <quantize_and_encode_band_cost_ESC+548>
0x00162df4 <quantize_and_encode_band_cost_ESC+596>:	fcmpu   cr7,f27,f30
0x00162df8 <quantize_and_encode_band_cost_ESC+600>:	cror    4*cr7+eq,4*cr7+lt,4*cr7+eq
0x00162dfc <quantize_and_encode_band_cost_ESC+604>:	beq-    cr7,0x162eb0 <quantize_and_encode_band_cost_ESC+784>
0x00162e00 <quantize_and_encode_band_cost_ESC+608>:	fmuls   f31,f24,f30
0x00162e04 <quantize_and_encode_band_cost_ESC+612>:	fmr     f1,f31
0x00162e08 <quantize_and_encode_band_cost_ESC+616>:	bl      0x662e0c <dyld_stub_sqrtf>
0x00162e0c <quantize_and_encode_band_cost_ESC+620>:	fmuls   f1,f1,f31
0x00162e10 <quantize_and_encode_band_cost_ESC+624>:	bl      0x662e0c <dyld_stub_sqrtf>
0x00162e14 <quantize_and_encode_band_cost_ESC+628>:	lis     r2,125
0x00162e18 <quantize_and_encode_band_cost_ESC+632>:	lfd     f0,-12128(r2)
0x00162e1c <quantize_and_encode_band_cost_ESC+636>:	addi    r2,r1,56
0x00162e20 <quantize_and_encode_band_cost_ESC+640>:	fadd    f1,f1,f0
0x00162e24 <quantize_and_encode_band_cost_ESC+644>:	fctiwz  f0,f1
0x00162e28 <quantize_and_encode_band_cost_ESC+648>:	stfiwx  f0,0,r2
0x00162e2c <quantize_and_encode_band_cost_ESC+652>:	lwz     r0,56(r1)
0x00162e30 <quantize_and_encode_band_cost_ESC+656>:	cmpwi   cr7,r0,8191
0x00162e34 <quantize_and_encode_band_cost_ESC+660>:	ble-    cr7,0x162e3c <quantize_and_encode_band_cost_ESC+668>
0x00162e38 <quantize_and_encode_band_cost_ESC+664>:	li      r0,8191
0x00162e3c <quantize_and_encode_band_cost_ESC+668>:	cmpwi   cr7,r0,0
0x00162e40 <quantize_and_encode_band_cost_ESC+672>:	mr      r30,r0
0x00162e44 <quantize_and_encode_band_cost_ESC+676>:	bge-    cr7,0x162e4c <quantize_and_encode_band_cost_ESC+684>
0x00162e48 <quantize_and_encode_band_cost_ESC+680>:	li      r30,0
0x00162e4c <quantize_and_encode_band_cost_ESC+684>:	xoris   r2,r30,32768
0x00162e50 <quantize_and_encode_band_cost_ESC+688>:	lis     r0,17200
0x00162e54 <quantize_and_encode_band_cost_ESC+692>:	lis     r9,125
0x00162e58 <quantize_and_encode_band_cost_ESC+696>:	stw     r2,68(r1)
0x00162e5c <quantize_and_encode_band_cost_ESC+700>:	stw     r0,64(r1)
0x00162e60 <quantize_and_encode_band_cost_ESC+704>:	lfs     f0,-10348(r9)
0x00162e64 <quantize_and_encode_band_cost_ESC+708>:	nop
0x00162e68 <quantize_and_encode_band_cost_ESC+712>:	nop
0x00162e6c <quantize_and_encode_band_cost_ESC+716>:	lfd     f31,64(r1)
0x00162e70 <quantize_and_encode_band_cost_ESC+720>:	fsub    f31,f31,f0
0x00162e74 <quantize_and_encode_band_cost_ESC+724>:	frsp    f31,f31
0x00162e78 <quantize_and_encode_band_cost_ESC+728>:	fmr     f1,f31
0x00162e7c <quantize_and_encode_band_cost_ESC+732>:	bl      0x66256c <dyld_stub_cbrtf>
0x00162e80 <quantize_and_encode_band_cost_ESC+736>:	ori     r2,r30,1
0x00162e84 <quantize_and_encode_band_cost_ESC+740>:	fmuls   f31,f31,f1
0x00162e88 <quantize_and_encode_band_cost_ESC+744>:	cntlzw  r2,r2
0x00162e8c <quantize_and_encode_band_cost_ESC+748>:	subfic  r2,r2,31
0x00162e90 <quantize_and_encode_band_cost_ESC+752>:	rlwinm  r2,r2,1,0,30
0x00162e94 <quantize_and_encode_band_cost_ESC+756>:	fnmsubs f12,f31,f26,f30
0x00162e98 <quantize_and_encode_band_cost_ESC+760>:	addi    r2,r2,-3
0x00162e9c <quantize_and_encode_band_cost_ESC+764>:	add     r2,r2,r31
0x00162ea0 <quantize_and_encode_band_cost_ESC+768>:	b       0x162dd0 <quantize_and_encode_band_cost_ESC+560>
0x00162ea4 <quantize_and_encode_band_cost_ESC+772>:	nop
0x00162ea8 <quantize_and_encode_band_cost_ESC+776>:	nop
0x00162eac <quantize_and_encode_band_cost_ESC+780>:	nop
0x00162eb0 <quantize_and_encode_band_cost_ESC+784>:	fsubs   f12,f30,f27
0x00162eb4 <quantize_and_encode_band_cost_ESC+788>:	addi    r2,r31,21
0x00162eb8 <quantize_and_encode_band_cost_ESC+792>:	b       0x162dd0 <quantize_and_encode_band_cost_ESC+560>
0x00162ebc <quantize_and_encode_band_cost_ESC+796>:	nop
0x00162ec0 <quantize_and_encode_band_cost_ESC+800>:	lfs     f13,4(r25)
0x00162ec4 <quantize_and_encode_band_cost_ESC+804>:	lfs     f0,4(r26)
0x00162ec8 <quantize_and_encode_band_cost_ESC+808>:	fmadds  f29,f12,f12,f28
0x00162ecc <quantize_and_encode_band_cost_ESC+812>:	fcmpu   cr7,f13,f19
0x00162ed0 <quantize_and_encode_band_cost_ESC+816>:	fabs    f30,f0
0x00162ed4 <quantize_and_encode_band_cost_ESC+820>:	bne-    cr7,0x162f90 <quantize_and_encode_band_cost_ESC+1008>
0x00162ed8 <quantize_and_encode_band_cost_ESC+824>:	fcmpu   cr7,f27,f30
0x00162edc <quantize_and_encode_band_cost_ESC+828>:	cror    4*cr7+eq,4*cr7+lt,4*cr7+eq
0x00162ee0 <quantize_and_encode_band_cost_ESC+832>:	bne-    cr7,0x162ef0 <quantize_and_encode_band_cost_ESC+848>
0x00162ee4 <quantize_and_encode_band_cost_ESC+836>:	fsubs   f0,f30,f27
0x00162ee8 <quantize_and_encode_band_cost_ESC+840>:	addi    r28,r28,21
0x00162eec <quantize_and_encode_band_cost_ESC+844>:	b       0x162fa0 <quantize_and_encode_band_cost_ESC+1024>
0x00162ef0 <quantize_and_encode_band_cost_ESC+848>:	fmuls   f31,f24,f30
0x00162ef4 <quantize_and_encode_band_cost_ESC+852>:	fmr     f1,f31
0x00162ef8 <quantize_and_encode_band_cost_ESC+856>:	bl      0x662e0c <dyld_stub_sqrtf>
0x00162efc <quantize_and_encode_band_cost_ESC+860>:	fmuls   f1,f1,f31
0x00162f00 <quantize_and_encode_band_cost_ESC+864>:	bl      0x662e0c <dyld_stub_sqrtf>
0x00162f04 <quantize_and_encode_band_cost_ESC+868>:	addi    r2,r1,56
0x00162f08 <quantize_and_encode_band_cost_ESC+872>:	fadd    f1,f1,f14
0x00162f0c <quantize_and_encode_band_cost_ESC+876>:	fctiwz  f0,f1
0x00162f10 <quantize_and_encode_band_cost_ESC+880>:	stfiwx  f0,0,r2
0x00162f14 <quantize_and_encode_band_cost_ESC+884>:	lwz     r0,56(r1)
0x00162f18 <quantize_and_encode_band_cost_ESC+888>:	cmpwi   cr7,r0,8191
0x00162f1c <quantize_and_encode_band_cost_ESC+892>:	ble-    cr7,0x162f24 <quantize_and_encode_band_cost_ESC+900>
0x00162f20 <quantize_and_encode_band_cost_ESC+896>:	li      r0,8191
0x00162f24 <quantize_and_encode_band_cost_ESC+900>:	cmpwi   cr7,r0,0
0x00162f28 <quantize_and_encode_band_cost_ESC+904>:	mr      r30,r0
0x00162f2c <quantize_and_encode_band_cost_ESC+908>:	bge-    cr7,0x162f34 <quantize_and_encode_band_cost_ESC+916>
0x00162f30 <quantize_and_encode_band_cost_ESC+912>:	li      r30,0
0x00162f34 <quantize_and_encode_band_cost_ESC+916>:	xoris   r2,r30,32768
0x00162f38 <quantize_and_encode_band_cost_ESC+920>:	lis     r0,17200
0x00162f3c <quantize_and_encode_band_cost_ESC+924>:	lis     r9,125
0x00162f40 <quantize_and_encode_band_cost_ESC+928>:	stw     r2,76(r1)
0x00162f44 <quantize_and_encode_band_cost_ESC+932>:	stw     r0,72(r1)
0x00162f48 <quantize_and_encode_band_cost_ESC+936>:	lfs     f0,-10348(r9)
0x00162f4c <quantize_and_encode_band_cost_ESC+940>:	nop
0x00162f50 <quantize_and_encode_band_cost_ESC+944>:	nop
0x00162f54 <quantize_and_encode_band_cost_ESC+948>:	lfd     f31,72(r1)
0x00162f58 <quantize_and_encode_band_cost_ESC+952>:	fsub    f31,f31,f0
0x00162f5c <quantize_and_encode_band_cost_ESC+956>:	frsp    f31,f31
0x00162f60 <quantize_and_encode_band_cost_ESC+960>:	fmr     f1,f31
0x00162f64 <quantize_and_encode_band_cost_ESC+964>:	bl      0x66256c <dyld_stub_cbrtf>
0x00162f68 <quantize_and_encode_band_cost_ESC+968>:	ori     r2,r30,1
0x00162f6c <quantize_and_encode_band_cost_ESC+972>:	fmuls   f31,f31,f1
0x00162f70 <quantize_and_encode_band_cost_ESC+976>:	cntlzw  r2,r2
0x00162f74 <quantize_and_encode_band_cost_ESC+980>:	subfic  r2,r2,31
0x00162f78 <quantize_and_encode_band_cost_ESC+984>:	rlwinm  r2,r2,1,0,30
0x00162f7c <quantize_and_encode_band_cost_ESC+988>:	fnmsubs f0,f31,f26,f30
0x00162f80 <quantize_and_encode_band_cost_ESC+992>:	addi    r2,r2,-3
0x00162f84 <quantize_and_encode_band_cost_ESC+996>:	add     r28,r28,r2
0x00162f88 <quantize_and_encode_band_cost_ESC+1000>:	b       0x162fa0 <quantize_and_encode_band_cost_ESC+1024>
0x00162f8c <quantize_and_encode_band_cost_ESC+1004>:	nop
0x00162f90 <quantize_and_encode_band_cost_ESC+1008>:	fcmpu   cr7,f13,f28
0x00162f94 <quantize_and_encode_band_cost_ESC+1012>:	fnmsubs f0,f26,f13,f30
0x00162f98 <quantize_and_encode_band_cost_ESC+1016>:	beq-    cr7,0x162fa4 <quantize_and_encode_band_cost_ESC+1028>
0x00162f9c <quantize_and_encode_band_cost_ESC+1020>:	nop
0x00162fa0 <quantize_and_encode_band_cost_ESC+1024>:	addi    r28,r28,1
0x00162fa4 <quantize_and_encode_band_cost_ESC+1028>:	xoris   r2,r28,32768
0x00162fa8 <quantize_and_encode_band_cost_ESC+1032>:	lis     r0,17200
0x00162fac <quantize_and_encode_band_cost_ESC+1036>:	fmadds  f13,f0,f0,f29
0x00162fb0 <quantize_and_encode_band_cost_ESC+1040>:	stw     r0,80(r1)
0x00162fb4 <quantize_and_encode_band_cost_ESC+1044>:	stw     r2,84(r1)
0x00162fb8 <quantize_and_encode_band_cost_ESC+1048>:	nop
0x00162fbc <quantize_and_encode_band_cost_ESC+1052>:	nop
0x00162fc0 <quantize_and_encode_band_cost_ESC+1056>:	nop
0x00162fc4 <quantize_and_encode_band_cost_ESC+1060>:	lfd     f0,80(r1)
0x00162fc8 <quantize_and_encode_band_cost_ESC+1064>:	fsub    f0,f0,f23
0x00162fcc <quantize_and_encode_band_cost_ESC+1068>:	frsp    f0,f0
0x00162fd0 <quantize_and_encode_band_cost_ESC+1072>:	fmadds  f13,f22,f13,f0
0x00162fd4 <quantize_and_encode_band_cost_ESC+1076>:	fadds   f25,f25,f13
0x00162fd8 <quantize_and_encode_band_cost_ESC+1080>:	fcmpu   cr7,f21,f25
0x00162fdc <quantize_and_encode_band_cost_ESC+1084>:	cror    4*cr7+eq,4*cr7+lt,4*cr7+eq
0x00162fe0 <quantize_and_encode_band_cost_ESC+1088>:	bne-    cr7,0x162ff0 <quantize_and_encode_band_cost_ESC+1104>
0x00162fe4 <quantize_and_encode_band_cost_ESC+1092>:	fmr     f25,f21
0x00162fe8 <quantize_and_encode_band_cost_ESC+1096>:	b       0x1633f4 <quantize_and_encode_band_cost_ESC+2132>
0x00162fec <quantize_and_encode_band_cost_ESC+1100>:	nop
0x00162ff0 <quantize_and_encode_band_cost_ESC+1104>:	beq-    cr4,0x1633d0 <quantize_and_encode_band_cost_ESC+2096>
0x00162ff4 <quantize_and_encode_band_cost_ESC+1108>:	lwz     r9,4(r29)
0x00162ff8 <quantize_and_encode_band_cost_ESC+1112>:	lwz     r2,40(r17)
0x00162ffc <quantize_and_encode_band_cost_ESC+1116>:	lwz     r11,0(r29)
0x00163000 <quantize_and_encode_band_cost_ESC+1120>:	cmpw    cr7,r31,r9
0x00163004 <quantize_and_encode_band_cost_ESC+1124>:	lhzx    r10,r24,r2
0x00163008 <quantize_and_encode_band_cost_ESC+1128>:	bge-    cr7,0x163020 <quantize_and_encode_band_cost_ESC+1152>
0x0016300c <quantize_and_encode_band_cost_ESC+1132>:	slw     r0,r11,r31
0x00163010 <quantize_and_encode_band_cost_ESC+1136>:	subf    r11,r31,r9
0x00163014 <quantize_and_encode_band_cost_ESC+1140>:	or      r10,r10,r0
0x00163018 <quantize_and_encode_band_cost_ESC+1144>:	b       0x16304c <quantize_and_encode_band_cost_ESC+1196>
0x0016301c <quantize_and_encode_band_cost_ESC+1148>:	nop
0x00163020 <quantize_and_encode_band_cost_ESC+1152>:	subf    r0,r9,r31
0x00163024 <quantize_and_encode_band_cost_ESC+1156>:	slw     r2,r11,r9
0x00163028 <quantize_and_encode_band_cost_ESC+1160>:	lwz     r11,12(r29)
0x0016302c <quantize_and_encode_band_cost_ESC+1164>:	addi    r9,r9,32
0x00163030 <quantize_and_encode_band_cost_ESC+1168>:	srw     r0,r10,r0
0x00163034 <quantize_and_encode_band_cost_ESC+1172>:	or      r0,r0,r2
0x00163038 <quantize_and_encode_band_cost_ESC+1176>:	stw     r0,0(r11)
0x0016303c <quantize_and_encode_band_cost_ESC+1180>:	subf    r11,r31,r9
0x00163040 <quantize_and_encode_band_cost_ESC+1184>:	lwz     r2,12(r29)
0x00163044 <quantize_and_encode_band_cost_ESC+1188>:	addi    r2,r2,4
0x00163048 <quantize_and_encode_band_cost_ESC+1192>:	stw     r2,12(r29)
0x0016304c <quantize_and_encode_band_cost_ESC+1196>:	stw     r10,0(r29)
0x00163050 <quantize_and_encode_band_cost_ESC+1200>:	stw     r11,4(r29)
0x00163054 <quantize_and_encode_band_cost_ESC+1204>:	lwz     r2,40(r22)
0x00163058 <quantize_and_encode_band_cost_ESC+1208>:	lfsx    f0,r27,r2
0x0016305c <quantize_and_encode_band_cost_ESC+1212>:	fcmpu   cr7,f0,f28
0x00163060 <quantize_and_encode_band_cost_ESC+1216>:	beq-    cr7,0x1630d0 <quantize_and_encode_band_cost_ESC+1328>
0x00163064 <quantize_and_encode_band_cost_ESC+1220>:	lfs     f0,0(r26)
0x00163068 <quantize_and_encode_band_cost_ESC+1224>:	cmpwi   cr6,r11,1
0x0016306c <quantize_and_encode_band_cost_ESC+1228>:	fcmpu   cr7,f0,f28
0x00163070 <quantize_and_encode_band_cost_ESC+1232>:	mfcr    r8
0x00163074 <quantize_and_encode_band_cost_ESC+1236>:	rlwinm  r8,r8,29,31,31
0x00163078 <quantize_and_encode_band_cost_ESC+1240>:	bgt-    cr6,0x1630c0 <quantize_and_encode_band_cost_ESC+1312>
0x0016307c <quantize_and_encode_band_cost_ESC+1244>:	b       0x163090 <quantize_and_encode_band_cost_ESC+1264>
0x00163080 <quantize_and_encode_band_cost_ESC+1248>:	stw     r8,0(r29)
0x00163084 <quantize_and_encode_band_cost_ESC+1252>:	stw     r11,4(r29)
0x00163088 <quantize_and_encode_band_cost_ESC+1256>:	lwz     r2,40(r22)
0x0016308c <quantize_and_encode_band_cost_ESC+1260>:	b       0x1630d0 <quantize_and_encode_band_cost_ESC+1328>
0x00163090 <quantize_and_encode_band_cost_ESC+1264>:	subfic  r0,r11,1
0x00163094 <quantize_and_encode_band_cost_ESC+1268>:	slw     r2,r10,r11
0x00163098 <quantize_and_encode_band_cost_ESC+1272>:	lwz     r9,12(r29)
0x0016309c <quantize_and_encode_band_cost_ESC+1276>:	addi    r11,r11,31
0x001630a0 <quantize_and_encode_band_cost_ESC+1280>:	srw     r0,r8,r0
0x001630a4 <quantize_and_encode_band_cost_ESC+1284>:	or      r0,r0,r2
0x001630a8 <quantize_and_encode_band_cost_ESC+1288>:	stw     r0,0(r9)
0x001630ac <quantize_and_encode_band_cost_ESC+1292>:	lwz     r2,12(r29)
0x001630b0 <quantize_and_encode_band_cost_ESC+1296>:	addi    r2,r2,4
0x001630b4 <quantize_and_encode_band_cost_ESC+1300>:	stw     r2,12(r29)
0x001630b8 <quantize_and_encode_band_cost_ESC+1304>:	b       0x163080 <quantize_and_encode_band_cost_ESC+1248>
0x001630bc <quantize_and_encode_band_cost_ESC+1308>:	nop
0x001630c0 <quantize_and_encode_band_cost_ESC+1312>:	rlwinm  r0,r10,1,0,30
0x001630c4 <quantize_and_encode_band_cost_ESC+1316>:	addi    r11,r11,-1
0x001630c8 <quantize_and_encode_band_cost_ESC+1320>:	or      r8,r8,r0
0x001630cc <quantize_and_encode_band_cost_ESC+1324>:	b       0x163080 <quantize_and_encode_band_cost_ESC+1248>
0x001630d0 <quantize_and_encode_band_cost_ESC+1328>:	addi    r0,r24,1
0x001630d4 <quantize_and_encode_band_cost_ESC+1332>:	rlwinm  r31,r0,2,0,29
0x001630d8 <quantize_and_encode_band_cost_ESC+1336>:	lfsx    f0,r31,r2
0x001630dc <quantize_and_encode_band_cost_ESC+1340>:	fcmpu   cr7,f0,f28
0x001630e0 <quantize_and_encode_band_cost_ESC+1344>:	beq-    cr7,0x16314c <quantize_and_encode_band_cost_ESC+1452>
0x001630e4 <quantize_and_encode_band_cost_ESC+1348>:	lfs     f0,4(r26)
0x001630e8 <quantize_and_encode_band_cost_ESC+1352>:	lwz     r11,4(r29)
0x001630ec <quantize_and_encode_band_cost_ESC+1356>:	lwz     r2,0(r29)
0x001630f0 <quantize_and_encode_band_cost_ESC+1360>:	cmpwi   cr6,r11,1
0x001630f4 <quantize_and_encode_band_cost_ESC+1364>:	fcmpu   cr7,f0,f28
0x001630f8 <quantize_and_encode_band_cost_ESC+1368>:	mfcr    r10
0x001630fc <quantize_and_encode_band_cost_ESC+1372>:	rlwinm  r10,r10,29,31,31
0x00163100 <quantize_and_encode_band_cost_ESC+1376>:	ble-    cr6,0x163114 <quantize_and_encode_band_cost_ESC+1396>
0x00163104 <quantize_and_encode_band_cost_ESC+1380>:	rlwinm  r0,r2,1,0,30
0x00163108 <quantize_and_encode_band_cost_ESC+1384>:	addi    r11,r11,-1
0x0016310c <quantize_and_encode_band_cost_ESC+1388>:	or      r10,r10,r0
0x00163110 <quantize_and_encode_band_cost_ESC+1392>:	b       0x163140 <quantize_and_encode_band_cost_ESC+1440>
0x00163114 <quantize_and_encode_band_cost_ESC+1396>:	subfic  r0,r11,1
0x00163118 <quantize_and_encode_band_cost_ESC+1400>:	slw     r2,r2,r11
0x0016311c <quantize_and_encode_band_cost_ESC+1404>:	lwz     r9,12(r29)
0x00163120 <quantize_and_encode_band_cost_ESC+1408>:	addi    r11,r11,31
0x00163124 <quantize_and_encode_band_cost_ESC+1412>:	srw     r0,r10,r0
0x00163128 <quantize_and_encode_band_cost_ESC+1416>:	or      r0,r0,r2
0x0016312c <quantize_and_encode_band_cost_ESC+1420>:	stw     r0,0(r9)
0x00163130 <quantize_and_encode_band_cost_ESC+1424>:	lwz     r2,12(r29)
0x00163134 <quantize_and_encode_band_cost_ESC+1428>:	addi    r2,r2,4
0x00163138 <quantize_and_encode_band_cost_ESC+1432>:	stw     r2,12(r29)
0x0016313c <quantize_and_encode_band_cost_ESC+1436>:	nop
0x00163140 <quantize_and_encode_band_cost_ESC+1440>:	stw     r10,0(r29)
0x00163144 <quantize_and_encode_band_cost_ESC+1444>:	stw     r11,4(r29)
0x00163148 <quantize_and_encode_band_cost_ESC+1448>:	lwz     r2,40(r22)
0x0016314c <quantize_and_encode_band_cost_ESC+1452>:	lfsx    f0,r27,r2
0x00163150 <quantize_and_encode_band_cost_ESC+1456>:	fcmpu   cr7,f0,f18
0x00163154 <quantize_and_encode_band_cost_ESC+1460>:	bne-    cr7,0x1632a0 <quantize_and_encode_band_cost_ESC+1792>
0x00163158 <quantize_and_encode_band_cost_ESC+1464>:	lfs     f31,0(r26)
0x0016315c <quantize_and_encode_band_cost_ESC+1468>:	fabs    f31,f31
0x00163160 <quantize_and_encode_band_cost_ESC+1472>:	fmuls   f31,f24,f31
0x00163164 <quantize_and_encode_band_cost_ESC+1476>:	fmr     f1,f31
0x00163168 <quantize_and_encode_band_cost_ESC+1480>:	bl      0x662e0c <dyld_stub_sqrtf>
0x0016316c <quantize_and_encode_band_cost_ESC+1484>:	fmuls   f1,f1,f31
0x00163170 <quantize_and_encode_band_cost_ESC+1488>:	bl      0x662e0c <dyld_stub_sqrtf>
0x00163174 <quantize_and_encode_band_cost_ESC+1492>:	addi    r2,r1,56
0x00163178 <quantize_and_encode_band_cost_ESC+1496>:	fadd    f1,f1,f15
0x0016317c <quantize_and_encode_band_cost_ESC+1500>:	fctiwz  f0,f1
0x00163180 <quantize_and_encode_band_cost_ESC+1504>:	stfiwx  f0,0,r2
0x00163184 <quantize_and_encode_band_cost_ESC+1508>:	lwz     r0,56(r1)
0x00163188 <quantize_and_encode_band_cost_ESC+1512>:	cmpwi   cr7,r0,8191
0x0016318c <quantize_and_encode_band_cost_ESC+1516>:	ble-    cr7,0x163194 <quantize_and_encode_band_cost_ESC+1524>
0x00163190 <quantize_and_encode_band_cost_ESC+1520>:	li      r0,8191
0x00163194 <quantize_and_encode_band_cost_ESC+1524>:	cmpwi   cr7,r0,0
0x00163198 <quantize_and_encode_band_cost_ESC+1528>:	mr      r7,r0
0x0016319c <quantize_and_encode_band_cost_ESC+1532>:	bge-    cr7,0x1631b0 <quantize_and_encode_band_cost_ESC+1552>
0x001631a0 <quantize_and_encode_band_cost_ESC+1536>:	li      r7,0
0x001631a4 <quantize_and_encode_band_cost_ESC+1540>:	nop
0x001631a8 <quantize_and_encode_band_cost_ESC+1544>:	nop
0x001631ac <quantize_and_encode_band_cost_ESC+1548>:	nop
0x001631b0 <quantize_and_encode_band_cost_ESC+1552>:	ori     r0,r7,1
0x001631b4 <quantize_and_encode_band_cost_ESC+1556>:	lwz     r9,4(r29)
0x001631b8 <quantize_and_encode_band_cost_ESC+1560>:	li      r2,1
0x001631bc <quantize_and_encode_band_cost_ESC+1564>:	lwz     r11,0(r29)
0x001631c0 <quantize_and_encode_band_cost_ESC+1568>:	cntlzw  r0,r0
0x001631c4 <quantize_and_encode_band_cost_ESC+1572>:	subfic  r8,r0,31
0x001631c8 <quantize_and_encode_band_cost_ESC+1576>:	addi    r10,r8,-3
0x001631cc <quantize_and_encode_band_cost_ESC+1580>:	cmpw    cr7,r10,r9
0x001631d0 <quantize_and_encode_band_cost_ESC+1584>:	slw     r2,r2,r10
0x001631d4 <quantize_and_encode_band_cost_ESC+1588>:	addi    r6,r2,-2
0x001631d8 <quantize_and_encode_band_cost_ESC+1592>:	blt-    cr7,0x16328c <quantize_and_encode_band_cost_ESC+1772>
0x001631dc <quantize_and_encode_band_cost_ESC+1596>:	b       0x16325c <quantize_and_encode_band_cost_ESC+1724>
0x001631e0 <quantize_and_encode_band_cost_ESC+1600>:	li      r2,1
0x001631e4 <quantize_and_encode_band_cost_ESC+1604>:	cmpw    cr7,r8,r10
0x001631e8 <quantize_and_encode_band_cost_ESC+1608>:	stw     r6,0(r29)
0x001631ec <quantize_and_encode_band_cost_ESC+1612>:	stw     r10,4(r29)
0x001631f0 <quantize_and_encode_band_cost_ESC+1616>:	slw     r2,r2,r8
0x001631f4 <quantize_and_encode_band_cost_ESC+1620>:	addi    r2,r2,-1
0x001631f8 <quantize_and_encode_band_cost_ESC+1624>:	and     r7,r7,r2
0x001631fc <quantize_and_encode_band_cost_ESC+1628>:	blt-    cr7,0x16324c <quantize_and_encode_band_cost_ESC+1708>
0x00163200 <quantize_and_encode_band_cost_ESC+1632>:	b       0x16321c <quantize_and_encode_band_cost_ESC+1660>
0x00163204 <quantize_and_encode_band_cost_ESC+1636>:	nop
0x00163208 <quantize_and_encode_band_cost_ESC+1640>:	nop
0x0016320c <quantize_and_encode_band_cost_ESC+1644>:	nop
0x00163210 <quantize_and_encode_band_cost_ESC+1648>:	stw     r7,0(r29)
0x00163214 <quantize_and_encode_band_cost_ESC+1652>:	stw     r9,4(r29)
0x00163218 <quantize_and_encode_band_cost_ESC+1656>:	b       0x1632a0 <quantize_and_encode_band_cost_ESC+1792>
0x0016321c <quantize_and_encode_band_cost_ESC+1660>:	subf    r0,r10,r8
0x00163220 <quantize_and_encode_band_cost_ESC+1664>:	slw     r2,r6,r10
0x00163224 <quantize_and_encode_band_cost_ESC+1668>:	lwz     r11,12(r29)
0x00163228 <quantize_and_encode_band_cost_ESC+1672>:	subfic  r9,r8,32
0x0016322c <quantize_and_encode_band_cost_ESC+1676>:	srw     r0,r7,r0
0x00163230 <quantize_and_encode_band_cost_ESC+1680>:	add     r9,r9,r10
0x00163234 <quantize_and_encode_band_cost_ESC+1684>:	or      r0,r0,r2
0x00163238 <quantize_and_encode_band_cost_ESC+1688>:	stw     r0,0(r11)
0x0016323c <quantize_and_encode_band_cost_ESC+1692>:	lwz     r2,12(r29)
0x00163240 <quantize_and_encode_band_cost_ESC+1696>:	addi    r2,r2,4
0x00163244 <quantize_and_encode_band_cost_ESC+1700>:	stw     r2,12(r29)
0x00163248 <quantize_and_encode_band_cost_ESC+1704>:	b       0x163210 <quantize_and_encode_band_cost_ESC+1648>
0x0016324c <quantize_and_encode_band_cost_ESC+1708>:	slw     r0,r6,r8
0x00163250 <quantize_and_encode_band_cost_ESC+1712>:	subf    r9,r8,r10
0x00163254 <quantize_and_encode_band_cost_ESC+1716>:	or      r7,r7,r0
0x00163258 <quantize_and_encode_band_cost_ESC+1720>:	b       0x163210 <quantize_and_encode_band_cost_ESC+1648>
0x0016325c <quantize_and_encode_band_cost_ESC+1724>:	subf    r0,r9,r10
0x00163260 <quantize_and_encode_band_cost_ESC+1728>:	slw     r2,r11,r9
0x00163264 <quantize_and_encode_band_cost_ESC+1732>:	lwz     r11,12(r29)
0x00163268 <quantize_and_encode_band_cost_ESC+1736>:	addi    r9,r9,32
0x0016326c <quantize_and_encode_band_cost_ESC+1740>:	srw     r0,r6,r0
0x00163270 <quantize_and_encode_band_cost_ESC+1744>:	subf    r10,r10,r9
0x00163274 <quantize_and_encode_band_cost_ESC+1748>:	or      r0,r0,r2
0x00163278 <quantize_and_encode_band_cost_ESC+1752>:	stw     r0,0(r11)
0x0016327c <quantize_and_encode_band_cost_ESC+1756>:	lwz     r2,12(r29)
0x00163280 <quantize_and_encode_band_cost_ESC+1760>:	addi    r2,r2,4
0x00163284 <quantize_and_encode_band_cost_ESC+1764>:	stw     r2,12(r29)
0x00163288 <quantize_and_encode_band_cost_ESC+1768>:	b       0x1631e0 <quantize_and_encode_band_cost_ESC+1600>
0x0016328c <quantize_and_encode_band_cost_ESC+1772>:	slw     r0,r11,r10
0x00163290 <quantize_and_encode_band_cost_ESC+1776>:	subf    r10,r10,r9
0x00163294 <quantize_and_encode_band_cost_ESC+1780>:	or      r6,r6,r0
0x00163298 <quantize_and_encode_band_cost_ESC+1784>:	b       0x1631e0 <quantize_and_encode_band_cost_ESC+1600>
0x0016329c <quantize_and_encode_band_cost_ESC+1788>:	nop
0x001632a0 <quantize_and_encode_band_cost_ESC+1792>:	lwz     r2,40(r22)
0x001632a4 <quantize_and_encode_band_cost_ESC+1796>:	lfsx    f0,r31,r2
0x001632a8 <quantize_and_encode_band_cost_ESC+1800>:	fcmpu   cr7,f0,f17
0x001632ac <quantize_and_encode_band_cost_ESC+1804>:	bne-    cr7,0x1633d0 <quantize_and_encode_band_cost_ESC+2096>
0x001632b0 <quantize_and_encode_band_cost_ESC+1808>:	lfs     f31,4(r26)
0x001632b4 <quantize_and_encode_band_cost_ESC+1812>:	fabs    f31,f31
0x001632b8 <quantize_and_encode_band_cost_ESC+1816>:	fmuls   f31,f24,f31
0x001632bc <quantize_and_encode_band_cost_ESC+1820>:	fmr     f1,f31
0x001632c0 <quantize_and_encode_band_cost_ESC+1824>:	bl      0x662e0c <dyld_stub_sqrtf>
0x001632c4 <quantize_and_encode_band_cost_ESC+1828>:	fmuls   f1,f1,f31
0x001632c8 <quantize_and_encode_band_cost_ESC+1832>:	bl      0x662e0c <dyld_stub_sqrtf>
0x001632cc <quantize_and_encode_band_cost_ESC+1836>:	addi    r2,r1,56
0x001632d0 <quantize_and_encode_band_cost_ESC+1840>:	fadd    f1,f1,f16
0x001632d4 <quantize_and_encode_band_cost_ESC+1844>:	fctiwz  f0,f1
0x001632d8 <quantize_and_encode_band_cost_ESC+1848>:	stfiwx  f0,0,r2
0x001632dc <quantize_and_encode_band_cost_ESC+1852>:	lwz     r0,56(r1)
0x001632e0 <quantize_and_encode_band_cost_ESC+1856>:	cmpwi   cr7,r0,8191
0x001632e4 <quantize_and_encode_band_cost_ESC+1860>:	ble-    cr7,0x1632ec <quantize_and_encode_band_cost_ESC+1868>
0x001632e8 <quantize_and_encode_band_cost_ESC+1864>:	li      r0,8191
0x001632ec <quantize_and_encode_band_cost_ESC+1868>:	cmpwi   cr7,r0,0
0x001632f0 <quantize_and_encode_band_cost_ESC+1872>:	mr      r7,r0
0x001632f4 <quantize_and_encode_band_cost_ESC+1876>:	bge-    cr7,0x163300 <quantize_and_encode_band_cost_ESC+1888>
0x001632f8 <quantize_and_encode_band_cost_ESC+1880>:	li      r7,0
0x001632fc <quantize_and_encode_band_cost_ESC+1884>:	nop
0x00163300 <quantize_and_encode_band_cost_ESC+1888>:	ori     r0,r7,1
0x00163304 <quantize_and_encode_band_cost_ESC+1892>:	lwz     r9,4(r29)
0x00163308 <quantize_and_encode_band_cost_ESC+1896>:	li      r2,1
0x0016330c <quantize_and_encode_band_cost_ESC+1900>:	lwz     r11,0(r29)
0x00163310 <quantize_and_encode_band_cost_ESC+1904>:	cntlzw  r0,r0
0x00163314 <quantize_and_encode_band_cost_ESC+1908>:	subfic  r8,r0,31
0x00163318 <quantize_and_encode_band_cost_ESC+1912>:	addi    r10,r8,-3
0x0016331c <quantize_and_encode_band_cost_ESC+1916>:	cmpw    cr7,r10,r9
0x00163320 <quantize_and_encode_band_cost_ESC+1920>:	slw     r2,r2,r10
0x00163324 <quantize_and_encode_band_cost_ESC+1924>:	addi    r6,r2,-2
0x00163328 <quantize_and_encode_band_cost_ESC+1928>:	bge-    cr7,0x16333c <quantize_and_encode_band_cost_ESC+1948>
0x0016332c <quantize_and_encode_band_cost_ESC+1932>:	slw     r0,r11,r10
0x00163330 <quantize_and_encode_band_cost_ESC+1936>:	subf    r10,r10,r9
0x00163334 <quantize_and_encode_band_cost_ESC+1940>:	or      r6,r6,r0
0x00163338 <quantize_and_encode_band_cost_ESC+1944>:	b       0x163368 <quantize_and_encode_band_cost_ESC+1992>
0x0016333c <quantize_and_encode_band_cost_ESC+1948>:	subf    r0,r9,r10
0x00163340 <quantize_and_encode_band_cost_ESC+1952>:	slw     r2,r11,r9
0x00163344 <quantize_and_encode_band_cost_ESC+1956>:	lwz     r11,12(r29)
0x00163348 <quantize_and_encode_band_cost_ESC+1960>:	addi    r9,r9,32
0x0016334c <quantize_and_encode_band_cost_ESC+1964>:	srw     r0,r6,r0
0x00163350 <quantize_and_encode_band_cost_ESC+1968>:	subf    r10,r10,r9
0x00163354 <quantize_and_encode_band_cost_ESC+1972>:	or      r0,r0,r2
0x00163358 <quantize_and_encode_band_cost_ESC+1976>:	stw     r0,0(r11)
0x0016335c <quantize_and_encode_band_cost_ESC+1980>:	lwz     r2,12(r29)
0x00163360 <quantize_and_encode_band_cost_ESC+1984>:	addi    r2,r2,4
0x00163364 <quantize_and_encode_band_cost_ESC+1988>:	stw     r2,12(r29)
0x00163368 <quantize_and_encode_band_cost_ESC+1992>:	li      r2,1
0x0016336c <quantize_and_encode_band_cost_ESC+1996>:	cmpw    cr7,r10,r8
0x00163370 <quantize_and_encode_band_cost_ESC+2000>:	stw     r6,0(r29)
0x00163374 <quantize_and_encode_band_cost_ESC+2004>:	stw     r10,4(r29)
0x00163378 <quantize_and_encode_band_cost_ESC+2008>:	slw     r2,r2,r8
0x0016337c <quantize_and_encode_band_cost_ESC+2012>:	addi    r2,r2,-1
0x00163380 <quantize_and_encode_band_cost_ESC+2016>:	and     r7,r7,r2
0x00163384 <quantize_and_encode_band_cost_ESC+2020>:	ble-    cr7,0x163398 <quantize_and_encode_band_cost_ESC+2040>
0x00163388 <quantize_and_encode_band_cost_ESC+2024>:	slw     r0,r6,r8
0x0016338c <quantize_and_encode_band_cost_ESC+2028>:	subf    r9,r8,r10
0x00163390 <quantize_and_encode_band_cost_ESC+2032>:	or      r7,r7,r0
0x00163394 <quantize_and_encode_band_cost_ESC+2036>:	b       0x1633c4 <quantize_and_encode_band_cost_ESC+2084>
0x00163398 <quantize_and_encode_band_cost_ESC+2040>:	subf    r0,r10,r8
0x0016339c <quantize_and_encode_band_cost_ESC+2044>:	slw     r2,r6,r10
0x001633a0 <quantize_and_encode_band_cost_ESC+2048>:	lwz     r11,12(r29)
0x001633a4 <quantize_and_encode_band_cost_ESC+2052>:	subfic  r9,r8,32
0x001633a8 <quantize_and_encode_band_cost_ESC+2056>:	srw     r0,r7,r0
0x001633ac <quantize_and_encode_band_cost_ESC+2060>:	add     r9,r9,r10
0x001633b0 <quantize_and_encode_band_cost_ESC+2064>:	or      r0,r0,r2
0x001633b4 <quantize_and_encode_band_cost_ESC+2068>:	stw     r0,0(r11)
0x001633b8 <quantize_and_encode_band_cost_ESC+2072>:	lwz     r2,12(r29)
0x001633bc <quantize_and_encode_band_cost_ESC+2076>:	addi    r2,r2,4
0x001633c0 <quantize_and_encode_band_cost_ESC+2080>:	stw     r2,12(r29)
0x001633c4 <quantize_and_encode_band_cost_ESC+2084>:	stw     r7,0(r29)
0x001633c8 <quantize_and_encode_band_cost_ESC+2088>:	stw     r9,4(r29)
0x001633cc <quantize_and_encode_band_cost_ESC+2092>:	nop
0x001633d0 <quantize_and_encode_band_cost_ESC+2096>:	addi    r23,r23,2
0x001633d4 <quantize_and_encode_band_cost_ESC+2100>:	add     r19,r19,r28
0x001633d8 <quantize_and_encode_band_cost_ESC+2104>:	addi    r26,r26,8
0x001633dc <quantize_and_encode_band_cost_ESC+2108>:	cmpw    cr7,r20,r23
0x001633e0 <quantize_and_encode_band_cost_ESC+2112>:	bgt+    cr7,0x162d80 <quantize_and_encode_band_cost_ESC+480>
0x001633e4 <quantize_and_encode_band_cost_ESC+2116>:	lwz     r9,364(r1)
0x001633e8 <quantize_and_encode_band_cost_ESC+2120>:	cmpwi   cr7,r9,0
0x001633ec <quantize_and_encode_band_cost_ESC+2124>:	beq-    cr7,0x1633f4 <quantize_and_encode_band_cost_ESC+2132>
0x001633f0 <quantize_and_encode_band_cost_ESC+2128>:	stw     r19,0(r9)
0x001633f4 <quantize_and_encode_band_cost_ESC+2132>:	addi    r1,r1,304
0x001633f8 <quantize_and_encode_band_cost_ESC+2136>:	fmr     f1,f25
0x001633fc <quantize_and_encode_band_cost_ESC+2140>:	lwz     r0,8(r1)
0x00163400 <quantize_and_encode_band_cost_ESC+2144>:	lwz     r11,4(r1)
0x00163404 <quantize_and_encode_band_cost_ESC+2148>:	lmw     r17,-204(r1)
0x00163408 <quantize_and_encode_band_cost_ESC+2152>:	lfd     f14,-144(r1)
0x0016340c <quantize_and_encode_band_cost_ESC+2156>:	lfd     f15,-136(r1)
0x00163410 <quantize_and_encode_band_cost_ESC+2160>:	lfd     f16,-128(r1)
0x00163414 <quantize_and_encode_band_cost_ESC+2164>:	mtlr    r0
0x00163418 <quantize_and_encode_band_cost_ESC+2168>:	lfd     f17,-120(r1)
0x0016341c <quantize_and_encode_band_cost_ESC+2172>:	lfd     f18,-112(r1)
0x00163420 <quantize_and_encode_band_cost_ESC+2176>:	mtocrf  8,r11
0x00163424 <quantize_and_encode_band_cost_ESC+2180>:	lfd     f19,-104(r1)
0x00163428 <quantize_and_encode_band_cost_ESC+2184>:	lfd     f20,-96(r1)
0x0016342c <quantize_and_encode_band_cost_ESC+2188>:	lfd     f21,-88(r1)
0x00163430 <quantize_and_encode_band_cost_ESC+2192>:	lfd     f22,-80(r1)
0x00163434 <quantize_and_encode_band_cost_ESC+2196>:	lfd     f23,-72(r1)
0x00163438 <quantize_and_encode_band_cost_ESC+2200>:	lfd     f24,-64(r1)
0x0016343c <quantize_and_encode_band_cost_ESC+2204>:	lfd     f25,-56(r1)
0x00163440 <quantize_and_encode_band_cost_ESC+2208>:	lfd     f26,-48(r1)
0x00163444 <quantize_and_encode_band_cost_ESC+2212>:	lfd     f27,-40(r1)
0x00163448 <quantize_and_encode_band_cost_ESC+2216>:	lfd     f28,-32(r1)
0x0016344c <quantize_and_encode_band_cost_ESC+2220>:	lfd     f29,-24(r1)
0x00163450 <quantize_and_encode_band_cost_ESC+2224>:	lfd     f30,-16(r1)
0x00163454 <quantize_and_encode_band_cost_ESC+2228>:	lfd     f31,-8(r1)
0x00163458 <quantize_and_encode_band_cost_ESC+2232>:	blr
End of assembler dump.
(gdb) info all-registers
r0             0x10	16
r1             0xbfff9a00	3221199360
r2             0x80000010	2147483664
r3             0x1007810	16807952
r4             0x0	0
r5             0x189b980	25803136
r6             0x1007f00	16809728
r7             0x4	4
r8             0x1a4	420
r9             0x0	0
r10            0x6c8c70	7113840
r11            0x1007810	16807952
r12            0x162ba0	1452960
r13            0x1007af0	16808688
r14            0x20	32
r15            0x1	1
r16            0x189a0b0	25796784
r17            0x7fa178	8364408
r18            0x6c7744	7108420
r19            0x0	0
r20            0x4	4
r21            0x1007810	16807952
r22            0x7fa1d0	8364496
r23            0x0	0
r24            0x189b4e5	25801957
r25            0x84	132
r26            0x189b980	25803136
r27            0x80	128
r28            0x162ba0	1452960
r29            0x0	0
r30            0x189bb80	25803648
r31            0x1008100	16810240
f0             nan(0x8000000000000)	(raw 0x7ff8000000000000)
f1             1	(raw 0x3ff0000000000000)
f2             inf	(raw 0x7ff0000000000000)
f3             -0.16666666620096096	(raw 0xbfc5555554554f15)
f4             1.668993453107781e-06	(raw 0x3ebc0045b5580000)
f5             0.199999999637788	(raw 0x3fc9999998d278cb)
f6             -0.25000000000000566	(raw 0xbfd0000000000066)
f7             -0.5	(raw 0xbfe0000000000000)
f8             0.33333333333333609	(raw 0x3fd5555555555587)
f9             0.50000000000000011	(raw 0x3fe0000000000001)
f10            115097.74508880443	(raw 0x40fc199bebe23cfa)
f11            -1.1487179863843917e-27	(raw 0xba56c0b132b0e240)
f12            0.40539999999999998	(raw 0x3fd9f212d77318fc)
f13            16	(raw 0x4030000000000000)
f14            0.40539999999999998	(raw 0x3fd9f212d77318fc)
f15            0.40539999999999998	(raw 0x3fd9f212d77318fc)
f16            0.40539999999999998	(raw 0x3fd9f212d77318fc)
f17            64	(raw 0x4050000000000000)
f18            64	(raw 0x4050000000000000)
f19            64	(raw 0x4050000000000000)
f20            64	(raw 0x4050000000000000)
f21            inf	(raw 0x7ff0000000000000)
f22            1	(raw 0x3ff0000000000000)
f23            4503601774854144	(raw 0x4330000080000000)
f24            7.0882265390537214e-08	(raw 0x3e7306fe00000000)
f25            0	(raw 0x0000000000000000)
f26            14107901	(raw 0x416ae89fa0000000)
f27            2329778847744	(raw 0x4280f38d20000000)
f28            0	(raw 0x0000000000000000)
f29            1	(raw 0x3ff0000000000000)
f30            nan(0x8000000000000)	(raw 0x7ff8000000000000)
f31            inf	(raw 0x7ff0000000000000)
v0             {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v1             {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v2             {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v3             {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v4             {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v5             {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v6             {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v7             {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v8             {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v9             {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v10            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v11            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v12            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v13            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v14            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v15            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v16            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v17            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v18            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v19            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v20            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v21            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v22            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v23            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v24            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v25            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v26            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v27            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v28            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v29            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v30            {
  uint128 = 0x7fffdead7fffdead7fffdead7fffdead, 
  v4_float = {nan(0x7fdead), nan(0x7fdead), nan(0x7fdead), nan(0x7fdead)}, 
  v4_int32 = {2147475117, 2147475117, 2147475117, 2147475117}, 
  v8_int16 = {32767, -8531, 32767, -8531, 32767, -8531, 32767, -8531}, 
  v16_int8 = ""?ޭ?ޭ?ޭ?ޭ""
}	(raw 0x7fffdead7fffdead7fffdead7fffdead)
v31            {
  uint128 = 0x00000000000000000000000000000000, 
  v4_float = {0, 0, 0, 0}, 
  v4_int32 = {0, 0, 0, 0}, 
  v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, 
  v16_int8 = '\0' <repeats 15 times>
}	(raw 0x00000000000000000000000000000000)
pc             0x162da8	1453480
ps             0x200f030	33615920
cr             0x44422244	1145184836
lr             0x1607a8	1443752
ctr            0x0	0
xer            0x20000004	536870916
mq             0x0	0
fpscr          0xbe904100	3197124864
vscr           0x10001	65537
vrsave         0x1	1
}}}

"	mt
1.2	2474	MKV transcoded to MKV with copied attachments is unplayable if output is stdout	avformat	1.2	defect	new	2013-04-16T18:38:34+02:00	2013-04-16T19:12:05+02:00	"Summary of the bug:

A MKV that contains attachments (for example additional fonts for subs) that is transcoded to another MKV, copying the attachements, results in an unplayable file ([02189f60] mkv demux error: cannot find any cluster, damaged file ?) if the output specified to ffmpeg is stdout (-) instead of a regular file.

If the attachements streams are omitted in the transcoded output file, the file is playable in both cases.

So there seems to be a specific problem with transcoding to stdout and MKV attachments.


How to reproduce:

First, donwload this MKV containing attachments:
http://www.auby.no/files/video_tests/h264_720p_hp_5.1_6mbps_ac3_unstyled_subs_planet.mkv



Let's transcode it to MKV, copying the attachement streams, to a regular file named file1.mkv. This file is playabale.



{{{

$ ffmpeg -async 1 -i h264_720p_hp_5.1_6mbps_ac3_unstyled_subs_planet.mkv -map 0 -vf scale=""trunc(oh*a/2)*2:240"" -vcodec libx264 -preset medium -acodec libmp3lame -ac 2 -ab 128000 -f matroska file1.mkv
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 28 2013 00:28:48 with gcc 4.8.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --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. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, matroska,webm, from 'h264_720p_hp_5.1_6mbps_ac3_unstyled_subs_planet.mkv':
  Metadata:
    title           : Planet.Earth.EP01.From.Pole.to.Pole.2006.720p.HDDVD.x264-ESiR
    creation_time   : 2011-03-01 00:35:17
  Duration: 00:01:52.83, start: 0.000000, bitrate: 7066 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      title           : Planet Earth - EP01 - From Pole to Pole
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      title           : AC3 5.1
    Stream #0:2(eng): Subtitle: ssa (default)
    Stream #0:3(rum): Subtitle: ssa
Codec 0x18000 is not in the full list.
    Stream #0:4: Attachment: unknown_codec
    Metadata:
      filename        : exprswy_free.ttf
      mimetype        : application/x-truetype-font
Codec 0x18000 is not in the full list.
    Stream #0:5: Attachment: unknown_codec
    Metadata:
      filename        : Framd.TTF
      mimetype        : application/x-truetype-font
-async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0.
[libx264 @ 0422f380] using SAR=640/639
[libx264 @ 0422f380] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0422f380] profile High, level 2.1
[libx264 @ 0422f380] 264 - core 130 r2274 c832fe9 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'file1.mkv':
  Metadata:
    title           : Planet.Earth.EP01.From.Pole.to.Pole.2006.720p.HDDVD.x264-ESiR
    encoder         : Lavf54.63.104
    Stream #0:0(eng): Video: h264 (H264 / 0x34363248), yuv420p, 426x240 [SAR 640:639 DAR 16:9], q=-1--1, 1k tbn, 23.98 tbc (default)
    Metadata:
      title           : Planet Earth - EP01 - From Pole to Pole
    Stream #0:1(eng): Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      title           : AC3 5.1
    Stream #0:2(eng): Subtitle: ssa (default)
    Stream #0:3(rum): Subtitle: ssa
Codec 0x18000 is not in the full list.
    Stream #0:4: Attachment: unknown_codec
    Metadata:
      filename        : exprswy_free.ttf
      mimetype        : application/x-truetype-font
Codec 0x18000 is not in the full list.
    Stream #0:5: Attachment: unknown_codec
    Metadata:
      filename        : Framd.TTF
      mimetype        : application/x-truetype-font
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
  Stream #0:1 -> #0:1 (ac3 -> libmp3lame)
  Stream #0:2 -> #0:2 (ass -> ass)
  Stream #0:3 -> #0:3 (ass -> ass)
  Stream #0:4 -> #0:4 (copy)
  Stream #0:5 -> #0:5 (copy)
Press [q] to stop, [?] for help
frame= 2705 fps=155 q=2686567.0 Lsize=   11312kB time=00:01:52.84 bitrate= 821.2kbits/s
video:9298kB audio:1764kB subtitle:2 global headers:2kB muxing overhead 2.238986%
[libx264 @ 0422f380] frame I:20    Avg QP:19.09  size: 15456
[libx264 @ 0422f380] frame P:1418  Avg QP:23.83  size:  5843
[libx264 @ 0422f380] frame B:1267  Avg QP:25.03  size:   730
[libx264 @ 0422f380] consecutive B-frames: 29.4% 21.1% 10.3% 39.2%
[libx264 @ 0422f380] mb I  I16..4: 39.5% 30.6% 30.0%
[libx264 @ 0422f380] mb P  I16..4:  0.4%  0.4%  0.8%  P16..4: 26.9% 16.7% 13.4%  0.0%  0.0%    skip:41.4%
[libx264 @ 0422f380] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 29.4%  2.7%  1.3%  direct: 3.2%  skip:63.4%  L0:32.1% L1:49.9% BI:18.0%
[libx264 @ 0422f380] 8x8 transform intra:27.2% inter:46.1%
[libx264 @ 0422f380] coded y,uvDC,uvAC intra: 64.7% 65.6% 50.9% inter: 23.3% 12.8% 1.7%
[libx264 @ 0422f380] i16 v,h,dc,p: 70% 10%  9% 11%
[libx264 @ 0422f380] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 18% 19%  8%  8%  7%  8%  8% 13%
[libx264 @ 0422f380] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 18% 15%  9%  9%  8% 10%  7% 13%
[libx264 @ 0422f380] i8c dc,h,v,p: 65% 18% 11%  6%
[libx264 @ 0422f380] Weighted P-Frames: Y:11.3% UV:0.9%
[libx264 @ 0422f380] ref P L0: 70.0% 20.6%  5.8%  3.4%  0.2%
[libx264 @ 0422f380] ref B L0: 87.3%  9.6%  3.1%
[libx264 @ 0422f380] ref B L1: 87.6% 12.4%
[libx264 @ 0422f380] kb/s:675.06
}}}

Now let's transcode it but specifying stdout (-) as the output and redirecting stdout to file2.mkv. file2.mkv is not playabale and VLC gives error ""mkv demux error: cannot find any cluster, damaged file ?"". Discarding the attachement streams in the resulting file would render the file playable.

{{{
$ ffmpeg -async 1 -i h264_720p_hp_5.1_6mbps_ac3_unstyled_subs_planet.mkv -map 0 -vf scale=""trunc(oh*a/2)*2:240"" -vcodec libx264 -preset medium -acodec libmp3lame -ac 2 -ab 128000 -f matroska - > file2.mkv
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 28 2013 00:28:48 with gcc 4.8.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --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. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, matroska,webm, from 'h264_720p_hp_5.1_6mbps_ac3_unstyled_subs_planet.mkv':
  Metadata:
    title           : Planet.Earth.EP01.From.Pole.to.Pole.2006.720p.HDDVD.x264-ESiR
    creation_time   : 2011-03-01 00:35:17
  Duration: 00:01:52.83, start: 0.000000, bitrate: 7066 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      title           : Planet Earth - EP01 - From Pole to Pole
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      title           : AC3 5.1
    Stream #0:2(eng): Subtitle: ssa (default)
    Stream #0:3(rum): Subtitle: ssa
Codec 0x18000 is not in the full list.
    Stream #0:4: Attachment: unknown_codec
    Metadata:
      filename        : exprswy_free.ttf
      mimetype        : application/x-truetype-font
Codec 0x18000 is not in the full list.
    Stream #0:5: Attachment: unknown_codec
    Metadata:
      filename        : Framd.TTF
      mimetype        : application/x-truetype-font
-async is forwarded to lavfi similarly to -af aresample=async=1:min_hard_comp=0.100000:first_pts=0.
[libx264 @ 0433cba0] using SAR=640/639
[libx264 @ 0433cba0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0433cba0] profile High, level 2.1
[libx264 @ 0433cba0] 264 - core 130 r2274 c832fe9 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'pipe:':
  Metadata:
    title           : Planet.Earth.EP01.From.Pole.to.Pole.2006.720p.HDDVD.x264-ESiR
    encoder         : Lavf54.63.104
    Stream #0:0(eng): Video: h264 (H264 / 0x34363248), yuv420p, 426x240 [SAR 640:639 DAR 16:9], q=-1--1, 1k tbn, 23.98 tbc (default)
    Metadata:
      title           : Planet Earth - EP01 - From Pole to Pole
    Stream #0:1(eng): Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      title           : AC3 5.1
    Stream #0:2(eng): Subtitle: ssa (default)
    Stream #0:3(rum): Subtitle: ssa
Codec 0x18000 is not in the full list.
    Stream #0:4: Attachment: unknown_codec
    Metadata:
      filename        : exprswy_free.ttf
      mimetype        : application/x-truetype-font
Codec 0x18000 is not in the full list.
    Stream #0:5: Attachment: unknown_codec
    Metadata:
      filename        : Framd.TTF
      mimetype        : application/x-truetype-font
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
  Stream #0:1 -> #0:1 (ac3 -> libmp3lame)
  Stream #0:2 -> #0:2 (ass -> ass)
  Stream #0:3 -> #0:3 (ass -> ass)
  Stream #0:4 -> #0:4 (copy)
  Stream #0:5 -> #0:5 (copy)
Press [q] to stop, [?] for help
frame= 2705 fps=160 q=2686567.0 Lsize=   11316kB time=00:01:52.84 bitrate= 821.5kbits/s
video:9298kB audio:1764kB subtitle:2 global headers:2kB muxing overhead 2.277988%
[libx264 @ 0433cba0] frame I:20    Avg QP:19.09  size: 15456
[libx264 @ 0433cba0] frame P:1418  Avg QP:23.83  size:  5843
[libx264 @ 0433cba0] frame B:1267  Avg QP:25.03  size:   730
[libx264 @ 0433cba0] consecutive B-frames: 29.4% 21.1% 10.3% 39.2%
[libx264 @ 0433cba0] mb I  I16..4: 39.5% 30.6% 30.0%
[libx264 @ 0433cba0] mb P  I16..4:  0.4%  0.4%  0.8%  P16..4: 26.9% 16.7% 13.4%  0.0%  0.0%    skip:41.4%
[libx264 @ 0433cba0] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 29.4%  2.7%  1.3%  direct: 3.2%  skip:63.4%  L0:32.1% L1:49.9% BI:18.0%
[libx264 @ 0433cba0] 8x8 transform intra:27.2% inter:46.1%
[libx264 @ 0433cba0] coded y,uvDC,uvAC intra: 64.7% 65.6% 50.9% inter: 23.3% 12.8% 1.7%
[libx264 @ 0433cba0] i16 v,h,dc,p: 70% 10%  9% 11%
[libx264 @ 0433cba0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 18% 19%  8%  8%  7%  8%  8% 13%
[libx264 @ 0433cba0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 18% 15%  9%  9%  8% 10%  7% 13%
[libx264 @ 0433cba0] i8c dc,h,v,p: 65% 18% 11%  6%
[libx264 @ 0433cba0] Weighted P-Frames: Y:11.3% UV:0.9%
[libx264 @ 0433cba0] ref P L0: 70.0% 20.6%  5.8%  3.4%  0.2%
[libx264 @ 0433cba0] ref B L0: 87.3%  9.6%  3.1%
[libx264 @ 0433cba0] ref B L1: 87.6% 12.4%
[libx264 @ 0433cba0] kb/s:675.06

}}}

"	bubbleguuum
1.2	2511	hls muxer mul outputs lost one channel	undetermined	1.2	defect	new	2013-04-29T17:45:03+02:00	2013-04-29T18:49:35+02:00	"Summary of the bug:hls muxer mul outputs lost one channel
How to reproduce:
{{{
% ffmpeg -i udp://172.16.7.59:10001 -map '#0x44' -map '#0x45' -threads 0 -vsync 1 -async 1 -vcodec libx264 -vprofile main -preset veryfast -s 352x288 -b:v 459k -x264opts vbv-bufsize=600:vbv-maxrate=459:nal-hrd=cbr:keyint=50:min-keyint=50:force-cfr=1 -c:a:0 aac -b:a:0 96k -strict experimental -ar 44100 -ac 2 -mpegts_original_network_id 0x0001 -mpegts_transport_stream_id 0x0001 -mpegts_service_id 0x0001 -mpegts_pmt_start_pid 0x1000 -mpegts_start_pid 0x0100 -metadata service_provider=""MCS"" -metadata service_name=""Service01""  -f hls -start_number 0 -hls_time 10.0 -hls_list_size 10 -hls_wrap 50000 /home/samba/hls/ayh-1m.m3u8  -map '#0x44' -map '#0x45' -threads 0 -vsync 1 -async 1 -vcodec libx264 -vprofile main -preset veryfast -s 720x576 -b:v 1733k -x264opts vbv-bufsize=2000:vbv-maxrate=1733:nal-hrd=cbr:keyint=50:min-keyint=50:force-cfr=1 -c:a:0 aac -b:a:0 96k -strict experimental -ar 44100 -ac 2 -mpegts_original_network_id 0x0001 -mpegts_transport_stream_id 0x0001 -mpegts_service_id 0x0001 -mpegts_pmt_start_pid 0x1000 -mpegts_start_pid 0x0100 -metadata service_provider=""MCS"" -metadata service_name=""Service01""  -f hls -start_number 0 -hls_time 10.0 -hls_list_size 10 -hls_wrap 50000 /home/samba/hls/ayh-2m.m3u8  -map '#0x44' -map '#0x45' -threads 0 -vsync 1 -async 1 -vcodec libx264 -vprofile main -preset veryfast -s 1280x720 -b:v 2643k -x264opts vbv-bufsize=3000:vbv-maxrate=2643:nal-hrd=cbr:keyint=50:min-keyint=50:force-cfr=1 -c:a:0 aac -b:a:0 96k -strict experimental -ar 44100 -ac 2 -mpegts_original_network_id 0x0001 -mpegts_transport_stream_id 0x0001 -mpegts_service_id 0x0001 -mpegts_pmt_start_pid 0x1000 -mpegts_start_pid 0x0100 -metadata service_provider=""MCS"" -metadata service_name=""Service01""  -f hls -start_number 0 -hls_time 10.0 -hls_list_size 10 -hls_wrap 50000 /home/samba/hls/ayh-3m.m3u8  -map '#0x44' -map '#0x45' -threads 0 -vsync 1 -async 1 -vcodec libx264 -vprofile main -preset veryfast -s 1920x1080 -b:v 3553k -x264opts vbv-bufsize=4000:vbv-maxrate=3553:nal-hrd=cbr:keyint=50:min-keyint=50:force-cfr=1 -c:a:0 aac -b:a:0 96k -strict experimental -ar 44100 -ac 2 -mpegts_original_network_id 0x0001 -mpegts_transport_stream_id 0x0001 -mpegts_service_id 0x0001 -mpegts_pmt_start_pid 0x1000 -mpegts_start_pid 0x0100 -metadata service_provider=""MCS"" -metadata service_name=""Service01"" -f hls -start_number 0 -hls_time 10.0 -hls_list_size 10 -hls_wrap 50000 /home/samba/hls/ayh-4m.m3u8

actual output:
'''== non m3u8 file =='''   ayh-1m0.ts   '''non other segments'''
ayh-2m.m3u8 ayh-2m0.ts ayh-2m1.ts  .....
ayh-3m.m3u8 ayh-3m0.ts ayh-3m1.ts  .....
ayh-4m.m3u8 ayh-4m0.ts ayh-5m1.ts  .....

The correct output:
ayh-1m.m3u8 ayh-1m0.ts ayh-1m1.ts  .....
ayh-2m.m3u8 ayh-2m0.ts ayh-2m1.ts  .....
ayh-3m.m3u8 ayh-3m0.ts ayh-3m1.ts  .....
ayh-4m.m3u8 ayh-4m0.ts ayh-5m1.ts  .....


ffmpeg version 1.2
built on ... ubuntu 12.04.1
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker."	Leo
1.2	2534	maybe memory leak of av_read_frame/av_free_packet.	avformat	1.2	defect	new	2013-05-05T10:59:42+02:00	2013-05-13T18:35:49+02:00	"i use vertion 1.2 and compile for android (armv7a without neon), following by the guide of ""how to compile ffmpeg for android"" (http://ffmpeg.org/trac/ffmpeg/wiki/How%20to%20compile%20FFmpeg%20for%20Android)

then i get the ""*.so""s succesful.

here is my testing code:

....
AVPacket pkt;
int readRet = 0;
av_init_packet(&pkt);
while(1)
{
   readRet = av_read_frame(s,&avpkt);
   if(readRet < 0)
   {
     printf(""read EOF\n"");
     break;
   }
   av_free_packet(&avpkt);
   usleep(10*1000);
}
.....

==========
then i check the status of memory usage by using ""cat /proc/meminfo""

that after about 20secs from the testing code running.

the ""free memory"" line in the cat result become less and less.

almost 1MiB eating by the testing code per second.

after the testing code exit by reach the  EOF. the eat memory not released !!!!!

the media file is a AVI content file, with H264 1080P60FPS video,and AAC 192K audio stream.

I tried stable version  1.2, 0.11. 


"	yan
1.2	2522	Give ffmpeg (better) mp4 chapter editing support	undetermined	1.2	enhancement	new	2013-04-30T23:47:10+02:00	2013-05-01T02:08:05+02:00	"It would be cool to either
1. merge chaptered mpeg-4 files (m4b, etc.) and have the chapters + chapter offsets automatically adjusted
2. be able to do #1 manually.

If I merge two m4bs right now, the resultant file has the length and chapters of the first.

{{{
$ ffmpeg -i 04\ Harry\ Potter\ and\ the\ Goblet\ of\ Fire,\ Part\ 1.m4b -i 05\ Harry\ Potter\ and\ the\ Goblet\ of\ Fire,\ Part\ 2.m4b -y output.m4a ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 30 2013 13:13:33 with Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb7f4015a00] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb7f4015a00] max_analyze_duration 5000000 reached at 5015510 microseconds
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '04 Harry Potter and the Goblet of Fire, Part 1.m4b':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42mp41
    creation_time   : 2013-04-30 17:05:28
    title           : Harry Potter and the Goblet of Fire, Part 1
    track           : 4/12
    album           : Harry Potter
    genre           : Audiobooks
    artist          : J. K. Rowling
    encoder         : Audiobook Builder 1.5.3 (www.splasm.com), QuickTime 7.7.1
    media_type      : 2
  Duration: 12:40:14.85, start: 0.000000, bitrate: 301 kb/s
    Chapter #0.0: start 0.000000, end 1616.706667
    Metadata:
      title           : The Riddle House
    Chapter #0.1: start 1616.706667, end 2630.053333
    Metadata:
      title           : The Scar
    Chapter #0.2: start 2630.053333, end 3769.386667
    Metadata:
      title           : The Invitation
    Chapter #0.3: start 3769.386667, end 4891.320000
    Metadata:
      title           : Back to the Burrow
    Chapter #0.4: start 4891.320000, end 6217.813333
    Metadata:
      title           : Weasleys' Wizard Wheezes
    Chapter #0.5: start 6217.813333, end 7104.106667
    Metadata:
      title           : The Portkey
    Chapter #0.6: start 7104.106667, end 9077.773333
    Metadata:
      title           : Bagman and Crouch
    Chapter #0.7: start 9077.773333, end 11278.266667
    Metadata:
      title           : The Quidditch World Cup
    Chapter #0.8: start 11278.266667, end 14019.426667
    Metadata:
      title           : The Dark Mark
    Chapter #0.9: start 14019.426667, end 15219.186667
    Metadata:
      title           : Mayhem at the Ministry
    Chapter #0.10: start 15219.186667, end 16450.040000
    Metadata:
      title           : Aboard the Hogwarts Express
    Chapter #0.11: start 16450.040000, end 18660.160000
    Metadata:
      title           : The Triwizard Tournament
    Chapter #0.12: start 18660.160000, end 20293.186667
    Metadata:
      title           : Mad-Eye Moody
    Chapter #0.13: start 20293.186667, end 22304.925000
    Metadata:
      title           : The Unforgivable Curses
    Chapter #0.14: start 22304.925000, end 24397.378333
    Metadata:
      title           : Beauxbatons and Durmstrang
    Chapter #0.15: start 24397.378333, end 26863.071667
    Metadata:
      title           : The Goblet of Fire
    Chapter #0.16: start 26863.071667, end 28587.405000
    Metadata:
      title           : The Four Champions
    Chapter #0.17: start 28587.405000, end 31132.271667
    Metadata:
      title           : The Weighing of the Wands
    Chapter #0.18: start 31132.271667, end 33531.911667
    Metadata:
      title           : The Hungarian Horntail
    Chapter #0.19: start 33531.911667, end 36202.245000
    Metadata:
      title           : The First Task
    Chapter #0.20: start 36202.245000, end 38363.178333
    Metadata:
      title           : The House-Elf Liberation Front
    Chapter #0.21: start 38363.178333, end 40051.618333
    Metadata:
      title           : The Unexpected Task
    Chapter #0.22: start 40051.618333, end 43178.978333
    Metadata:
      title           : The Yule Ball
    Chapter #0.23: start 43178.978333, end 45614.880000
    Metadata:
      title           : Rita Skeeter's Scoop
    Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 298 kb/s
    Metadata:
      creation_time   : 2013-04-30 17:05:28
      handler_name    : Apple Sound Media Handler
    Stream #0:1(eng): Video: png (png  / 0x20676E70), rgba, 425x512 [SAR 2835:2835 DAR 425:512], 0 kb/s, 0k fps, 0k tbr, 600 tbn, 600 tbc
    Metadata:
      creation_time   : 2013-04-30 17:06:48
      handler_name    : ?Apple Alias Data Handler
    Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574)
    Metadata:
      creation_time   : 2013-04-30 17:06:48
      handler_name    : ?Apple Alias Data Handler
    Stream #0:3: Video: png, rgba, 850x1024 [SAR 5669:5669 DAR 425:512], 90k tbr, 90k tbn, 90k tbc
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb7f406e400] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb7f406e400] max_analyze_duration 5000000 reached at 5015510 microseconds
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '05 Harry Potter and the Goblet of Fire, Part 2.m4b':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42mp41
    creation_time   : 2013-04-30 17:13:43
    title           : Harry Potter and the Goblet of Fire, Part 2
    track           : 5/12
    album           : Harry Potter
    genre           : Audiobooks
    artist          : J. K. Rowling
    encoder         : Audiobook Builder 1.5.3 (www.splasm.com), QuickTime 7.7.1
    media_type      : 2
  Duration: 07:55:55.35, start: 0.000000, bitrate: 308 kb/s
    Chapter #1.0: start 0.000000, end 2228.533333
    Metadata:
      title           : The Egg and the Eye
    Chapter #1.1: start 2228.533333, end 5145.080000
    Metadata:
      title           : The Second Task
    Chapter #1.2: start 5145.080000, end 7839.186667
    Metadata:
      title           : Padfoot Returns
    Chapter #1.3: start 7839.186667, end 10752.293333
    Metadata:
      title           : The Madness of Mr Crouch
    Chapter #1.4: start 10752.293333, end 12453.186667
    Metadata:
      title           : The Dream
    Chapter #1.5: start 12453.186667, end 15063.880000
    Metadata:
      title           : The Pensieve
    Chapter #1.6: start 15063.880000, end 18109.546667
    Metadata:
      title           : The Third Task
    Chapter #1.7: start 18109.546667, end 18895.600000
    Metadata:
      title           : Flesh, Blood & Bone
    Chapter #1.8: start 18895.600000, end 20799.280000
    Metadata:
      title           : The Death Eaters
    Chapter #1.9: start 20799.280000, end 21947.453333
    Metadata:
      title           : Priori Incantatem
    Chapter #1.10: start 21947.453333, end 24205.920000
    Metadata:
      title           : Veritaserum
    Chapter #1.11: start 24205.920000, end 26618.813333
    Metadata:
      title           : The Parting of the Ways
    Chapter #1.12: start 26618.813333, end 28555.365000
    Metadata:
      title           : The Beginning
    Stream #1:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 306 kb/s
    Metadata:
      creation_time   : 2013-04-30 17:13:43
      handler_name    : Apple Sound Media Handler
    Stream #1:1(eng): Video: png (png  / 0x20676E70), rgba, 425x512 [SAR 2835:2835 DAR 425:512], 0 kb/s, 0k fps, 0k tbr, 600 tbn, 600 tbc
    Metadata:
      creation_time   : 2013-04-30 17:14:29
      handler_name    : ?Apple Alias Data Handler
    Stream #1:2(eng): Subtitle: mov_text (text / 0x74786574)
    Metadata:
      creation_time   : 2013-04-30 17:14:29
      handler_name    : ?Apple Alias Data Handler
    Stream #1:3: Video: png, rgba, 850x1024 [SAR 5669:5669 DAR 425:512], 90k tbr, 90k tbn, 90k tbc
[libx264 @ 0x7fb7f406ca00] using SAR=1/1
[libx264 @ 0x7fb7f406ca00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x7fb7f406ca00] profile High 4:4:4 Predictive, level 2.2, 4:4:4 8-bit
[libx264 @ 0x7fb7f406ca00] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, ipod, to 'output.m4a':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42mp41
    media_type      : 2
    title           : Harry Potter and the Goblet of Fire, Part 1
    track           : 4/12
    album           : Harry Potter
    genre           : Audiobooks
    artist          : J. K. Rowling
    encoder         : Lavf54.63.104
    Chapter #0.0: start 0.000000, end 1616.706667
    Metadata:
      title           : The Riddle House
    Chapter #0.1: start 1616.706667, end 2630.053333
    Metadata:
      title           : The Scar
    Chapter #0.2: start 2630.053333, end 3769.386667
    Metadata:
      title           : The Invitation
    Chapter #0.3: start 3769.386667, end 4891.320000
    Metadata:
      title           : Back to the Burrow
    Chapter #0.4: start 4891.320000, end 6217.813333
    Metadata:
      title           : Weasleys' Wizard Wheezes
    Chapter #0.5: start 6217.813333, end 7104.106667
    Metadata:
      title           : The Portkey
    Chapter #0.6: start 7104.106667, end 9077.773333
    Metadata:
      title           : Bagman and Crouch
    Chapter #0.7: start 9077.773333, end 11278.266667
    Metadata:
      title           : The Quidditch World Cup
    Chapter #0.8: start 11278.266667, end 14019.426667
    Metadata:
      title           : The Dark Mark
    Chapter #0.9: start 14019.426667, end 15219.186667
    Metadata:
      title           : Mayhem at the Ministry
    Chapter #0.10: start 15219.186667, end 16450.040000
    Metadata:
      title           : Aboard the Hogwarts Express
    Chapter #0.11: start 16450.040000, end 18660.160000
    Metadata:
      title           : The Triwizard Tournament
    Chapter #0.12: start 18660.160000, end 20293.186667
    Metadata:
      title           : Mad-Eye Moody
    Chapter #0.13: start 20293.186667, end 22304.925000
    Metadata:
      title           : The Unforgivable Curses
    Chapter #0.14: start 22304.925000, end 24397.378333
    Metadata:
      title           : Beauxbatons and Durmstrang
    Chapter #0.15: start 24397.378333, end 26863.071667
    Metadata:
      title           : The Goblet of Fire
    Chapter #0.16: start 26863.071667, end 28587.405000
    Metadata:
      title           : The Four Champions
    Chapter #0.17: start 28587.405000, end 31132.271667
    Metadata:
      title           : The Weighing of the Wands
    Chapter #0.18: start 31132.271667, end 33531.911667
    Metadata:
      title           : The Hungarian Horntail
    Chapter #0.19: start 33531.911667, end 36202.245000
    Metadata:
      title           : The First Task
    Chapter #0.20: start 36202.245000, end 38363.178333
    Metadata:
      title           : The House-Elf Liberation Front
    Chapter #0.21: start 38363.178333, end 40051.618333
    Metadata:
      title           : The Unexpected Task
    Chapter #0.22: start 40051.618333, end 43178.978333
    Metadata:
      title           : The Yule Ball
    Chapter #0.23: start 43178.978333, end 45614.880000
    Metadata:
      title           : Rita Skeeter's Scoop
    Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv444p, 425x512 [SAR 1:1 DAR 425:512], q=-1--1, 19200 tbn, 0k tbc
    Metadata:
      creation_time   : 2013-04-30 17:06:48
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2013-04-30 17:05:28
      handler_name    : Apple Sound Media Handler
Stream mapping:
  Stream #0:1 -> #0:0 (png -> libx264)
  Stream #0:0 -> #0:1 (aac -> libfaac)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=17.0 Lsize=  695921kB time=12:40:14.88 bitrate= 125.0kbits/s
video:72kB audio:688161kB subtitle:0 global headers:0kB muxing overhead 1.116984%
[libx264 @ 0x7fb7f406ca00] frame I:1     Avg QP:19.95  size: 73363
[libx264 @ 0x7fb7f406ca00] mb I  I16..4:  1.3% 48.7% 50.0%
[libx264 @ 0x7fb7f406ca00] 8x8 transform intra:48.7%
[libx264 @ 0x7fb7f406ca00] coded y,u,v intra: 95.7% 86.3% 91.5%
[libx264 @ 0x7fb7f406ca00] i16 v,h,dc,p: 100%  0%  0%  0%
[libx264 @ 0x7fb7f406ca00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 17% 13%  7%  8% 11%  6% 11%  9%
[libx264 @ 0x7fb7f406ca00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 18% 10%  6% 10% 12%  9%  8%  9%
[libx264 @ 0x7fb7f406ca00] kb/s:0.01
}}}

The resultant audio file is smaller than either but has the chapters and length of Part 1, so I'm not sure whether Part 2 is getting added at all.

Info about part 1:

{{{
$ ffmpeg -v 9 -loglevel 99 -i 04\ Harry\ Potter\ and\ the\ Goblet\ of\ Fire,\ Part\ 1.m4b
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 30 2013 13:13:33 with Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set libav* logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument '04 Harry Potter and the Goblet of Fire, Part 1.m4b'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set libav* logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file 04 Harry Potter and the Goblet of Fire, Part 1.m4b.
Successfully parsed a group of options.
Opening an input file: 04 Harry Potter and the Goblet of Fire, Part 1.m4b.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc5e8815a00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc5e8815a00] ISO: File Type Major Brand: mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc5e8815a00] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc5e8815a00] File position before avformat_find_stream_info() is 12552911
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc5e8815a00] max_analyze_duration 5000000 reached at 5015510 microseconds
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc5e8815a00] File position after avformat_find_stream_info() is 12746820
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '04 Harry Potter and the Goblet of Fire, Part 1.m4b':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42mp41
    creation_time   : 2013-04-30 17:05:28
    title           : Harry Potter and the Goblet of Fire, Part 1
    track           : 4/12
    album           : Harry Potter
    genre           : Audiobooks
    artist          : J. K. Rowling
    encoder         : Audiobook Builder 1.5.3 (www.splasm.com), QuickTime 7.7.1
    media_type      : 2
  Duration: 12:40:14.85, start: 0.000000, bitrate: 301 kb/s
    Chapter #0.0: start 0.000000, end 1616.706667
    Metadata:
      title           : The Riddle House
    Chapter #0.1: start 1616.706667, end 2630.053333
    Metadata:
      title           : The Scar
    Chapter #0.2: start 2630.053333, end 3769.386667
    Metadata:
      title           : The Invitation
    Chapter #0.3: start 3769.386667, end 4891.320000
    Metadata:
      title           : Back to the Burrow
    Chapter #0.4: start 4891.320000, end 6217.813333
    Metadata:
      title           : Weasleys' Wizard Wheezes
    Chapter #0.5: start 6217.813333, end 7104.106667
    Metadata:
      title           : The Portkey
    Chapter #0.6: start 7104.106667, end 9077.773333
    Metadata:
      title           : Bagman and Crouch
    Chapter #0.7: start 9077.773333, end 11278.266667
    Metadata:
      title           : The Quidditch World Cup
    Chapter #0.8: start 11278.266667, end 14019.426667
    Metadata:
      title           : The Dark Mark
    Chapter #0.9: start 14019.426667, end 15219.186667
    Metadata:
      title           : Mayhem at the Ministry
    Chapter #0.10: start 15219.186667, end 16450.040000
    Metadata:
      title           : Aboard the Hogwarts Express
    Chapter #0.11: start 16450.040000, end 18660.160000
    Metadata:
      title           : The Triwizard Tournament
    Chapter #0.12: start 18660.160000, end 20293.186667
    Metadata:
      title           : Mad-Eye Moody
    Chapter #0.13: start 20293.186667, end 22304.925000
    Metadata:
      title           : The Unforgivable Curses
    Chapter #0.14: start 22304.925000, end 24397.378333
    Metadata:
      title           : Beauxbatons and Durmstrang
    Chapter #0.15: start 24397.378333, end 26863.071667
    Metadata:
      title           : The Goblet of Fire
    Chapter #0.16: start 26863.071667, end 28587.405000
    Metadata:
      title           : The Four Champions
    Chapter #0.17: start 28587.405000, end 31132.271667
    Metadata:
      title           : The Weighing of the Wands
    Chapter #0.18: start 31132.271667, end 33531.911667
    Metadata:
      title           : The Hungarian Horntail
    Chapter #0.19: start 33531.911667, end 36202.245000
    Metadata:
      title           : The First Task
    Chapter #0.20: start 36202.245000, end 38363.178333
    Metadata:
      title           : The House-Elf Liberation Front
    Chapter #0.21: start 38363.178333, end 40051.618333
    Metadata:
      title           : The Unexpected Task
    Chapter #0.22: start 40051.618333, end 43178.978333
    Metadata:
      title           : The Yule Ball
    Chapter #0.23: start 43178.978333, end 45614.880000
    Metadata:
      title           : Rita Skeeter's Scoop
    Stream #0:0(eng), 218, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 298 kb/s
    Metadata:
      creation_time   : 2013-04-30 17:05:28
      handler_name    : Apple Sound Media Handler
    Stream #0:1(eng), 1, 1/600: Video: png (png  / 0x20676E70), rgba, 425x512 [SAR 2835:2835 DAR 425:512], 1/600, 0 kb/s, 0k fps, 0k tbr, 600 tbn, 600 tbc
    Metadata:
      creation_time   : 2013-04-30 17:06:48
      handler_name    : ?Apple Alias Data Handler
    Stream #0:2(eng), 0, 1/600: Subtitle: mov_text (text / 0x74786574)
    Metadata:
      creation_time   : 2013-04-30 17:06:48
      handler_name    : ?Apple Alias Data Handler
    Stream #0:3, 1, 1/90000: Video: png, rgba, 850x1024 [SAR 5669:5669 DAR 425:512], 1/90000, 90k tbr, 90k tbn, 90k tbc
Successfully opened the file.
At least one output file must be specified
Statistics: 13304702 bytes read, 4 seeks
}}}

Info about part 2:

{{{
$ ffmpeg -v 9 -loglevel 99 -i 05\ Harry\ Potter\ and\ the\ Goblet\ of\ Fire,\ Part\ 2.m4b
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 30 2013 13:13:33 with Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set libav* logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument '05 Harry Potter and the Goblet of Fire, Part 2.m4b'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set libav* logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file 05 Harry Potter and the Goblet of Fire, Part 2.m4b.
Successfully parsed a group of options.
Opening an input file: 05 Harry Potter and the Goblet of Fire, Part 2.m4b.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab91015a00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab91015a00] ISO: File Type Major Brand: mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab91015a00] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab91015a00] File position before avformat_find_stream_info() is 8501103
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab91015a00] max_analyze_duration 5000000 reached at 5015510 microseconds
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab91015a00] File position after avformat_find_stream_info() is 8653248
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '05 Harry Potter and the Goblet of Fire, Part 2.m4b':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42mp41
    creation_time   : 2013-04-30 17:13:43
    title           : Harry Potter and the Goblet of Fire, Part 2
    track           : 5/12
    album           : Harry Potter
    genre           : Audiobooks
    artist          : J. K. Rowling
    encoder         : Audiobook Builder 1.5.3 (www.splasm.com), QuickTime 7.7.1
    media_type      : 2
  Duration: 07:55:55.35, start: 0.000000, bitrate: 308 kb/s
    Chapter #0.0: start 0.000000, end 2228.533333
    Metadata:
      title           : The Egg and the Eye
    Chapter #0.1: start 2228.533333, end 5145.080000
    Metadata:
      title           : The Second Task
    Chapter #0.2: start 5145.080000, end 7839.186667
    Metadata:
      title           : Padfoot Returns
    Chapter #0.3: start 7839.186667, end 10752.293333
    Metadata:
      title           : The Madness of Mr Crouch
    Chapter #0.4: start 10752.293333, end 12453.186667
    Metadata:
      title           : The Dream
    Chapter #0.5: start 12453.186667, end 15063.880000
    Metadata:
      title           : The Pensieve
    Chapter #0.6: start 15063.880000, end 18109.546667
    Metadata:
      title           : The Third Task
    Chapter #0.7: start 18109.546667, end 18895.600000
    Metadata:
      title           : Flesh, Blood & Bone
    Chapter #0.8: start 18895.600000, end 20799.280000
    Metadata:
      title           : The Death Eaters
    Chapter #0.9: start 20799.280000, end 21947.453333
    Metadata:
      title           : Priori Incantatem
    Chapter #0.10: start 21947.453333, end 24205.920000
    Metadata:
      title           : Veritaserum
    Chapter #0.11: start 24205.920000, end 26618.813333
    Metadata:
      title           : The Parting of the Ways
    Chapter #0.12: start 26618.813333, end 28555.365000
    Metadata:
      title           : The Beginning
    Stream #0:0(eng), 218, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 306 kb/s
    Metadata:
      creation_time   : 2013-04-30 17:13:43
      handler_name    : Apple Sound Media Handler
    Stream #0:1(eng), 1, 1/600: Video: png (png  / 0x20676E70), rgba, 425x512 [SAR 2835:2835 DAR 425:512], 1/600, 0 kb/s, 0k fps, 0k tbr, 600 tbn, 600 tbc
    Metadata:
      creation_time   : 2013-04-30 17:14:29
      handler_name    : ?Apple Alias Data Handler
    Stream #0:2(eng), 0, 1/600: Subtitle: mov_text (text / 0x74786574)
    Metadata:
      creation_time   : 2013-04-30 17:14:29
      handler_name    : ?Apple Alias Data Handler
    Stream #0:3, 1, 1/90000: Video: png, rgba, 850x1024 [SAR 5669:5669 DAR 425:512], 1/90000, 90k tbr, 90k tbn, 90k tbc
Successfully opened the file.
At least one output file must be specified
Statistics: 9219721 bytes read, 4 seeks
}}}"	otters
git	228	"FFserver: reordering of ""<Stream>""s in config file makes difference"	FFserver	git	defect	new	2011-05-21T01:16:02+02:00	2012-12-30T16:47:21+01:00	"The first config file (ffserver1.conf) made ffserver drop rtsp connections, with error message ""'''[NULL @ 0x1be7ba0]AAC with no global headers is currently not supported.'''""

After just a simple reordering of <Stream> items (ffserver2.conf), everything started to work properly?

Is this expected behavior? :)"	burek
git	5	jp2k muxed into mov by FFmpeg can't be played by QuickTime	avformat	git	defect	open	2011-03-11T00:50:33+01:00	2013-02-19T17:32:17+01:00	"(issue 2656)
incoming/jpeg2000_to_quicktime_unplayable/bbb_jp2_qt.mov can be decoded with FFmpeg (and played with MPlayer, ffplay shows a black window for me), remuxing the video with FFmpeg leads to a file that can be decoded with FFmpeg (and played with MPlayer, ffplay shows a black window), but the original file plays fine with QuickTime, the copy shows only a black window.

{{{
$ ffmpeg -i bbb_jp2_qt.mov -vcodec copy out.mov
FFmpeg version git-N-28405-gb33fa8a, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 11 2011 00:24:29 with gcc 4.4.5
  configuration: --cc=/usr/local/gcc-4.4.5/bin/gcc --enable-gpl --enable-libopenjpeg
  libavutil    50. 39. 0 / 50. 39. 0
  libavcodec   52.113. 2 / 52.113. 2
  libavformat  52.102. 0 / 52.102. 0
  libavdevice  52.  3. 0 / 52.  3. 0
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bbb_jp2_qt.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-03-09 22:39:50
  Duration: 00:00:03.33, start: 0.000000, bitrate: 23584 kb/s
    Stream #0.0(eng): Video: libopenjpeg, rgb24, 640x360, 23581 kb/s, 24 fps, 24 tbr, 24 tbn, 24 tbc
    Metadata:
      creation_time   : 2011-03-09 22:39:50
Output #0, mov, to 'out.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-03-09 22:39:50
    encoder         : Lavf52.102.0
    Stream #0.0(eng): Video: mjp2 / 0x32706A6D, rgb24, 640x360, q=2-31, 23581 kb/s, 24 tbn, 24 tbc
    Metadata:
      creation_time   : 2011-03-09 22:39:50
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   80 fps=  0 q=-1.0 Lsize=    9597kB time=3.33 bitrate=23584.6kbits/s
video:9595kB audio:0kB global headers:0kB muxing overhead 0.013923%
}}}
"	cehoyos
git	75	Chroma corruption with specific Fraps sample	avcodec	git	defect	open	2011-04-20T20:35:08+02:00	2011-04-24T16:45:42+02:00	"With a specific sample (http://stfcc.org/misc/fraps_chroma_corruption.avi - ~48MB), chroma corruption is produced on at least two different frames after the decoding process.

With the same frame, note the difference between FFmpeg's output and the Fraps video decompresser's:
FFmpeg: http://stfcc.org/misc/fraps_chroma_corruption_ffmpeg.png
Fraps: http://stfcc.org/misc/fraps_chroma_corruption_fraps.png

Below output was for converion to huffyuv so it could be viewed in ffplay (ffplay doesn't display video for Fraps it seems):

{{{
C:\temp\Encoding\test>ffmpeg.exe -v 9 -loglevel 99 -i fraps_chroma_corruption.avi -vcodec huffyuv -pix_fmt rgb32 -y output.avi
FFmpeg version git-N-29181-ga304071, Copyright (c) 2000-2011 the FFmpeg developers
  built on Apr 18 2011 21:24:03 with gcc 4.5.2
  configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --enable-memalign-hack --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-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib --cross-prefix=i686-w64-mingw32- --target-os=mingw32 --arch=x86_32 --extra-cflags=-I/home/kyle/software/ffmpeg/external-libraries/win32/include --extra-ldflags=-L/home/kyle/software/ffmpeg/external-libraries/win32/lib --pkg-config=pkg-config
  libavutil    50. 40. 1 / 50. 40. 1
  libavcodec   52.120. 0 / 52.120. 0
  libavformat  52.108. 0 / 52.108. 0
  libavdevice  52.  4. 0 / 52.  4. 0
  libavfilter   1. 79. 0 /  1. 79. 0
  libswscale    0. 13. 0 /  0. 13. 0
[NULL @ 018BBE60] Probed with size=2048 and score=100
[avi @ 018BBE60] All info found
Input #0, avi, from 'fraps_chroma_corruption.avi':
  Duration: 00:00:01.51, start: 0.000000, bitrate: 260416 kb/s
    Stream #0.0, 1, 1/60: Video: fraps, bgr24, 960x540, 1/60, 60 tbr, 60 tbn, 60 tbc
[buffer @ 01747A30] w:960 h:540 pixfmt:bgr24
[ffsink @ 01747C30] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 01747E90] w:960 h:540 fmt:bgr24 -> w:960 h:540 fmt:bgra flags:0x4
[huffyuv @ 01751A70] using huffyuv 2.2.0 or newer interlacing flag
Output #0, avi, to 'output.avi':
  Metadata:
    ISFT            : Lavf52.108.0
    Stream #0.0, 0, 1/60: Video: huffyuv, bgra, 960x540, 1/60, q=2-31, 200 kb/s, 60 tbn, 60 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   91 fps= 60 q=0.0 Lsize=   70979kB time=1.52 bitrate=383378.5kbits/s

video:70971kB audio:0kB global headers:0kB muxing overhead 0.010824%
}}}"	Snowknight26
git	346	FFserver passing on rtp stream freezes	FFserver	git	defect	new	2011-07-13T16:27:40+02:00	2012-03-12T03:39:09+01:00	"I have the following situation:

FFserver on Host 1, which takes input from FFmpeg and offers an rtp stream. Config is reproduced below under the heading mainserver.conf. 
FFmpeg is invoked as ffmpeg -i inputfile http://127.0.0.1:8090/f.ffm on this computer.

FFServer on Host 2 (can be the same one for testing purposes, effect is the same) which reads the stream from FFserver on Host 1 and offers it again. Config file is  reproduced below under the heading ffserver.conf.

I start both servers with ffserver -d -f config_file.

When watching the stream offered by FFserver on Host 2 it aborts after a few seconds. This happens regardless of whether I watch from the same or a different computer, and also regardless of whether the two ffservers are run from the same or different hosts. The time it takes to abort is always exactly the same, with the same video and settings. For example with these configs and this [http://downloads.xiph.org/video/A_Digital_Media_Primer_For_Geeks-360p.webm input video] it's always 4.5 seconds.

The effect is independent of which player is used, vlc, mplayer, ffplay all show the same result, the stream freezes.

Watching the stream offered by Host 1 directly works fine.

FFplay reports no error when this happens, the video simply freezes. The counter / timer on the console continues to increase though.

== mainserver.conf ==
{{{
Port 8090
RTSPPort 8554
BindAddress 0.0.0.0
MaxHTTPConnections 1000
MaxClients 200
MaxBandwidth 10000
CustomLog -

<Feed f.ffm>
File /tmp/f.ffm
FileMaxSize 2000M
</Feed>


<Stream 1.sdp>
Format rtp
Feed f.ffm

NoLoop
VideoCodec libx264
VideoFrameRate 24
VideoBitRate 400
VideoSize 640x368
# AVPresetVideo default
AVPresetVideo medium
# AVPresetVideo libx264-ultrafast
# AVOptionVideo flags +global_header
NoAudio
VideoBufferSize 500
VideoGopSize 5
AVOptionVideo flags  global_header vpre hq crf 15 maxrate 400k

</Stream>

<Stream stat.html>
Format status
</Stream>
}}}

== ffserver.conf ==
{{{

Port 8091
RTSPPort 8555
BindAddress 0.0.0.0
MaxHTTPConnections 10
MaxClients 5
MaxBandwidth 10000
CustomLog -

<Stream 1.sdp>
Format rtp
File ""rtsp://127.0.0.1:8554/1.sdp?tcp""
</Stream>

<Stream stat.html>
Format status
</Stream>
}}}

== Log of FFserver on Host 2 ==
{{{
ffserver version 0.7, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul  6 2011 11:29:30 with gcc 4.6.0 20110530 (Red Hat 4.6.0-9)
  configuration: --enable-gpl --enable-libx264 --enable-static --disable-shared --extra-cflags='-Lx264/lib/ -Ix264/inc' --extra-ldflags='-Lx264/lib/ -Ix264/inc/.'
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  5. 0 / 53.  5. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 24. 3 /  2. 24. 3
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Wed Jul 13 15:59:34 2011 Opening file 'rtsp://127.0.0.1:8554/1.sdp?tcp'
Wed Jul 13 15:59:34 2011 [rtsp @ 0x25ec740]SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Title
c=IN IP4 0.0.0.0
t=0 0
a=tool:libavformat 53.5.0
m=video 0 RTP/AVP 96
b=AS:400
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=64001F;packetization-mode=1; sprop-parameter-sets=Z2QAH6zZQKAvsBEAAAMAkgAANrIPGDGW,aOvssiw=
a=control:streamid=0

Wed Jul 13 15:59:34 2011 [rtsp @ 0x25ec740]video codec set to: h264
Wed Jul 13 15:59:34 2011 [NULL @ 0x25f0600]RTP Profile IDC: 64 Profile IOP: 0 Level: 1f
Wed Jul 13 15:59:34 2011 [NULL @ 0x25f0600]RTP Packetization Mode: 1
Wed Jul 13 15:59:34 2011 [NULL @ 0x25f0600]Extradata set to 0x25ec000 (size: 35)!hello state=0
Wed Jul 13 15:59:34 2011 [h264 @ 0x25f0600]Unsupported bit depth: 0
Wed Jul 13 15:59:34 2011 [h264 @ 0x25f0600]Missing reference picture
Wed Jul 13 15:59:34 2011 [h264 @ 0x25f0600]decode_slice_header error
Wed Jul 13 15:59:34 2011 [h264 @ 0x25f0600]concealing 920 DC, 920 AC, 920 MV errors
Wed Jul 13 15:59:34 2011 [h264 @ 0x25f0600]no picture
Wed Jul 13 15:59:34 2011 [h264 @ 0x25f0600]no picture
Wed Jul 13 15:59:35 2011 [rtsp @ 0x25ec740]All info found
Wed Jul 13 15:59:35 2011 [rtsp @ 0x25ec740]Estimating duration from bitrate, this may be inaccurate
Wed Jul 13 15:59:35 2011 FFserver started.
Wed Jul 13 15:59:40 2011 127.0.0.1 - - [DESCRIBE] ""rtsp://127.0.0.1:8555/1.sdp RTSP/1.0"" 200 529
Wed Jul 13 15:59:40 2011 [rtsp @ 0x25f0600]SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Title
c=IN IP4 0.0.0.0
t=0 0
a=tool:libavformat 53.5.0
m=video 0 RTP/AVP 96
b=AS:400
a=rtpmap:96 H264/90000
a=fmtp:96 profile-level-id=64001F;packetization-mode=1; sprop-parameter-sets=Z2QAH6zZQKAvsBEAAAMAkgAANrIPGDGW,aOvssiw=
a=control:streamid=0

Wed Jul 13 15:59:40 2011 [rtsp @ 0x25f0600]video codec set to: h264
Wed Jul 13 15:59:40 2011 [NULL @ 0x2717040]RTP Profile IDC: 64 Profile IOP: 0 Level: 1f
Wed Jul 13 15:59:40 2011 [NULL @ 0x2717040]RTP Packetization Mode: 1
Wed Jul 13 15:59:40 2011 [NULL @ 0x2717040]Extradata set to 0x25ec000 (size: 35)!hello state=0
Wed Jul 13 15:59:40 2011 [h264 @ 0x2717040]Unsupported bit depth: 0
Wed Jul 13 15:59:40 2011 [h264 @ 0x2717040]Frame num gap 3 0
Wed Jul 13 15:59:40 2011 [h264 @ 0x2717040]Frame num gap 3 1
Wed Jul 13 15:59:40 2011 [h264 @ 0x2717040]reference picture missing during reorder
Wed Jul 13 15:59:40 2011 [h264 @ 0x2717040]Missing reference picture
Wed Jul 13 15:59:40 2011 [h264 @ 0x2717040]no picture
Wed Jul 13 15:59:40 2011 [h264 @ 0x2717040]no picture
Wed Jul 13 15:59:41 2011 [rtsp @ 0x25f0600]All info found
Wed Jul 13 15:59:41 2011 [rtsp @ 0x25f0600]Estimating duration from bitrate, this may be inaccurate
Wed Jul 13 15:59:41 2011 [rtsp @ 0x25f0600]hello state=3
Wed Jul 13 15:59:41 2011 127.0.0.1:60088 - - ""PLAY 1.sdp/streamid=0 RTP/UDP""
Wed Jul 13 15:59:41 2011 [rtp @ 0x2715940]Sending NAL 1 of len 304 M=1
Wed Jul 13 15:59:41 2011 [rtp @ 0x2715940]Sending NAL 1 of len 51 M=1
Wed Jul 13 15:59:41 2011 [rtp @ 0x2715940]Sending NAL 5 of len 12195 M=1
Wed Jul 13 15:59:41 2011 [rtp @ 0x2715940]NAL size 12195 > 1460
Wed Jul 13 15:59:41 2011 [rtp @ 0x2715940]Sending NAL 1 of len 62 M=1
Wed Jul 13 15:59:41 2011 [rtp @ 0x2715940]Sending NAL 1 of len 174 M=1
Wed Jul 13 15:59:41 2011 [rtp @ 0x2715940]Sending NAL 1 of len 28 M=1
Wed Jul 13 15:59:41 2011 [rtp @ 0x2715940]Sending NAL 1 of len 176 M=1
Wed Jul 13 15:59:41 2011 [rtp @ 0x2715940]Sending NAL 5 of len 11706 M=1

...
Lots more like this
...


Wed Jul 13 15:59:50 2011 [rtp @ 0x2715940]NAL size 5433 > 1460
Wed Jul 13 15:59:50 2011 [rtp @ 0x2715940]Sending NAL 1 of len 91 M=1
}}}"	schanda
git	24	Error message needed when enabling drawtext filter without libfreetype	build system	git	enhancement	open	2011-03-28T11:35:27+02:00	2011-04-02T20:47:39+02:00	"It would be really helpful if the configure script would issue an error message when trying to do ""--enable-filter=drawtext""  without adding ""--enable-libfreetype"". At the moment, there is no error message, and the drawtext filter doesn't get enabled.

The documentation of the drawtext filter does mention then libfreetype is needed - but it would be much more helpful if the configure script would do this check. Otherwise one would have no idea why the filter silently refuses to enable with no error message."	xj25vm
git	227	Extend -ss and -t to support seeking to EOF time position (and backwards)?	FFmpeg	git	enhancement	new	2011-05-21T00:12:46+02:00	2011-05-21T00:12:46+02:00	"Maybe, it would be useful if options -ss and -t could support something like this: ffmpeg -ss EOF-00:00:10 -i input ...
(meaning the start time is 10 seconds before the end of the file).

This would be useful in automated use of ffmpeg, where users don't need to set time positions absolutely (manually), but rather relatively to the end of file."	burek
git-master	1031	yuv420p to rgb24 wrong pixels at end of rows	swscale	git-master	defect	reopened	2012-03-02T18:44:31+01:00	2013-03-10T17:44:13+01:00	"Seems to occur only at certain sizes.

Steps to reproduce:
ffmpeg -i Input.avi -vcodec libvpx -s 180x256 Output.avi
ffmpeg -i Output.avi Output.png"	SephiRok
git-master	1476	rtp pcm_alaw/pcm_mulaw streaming from ALSA	undetermined	git-master	defect	new	2012-06-22T15:19:01+02:00	2012-12-22T12:59:41+01:00	"- What I was trying to accomplish:
I am trying to stream ALSA audio in (one channel) over RTP, to a VLC server with pcm_alaw/pcm_mulaw format @8ksample/s.

- The problem I encountered:
After few seconds (from 5 to 100, randomly) of correct and audible sound on server (but with wrong stream speed), the program (ffmpeg) exit with ""segmentation fault"".

- Exact command line:
./ffmpeg -f alsa -ar 8000 -ac 1 -i hw:1,0 -ar 8000 -acodec pcm_alaw -ab 64k -f rtp rtp://127.0.0.1:1234

- Output of ffmpeg -v 9 -loglevel 99 -report:
[http://pastebin.com/f5amCa6n]

- Output of debug as described here [http://ffmpeg.org/bugreports.html] :
[http://pastebin.com/zBsWAPgQ]

- Summary of the bug:
Program exit with segmentation fault

- How to reproduce:

run command and wait few seconds

ffmpeg version N-41796-g1bb30d0
built on Jun 22 2012 10:56:44 with gcc 4.6.3
configuration: --enable-libx264 --enable-gpl
libavutil      51. 59.100 / 51. 59.100
libavcodec     54. 29.100 / 54. 29.100
libavformat    54. 10.100 / 54. 10.100
libavdevice    54.  0.100 / 54.  0.100
libavfilter     2. 82.100 /  2. 82.100
libswscale      2.  1.100 /  2.  1.100
libswresample   0. 15.100 /  0. 15.100
libpostproc    52.  0.100 / 52.  0.100
"	Spideru
git-master	1493	Transcoding MOV file from Rhozet Carbon Server creates video with double duration (needs edit list duration support)	undetermined	git-master	defect	open	2012-06-28T22:07:06+02:00	2012-12-29T07:31:42+01:00	"Summary of the bug:
 Using ffmpeg to transcode a MOV file produced/exported by Rhozet Carbon Server results in an MP4 with double the expected duration.

The video file produced plays back fine but includes an additional 4:14 of black screen and no audio for a total duration of 8:28. When watching the debug output, ffmpeg seems to hang on the final frame of the video and then produces an extra 4:14 worth of blank frames after a few minutes before exiting cleanly.

We received permission from our customer to use this video as part of this bug report but request that it not be used for anything else.

How to reproduce:
{{{
% ffmpeg -v 9 -loglevel 99 -report -i ~/Desktop/BC-foo1/79855382001_1656639096001_449-NHS-Osteoporosis-CaseStudy-16x9-UB-H264-1024-v3.mov /tmp/tmp.mp4

ffmpeg -version: 
ffmpeg version N-41997-g3f59bbf
built on Jun 28 2012 15:06:40 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2)
configuration: --enable-gpl --enable-nonfree --enable-version3 --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libvo-aacenc --enable-libx264 --enable-avfilter --disable-ffplay --disable-ffserver --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx
libavutil      51. 63.100 / 51. 63.100
libavcodec     54. 29.101 / 54. 29.101
libavformat    54. 11.100 / 54. 11.100
libavdevice    54.  0.100 / 54.  0.100
libavfilter     3.  0.100 /  3.  0.100
libswscale      2.  1.100 /  2.  1.100
libswresample   0. 15.100 /  0. 15.100
libpostproc    52.  0.100 / 52.  0.100

}}}

The file can be downloaded from here:
{{{
http://ffmpeg-bug.s3-website-us-east-1.amazonaws.com/transcodes_to_double_duration.mov
size: 503881220 bytes (481 MB)
md5sum: a37321b6d0231b45dd62f6c3378151be
}}}
"	kbreeman
git-master	1509	H264 Encoding Broken with pthreads > 1 on windows	undetermined	git-master	defect	new	2012-07-03T23:27:20+02:00	2012-09-25T23:39:12+02:00	"Summary of the bug:
Encoding H264 appears to be broken on both Win32 & Win64. The encode goes along for a while then pauses then continues again. It will do this repeatedly until eventually it hangs forever with CPU utilization at 0% and you have to kill the process.

How to reproduce:
{{{
ffmpeg -i ""C:\Temp\Episode 101.mpg"" ""C:\Temp\Episode 101 
H264.mp4""
ffmpeg version N-42069-g3233ad4 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 30 2012 13:22:04 with gcc 4.7.1
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-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-libope
njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth
eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --e
nable-zlib
  libavutil      51. 63.100 / 51. 63.100
  libavcodec     54. 31.100 / 54. 31.100
  libavformat    54. 14.100 / 54. 14.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     3.  0.100 /  3.  0.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg @ 00000000020aa960] max_analyze_duration 5000000 reached at 5005000
Input #0, mpeg, from 'C:\Temp\Episode 101.mpg':
  Duration: 00:22:05.24, start: 0.280611, bitrate: 5389 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR
4:3], 8500 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
[graph 0 input from stream 0:0 @ 0000000004e95c00] w:720 h:480 pixfmt:yuv420p tb
:1/90000 fr:30000/1001 sar:8/9 sws_param:flags=2
[output stream 0:0 @ 0000000004e95b60] No opaque field provided
[graph 1 input from stream 0:1 @ 0000000004e959c0] tb:1/90000 samplefmt:s16 samp
lerate:48000 chlayout:0x3
[libx264 @ 0000000004b7fb40] using SAR=8/9
[libx264 @ 0000000004b7fb40] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShu
ffle SSE4.2 AVX
[libx264 @ 0000000004b7fb40] profile High, level 3.0
[libx264 @ 0000000004b7fb40] 264 - core 125 r2200 999b753 - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 r
ef=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed
_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pski
p=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 dec
imate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b
_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=
25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.
60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'C:\Temp\Episode 101 H264.mp4':
  Metadata:
    encoder         : Lavf54.14.100
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 720x480 [SAR 8:9
 DAR 4:3], q=-1--1, 30k tbn, 29.97 tbc
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 128
 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> libx264)
  Stream #0:1 -> #0:1 (ac3 -> libvo_aacenc)
Press [q] to stop, [?] for help
[mpeg2video @ 00000000003ff6e0] warning: first frame is no keyframe
frame=  145 fps=0.0 q=29.0 size=    1038kB time=00:00:02.70 bitrate=3145.3kbits/
frame=  235 fps=234 q=29.0 size=    2389kB time=00:00:05.70 bitrate=3430.2kbits/
frame=  362 fps=240 q=29.0 size=    3087kB time=00:00:09.94 bitrate=2543.3kbits/
frame=  509 fps=253 q=29.0 size=    3513kB time=00:00:14.84 bitrate=1938.4kbits/
frame=  623 fps=247 q=29.0 size=    4408kB time=00:00:18.65 bitrate=1935.8kbits/
frame=  715 fps=237 q=29.0 size=    5456kB time=00:00:21.72 bitrate=2057.8kbits/
frame=  819 fps=233 q=29.0 size=    6650kB time=00:00:25.19 bitrate=2162.5kbits/
frame=  933 fps=232 q=29.0 size=    7336kB time=00:00:28.99 bitrate=2072.5kbits/
frame= 1081 fps=239 q=29.0 size=    8033kB time=00:00:33.93 bitrate=1939.3kbits/
frame= 1216 fps=242 q=29.0 size=    8657kB time=00:00:38.43 bitrate=1845.0kbits/
frame= 1351 fps=244 q=29.0 size=    9235kB time=00:00:42.94 bitrate=1761.7kbits/
frame= 1362 fps= 85 q=29.0 size=    9280kB time=00:00:43.30 bitrate=1755.2kbits/
frame= 1520 fps= 92 q=29.0 size=    9840kB time=00:00:48.58 bitrate=1659.2kbits/
frame= 1660 fps= 97 q=26.0 size=   10373kB time=00:00:53.25 bitrate=1595.7kbits/
frame= 1780 fps=101 q=29.0 size=   11135kB time=00:00:57.25 bitrate=1593.1kbits/
frame= 1916 fps=106 q=29.0 size=   12148kB time=00:01:01.79 bitrate=1610.4kbits/
frame= 2077 fps=112 q=29.0 size=   12677kB time=00:01:07.16 bitrate=1546.1kbits/
frame= 2207 fps=116 q=29.0 size=   13243kB time=00:01:11.50 bitrate=1517.3kbits/
frame= 2347 fps=120 q=29.0 size=   13878kB time=00:01:16.17 bitrate=1492.5kbits/
frame= 2474 fps=123 q=29.0 size=   14586kB time=00:01:20.41 bitrate=1485.9kbits/
frame= 2610 fps=127 q=29.0 size=   15232kB time=00:01:24.95 bitrate=1468.9kbits/
frame= 2740 fps=130 q=29.0 size=   15898kB time=00:01:29.28 bitrate=1458.6kbits/
frame= 2886 fps=134 q=29.0 size=   16437kB time=00:01:34.16 bitrate=1430.1kbits/
frame= 3051 fps=138 q=29.0 size=   16979kB time=00:01:39.66 bitrate=1395.6kbits/
frame= 3208 fps=142 q=29.0 size=   17447kB time=00:01:44.90 bitrate=1362.4kbits/
frame= 3337 fps=145 q=29.0 size=   18046kB time=00:01:49.20 bitrate=1353.6kbits/
frame= 3461 fps=147 q=29.0 size=   18624kB time=00:01:53.34 bitrate=1346.0kbits/
frame= 3590 fps=149 q=29.0 size=   19073kB time=00:01:57.65 bitrate=1328.0kbits/
frame= 3637 fps=114 q=29.0 size=   19325kB time=00:01:59.21 bitrate=1327.9kbits/
frame= 3780 fps=116 q=29.0 size=   19827kB time=00:02:03.99 bitrate=1309.9kbits/
frame= 3908 fps=118 q=29.0 size=   20574kB time=00:02:08.26 bitrate=1314.1kbits/
frame= 4042 fps=121 q=29.0 size=   21171kB time=00:02:12.73 bitrate=1306.6kbits/
frame= 4172 fps=123 q=29.0 size=   21799kB time=00:02:17.07 bitrate=1302.8kbits/
frame= 4303 fps=125 q=29.0 size=   22547kB time=00:02:21.44 bitrate=1305.9kbits/
frame= 4432 fps=127 q=29.0 size=   23261kB time=00:02:25.74 bitrate=1307.5kbits/
frame= 4561 fps=128 q=29.0 size=   23953kB time=00:02:30.04 bitrate=1307.7kbits/
frame= 4690 fps=130 q=29.0 size=   24554kB time=00:02:34.35 bitrate=1303.1kbits/
frame= 4690 fps=107 q=29.0 size=   24554kB time=00:02:34.35 bitrate=1303.1kbits/
frame= 4820 fps=108 q=29.0 size=   25103kB time=00:02:38.69 bitrate=1295.9kbits/
frame= 4936 fps=110 q=29.0 size=   25670kB time=00:02:42.56 bitrate=1293.6kbits/
frame= 5065 fps=111 q=29.0 size=   26327kB time=00:02:46.86 bitrate=1292.5kbits/
frame= 5187 fps=113 q=29.0 size=   26929kB time=00:02:50.93 bitrate=1290.6kbits/
frame= 5329 fps=115 q=29.0 size=   27492kB time=00:02:55.67 bitrate=1282.0kbits/
frame= 5450 fps=116 q=29.0 size=   28082kB time=00:02:59.71 bitrate=1280.1kbits/
frame= 5594 fps=118 q=29.0 size=   28761kB time=00:03:04.51 bitrate=1276.9kbits/
frame= 5720 fps=119 q=29.0 size=   29473kB time=00:03:08.72 bitrate=1279.4kbits/
frame= 5889 fps=121 q=29.0 size=   29954kB time=00:03:14.36 bitrate=1262.5kbits/
frame= 6062 fps=124 q=29.0 size=   30373kB time=00:03:20.13 bitrate=1243.3kbits/
frame= 6207 fps=125 q=29.0 size=   30810kB time=00:03:24.97 bitrate=1231.4kbits/
frame= 6345 fps=127 q=29.0 size=   31259kB time=00:03:29.57 bitrate=1221.9kbits/
frame= 6465 fps=104 q=29.0 size=   31915kB time=00:03:33.58 bitrate=1224.1kbits/
frame= 6629 fps=106 q=29.0 size=   32396kB time=00:03:39.05 bitrate=1211.5kbits/
frame= 6777 fps=108 q=29.0 size=   33115kB time=00:03:43.99 bitrate=1211.1kbits/
frame= 6902 fps=109 q=29.0 size=   33621kB time=00:03:48.16 bitrate=1207.2kbits/
frame= 7033 fps=110 q=29.0 size=   34183kB time=00:03:52.53 bitrate=1204.3kbits/
frame= 7154 fps=111 q=29.0 size=   34889kB time=00:03:56.56 bitrate=1208.2kbits/
frame= 7266 fps=112 q=29.0 size=   35627kB time=00:04:00.30 bitrate=1214.5kbits/
frame= 7399 fps=113 q=29.0 size=   36391kB time=00:04:04.74 bitrate=1218.1kbits/
frame= 7535 fps=114 q=29.0 size=   36970kB time=00:04:09.28 bitrate=1214.9kbits/
frame= 7664 fps=115 q=29.0 size=   37602kB time=00:04:13.58 bitrate=1214.7kbits/
frame= 7799 fps=116 q=29.0 size=   38236kB time=00:04:18.09 bitrate=1213.6kbits/
frame= 7918 fps=117 q=29.0 size=   38913kB time=00:04:22.06 bitrate=1216.4kbits/
frame= 8053 fps=118 q=29.0 size=   39479kB time=00:04:26.56 bitrate=1213.3kbits/
frame= 8174 fps=119 q=29.0 size=   40133kB time=00:04:30.60 bitrate=1215.0kbits/
frame= 8295 fps=120 q=29.0 size=   40989kB time=00:04:34.64 bitrate=1222.6kbits/
frame= 8415 fps=121 q=29.0 size=   41739kB time=00:04:38.64 bitrate=1227.1kbits/
frame= 8525 fps=122 q=29.0 size=   42542kB time=00:04:42.31 bitrate=1234.4kbits/
frame= 8634 fps=122 q=29.0 size=   43585kB time=00:04:45.95 bitrate=1248.6kbits/
frame= 8754 fps=123 q=29.0 size=   44404kB time=00:04:49.95 bitrate=1254.5kbits/
frame= 8894 fps=124 q=29.0 size=   45194kB time=00:04:54.62 bitrate=1256.6kbits/
frame= 9022 fps=125 q=29.0 size=   45895kB time=00:04:58.89 bitrate=1257.9kbits/
frame= 9164 fps=126 q=29.0 size=   46598kB time=00:05:03.63 bitrate=1257.2kbits/
frame= 9304 fps=127 q=29.0 size=   47228kB time=00:05:08.30 bitrate=1254.9kbits/
frame= 9436 fps=128 q=29.0 size=   47960kB time=00:05:12.71 bitrate=1256.4kbits/
frame= 9557 fps=129 q=29.0 size=   48595kB time=00:05:16.74 bitrate=1256.8kbits/
frame= 9686 fps=130 q=29.0 size=   49345kB time=00:05:21.05 bitrate=1259.1kbits/
frame= 9806 fps=131 q=29.0 size=   50072kB time=00:05:25.05 bitrate=1261.9kbits/
frame= 9940 fps=132 q=29.0 size=   50838kB time=00:05:29.52 bitrate=1263.8kbits/
frame=10064 fps=132 q=29.0 size=   51604kB time=00:05:33.66 bitrate=1267.0kbits/
frame=10192 fps=133 q=29.0 size=   52352kB time=00:05:37.93 bitrate=1269.1kbits/
frame=10326 fps=134 q=29.0 size=   52986kB time=00:05:42.40 bitrate=1267.7kbits/
frame=10462 fps=135 q=29.0 size=   53604kB time=00:05:46.94 bitrate=1265.7kbits/
frame=10603 fps=136 q=29.0 size=   54147kB time=00:05:51.65 bitrate=1261.4kbits/
frame=10723 fps=136 q=29.0 size=   54979kB time=00:05:55.65 bitrate=1266.4kbits/
frame=10840 fps=137 q=29.0 size=   55672kB time=00:05:59.55 bitrate=1268.4kbits/
frame=10960 fps=138 q=29.0 size=   56461kB time=00:06:03.56 bitrate=1272.2kbits/
frame=11063 fps=138 q=29.0 size=   57337kB time=00:06:06.99 bitrate=1279.8kbits/
frame=11173 fps=139 q=29.0 size=   58433kB time=00:06:10.67 bitrate=1291.4kbits/
frame=11314 fps=140 q=29.0 size=   58976kB time=00:06:15.37 bitrate=1287.1kbits/
frame=11457 fps=140 q=29.0 size=   59503kB time=00:06:20.14 bitrate=1282.3kbits/
frame=11599 fps=141 q=29.0 size=   60087kB time=00:06:24.88 bitrate=1278.9kbits/
frame=11726 fps=142 q=29.0 size=   60806kB time=00:06:29.12 bitrate=1280.1kbits/
frame=11842 fps=143 q=29.0 size=   61369kB time=00:06:32.99 bitrate=1279.3kbits/
frame=11989 fps=143 q=29.0 size=   62070kB time=00:06:37.89 bitrate=1277.9kbits/
frame=12122 fps=144 q=29.0 size=   62647kB time=00:06:42.33 bitrate=1275.6kbits/
frame=12251 fps=145 q=29.0 size=   63319kB time=00:06:46.63 bitrate=1275.6kbits/
frame=12360 fps=145 q=29.0 size=   64133kB time=00:06:50.27 bitrate=1280.5kbits/
frame=12457 fps=145 q=26.0 size=   64790kB time=00:06:53.51 bitrate=1283.5kbits/
frame=12578 fps=146 q=29.0 size=   65677kB time=00:06:57.55 bitrate=1288.5kbits/
frame=12680 fps=146 q=29.0 size=   66541kB time=00:07:00.95 bitrate=1294.9kbits/
frame=12789 fps=147 q=29.0 size=   67519kB time=00:07:04.59 bitrate=1302.7kbits/
frame=12903 fps=147 q=29.0 size=   68252kB time=00:07:08.39 bitrate=1305.1kbits/
frame=13027 fps=148 q=29.0 size=   68950kB time=00:07:12.53 bitrate=1305.9kbits/
frame=13141 fps=148 q=29.0 size=   69739kB time=00:07:16.33 bitrate=1309.3kbits/
frame=13231 fps=148 q=29.0 size=   70747kB time=00:07:19.33 bitrate=1319.2kbits/
frame=13331 fps=149 q=29.0 size=   71747kB time=00:07:22.67 bitrate=1327.7kbits/
frame=13444 fps=149 q=29.0 size=   72722kB time=00:07:26.44 bitrate=1334.4kbits/
frame=13561 fps=150 q=29.0 size=   73586kB time=00:07:30.34 bitrate=1338.6kbits/
frame=13678 fps=150 q=29.0 size=   74270kB time=00:07:34.25 bitrate=1339.4kbits/
frame=13807 fps=151 q=29.0 size=   74995kB time=00:07:38.55 bitrate=1339.8kbits/
frame=13923 fps=151 q=29.0 size=   75731kB time=00:07:42.42 bitrate=1341.6kbits/
frame=14042 fps=152 q=29.0 size=   76495kB time=00:07:46.39 bitrate=1343.6kbits/
frame=14142 fps=152 q=29.0 size=   77343kB time=00:07:49.73 bitrate=1348.8kbits/
frame=14239 fps=152 q=29.0 size=   78278kB time=00:07:52.97 bitrate=1355.8kbits/
frame=14333 fps=152 q=29.0 size=   79245kB time=00:07:56.10 bitrate=1363.5kbits/
frame=14443 fps=153 q=29.0 size=   80128kB time=00:07:59.77 bitrate=1368.2kbits/
frame=14570 fps=153 q=29.0 size=   80847kB time=00:08:04.01 bitrate=1368.3kbits/
frame=14696 fps=154 q=29.0 size=   81689kB time=00:08:08.22 bitrate=1370.7kbits/
frame=14822 fps=154 q=29.0 size=   82199kB time=00:08:12.42 bitrate=1367.5kbits/
frame=14952 fps=155 q=29.0 size=   82820kB time=00:08:16.76 bitrate=1365.8kbits/
frame=15073 fps=155 q=29.0 size=   83555kB time=00:08:20.80 bitrate=1366.8kbits/
frame=15220 fps=156 q=29.0 size=   84196kB time=00:08:25.70 bitrate=1363.9kbits/
frame=15235 fps=134 q=29.0 size=   84225kB time=00:08:26.20 bitrate=1363.0kbits/
frame=15373 fps=134 q=29.0 size=   84815kB time=00:08:30.81 bitrate=1360.2kbits/
frame=15424 fps=119 q=29.0 size=   84989kB time=00:08:32.51 bitrate=1358.5kbits/
frame=15542 fps=119 q=29.0 size=   85655kB time=00:08:36.44 bitrate=1358.7kbits/
frame=15669 fps=120 q=29.0 size=   86435kB time=00:08:40.68 bitrate=1359.9kbits/
frame=15721 fps=116 q=29.0 size=   86764kB time=00:08:42.42 bitrate=1360.5kbits/
frame=15839 fps=116 q=29.0 size=   87500kB time=00:08:46.35 bitrate=1361.8kbits/
frame=15964 fps=117 q=29.0 size=   88187kB time=00:08:50.53 bitrate=1361.7kbits/
frame=16079 fps=117 q=29.0 size=   89064kB time=00:08:54.36 bitrate=1365.4kbits/
frame=16199 fps=117 q=29.0 size=   89982kB time=00:08:58.37 bitrate=1369.2kbits/
frame=16217 fps=105 q=29.0 size=   90054kB time=00:08:58.97 bitrate=1368.8kbits/
frame=16334 fps=106 q=29.0 size=   90843kB time=00:09:02.87 bitrate=1370.8kbits/
frame=16447 fps=106 q=29.0 size=   91814kB time=00:09:06.64 bitrate=1375.9kbits/
frame=16561 fps=106 q=29.0 size=   92489kB time=00:09:10.44 bitrate=1376.5kbits/
frame=16678 fps=107 q=29.0 size=   93195kB time=00:09:14.35 bitrate=1377.2kbits/
frame=16789 fps=107 q=29.0 size=   94056kB time=00:09:18.05 bitrate=1380.7kbits/
frame=16902 fps=108 q=29.0 size=   94959kB time=00:09:21.82 bitrate=1384.6kbits/
frame=17026 fps=108 q=29.0 size=   95589kB time=00:09:25.96 bitrate=1383.6kbits/
frame=17150 fps=109 q=29.0 size=   96485kB time=00:09:30.10 bitrate=1386.4kbits/
frame=17268 fps=109 q=29.0 size=   97179kB time=00:09:34.04 bitrate=1386.8kbits/
frame=17386 fps=109 q=29.0 size=   98122kB time=00:09:37.97 bitrate=1390.7kbits/
frame=17506 fps=110 q=29.0 size=   99045kB time=00:09:41.98 bitrate=1394.2kbits/
frame=17658 fps=110 q=29.0 size=   99485kB time=00:09:47.05 bitrate=1388.3kbits/
frame=17800 fps=111 q=29.0 size=  100032kB time=00:09:51.79 bitrate=1384.7kbits/
frame=17936 fps=111 q=29.0 size=  100676kB time=00:09:56.32 bitrate=1383.0kbits/
frame=18038 fps=112 q=29.0 size=  101492kB time=00:09:59.73 bitrate=1386.3kbits/
frame=18148 fps=112 q=29.0 size=  102408kB time=00:10:03.40 bitrate=1390.3kbits/
frame=18272 fps=112 q=29.0 size=  103386kB time=00:10:07.54 bitrate=1394.0kbits/
frame=18390 fps=113 q=29.0 size=  104125kB time=00:10:11.47 bitrate=1395.0kbits/
frame=18535 fps=113 q=29.0 size=  104683kB time=00:10:16.31 bitrate=1391.4kbits/
frame=18673 fps=114 q=29.0 size=  105173kB time=00:10:20.92 bitrate=1387.6kbits/
frame=18821 fps=114 q=29.0 size=  105738kB time=00:10:25.85 bitrate=1384.0kbits/
frame=18969 fps=115 q=29.0 size=  106290kB time=00:10:30.79 bitrate=1380.4kbits/
frame=19094 fps=115 q=29.0 size=  107062kB time=00:10:34.96 bitrate=1381.3kbits/
frame=19198 fps=116 q=29.0 size=  108319kB time=00:10:38.43 bitrate=1389.9kbits/
frame=19312 fps=116 q=29.0 size=  109323kB time=00:10:42.24 bitrate=1394.5kbits/
frame=19420 fps=116 q=29.0 size=  110345kB time=00:10:45.84 bitrate=1399.6kbits/
frame=19525 fps=117 q=29.0 size=  111419kB time=00:10:49.34 bitrate=1405.6kbits/
frame=19640 fps=117 q=29.0 size=  112325kB time=00:10:53.18 bitrate=1408.7kbits/
frame=19769 fps=117 q=29.0 size=  113129kB time=00:10:57.49 bitrate=1409.5kbits/
frame=19906 fps=118 q=29.0 size=  113788kB time=00:11:02.06 bitrate=1407.9kbits/
frame=20045 fps=118 q=29.0 size=  114444kB time=00:11:06.69 bitrate=1406.2kbits/
frame=20188 fps=119 q=29.0 size=  115096kB time=00:11:11.47 bitrate=1404.2kbits/
frame=20346 fps=119 q=29.0 size=  115700kB time=00:11:16.74 bitrate=1400.6kbits/
frame=20482 fps=120 q=29.0 size=  116289kB time=00:11:21.28 bitrate=1398.3kbits/
frame=20628 fps=120 q=29.0 size=  116806kB time=00:11:26.15 bitrate=1394.6kbits/
frame=20753 fps=121 q=29.0 size=  117490kB time=00:11:30.32 bitrate=1394.2kbits/
frame=20881 fps=121 q=29.0 size=  118098kB time=00:11:34.59 bitrate=1392.8kbits/
frame=21007 fps=121 q=29.0 size=  118691kB time=00:11:38.79 bitrate=1391.4kbits/
frame=21134 fps=122 q=29.0 size=  119391kB time=00:11:43.03 bitrate=1391.2kbits/
frame=21257 fps=122 q=29.0 size=  119984kB time=00:11:47.13 bitrate=1390.0kbits/
frame=21377 fps=122 q=29.0 size=  120494kB time=00:11:51.14 bitrate=1388.0kbits/
frame=21495 fps=123 q=29.0 size=  121194kB time=00:11:55.08 bitrate=1388.4kbits/
frame=21620 fps=123 q=29.0 size=  121882kB time=00:11:59.25 bitrate=1388.2kbits/
frame=21754 fps=124 q=29.0 size=  122538kB time=00:12:03.72 bitrate=1387.0kbits/
frame=21883 fps=124 q=29.0 size=  123170kB time=00:12:08.02 bitrate=1385.9kbits/
}}}"	DJX
git-master	1541	flv hangs on ff_vp3_idct_add_neon on ARM Cortex-A8 with gstreamer	avcodec	git-master	defect	new	2012-07-17T17:11:46+02:00	2012-12-31T22:31:25+01:00	 a flv file hangs on  ff_vp3_idct_add_neon on beagleboard when tested on latest ffmpeg master branch	kaijun61
git-master	1898	configure --as broken	build system	git-master	defect	open	2012-11-07T23:44:15+01:00	2013-01-17T10:06:54+01:00	"http://thread.gmane.org/gmane.comp.video.ffmpeg.user/41511
$ ./configure --as=as
hangs forever, this is a regression since c6963a2 / a758c5e (not related to FreeBSD afaict)."	cehoyos
git-master	1970	ffserver ignores ffmpeg command line arguments	FFserver	git-master	defect	open	2012-11-26T22:44:47+01:00	2013-04-15T11:27:32+02:00	"I'm trying to transcode from mpegts to flv. In mpegts are 2 audio streams but I want to transcode just one, and igore the other.

http://pastebin.com/EMu5WS7Z


please notice, that there is 2 examples:
1. ffmpeg writes to file - audio stream mapping works great.
2. ffserver ignores audio stream specified by ffmpeg and transcodes first one, not specified.

The problem: ffserver ignores ffmpeg arguments! In this example it's obvious that ignores -map argument, but if I specify video filters - ffserver ignores as well."	importinis
git-master	2093	ffplay: crash when seeking with the mouse	avcodec	git-master	defect	new	2013-01-01T17:29:50+01:00	2013-02-23T18:45:21+01:00	"http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket2077/problem.rm

{{{
(gdb) r problem.rm
Starting program: d:\mingw\msys\1.0\ffmpeg-head-23fba3e\ffplay_g.exe problem.rm
[New Thread 1752.0x138]
[New Thread 1752.0xd70]
[New Thread 1752.0xc14]
[New Thread 1752.0xff8]
[New Thread 1752.0xfe8]
[New Thread 1752.0x224]
[New Thread 1752.0x718]
[New Thread 1752.0xf38]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1752.0x718]
0x005e149b in ff_MPV_frame_end (s=0x3fb4020) at libavcodec/mpegvideo.c:1371
1371        s->last_lambda_for [s->pict_type] = s->current_picture_ptr->f.quality;
(gdb) bt
#0  0x005e149b in ff_MPV_frame_end (s=0x3fb4020)
    at libavcodec/mpegvideo.c:1371
#1  0x0099602b in ff_rv34_decode_frame (avctx=0x3f977e0, data=0x4547960,
    got_picture_ptr=0xdedfd44, avpkt=0xdedfc58) at libavcodec/rv34.c:1656
#2  0x0052bc97 in avcodec_decode_video2 (avctx=0x3f977e0, picture=0x4547960,
    got_picture_ptr=0xdedfd44, avpkt=0xdedfcf8) at libavcodec/utils.c:1442
#3  0x004059a4 in get_video_frame (pkt=<optimized out>, pts=<optimized out>,
    frame=<optimized out>, is=<optimized out>) at ffplay.c:1497
#4  input_request_frame (link=0x3fe1e80) at ffplay.c:1675
#5  0x0040f051 in avfilter_request_frame (link=0x3fe1e80)
    at libavfilter/avfilter.c:549
#6  0x0040ce5f in av_buffersink_get_buffer_ref (ctx=0x3fcfc20,
    bufref=0xdedff14, flags=0) at libavfilter/sink_buffer.c:131
#7  0x0040212b in video_thread (arg=0x3e90040) at ffplay.c:1842
#8  0x681097ee in SDL_RunThread (data=0x45effc8)
    at ./src/thread/SDL_thread.c:204
#9  0x681327d3 in RunThread (data=0x449c158)
    at ./src/thread/win32/SDL_systhread.c:74
#10 RunThreadViaBeginThreadEx (data=0x449c158)
    at ./src/thread/win32/SDL_systhread.c:95
#11 0x77c2a3b0 in msvcrt!_endthreadex () from C:\WINDOWS\system32\msvcrt.dll
#12 0x7c80b729 in KERNEL32!GetModuleFileNameA ()
   from C:\WINDOWS\system32\kernel32.dll
#13 0x00000000 in ?? ()
(gdb)
}}}"	ami_stuff
git-master	2143	Desync for h264 transport stream	undetermined	git-master	defect	open	2013-01-16T01:09:11+01:00	2013-01-16T01:20:05+01:00	"http://thread.gmane.org/gmane.comp.video.ffmpeg.user/43173
The user provided a sample that plays fine with mplayer -demuxer mpegts, shows massive A/V desync with current ffmpeg, current ffplay and current mplayer -demuxer lavf.
For ffplay this is a regression since 01d4619 (can only be tested by merging 4dece8c, crashes without), for ffmpeg this is a regression since 0ff4f0c.
Until FFmpeg 0.10, -async 1 could be used as a work-around (the start of the output file contained dropouts but the rest of the output file played fine), this does not work since FFmpeg 0.11.
{{{
$ ffmpeg -i input.mpg -qscale 2 -t 30 out.avi
ffmpeg version N-48940-ge7a39e1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 16 2013 01:04:18 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 15.100 / 52. 15.100
  libavcodec     54. 89.100 / 54. 89.100
  libavformat    54. 60.101 / 54. 60.101
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[h264 @ 0x1dd1dc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1dd1dc0] non-existing PPS referenced
[h264 @ 0x1dd1dc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1dd1dc0] non-existing PPS 0 referenced
[h264 @ 0x1dd1dc0] decode_slice_header error
[h264 @ 0x1dd1dc0] no frame!
[h264 @ 0x1dd1dc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1dd1dc0] non-existing PPS referenced
[h264 @ 0x1dd1dc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1dd1dc0] non-existing PPS referenced
[h264 @ 0x1dd1dc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1dd1dc0] non-existing PPS 0 referenced
[h264 @ 0x1dd1dc0] decode_slice_header error
[h264 @ 0x1dd1dc0] no frame!
[h264 @ 0x1dd1dc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1dd1dc0] non-existing PPS 0 referenced
[h264 @ 0x1dd1dc0] decode_slice_header error
[h264 @ 0x1dd1dc0] no frame!

[...]

[h264 @ 0x1dd1dc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1dd1dc0] non-existing PPS referenced
[h264 @ 0x1dd1dc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1dd1dc0] non-existing PPS referenced
[h264 @ 0x1dd1dc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1dd1dc0] non-existing PPS 0 referenced
[h264 @ 0x1dd1dc0] decode_slice_header error
[h264 @ 0x1dd1dc0] no frame!
[h264 @ 0x1dd1dc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1dd1dc0] non-existing PPS 0 referenced
[h264 @ 0x1dd1dc0] decode_slice_header error
[h264 @ 0x1dd1dc0] no frame!
[h264 @ 0x1dd1dc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1dd1dc0] non-existing PPS referenced
[h264 @ 0x1dd1dc0] non-existing SPS 0 referenced in buffering period
[h264 @ 0x1dd1dc0] non-existing PPS 0 referenced
[h264 @ 0x1dd1dc0] decode_slice_header error
[h264 @ 0x1dd1dc0] no frame!
[h264 @ 0x1dd1dc0] mmco: unref short failure
    Last message repeated 3 times
Input #0, mpegts, from 'input.mpg':
  Duration: 00:00:30.90, start: 0.419044, bitrate: 12256 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (Main) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.60.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mpeg4)
  Stream #0:1 -> #0:1 (ac3 -> ac3)
Press [q] to stop, [?] for help
[h264 @ 0x2dcd660] Missing reference picture, default is 0
[h264 @ 0x2dcd660] decode_slice_header error
[h264 @ 0x2dcd660] mmco: unref short failure
    Last message repeated 1 times
frame=  753 fps= 76 q=2.0 Lsize=   79693kB time=00:00:30.03 bitrate=21739.9kbits/s
video:78937kB audio:704kB subtitle:0 global headers:0kB muxing overhead 0.066782%
}}}
"	cehoyos
git-master	2194	ffplay: iff ilbm output changes after seeking with the mouse	avformat	git-master	defect	open	2013-01-26T14:22:58+01:00	2013-02-09T18:43:14+01:00	"http://www.datafilehost.com/download-49e8cc93.html

{{{
ffplay ilbm24.iff
ffplay version 1.1.git-05340be Copyright (c) 2003-2013 the FFmpeg developers
  built on Jan 22 2013 04:21:12 with gcc 4.5.0 (GCC)
  libavutil      52. 15.100 / 52. 15.100
  libavcodec     54. 90.100 / 54. 90.100
  libavformat    54. 61.102 / 54. 61.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 33.100 /  3. 33.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[iff @ 0x110bdb60] Estimating duration from bitrate, this may be inaccurate
Input #0, iff, from 'ilbm24.iff':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: iff_ilbm (ILBM / 0x4D424C49), 0bgr, 1024x768, SAR 22:22 DAR 4:3, 90k tbr, 90k tbn, 90k tbc
Frame changed from size:0x0 to size:1024x768aq=    0KB vq=    0KB sq=    0B f=0/0   
29223372036854771712.00 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0   
Frame changed from size:1024x768 to size:1024x768  0KB vq=    0KB sq=    0B f=0/0   
29223372036854773760.00 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0   
   1.06 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0   
}}}"	ami_stuff
git-master	2325	MP4 AAC Audio is delayed by 2ms when converted to PCM	undetermined	git-master	defect	new	2013-03-05T03:07:14+01:00	2013-03-06T23:52:34+01:00	"Summary of the bug:

When using ffmpeg to convert an aac audio stream from an mp4 to pcm, the result is out of sync by about 2ms.  By adding -ss 00:00:00.02 after the input, then output is correctly aligned.

How to reproduce:
{{{
% ffmpeg -i test100.mp4 -c:a pcm_s16le test100_audio.wav
ffmpeg version 1.1.git
git revision: faa0068
built on Mar  4 2013 11:40:27
}}}"	brchapman
git-master	2363	Default mingw32 compilation is broken by atomic	avutil	git-master	defect	new	2013-03-14T20:35:11+01:00	2013-04-21T13:36:39+02:00	"By default, FFmpeg uses w32threads if available.
The addition of ""atomic"" broke the default compilation on mingw32 because it does not provide MemoryBarrier, work-around is to use --disable-w32threads or --enable-pthreads.
{{{
$ ./configure

...

$ grep W32THREADS config.h
#define HAVE_W32THREADS 1
$ make libavutil/atomic.o
CC      libavutil/atomic.o
libavutil/atomic.c:101:2: Fehler: #error ""Threading is enabled, but there is no implementation of atomic operations available""
common.mak:48: recipe for target 'libavutil/atomic.o' failed
make: *** [libavutil/atomic.o] Error 1
}}}
configure should at least abort if compilation cannot succeed."	cehoyos
git-master	2386	ffmpeg creates non-PS3 compatible DivX	avcodec	git-master	defect	open	2013-03-20T12:17:50+01:00	2013-04-22T17:07:27+02:00	"Summary of the bug:
Using the static win32 builds from zeranoe.com the DivX files created by the latest ffmpeg git version fail to play on PS3.

After testing old builds from zeranoe.com (see http://ffmpeg.zeranoe.com/builds/win32/static/) I have bisected the failure so that the build ffmpeg-git-b6ff81d-win32-static works ok (=PS3 can play the DivX) but ffmpeg-git-a4c22e3-win32-static and every build after that fail (=PS3 complains that the format is not supported).

Below are the commands I used with these two builds and as said only the former is playable with PS3. The notable change between the builds is libavutil update from 40.100 to 41.100.

How to reproduce:
{{{
> ./ffmpeg-git-b6ff81d-win32-static.exe -i test.avi -acodec libmp3lame -vcodec libxvid -level 5 -bf 2 -vtag XVID -map_metadata -1 out1.avi
ffmpeg version N-38148-gb6ff81d Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb 23 2012 12:26:05 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. 40.100 / 51. 40.100
  libavcodec     54.  4.100 / 54.  4.100
  libavformat    54.  1.100 / 54.  1.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 62.101 /  2. 62.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, avi, from 'test.avi':
  Metadata:
    encoder         : Lavf54.59.106
  Duration: 00:00:10.03, start: 0.000000, bitrate: 1227 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (DIVX / 0x58564944), yuv420p, 576x324 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 23.98 tbn, 2997 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 128 kb/s
[buffer @ 022EDAA0] w:576 h:324 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
Output #0, avi, to 'out1.avi':
  Metadata:
    ISFT            : Lavf54.1.100
    Stream #0:0: Video: mpeg4 (XVID / 0x44495658), yuv420p, 576x324 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> libxvid)
  Stream #0:1 -> #0:1 (mp3 -> libmp3lame)
Press [q] to stop, [?] for help
frame=   22 fps=  0 q=4.0 size=      30kB time=00:00:00.91 bitrate= 268.5kbits/sframe=   37 fps=  0 q=9.0 size=      72kB time=00:00:01.54 bitrate= 379.8kbits/sframe=   47 fps= 31 q=17.0 size=     105kB time=00:00:01.94 bitrate= 443.9kbits/frame=   56 fps= 27 q=22.0 size=     125kB time=00:00:02.32 bitrate= 439.9kbits/frame=   65 fps= 25 q=19.0 size=     142kB time=00:00:02.68 bitrate= 433.5kbits/frame=   73 fps= 23 q=13.0 size=     158kB time=00:00:03.04 bitrate= 424.8kbits/frame=   80 fps= 22 q=19.0 size=     184kB time=00:00:03.33 bitrate= 451.2kbits/frame=   90 fps= 22 q=26.0 size=     227kB time=00:00:03.74 bitrate= 495.6kbits/frame=  100 fps= 21 q=29.0 size=     263kB time=00:00:04.15 bitrate= 518.9kbits/frame=  110 fps= 21 q=31.0 size=     297kB time=00:00:04.58 bitrate= 529.9kbits/frame=  121 fps= 21 q=31.0 size=     331kB time=00:00:05.04 bitrate= 537.3kbits/frame=  131 fps= 21 q=31.0 size=     356kB time=00:00:05.44 bitrate= 535.1kbits/frame=  141 fps= 21 q=31.0 size=     381kB time=00:00:05.88 bitrate= 530.4kbits/frame=  151 fps= 21 q=31.0 size=     404kB time=00:00:06.28 bitrate= 526.6kbits/frame=  160 fps= 21 q=31.0 size=     430kB time=00:00:06.67 bitrate= 528.4kbits/frame=  168 fps= 20 q=31.0 size=     444kB time=00:00:06.98 bitrate= 520.7kbits/frame=  178 fps= 20 q=31.0 size=     467kB time=00:00:07.41 bitrate= 515.6kbits/frame=  187 fps= 20 q=31.0 size=     485kB time=00:00:07.79 bitrate= 509.5kbits/frame=  196 fps= 20 q=31.0 size=     504kB time=00:00:08.16 bitrate= 506.5kbits/frame=  206 fps= 20 q=31.0 size=     517kB time=00:00:08.56 bitrate= 494.8kbits/frame=  216 fps= 20 q=31.0 size=     536kB time=00:00:09.00 bitrate= 487.5kbits/frame=  226 fps= 20 q=31.0 size=     550kB time=00:00:09.40 bitrate= 479.3kbits/frame=  238 fps= 20 q=31.0 size=     568kB time=00:00:09.91 bitrate= 469.7kbits/frame=  240 fps= 20 q=31.0 Lsize=     582kB time=00:00:10.01 bitrate= 476.4kbits/s
video:400kB audio:157kB global headers:0kB muxing overhead 4.555188%
> ./ffmpeg-git-a4c22e3-win32-static.exe -i test.avi -acodec libmp3lame -vcodec libxvid -level 5 -bf 2 -vtag XVID -map_metadata -1 out2.avi
ffmpeg version N-38292-ga4c22e3 Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb 27 2012 14:50:39 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. 41.100 / 51. 41.100
  libavcodec     54.  4.100 / 54.  4.100
  libavformat    54.  1.100 / 54.  1.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 62.101 /  2. 62.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, avi, from 'test.avi':
  Metadata:
    encoder         : Lavf54.59.106
  Duration: 00:00:10.03, start: 0.000000, bitrate: 1227 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (DIVX / 0x58564944), yuv420p, 576x324 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 23.98 tbn, 2997 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 128 kb/s
[buffer @ 022FDAA0] w:576 h:324 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
Output #0, avi, to 'out2.avi':
  Metadata:
    ISFT            : Lavf54.1.100
    Stream #0:0: Video: mpeg4 (XVID / 0x44495658), yuv420p, 576x324 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> libxvid)
  Stream #0:1 -> #0:1 (mp3 -> libmp3lame)
Press [q] to stop, [?] for help
frame=   31 fps=  0 q=3.0 size=      39kB time=00:00:01.27 bitrate= 250.3kbits/sframe=   41 fps= 39 q=14.0 size=      84kB time=00:00:01.70 bitrate= 403.2kbits/frame=   50 fps= 31 q=23.0 size=     112kB time=00:00:02.06 bitrate= 442.6kbits/frame=   59 fps= 28 q=17.0 size=     127kB time=00:00:02.42 bitrate= 429.0kbits/frame=   67 fps= 26 q=18.0 size=     144kB time=00:00:02.78 bitrate= 424.8kbits/frame=   76 fps= 24 q=18.0 size=     167kB time=00:00:03.16 bitrate= 431.9kbits/frame=   85 fps= 23 q=20.0 size=     199kB time=00:00:03.52 bitrate= 461.5kbits/frame=   95 fps= 22 q=28.0 size=     244kB time=00:00:03.96 bitrate= 504.2kbits/frame=  105 fps= 22 q=30.0 size=     280kB time=00:00:04.36 bitrate= 524.9kbits/frame=  116 fps= 22 q=31.0 size=     315kB time=00:00:04.82 bitrate= 534.1kbits/frame=  127 fps= 21 q=31.0 size=     346kB time=00:00:05.28 bitrate= 536.3kbits/frame=  139 fps= 22 q=31.0 size=     374kB time=00:00:05.78 bitrate= 529.2kbits/frame=  148 fps= 21 q=31.0 size=     396kB time=00:00:06.16 bitrate= 526.6kbits/frame=  159 fps= 21 q=31.0 size=     423kB time=00:00:06.62 bitrate= 523.1kbits/frame=  166 fps= 21 q=31.0 size=     440kB time=00:00:06.91 bitrate= 521.6kbits/frame=  176 fps= 20 q=31.0 size=     461kB time=00:00:07.32 bitrate= 516.0kbits/frame=  186 fps= 20 q=31.0 size=     483kB time=00:00:07.75 bitrate= 509.9kbits/frame=  196 fps= 20 q=31.0 size=     503kB time=00:00:08.16 bitrate= 505.3kbits/frame=  206 fps= 20 q=31.0 size=     517kB time=00:00:08.56 bitrate= 494.8kbits/frame=  216 fps= 20 q=31.0 size=     535kB time=00:00:09.00 bitrate= 486.7kbits/frame=  226 fps= 20 q=31.0 size=     550kB time=00:00:09.40 bitrate= 479.3kbits/frame=  238 fps= 20 q=31.0 size=     568kB time=00:00:09.91 bitrate= 469.3kbits/frame=  240 fps= 20 q=31.0 Lsize=     582kB time=00:00:10.05 bitrate= 474.5kbits/s
video:400kB audio:157kB global headers:0kB muxing overhead 4.559397%
> 
}}}

It should be noted that the following still works with current git (=the output file is playable with PS3):

{{{
./ffmpeg-git-17c1881-win32-static.exe -i test.avi -acodec libmp3lame -vcodec mpeg4 -level 5 -bf 2 -vtag XVID -map_metadata -1 out3.avi
}}}"	someuser
git-master	2400	A/V desync for separate video and aac in mp4 input files	undetermined	git-master	defect	open	2013-03-25T02:13:27+01:00	2013-03-26T09:31:47+01:00	"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.

 
"	chinshou
git-master	2409	ffmpeg hangs while trying to play live FLV stream with Speex	undetermined	git-master	defect	new	2013-03-28T15:49:12+01:00	2013-03-31T19:56:00+02:00	"Summary of the bug:
When trying to play a live audio RTMP stream that uses the Speex codec, ffmpeg never starts playing until the stream is aborted at the source.

How to reproduce:
1. Set up a streaming server like Red5, Wowza, etc. with a simple ""live"" application that distributes streams.
2. Create an outgoing RTMP stream that streams the microphone:
{{{
ffmpeg -f alsa -i hw:0,0 -acodec libspeex -ab 42200 -ar 16000 -ac 1 -f flv 'rtmp://127.0.0.1:1935/live live=1'
}}}
3. Try to play back this stream:
{{{
ffmpeg -v verbose -i 'rtmp://127.0.0.1:1935/live live=1' -ac 2 -ar 44100 -f alsa plug:dmix
}}}
Nothing will happen until the ffmpeg instance from step 2 is killed, then all buffered audio will start playing.
[[BR]]
[[BR]]
When using the 'nellymoser' codec instead in step 2, the stream will start playing (after a while):
{{{
ffmpeg -f alsa -i hw:0,0 -acodec nellymoser -ar 22050 -ac 1 -f flv 'rtmp://127.0.0.1:1935/live live=1
}}}

Tested with current Git snapshot from git://source.ffmpeg.org/ffmpeg.git:
{{{
ffmpeg version 1.1.git-acaee26 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 28 2013 15:08:58 with gcc 4.4.5 (Debian 4.4.5-8)
}}}

Most ironic is that one of the reasons why we currently use Speex, is that older versions of ffmpeg used to freeze on NellyMoser streams, and not on Speex. Now it is exactly the other way round."	DrLex
git-master	2421	DTS/PTS problems when trying to obtain synced video and audio files	undetermined	git-master	defect	new	2013-03-31T16:09:33+02:00	2013-04-05T17:23:19+02:00	"Summary of the bug:

Bug has been obviously introduced by commit 
e42028925bddfdfe46dcd2b7312148379ef4d62e

(previous commit, 394130efe32f85c1f0582094add4376e32ebf20c, is doing just fine)
Which is not surprising, since this commit is exactly about first_pts.

while encoding, ffmpeg is complaining about pts/dts. And audio file contains blank. After a while, it's apparently working normaly again ; but video and audio are totaly unsynchronized.


How to reproduce:
{{{
% ffmpeg -i bugreport.ts -vsync 1 out.yuv -async 480 -f s16le out.raw
ffmpeg version : git commit e42028925bddfdfe46dcd2b7312148379ef4d62e (and all git versions since that, including the last one)
built on arch linux, 64bits
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker."	chlg
git-master	2422	Compilation with OpenCL fails when w32threads or os2threads are enabled	avutil	git-master	defect	new	2013-04-02T08:39:51+02:00	2013-04-17T14:00:52+02:00	"Mingw32-w64 example:

{{{
$ ./configure --enable-opencl

[...]

$ grep 'THREADS' config.mak
!HAVE_PTHREADS=yes
HAVE_W32THREADS=yes
!HAVE_OS2THREADS=yes
HAVE_THREADS=yes

$ grep 'OPENCL' config.mak
CONFIG_OPENCL=yes

$ make

[...]

CC      libavutil/opencl.o
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c: In function 'av_opencl_register_kernel_code':
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:188:5: error: 'LOCK_OPENCL' undeclared (first use in this function)
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:188:5: note: each undeclared identifier is reported only once for each function it appears in
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:206:5: error: 'UNLOCK_OPENCL' undeclared (first use in this function)
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c: In function 'av_opencl_create_kernel':
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:214:5: error: 'LOCK_OPENCL' undeclared (first use in this function)
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:243:5: error: 'UNLOCK_OPENCL' undeclared (first use in this function)
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c: In function 'av_opencl_release_kernel':
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:250:5: error: 'LOCK_OPENCL' undeclared (first use in this function)
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:251:5: error: expected ';' before 'if'
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:263:5: error: 'UNLOCK_OPENCL' undeclared (first use in this function)
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:264:1: error: expected ';' before '}' token
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:262:1: warning: label 'end' defined but not used [-Wunused-label]
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c: In function 'av_opencl_init':
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:516:5: error: 'LOCK_OPENCL' undeclared (first use in this function)
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:517:5: error: expected ';' before 'if'
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:545:5: error: 'UNLOCK_OPENCL' undeclared (first use in this function)
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:546:5: error: expected ';' before 'return'
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:515:24: warning: unused variable 'opt_device_entry' [-Wunused-variable]
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:514:24: warning: unused variable 'opt_platform_entry' [-Wunused-variable]
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c: In function 'av_opencl_uninit':
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:553:5: error: unknown type name'LOCK_OPENCL'
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:554:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:587:5: error: 'UNLOCK_OPENCL' undeclared (first use in this function)
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:588:1: error: expected ';' before '}' token
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c: At top level:
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:266:12: warning: 'init_opencl_env' defined but not used [-Wunused-function]
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c: In function 'av_opencl_init':
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:547:1: error: control reaches end of non-void function [-Werror=return-type]
cc1.exe: some warnings being treated as errors
make: *** [libavutil/opencl.o] Error 1
}}}

LOCK_OPENCL and UNLOCK_OPENCL are only defined when compiling with pthreads, or no threading at all.

I sent an email to ffmpeg-devel with a possible way to deal with this, but I'm opening a ticket anyway to keep track of this problem."	jamal
git-master	2425	[regression] Smacker audio played with clicks	avcodec	git-master	defect	open	2013-04-02T21:51:52+02:00	2013-04-02T23:45:21+02:00	"You can clearly hear audio clicks when playing some smk files by mplayer/ffplay

The bug was introduced by ffmpeg commit 375ca0aca81be2951d9ba4731196e70e490d3cdf
It was a little bit ""fixed"" later by commit 12cbbbb4abda2de0ea123282ccf7ebee61517f7d
but clicks are still there.

Sample file (20130402_vc-error_sound-clicks.smk) is ~12MB,
so it was uploaded to ftp://upload.ffmpeg.org/
Noticeable clicks are near 20-27 seconds of this sample."	Sergey
git-master	2428	ffplay crashes on weird file	undetermined	git-master	defect	new	2013-04-02T22:51:38+02:00	2013-04-14T11:19:23+02:00	"With the sample from ticket #2424:
http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket2424/
{{{
(gdb) r aspect_bug.mkv
Starting program: ffplay_g aspect_bug.mkv
[Thread debugging using libthread_db enabled]
Using host libthread_db library ""/lib64/libthread_db.so.1"".
ffplay version N-51524-gccc2537 Copyright (c) 2003-2013 the FFmpeg developers
  built on Apr  2 2013 22:48:41 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 24.100 / 52. 24.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  1.100 / 55.  1.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 48.105 /  3. 48.105
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[New Thread 0x7ffff677a700 (LWP 24919)]
[New Thread 0x7ffff4d7d700 (LWP 24920)]
[New Thread 0x7ffff447b700 (LWP 24921)]
Input #0, matroska,webm, from 'aspect_bug.mkv':KB sq=    0B f=0/0
  Duration: 00:01:00.06, start: 0.000000, bitrate: 4395 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x536 [SAR 1:1 DAR 160:67], SAR 67:3 DAR 160:3, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(ger): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 768 kb/s
    Metadata:
      title           : DTS
    Stream #0:2(ger): Subtitle: subrip
    Metadata:
      title           : Forced
[New Thread 0x7ffff3afd700 (LWP 24922)]
[New Thread 0x7ffff32fc700 (LWP 24923)]
[New Thread 0x7ffff2afb700 (LWP 24924)]
[New Thread 0x7ffff22fa700 (LWP 24925)]
[New Thread 0x7ffff1af9700 (LWP 24926)]
[New Thread 0x7ffff12f8700 (LWP 24927)]
[New Thread 0x7ffff0af7700 (LWP 24928)]
[New Thread 0x7fffebfff700 (LWP 24929)]
[New Thread 0x7fffeb7fe700 (LWP 24930)]
[New Thread 0x7fffeaffd700 (LWP 24931)]
[New Thread 0x7fffea7fc700 (LWP 24932)]
[New Thread 0x7fffe9ffb700 (LWP 24933)]
   0.10 A-V: -0.026 fd=   0 aq= 3140KB vq=12237KB sq=    0B f=0/0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffea7fc700 (LWP 24932)]
0x00007ffff69f8249 in _int_free () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff69f8249 in _int_free () from /lib64/libc.so.6
#1  0x0000000000bbf50c in av_free (ptr=<optimized out>) at libavutil/mem.c:194
#2  av_freep (arg=arg@entry=0x7fffe4000a90) at libavutil/mem.c:201
#3  0x0000000000bb37fe in av_buffer_unref (buf=buf@entry=0x7fffe4000a90)
    at libavutil/buffer.c:112
#4  0x0000000000bb9945 in av_frame_unref (frame=0x7fffe40008c0) at libavutil/frame.c:342
#5  0x000000000045711c in video_thread (arg=0x7ffff447c040) at ffplay.c:1982
#6  0x00007ffff7875e96 in ?? () from /usr/lib64/libSDL-1.2.so.0
#7  0x00007ffff78b8cd9 in ?? () from /usr/lib64/libSDL-1.2.so.0
#8  0x00007ffff764fe0e in start_thread () from /lib64/libpthread.so.0
#9  0x00007ffff6a632cd in clone () from /lib64/libc.so.6
}}}
The crash is a regression since 32fdfdf
(valgrind claims a crash in sdl)"	cehoyos
git-master	2441	Program detection in transport stream broken, part 2	avformat	git-master	defect	new	2013-04-06T19:02:20+02:00	2013-05-10T00:08:14+02:00	"FFmpeg detects an audio channel that is not part of a program, regression since 4c41fc8.
I will attach the sample from nevcairiel that was announced in ticket #2186
{{{
$ ffmpeg -i Pirunpelto_cut.ts
ffmpeg version N-51647-g1177416 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr  6 2013 18:24:24 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 25.100 / 52. 25.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  1.100 / 55.  1.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 49.100 /  3. 49.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpeg2video @ 0x341e5a0] Invalid frame dimensions 0x0.
    Last message repeated 4 times
[mpegts @ 0x3419a20] max_analyze_duration 5000000 reached at 5000000 microseconds
[mpegts @ 0x3419a20] PES packet size mismatch
    Last message repeated 1 times
Input #0, mpegts, from 'Pirunpelto_cut.ts':
  Duration: 00:00:06.92, start: 20359.308500, bitrate: 2959 kb/s
  Program 1
    Stream #0:1[0x45]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:2[0x46](fin): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:3[0x47](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 224 kb/s
  No Program
    Stream #0:0[0x44](fin): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 224 kb/s
At least one output file must be specified
}}}"	cehoyos
git-master	2444	memory corruption/core dump using alpha overlay in current git ffmpeg	avfilter	git-master	defect	open	2013-04-07T08:50:58+02:00	2013-04-07T15:34:21+02:00	"Although the same command was working with an earlier ffmpeg (864fdfa0627e21ee0b69e957c3413114185623a7), after updating ffmpeg to the latest git head (1fabd950355849fe8df77226e5f048cd6bdcfb6a) memory corruption and a core dump are encountered using some combinations of video filters.

This is on Mac OS X 10.6.8:
{{{
$ ffmpeg -i lik.mp4 -r 15 -loop 1 -i lik.jpeg -filter_complex '[1] format=rgba,fade=out:15:15:alpha=1 [C]; [0] setsar=1,yadif,mp=eq2=1.1 [P]; [P][C] overlay [V]' -map '[V]' -y out.mp4
ffmpeg version 1.1.git-1fabd95 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr  6 2013 18:53:57 with gcc 4.2.1 (GCC) (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libass --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/gcc-4.2 --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-nonfree --enable-libfdk-aac --enable-libfaac
  libavutil      52. 25.100 / 52. 25.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  1.100 / 55.  1.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 49.100 /  3. 49.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 'lik.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.1.100
  Duration: 00:00:06.07, start: 0.000000, bitrate: 59 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 180x180 [SAR 1:1 DAR 1:1], 57 kb/s, 15 fps, 15 tbr, 50k tbn, 30 tbc
    Metadata:
      handler_name    : VideoHandler
[image2 @ 0x102847600] max_analyze_duration 5000000 reached at 5000000 microseconds
Input #1, image2, from 'lik.jpeg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #1:0: Video: mjpeg, yuvj420p, 180x180 [SAR 1:1 DAR 1:1], 25 fps, 25 tbr, 25 tbn, 25 tbc
[Parsed_mp_4 @ 0x102023c60] 'eq2' is a wrapped MPlayer filter (libmpcodecs). This filter may be removed
once it has been ported to a native libavfilter.
[libx264 @ 0x1028bbc00] using SAR=1/1
[libx264 @ 0x1028bbc00] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0x1028bbc00] profile High, level 1.1
[libx264 @ 0x1028bbc00] 264 - core 129 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'out.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.1.100
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 180x180 [SAR 1:1 DAR 1:1], q=-1--1, 50k tbn, 15 tbc
Stream mapping:
  Stream #0:0 (h264) -> setsar
  Stream #1:0 (mjpeg) -> format
  overlay -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
ffmpeg(43912,0x7fff705a3cc0) malloc: *** error for object 0x105810e08: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Abort trap (core dumped)
$ 
}}}"	MarkZV
git-master	2448	Compilation with OpenCL fails when threading is disabled	avutil	git-master	defect	new	2013-04-08T10:25:29+02:00	2013-04-08T10:25:29+02:00	"{{{
$ ./configure --enable-opencl --disable-pthreads --disable-w32threads --disable-os2threads

[...]

$ grep 'THREADS' config.mak
!HAVE_PTHREADS=yes
!HAVE_W32THREADS=yes
!HAVE_OS2THREADS=yes
!HAVE_THREADS=yes

$ grep 'OPENCL' config.mak
CONFIG_OPENCL=yes

$ make

[...]

CC      libavutil/opencl.o
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c: In function 'av_opencl_release_kernel':
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:270:1: error: label at end of compound statement
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c: In function 'av_opencl_uninit':
D:/MinGW/msys/1.0/ffmpeg/src/libavutil/opencl.c:599:1: error: label at end of compound statement
make: *** [libavutil/opencl.o] Error 1
}}}

UNLOCK_OPENCL is the only line after the ""end:"" label in those two functions, and it's empty when compiling with no threads."	jamal
git-master	2450	Xorg resource leakage	avdevice	git-master	defect	open	2013-04-08T18:35:52+02:00	2013-04-09T11:09:19+02:00	"Summary of the bug:

ffmpeg increases virtual memory of Xorg server.

How to reproduce:
{{{
Operating system: CentOS release 6.2 (Final)
ffmpeg releases: 1.1.4, 1.2
configuration: --disable-yasm --enable-gpl --enable-x11grab --enable-version3 --enable-libvo-aacenc

Run
% ffmpeg -f x11grab -s cif -r 25 -i :0.0 /tmp/out.mpg

and monitor X11 client resources by
% xrestop

You will find an <unknown> client constantly increasing X11 server memory.
Batch usage of xrestop indicates leak in category ""cursors"". 
(Maybe ticket #1738 introduced it?)

Bug does _not_ appear for releases 0.11.3 and 1.0.6!
}}}"	raimund
git-master	2461	VAAPI mpeg2 decoding crashes	avcodec	git-master	defect	open	2013-04-12T12:03:46+02:00	2013-05-07T23:40:15+02:00	"Starting somewhere between ffmpeg-1.1.4 and ffmpeg-1.2 something happend with the vaapi code in ffmpeg that's causing crashes when decoding mpeg2.

I'm not 100% sure if only mpeg2 is affected, and i'm also not sure what might be causing this. It Looks like vaapi is not properly initialized, as the pic param buffer is missing.

A possible backtrace looks like this: http://bpaste.net/show/rFq5TRFGCp4sh1eYvjnS/
This one is from a vlc git master build. The same happens in XBMC. Both using latest master ffmpeg/libavcodec."	BtbN
git-master	2497	ALAC encoder produces invalid output / is not lossless	avcodec	git-master	defect	open	2013-04-24T07:27:16+02:00	2013-04-26T18:48:11+02:00	"Hi,

I have a particular WAV file that, when converted to ALAC, contains a short burst of noise not present in the original WAV. This is clearly audible, and also clearly visible when comparing the original WAV to the ALAC in a tool like Audacity. The burst of noise is between the 1:14 and 1:15 mark.

I've reproduced this using ffmpeg from git compiled earlier today. The command line was as follows:

ffmpeg -y -i alac_encoding_error_white_noise_burst.wav -acodec alac -f ipod out.m4a

Output was as follows:

{{{
ffmpeg version N-52419-gdfdee6c Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 24 2013 09:52:56 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
  configuration: 
  libavutil      52. 27.100 / 52. 27.100
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 60.101 /  3. 60.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
[wav @ 0x27b07c0] max_analyze_duration 5000000 reached at 5015510 microseconds
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, wav, from 'alac_encoding_error_white_noise_burst.wav':
  Duration: 00:05:46.91, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
Output #0, ipod, to 'out.m4a':
  Metadata:
    encoder         : Lavf55.3.100
    Stream #0:0: Audio: alac (alac / 0x63616C61), 44100 Hz, stereo, s16p, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le -> alac)
Press [q] to stop, [?] for help
size=   51784kB time=00:05:46.99 bitrate=1222.5kbits/s    
video:0kB audio:51768kB subtitle:0 global headers:0kB muxing overhead 0.030579%
}}}

I can supply the WAV file, but it's copyright belongs to the user that uploaded it to our service, so I wouldn't feel comfortable uploading it to datafilehost.com unless I can supply the link to the relevant developer privately.

I did try to upload it to the FTP server, but had no luck there (there was no ""incoming"" directory, and I got a permission denied error trying to upload to the root directory).
"	pneuman
git-master	2507	Heavy desync with ffplay for a mpeg4-ogg sample	undetermined	git-master	defect	new	2013-04-28T14:26:57+02:00	2013-04-28T14:28:46+02:00	"(Sample from videolan ticket 8486)
A vlc user provided a sample that plays fine with MPlayer (and totem), can be transcoded with ffmpeg (see ticket #2506), but plays with heavy A/V desync with ffplay since d148339
With older ffplay versions, many frames are dropped (but the sample plays mostly in-sync).
{{{
$ ffplay File\ 50MB\ DG\ Split\ 206\ Video\ Issue.ogm
ffplay version N-52542-g5149407 Copyright (c) 2003-2013 the FFmpeg developers
  built on Apr 28 2013 14:19:06 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 27.101 / 52. 27.101
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 61.101 /  3. 61.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, ogg, from 'File 50MB DG Split 206 Video Issue.ogm':=0/0
  Duration: 00:04:41.11, start: 0.000000, bitrate: 1492 kb/s
    Stream #0:0: Video: mpeg4 (XVID / 0x44495658), yuv420p, 576x432, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1(English): Audio: vorbis, 48000 Hz, stereo, fltp, 89 kb/s
    Stream #0:2(Japanese): Audio: vorbis, 48000 Hz, stereo, fltp, 89 kb/s
    Stream #0:3(English): Subtitle: text
  48.34 A-V: 23.441 fd=  32 aq= 1348KB vq=14012KB sq=    0B f=0/144
}}}"	cehoyos
git-master	2508	Heavy stutter with matroska	avformat	git-master	defect	new	2013-04-28T15:08:28+02:00	2013-04-28T15:09:35+02:00	"(Sample from videolan ticket 8512)
I will upload a sample from a vlc bug report that plays very badly with ffplay since 98a7d56
Transcoding with ffmpeg works fine, prints many ""DTS invalid, clipping"" messages.
{{{
$ ffplay S09E01.\ Smallville\ -\ Savior\ -\ no\ audio\ sample.mkv
ffplay version N-52542-g5149407 Copyright (c) 2003-2013 the FFmpeg developers
  built on Apr 28 2013 15:07:24 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 27.101 / 52. 27.101
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 61.101 /  3. 61.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from 'S09E01. Smallville - Savior - no audio sample.mkv':
  Metadata:
    creation_time   : 2011-09-05 18:12:12
  Duration: 00:42:15.30, start: 0.000000, bitrate: 49 kb/s
    Chapter #0.0: start 0.000000, end 427.135033
    Metadata:
      title           : Chapter 1
    Chapter #0.1: start 427.135033, end 790.456333
    Metadata:
      title           : Chapter 2
    Chapter #0.2: start 790.456333, end 1185.100578
    Metadata:
      title           : Chapter 3
    Chapter #0.3: start 1185.100578, end 1771.644867
    Metadata:
      title           : Chapter 4
    Chapter #0.4: start 1771.644867, end 2229.644078
    Metadata:
      title           : Chapter 5
    Chapter #0.5: start 2229.644078, end 2502.875367
    Metadata:
      title           : Chapter 6
    Chapter #0.6: start 2502.875367, end 2535.296000
    Metadata:
      title           : Chapter 7
    Stream #0:0(eng): Video: h264 (High), yuv420p, 720x480 [SAR 32:27 DAR 16:9], SAR 186:157 DAR 279:157, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 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)
    Metadata:
      title           : English
[matroska,webm @ 0x7f977c000920] Read error2070KB sq=    0B f=0/0
  14.59 A-V: -0.921 fd=  71 aq= 2669KB vq= 9764KB sq=    0B f=0/0
}}}"	cehoyos
git-master	2510	Some jpeg2000 files cannot be decoded anymore by default	avcodec	git-master	defect	open	2013-04-29T12:38:02+02:00	2013-05-06T11:40:24+02:00	"{{{$ ffmpeg -i tests/lena.pnm -vcodec libopenjpeg outlibopenjpeg.j2c}}}
{{{$ ffmpeg -i tests/lena.pnm -vcodec j2k -strict -2 outj2k.j2c}}}
Both files can be decoded with libopenjpeg and the ""experimental"" j2k decoder (and jasper), but not with the default decoder:
{{{
$ ffmpeg -i outlibopenjpeg.j2c out.jpg
ffmpeg version N-52554-gb691bc4 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 29 2013 12:14:54 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack --enable-libopenjpeg
  libavutil      52. 27.101 / 52. 27.101
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 61.101 /  3. 61.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[jpeg2000 @ 0x24a56c0] SOD marker not found
[jpeg2000 @ 0x24a56c0] error during processing marker segment ff90
Input #0, image2, from 'outlibopenjpeg.j2c':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0), rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.jpg':
  Metadata:
    encoder         : Lavf55.3.100
    Stream #0:0: Video: mjpeg, yuvj444p, 256x256, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (jpeg2000 -> mjpeg)
Press [q] to stop, [?] for help
[jpeg2000 @ 0x26077e0] SOD marker not found
[jpeg2000 @ 0x26077e0] error during processing marker segment ff90
frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
}}}
{{{
$ ffmpeg -i outj2k.j2c out.jpg
ffmpeg version N-52554-gb691bc4 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 29 2013 12:14:54 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack --enable-libopenjpeg
  libavutil      52. 27.101 / 52. 27.101
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 61.101 /  3. 61.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, image2, from 'outj2k.j2c':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0), rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.jpg':
  Metadata:
    encoder         : Lavf55.3.100
    Stream #0:0: Video: mjpeg, yuvj444p, 256x256, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (jpeg2000 -> mjpeg)
Press [q] to stop, [?] for help
frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
}}}
{{{
$ ffmpeg -vcodec libopenjpeg -i outlibopenjpeg.j2c out.jpg
ffmpeg version N-52554-gb691bc4 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 29 2013 12:14:54 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack --enable-libopenjpeg
  libavutil      52. 27.101 / 52. 27.101
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 61.101 /  3. 61.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[jpeg2000 @ 0x2c0f700] SOD marker not found
[jpeg2000 @ 0x2c0f700] error during processing marker segment ff90
Input #0, image2, from 'outlibopenjpeg.j2c':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0), rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.jpg':
  Metadata:
    encoder         : Lavf55.3.100
    Stream #0:0: Video: mjpeg, yuvj444p, 256x256, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (libopenjpeg -> mjpeg)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:16kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.134138%
}}}
{{{
$ ffmpeg -vcodec libopenjpeg -i outj2k.j2c out.jpg
ffmpeg version N-52554-gb691bc4 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 29 2013 12:14:54 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack --enable-libopenjpeg
  libavutil      52. 27.101 / 52. 27.101
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 61.101 /  3. 61.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, image2, from 'outj2k.j2c':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0), rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.jpg':
  Metadata:
    encoder         : Lavf55.3.100
    Stream #0:0: Video: mjpeg, yuvj444p, 256x256, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (libopenjpeg -> mjpeg)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:16kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.133245%
}}}
{{{
$ ffmpeg -vcodec j2k -strict -2 -i outlibopenjpeg.j2c out.jpg
ffmpeg version N-52554-gb691bc4 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 29 2013 12:14:54 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack --enable-libopenjpeg
  libavutil      52. 27.101 / 52. 27.101
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 61.101 /  3. 61.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[jpeg2000 @ 0x34be8c0] SOD marker not found
[jpeg2000 @ 0x34be8c0] error during processing marker segment ff90
Input #0, image2, from 'outlibopenjpeg.j2c':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0), rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.jpg':
  Metadata:
    encoder         : Lavf55.3.100
    Stream #0:0: Video: mjpeg, yuvj444p, 256x256, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (j2k -> mjpeg)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:16kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.130247%
}}}
{{{
$ ffmpeg -vcodec j2k -strict -2 -i outj2k.j2c out.jpg
ffmpeg version N-52554-gb691bc4 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 29 2013 12:14:54 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack --enable-libopenjpeg
  libavutil      52. 27.101 / 52. 27.101
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 61.101 /  3. 61.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, image2, from 'outj2k.j2c':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0), rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.jpg':
  Metadata:
    encoder         : Lavf55.3.100
    Stream #0:0: Video: mjpeg, yuvj444p, 256x256, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (j2k -> mjpeg)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:17kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.130062%
}}}"	cehoyos
git-master	2516	pgssub produce warnings and are blinking	undetermined	git-master	defect	new	2013-04-30T11:36:54+02:00	2013-04-30T11:36:54+02:00	"(Sample from videolan ticket 8521)
Original sample: http://streams.videolan.org/issues/TS/kagero.ts
The sample contains three subtitle streams, they play fine with the following MPlayer commands:
{{{$ mplayer kagero.ts -sid 4608}}}
{{{$ mplayer kagero.ts -sid 4609}}}
{{{$ mplayer kagero.ts -sid 4610}}}
The following commands show many warnings, but the subtitles also play fine:
{{{$ mplayer kagero.ts -demuxer lavf -sid 0}}}
{{{$ mplayer kagero.ts -demuxer lavf -sid 1}}}
{{{$ mplayer kagero.ts -demuxer lavf -sid 2}}}

The same warnings are shown with ffmpeg (and ffplay), additionally, the subtitles are shown with heavy blinking:
{{{
$ ffmpeg -analyzeduration 21M -probesize 11M -i kagero.ts -filter_complex [#0x1011][#0x1200]overlay -qscale 2 out.avi
ffmpeg version N-52577-g2609434 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 30 2013 11:10:11 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 27.101 / 52. 27.101
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 61.101 /  3. 61.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55822799, dts=55822820, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=3, pts=55822794, dts=55822820, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=4, pts=55822775, dts=55822820, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55834811, dts=55834832, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=3, pts=55834806, dts=55834832, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=4, pts=55834787, dts=55834832, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=4, pts=55846799, dts=55846844, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=3, pts=55846818, dts=55846844, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55846822, dts=55846844, size=13
Input #0, mpegts, from 'kagero.ts':
  Duration: 00:03:34.82, start: 600.000000, bitrate: 7583 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 128 kb/s
    Stream #0:2[0x1200](chi): Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:3[0x1201](jpn): Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:4[0x1202]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf55.3.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 192 kb/s
Stream mapping:
  Stream #0:0 (mpeg2video) -> overlay:main (graph 0)
  Stream #0:2 (pgssub) -> overlay:overlay (graph 0)
  overlay (graph 0) -> Stream #0:0 (mpeg4)
  Stream #0:1 -> #0:1 (ac3 -> ac3)
Press [q] to stop, [?] for help
Invalid timestamps stream=2, pts=55822799, dts=55822820, size=13te=4410.4kbits/s
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55834811, dts=55834832, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55846822, dts=55846844, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55855831, dts=55855853, size=13
Invalid timestamps stream=2, pts=55867843, dts=55867865, size=13te=4186.9kbits/s dup=0 drop=1
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55879855, dts=55879877, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55891867, dts=55891889, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55900876, dts=55900898, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55912888, dts=55912910, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55924900, dts=55924922, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55936912, dts=55936934, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55945921, dts=55945943, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55957933, dts=55957955, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55969945, dts=55969967, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55981957, dts=55981979, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=55990966, dts=55990988, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=56002978, dts=56003000, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=56014990, dts=56015012, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=56027002, dts=56027024, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=56036011, dts=56036033, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=56048023, dts=56048045, size=13
Invalid timestamps stream=2, pts=56060035, dts=56060057, size=13te=4077.8kbits/s dup=0 drop=5
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=56072047, dts=56072069, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=56081056, dts=56081078, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=56093068, dts=56093090, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=56105080, dts=56105102, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=56117092, dts=56117114, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=56126101, dts=56126123, size=13
[mpegts @ 0x1de8a60] Invalid timestamps stream=2, pts=56138113, dts=56138135, size=13
frame=  707 fps=188 q=2.0 Lsize=   12003kB time=00:00:24.16 bitrate=4070.0kbits/s dup=0 drop=6
video:11400kB audio:559kB subtitle:0 global headers:0kB muxing overhead 0.374166%
}}}
{{{
$ ffplay -analyzeduration 21M -probesize 11M kagero.ts
ffplay version N-52577-g2609434 Copyright (c) 2003-2013 the FFmpeg developers
  built on Apr 30 2013 11:10:11 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 27.101 / 52. 27.101
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 61.101 /  3. 61.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[mpegts @ 0x7f997c000920] Invalid timestamps stream=2, pts=55822799, dts=55822820, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=3, pts=55822794, dts=55822820, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55822775, dts=55822820, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=2, pts=55834811, dts=55834832, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=3, pts=55834806, dts=55834832, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55834787, dts=55834832, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55846799, dts=55846844, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=3, pts=55846818, dts=55846844, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=2, pts=55846822, dts=55846844, size=13
Input #0, mpegts, from 'kagero.ts':
  Duration: 00:03:34.82, start: 600.000000, bitrate: 7583 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 128 kb/s
    Stream #0:2[0x1200](chi): Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:3[0x1201](jpn): Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:4[0x1202]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55822775, dts=55822820, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55834787, dts=55834832, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55846799, dts=55846844, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55855808, dts=55855853, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55867820, dts=55867865, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55879832, dts=55879877, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55891844, dts=55891889, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55900853, dts=55900898, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55912865, dts=55912910, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55924877, dts=55924922, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55936889, dts=55936934, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55945898, dts=55945943, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55957910, dts=55957955, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55969922, dts=55969967, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55981934, dts=55981979, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=55990943, dts=55990988, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=56002955, dts=56003000, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=56014967, dts=56015012, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=56026979, dts=56027024, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=56035988, dts=56036033, size=13
[mpegts @ 0x7f997c000920] Invalid timestamps stream=4, pts=56048000, dts=56048045, size=13
 622.56 A-V:  0.002 fd=   0 aq=    5KB vq=  131KB sq=538447B f=0/0
}}}
The subtitles played fine with ffplay 0.6, regression since 931856a"	cehoyos
git-master	2536	qt raw 2/4bpp regression	avcodec	git-master	defect	open	2013-05-06T01:13:28+02:00	2013-05-13T16:28:49+02:00	"Ticket #823 is reproducible again for some samples, reported by ami_stuff:
The 2bit and 4bit samples from ticket #823 are broken since 6184fa2, I will attach a PoC to show that this may not be related to the rawvideo decoder.
{{{
$ ffmpeg -i 2bpp_129.mov out2.avi
ffmpeg version N-52792-g7c23922 Copyright (c) 2000-2013 the FFmpeg developers
  built on May  6 2013 01:09:09 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 29.100 / 52. 29.100
  libavcodec     55.  7.100 / 55.  7.100
  libavformat    55.  4.101 / 55.  4.101
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 63.101 /  3. 63.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2bpp_129.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-12-23 23:19:30
  Duration: 00:00:05.96, start: 0.000000, bitrate: 671 kb/s
    Stream #0:0(eng): Video: rawvideo (raw  / 0x20776172), pal8, 129x97, 670 kb/s, 24 fps, 24 tbr, 600 tbn, 600 tbc
    Metadata:
      creation_time   : 2011-12-23 23:19:30
      handler_name    : Procedura obs�ugi skr�t�w danych Apple
[mpeg4 @ 0x342c540] too many threads/slices (8), reducing to 7
Output #0, avi, to 'out2.avi':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    ISFT            : Lavf55.4.101
    Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 129x97, q=2-31, 200 kb/s, 24 tbn, 24 tbc
    Metadata:
      creation_time   : 2011-12-23 23:19:30
      handler_name    : Procedura obs�ugi skr�t�w danych Apple
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> mpeg4)
Press [q] to stop, [?] for help
[swscaler @ 0x34066a0] Warning: data is not aligned! This can lead to a speedloss
frame=  143 fps=0.0 q=31.0 Lsize=     284kB time=00:00:05.95 bitrate= 390.9kbits/s
video:275kB audio:0kB subtitle:0 global headers:0kB muxing overhead 3.258414%
}}}
{{{
$ ffmpeg -i 4bpp_129.mov out4.avi
ffmpeg version N-52792-g7c23922 Copyright (c) 2000-2013 the FFmpeg developers
  built on May  6 2013 01:09:09 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 29.100 / 52. 29.100
  libavcodec     55.  7.100 / 55.  7.100
  libavformat    55.  4.101 / 55.  4.101
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 63.101 /  3. 63.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '4bpp_129.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-12-23 23:19:54
  Duration: 00:00:05.96, start: 0.000000, bitrate: 1267 kb/s
    Stream #0:0(eng): Video: rawvideo (raw  / 0x20776172), pal8, 129x97, 1266 kb/s, 24 fps, 24 tbr, 600 tbn, 600 tbc
    Metadata:
      creation_time   : 2011-12-23 23:19:54
      handler_name    : Procedura obs�ugi skr�t�w danych Apple
[mpeg4 @ 0x2da22a0] too many threads/slices (8), reducing to 7
Output #0, avi, to 'out4.avi':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    ISFT            : Lavf55.4.101
    Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 129x97, q=2-31, 200 kb/s, 24 tbn, 24 tbc
    Metadata:
      creation_time   : 2011-12-23 23:19:54
      handler_name    : Procedura obs�ugi skr�t�w danych Apple
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> mpeg4)
Press [q] to stop, [?] for help
[swscaler @ 0x2d7c6c0] Warning: data is not aligned! This can lead to a speedloss
frame=  143 fps=0.0 q=23.4 Lsize=     252kB time=00:00:05.95 bitrate= 347.1kbits/s
video:243kB audio:0kB subtitle:0 global headers:0kB muxing overhead 3.687037%
}}}

"	cehoyos
git-master	2552	FLAC with wrong but valid 'header' makes decoder misbehave	avcodec	git-master	defect	open	2013-05-10T11:52:02+02:00	2013-05-10T12:47:07+02:00	"Summary of the bug: I found a file where libavcodec thinks the file is 8kHz, 3 channel while the file is 44.1kHz and stereo. With ghex I found out this is probably because there is a valid header (CRC checks out) somewhere halfway a block. While this is only one header versus 11 valid ones, libavcodec thinks this one is valid and the rest is garbage.

How to reproduce:
1. Get flac-file-with-valid-header-in-last-block.flac from upload.ffmpeg.org/incoming
2. Try 'ffmpeg -i flac-file-with-valid-header-in-last-block.flac test.wav' and see that the resulting file is 8kHz, 3-channel

Output:

{{{
ffmpeg -loglevel 99 -i flac-file-with-valid-header-in-last-block.flac -f null /dev/null
ffmpeg version N-52792-g7c23922 Copyright (c) 2000-2013 the FFmpeg developers
  built on May  5 2013 22:10:53 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
  configuration: --enable-libx264 --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gpl
  libavutil      52. 29.100 / 52. 29.100
  libavcodec     55.  7.100 / 55.  7.100
  libavformat    55.  4.101 / 55.  4.101
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 63.101 /  3. 63.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.                                                                                                           
Reading option '-i' ... matched as input file with argument 'flac-file-with-valid-header-in-last-block.flac'.                                                                                                 
Reading option '-f' ... matched as option 'f' (force format) with argument 'null'.                                                                                                                            
Reading option '/dev/null' ... matched as output file.                                                                                                                                                        
Finished splitting the commandline.                                                                                                                                                                           
Parsing a group of options: global .                                                                                                                                                                          
Applying option loglevel (set logging level) with argument 99.                                                                                                                                                
Successfully parsed a group of options.                                                                                                                                                                       
Parsing a group of options: input file flac-file-with-valid-header-in-last-block.flac.                                                                                                                        
Successfully parsed a group of options.                                                                                                                                                                       
Opening an input file: flac-file-with-valid-header-in-last-block.flac.                                                                                                                                        
[flac @ 0x1e997c0] Format flac probed with size=2048 and score=50                                                                                                                                             
[flac @ 0x1e997c0] File position before avformat_find_stream_info() is 8304                                                                                                                                   
[flac @ 0x1e9a1e0] sample rate change detected in adjacent frames                                                                                                                                             
[flac @ 0x1e9a1e0] bits per sample change detected in adjacent frames                                                                                                                                         
[flac @ 0x1e9a1e0] number of channels change detected in adjacent frames                                                                                                                                      
[flac @ 0x1e9a1e0] sample/frame number mismatch in adjacent frames                                                                                                                                            
[flac @ 0x1e9a1e0] crc check failed from offset 518995 (frame 8) to 567270 (frame 65)                                                                                                                         
[flac @ 0x1e9a1e0] sample rate change detected in adjacent frames                                                                                                                                             
[flac @ 0x1e9a1e0] bits per sample change detected in adjacent frames                                                                                                                                         
[flac @ 0x1e9a1e0] number of channels change detected in adjacent frames                                                                                                                                      
[flac @ 0x1e9a1e0] sample/frame number mismatch in adjacent frames                                                                                                                                            
[flac @ 0x1e9a1e0] crc check failed from offset 443570 (frame 7) to 567270 (frame 65)                                                                                                                         
[flac @ 0x1e9a1e0] sample/frame number mismatch in adjacent frames                                                                                                                                            
[flac @ 0x1e9a1e0] sample rate change detected in adjacent frames                                                                                                                                             
[flac @ 0x1e9a1e0] bits per sample change detected in adjacent frames                                                                                                                                         
[flac @ 0x1e9a1e0] number of channels change detected in adjacent frames                                                                                                                                      
[flac @ 0x1e9a1e0] sample/frame number mismatch in adjacent frames                                                                                                                                            
[flac @ 0x1e9a1e0] crc check failed from offset 371506 (frame 6) to 567270 (frame 65)                                                                                                                         
[flac @ 0x1e9a1e0] sample/frame number mismatch in adjacent frames                                                                                                                                            
    Last message repeated 11 times
[flac @ 0x1e9a1e0] Junk frame till offset 48275
[flac @ 0x1e997c0] max_analyze_duration 5000000 reached at 5062721 microseconds
[flac @ 0x1e997c0] File position after avformat_find_stream_info() is 579223
Input #0, flac, from 'flac-file-with-valid-header-in-last-block.flac':
  Duration: 00:00:07.40, bitrate: 626 kb/s
    Stream #0:0, 8, 1/44100: Audio: flac, 8000 Hz, 3.0, s16
Successfully opened the file.
Parsing a group of options: output file /dev/null.                                                                                                                                                            
Applying option f (force format) with argument null.                                                                                                                                                          
Successfully parsed a group of options.
Opening an output file: /dev/null.
Successfully opened the file.
[graph 0 input from stream 0:0 @ 0x1e9a6e0] Setting 'time_base' to value '1/8000'
[graph 0 input from stream 0:0 @ 0x1e9a6e0] Setting 'sample_rate' to value '8000'
[graph 0 input from stream 0:0 @ 0x1e9a6e0] Setting 'sample_fmt' to value 's16'
[graph 0 input from stream 0:0 @ 0x1e9a6e0] Setting 'channel_layout' to value '0x7'
[graph 0 input from stream 0:0 @ 0x1e9a6e0] tb:1/8000 samplefmt:s16 samplerate:8000 chlayout:0x7
[audio format for output stream 0:0 @ 0x1e9e300] Setting 'sample_fmts' to value 's16'
[AVFilterGraph @ 0x1e9b1a0] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
Output #0, null, to '/dev/null':
  Metadata:
    encoder         : Lavf55.4.101
    Stream #0:0, 0, 1/90000: Audio: pcm_s16le, 8000 Hz, 3.0, s16, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (flac -> pcm_s16le)
Press [q] to stop, [?] for help
Input stream #0:0 frame changed from rate:8000 fmt:s16 ch:3 chl:3.0 to rate:44100 fmt:s16 ch:2 chl:stereo
[graph 0 input from stream 0:0 @ 0x1e9e280] Setting 'time_base' to value '1/44100'
[graph 0 input from stream 0:0 @ 0x1e9e280] Setting 'sample_rate' to value '44100'
[graph 0 input from stream 0:0 @ 0x1e9e280] Setting 'sample_fmt' to value 's16'
[graph 0 input from stream 0:0 @ 0x1e9e280] Setting 'channel_layout' to value '0x3'
[graph 0 input from stream 0:0 @ 0x1e9e280] tb:1/44100 samplefmt:s16 samplerate:44100 chlayout:0x3
[audio format for output stream 0:0 @ 0x1e9f140] Setting 'sample_fmts' to value 's16'
[audio format for output stream 0:0 @ 0x1e9f140] Setting 'sample_rates' to value '8000'
[audio format for output stream 0:0 @ 0x1e9f140] Setting 'channel_layouts' to value '0x7'
[audio format for output stream 0:0 @ 0x1e9f140] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'
[AVFilterGraph @ 0x1e9df60] query_formats: 4 queried, 9 merged, 3 already done, 0 delayed
1.000000 0.000000 
0.000000 1.000000 
0.000000 0.000000 
[auto-inserted resampler 0 @ 0x1ea1960] ch:2 chl:stereo fmt:s16 r:44100Hz -> ch:3 chl:3.0 fmt:s16 r:8000Hz
[flac @ 0x1e9a1e0] CRC error at PTS -9223372036854775808
[flac @ 0x1e9a1e0] overread: 1
Error while decoding stream #0:0: Invalid data found when processing input
[flac @ 0x1e9a1e0] switching bps mid-stream is not supported
[flac @ 0x1e9a1e0] decode_frame() failed
Error while decoding stream #0:0: Operation not permitted
[output stream 0:0 @ 0x1e9de80] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.
size=N/A time=00:00:07.40 bitrate=N/A    
video:0kB audio:347kB subtitle:0 global headers:0kB muxing overhead -100.006195%
9 frames successfully decoded, 2 decoding errors
[AVIOContext @ 0x1ea1ee0] Statistics: 579223 bytes read, 0 seeks
}}}
"	ktf
git-master	2574	Uneven speed when reencoding mpeg program stream	avcodec	git-master	defect	new	2013-05-15T17:46:14+02:00	2013-05-15T17:46:14+02:00	"http://thread.gmane.org/gmane.comp.video.ffmpeg.user/45738
A user uploaded a sample that reencodes into a file with uneven speed with ffmpeg and shows uneven playback with ffplay and mplayer -vc ffmpeg12, plays fine with mplayer -vc mpeg12
This is a regression since 0127b86
{{{
$ ffmpeg -i BAGUTTI\ CAREZZE_cut.mpg -qscale 2 -t 7 out.avi
ffmpeg version N-53092-gc45b823 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 15 2013 17:44:48 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 32.100 / 52. 32.100
  libavcodec     55.  9.100 / 55.  9.100
  libavformat    55.  7.100 / 55.  7.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 67.100 /  3. 67.100
  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 'BAGUTTI CAREZZE_cut.mpg':
  Duration: 00:00:07.28, start: 0.168444, bitrate: 8439 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 224 kb/s
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf55.7.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> mpeg4)
  Stream #0:1 -> #0:1 (mp2 -> ac3)
Press [q] to stop, [?] for help
frame=  171 fps=0.0 q=2.0 Lsize=    5954kB time=00:00:07.00 bitrate=6960.2kbits/s
video:5771kB audio:164kB subtitle:0 global headers:0kB muxing overhead 0.321262%
}}}
out.avi ""pauses"" for a moment after four seconds."	cehoyos
git-master	2579	"Data stream from UAV video reported as ""Unknown"" type"	avformat	git-master	defect	open	2013-05-16T21:47:26+02:00	2013-05-17T16:41:49+02:00	"Summary of the bug:

In some older videos collected from a UAV (e.g. Predator drone), the KLV metadata stream is not recognized as a ""Data"" stream and is parsed as ""Unknown"".  I would like to be able to ready this data stream as ""Data"".

In much older versions of FFmpeg (e.g. version 0.8 and before) the data stream was interpreted as ""Data"" and I could read the data correctly.  I used git bisect to determine that metadata stream is interpreted as ""Unknown"" after commit e78d1a59.

I am actually using the APIs for libavformat, libavcodec, etc. to work with the video and metadata, but the bug can be determined by simply running ffmpeg and looking at the stream types.

How to reproduce:
{{{
% ffmpeg -i old_klv_data_stream.mpg
ffmpeg version N-53159-gd94c907 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 16 2013 14:15:13 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: 
  libavutil      52. 32.100 / 52. 32.100
  libavcodec     55.  9.100 / 55.  9.100
  libavformat    55.  7.100 / 55.  7.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 68.101 /  3. 68.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
[mpegts @ 0x3371020] probed stream 1 failed
[mpegts @ 0x3371020] max_analyze_duration 5000000 reached at 5003333 microseconds
[mpegts @ 0x3371020] Could not find codec parameters for stream 1 (Unknown: none ([21][0][0][0] / 0x0015)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x3371020] PES packet size mismatch
Input #0, mpegts, from 'old_klv_data_stream.mpg':
  Duration: 00:00:16.15, start: 0.909400, bitrate: 5072 kb/s
  Program 1 
    Stream #0:0[0x1e1]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 720x480 [SAR 1:1 DAR 3:2], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1f1]: Unknown: none ([21][0][0][0] / 0x0015)
At least one output file must be specified

}}}
I will be uploading the sample file specified above, and attaching a report generated by '''ffmpeg -v 9 -loglevel 99 -report -i old_klv_data_stream.mpg'''.

I have hundreds video files that have these issues.  Video from newer UAVs seem to use a different stream type and the metadata is correctly reported as
{{{
Stream #0:1[0x90]: Data: klv (KLVA / 0x41564C4B)
}}}"	mleotta
git-master	2580	FLV h264 video decoding corrupted	avcodec	git-master	defect	open	2013-05-16T23:51:56+02:00	2013-05-17T00:40:31+02:00	"Summary of the bug:
Decoding this file: http://files.cousins-sears.com/0x2m2u110W3H (and others like it) is corrupted after about 15 seconds.  Other decoders are able to decode the video properly.  For instance whatever is powering http://www.mediaconverter.org allowed me to convert the file successfully, as you can see here: http://www.youtube.com/watch?v=993OAWMS0us

ffmpeg conversion results in errors as seen here: http://pastebin.com/WawmPZVC

How to reproduce:
{{{
% ffmpeg -i 58af5798-fa2c-42a2-997d-dc8e49de2d8a.flv -an -vcodec libx264 -b 512k -r 30 -ar 44100 testffmpeg2.mpg

ffmpeg version N-53159-gd94c907 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 16 2013 15:29:14 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libaacplus --enable-libass --enable-libcelt --enable-libfaac --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-openssl --enable-libopus --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --prefix=/usr/local
  libavutil      52. 32.100 / 52. 32.100
  libavcodec     55.  9.100 / 55.  9.100
  libavformat    55.  7.100 / 55.  7.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 68.101 /  3. 68.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
}}}

assigned to avcodec per the help of ubitux on #ffmpeg  (thanks!)

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker."	relevante
git-master	2581	mmsh seeking crashes ffmpeg	avformat	git-master	defect	new	2013-05-17T10:04:32+02:00	2013-05-17T10:04:32+02:00	"Ticket #358 - seeking mmsh does not work - is reproducible again since 7b0b10c (with ffmpeg), currently crashes:
{{{
$ (gdb) r -ss 20 -i ""mmsh://straumod.nrk.no/disk11/Supermorgen/2011-03-11/MSUS54000411AA-1Mbit.wmv?UseSilverlight=1"" -qscale 2 out.avi
Starting program: ffmpeg_g -ss 20 -i ""mmsh://straumod.nrk.no/disk11/Supermorgen/2011-03-11/MSUS54000411AA-1Mbit.wmv?UseSilverlight=1"" -qscale 2 out.avi
[Thread debugging using libthread_db enabled]
Using host libthread_db library ""/lib64/libthread_db.so.1"".
ffmpeg version N-53170-g17989dc Copyright (c) 2000-2013 the FFmpeg developers
  built on May 17 2013 09:58:53 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 32.100 / 52. 32.100
  libavcodec     55.  9.100 / 55.  9.100
  libavformat    55.  7.100 / 55.  7.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 68.101 /  3. 68.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Read data packet header failed!
Get http header data failed!
mmsh://straumod.nrk.no/disk11/Supermorgen/2011-03-11/MSUS54000411AA-1Mbit.wmv?UseSilverlight=1: could not seek to position 20.000
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, asf, from 'mmsh://straumod.nrk.no/disk11/Supermorgen/2011-03-11/MSUS54000411AA-1Mbit.wmv?UseSilverlight=1':
  Metadata:
    artist          : NRK
    copyright       : NRK
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: L1
    WM/WMADRCPeakReference: 12325
    WM/WMADRCAverageReference: 3248
    WMFSDKVersion   : 10.00.00.4007
    IsVBR           : 0
  Duration: 00:02:37.80, start: 0.000000, bitrate: N/A
    Stream #0:0(nor): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 768x432, 896 kb/s, 25 tbr, 1k tbn, 1k tbc
    Stream #0:1(nor): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 128 kb/s
Please use -q:a or -q:v, -qscale is ambiguous
[New Thread 0x7ffff5d35700 (LWP 23405)]
[New Thread 0x7ffff5534700 (LWP 23406)]
[New Thread 0x7ffff4d33700 (LWP 23407)]
[New Thread 0x7ffff4532700 (LWP 23408)]
[New Thread 0x7ffff3d31700 (LWP 23409)]
[New Thread 0x7ffff3530700 (LWP 23410)]
[New Thread 0x7ffff2d2f700 (LWP 23411)]
[New Thread 0x7ffff252e700 (LWP 23412)]
[New Thread 0x7ffff1d2d700 (LWP 23413)]
Output #0, avi, to 'out.avi':
  Metadata:
    IART            : NRK
    ICOP            : NRK
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: L1
    WM/WMADRCPeakReference: 12325
    WM/WMADRCAverageReference: 3248
    WMFSDKVersion   : 10.00.00.4007
    IsVBR           : 0
    ISFT            : Lavf55.7.100
    Stream #0:0(nor): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 768x432, q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream #0:1(nor): Audio: ac3 ([0] [0][0] / 0x2000), 44100 Hz, stereo, fltp, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (wmv3 -> mpeg4)
  Stream #0:1 -> #0:1 (wmav2 -> ac3)
Press [q] to stop, [?] for help
[wmv3 @ 0x1693cc0] warning: first frame is no keyframe
Read data packet header failed!
Recv other type packet -5
Read data packet header failed!
Recv other type packet -5
Read data packet header failed!
Recv other type packet -5
Read data packet header failed!
Recv other type packet -5
frame=    0 fps=0.0 q=0.0 Lsize=      10kB time=00:00:00.00 bitrate=N/A dup=0 drop=2
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
[Thread 0x7ffff1d2d700 (LWP 23413) exited]
[Thread 0x7ffff4532700 (LWP 23408) exited]
[Thread 0x7ffff5d35700 (LWP 23405) exited]
[Thread 0x7ffff252e700 (LWP 23412) exited]
[Thread 0x7ffff3530700 (LWP 23410) exited]
[Thread 0x7ffff2d2f700 (LWP 23411) exited]
[Thread 0x7ffff3d31700 (LWP 23409) exited]
[Thread 0x7ffff5534700 (LWP 23406) exited]
[Thread 0x7ffff4d33700 (LWP 23407) exited]

Program received signal SIGSEGV, Segmentation fault.
0x0000000000bef51b in av_opt_free (obj=0x8000) at libavutil/opt.c:1195
1195    {
(gdb) bt
#0  0x0000000000bef51b in av_opt_free (obj=0x8000) at libavutil/opt.c:1195
#1  0x00000000004f4d31 in ffurl_closep (hh=0x7fffffffd998) at libavformat/avio.c:352
#2  ffurl_close (h=0x8000) at libavformat/avio.c:361
#3  0x00000000005328d2 in mmsh_close (h=<optimized out>) at libavformat/mmsh.c:69
#4  0x00000000004f4d5d in ffurl_closep (hh=0x7fffffffd9d8) at libavformat/avio.c:345
#5  ffurl_close (h=0x167bdc0) at libavformat/avio.c:361
#6  0x00000000004f980a in avio_close (s=s@entry=0x169a900) at libavformat/aviobuf.c:836
#7  0x00000000005be3fd in avformat_close_input (ps=0x1691400) at libavformat/utils.c:3360
#8  0x000000000046522b in exit_program () at ffmpeg.c:483
#9  0x00007ffff679f8b1 in __run_exit_handlers () from /lib64/libc.so.6
#10 0x00007ffff679f935 in exit () from /lib64/libc.so.6
#11 0x0000000000459dbb in main (argc=<optimized out>, argv=<optimized out>) at ffmpeg.c:3384
(gdb) disass $pc-11,$pc+32
Dump of assembler code from 0xbef510 to 0xbef53b:
   0x0000000000bef510 <av_opt_free+0>:  push   %rbp
   0x0000000000bef511 <av_opt_free+1>:  mov    %rdi,%rbp
   0x0000000000bef514 <av_opt_free+4>:  push   %rbx
   0x0000000000bef515 <av_opt_free+5>:  xor    %ebx,%ebx
   0x0000000000bef517 <av_opt_free+7>:  sub    $0x8,%rsp
=> 0x0000000000bef51b <av_opt_free+11>: mov    (%rdi),%rdx
   0x0000000000bef51e <av_opt_free+14>: xchg   %ax,%ax
   0x0000000000bef520 <av_opt_free+16>: test   %rbx,%rbx
   0x0000000000bef523 <av_opt_free+19>: je     0xbef550 <av_opt_free+64>
   0x0000000000bef525 <av_opt_free+21>: cmpq   $0x0,0x40(%rbx)
   0x0000000000bef52a <av_opt_free+26>: je     0xbef560 <av_opt_free+80>
   0x0000000000bef52c <av_opt_free+28>: add    $0x40,%rbx
   0x0000000000bef530 <av_opt_free+32>: mov    0x14(%rbx),%eax
   0x0000000000bef533 <av_opt_free+35>: and    $0xfffffffd,%eax
   0x0000000000bef536 <av_opt_free+38>: cmp    $0x5,%eax
   0x0000000000bef539 <av_opt_free+41>: jne    0xbef520 <av_opt_free+16>
End of assembler dump.
(gdb) info register
rax            0x5328c0 5449920
rbx            0x0      0
rcx            0x7fffffffd908   140737488345352
rdx            0x16933f0        23671792
rsi            0x1      1
rdi            0x8000   32768
rbp            0x8000   0x8000
rsp            0x7fffffffd970   0x7fffffffd970
r8             0xc1     193
r9             0x0      0
r10            0x0      0
r11            0x246    582
r12            0x169a900        23701760
r13            0x1691400        23663616
r14            0x167bd50        23575888
r15            0x0      0
rip            0xbef51b 0xbef51b <av_opt_free+11>
eflags         0x10202  [ IF RF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
}}}"	cehoyos
git-master	2583	libmodplug: probe function needed	avformat	git-master	defect	new	2013-05-17T16:36:27+02:00	2013-05-17T16:36:27+02:00	"http://thread.gmane.org/gmane.comp.video.ffmpeg.user/45774
I will attach a program stream that gets misdetected if --enable-libmodplug is used.
{{{
$ ffmpeg -loglevel debug -i test.mod
ffmpeg version N-53176-g5bc892c Copyright (c) 2000-2013 the FFmpeg developers
  built on May 17 2013 16:27:00 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack --enable-libmodplug
  libavutil      52. 32.100 / 52. 32.100
  libavcodec     55. 10.100 / 55. 10.100
  libavformat    55.  7.100 / 55.  7.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 68.101 /  3. 68.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input file with argument 'test.mod'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file test.mod.
Successfully parsed a group of options.
Opening an input file: test.mod.
[libmodplug @ 0x2aa1020] Format libmodplug probed with size=2048 and score=50
[libmodplug @ 0x2aa1020] File position before avformat_find_stream_info() is 2560000
[libmodplug @ 0x2aa1020] max_analyze_duration 5000000 reached at 5000000 microseconds
[libmodplug @ 0x2aa1020] File position after avformat_find_stream_info() is 2560000
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, libmodplug, from 'test.mod':
  Metadata:
    name            :    �D
    sample          :    �D
                    : ��� ������ ��:
                    : 0panasonic0120201U01
                    :          S   dvdvrx010
                    : c0120201U01    SN Mdvd
                    : nasonic0120201U01    M
                    :   Y�           '
                    :   dvdvrx010panasonic01
                    :     SI
    extra info      : 1 pattern, 4 channels, 9/15 samples
  Duration: 00:00:08.00, bitrate: 2560 kb/s
    Stream #0:0, 2502, 1/1000: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0x2aa9720] Statistics: 2560000 bytes read, 0 seeks
}}}
{{{
$ ffmpeg -loglevel debug -i test.mod
ffmpeg version N-53176-g5bc892c Copyright (c) 2000-2013 the FFmpeg developers
  built on May 17 2013 16:35:43 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 32.100 / 52. 32.100
  libavcodec     55. 10.100 / 55. 10.100
  libavformat    55.  7.100 / 55.  7.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 68.101 /  3. 68.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input file with argument 'test.mod'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file test.mod.
Successfully parsed a group of options.
Opening an input file: test.mod.
[mpeg @ 0x21d1020] Format mpeg probed with size=8192 and score=52
[mpeg @ 0x21d1020] File position before avformat_find_stream_info() is 0
[mpeg @ 0x21d1020] probing stream 0 pp:2500
[mpeg @ 0x21d1020] Probe with size=2012, packets=1 detected mpegvideo with score=25
[mpeg @ 0x21d1020] probing stream 0 pp:2499
[mpeg @ 0x21d1020] Probe with size=4037, packets=2 detected mpegvideo with score=25
[mpeg @ 0x21d1020] probing stream 0 pp:2498
[mpeg @ 0x21d1020] Probe with size=6062, packets=3 detected mpegvideo with score=25
[mpeg @ 0x21d1020] probing stream 0 pp:2497
[mpeg @ 0x21d1020] probing stream 0 pp:2496
[mpeg @ 0x21d1020] Probe with size=10112, packets=5 detected mpegvideo with score=25
[mpeg @ 0x21d1020] probing stream 0 pp:2495
[mpeg @ 0x21d1020] probing stream 0 pp:2494
[mpeg @ 0x21d1020] probing stream 0 pp:2493
[mpeg @ 0x21d1020] probing stream 0 pp:2492
[mpeg @ 0x21d1020] Probe with size=18212, packets=9 detected mpegvideo with score=25
[mpeg @ 0x21d1020] probing stream 0 pp:2491
[mpeg @ 0x21d1020] probing stream 0 pp:2490
[mpeg @ 0x21d1020] probing stream 0 pp:2489
[mpeg @ 0x21d1020] probing stream 0 pp:2488
[mpeg @ 0x21d1020] probing stream 0 pp:2487
[mpeg @ 0x21d1020] probing stream 0 pp:2486
[mpeg @ 0x21d1020] probing stream 0 pp:2485
[mpeg @ 0x21d1020] probing stream 0 pp:2484
[mpeg @ 0x21d1020] Probe with size=34407, packets=17 detected mpegvideo with score=51
[mpeg @ 0x21d1020] probed stream 0
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 31643 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 37403 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 43163 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 48923 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 54683 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 60443 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 66203 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 77723 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 83483 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 89243 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 95003 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 100763 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 106523 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 112283 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 118043 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 129563 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 135323 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 141083 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 146843 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 152603 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 158363 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 164123 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 175643 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 181403 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 187163 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 192923 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 198683 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 204443 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 215963 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 221723 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 227483 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 233243 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 239003 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 244763 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 256283 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 262043 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 267803 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 273563 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 279323 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 285083 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 290843 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 302363 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 308123 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 313883 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 319643 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 325403 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 331163 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 336923 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 348443 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 354203 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 359963 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 365723 in the queue
[mpeg @ 0x21d1020] first_dts 23003 not matching first dts 371483 in the queue
[mpeg @ 0x21d1020] File position after avformat_find_stream_info() is 0
Input #0, mpeg, from 'test.mod':
  Duration: 00:00:04.37, start: 0.255589, bitrate: 4685 kb/s
    Stream #0:0[0x1e0], 132, 1/90000: Video: mpeg2video (Main), yuv420p, 704x480 [SAR 10:11 DAR 4:3], 1001/60000, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x80], 124, 1/90000: Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/s
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0x21d9720] Statistics: 2810000 bytes read, 2 seeks
}}}"	cehoyos
git-master	2588	Crash during playback of real audio over rtsp	avformat	git-master	defect	open	2013-05-19T12:45:25+02:00	2013-05-19T19:24:07+02:00	"Configure:
./configure --disable-yasm --enable-debug

How to reproduce:
./ffplay_g rtsp://mprrm.publicradio.org/5559/phc/970322/970322_logo.ra

Dump:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffedd6f700 (LWP 17885)]
avio_r8 (s=0x0) at libavformat/aviobuf.c:471
471	    if (s->buf_ptr >= s->buf_end)"	eleventeen
git-master	2590	Inaccurate seek in mp3	avformat	git-master	defect	open	2013-05-19T13:06:49+02:00	2013-05-19T19:15:37+02:00	"Summary of the bug:
After adding read_xing_toc() in mp3dec.c seeking in some mp3 isn't accurate. The same file seeks correctly and fast in foobar2000. Attached sample of a file and original cue.

How to reproduce:
ffplay -ss 227 Underworld_sample.mp3 (should start approximately from begining of a song. starts a lot earlier)"	eleventeen
git-master	1870	review merges from libav	undetermined	git-master	task	new	2012-10-30T02:07:17+01:00	2012-11-16T17:13:49+01:00	There are numerous examples in commit history which points out that merging changes from libav is more and more not-trivial task.	richardpl
git-master	110	MP4 Muxer gives incorrect frame duration with AAC	avformat	git-master	defect	reopened	2011-04-25T03:52:00+02:00	2013-05-12T17:27:39+02:00	"The frame durations of an MP4/AAC file are inaccurate according to FAAD. I encoded an M4A file with

ffmpeg -v 9 -loglevel 99 -i IJustHadSex.m4v -vn -acodec copy -map_metadata 0:0 ""I Just Had Sex.m4a""

The full uncut output is this:

FFmpeg version git-N-29123-g256c5b0, Copyright (c) 2000-2011 the FFmpeg developers
  built on Apr 14 2011 21:24:32 with gcc 4.7.0 20110402 (experimental)
  configuration: --enable-cross-compile --arch=x86_64 --target-os=mingw32 --cross-prefix=/usr/x86_64-w64-mingw32/bin/ --prefix=/usr/local/x86_64-w64-mingw32 --pkg-config=pkg-config --cpu=i7
  libavutil    50. 40. 1 / 50. 40. 1
  libavcodec   52.119. 0 / 52.119. 0
  libavformat  52.107. 0 / 52.107. 0
  libavdevice  52.  4. 0 / 52.  4. 0
  libavfilter   1. 78. 0 /  1. 78. 0
  libswscale    0. 13. 0 /  0. 13. 0
[NULL @ 000000000033A770] Probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000033A770] ISO: File Type Major Brand: M4V 
[h264 @ 000000000033B7B0] Unsupported bit depth: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000033A770] All info found

Seems stream 0 codec frame rate differs from container frame rate: 47.96 (1199/25) -> 23.98 (1199/50)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'IJustHadSex.m4v':
  Metadata:
    major_brand     : M4V 
    minor_version   : 512
    compatible_brands: isomiso2avc1
    creation_time   : 1970-01-01 00:00:00
    encoder         : Lavf52.104.0
    title           : I Just Had Sex (feat. Akon)
    artist          : The Lonely Island
    album           : Incredibad
  Duration: 00:02:55.31, start: 0.000000, bitrate: 1306 kb/s
    Stream #0.0(und), 2, 1/1199: Video: h264 (Constrained Baseline), yuv420p, 640x360 [PAR 1:1 DAR 16:9], 25/1199, 1171 kb/s, 23.98 fps, 23.98 tbr, 1199 tbn, 47.96 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
    Stream #0.1(und), 1, 1/44100: Audio: aac, 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:00:00
Output #0, ipod, to 'I Just Had Sex.m4a':
  Metadata:
    major_brand     : M4V 
    minor_version   : 512
    compatible_brands: isomiso2avc1
    creation_time   : 1970-01-01 00:00:00
    album           : Incredibad
    title           : I Just Had Sex (feat. Akon)
    artist          : The Lonely Island
    encoder         : Lavf52.107.0
    Stream #0.0(und), 0, 1/44100: Audio: aac, 44100 Hz, stereo, 128 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:00:00
Stream mapping:
  Stream #0.1 -> #0.0
Press [q] to stop encoding
size=    2845kB time=175.31 bitrate= 132.9kbits/s    

video:0kB audio:2739kB global headers:0kB muxing overhead 3.847214%

The full ffmpeg -v 9 -loglevel 99 -i for the new input file is this:

FFmpeg version git-N-29123-g256c5b0, Copyright (c) 2000-2011 the FFmpeg developers
  built on Apr 14 2011 21:24:32 with gcc 4.7.0 20110402 (experimental)
  configuration: --enable-cross-compile --arch=x86_64 --target-os=mingw32 --cross-prefix=/usr/x86_64-w64-mingw32/bin/ --prefix=/usr/local/x86_64-w64-mingw32 --pkg-config=pkg-config --cpu=i7
  libavutil    50. 40. 1 / 50. 40. 1
  libavcodec   52.119. 0 / 52.119. 0
  libavformat  52.107. 0 / 52.107. 0
  libavdevice  52.  4. 0 / 52.  4. 0
  libavfilter   1. 78. 0 /  1. 78. 0
  libswscale    0. 13. 0 /  0. 13. 0
[NULL @ 00000000014BA410] Probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000014BA410] ISO: File Type Major Brand: M4A 
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000014BA410] All info found
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'I Just Had Sex.m4a':
  Metadata:
    major_brand     : M4A 
    minor_version   : 512
    compatible_brands: isomiso2
    creation_time   : 1970-01-01 00:00:00
    title           : I Just Had Sex (feat. Akon)
    artist          : The Lonely Island
    album           : Incredibad
    encoder         : Lavf52.107.0
  Duration: 00:02:55.31, start: 0.000000, bitrate: 132 kb/s
    Stream #0.0(und), 1, 1/44100: Audio: aac, 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:00:00
At least one output file must be specified

However, FAAD claims that the frame duration is inaccurate for the MP4, and that it has to use the duration listed in the AAC bitstream instead. Furthermore, iTunes says the file has a duration of 789:57:13, which is iTunes's way of saying Error!

The FAAD output is this:

 *********** Ahead Software MPEG-4 AAC Decoder V2.7 ******************

 Build: Jun 14 2010
 Copyright 2002-2004: Ahead Software AG
 http://www.audiocoding.com
 Floating point version

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License.

 **************************************************************************

I Just Had Sex.m4a file info:

LC AAC	175.139 secs, 2 ch, 44100 Hz

title: I Just Had Sex (feat. Akon)
artist: The Lonely Island
album: Incredibad
tool: Lavf52.107.0

  ---------------------
 | Config:  2 Ch       |
  ---------------------
 | Ch |    Position    |
  ---------------------
 | 00 | Left front     |
 | 01 | Right front    |
  ---------------------

MP4 seems to have incorrect frame duration, using values from AAC data.
Decoding I Just Had Sex.m4a took:  0.84 sec. 208.00% real-time.

Notice the MP4 error.

This is important because iTunes won't play the resulting file."	thebombzen
git-master	117	unsupported interplayvideo file	avcodec	git-master	defect	open	2011-04-26T12:41:44+02:00	2012-10-24T17:21:58+02:00	"http://www.upitus.net/v1cb0vmtxws8

(sorry for this free crappy host with time delay, next this I will try to find something better)

the file does not convert correctly with ffmpeg (only a few frames)

with ffplay I get this:

{{{
C:\>ffplay C:\SK_DEMO.MVE
FFplay version git-N-29181-ga304071, Copyright (c) 2003-2011 the FFmpeg develope
rs
  built on Apr 18 2011 21:24:03 with gcc 4.5.2
  configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena
ble-memalign-hack --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib --cross-prefix=i686-w6
4-mingw32- --target-os=mingw32 --arch=x86_32 --extra-cflags=-I/home/kyle/softwar
e/ffmpeg/external-libraries/win32/include --extra-ldflags=-L/home/kyle/software/
ffmpeg/external-libraries/win32/lib --pkg-config=pkg-config
  libavutil    50. 40. 1 / 50. 40. 1
  libavcodec   52.120. 0 / 52.120. 0
  libavformat  52.108. 0 / 52.108. 0
  libavdevice  52.  4. 0 / 52.  4. 0
  libavfilter   1. 79. 0 /  1. 79. 0
  libswscale    0. 13. 0 /  0. 13. 0
[ipmovie @ 01D5D4F0] Estimating duration from bitrate, this may be inaccurate
Input #0, ipmovie, from 'C:\SK_DEMO.MVE':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: interplayvideo, pal8, 432x320, 1000k tbr, 1000k tbn, 100
0k tbc
[ffsink @ 01D62480] auto-inserting filter 'auto-inserted scaler 0' between the f
ilter 'src' and the filter 'out'
[scale @ 01D62700] w:432 h:320 fmt:pal8 -> w:432 h:320 fmt:yuv420p flags:0x4
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-49287)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 2, @ block
 (64, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4088)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 3, @ block
 (240, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4321)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 4, @ block
 (0, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-39333)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 5, @ block
 (104, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-50836)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 6, @ block
 (40, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-5600)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 7, @ block
 (16, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 4 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4349)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 8, @ block
 (400, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-47404)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 9, @ block
 (192, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-338)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 10, @ bloc
k (96, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-53651)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 11, @ bloc
k (32, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 2 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4212)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 13, @ bloc
k (96, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-273)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 15, @ bloc
k (160, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 1 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4176)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 17, @ bloc
k (144, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-205)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 19, @ bloc
k (224, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-3816)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 21, @ bloc
k (64, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 5 times0KB vq=   38KB sq=    0B f=6/6
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-126)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 23, @ bloc
k (304, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 8 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4137)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 25, @ bloc
k (192, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 2 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-42725)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 27, @ bloc
k (144, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4308)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 29, @ bloc
k (16, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4167)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 31, @ bloc
k (144, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-3870)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 33, @ bloc
k (16, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4274)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 35, @ bloc
k (48, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4660)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 37, @ bloc
k (80, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4027)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 39, @ bloc
k (288, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4300)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 41, @ bloc
k (32, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-1187)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 43, @ bloc
k (112, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4123)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 45, @ bloc
k (208, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-3858)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 47, @ bloc
k (32, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 1 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-51416)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 49, @ bloc
k (112, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-48544)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 51, @ bloc
k (160, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-38769)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 53, @ bloc
k (0, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 2 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-3787)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 55, @ bloc
k (112, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-432)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 57, @ bloc
k (0, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 1 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4203)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 59, @ bloc
k (128, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 2 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-622)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 61, @ bloc
k (240, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
    Last message repeated 5 times
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-1131)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 63, @ bloc
k (160, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-54293)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 65, @ bloc
k (24, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-52546)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 67, @ bloc
k (32, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4237)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 69, @ bloc
k (96, 0)
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-4293)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 71, @ bloc
k (16, 0)
[interplayvideo @ 01D5EB40]   Interplay video: Help! Mystery opcode 0x6 seen
[interplayvideo @ 01D5EB40]  Interplay video: motion offset < 0 (-219)
[interplayvideo @ 01D5EB40]  Interplay video: decode problem on frame 73, @ bloc
k (208, 0)
}}}
"	ami_stuff
git-master	128	svq1 decoder is somehow buggy	avcodec	git-master	defect	open	2011-04-27T12:48:27+02:00	2012-05-09T12:09:04+02:00	"ftp://ftp.pigwa.net/stuff/other/vcsclip.mov

please compare attached screenshot (left = ffplay / right = qt player)

I found this with google, maybe related?

> [Ffmpeg-user] A small but disastrous bug in SVQ1 Decoder
>
> Hi, I am using ffmpeg repository source code for developing Sorenson
> decoder and encountered a ""break"" statement missing in
> ""avcodec_align_dimensions()"" function under ""switch case
> PIX_FMT_YUV410P"" in file ""utils.c"". Due to this every time when
> controls come to ""case PIX_FMT_YUV410P"" instead of breaking after
> executing the required commands, it goes to the default case and
> reset the values of w_align & h_align to 1. Which eventually change
> the file size of output yuv file, resulting in corrupted output.
> 
> 
> Please add the necessary ""break"" statement in appropriate switch case
> in the new version.


{{{
C:\>ffmpeg -i C:\vcsclip.mov
FFmpeg version git-N-29181-ga304071, Copyright (c) 2000-2011 the FFmpeg develope
rs
  built on Apr 18 2011 21:24:03 with gcc 4.5.2
  configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena
ble-memalign-hack --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib --cross-prefix=i686-w6
4-mingw32- --target-os=mingw32 --arch=x86_32 --extra-cflags=-I/home/kyle/softwar
e/ffmpeg/external-libraries/win32/include --extra-ldflags=-L/home/kyle/software/
ffmpeg/external-libraries/win32/lib --pkg-config=pkg-config
  libavutil    50. 40. 1 / 50. 40. 1
  libavcodec   52.120. 0 / 52.120. 0
  libavformat  52.108. 0 / 52.108. 0
  libavdevice  52.  4. 0 / 52.  4. 0
  libavfilter   1. 79. 0 /  1. 79. 0
  libswscale    0. 13. 0 /  0. 13. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 01CEC000] max_analyze_duration reached

Seems stream 0 codec frame rate differs from container frame rate: 600.00 (600/1
) -> 12.00 (12/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\vcsclip.mov':
  Metadata:
    creation_time   : 2000-08-17 00:28:08
    album           : Digital 2600
    album-eng       : Digital 2600
    artist          : Kevin Rodgers & Markus Karlus
    artist-eng      : Kevin Rodgers & Markus Karlus
    copyright-eng   : [C] 2000
    comment         : goldenshower@uia.com.br ]]]] www.goldenshower.gs
    copyright       : [C] 2000
    comment-eng     : goldenshower@uia.com.br ]]]] www.goldenshower.gs
  Duration: 00:02:52.53, start: 0.000000, bitrate: 338 kb/s
    Stream #0.0(eng): Video: svq1, yuv410p, 320x240, 289 kb/s, 12 fps, 12 tbr, 6
00 tbn, 600 tbc
    Metadata:
      creation_time   : 2000-08-17 00:28:08
    Stream #0.1(eng): Audio: qdm2, 44100 Hz, 1 channels, s16, 48 kb/s
    Metadata:
      creation_time   : 2000-08-17 00:28:08
At least one output file must be specified
}}}
"	ami_stuff
git-master	162	Avid AVI Codec - wrong resolution reported by FFmpeg	avcodec	git-master	defect	open	2011-05-06T21:49:42+02:00	2013-01-06T00:17:47+01:00	"issue 1494

https://roundup.libav.org/file579/avid.avi


{{{
Author: ami_stuff 	Date: 2009-10-19.18:53:59 	

Attached file is encoded with ""Avid AVI Codec"" and have 720x576 resolution, but
FFmpeg reports 720x592 and adds black bar on the top of the video.

--------

C:\>ffmpeg -i avid.avi
FFmpeg version SVN-r20231, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  built on Oct 14 2009 04:04:42 with gcc 4.2.4
  configuration: --enable-memalign-hack --prefix=/mingw --cross-prefix=i686-ming
w32- --cc=ccache-i686-mingw32-gcc --target-os=mingw32 --arch=i686 --cpu=i686 --e
nable-avisynth --enable-gpl --enable-version3 --enable-zlib --enable-bzlib --ena
ble-libgsm --enable-libfaad --enable-pthreads --enable-libvorbis --enable-libthe
ora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg --enable-libxvid
--enable-libschroedinger --enable-libx264 --enable-libopencore_amrwb --enable-li
bopencore_amrnb
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.37. 0 / 52.37. 0
  libavformat   52.39. 1 / 52.39. 1
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
[mjpeg @ 0x1a68250]Found 1 unreleased buffers!
Input #0, avi, from 'avid.avi':
  Duration: 00:00:01.79, start: 0.000000, bitrate: 4289 kb/s
    Stream #0.0: Video: mjpeg, yuvj422p, 720x592, 23.97 tbr, 23.97 tbn, 23.97 tb
c
    Stream #0.1: Audio: mp3, 44100 Hz, 2 channels, s16, 128 kb/s
At least one output file must be specified
}}}

{{{
Author: cehoyos 	Date: 2009-10-19.23:46:14 	

Reproducible with mplayer avid.avi -vc avid
}}}
"	ami_stuff
git-master	225	Converting from YUVJ to YUV lose contrast	swscale	git-master	defect	open	2011-05-20T10:40:12+02:00	2013-03-04T18:28:50+01:00	"I am trying to transcode video from my Nicon D90 mjpeg to x264.
And output video contrast is lower than input.
I use ffmpeg-HEAD-27614b1

Command line:
ffmpeg.exe -threads 2 -an -i input.mkv -f matroska -vcodec libx264 -profile main -preset fast -cqp 27 -y x264-low_contract_yuv.mkv > enc.log 2>&1
{{{
ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
  built on May 19 2011 17:41:01 with gcc 4.5.2
  configuration: --prefix=/mingw --disable-static --enable-shared --enable-gpl --enable-version3 --disable-doc --enable-postproc --disable-network --enable-memalign-hack --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --enable-libspeex --enable-libvorbis --enable-libx264 --enable-pthreads --enable-frei0r --extra-cflags='-mthreads -mtune=nocona -march=nocona -msse3 -m80387 -mfpmath=387 -O2 -fgnu89-inline -Wno-error=missing-prototypes' --extra-ldflags='-Wl,--enable-auto-image-base -Wl,--enable-auto-import' --extra-libs=-ldl --cpu=nocona
  libavutil    51.  2. 1 / 51.  2. 1
  libavcodec   53.  5. 0 / 53.  5. 0
  libavformat  53.  0. 3 / 53.  0. 3
  libavdevice  53.  0. 0 / 53.  0. 0
  libavfilter   2.  5. 0 /  2.  5. 0
  libswscale    0. 14. 0 /  0. 14. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[matroska,webm @ 00b70280] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from 'input.mkv':
  Metadata:
    MAKER           : NIKON CORPORATION
    MODEL           : NIKON D90
    CREATION_TIME   : 2011-05-05 07:47:28
    ENCODER         : Lavf53.0.3
  Duration: 00:00:05.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: mjpeg, yuvj422p, 1280x720, PAR 1:1 DAR 16:9, 24 fps, 24 tbr, 1k tbn, 24 tbc (default)
Incompatible pixel format 'yuvj422p' for codec 'libx264', auto-selecting format 'yuv420p'
[buffer @ 00b83e00] w:1280 h:720 pixfmt:yuvj422p tb:1/1000000 sar:1/1
[ffsink @ 003efee0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 00b95920] w:1280 h:720 fmt:yuvj422p -> w:1280 h:720 fmt:yuv420p flags:0xa0000004
[libx264 @ 00b60540] using SAR=1/1
[libx264 @ 00b60540] using cpu capabilities: MMX2 SSE2 SSE3 Cache64
[libx264 @ 00b60540] profile Main, level 3.1
[libx264 @ 00b60540] 264 - core 114 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=24 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=27 ip_ratio=1.40 pb_ratio=1.30 aq=0
Output #0, matroska, to 'x264-low_contract_yuv.mkv':
  Metadata:
    MAKER           : NIKON CORPORATION
    MODEL           : NIKON D90
    CREATION_TIME   : 2011-05-05 07:47:28
    encoder         : Lavf53.0.3
    Stream #0.0: Video: libx264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 1k tbn, 24 tbc (default)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
frame=   10 fps=  0 q=27.0 size=      33kB time=10000000000.00 bitrate=   0.0kbits/s    
...CUT...
frame=  121 fps=  5 q=-1.0 Lsize=     864kB time=4.96 bitrate=1427.9kbits/s    
video:863kB audio:0kB global headers:0kB muxing overhead 0.173612%
frame I:1     Avg QP:24.00  size: 33897
[libx264 @ 00b60540] frame P:41    Avg QP:27.00  size: 10846
[libx264 @ 00b60540] frame B:79    Avg QP:28.66  size:  5118
[libx264 @ 00b60540] consecutive B-frames:  6.6% 11.6% 22.3% 59.5%
[libx264 @ 00b60540] mb I  I16..4: 44.1%  0.0% 55.9%
[libx264 @ 00b60540] mb P  I16..4:  7.9%  0.0%  4.9%  P16..4: 42.7% 10.5%  3.3%  0.0%  0.0%    skip:30.7%
[libx264 @ 00b60540] mb B  I16..4:  3.9%  0.0%  0.6%  B16..8: 30.6%  7.4%  0.3%  direct: 8.4%  skip:48.7%  L0:41.1% L1:53.7% BI: 5.2%
[libx264 @ 00b60540] coded y,uvDC,uvAC intra: 29.7% 47.0% 14.1% inter: 8.7% 11.9% 0.1%
[libx264 @ 00b60540] i16 v,h,dc,p: 31% 31% 24% 14%
[libx264 @ 00b60540] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 20% 20%  5%  7%  7%  6%  6%  3%
[libx264 @ 00b60540] i8c dc,h,v,p: 63% 18% 16%  3%
[libx264 @ 00b60540] Weighted P-Frames: Y:2.4% UV:2.4%
[libx264 @ 00b60540] ref P L0: 75.4% 24.6%
[libx264 @ 00b60540] ref B L0: 80.3% 19.7%
[libx264 @ 00b60540] ref B L1: 94.1%  5.9%
[libx264 @ 00b60540] kb/s:1401.04
}}}
ffmpeg -v 9 -loglevel 99 -i input.mkv > v9.log 2>&1
{{{
ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
  built on May 19 2011 17:41:01 with gcc 4.5.2
  configuration: --prefix=/mingw --disable-static --enable-shared --enable-gpl --enable-version3 --disable-doc --enable-postproc --disable-network --enable-memalign-hack --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --enable-libspeex --enable-libvorbis --enable-libx264 --enable-pthreads --enable-frei0r --extra-cflags='-mthreads -mtune=nocona -march=nocona -msse3 -m80387 -mfpmath=387 -O2 -fgnu89-inline -Wno-error=missing-prototypes' --extra-ldflags='-Wl,--enable-auto-image-base -Wl,--enable-auto-import' --extra-libs=-ldl --cpu=nocona
  libavutil    51.  2. 1 / 51.  2. 1
  libavcodec   53.  5. 0 / 53.  5. 0
  libavformat  53.  0. 3 / 53.  0. 3
  libavdevice  53.  0. 0 / 53.  0. 0
  libavfilter   2.  5. 0 /  2.  5. 0
  libswscale    0. 14. 0 /  0. 14. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[NULL @ 00b70280] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
[mjpeg @ 00b7b700] buffer too small, expanding to 73330 bytes
[mjpeg @ 00b7b700] marker=d8 avail_size_in_buf=73330
[mjpeg @ 00b7b700] marker parser used 0 bytes (0 bits)
[mjpeg @ 00b7b700] marker=db avail_size_in_buf=73328
[mjpeg @ 00b7b700] index=0
[mjpeg @ 00b7b700] qscale[0]: 3
[mjpeg @ 00b7b700] index=1
[mjpeg @ 00b7b700] qscale[1]: 6
[mjpeg @ 00b7b700] marker parser used 132 bytes (1056 bits)
[mjpeg @ 00b7b700] marker=c0 avail_size_in_buf=73194
[mjpeg @ 00b7b700] sof0: picture: 1280x720
[mjpeg @ 00b7b700] component 0 2:1 id: 0 quant:0
[mjpeg @ 00b7b700] component 1 1:1 id: 1 quant:1
[mjpeg @ 00b7b700] component 2 1:1 id: 2 quant:1
[mjpeg @ 00b7b700] pix fmt id 21111100
[mjpeg @ 00b7b700] marker parser used 17 bytes (136 bits)
[mjpeg @ 00b7b700] marker=c4 avail_size_in_buf=73175
[mjpeg @ 00b7b700] class=0 index=0 nb_codes=12
[mjpeg @ 00b7b700] class=1 index=0 nb_codes=251
[mjpeg @ 00b7b700] class=0 index=1 nb_codes=12
[mjpeg @ 00b7b700] class=1 index=1 nb_codes=251
[mjpeg @ 00b7b700] marker parser used 418 bytes (3344 bits)
[mjpeg @ 00b7b700] escaping removed 115 bytes
[mjpeg @ 00b7b700] marker=da avail_size_in_buf=72755
[mjpeg @ 00b7b700] component: 0
[mjpeg @ 00b7b700] component: 1
[mjpeg @ 00b7b700] component: 2
[mjpeg @ 00b7b700] marker parser used 72639 bytes (581110 bits)
[mjpeg @ 00b7b700] marker=d9 avail_size_in_buf=3
[mjpeg @ 00b7b700] mjpeg decode frame unused 3 bytes
[matroska,webm @ 00b70280] All info found
[matroska,webm @ 00b70280] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from 'input.mkv':
  Metadata:
    MAKER           : NIKON CORPORATION
    MODEL           : NIKON D90
    CREATION_TIME   : 2011-05-05 07:47:28
    ENCODER         : Lavf53.0.3
  Duration: 00:00:05.04, start: 0.000000, bitrate: N/A
    Stream #0.0, 1, 1/1000: Video: mjpeg, yuvj422p, 1280x720, 1/24, PAR 1:1 DAR 16:9, 24 fps, 24 tbr, 1k tbn, 24 tbc (default)
At least one output file must be specified
}}}

Seems like contrast loosing when converting a pixel format from yuvj422p to yuv420p. 
I tryed to encode same video from mplayer yuv4mpeg raw file and in this case contrast on output video is the same.

I cannot find mplayer ftp server to upload samples. Where can I upload it?"	sghpunk
git-master	231	ffplay freezes with date -s in linux	FFplay	git-master	defect	open	2011-05-23T08:40:29+02:00	2011-06-20T06:11:47+02:00	"While playing a video clip in ffplay, setting system time in linux by ""date -s"" freezes video playback while audio seems to be playing.

System Ubuntu 10.04 LTS x86_64
ffmpeg recent (20/50/2011) git pulled 

Does it has some thing to do with core ffmpeg"	sahandeva
git-master	258	RTP over UDP: doesn't reorder packets	avformat	git-master	defect	new	2011-06-01T11:26:27+02:00	2011-11-15T03:42:57+01:00	"muxonly.c source
...
ic = avformat_alloc_context();
ic->preload   = 1000000; // 1 sec
ic->max_delay = 3000000; // 5 sec
ap.prealloced_context = 1;
ret = av_open_input_file(&ic, argv[1], NULL, 0, &ap);
...
while ()
  av_read_frame()
...

libavformat/rtpdec.h
-#define RTP_REORDER_QUEUE_DEFAULT_SIZE 10
+#define RTP_REORDER_QUEUE_DEFAULT_SIZE 50

./muxonly 'rtsp://axis1031:554/axis-media/media.amp?video=1&audio=0&videocodec=mpeg4' mov /tmp/test.mov
SDP:
v=0
o=- 1306917023786450 1306917023786450 IN IP4 axis1031
s=Media Presentation
e=NONE
c=IN IP4 0.0.0.0
b=AS:8000
t=0 0
a=control:rtsp://axis1031:554/axis-media/media.amp?video=1&audio=0&videocodec=mpeg4
a=range:npt=0.000000-
m=video 0 RTP/AVP 96
b=AS:8000
a=framerate:30.0
a=transform:1,0,0;0,1,0;0,0,1
a=control:rtsp://axis1031:554/axis-media/media.amp/trackID=1?video=1&audio=0&videocodec=mpeg4
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=245; config=000001B0F5000001B50ECF000001000000012000C88D881F4514043C14103F

video codec set to: mpeg4
hello state=0
RTP: missed 3 packets
RTP: missed 2 packets
RTP: missed 2 packets
RTP: missed 1 packets
RTP: missed 3 packets
RTP: missed 5 packets
RTP: missed 2 packets
RTP: missed 2 packets
RTP: missed 3 packets
RTP: missed 4 packets
RTP: missed 3 packets
RTP: missed 1 packets
RTP: missed 5 packets
RTP: missed 3 packets
RTP: missed 4 packets
RTP: missed 4 packets
RTP: missed 4 packets
RTP: missed 7 packets
RTP: missed 4 packets
RTP: missed 4 packets
RTP: missed 4 packets
RTP: missed 6 packets
RTP: missed 3 packets
RTP: missed 4 packets
RTP: missed 6 packets
RTP: missed 2 packets
RTP: missed 4 packets
RTP: missed 5 packets
RTP: missed 3 packets
RTP: missed 3 packets
RTP: missed 2 packets
RTP: missed 3 packets
RTP: missed 2 packets
RTP: missed 5 packets
RTP: missed 3 packets
RTP: missed 13 packets
RTP: missed 29 packets
RTP: missed 12 packets
RTP: missed 28 packets
RTP: missed 3 packets
RTP: missed 15 packets
RTP: missed 7 packets
RTP: missed 8 packets
RTP: missed 14 packets
RTP: missed 2 packets
RTP: missed 9 packets
RTP: missed 21 packets
RTP: missed 5 packets
RTP: missed 28 packets
RTP: missed 9 packets
RTP: missed 5 packets
RTP: missed 8 packets
RTP: missed 17 packets
RTP: missed 46 packets
RTP: missed 3 packets
RTP: missed 4 packets
RTP: missed 3 packets
RTP: missed 1 packets
RTP: missed 4 packets
RTP: missed 3 packets
RTP: missed 2 packets
RTP: missed 3 packets
RTP: missed 1 packets
RTP: missed 5 packets
All info found
Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://axis1031:554/axis-media/media.amp?video=1&audio=0&videocodec=mpeg4':
  Metadata:
    title           : Media Presentation
  Duration: N/A, start: 3.690289, bitrate: N/A
    Stream #0.0, 22, 1/90000: Video: mpeg4, yuv420p, 640x480 [PAR 1:1 DAR 4:3], 1k tbr, 90k tbn, 1k tbc

AVFormatContext: start_time = 3690289 (1/1000000)  3.690 sec
AVStream: start_time =  332126 (1/90000)  3.690 sec, first_dts =  332126 3.690 sec

Output #0, mov, to '/tmp/test.mov':
    Stream #0.0, 0, 1/90000: Video: mpeg4, yuv420p, 640x480, q=2-31, 90k tbn, 90k tbc
Output #0, mov, to '/tmp/test.mov':
  Metadata:
    encoder         : Lavf53.2.0
    Stream #0.0, 0, 1/90000: Video: mpeg4, yuv420p, 640x480, q=2-31, 90k tbn, 90k tbc

"	Andrew
git-master	279	Remuxing aac in TS fails	undetermined	git-master	defect	open	2011-06-12T00:28:18+02:00	2012-10-17T12:09:35+02:00	"Hi.

It seems that mpegts_write_header, which is in charge of calling ff_adts_decode_extradata, is not called.

Here an execution trace (with stripped h264 errors):
$ ffmpeg -v 10 -loglevel debug -i sample.ts -acodec copy -vcodec copy output.ts
ffmpeg version git-N-30723-ge887690, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 12 2011 00:00:43 with gcc 4.4.5
  configuration: --disable-doc --enable-extra-warnings --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --enable-nonfree --enable-libfaac --enable-libmp3lame --enable-libx264
  libavutil    51.  8. 0 / 51.  8. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  3. 1 / 53.  3. 1
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 15. 1 /  2. 15. 1
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
[NULL @ 0x1f89400] Format mpegts probed with size=2048 and score=100
[mpegts @ 0x1f89400] stream=0 stream_type=1b pid=44 prog_reg_desc=
[mpegts @ 0x1f89400] stream=1 stream_type=f pid=45 prog_reg_desc=
[mpegts @ 0x1f89400] stream=2 stream_type=6 pid=46 prog_reg_desc=
[mpegts @ 0x1f89400] stream=3 stream_type=f pid=47 prog_reg_desc=
[aac @ 0x1facee0] channel element 1.2 is not allocated
[aac @ 0x1f90ae0] channel element 1.5 is not allocated
Input #0, mpegts, from 'sample.ts':
  Duration: 00:00:03.78, start: 86862.833978, bitrate: 3977 kb/s
  Program 8824 
    Stream #0.0[0x44], 78, 1/90000: Video: h264 (High), yuv420p, 1440x1080 [PAR 4:3 DAR 16:9], 1/50, 27.94 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0.1[0x45](fra), 70, 1/90000: Audio: aac, 48000 Hz, stereo, s16, 61 kb/s
    Stream #0.2[0x46](fra), 79, 1/90000: Subtitle: [6][0][0][0] / 0x0006
    Stream #0.3[0x47](qaa), 72, 1/90000: Audio: aac, 48000 Hz, stereo, s16, 60 kb/s
File 'output.ts' already exists. Overwrite ? [y/N] y
[mpegts @ 0x1f8fde0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'output.ts':
  Metadata:
    encoder         : Lavf53.3.1
    Stream #0.0, 0, 1/90000: Video: libx264, yuv420p, 1440x1080 [PAR 4:3 DAR 16:9], 1/25, q=2-31, 90k tbn, 25 tbc
    Stream #0.1(qaa), 0, 1/90000: Audio: libfaac, 48000 Hz, stereo, 60 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.3 -> #0.1
Press [q] to stop, [?] for help
[mpegts @ 0x1f8fde0] aac bitstream not in adts format and extradata missing
av_interleaved_write_frame(): Operation not permitted
"	etienne
git-master	317	mpeg4 (geov & geox fouccs) needs to be flipped	avcodec	git-master	defect	open	2011-06-28T19:24:55+02:00	2012-12-02T15:03:12+01:00	"http://samples.mplayerhq.hu/V-codecs/geov.avi

https://trac.videolan.org/vlc/ticket/3615

{{{
C:\>ffmpeg -i geov.avi
ffmpeg version N-30956-g81ef892, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 22 2011 17:34:15 with gcc 4.5.3
  configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-
runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
 --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
e-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[avi @ 01E5A600] Something went wrong during header parsing, I will ignore it an
d try to continue anyway.
[mpeg4 @ 01E5AB00] hmm, seems the headers are not complete, trying to guess time
_increment_bits
[mpeg4 @ 01E5AB00] my guess is 5 bits ;)
[avi @ 01E5A600] Could not find codec parameters (Subtitle: [0][0][0][0] / 0x000
0)
Input #0, avi, from 'geov.avi':
  Duration: 00:00:03.03, start: 0.000000, bitrate: 1374 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 720x240, 30 fps, 30 tbr, 30 tbn, 30 tbc
    Stream #0.1: Subtitle: [0][0][0][0] / 0x0000
At least one output file must be specified
}}}

"	ami_stuff
git-master	353	Failed compiling FFmpeg in OS X 10.6.8	build system	git-master	defect	open	2011-07-17T22:38:18+02:00	2012-05-22T17:54:32+02:00	"Hi guys,

Over at the Homebrew project (OS X package manager) we're running into issues compiling and installing FFmpeg on OS X.

You can see our ticket here: https://github.com/mxcl/homebrew/issues/6278
The compilation error is seen here: https://gist.github.com/1059859
Someone managed to make it fail a bit later by doing this: https://gist.github.com/1072836

Can you provide us any help in getting this to compile? Thanks."	joao
git-master	424	A/V desync on transport stream	avcodec	git-master	defect	open	2011-09-01T12:33:46+02:00	2013-01-17T10:14:44+01:00	"http://streams.videolan.org/issues/5203/ts720p_i_fr.ts

The stream contains 720p60 H264 video and mp2 stereo sound. When transcoded with FFmpeg, the resulting file is non-interleaved, i.e. the 15 seconds of sound come first (without picture). MPlayer's mpegts demuxer indicates that the stream does start with mostly identical timestamps for audio and video (but plays the video too fast).
FFmpeg seems to believe that audio starts with timestamps ~130 and video with ~260.
{{{
$ ffmpeg -i ts720p_i_fr.ts -qscale 5 out.avi
ffmpeg version N-32263-g3584b01, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep  1 2011 12:14:35 with gcc 4.5.3
  configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
  libavutil    51. 14. 0 / 51. 14. 0
  libavcodec   53. 12. 0 / 53. 12. 0
  libavformat  53. 10. 0 / 53. 10. 0
  libavdevice  53.  3. 0 / 53.  3. 0
  libavfilter   2. 37. 0 /  2. 37. 0
  libswscale    2.  0. 0 /  2.  0. 0
[mpegts @ 0x8c963a0] Continuity Check Failed
[mpegts @ 0x8c963a0] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x8c963a0] PES packet size mismatch
Input #0, mpegts, from 'ts720p_i_fr.ts':
  Duration: 00:00:14.61, start: 130.272000, bitrate: 9237 kb/s
  Program 16
    Metadata:
      service_name    : PMR COBRA 1213
      service_provider: PMR
    Stream #0.0[0x109]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 90k tbn, 120 tbc
    Stream #0.1[0x103]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 128 kb/s
[buffer @ 0x8d86a00] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf53.10.0
    Stream #0.0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 60 tbn, 60 tbc
    Stream #0.1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, flt, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0 (h264 -> mpeg4)
  Stream #0.1 -> #0.1 (mp2 -> ac3)
Press [q] to stop, [?] for help
[mpegts @ 0x8c963a0] Continuity Check Failed
    Last message repeated 1 times   236kB time=00:00:14.27 bitrate= 135.6kbits/s
[mpegts @ 0x8c963a0] PES packet size mismatch
[h264 @ 0x8c9b6e0] error while decoding MB 76 41, bytestream (-5)
[h264 @ 0x8c9b6e0] concealing 293 DC, 293 AC, 293 MV errors
frame=  852 fps= 31 q=5.0 Lsize=  177161kB time=00:00:14.62 bitrate=99241.4kbits/s
video:12002kB audio:228kB global headers:0kB muxing overhead 1348.534109%
}}}"	cehoyos
git-master	443	-color_range AVOption appears to do nothing	documentation	git-master	defect	open	2011-09-07T16:20:41+02:00	2013-03-01T11:55:25+01:00	"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."	nichot20
git-master	502	Jumping frames (wrong presentation order) when copying video (muxing) of an h264 file (to m4v/mp4) in Quicktime	undetermined	git-master	defect	reopened	2011-09-23T09:21:54+02:00	2013-01-02T13:20:08+01:00	"Description: Jumping frames when copying video of an h264 file
Version: latest trunk
URL: see below

Steps that will reproduce the problem?
ffmpeg -i sample.avi -vcodec copy sample-copy.m4v

What is the expected result?
Converted file w/o any issues.

What happens instead?
The frames ""jump"" in the converted file when playing it with QuickTimePlayer X 10.1 (more) or VLC (less). 

Possible workaround:
ffmpeg -i sample.avi sample-copy.m4v

Any additional information:
* Example: see below
* Command:
{{{
$ ffmpeg -y -i sample.avi -vcodec copy sample-copy.m4v
ffmpeg version N-30168-g6d789f5, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep 23 2011 09:20:16 with clang 2.1 (tags/Apple/clang-163.7.1)
  configuration: --enable-zlib --disable-debug --enable-libfaac --enable-libx264 --enable-gpl --enable-nonfree --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --cc=clang
  libavutil    51. 17. 0 / 51. 17. 0
  libavcodec   53. 17. 0 / 53. 17. 0
  libavformat  53. 13. 0 / 53. 13. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 43. 3 /  2. 43. 3
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, avi, from 'sample.avi':
  Metadata:
    encoder         : transcode-1.0.7rc1
  Duration: 02:02:15.00, start: 0.000000, bitrate: 0 kb/s
    Stream #0.0: Video: h264 (Main) (H264 / 0x34363248), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0.1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 192 kb/s
Output #0, ipod, to 'sample-copy.m4v':
  Metadata:
    encoder         : Lavf53.13.0
    Stream #0.0: Video: h264 (avc1 / 0x31637661), yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 25 tbn, 25 tbc
    Stream #0.1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0 (copy)
  Stream #0.1 -> #0.1 (mp3 -> libfaac)
Press [q] to stop, [?] for help
[ipod @ 0x7ff8f32d1c00] pts has no value
    Last message repeated 64 times
frame=   65 fps=  0 q=-1.0 Lsize=     479kB time=00:00:02.60 bitrate=1509.5kbits/s    
video:436kB audio:40kB global headers:0kB muxing overhead 0.564932%
}}}"	Alex__
git-master	515	Problem in video rotation in FFMPEG for IPhone video	FFmpeg	git-master	defect	open	2011-09-28T07:14:04+02:00	2012-11-18T02:50:32+01:00	"I am trying to to compress IPhone recorded .mov file in to .mp4. If i record video in portrait mode in IPhone then after compression output video rotate automatically by 90 degree. I saw there are many patches given by some guys but they are just for extracting orientation information not for rotating output video.

I am working on 0.8.4 version. Please let me know are you planning to fix this issue in coming build version or is there any other way to handle this issue ? "	Gagan
git-master	538	J2K files with 444p are incorrectly written	avcodec	git-master	defect	reopened	2011-10-09T20:55:17+02:00	2013-01-02T00:31:59+01:00	"Files written with yuv444p cannot be read.
{{{
./ffmpeg -i tests/lena.pnm -pix_fmt yuv444p -strict experimental out.jp2
ffmpeg version N-33430-gcb50ada, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct  9 2011 20:28:29 with gcc 4.5.3
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil    51. 20. 1 / 51. 20. 1
  libavcodec   53. 19. 1 / 53. 19. 1
  libavformat  53. 14. 0 / 53. 14. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 43. 6 /  2. 43. 6
  libswscale    2.  1. 0 /  2.  1. 0
Input #0, image2, from 'tests/lena.pnm':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x12d9e20] w:256 h:256 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 0x12cf7e0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
[scale @ 0x12d0000] w:256 h:256 fmt:rgb24 -> w:256 h:256 fmt:yuv444p flags:0x4
Output #0, image2, to 'out.jp2':
  Metadata:
    encoder         : Lavf53.14.0
    Stream #0:0: Video: j2k, yuv444p, 256x256, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0 (ppm -> j2k)
Press [q] to stop, [?] for help
frame=    1 fps=  0 q=0.0 Lsize=      -0kB time=00:00:00.04 bitrate=  -4.4kbits/s
video:89kB audio:0kB global headers:0kB muxing overhead -100.024241%
}}}
{{{
/ffmpeg -i out.jp2
ffmpeg version N-33430-gcb50ada, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct  9 2011 20:28:29 with gcc 4.5.3
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil    51. 20. 1 / 51. 20. 1
  libavcodec   53. 19. 1 / 53. 19. 1
  libavformat  53. 14. 0 / 53. 14. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 43. 6 /  2. 43. 6
  libswscale    2.  1. 0 /  2.  1. 0
Input #0, image2, from 'out.jp2':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: j2k, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
}}}"	cehoyos
git-master	604	Multithreaded ffmpeg decode with DXVA2 hangs	avcodec	git-master	defect	new	2011-11-02T00:53:21+01:00	2013-01-18T14:29:00+01:00	"I posted this at http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=23&t=267, but it's probably more appropriate here.

First, I'd like to say how awesome ffmpeg is.  We love it, love it, love it.

Anyway, we're seeing a hang attempting to decode H264 video using DXVA2 (aka pixel format PIX_FMT_DXVA2_VLD). This is in the recently released Plex Media Center (http://www.plexapp.com). The only workaround we've found is to use a single thread when decoding.

It would be great if you could help us diagnose the issue. We suspect an ffmpeg bug, but it's possible that we're doing something wrong as well.

In our repro case, we call avcodec_thread_init with 8 threads, then avcodec_open, then obviously avcodec_decode_video. If we don't call avcodec_thread_init and we leave the context's default of 1 thread, then no hang occurs and decoding proceeds smoothly.

The hang itself occurs on the second or third call to avcodec_decode_video. Unfortunately, because of the difficulty of debugging ffmpeg code on Windows, I don't have good stack traces to provide. All I can see is avcodec waiting on what appear to be pthreads condition variables. None of our related threads are hung, and avcodec_decode_video is not returning, so my guess would be a deadlock in ffmpeg.

Here's a sample thread in cdb - not very useful, obviously:

24 Id: 3bc8.15e4 Suspend: 1 Teb: fff50000 Unfrozen
ChildEBP RetAddr
1681f728 76eb0bdd ntdll_779a0000!NtWaitForMultipleObjects+0x15
1681f7c4 75f71a2c KERNELBASE!WaitForMultipleObjectsEx+0x100
1681f80c 75f74208 KERNEL32!WaitForMultipleObjectsExImplementation+0xe0
1681f828 6e0c5173 KERNEL32!WaitForMultipleObjects+0x18
WARNING: Stack unwind information not available. Following frames may be wrong.
1681f858 6e0c5582 libpthread_2!pthreadCancelableTimedWait+0x47
1681f8d8 6e0c66c3 libpthread_2!sem_timedwait+0x15e
1681f928 661a1740 libpthread_2!pthread_cond_wait+0xeb
1681f974 6e0c5121 avcodec_53!av_parser_close+0x71ac
1681f9a4 76861287 libpthread_2!pthread_exit+0xf5
1681f9dc 76861328 msvcrt!_endthreadex+0x44
1681f9e4 75f7339a msvcrt!_endthreadex+0xce
1681f9f0 779d9ed2 KERNEL32!BaseThreadInitThunk+0xe
1681fa30 779d9ea5 ntdll_779a0000!__RtlUserThreadStart+0x70
1681fa48 00000000 ntdll_779a0000!_RtlUserThreadStart+0x1b

More context: we're using ffmpeg library bits built from current ffmpeg sources, using MSYS/MinGW. We have some customizations, but they are relatively minor and unrelated to this area.

The following is our configure command line:

$ cat configure-windows.sh
./configure --disable-static --disable-debug --enable-runtime-cpudetect --disable-mmx --disable-mmx2 --arch=i386 --disable-muxers --enable-muxer=spdif --enable-muxer=adts --disable-encoders --enable-encoder=ac3 --enable-encoder=aac --disable-libvorbis --disable-devices --disable-ffplay --disable-ffserver --disable-ffmpeg --enable-shared --disable-decoder=mpeg_xvmc --enable-postproc --enable-gpl --enable-protocol=http --enable-pthreads --enable-runtime-cpudetect --enable-memalign-hack --enable-dxva2 --enable-decoder=h264_dxva2 --enable-hwaccel=h264_dxva2 --extra-cflags=-Isysinc

Is there any other data I can provide that might help to debug this?

Thanks!"	IMarshal
git-master	628	Frame copy concealment is not working for h.264	undetermined	git-master	defect	new	2011-11-09T04:12:16+01:00	2011-11-09T20:25:49+01:00	"I am trying to decode from .264 to yuv format.
I dropped slices (one by one) in h.264 file format and then decoded the .264 to yuv format. During decoding, decoder is dropping the respective frame if I drop the slice which contain whole frame. This type of scenario only comes with B frame till now where my frame size is lesser then slice size. 

Command line to decode- ffmpeg -b:v 512k -r 30 -i error_$sliceno.264 -b:v 512k -x264opts sar=352:288 -r 30 -y decode_$sliceno.yuv 

{{{
ffmpeg version N-34140-g246c8da, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct 28 2011 12:04:45 with gcc 4.4.5
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
  libavutil    51. 22. 0 / 51. 22. 0
  libavcodec   53. 23. 0 / 53. 23. 0
  libavformat  53. 17. 0 / 53. 17. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 45. 1 /  2. 45. 1
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[h264 @ 0xa845c20] Format h264 probed with size=2048 and score=51
[h264 @ 0xa84c0a0] err{or,}_recognition separate: 1; 1
[h264 @ 0xa84c0a0] err{or,}_recognition combined: 1; 1
[h264 @ 0xa84c0a0] no picture
[h264 @ 0xa84c0a0] Possibly too many slices (16 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa84c0a0] Possibly too many slices (17 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa84c0a0] Possibly too many slices (18 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa84c0a0] Possibly too many slices (19 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa84c0a0] Possibly too many slices (20 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa84c0a0] Possibly too many slices (24 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa84c0a0] Possibly too many slices (33 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa84c0a0] Possibly too many slices (36 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa84c0a0] Possibly too many slices (40 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa84c0a0] Possibly too many slices (44 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa84c0a0] Possibly too many slices (75 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa845c20] max_analyze_duration 5000000 reached at 5000000
[h264 @ 0xa845c20] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 60.00 (60/1) -> 30.00 (60/2)
Input #0, h264, from 'error_4942.264':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 152, 1/1200000: Video: h264 (High), yuv420p, 352x288, 1/60, 30 fps, 30 tbr, 1200k tbn, 60 tbc
[buffer @ 0xa9c9140] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[rawvideo @ 0xa84d880] err{or,}_recognition separate: 1; 1
[rawvideo @ 0xa84d880] err{or,}_recognition combined: 1; 1
[h264 @ 0xa84c0a0] err{or,}_recognition separate: 1; 1
[h264 @ 0xa84c0a0] err{or,}_recognition combined: 1; 1
Output #0, rawvideo, to 'out_4942.yuv':
  Metadata:
    encoder         : Lavf53.17.0
    Stream #0:0, 0, 1/90000: Video: rawvideo (I420 / 0x30323449), yuv420p, 352x288, 1/30, q=2-31, 512 kb/s, 90k tbn, 30 tbc
Stream mapping:
  Stream #0.0 -> #0.0 (h264 -> rawvideo)
Press [q] to stop, [?] for help
[h264 @ 0xa84c0a0] no picture
[h264 @ 0xa84c0a0] Possibly too many slices (16 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa84c0a0] Possibly too many slices (17 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa84c0a0] Possibly too many slices (18 >= 16), increase MAX_SLICES and recompile if there are artifacts

...

[h264 @ 0xa84c0a0] Possibly too many slices (203 >= 16), increase MAX_SLICES and recompile if there are artifacts
[h264 @ 0xa84c0a0] Possibly too many slices (204 >= 16), increase MAX_SLICES and recompile if there are artifacts
frame=  299 fps=  0 q=0.0 Lsize=   44402kB time=00:00:09.96 bitrate=36495.4kbits/s    

video:44402kB audio:0kB global headers:0kB muxing overhead 0.000000%
}}}"	hardiksharma
git-master	631	Broken mp4 files need the h264_mp4toannexb filter and the parser	undetermined	git-master	defect	open	2011-11-09T11:09:10+01:00	2012-04-08T01:18:41+02:00	"http://thread.gmane.org/gmane.comp.video.ffmpeg.user/33553

http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20111108/dae58f17/attachment.mp4
http://cache.gmane.org//gmane/comp/video/ffmpeg/user/33553-001.bin

File is said to play fine with WMP12, plays (too small but) without artefacts with QuickTime, shows many artefacts with FFmpeg.

Works mostly with
ffmpeg -i noStartCode.mp4 -vcodec copy -bsf h264_mp4toannexb out.h264
{{{
$ ffmpeg -i noStartCode.mp4 -qscale 2 out.avi
ffmpeg version N-34594-g3bdfef3, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov  9 2011 09:56:19 with gcc 4.5.3
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil    51. 24. 0 / 51. 24. 0
  libavcodec   53. 29. 0 / 53. 29. 0
  libavformat  53. 20. 0 / 53. 20. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 47. 0 /  2. 47. 0
  libswscale    2.  1. 0 /  2.  1. 0
[h264 @ 0x1390720] no frame!

Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 60.00 (60/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'noStartCode.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
    creation_time   : 2011-09-26 19:20:57
  Duration: 00:00:37.81, start: 0.000000, bitrate: 881 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 875 kb/s, 60 fps, 60 tbr, 600 tbn, 59.94 tbc
    Metadata:
      creation_time   : 2011-09-26 19:20:57
      handler_name    : ?Apple Alias Data Handler
[buffer @ 0x13885c0] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:8/9 sws_param:
Output #0, avi, to 'out.avi':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
    creation_time   : 2011-09-26 19:20:57
    ISFT            : Lavf53.20.0
    Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 200 kb/s, 60 tbn, 60 tbc
    Metadata:
      creation_time   : 2011-09-26 19:20:57
      handler_name    : ?Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mpeg4)
Press [q] to stop, [?] for help
[h264 @ 0x1390720] no frame!
Error while decoding stream #0:0
[h264 @ 0x1390720] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x1390720] no frame!
Error while decoding stream #0:0
[h264 @ 0x1390720] mmco: unref short failure
    Last message repeated 1 times

...

[h264 @ 0x1390720] no frame!
Error while decoding stream #0:0
[h264 @ 0x1390720] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x1390720] no frame!
Error while decoding stream #0:0
[h264 @ 0x1390720] mmco: unref short failure
    Last message repeated 1 times
[h264 @ 0x1390720] no frame!
Error while decoding stream #0:0
frame=   85 fps= 54 q=2.0 Lsize=    6264kB time=00:00:06.03 bitrate=8505.1kbits/s
video:6250kB audio:0kB global headers:0kB muxing overhead 0.226366%
}}}
"	cehoyos
git-master	655	mms stream shows artefacts on codec change	undetermined	git-master	defect	reopened	2011-11-15T04:34:39+01:00	2013-01-03T04:52:36+01:00	"
I try to play mms://72.13.93.186/campcartoon with my android player which
is implemented by our staff.

We use ffmpeg to decode a/v frames, and most mms streams are playing well.
TubTub.com (mms://72.13.93.186/campcartoon) is always going wrong after playing for a while.
I cannot figure out what does matter with it. There are some log messages shown by ffmpeg.

When asf parser emitted error messages, my screen doesn't look good. 
We can reproduce it in ffplay on x86 machine.

Here are log messages from adb logcat
{{{
I/libffmpeg( 2421): [asf @ 0x384b00] ff asf bad header 0  at:10661828
I/libffmpeg( 2421): [asf @ 0x384b00] ff asf skip 1435 (unknown stream)
I/libffmpeg( 2421): [asf @ 0x384b00] ff asf bad header b4  at:10663272
I/libffmpeg( 2421): [asf @ 0x384b00] invalid padsize 15554 at:10663276
I/libffmpeg( 2421): [asf @ 0x384b00] ff asf bad header 31  at:10663286
I/libffmpeg( 2421): [asf @ 0x384b00] invalid padsize 56873 at:10663288
I/libffmpeg( 2421): [asf @ 0x384b00] ff asf bad header e2  at:10663310
I/libffmpeg( 2421): [asf @ 0x384b00] ff asf bad non zero
I/libffmpeg( 2421): [asf @ 0x384b00] ff asf bad header f  at:10663354
I/libffmpeg( 2421): [asf @ 0x384b00] ff asf bad header 4  at:10664880
I/libffmpeg( 2421): [asf @ 0x384b00] packet_obj_size invalid
I/libffmpeg( 2421): [asf @ 0x384b00] ignoring invalid packet_obj_size (4062 147 3412 8292)
I/libffmpeg( 2421): [asf @ 0x384b00] ignoring invalid packet_obj_size (4209 1410 3412 8292)
I/libffmpeg( 2421): [asf @ 0x384b00] ignoring invalid packet_obj_size (5619 1410 3412 8292)
I/libffmpeg( 2421): [asf @ 0x384b00] ignoring invalid packet_obj_size (7029 445 3412 8292)
I/libffmpeg( 2421): [asf @ 0x384b00] freeing incomplete packet size 8292, new 1272
I/libffmpeg( 2421): [vc1 @ 0x2860e0] Bits overconsumption: 39040 > 39008
I/libffmpeg( 2421): [vc1 @ 0x2860e0] concealing 22 DC, 22 AC, 22 MV errors
I/libffmpeg( 2421): [vc1 @ 0x2860e0] Bits overconsumption: 27354 > 27352 at 8x5
I/libffmpeg( 2421): [vc1 @ 0x2860e0] concealing 341 DC, 341 AC, 341 MV errors
I/libffmpeg( 2421): [vc1 @ 0x2860e0] Bits overconsumption: 32514 > 32512 at 22x18
I/libffmpeg( 2421): [vc1 @ 0x2860e0] concealing 2 DC, 2 AC, 2 MV errors
I/libffmpeg( 2421): [vc1 @ 0x2860e0] Bits overconsumption: 37293 > 37272
I/libffmpeg( 2421): [vc1 @ 0x2860e0] concealing 92 DC, 92 AC, 92 MV errors
I/libffmpeg( 2421): [vc1 @ 0x2860e0] Bits overconsumption: 40398 > 40392 at 0x13
I/libffmpeg( 2421): [vc1 @ 0x2860e0] concealing 149 DC, 149 AC, 149 MV errors
I/libffmpeg( 2421): [vc1 @ 0x2860e0] Bits overconsumption: 23513 > 23456
I/libffmpeg( 2421): [vc1 @ 0x2860e0] concealing 213 DC, 213 AC, 213 MV errors
I/libffmpeg( 2421): [vc1 @ 0x2860e0] Bits overconsumption: 22230 > 22208 at 4x18
I/libffmpeg( 2421): [vc1 @ 0x2860e0] concealing 20 DC, 20 AC, 20 MV errors
I/libffmpeg( 2421): [vc1 @ 0x2860e0] Bits overconsumption: 22809 > 22800 at 15x7
I/libffmpeg( 2421): [vc1 @ 0x2860e0] concealing 284 DC, 284 AC, 284 MV errors
I/libffmpeg( 2421): [vc1 @ 0x2860e0] Bits overconsumption: 15884 > 15864
I/libffmpeg( 2421): [vc1 @ 0x2860e0] concealing 279 DC, 279 AC, 279 MV errors
I/libffmpeg( 2421): [vc1 @ 0x2860e0] Bits overconsumption: 16257 > 16240 at 6x5
I/libffmpeg( 2421): [vc1 @ 0x2860e0] concealing 343 DC, 343 AC, 343 MV errors
}}}

The bad video picture will become to normal in x86 devices, but 'ff_mspel_motion' got crashed on Android (arm).
Here is my workaround to prevent from the negative array index:
https://github.com/qrtt1/ffmpeg_icy/commit/8f8bfb9ce74691cebdc704a7b65b38a8e0fee69f



"	qrtt1
git-master	679	DVB subtitles are badly placed on the screen	undetermined	git-master	defect	new	2011-11-23T01:14:45+01:00	2012-04-09T14:01:42+02:00	"Attached sample shows subtitles too far right on the screen so that a part cannot be read.
mplayer -demuxer mpegts -sid 593 and mplayer -demuxer lavf -sid 0 show the subtitle at the right position in the center of the screen (but cuts away the upper half).
{{{
$ ffmpeg -i subtitles.ts
ffmpeg version N-35086-g530a540, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov 23 2011 00:29:45 with gcc 4.5.3
  configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
  libavutil    51. 26. 0 / 51. 26. 0
  libavcodec   53. 36. 0 / 53. 36. 0
  libavformat  53. 21. 0 / 53. 21. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 49. 0 /  2. 49. 0
  libswscale    2.  1. 0 /  2.  1. 0
[mpeg2video @ 0x8dac120] mpeg_decode_postinit() failure
    Last message repeated 10 times
[mpegts @ 0x8d93a80] max_analyze_duration 5000000 reached at 5016000
[NULL @ 0x8db0420] start time is not set in estimate_timings_from_pts
[NULL @ 0x8dd06c0] start time is not set in estimate_timings_from_pts
[NULL @ 0x8dd6780] start time is not set in estimate_timings_from_pts
[NULL @ 0x8ddca00] start time is not set in estimate_timings_from_pts
[NULL @ 0x8de2c80] start time is not set in estimate_timings_from_pts
[mpegts @ 0x8d93a80] PES packet size mismatch
Input #0, mpegts, from 'subtitles.ts':
  Duration: 00:00:09.17, start: 11318.457333, bitrate: 2233 kb/s
  Program 8270
    Metadata:
      service_name    : ITV1
      service_provider: ITV
  Program 8325
    Metadata:
      service_name    : ITV2
      service_provider: ITV
  Program 8634
    Metadata:
      service_name    : Rabbit
      service_provider: Teletext Limited
  Program 8384
    Metadata:
      service_name    : Channel 4
      service_provider: Channel 4 TV
  Program 8448
    Metadata:
      service_name    : E4
      service_provider: Channel 4 TV
  Program 8442
    Metadata:
      service_name    : More 4
      service_provider: Channel 4 TV
    Stream #0:0[0x24e]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 544x576 [SAR 32:17 DAR 16:9], 15000 kb/s, 26.80 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x24f](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:2[0x250](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels, s16 (visual impaired)
    Stream #0:3[0x251](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:4[0x84f]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:5[0x911]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:6[0x912]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:7[0xbbb]: Unknown: none ([11][0][0][0] / 0x000B)
  Program 8452
    Metadata:
      service_name    : Channel 4+1
      service_provider: Channel 4 TV
  Program 8577
    Metadata:
      service_name    : Gay Rabbit
      service_provider: Teletext Limited
  Program 8500
    Metadata:
      service_name    : Channel 5
      service_provider: five
  Program 8370
    Metadata:
      service_name    : ITV1 +1
      service_provider: ITV
At least one output file must be specified
}}}
"	cehoyos
git-master	681	-vf mp=pullup leads to massive A/V-desync	avfilter	git-master	defect	open	2011-11-23T13:22:43+01:00	2013-01-11T15:40:34+01:00	"When I call -vf mp=pullup or (pullup,softskip) I get an ""Error opening filters!"" warning.

{{{
ffmpeg -y -i example.mov -vf mp=pullup -r 24000/1001 -c:v v210 -c:a copy example_ivtc.mov
ffmpeg version N-33392-gf3bacce, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct  8 2011 18:33:19 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --enable-gpl
  libavutil    51. 20. 0 / 51. 20. 0
  libavcodec   53. 19. 1 / 53. 19. 1
  libavformat  53. 14. 0 / 53. 14. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 43. 6 /  2. 43. 6
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x101005800] Unimplemented container channel layout.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x101005800] 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.

Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'example.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2011-11-05 17:32:17
  Duration: 00:19:52.02, start: -39.572900, bitrate: 1122 kb/s
    Stream #0:0(eng): Video: v210 (v210 / 0x30313276), yuv422p10le, 720x486, 223725 kb/s, SAR 9:10 DAR 4:3, 29.97 fps, 29.97 tbr, 30k tbn, 30k tbc
    Metadata:
      creation_time   : 2011-11-05 17:32:17
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s
    Metadata:
      creation_time   : 2011-11-05 17:32:17
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2011-11-05 17:32:17
[buffer @ 0x100e01900] w:720 h:486 pixfmt:yuv422p10le tb:1/1000000 sar:9/10 sws_param:
[mp @ 0x100e040c0] This is a unholy filter, it will be purified by the ffmpeg exorcist team
which will change its syntax from dark -vf mp to light -vf.
Thou shalst not make spells or scripts that depend on it
[buffersink @ 0x100e03d80] auto-inserting filter 'auto-inserted scale 0' between the filter 'Parsed_mp_0' and the filter 'out'
[mp @ 0x100e040c0] auto-inserting filter 'auto-inserted scale 1' between the filter 'src' and the filter 'Parsed_mp_0'
[scale @ 0x100e04a80] w:720 h:486 fmt:yuv422p10le -> w:720 h:486 fmt:yuv420p flags:0x4
Error opening filters!
}}}
"	dericed
git-master	691	Errors while decoding wmav2 stream	avcodec	git-master	defect	open	2011-11-27T19:45:22+01:00	2011-11-29T12:00:34+01:00	"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."	dimon94
git-master	730	Encoded video plays too fast for network input	undetermined	git-master	defect	open	2011-12-10T06:11:34+01:00	2013-01-03T03:53:35+01:00	"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."	hackeron
git-master	742	zygo video codec decodes with visible graphic corruption	avcodec	git-master	defect	open	2011-12-14T01:36:44+01:00	2013-01-15T00:27:07+01:00	"{{{
C:\>ffmpeg -i M3_E3TrailerMC56k7fps.mov
ffmpeg version N-35709-g7d531e8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 12 2011 13:50:00 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 43. 0 / 53. 43. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[h263 @ 020C9E20] illegal ac vlc code at 3x0
[h263 @ 020C9E20] Error at MB: 3
[h263 @ 020C9E20] concealing 180 DC, 180 AC, 180 MV errors

Seems stream 1 codec frame rate differs from container frame rate: 29.97 (30000/
1001) -> 7.50 (15/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'M3_E3TrailerMC56k7fps.mov':
  Metadata:
    creation_time   : 2004-07-06 16:29:59
  Duration: 00:02:35.73, start: 0.000000, bitrate: 55 kb/s
    Stream #0:0(eng): Audio: qdm2 (QDM2 / 0x324D4451), 44100 Hz, 1 channels, s16
, 10 kb/s
    Metadata:
      creation_time   : 2004-07-06 16:29:59
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Video: h263 (ZyGo / 0x6F47795A), yuv420p, 240x192 [SAR 12:
11 DAR 15:11], 45 kb/s, 7.50 fps, 7.50 tbr, 600 tbn, 29.97 tbc
    Metadata:
      creation_time   : 2004-07-06 16:29:59
      handler_name    : ?Apple Alias Data Handler
At least one output file must be specified
}}}"	ami_stuff
git-master	750	ffmpeg looses OGG-theora metadata tags (like title author etc) on OGG->OGG	avformat	git-master	defect	reopened	2011-12-14T19:17:41+01:00	2013-03-01T11:03:27+01:00	"I can transcode one ogg to second with adding tags:

ffmpeg  -i recRLBM.ogv -metadata TITLE=""My title"" -metadata ARTIST=""Me"" output.ogv

Tags are correctly added (what can I see when I run any video player and open output.ogv). But when I run ffmpeg:

ffmpeg -i output.ogv something.ogv

I don't have these metadata informations displayed on the Input #0:


ffmpeg version 0.8.7.git-366605f, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 14 2011 17:44:52 with gcc 4.4.5
  configuration: --prefix=/home/ryszard/NX-4.0.155/Build --disable-doc --disable-everything --enable-muxer=ogg --enable-demuxer=ogg --enable-muxer=webm --enable-demuxer=webm --enable-muxer=matroska --enable-demuxer=matroska --enable-muxer=rawvideo --enable-demuxer=rawvideo --enable-muxer=mpeg1system --enable-muxer=mpeg1vcd --enable-muxer=mpeg1video --enable-demuxer=mpegvideo --enable-demuxer=mpeg1system --enable-demuxer=mpeg1system --enable-demuxer=mpegps --enable-encoder=libtheora --enable-decoder=theora --enable-encoder=libvpx --enable-decoder=libvpx --enable-encoder=mpeg1video --enable-decoder=mpeg1video --enable-decoder=mpegvideo --enable-encoder=rawvideo --enable-decoder=rawvideo --enable-parser=mpegvideo --enable-filter=format --enable-protocol=pipe --enable-protocol=tcp --enable-protocol=file --enable-filter=scale --enable-libvpx --enable-libtheora --enable-zlib
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 44. 0 / 53. 44. 0
  libavformat  53. 25. 0 / 53. 25. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
Input #0, ogg, from 'output.ogv':
  Duration: 00:00:00.50, start: 0.000000, bitrate: 1046 kb/s
    Stream #0:0: Video: theora, yuv420p, 1440x900 [SAR 1:1 DAR 8:5], 10 tbr, 10 tbn, 10 tbc
File 'something.ogv' already exists. Overwrite ? [y/N] Y
w:1440 h:900 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
Output #0, ogg, to 'something.ogv':
  Metadata:
    encoder         : Lavf53.25.0
    Stream #0:0: Video: theora, yuv420p, 1440x900 [SAR 1:1 DAR 8:5], q=2-31, 200 kb/s, 10 tbn, 10 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (theora -> libtheora)
Press [q] to stop, [?] for help
"	RyszardG
git-master	819	ffmpeg fails to read an image if the image filename contains an accent (win32)	avformat	git-master	defect	open	2011-12-22T17:04:00+01:00	2012-10-08T22:42:29+02:00	"When I want to convert a JPG file to a video, ffmpeg fail if the JPG filename contains an accent.
Plateform is Windows Vista (6.0.6002)
Command line :


{{{
xx:>dir
11/07/2009  11:15             7 536 Vidéo000-title.png

xx:>ffmpeg.exe -y -i Vidéo000-title.png -target pal-dvd -aspect 16/9 -loop 1 -r 25 -t 10 Vidéo000-title.mpg

ffmpeg version N-35966-g1d0ae92, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 19 2011 13:01:15 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. 32. 0 / 51. 32. 0
  libavcodec   53. 46. 1 / 53. 46. 1
  libavformat  53. 27. 0 / 53. 27. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Vidéo000-title.png: No such file or directory
}}}

Same result with double-quote escaping, or fullpath to the file. If I remove the accentued char it works.

ffplay can play this image.

"	jemore
git-master	824	Segfault while using h264 hardware acceleration	avcodec	git-master	defect	new	2011-12-23T18:47:04+01:00	2013-05-07T10:07:25+02:00	"I'm using FFmpeg integrated in mplayer (with VA-API pathes), and I'm getting a SIGSEGV while trying to watch h264 video with HW-acceleration.

I've poked around with gdb and I think this is multithreading-related. After I added mplayer option ""-lavdopts threads=1"", which configures libavcodec, the problem has gone.

=== General info ===

Crash happens inside a thread, in the start_frame function (libavcodec/vaapi_h264.c:234):

{{{
    vactx->slice_param_size = sizeof(VASliceParameterBufferH264);
      ^-- vactx is NULL
}}}

and vactx is AVCodecContext.hwaccel_context, which should be set to vaapi_context struct instance. But I've set a breakpoint and seen hwaccel_context being properly set at the init stage, although AVCodecContext pointer being not the same as the one in the place it crashes. I suppose it happens because AVCodecContext gets copied and its fields are replicated across worker threads (libavcodec/pthread.c), and I haven't seen hwaccel_context being copied in the code.

Considering all above, I don't think it is needed to copy hwaccel_context, but rather to force threads=1 configuration on libavcodec when using HW acceleration. Several working threads would not improve anything in the case of HW accel, would they?

=== Debug info ===

{{{
(gdb) run -vo vaapi:gl -va vaapi ""<...>.mkv""
Starting program: /usr/local/mplayer-vaapi-build/mplayer -vo vaapi:gl -va vaapi ""<...>.mkv""
[Thread debugging using libthread_db enabled]
MPlayer SVN-r34365-4.6.1 (C) 2000-2011 MPlayer Team

Playing <...>.mkv.
libavformat file format detected.
[matroska,webm @ 0xc798e0]max_analyze_duration 5000000 reached at 5019000
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang jpn
[lavf] stream 2: subtitle (ass), -sid 0, -slang eng
VIDEO:  [H264]  1280x720  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Load subtitles in <...>
[vo_vaapi] Using OpenGL rendering
libva: libva version 0.32.0
Xlib:  extension ""XFree86-DRI"" missing on display "":0.0"".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
Opening video filter: [ass auto=1]
Couldn't open video filter 'ass'.
ASS: cannot add video filter
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[New Thread 0x7fffe13b6700 (LWP 12803)]
[New Thread 0x7fffe0bb5700 (LWP 12804)]
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[AO SDL] Samplerate: 48000Hz Channels: Stereo Format s16le
[New Thread 0x7fffdc3b3700 (LWP 12805)]
[Thread 0x7fffdc3b3700 (LWP 12805) exited]
[New Thread 0x7fffdc3b3700 (LWP 12806)]
AO: [sdl] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Unsupported PixelFormat 61
[VD_FFMPEG] Trying pixfmt=1.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vaapi] 1280x720 => 1280x720 H.264 VA-API Acceleration 
[VD_FFMPEG] XVMC-accelerated MPEG-2.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe13b6700 (LWP 12803)]
start_frame (avctx=0x1b098c0, buffer=0x0, size=0) at libavcodec/vaapi_h264.c:234
234	    vactx->slice_param_size = sizeof(VASliceParameterBufferH264);

(gdb) bt
#0  start_frame (avctx=0x1b098c0, buffer=0x0, size=0) at libavcodec/vaapi_h264.c:234
#1  0x00000000008724bb in decode_nal_units (h=0x2504250, buf=0x1b1b780 """", buf_size=2752) at libavcodec/h264.c:3920
#2  0x0000000000872c4a in decode_frame (avctx=0x1b098c0, data=0x1e53080, data_size=0x1e53200, avpkt=<optimized out>)
    at libavcodec/h264.c:4105
#3  0x0000000000945818 in frame_worker_thread (arg=0x1e52f20) at libavcodec/pthread.c:364
#4  0x00007ffff6170efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#5  0x00007ffff055389d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x0000000000000000 in ?? ()

(gdb) disass /m $pc-32,+64
Dump of assembler code from 0x9af3a7 to 0x9af3e7:
225	{
   0x00000000009af3ad <start_frame+0>:	push   %r14
   0x00000000009af3af <start_frame+2>:	push   %r13
   0x00000000009af3b1 <start_frame+4>:	push   %r12
   0x00000000009af3b3 <start_frame+6>:	push   %rbp
   0x00000000009af3b4 <start_frame+7>:	push   %rbx
   0x00000000009af3b5 <start_frame+8>:	sub    $0x10,%rsp

226	    H264Context * const h = avctx->priv_data;
   0x00000000009af3b9 <start_frame+12>:	mov    0x98(%rdi),%rbx

227	    MpegEncContext * const s = &h->s;
228	    struct vaapi_context * const vactx = avctx->hwaccel_context;
   0x00000000009af3c0 <start_frame+19>:	mov    0x3e8(%rdi),%r12

229	    VAPictureParameterBufferH264 *pic_param;
230	    VAIQMatrixBufferH264 *iq_matrix;
231	
232	    av_dlog(avctx, ""start_frame()\n"");
233	
234	    vactx->slice_param_size = sizeof(VASliceParameterBufferH264);
=> 0x00000000009af3c7 <start_frame+26>:	movl   $0x828,0x38(%r12)

235	
236	    /* Fill in VAPictureParameterBufferH264. */
237	    pic_param = ff_vaapi_alloc_pic_param(vactx, sizeof(VAPictureParameterBufferH264));
   0x00000000009af3d0 <start_frame+35>:	mov    $0x170,%esi
   0x00000000009af3d5 <start_frame+40>:	mov    %r12,%rdi
   0x00000000009af3d8 <start_frame+43>:	callq  0xa9f079 <ff_vaapi_alloc_pic_param>
   0x00000000009af3dd <start_frame+48>:	mov    %rax,%rbp

238	    if (!pic_param)
   0x00000000009af3e0 <start_frame+51>:	test   %rax,%rax
---Type <return> to continue, or q <return> to quit---q
Quit

(gdb) info locals
h = 0x2504250
s = 0x2504250
vactx = 0x0
pic_param = <optimized out>
iq_matrix = <optimized out>

(gdb) info registers
rax            0x10995a0	17405344
rbx            0x2504250	38814288
rcx            0x0	0
rdx            0x0	0
rsi            0x0	0
rdi            0x1b098c0	28350656
rbp            0x2504250	0x2504250
rsp            0x7fffe13b5c90	0x7fffe13b5c90
r8             0x1	1
r9             0x0	0
r10            0x0	0
r11            0x2	2
r12            0x0	0
r13            0x0	0
r14            0x0	0
r15            0x415f	16735
rip            0x9af3c7	0x9af3c7 <start_frame+26>
eflags         0x10206	[ PF IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
}}}"	static-void
git-master	845	Artefacts with Indeo 4	avcodec	git-master	defect	new	2011-12-29T02:17:59+01:00	2013-05-05T21:43:48+02:00	"http://samples.mplayerhq.hu/V-codecs/IV41/indeo4-avi/volcano.avi
mplayer -vc indeo4 plays the sample without the artefacts that FFmpeg shows.
{{{
$ ffmpeg -i volcano.avi -an -f null -
ffmpeg version N-36241-g6071e4d, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 29 2011 02:11:49 with gcc 4.5.3
  configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
  libavutil      51. 33.100 / 51. 33.100
  libavcodec     53. 49.100 / 53. 49.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 55.100 /  2. 55.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  5.100 /  0.  5.100
Input #0, avi, from 'volcano.avi':
  Duration: 00:02:24.70, start: 0.000000, bitrate: 14 kb/s
    Stream #0:0: Video: indeo4 (IV41 / 0x31345649), yuv410p, 176x144, 14.99 tbr, 14.99 tbn, 14.99 tbc
    Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 11025 Hz, 1 channels, u8, 88 kb/s
[buffer @ 0x8dcdf60] w:176 h:144 pixfmt:yuv410p tb:1/1000000 sar:0/1 sws_param:
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf53.29.100
    Stream #0:0: Video: rawvideo (YUV9 / 0x39565559), yuv410p, 176x144, q=2-31, 200 kb/s, 90k tbn, 14.99 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (indeo4 -> rawvideo)
Press [q] to stop, [?] for help
[indeo4 @ 0x8dcbd80] Buffer contains IP frames!
    Last message repeated 2 times
[indeo4 @ 0x8dcbd80] Corrupted tile data encountered!
[indeo4 @ 0x8dcbd80] Invalid band header sequence!
[indeo4 @ 0x8dcbd80] Error decoding band header
[indeo4 @ 0x8dcbd80] Error decoding band: 0, plane: 1
Error while decoding stream #0:0
Truncating packet of size 2626 to 2067
[indeo4 @ 0x8dcbd80] Corrupted tile data encountered!
[indeo4 @ 0x8dcbd80] Invalid band header sequence!
[indeo4 @ 0x8dcbd80] Error decoding band header
[indeo4 @ 0x8dcbd80] Error decoding band: 0, plane: 2
Error while decoding stream #0:0
frame=   67 fps=  0 q=0.0 Lsize=       0kB time=00:00:04.46 bitrate=   0.0kbits/s dup=1 drop=0
video:0kB audio:0kB global headers:0kB muxing overhead nan%
}}}
"	cehoyos
git-master	866	indeo4 artefacts with scalability and low quality	avcodec	git-master	defect	open	2012-01-02T21:23:29+01:00	2013-05-06T14:18:34+02:00	"{{{
ffmpeg.exe -i QT-IV44.mov -vcodec msmpeg4v2 -an out.avi
ffmpeg version 0.9.0.git-0af34c4, Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan  2 2012 19:27:43 with gcc 4.5.2
  configuration: --disable-ffplay --disable-ffserver --disable-asm --disable-yas
m --disable-shared --enable-static
  libavutil      51. 33.100 / 51. 33.100
  libavcodec     53. 50.100 / 53. 50.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 57.101 /  2. 57.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  5.100 /  0.  5.100

Seems stream 1 codec frame rate differs from container frame rate: 1000000.00 (1
000000/1) -> 24.00 (1000000/41667)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'QT-IV44.mov':
  Metadata:
    creation_time   : 2002-10-02 22:35:06
  Duration: 00:00:05.95, start: 0.000000, bitrate: 524 kb/s
    Stream #0:0(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 11025 Hz, 2 chann
els, s16, 88 kb/s
    Metadata:
      creation_time   : 2002-10-02 22:35:06
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Video: indeo4 (IV41 / 0x31345649), yuv410p, 192x128, 427 k
b/s, 24 fps, 24 tbr, 1000k tbn, 1000k tbc
    Metadata:
      creation_time   : 2002-10-02 22:35:06
      handler_name    : ?Apple Alias Data Handler
Incompatible pixel format 'yuv410p' for codec 'msmpeg4v2', auto-selecting format
 'yuv420p'
[buffer @ 016c28f0] w:192 h:128 pixfmt:yuv410p tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 016c2ab0] auto-inserting filter 'auto-inserted scale 0' between th
e filter 'src' and the filter 'out'
[scale @ 016c2cc0] w:192 h:128 fmt:yuv410p -> w:192 h:128 fmt:yuv420p flags:0x4
Output #0, avi, to 'out.avi':
  Metadata:
    creation_time   : 2002-10-02 22:35:06
    ISFT            : Lavf53.29.100
    Stream #0:0(eng): Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 192x128, q=
2-31, 200 kb/s, 24 tbn, 24 tbc
    Metadata:
      creation_time   : 2002-10-02 22:35:06
      handler_name    : ?Apple Alias Data Handler
Stream mapping:
  Stream #0:1 -> #0:0 (indeo4 -> msmpeg4v2)
Press [q] to stop, [?] for help
[msmpeg4v2 @ 016b7500] warning, clipping 1 dct coefficients to -127..127
frame=  123 fps=  0 q=11.4 size=     210kB time=00:00:05.12 bitrate= 336.1kbits/
frame=  143 fps=  0 q=9.1 Lsize=     245kB time=00:00:05.95 bitrate= 336.4kbits/
s
video:236kB audio:0kB global headers:0kB muxing overhead 3.809374%
}}}"	ami_stuff
git-master	893	jpegls: support color transforms	avcodec	git-master	defect	open	2012-01-06T22:03:49+01:00	2012-02-02T01:27:24+01:00	"Color Transform 1: R-=G, B-=G
Color Transform 2: B-=(R+G)/2
Color Transform 3: JPEG 2K lossless
Color Transform 4: YCbCr (not supported by IrfanView)

Created with Photoshop + lsjpeg plug-in, decodes correctly with IrfanView

There is also ""Color Transform 5: YCbCr 211"", but I'm unable to create the file (error message).

{{{
C:\>ffmpeg -i color_transform_1.jls
ffmpeg version N-36492-g7f83db3, Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan  5 2012 01:57:12 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 34.100 / 51. 34.100
  libavcodec     53. 53.100 / 53. 53.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 57.101 /  2. 57.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  5.100 /  0.  5.100
  libpostproc    51.  2.100 / 51.  2.100
Input #0, image2, from 'color_transform_1.jls':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: jpegls, rgb24, 1023x767, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
}}}"	ami_stuff
git-master	894	ljpeg: fix losslesss prediction 0 for 24bpp (and 48bpp)	avcodec	git-master	defect	reopened	2012-01-07T04:34:46+01:00	2012-01-15T20:03:54+01:00	"{{{
$ ffmpeg -i 24_pred0.jpg out2.bmp
ffmpeg version 0.9.0.git-12d8340 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan  7 2012 02:04:56 with gcc 4.5.2
  configuration: --disable-ffplay --disable-ffserver --disable-ffprobe --disable
-asm --disable-yasm --disable-shared --enable-static
  libavutil      51. 34.100 / 51. 34.100
  libavcodec     53. 54.100 / 53. 54.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 57.101 /  2. 57.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  5.100 /  0.  5.100
Input #0, image2, from '24_pred0.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, bgr24, 640x480, 25 tbr, 25 tbn, 25 tbc
[buffer @ 016c1940] w:640 h:480 pixfmt:bgr24 tb:1/1000000 sar:0/1 sws_param:
Output #0, image2, to 'out2.bmp':
  Metadata:
    encoder         : Lavf53.29.100
    Stream #0:0: Video: bmp, bgr24, 640x480, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> bmp)
Press [q] to stop, [?] for help
frame=    1 fps=  0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/
s
video:900kB audio:0kB global headers:0kB muxing overhead -100.000000%
}}}
"	ami_stuff
git-master	912	mpegts muxer does not follow TS buffering requirements specified in iso13818-1 section 2.4.2.3	avformat	git-master	defect	open	2012-01-11T15:26:30+01:00	2012-10-17T11:56:52+02:00	"The mpegts muxer in ffmpeg (tested with 0.9.1) does not respect the 512 byte transport buffer for each pid as described in iso13818-1 section 2.4.2.3.

Streams created with ffmpeg (with the muxrate option) have been seen to send over 100 packets in sequence (at least on video data) which exceeds the maximum buffer extraction rate for streams in the Main Level (as defined in iso13818-2 table 8-13). The same also applies to audio packets, albeit with different limits.

For any stream >18mbit/sec the maximum number of packets for a PID that can be inserted in sequence is 2 or 3 (assuming an empty buffer prior to insertion).

This can cause errors in decoding the ts on certain hardware.
The packets should therefore be ordered appropriately in the stream to comply with the TS buffer limit of 512 bytes when the muxrate parameter is specified."	jenf
git-master	925	"lead h263 - reject files encoded in ""high compression"" / rtp modes"	avcodec	git-master	defect	open	2012-01-18T19:22:42+01:00	2012-12-06T23:15:30+01:00	"I attache also ""normal"" file for comparison.

{{{
C:\>ffmpeg -i lead_h263_ehc.avi out.avi
ffmpeg version N-36890-g67f5650 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 16 2012 21:57:13 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 34.100 / 51. 34.100
  libavcodec     53. 56.105 / 53. 56.105
  libavformat    53. 30.100 / 53. 30.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 59.100 /  2. 59.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    51.  2.100 / 51.  2.100
[avi @ 020F2320] non-interleaved AVI
Input #0, avi, from 'lead_h263_ehc.avi':
  Duration: 00:00:03.00, start: 0.000000, bitrate: 143 kb/s
    Stream #0:0: Video: h263 (L263 / 0x3336324C), yuv420p, 720x480, 1 tbr, 1 tbn
, 1 tbc
[buffer @ 02101FA0] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf53.30.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480, q=2-31, 200
 kb/s, 1 tbn, 1 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h263 -> mpeg4)
Press [q] to stop, [?] for help
frame=    2 fps=  0 q=2.0 Lsize=      90kB time=00:00:03.00 bitrate= 246.1kbits/
s
video:85kB audio:0kB global headers:0kB muxing overhead 6.649102%
}}}

{{{
C:\>ffmpeg -i lead_h263_rtp.avi out.avi
ffmpeg version N-36890-g67f5650 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 16 2012 21:57:13 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 34.100 / 51. 34.100
  libavcodec     53. 56.105 / 53. 56.105
  libavformat    53. 30.100 / 53. 30.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 59.100 /  2. 59.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    51.  2.100 / 51.  2.100
[avi @ 020F2320] non-interleaved AVI
Input #0, avi, from 'lead_h263_rtp.avi':
  Duration: 00:00:03.00, start: 0.000000, bitrate: 218 kb/s
    Stream #0:0: Video: h263 (L263 / 0x3336324C), yuv420p, 720x480, 1 tbr, 1 tbn
, 1 tbc
w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf53.30.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480, q=2-31, 200
 kb/s, 1 tbn, 1 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h263 -> mpeg4)
Press [q] to stop, [?] for help
[h263 @ 020FA3E0] illegal ac vlc code at 19x0
[h263 @ 020FA3E0] Error at MB: 19
[h263 @ 020FA3E0] I cbpy damaged at 0 24
[h263 @ 020FA3E0] Error at MB: 1104
[h263 @ 020FA3E0] illegal ac vlc code at 23x26
[h263 @ 020FA3E0] Error at MB: 1219
[h263 @ 020FA3E0] I cbpy damaged at 26 20
[h263 @ 020FA3E0] Error at MB: 946
[h263 @ 020FA3E0] illegal ac vlc code at 27x0
[h263 @ 020FA3E0] Error at MB: 27
[h263 @ 020FA3E0] illegal ac vlc code at 29x16
[h263 @ 020FA3E0] Error at MB: 765
[h263 @ 020FA3E0] illegal ac vlc code at 21x0
[h263 @ 020FA3E0] Error at MB: 21
[h263 @ 020FA3E0] I cbpy damaged at 1 10
[h263 @ 020FA3E0] Error at MB: 461
[h263 @ 020FA3E0] illegal ac vlc code at 25x14
[h263 @ 020FA3E0] Error at MB: 669
[h263 @ 020FA3E0] illegal ac vlc code at 20x8
[h263 @ 020FA3E0] Error at MB: 388
[h263 @ 020FA3E0] illegal ac vlc code at 18x14
[h263 @ 020FA3E0] Error at MB: 662
[h263 @ 020FA3E0] I cbpy damaged at 5 26
[h263 @ 020FA3E0] Error at MB: 1201
[h263 @ 020FA3E0] I cbpy damaged at 3 12
[h263 @ 020FA3E0] Error at MB: 555
[h263 @ 020FA3E0] illegal ac vlc code at 16x18
[h263 @ 020FA3E0] Error at MB: 844
[h263 @ 020FA3E0] I cbpy damaged at 0 2
[h263 @ 020FA3E0] Error at MB: 92
[h263 @ 020FA3E0] I cbpy damaged at 18 0
[h263 @ 020FA3E0] Error at MB: 18
[h263 @ 020FA3E0] illegal ac vlc code at 18x4
[h263 @ 020FA3E0] Error at MB: 202
[h263 @ 020FA3E0] illegal ac vlc code at 15x24
[h263 @ 020FA3E0] Error at MB: 1119
[h263 @ 020FA3E0] I cbpy damaged at 3 0
[h263 @ 020FA3E0] Error at MB: 3
[h263 @ 020FA3E0] I cbpy damaged at 3 0
[h263 @ 020FA3E0] Error at MB: 3
[h263 @ 020FA3E0] illegal ac vlc code at 25x10
[h263 @ 020FA3E0] Error at MB: 485
[h263 @ 020FA3E0] I cbpy damaged at 2 20
[h263 @ 020FA3E0] Error at MB: 922
[h263 @ 020FA3E0] illegal ac vlc code at 6x10
[h263 @ 020FA3E0] Error at MB: 466
[h263 @ 020FA3E0] illegal ac vlc code at 18x26
[h263 @ 020FA3E0] Error at MB: 1214
[h263 @ 020FA3E0] illegal ac vlc code at 18x6
[h263 @ 020FA3E0] Error at MB: 294
[h263 @ 020FA3E0] run overflow at 1x4 i:1
[h263 @ 020FA3E0] Error at MB: 185
[h263 @ 020FA3E0] illegal ac vlc code at 32x0
[h263 @ 020FA3E0] Error at MB: 32
[h263 @ 020FA3E0] illegal ac vlc code at 25x22
[h263 @ 020FA3E0] Error at MB: 1037
[h263 @ 020FA3E0] illegal ac vlc code at 25x10
[h263 @ 020FA3E0] Error at MB: 485
[h263 @ 020FA3E0] illegal ac vlc code at 29x10
[h263 @ 020FA3E0] Error at MB: 489
[h263 @ 020FA3E0] illegal ac vlc code at 30x16
[h263 @ 020FA3E0] Error at MB: 766
[h263 @ 020FA3E0] illegal ac vlc code at 3x4
[h263 @ 020FA3E0] Error at MB: 187
[h263 @ 020FA3E0] concealing 1350 DC, 1350 AC, 1350 MV errors
frame=    2 fps=  0 q=2.0 Lsize=       9kB time=00:00:03.00 bitrate=  25.9kbits/
s
video:4kB audio:0kB global headers:0kB muxing overhead 145.733097%
}}}"	ami_stuff
git-master	933	A/V desynch when transcoding A/V files with timestamps non starting from 0 with -copyts	FFmpeg	git-master	defect	reopened	2012-01-20T18:24:43+01:00	2012-11-22T00:24:09+01:00	"Using the command:
{{{
ffmpeg -vsync 0 -copyts -i columbia-intro.ts -acodec libfaac -y columbia-intro.out.ts
}}}

(same without -vsync) the A/V streams in the output file result desynched, and will result in the video being unplayable. This seems due to the first audio packet timestamp information not being correctly propagated to the encoder (and to the muxer), and being set to 0, so that ffmpeg will fill the first part of the file with audio packets, and the probe will fail since ffmpeg can't detect video frames in the probed initial part of the file.

Same result in case I use the -copyts with no -vsync. If the output file only contains video (e.g. if the -an switch is used) the output file seems to be correctly generated (playable and with correct timestamp information).

I'm attaching a sample file and log obtained by adding debugging print in ffmpeg.c."	saste
git-master	946	ffplay: almost unreadable dvd subtitles due to wrong colors	avcodec	git-master	defect	open	2012-01-28T19:23:56+01:00	2012-01-29T15:12:34+01:00	"http://www.datafilehost.com/download-76a1c6a8.html

related to:

{{{
commit cf16104ad13f6c558ea386e5fa55a67e2b378f5e
Author: Reimar DĂ¶ffinger <Reimar.Doeffinger@gmx.de>
Date:   Sat Apr 30 23:00:17 2011 +0200

    Change guess_palette so its output matches the most common palette.
    
    This means it uses full brightness range and brightness
    increasing instead of decreasing with index of non-opaque
    color.
    
    Based on patch by Alexandre Colucci [alexandre elgato com]

diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c
index bb3e124..6d5973c 100644
--- a/libavcodec/dvdsubdec.c
+++ b/libavcodec/dvdsubdec.c
@@ -120,6 +120,14 @@ static void guess_palette(uint32_t *rgba_palette,
                           uint8_t *alpha,
                           uint32_t subtitle_color)
 {
+    static const uint8_t level_map[4][4] = {
+        // this configuration (full range, lowest to highest) in tests
+        // seemed most common, so assume this
+        {0xff},
+        {0x00, 0xff},
+        {0x00, 0x80, 0xff},
+        {0x00, 0x55, 0xaa, 0xff},
+    };
     uint8_t color_used[16];
     int nb_opaque_colors, i, level, j, r, g, b;
 
@@ -138,18 +146,18 @@ static void guess_palette(uint32_t *rgba_palette,
     if (nb_opaque_colors == 0)
         return;
 
-    j = nb_opaque_colors;
+    j = 0;
     memset(color_used, 0, 16);
     for(i = 0; i < 4; i++) {
         if (alpha[i] != 0) {
             if (!color_used[colormap[i]])  {
-                level = (0xff * j) / nb_opaque_colors;
+                level = level_map[nb_opaque_colors][j];
                 r = (((subtitle_color >> 16) & 0xff) * level) >> 8;
                 g = (((subtitle_color >> 8) & 0xff) * level) >> 8;
                 b = (((subtitle_color >> 0) & 0xff) * level) >> 8;
                 rgba_palette[i] = b | (g << 8) | (r << 16) | ((alpha[i] * 17) << 24);
                 color_used[colormap[i]] = (i + 1);
-                j--;
+                j++;
             } else {
                 rgba_palette[i] = (rgba_palette[color_used[colormap[i]] - 1] & 0x00ffffff) |
                                     ((alpha[i] * 17) << 24);
}}}

{{{
C:\>ffmpeg -i dvdsub.vob
ffmpeg version N-36890-g67f5650 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 16 2012 21:57:13 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 34.100 / 51. 34.100
  libavcodec     53. 56.105 / 53. 56.105
  libavformat    53. 30.100 / 53. 30.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 59.100 /  2. 59.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    51.  2.100 / 51.  2.100
[mpeg @ 020F2320] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from 'dvdsub.vob':
  Duration: 00:00:07.96, start: 1556.319267, bitrate: 5263 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DA
R 16:9], 7500 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:2[0x20]: Subtitle: dvd_subtitle
    Stream #0:3[0x22]: Subtitle: dvd_subtitle
    Stream #0:4[0x24]: Subtitle: dvd_subtitle
    Stream #0:5[0x25]: Subtitle: dvd_subtitle
    Stream #0:6[0x26]: Subtitle: dvd_subtitle
    Stream #0:7[0x28]: Subtitle: dvd_subtitle
    Stream #0:8[0x29]: Subtitle: dvd_subtitle
    Stream #0:9[0x21]: Subtitle: dvd_subtitle
    Stream #0:10[0x23]: Subtitle: dvd_subtitle
    Stream #0:11[0x27]: Subtitle: dvd_subtitle
    Stream #0:12[0x2a]: Subtitle: dvd_subtitle
At least one output file must be specified
}}}"	ami_stuff
git-master	948	No audio in output when the audio starts late in VOB file	avformat	git-master	defect	open	2012-01-29T00:24:57+01:00	2012-08-24T08:58:49+02:00	"Here are the details about the issue:

Source: .VOB file extracted from DVD decrypter (first chapter of the movie). This has one video stream, one audio stream (AC3 5.1). 

Issue: When I try to encode into any format, it reports 0 channels in ac3 stream and there is no audio track in the output. I tried with directly copying the AC3 stream, encoding AC3 to AAC, using analyzeduration option etc.,
 
But, the same file is working fine when I use Handbrake, MEncoder.

Source to download: You can download .VOB file here:  http://poacric.blob.core.windows.net/$root/TestClip.zip
 
Command Used: ffmpeg -i d:\testclip.vob -acodec copy d:\ffmpegout.mp4
 
Console output:

{{{
C:\ffmpeg>ffmpeg -i d:\testclip.vob -acode
c copy d:\ffmpegout.mp4
ffmpeg version N-35966-g1d0ae92, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 19 2011 13:10:19 with gcc 4.6.2
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3
 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzli
b --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-l
ibrtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-li
bvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-l
ibx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 46. 1 / 53. 46. 1
  libavformat  53. 27. 0 / 53. 27. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mpeg @ 0000000000497FD0] max_analyze_duration 5000000 reached at 5004667

Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/
1001) -> 59.94 (60000/1001)
Input #0, mpeg, from 'd:\testclip.vob':
  Duration: 00:04:51.99, start: 0.316978, bitrate: 4939 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DA
R 16:9], 8000 kb/s, 23.98 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x80]: Audio: ac3, 0 channels
[buffer @ 00000000029E0BE0] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:32/27 sw
s_param:
[libx264 @ 00000000027E0810] using SAR=32/27
[libx264 @ 00000000027E0810] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShu
ffle SSE4.2
[libx264 @ 00000000027E0810] profile High, level 3.1
[libx264 @ 00000000027E0810] 264 - core 119 r2106 07efeb4 - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 r
ef=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed
_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pski
p=1 chroma_qp_offset=-2 threads=12 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 di
rect=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra
_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69
qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'd:\ffmpegout.mp4':
  Metadata:
    encoder         : Lavf53.27.0
    Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 720x480 [SAR 32:27
DAR 16:9], q=-1--1, 60k tbn, 59.94 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> libx264)
Press [q] to stop, [?] for help
[mpeg2video @ 00000000004AB7C0] warning: first frame is no keyframe
    Last message repeated 1 times
frame=  117 fps=  0 q=31.0 size=     273kB time=00:00:00.98 bitrate=2273.2kbits/
frame=  205 fps=201 q=31.0 size=     602kB time=00:00:02.45 bitrate=2011.7kbits/
frame=  282 fps=183 q=31.0 size=     861kB time=00:00:03.73 bitrate=1887.4kbits/
frame=  367 fps=178 q=31.0 size=    1179kB time=00:00:05.15 bitrate=1874.1kbits/
frame=  466 fps=182 q=31.0 size=    1376kB time=00:00:06.80 bitrate=1655.8kbits/
frame=  475 fps=175 q=-1.0 Lsize=    1401kB time=00:00:07.89 bitrate=1454.6kbits
/s dup=273 drop=0
video:1396kB audio:0kB global headers:0kB muxing overhead 0.367020%
[libx264 @ 00000000027E0810] frame I:3     Avg QP:23.66  size: 48841
[libx264 @ 00000000027E0810] frame P:309   Avg QP:26.15  size:  4086
[libx264 @ 00000000027E0810] frame B:163   Avg QP:30.33  size:   122
[libx264 @ 00000000027E0810] consecutive B-frames: 49.5%  7.2% 21.5% 21.9%
[libx264 @ 00000000027E0810] mb I  I16..4: 25.5% 46.0% 28.5%
[libx264 @ 00000000027E0810] mb P  I16..4:  1.0%  0.6%  0.0%  P16..4: 22.2%  4.5
%  4.5%  0.0%  0.0%    skip:67.1%
[libx264 @ 00000000027E0810] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 11.1%  0.0
%  0.0%  direct: 0.0%  skip:88.9%  L0:57.4% L1:39.9% BI: 2.6%
[libx264 @ 00000000027E0810] 8x8 transform intra:40.0% inter:74.5%
[libx264 @ 00000000027E0810] coded y,uvDC,uvAC intra: 44.1% 49.2% 24.7% inter: 1
1.6% 4.2% 1.0%
[libx264 @ 00000000027E0810] i16 v,h,dc,p: 39% 42%  6% 13%
[libx264 @ 00000000027E0810] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 32% 37%  3%  2%
 2%  4%  3%  7%
[libx264 @ 00000000027E0810] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  6% 64% 14%  2%  2%
 2%  3%  2%  5%
[libx264 @ 00000000027E0810] i8c dc,h,v,p: 40% 48% 10%  2%
[libx264 @ 00000000027E0810] Weighted P-Frames: Y:0.3% UV:0.3%
[libx264 @ 00000000027E0810] ref P L0: 67.2% 13.1% 10.0%  9.8%
[libx264 @ 00000000027E0810] ref B L0: 98.4%  1.3%  0.3%
[libx264 @ 00000000027E0810] ref B L1: 96.1%  3.9%
[libx264 @ 00000000027E0810] kb/s:1442.51
Received signal 2: terminating.
}}}

Please let me know, if you need any more information. 

I have been searching for a proper encoder from past 2 months and couldn't find a working solution.

My requirement: I have several DVDs and want to convert them into MP4/M2TS/TS files with 2 audio streams (AC3 5.1 and AAC). Also, want to add watermark on the output. Tried different encoders, but nothing is working as per my requirement.
 
Thank you for your time!"	streamingguy
git-master	964	No h263 Mode B support?	avcodec	git-master	defect	open	2012-02-01T02:03:59+01:00	2013-02-09T18:52:13+01:00	"It appears that Mode B support for h263 is not supported?

I have a h263 over RTP stream dump from a commercial videophone that includes both Mode A and Mode B.

From this thread on ffmpeg-devel, I'm taking it that only Mode A was ever supported?

https://lists.libav.org/pipermail/ffmpeg-devel/2009-April/067074.html

I have tested the attached stream on four different commercial videophones. They all reproduce the video flawlessly. ffmpeg renders the Mode A packets, but simply prints out errors for the Mode B packets.

I am attaching three files:

demo.h263: The raw stream that is sent both to and from a videophone. H263 + RTP.

ffmpeg.out: The output from ffmpeg -i demo.h263 demo.mp4

demo.mp4: The ffmpeg-generated mp4 from the h263 stream. It seems that only the Mode A packets are interpreted by ffmpeg, so the video looks quite corrupted.

Sample error output from the attached+complete ffmpeg.out dump:

[h263 @ 0x7f86b083fc00] Bad picture start code
[h263 @ 0x7f86b083fc00] header damaged
[h263 @ 0x7f86b083fc00] I cbpy damaged at 20 0
[h263 @ 0x7f86b083fc00] Error at MB: 20
[h263 @ 0x7f86b083fc00] illegal ac vlc code at 0x14
[h263 @ 0x7f86b083fc00] Error at MB: 322
[h263 @ 0x7f86b083fc00] I cbpy damaged at 2 15
[h263 @ 0x7f86b083fc00] Error at MB: 347
[h263 @ 0x7f86b083fc00] I cbpy damaged at 1 5
[h263 @ 0x7f86b083fc00] Error at MB: 116
[h263 @ 0x7f86b083fc00] run overflow at 1x16 i:1
[h263 @ 0x7f86b083fc00] Error at MB: 369
[h263 @ 0x7f86b083fc00] illegal dc 128 at 0 5
[h263 @ 0x7f86b083fc00] run overflow at 1x5 i:1
[h263 @ 0x7f86b083fc00] Error at MB: 116
[h263 @ 0x7f86b083fc00] concealing 396 DC, 396 AC, 396 MV errors"	walker
git-master	977	stream copy duration does not match the one specified by -t when -ss is used	FFmpeg	git-master	defect	open	2012-02-03T23:36:18+01:00	2012-08-18T04:19:29+02:00	"Hello,
i'm trying to cut an Adobe postprocessed F4v video (h.264 + mp3) with this command :

ffmpeg -ss 00:10:00 -t 10 -i c:\video.f4v -vcodec copy -acodec copy -f flv -async 1 videoout.f4v

but the output file duration is inaccurate;in my case 12 second and not 10 second .
If i try to insert an odd number in -ss (for example -ss 00:10:00) i have this issue while an even number the duration is correct.
Can you help me to resolve this issue ?
Is the command above right?
I tried to download last ffmpeg version and compile one version too but with the same results,
Thanks a lot in advance
Best regards"	overclokkato
git-master	978	wrong container fps when muxing raw Xvid to avi	undetermined	git-master	defect	new	2012-02-04T07:20:23+01:00	2012-08-02T22:15:46+02:00	"I got a small m4v file (Xvid; http://www.multiupload.com/S9CJO31ED4]small.m4v) and I want to mux into an .avi container.

ffmpeg reports it as:
Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 1200k tbn, 25 tbc


Problem is when I remux it with:
ffmpeg -y -i ""D:\Encoding Output\small.m4v"" -vtag xvid -vcodec copy -map 0:0 -f avi ""D:\Encoding Output\small.avi""

ffmpeg reports:
Input #0, m4v, from 'D:\Encoding Output\small.m4v':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 1200k tbn, 25 tbc
Output #0, avi, to 'D:\Encoding Output\small.avi':
  Metadata:
    ISFT            : Lavf53.29.100
    Stream #0:0: Video: mpeg4 (xvid / 0x64697678), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 25 fps, 50 tbn, 50 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame=  664 fps=  0 q=-1.0 Lsize=    2195kB time=00:00:26.54 bitrate= 677.5kbits/s
video:2158kB audio:0kB global headers:0kB muxing overhead 1.718484%

and the resulting container fps flag is set to 50fps, not 25 fps;
even when I use:
ffmpeg -y -r 25 -i ""D:\Encoding Output\small.m4v"" -vtag xvid -vcodec copy -map 0:0 -r 25 -f avi ""D:\Encoding Output\small.avi""

I still end up with 50fps in the container,... :/"	Selur
git-master	979	Unexpected Color Conversion (bgr->yuv vs rgb->yuv)	swscale	git-master	defect	open	2012-02-04T17:26:26+01:00	2012-10-09T13:18:38+02:00	"Input file is bgr24.  Output file is yuv420p.  If I instruct ffmpeg to convert to rgb24 first (instead of bgr24->yuv420p directly), the colors are slightly different.

Test input, exact command lines, and console output attached."	natt
git-master	1007	PMW-EX3 camera raw videos (mpeg2video/pcm_s16be/MP4):  A/V out of sync in quicktime after transcoding to h264 with ffmpeg	undetermined	git-master	defect	new	2012-02-21T00:08:12+01:00	2012-02-21T00:08:12+01:00	" * When transcoding raw videos from a PMW-EX3 camera the resulting videos are about 1-2 frames out of sync when playing them with Quicktime 7 (tested on OSX Snow Leopard and Windows).
 * Since the problem does not seem to occur in ffplay, mplayer, or windows media player it might be a Quicktime specific problem and not a ffmpeg bug.
 * Maybe it is of interest that after importing the camera data with Final Cut (FCP 6.0.6) and compressing to h264 there is no A/V sync issue in Quicktime or ffplay.

== ffmpeg call and output ==
{{{
ffmpeg -i camera-raw.mp4 -async 1 -codec:v libx264 -preset medium -profile:v baseline -threads 0 -crf 20 -codec:a libfaac -ab 256k ffmpeg-result.mp4
ffmpeg version N-31257-g6a3f172 Copyright (c) 2000-2012 the FFmpeg developers
  built on Feb 20 2012 22:08:11 with gcc 4.4.3
  configuration: --prefix=/homes/lschilli/ffmpeg --enable-shared --disable-static --enable-gpl --enable-nonibmp3lame --enable-libx264 --enable-libxvid --enable-sram --cpu=core2 --enable-hwaccel=h264_vaapi --enable-aapi --enable-hwaccel=mpeg4_vaapi --enable-libfaac --enable-x11grab --disable-ffserver --enable-libass --ene
  libavutil      51. 39.100 / 51. 39.100
  libavcodec     54.  3.101 / 54.  3.101
  libavformat    54.  1.100 / 54.  1.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 62.101 /  2. 62.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'camera-raw.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42
    creation_time   : 2012-02-13 23:21:42
  Duration: 00:13:40.80, start: 0.000000, bitrate: 1022 kb/s
    Stream #0:0(eng): Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], fps, 25 tbr, 25k tbn, 50 tbc
    Metadata:
      creation_time   : 2012-02-13 23:21:42
      handler_name    : Video Media Handler
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2 channels, s16, 1536 kb/s
    Metadata:
      creation_time   : 2012-02-13 23:21:42
      handler_name    : NRT Metadata Handler
[buffer @ 0x84ce6e0] w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
[libx264 @ 0x84cefe0] using SAR=1/1
[libx264 @ 0x84cefe0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
[libx264 @ 0x84cefe0] profile Constrained Baseline, level 4.0
[libx264 @ 0x84cefe0] 264 - core 120 r0+2 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://wwx264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 minge=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 slice0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 ra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=20.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq
Output #0, mp4, to 'ffmpeg-result.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42
    creation_time   : 2012-02-13 23:21:42
    encoder         : Lavf54.1.100
    Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 tbn, 25 tbc
    Metadata:
      creation_time   : 2012-02-13 23:21:42
      handler_name    : Video Media Handler
    Stream #0:1(eng): Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 2 channels, s16, 256 kb/s
    Metadata:
      creation_time   : 2012-02-13 23:21:42
      handler_name    : NRT Metadata Handler
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> libx264)
  Stream #0:1 -> #0:1 (pcm_s16be -> libfaac)
Press [q] to stop, [?] for help
[mpeg2video @ 0x84a4440] warning: first frame is no keyframe
    Last message repeated 1 times
Truncating packet of size 124464 to 34592B time=00:00:21.04 bitrate=8901.7kbits/s dup=1 drop=0     
[mpeg2video @ 0x84a4440] ac-tex damaged at 63 16
[mpeg2video @ 0x84a4440] Warning MVs not available
[mpeg2video @ 0x84a4440] concealing 6240 DC, 6240 AC, 6240 MV errors
Truncating packet of size 125431 to 1
frame=  574 fps=  6 q=-1.0 Lsize=   24571kB time=00:00:22.96 bitrate=8766.9kbits/s dup=2 drop=0    
video:24092kB audio:465kB global headers:0kB muxing overhead 0.056445%
[libx264 @ 0x84cefe0] frame I:4     Avg QP:17.82  size:132915
[libx264 @ 0x84cefe0] frame P:570   Avg QP:20.57  size: 42347
[libx264 @ 0x84cefe0] mb I  I16..4: 33.5%  0.0% 66.5%
[libx264 @ 0x84cefe0] mb P  I16..4:  1.5%  0.0%  1.8%  P16..4: 63.2% 12.3%  6.1%  0.0%  0.0%    skip:15.1%
[libx264 @ 0x84cefe0] coded y,uvDC,uvAC intra: 60.9% 73.0% 16.5% inter: 22.1% 50.9% 0.5%
[libx264 @ 0x84cefe0] i16 v,h,dc,p: 16% 18% 27% 39%
[libx264 @ 0x84cefe0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 23% 23%  5%  7%  6%  6%  4%  6%
[libx264 @ 0x84cefe0] i8c dc,h,v,p: 57% 22% 18%  3%
[libx264 @ 0x84cefe0] ref P L0: 55.8% 24.6% 19.6%
[libx264 @ 0x84cefe0] kb/s:8595.64
}}}

== Sample files ==
 [http://www.techfak.uni-bielefeld.de/~lschilli/ffmpeg/sync/camera-raw.mp4 Camera raw data]
 [http://www.techfak.uni-bielefeld.de/~lschilli/ffmpeg/sync/ffmpeg-result.mp4 ffmpeg result]
 [http://www.techfak.uni-bielefeld.de/~lschilli/ffmpeg/sync/after-fcp-import.mov Final Cut import]
 [http://www.techfak.uni-bielefeld.de/~lschilli/ffmpeg/sync/H.264_HD960x540_9Mbit.mov H264 created by Final Cut / Compressor]

 * Large (MPEG2) samples have been processed with qt-faststart and truncated at 100MB.
 * Side note: The truncated file after-fcp-import.mov seems to playable in ffplay but transcoding with ffmpeg stops after 0.96s (Truncating packet of size 4 to 1).

== Workaround ==

Adding ""-vf setpts=PTS-STARTPTS"" as workaround seems to reduce the problem:
{{{
ffmpeg -i camera-raw.mp4 -vf setpts=PTS-STARTPTS -async 1 -codec:v libx264 -preset medium -profile:v baseline -threads 0 -crf 20 -codec:a libfaac -ab 256k ffmpeg-result.mp4
}}}

The first frame ffmpeg reads has a pts_time of 0.04 according to ffmpeg:
{{{
[showinfo @ 0x1a2c120] n:0 pts:1000 pts_time:0.04 pos:746083 fmt:yuv420p sar:1/1 s:1920x1080 i:P iskey:0 type:B checksum:0C66BC18 plane_checksum:[8FDB61DF 549CD599 349F8491]
}}}
Maybe this is related to the problem.

"	ls
git-master	1033	MOV file with non-zero/negative start has no sync between A/V unless -async 1 is used	undetermined	git-master	defect	open	2012-03-04T19:32:27+01:00	2013-01-02T14:26:57+01:00	"I have a couple files which someone generated by loading the video into QT on the Mac and some how selecting an range and resaving. Not a QT user, so don't know how they did it. The resulting files play properly in QT and other apps, but when played with ffplay or reencoded to another format in ffmpeg, they are out of sync. In ffplay, the first frame holds for many seconds while the audio plays, and when the video does start it is behind the audio by the number of seconds it held the initial video. Converted files in ffmpeg have same/similar problems using commands like ""ffmpeg -i bad_mov_start.mov -c:v libx264 -preset veryfast -qp 0 bad_mov_start.mp4"".

The smallest(!) file is 1.8Gb, and can be downloaded from a good server at http://www.usmediavault.com/bad_mov_start.mov

Thanks for your great work! If this was something I could help fix (I have some small knowledge from writing a libavdevice) I would be willing to take a stab but knowing where to start and what the actual problem is would help. From my perspective, it is like a needle in a haystack! Just let me know if I can be of some use.

------------------

ffmpeg -v 9 -loglevel 99 -i bad_mov_start.mov
ffmpeg version N-38488-gf972193 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar  4 2012 00:22:11 with gcc 4.5.2
  configuration: --enable-shared --enable-gpl --enable-nonfree --enable-libxvid --enable-libx264 --enable-libmp3lame --enable-libvorbis --enable-libfaac --enable-librtmp --enable-libopenjpeg --enable-decklink
  libavutil      51. 41.100 / 51. 41.100
  libavcodec     54.  6.100 / 54.  6.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 62.101 /  2. 62.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x23403a0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x23403a0] ISO: File Type Major Brand: qt  
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x23403a0] All info found
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bad_mov_start.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2012-02-27 01:30:20
  Duration: 00:01:33.31, start: -12.126126, bitrate: 149599 kb/s
    Stream #0:0(eng), 47, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-02-27 01:30:20
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng), 24, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-02-27 01:30:20
      handler_name    : ?Apple Alias Data Handler
    Stream #0:2(eng), 24, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-02-27 01:30:20
      handler_name    : ?Apple Alias Data Handler
    Stream #0:3(eng), 24, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-02-27 01:30:20
      handler_name    : ?Apple Alias Data Handler
    Stream #0:4(eng), 24, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-02-27 01:30:20
      handler_name    : ?Apple Alias Data Handler
    Stream #0:5(eng), 24, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-02-27 01:30:20
      handler_name    : ?Apple Alias Data Handler
    Stream #0:6(eng), 24, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-02-27 01:30:20
      handler_name    : ?Apple Alias Data Handler
    Stream #0:7(eng), 24, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-02-27 01:30:20
      handler_name    : ?Apple Alias Data Handler
    Stream #0:8(eng), 1, 1/2997: Video: prores (apcn / 0x6E637061), yuv422p10le, 1920x1080, 1/2997, 140357 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc
    Metadata:
      creation_time   : 2012-02-27 01:30:20
      handler_name    : ?Apple Alias Data Handler
    Stream #0:9(eng), 1, 1/2997: Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2012-02-27 01:30:20
      handler_name    : ?Apple Alias Data Handler
      timecode        : 00:00:00:00
At least one output file must be specified
"	faroutliving
git-master	1034	Can't mux pcm_s16be into mpeg ps (dvd) format	avformat	git-master	defect	open	2012-03-05T00:45:42+01:00	2012-11-08T00:18:14+01:00	"ffmpeg -i http://sokolov.me/tmp/video-mpeg4_720x544-audio_ac3_48000_stereo.avi -t 1 -vn -acodec pcm_s16be  -f dvd -y out.mpg -loglevel debug
ffmpeg version N-38519-g14aa1ba Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar  4 2012 23:36:47 with gcc 4.4.5
  configuration: --disable-avdevice --disable-indevs --disable-outdevs --enable-encoder=pcm_s16be --enable-encoder=libx264 --enable-encoder=libfaac --enable-static --enable-shared --enable-libx264 --enable-libfaac --enable-libfreetype --enable-nonfree --disable-zlib --enable-gpl --extra-libs= --extra-cflags= --extra-ldflags= --enable-debug --disable-optimizations --disable-yasm --disable-asm
  libavutil      51. 41.100 / 51. 41.100
  libavcodec     54.  7.100 / 54.  7.100
  libavformat    54.  2.100 / 54.  2.100
  libavfilter     2. 63.100 /  2. 63.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
[avi @ 0x8b28aa0] Format avi probed with size=2048 and score=100
[AVI demuxer @ 0x8b2abd0] use odml:1
[avi @ 0x8b28aa0] All info found
Input #0, avi, from 'http://sokolov.me/tmp/video-mpeg4_720x544-audio_ac3_48000_stereo.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.4.1 (build 2178/release)
  Duration: 00:09:58.84, start: 0.000000, bitrate: 1952 kb/s
    Stream #0:0, 1, 1/25: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x544 [SAR 1:1 DAR 45:34], 1/25, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1, 3, 1/24000: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, s16, 192 kb/s
Output #0, dvd, to 'out.mpg':
  Metadata:
    encoder         : Lavf54.2.100
    Stream #0:0, 0, 1/90000: Audio: pcm_s16be, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 (ac3 -> pcm_s16be)
Press [q] to stop, [?] for help
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4026 size=6144
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4026 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=6043 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=6043 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1911 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3928 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3928 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5945 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5945 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1813 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3830 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3830 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5847 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5847 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1715 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3732 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3732 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5749 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5749 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1617 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3634 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3634 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5651 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5651 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1519 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3536 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3536 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5553 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5553 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1421 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3438 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3438 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5455 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5455 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1323 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3340 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3340 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5357 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5357 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1225 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3242 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3242 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5259 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5259 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1127 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3144 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3144 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5161 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5161 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1029 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3046 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3046 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5063 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5063 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=931 size=6144                                                
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2948 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2948 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4965 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4965 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=833 size=6144                                                
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2850 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2850 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4867 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4867 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=735 size=6144                                                
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2752 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2752 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4769 size=6144                                               
packet too large, ignoring buffer limits to mux itts/s                                                   
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4769 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=637 size=6144                                                
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2654 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2654 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4671 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4671 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=539 size=6144                                                
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2556 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2556 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4573 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4573 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=441 size=6144                                                
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2458 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2458 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4475 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4475 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=343 size=6144                                                
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2360 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2360 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4377 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4377 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=245 size=6144                                                
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2262 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2262 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4279 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4279 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=147 size=6144                                                
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2164 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2164 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4181 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4181 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=49 size=6144                                                 
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2066 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=2066 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4083 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=4083 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=6100 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=6100 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1968 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3985 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3985 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=6002 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=6002 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1870 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3887 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3887 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5904 size=6144                                               
packet too large, ignoring buffer limits to mux itts/s                                                   
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5904 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1772 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3789 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3789 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5806 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5806 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1674 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3691 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3691 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5708 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5708 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1576 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3593 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3593 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5610 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5610 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1478 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3495 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3495 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5512 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5512 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1380 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3397 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3397 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5414 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5414 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1282 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3299 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3299 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5316 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5316 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1184 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3201 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3201 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5218 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5218 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=1086 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3103 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3103 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5120 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5120 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=988 size=6144                                                
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3005 size=6144                                               
[dvd @ 0x8b333a0] packet too large, ignoring buffer limits to mux it                                     
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=3005 size=6144                                               
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5022 size=6144                                               
packet too large, ignoring buffer limits to mux itts/s                                                   
[dvd @ 0x8b333a0] buffer underflow i=0 bufi=5022 size=6144                                               
size=     198kB time=00:00:01.02 bitrate=1584.0kbits/s                                                   
video:0kB audio:192kB global headers:0kB muxing overhead 3.125000%


The resulting file is http://dl.dropbox.com/u/43104344/out_ff.mpg
It likely plays well in mplayer2.
Playing in ffplay or transcoding resulting file to another codecs with ffmpeg
result in warnings
[pcm_s16be @ 0x844e460] invalid PCM packet
(in ffplay, the noise is heard).

The same happens with -f mpeg. Only bufi= numbers differ a bit.


ffplay surely supports playback of this codec in this format. Example of
playable file is http://streams.videolan.org/samples/MPEG-VOB/LPCM/Fever.vob"	Krieger
git-master	1092	amv: gray bar at the bottom	avcodec	git-master	defect	open	2012-03-18T13:33:58+01:00	2013-01-05T21:23:55+01:00	"http://ffmpeg.org/trac/ffmpeg/attachment/ticket/1059/599.png

{{{
C:\>ffmpeg -i 599.png -vcodec amv out.avi
ffmpeg version N-38862-g967bdb8 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 18 2012 02:23:57 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 42.100 / 51. 42.100
  libavcodec     54. 10.100 / 54. 10.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 65.100 /  2. 65.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, image2, from '599.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgb24, 599x412, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'rgb24' for codec 'amv', auto-selecting format 'yuvj42
0p'
[buffer @ 0x1d91520] w:599 h:412 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 0x1d917a0] auto-inserting filter 'auto-inserted scale 0' between t
he filter 'src' and the filter 'out'
[scale @ 0x1d91c20] w:599 h:412 fmt:rgb24 -> w:599 h:412 fmt:yuvj420p flags:0x4
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.2.100
    Stream #0:0: Video: amv (AMVF / 0x46564D41), yuvj420p, 599x412, q=2-31, 200
kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (png -> amv)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=3.4 Lsize=      12kB time=00:00:00.04 bitrate=2434.8kbits/
s
video:6kB audio:0kB global headers:0kB muxing overhead 88.248028%
}}}"	ami_stuff
git-master	1095	libxavs: encoded file doesn't decode with built-in decoder	avcodec	git-master	defect	open	2012-03-18T15:16:01+01:00	2013-02-09T18:53:31+01:00	"please test if reproductible and not a build (libxavs) fault

{{{
C:\>ffmpeg -i 320.png -vcodec libxavs out.avi
ffmpeg version N-38622-g1eabd71 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar  7 2012 00:18:03 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 42.100 / 51. 42.100
  libavcodec     54. 10.100 / 54. 10.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 63.100 /  2. 63.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, image2, from '320.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgb24, 320x240, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'rgb24' for codec 'libxavs', auto-selecting format 'yu
v420p'
[buffer @ 02161B40] w:320 h:240 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 02161DC0] auto-inserting filter 'auto-inserted scale 0' between th
e filter 'src' and the filter 'out'
[scale @ 02161540] w:320 h:240 fmt:rgb24 -> w:320 h:240 fmt:yuv420p flags:0x4
[libxavs @ 026FFA40] using cpu capabilities
[libxavs @ 026FFA40] profile JiZhun, level 6.4
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.2.100
    Stream #0:0: Video: cavs (CAVS / 0x53564143), yuv420p, 320x240, q=2-31, 25 t
bn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (png -> libxavs)
Press [q] to stop, [?] for help
frame=    1 fps=  0 q=2.0 Lsize=       6kB time=00:00:00.04 bitrate=1241.6kbits/
s
video:0kB audio:0kB global headers:0kB muxing overhead 1201.467505%
[libxavs @ 026FFA40] slice I:1     Avg QP: 2.00  size:   469
[libxavs @ 026FFA40] mb I  I16..4:  0.0% 100.0%  0.0%
[libxavs @ 026FFA40] final ratefactor: 5.27
[libxavs @ 026FFA40] 8x8 transform  intra:100.0%  inter:-1.$%
[libxavs @ 026FFA40] kb/s:93.8
}}}

{{{
C:\>ffmpeg -i out.avi out2.avi
ffmpeg version N-38622-g1eabd71 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar  7 2012 00:18:03 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 42.100 / 51. 42.100
  libavcodec     54. 10.100 / 54. 10.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 63.100 /  2. 63.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, avi, from 'out.avi':
  Metadata:
    encoder         : Lavf54.2.100
  Duration: 00:00:00.08, start: 0.000000, bitrate: 620 kb/s
    Stream #0:0: Video: cavs (CAVS / 0x53564143), yuv420p, 320x240, 25 tbr, 25 t
bn, 25 tbc
w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, avi, to 'out2.avi':
  Metadata:
    ISFT            : Lavf54.2.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200
 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (cavs -> mpeg4)
Press [q] to stop, [?] for help
frame=    0 fps=  0 q=0.0 Lsize=       6kB time=00:00:00.00 bitrate=   0.0kbits/
s
video:0kB audio:0kB global headers:0kB muxing overhead 1.#INF00%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters i
f used)
}}}"	ami_stuff
git-master	1102	mxf separate fields in interlaced j2k	avformat	git-master	defect	open	2012-03-19T18:06:34+01:00	2013-05-03T08:00:23+02:00	"http://dl.dropbox.com/u/1109725/ntsc2.mxf
this mxf stores fields as two separate j2k images
expected dimension: 720x486
actual dimension: 720x243
"	zhukov
git-master	1150	H264 Main remuxing to TS fails (missing timestamps)	undetermined	git-master	defect	open	2012-03-30T01:29:03+02:00	2013-01-02T16:12:51+01:00	"ffmpeg -i test.264 -vcodec copy -an -f mpegts test.ts

Fails with errors.

Earlier builds did produce TS streams but playback was jittery.

I know this is already a known but but I'm submitting this in order to provide test material.

version N-38772-gc2e3b56

attached files will include:
test.pcap -- raw rtp session of H264 stream from a real-time encoder
test.sdp -- matching sdp file to the live feed
test.264 -- extracted raw H264 elementary stream from RTP feed, ie what is supposed to be able to be mux'd inside of ffmpeg.  This is a H264 Main compliant stream (ie B frames).

"	quandt
git-master	1177	movie source: seek_point does not allow for accurate seeking (keyframe only)	avfilter	git-master	defect	new	2012-04-08T16:07:13+02:00	2012-04-08T16:07:13+02:00	"The movie source does not seem to allow for accurate seeking since it locks to keyframes:

Generate sample with:
{{{
$ ffmpeg -f lavfi -i ""color=white,drawtext=fontfile=/usr/share/fonts/truetype/freefont/FreeSans.ttf:x=20:y=50:fontsize=50:rate=25/1:timecode='00\\:00\\:00\\:00'"" -t 30 out.mp4
}}}

Test with movie source:
{{{
$ ffplay -f lavfi 'movie=out.mp4:sp=15.0'
ffplay version git-2012-04-08-069cf86 Copyright (c) 2003-2012 the FFmpeg developers
  built on Apr  8 2012 14:30:11 with gcc 4.6.1
  configuration: --prefix=/home/ls/ffmpeg --enable-shared --disable-static --enable-gpl --enable-nonfree --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-sram --cpu=core2 --enable-hwaccel=h264_vaapi --enable-hwaccel=mpeg2_vaapi --enable-hwaccel=mpeg4_vaapi --enable-libfaac --disable-ffserver --enable-libass --enable-libfreetype --enable-libvpx --enable-libvorbis --enable-x11grab
  libavutil      51. 45.100 / 51. 45.100
  libavcodec     54. 14.100 / 54. 14.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 67.101 /  2. 67.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 10.100 /  0. 10.100
  libpostproc    52.  0.100 / 52.  0.100
[movie @ 0xed2100] seek_point:15000000 format_name:(null) file_name:out.mp4 stream_index:0
[lavfi @ 0xe8a3a0] Estimating duration from bitrate, this may be inaccurate
Input #0, lavfi, from 'movie=out.mp4:sp=15.0':
  Duration: N/A, start: 10.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
1333893780.90 A-V:  0.000 fd=   0 aq=    0KB vq=  675KB sq=    0B f=0/0   
  10.04 A-V:  0.000 fd=   0 aq=    0KB vq=  562KB sq=    0B f=0/0   
  10.09 A-V:  0.000 fd=   0 aq=    0KB vq=  675KB sq=    0B f=0/0   
  10.13 A-V:  0.000 fd=   0 aq=    0KB vq=  675KB sq=    0B f=0/0
[...]
}}}

In this case the result is 5s off the desired seek point."	ls
git-master	1185	broken playback of rtsp streams - under windows at least	avformat	git-master	defect	new	2012-04-10T20:00:51+02:00	2012-04-11T14:17:49+02:00	"This refers to or is the same bug as [https://ffmpeg.org/trac/ffmpeg/ticket/651]

I am not able to properly decode any udp rtsp stream under windows with ffmpeg.
It says ""RTP: missed n packets"" all the time and the display is corrupt.

For some sources I was able to avoid the bug by switching to TCP transport (rtsp_transport=tcp) but unfortunately that is not possible on many of them.

Tested various sources like a vlc-player generated stream, some internet sources and streams from several lan cameras.

Verified that bug with windows versions of ffplay (downloaded from [http://ffmpeg.zeranoe.com/builds/], ffmpeg (less errors but they still exist) and my own implemantation of an ffmpeg based player compiled from the current source. 32 bit and 64 bit versions.

I presume there is something wrong with the udp-rtsp protocol implementation in ffmpeg. Some problem with the ring buffer there or different buffer sizes under windows - dont know.
Unfortunately I was not able to test a unix build yet.

The fact that I get less errors with ffmpeg but with ffplay lets me believe that there is some connection to the frequency network read functions are called.

This is the output from ffmpeg trying to decode the stream gAmeOver supplied in his bug report:

I get all the same errors ""RTP: missed n packets"" (not always only 1 like in this case) with any rtsp stream I tried, also local ones.



{{{
D:\Projekte\VideoTest>ffmpeg -v 9 -loglevel 99 -i rtsp://admin:dienstag14@192.16
8.0.226/VideoInput/1/h264/1 -an  output.avi
ffmpeg version N-39664-g6bfb304 Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr  9 2012 20:29:24 with gcc 4.6.3
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-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-libope
njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth
eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --e
nable-zlib
  libavutil      51. 46.100 / 51. 46.100
  libavcodec     54. 14.101 / 54. 14.101
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 67.101 /  2. 67.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 10.100 /  0. 10.100
  libpostproc    52.  0.100 / 52.  0.100
[rtsp @ 02009cc0] SDP:
v=0
o=- 14773669779663671777 14773669779664517885 IN IP4 192.168.0.226
s=Media Presentation
c=IN IP4 0.0.0.0
b=AS:12064
t=0 0
m=video 0 RTP/AVP 100
b=AS:12000
a=framerate:25.0
a=quality:4
a=control:trackID=0
a=rtpmap:100 H264/90000
a=fmtp:100 profile-level-id=640028; Reso=1920:1080; Scanning=0; TVSystem=pal; Ca
meraMode=hd; StreamID=0; BitRateMode=vbr; Gop=30; AspectRatio=16:9; packetizatio
n-mode=1; sprop-parameter-sets=Z2QAKK0AzlAeAIn5cBEAAA4QAAK/IOAAAAX14QAADuayovfjA
AADAC+vCAAAdzWVF78G0EQiUsA=,aP48sA==;
m=data 0 RTP/AVP 111
a=rtpmap:111 octet-stream/1
a=fmtp:111 Mac=08007b88f5b8; Model=VCC-HD4600P; TargetBitRate=6000; FirmVer=0200
0300; CameraSeries=2;


[rtsp @ 02009cc0] video codec set to: h264
[NULL @ 0200c7a0] RTP Profile IDC: 64 Profile IOP: 0 Level: 28
[NULL @ 0200c7a0] RTP Packetization Mode: 1
[NULL @ 0200c7a0] Extradata set to 0200cd60 (size: 68)!hello state=0
[h264 @ 0200c7a0] RTP: missed 1 packets
[h264 @ 0200c7a0] Missing reference picture
[h264 @ 0200c7a0] decode_slice_header error
[h264 @ 0200c7a0] concealing 8160 DC, 8160 AC, 8160 MV errors
[h264 @ 0200c7a0] RTP: missed 1 packets
[h264 @ 0200c7a0] no picture
[h264 @ 0200c7a0] RTP: missed 1 packets
[h264 @ 0200c7a0] no picture
[h264 @ 0200c7a0] RTP: missed 1 packets
[h264 @ 0200c7a0] no picture
[h264 @ 0200c7a0] RTP: missed 1 packets
[h264 @ 0200c7a0] no picture
[h264 @ 0200c7a0] RTP: missed 1 packets
    Last message repeated 20 times
[rtsp @ 02009cc0] All info found
[rtsp @ 02009cc0] Estimating duration from bitrate, this may be inaccurate
Input #0, rtsp, from 'rtsp://admin:dienstag14@192.168.0.226/VideoInput/1/h264/1'
:
  Metadata:
    title           : Media Presentation
  Duration: N/A, start: 0.040000, bitrate: N/A
    Stream #0:0, 26, 1/90000: Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DA
R 16:9], 1/50, 25 fps, 25 tbr, 90k tbn, 50 tbc
File 'output.avi' already exists. Overwrite ? [y/N] y
w:1920 h:1080 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:flags=2
[mpeg4 @ 04f8aaa0] detected 8 logical cores
[mpeg4 @ 04f8aaa0] intra_quant_bias = 0 inter_quant_bias = -64
[h264 @ 0200c7a0] detected 8 logical cores
Output #0, avi, to 'output.avi':
  Metadata:
    INAM            : Media Presentation
    ISFT            : Lavf54.3.100
    Stream #0:0, 0, 1/25: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080 [
SAR 1:1 DAR 16:9], 1/25, q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mpeg4)
Press [q] to stop, [?] for help
[h264 @ 04eb2040] Missing reference picture
[h264 @ 04eb2040] decode_slice_header error
[h264 @ 04eb2040] concealing 8160 DC, 8160 AC, 8160 MV errors
[h264 @ 051feb40] no picture
[h264 @ 03e98340] no picture
[h264 @ 03e98920] no picture
[h264 @ 03eae460] no picture
[h264 @ 0200c7a0] RTP: missed 1565 packets
[h264 @ 0200c7a0] RTP: missed 1566 packets
[h264 @ 04f23de0] error while decoding MB 30 37, bytestream (-13)
[h264 @ 04f23de0] concealing 3739 DC, 3739 AC, 3739 MV errors
[h264 @ 0200c7a0] RTP: missed 1 packets
[h264 @ 04eb2040] Frame num gap 14 9
[h264 @ 04eb2040] Frame num gap 14 10
[h264 @ 04eb2040] Frame num gap 14 11
[h264 @ 04eb2040] Frame num gap 14 12
[h264 @ 0200c7a0] RTP: missed 1 packets
    Last message repeated 8 times
frame=   13 fps=0.0 q=16.3 size=     156kB time=00:00:00.96 bitrate=1330.0kbits/
RTP: missed 1 packets
[h264 @ 0200c7a0] RTP: missed 1 packets
    Last message repeated 11 times
frame=   26 fps= 25 q=31.0 size=     233kB time=00:00:04.40 bitrate= 433.7kbits/
RTP: missed 1 packets
[h264 @ 0200c7a0] RTP: missed 1 packets
    Last message repeated 11 times
frame=   39 fps= 25 q=24.8 size=     353kB time=00:00:04.92 bitrate= 588.4kbits/
RTP: missed 1 packets
[h264 @ 0200c7a0] RTP: missed 1 packets
    Last message repeated 11 times
frame=   52 fps= 25 q=31.0 size=     411kB time=00:00:05.44 bitrate= 618.2kbits/
RTP: missed 1 packets
[h264 @ 0200c7a0] RTP: missed 1 packets
    Last message repeated 11 times
frame=   65 fps= 25 q=31.0 size=     460kB time=00:00:05.96 bitrate= 632.6kbits/
RTP: missed 1 packets
[h264 @ 0200c7a0] RTP: missed 1 packets
    Last message repeated 9 times
RTP: missed 1 packets
frame=   89 fps= 28 q=31.0 Lsize=     559kB time=00:00:06.92 bitrate= 661.4kbits
/s
video:549kB audio:0kB global headers:0kB muxing overhead 1.775516%
Received signal 2: terminating.
}}}
"	kaptnole
git-master	1216	AVImszh: broken output with rgb24 mode	avcodec	git-master	defect	reopened	2012-04-15T16:19:43+02:00	2013-05-15T17:42:24+02:00	"decodes correctly with original codec

{{{
C:\>ffmpeg -i RGB24.avi out.avi
ffmpeg version N-39824-g7432bcf Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr 15 2012 02:20:32 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 46.100 / 51. 46.100
  libavcodec     54. 14.101 / 54. 14.101
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 70.100 /  2. 70.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, avi, from 'RGB24.avi':
  Duration: 00:00:00.12, start: 0.000000, bitrate: 46634 kb/s
    Stream #0:0: Video: mszh (MSZH / 0x485A534D), bgr24, 320x240, 25 tbr, 25 tbn
, 25 tbc
Incompatible pixel format 'bgr24' for codec 'mpeg4', auto-selecting format 'yuv4
20p'
[buffer @ 0x1dc1e00] w:320 h:240 pixfmt:bgr24 tb:1/1000000 sar:0/1 sws_param:fla
gs=2
[buffersink @ 0x1dc12e0] auto-inserting filter 'auto-inserted scale 0' between t
he filter 'src' and the filter 'out'
[scale @ 0x1dc1c20] w:320 h:240 fmt:bgr24 sar:0/1 -> w:320 h:240 fmt:yuv420p sar
:0/1 flags:0x4
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.3.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200
 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mszh -> mpeg4)
Press [q] to stop, [?] for help
frame=    3 fps=0.0 q=2.0 Lsize=      65kB time=00:00:00.12 bitrate=4437.7kbits/
s
video:59kB audio:0kB global headers:0kB muxing overhead 9.461948%
}}}"	ami_stuff
git-master	1221	loco: broken output with odd width	avcodec	git-master	defect	open	2012-04-16T00:31:47+02:00	2013-01-04T04:34:13+01:00	"decodes correctly with original codec

{{{
C:\>ffmpeg -i 1023_RGB.avi out.bmp
ffmpeg version N-39824-g7432bcf Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr 15 2012 02:20:32 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 46.100 / 51. 46.100
  libavcodec     54. 14.101 / 54. 14.101
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 70.100 /  2. 70.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, avi, from '1023_RGB.avi':
  Duration: 00:00:00.10, start: 0.000000, bitrate: 103520 kb/s
    Stream #0:0: Video: loco (LOCO / 0x4F434F4C), bgr24, 1023x768, 10 tbr, 10 tb
n, 10 tbc
[buffer @ 0x1dc1c80] w:1023 h:768 pixfmt:bgr24 tb:1/1000000 sar:0/1 sws_param:fl
ags=2
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf54.3.100
    Stream #0:0: Video: bmp, bgr24, 1023x768, q=2-31, 200 kb/s, 90k tbn, 10 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (loco -> bmp)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.10 bitrate=   0.0kbits/
s
video:2304kB audio:0kB global headers:0kB muxing overhead -100.000000%
}}}"	ami_stuff
git-master	1261	yellowish color with resize and -pix_fmt pal8	swscale	git-master	defect	open	2012-04-29T21:45:31+02:00	2013-03-01T12:09:18+01:00	"not reproducible with -pix_fmt bgr24

{{{
C:\>ffmpeg -i 1023.bmp -s 1024x767 -pix_fmt pal8 out.bmp
ffmpeg version N-40172-g28c5775 Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr 28 2012 02:21:26 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 48.100 / 51. 48.100
  libavcodec     54. 16.100 / 54. 16.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 72.100 /  2. 72.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, image2, from '1023.bmp':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: bmp, pal8, 1023x767, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x1dc1fc0] w:1023 h:767 pixfmt:pal8 tb:1/1000000 sar:0/1 sws_param:fla
gs=2
[scale @ 0x1dc2180] w:1023 h:767 fmt:pal8 sar:0/1 -> w:1024 h:767 fmt:pal8 sar:0
/1 flags:0x4
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf54.3.100
    Stream #0:0: Video: bmp, pal8, 1024x767, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (bmp -> bmp)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/
s
video:768kB audio:0kB global headers:0kB muxing overhead -100.000000%
}}}"	ami_stuff
git-master	1282	VP6F Libavcodec decoding bug (slowly accumulating artifacts)	avcodec	git-master	defect	open	2012-05-07T23:37:32+02:00	2013-01-07T14:32:22+01:00	"Hello,
Here's a report for a FLV4/VP6 Libavcodec decoding bug.
A sample is here: http://videoff7.free.fr/sample_artefact.flv
(also tentatively attached to this ticket).

As the video progresses, PQ becomes worse and worse, it can be seen easily on the newscaster's face 10 seconds in.

I tested with DShow based decoders (FFDShow/LAV) and also with mplayer2, all on Windows. The issue shows up with all of them.

No such issue happens when decoding with the original On2 VP6 directshow decoder [ http://videoff7.free.fr/On2_VP6_Decoder.zip ].

Thank you for your support."	theshadowrunner
git-master	1291	The  custom user-agent option is ignored after the initial connection when using HTTP Live Streaming (HLS)	avformat	git-master	defect	reopened	2012-05-09T21:51:56+02:00	2013-04-09T20:59:52+02:00	"Hello.

The ""-user-agent"" option is ignored after the initial connection to an HLS server.

When running this command line:
ffmpeg -user-agent myuseragent http://someserver/playlist.m3u8 -c copy -

I get this network dump for the initial connection to someserver:

GET /playlist.m3u8 HTTP/1.1.
User-Agent: myuseragent
...


But in the (automated) consecutive connections (after the initial .ts segments are consumed) I see this:

GET /playlist.m3u8 HTTP/1.1.
User-Agent: Lavf54.3.100.
...


Which means that the custom user-agent option is somehow ignored after the initial connection to the server.


Version: ffmpeg version N-40092-g3bbf3f7
OS: Windows (MinGW)"	xnp
git-master	1304	rawvideo 8bpp: incorrect output with -vcodec copy	undetermined	git-master	defect	new	2012-05-13T18:39:52+02:00	2012-09-18T16:52:50+02:00	"the output file is unplayable (black screen)

{{{
C:\>ffmpeg -i None_8bpp.avi -vcodec copy out.avi
ffmpeg version N-40622-g1caf614 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 13 2012 02:22:21 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 50.100 / 51. 50.100
  libavcodec     54. 21.101 / 54. 21.101
  libavformat    54.  4.100 / 54.  4.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 72.105 /  2. 72.105
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, avi, from 'None_8bpp.avi':
  Duration: 00:00:05.96, start: 0.000000, bitrate: 4883 kb/s
    Stream #0:0: Video: rawvideo, pal8, 189x127, 25 tbr, 25 tbn, 25 tbc
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.4.100
    Stream #0:0: Video: rawvideo, pal8, 189x127, q=2-31, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame=  149 fps=0.0 q=-1.0 Lsize=    3559kB time=00:00:05.96 bitrate=4892.0kbits
/s
video:3549kB audio:0kB global headers:0kB muxing overhead 0.283222%
}}}"	ami_stuff
git-master	1309	Android(NDK) cannot compile thumb mode	avcodec	git-master	defect	new	2012-05-15T04:38:26+02:00	2012-08-20T03:20:05+02:00	"When using thumb mode(--enable-thumb), compile is fail.. 
Error at libavcodec/dca.c dca_xbr_parse_frame function.
It can be fixing by ""int block[8];"" -> ""LOCAL_ALIGNED_16(int, block, [8]);""

"	kyh96403
git-master	1323	avid dv codec (dv50 mode) decodes with visible artefacts	avcodec	git-master	defect	open	2012-05-19T16:07:44+02:00	2013-01-23T16:27:06+01:00	"attached sample decodes correctly with original qt component

{{{
C:\>ffmpeg -i aviddv_dv50_ntsc_progressive_24bpp.mov out.avi
ffmpeg version N-40756-g703e920 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 17 2012 02:26:05 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  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.100 /  2. 74.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 5 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=84
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=72
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=71
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=76
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 12 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=69
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=69
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 6 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=67
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=76
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 4 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=69
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=74
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=73
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=67
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 5 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=67
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=67
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=75
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 5 times
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aviddv_dv50_ntsc_progressive_24bpp.mov':
  Metadata:
    creation_time   : 2012-05-17 12:01:27
  Duration: 00:00:00.06, start: 0.000000, bitrate: 28906 kb/s
    Stream #0:0(eng): Video: dvvideo (AVdv / 0x76645641), yuv422p, 720x480 [SAR
8:9 DAR 4:3], 28800 kb/s, SAR 5:6 DAR 5:4, 15 fps, 15 tbr, 600 tbn, 29.97 tbc
    Metadata:
      creation_time   : 2012-05-17 12:01:27
      handler_name    : Apple Alias Data Handler
[buffer @ 0x1de22e0] w:720 h:480 pixfmt:yuv422p tb:1/1000000 sar:5/6 sws_param:f
lags=2
[buffersink @ 0x1de2600] No opaque field provided
[format @ 0x1de28c0] auto-inserting filter 'auto-inserted scaler 0' between the
filter 'src' and the filter 'format'
[scale @ 0x1de34a0] w:720 h:480 fmt:yuv422p sar:5/6 -> w:720 h:480 fmt:yuv420p s
ar:5/6 flags:0x4
Output #0, avi, to 'out.avi':
  Metadata:
    creation_time   : 2012-05-17 12:01:27
    ISFT            : Lavf54.5.100
    Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480 [SAR 5:
6 DAR 5:4], q=2-31, 200 kb/s, 15 tbn, 15 tbc
    Metadata:
      creation_time   : 2012-05-17 12:01:27
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (dvvideo -> mpeg4)
Press [q] to stop, [?] for help
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 5 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=84
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=72
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=71
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 4 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=69
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 7 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=69
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=95
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 4 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=75
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 5 times
frame=    1 fps=0.0 q=5.8 Lsize=      41kB time=00:00:00.06 bitrate=5098.1kbits/
s
video:36kB audio:0kB global headers:0kB muxing overhead 15.757064%
}}}"	ami_stuff
git-master	1337	MPEG4 ASP does not seek to keyframe	undetermined	git-master	defect	new	2012-05-21T13:07:31+02:00	2012-09-27T13:05:02+02:00	"(issue 2686)

out.png shows artefacts, also reproducible with ffplay.
{{{
$ ffmpeg -ss 1 -i q_cut.mp4 -vframes 1 out.png
ffmpeg version N-40924-g349c624 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 21 2012 07:59:42 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm
  libavutil      51. 53.100 / 51. 53.100
  libavcodec     54. 21.101 / 54. 21.101
  libavformat    54.  5.101 / 54.  5.101
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 75.100 /  2. 75.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'q_cut.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    creation_time   : 1970-01-01 00:00:00
    encoder         : Lavf53.0.3
  Duration: 00:00:40.00, start: 0.000000, bitrate: 512 kb/s
    Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 1024x1024 [SAR 1:1 DAR 1:1], 1142 kb/s, 5 fps, 5 tbr, 5 tbn, 5 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
[buffer @ 0x8f0bbe0] w:1024 h:1024 pixfmt:yuv420p tb:1/5 sar:1/1 sws_param:flags=2
[buffersink @ 0x8f0bec0] No opaque field provided
[format @ 0x8f0c0c0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'format'
[scale @ 0x8f06ec0] w:1024 h:1024 fmt:yuv420p sar:1/1 -> w:1024 h:1024 fmt:rgb24 sar:1/1 flags:0x4
Output #0, image2, to 'out.png':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    creation_time   : 1970-01-01 00:00:00
    encoder         : Lavf54.5.101
    Stream #0:0(und): Video: png, rgb24, 1024x1024 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 90k tbn, 5 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
      handler_name    : VideoHandler
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> png)
Press [q] to stop, [?] for help
[mpeg4 @ 0x8f12d00] warning: first frame is no keyframe
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.20 bitrate=   0.0kbits/s
video:262kB audio:0kB global headers:0kB muxing overhead -100.000000%
}}}"	cehoyos
git-master	1346	-aq makes only a minimal output file size difference for aac	avcodec	git-master	defect	new	2012-05-23T14:18:05+02:00	2012-10-08T04:09:08+02:00	"The native aac encoder source code contains hints that global_quality is respected, but setting -aq makes only a minimal output file size difference.
This used to work before release 0.6.
{{{
$ ffmpeg -i fate-suite/lossless-audio/luckynight-partial.tta -strict experimental -q:a 0.001 -t 8 out.aac
ffmpeg version N-40960-ge15f128 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 23 2012 13:44:40 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm
  libavutil      51. 53.100 / 51. 53.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 76.100 /  2. 76.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, tta, from 'fate-suite/lossless-audio/luckynight-partial.tta':
  Duration: 00:01:00.48, start: 0.000000, bitrate: 138 kb/s
    Stream #0:0: Audio: tta, 44100 Hz, stereo, s16
[aformat @ 0x8f14200] auto-inserting filter 'auto-inserted resampler 0' between the filter 'src' and the filter 'aformat'
[aresample @ 0x8f0b920] r:44100Hz -> r:44100Hz
Output #0, adts, to 'out.aac':
  Metadata:
    encoder         : Lavf54.6.100
    Stream #0:0: Audio: aac, 44100 Hz, stereo, flt, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (tta -> aac)
Press [q] to stop, [?] for help
size=     137kB time=00:00:08.35 bitrate= 134.6kbits/s
video:0kB audio:135kB global headers:0kB muxing overhead 1.826173%
}}}
{{{
$ ffmpeg -i fate-suite/lossless-audio/luckynight-partial.tta -strict experimental -q:a 100000 -t 8 out.aac
ffmpeg version N-40960-ge15f128 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 23 2012 13:44:40 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm
  libavutil      51. 53.100 / 51. 53.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 76.100 /  2. 76.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, tta, from 'fate-suite/lossless-audio/luckynight-partial.tta':
  Duration: 00:01:00.48, start: 0.000000, bitrate: 138 kb/s
    Stream #0:0: Audio: tta, 44100 Hz, stereo, s16
[aformat @ 0x8f14200] auto-inserting filter 'auto-inserted resampler 0' between the filter 'src' and the filter 'aformat'
[aresample @ 0x8f0b920] r:44100Hz -> r:44100Hz
Output #0, adts, to 'out.aac':
  Metadata:
    encoder         : Lavf54.6.100
    Stream #0:0: Audio: aac, 44100 Hz, stereo, flt, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (tta -> aac)
Press [q] to stop, [?] for help
size=     144kB time=00:00:08.35 bitrate= 140.9kbits/s
video:0kB audio:141kB global headers:0kB muxing overhead 1.742700%
}}}"	cehoyos
git-master	1349	itsoffset doesn't work for second input file (audio)	FFmpeg	git-master	defect	reopened	2012-05-24T20:15:38+02:00	2013-05-11T21:50:00+02:00	"this delays the video for 10s:
$ ffmpeg -itsoffset -00:00:10 -i video.avi -i audio.mp3 -codec copy muxed.avi
playing with mplayer shows that its working.

now i need the audio to be delayed 10s so it would be:
$ ffmpeg -i video.avi -itsoffset -00:00:10 -i audio.mp3 -codec copy muxed.avi
the result is no delay at all.

version is: ffmpeg-20120519-git-31dfe20-win32-static.7z
"	bombo
git-master	1378	ffmpeg lists every track in a QuickTime file twice	undetermined	git-master	defect	open	2012-05-29T23:00:10+02:00	2012-08-02T18:35:11+02:00	"I'm using Final Cut Pro to capture uncompressed audio and video coming over an SDI cable. This file, http://archive.org/download/FfmpegTest/BCSPA039_pre.mov, is what Final Cut captures. QuickTime and Mediainfo list 1 video track, 1 caption track, 7 audio tracks and 1 timecode track (10 total tracks). ffmpeg evaluates each track twice and lists 20 total tracks.


{{{
ffmpeg-20120529-165744.logffmpeg started on 2012-05-29 at 16:57:44
Report written to ""ffmpeg-20120529-165744.log""
Command line:
ffmpeg -report -i /Volumes/ingest_hd_4/BCL00012/BCSPA039_pre.mov
ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers
  built on May 24 2012 16:18:04 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-libfreetype --cc=/usr/bin/gcc-4.2 --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 76.100 /  2. 76.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 @ 0x10200f600] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=95
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] File position before avformat_find_stream_info() is 496557295
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Probe buffer size limit 5000000 reached
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #0: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #1: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #2: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #3: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #4: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #5: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #6: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #7: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #8: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #11: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #12: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #13: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #14: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #15: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #16: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #17: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #18: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] Stream #19: not enough frames to estimate rate; consider increasing probesize
rfps: 26.250000 0.019258
rfps: 26.333333 0.018405
rfps: 26.416667 0.017571
rfps: 26.500000 0.016757
rfps: 26.583333 0.015962
rfps: 26.666667 0.015186
rfps: 26.750000 0.014429
rfps: 26.833333 0.013692
rfps: 26.916667 0.012974
rfps: 27.000000 0.012276
rfps: 27.083333 0.011597
rfps: 27.166667 0.010937
rfps: 27.250000 0.010296
rfps: 27.333333 0.009675
rfps: 27.416667 0.009073
rfps: 27.500000 0.008490
rfps: 27.583333 0.007927
rfps: 27.666667 0.007383
rfps: 27.750000 0.006859
rfps: 27.833333 0.006353
rfps: 27.916667 0.005868
rfps: 28.000000 0.005401
rfps: 28.083333 0.004954
rfps: 28.166667 0.004526
rfps: 28.250000 0.004117
rfps: 28.333333 0.003728
rfps: 28.416667 0.003358
rfps: 28.500000 0.003007
rfps: 28.583333 0.002676
rfps: 28.666667 0.002364
rfps: 28.750000 0.002071
rfps: 28.833333 0.001798
rfps: 28.916667 0.001544
rfps: 29.000000 0.001309
rfps: 29.083333 0.001094
rfps: 29.166667 0.000898
rfps: 29.250000 0.000721
rfps: 29.333333 0.000564
rfps: 29.416667 0.000426
rfps: 29.500000 0.000307
rfps: 29.583333 0.000208
rfps: 29.666667 0.000128
rfps: 29.750000 0.000067
rfps: 29.833333 0.000026
rfps: 29.916667 0.000004
rfps: 30.000000 0.000001
rfps: 30.000000 0.000001
rfps: 30.083333 0.000018
rfps: 30.083333 0.000018
rfps: 30.166667 0.000054
rfps: 30.166667 0.000054
rfps: 30.250000 0.000109
rfps: 30.250000 0.000109
rfps: 30.333333 0.000184
rfps: 30.333333 0.000184
rfps: 30.416667 0.000278
rfps: 30.416667 0.000278
rfps: 30.500000 0.000391
rfps: 30.500000 0.000391
rfps: 30.583333 0.000524
rfps: 30.583333 0.000524
rfps: 30.666667 0.000675
rfps: 30.666667 0.000675
rfps: 30.750000 0.000847
rfps: 30.750000 0.000847
rfps: 30.833333 0.001037
rfps: 30.833333 0.001037
rfps: 30.916667 0.001247
rfps: 30.916667 0.001247
rfps: 31.000000 0.001476
rfps: 31.000000 0.001476
rfps: 31.083333 0.001725
rfps: 31.083333 0.001725
rfps: 31.166667 0.001993
rfps: 31.166667 0.001993
rfps: 31.250000 0.002280
rfps: 31.250000 0.002280
rfps: 31.333333 0.002587
rfps: 31.333333 0.002587
rfps: 31.416667 0.002913
rfps: 31.416667 0.002913
rfps: 31.500000 0.003258
rfps: 31.500000 0.003258
rfps: 31.583333 0.003622
rfps: 31.583333 0.003622
rfps: 31.666667 0.004006
rfps: 31.666667 0.004006
rfps: 31.750000 0.004409
rfps: 31.750000 0.004409
rfps: 31.833333 0.004832
rfps: 31.833333 0.004832
rfps: 31.916667 0.005274
rfps: 31.916667 0.005274
rfps: 32.000000 0.005735
rfps: 32.000000 0.005735
rfps: 32.083333 0.006215
rfps: 32.083333 0.006215
rfps: 32.166667 0.006715
rfps: 32.166667 0.006715
rfps: 32.250000 0.007234
rfps: 32.250000 0.007234
rfps: 32.333333 0.007773
rfps: 32.333333 0.007773
rfps: 32.416667 0.008331
rfps: 32.416667 0.008331
rfps: 32.500000 0.008908
rfps: 32.500000 0.008908
rfps: 32.583333 0.009504
rfps: 32.583333 0.009504
rfps: 32.666667 0.010120
rfps: 32.666667 0.010120
rfps: 32.750000 0.010755
rfps: 32.750000 0.010755
rfps: 32.833333 0.011410
rfps: 32.833333 0.011410
rfps: 32.916667 0.012084
rfps: 32.916667 0.012084
rfps: 33.000000 0.012777
rfps: 33.000000 0.012777
rfps: 33.083333 0.013489
rfps: 33.083333 0.013489
rfps: 33.166667 0.014221
rfps: 33.166667 0.014221
rfps: 33.250000 0.014972
rfps: 33.250000 0.014972
rfps: 33.333333 0.015743
rfps: 33.333333 0.015743
rfps: 33.416667 0.016532
rfps: 33.416667 0.016532
rfps: 33.500000 0.017341
rfps: 33.500000 0.017341
rfps: 33.583333 0.018170
rfps: 33.583333 0.018170
rfps: 33.666667 0.019018
rfps: 33.666667 0.019018
rfps: 33.750000 0.019885
rfps: 33.750000 0.019885
rfps: 56.166667 0.019815
rfps: 56.250000 0.018949
rfps: 56.333333 0.018103
rfps: 56.416667 0.017276
rfps: 56.500000 0.016468
rfps: 56.583333 0.015680
rfps: 56.666667 0.014911
rfps: 56.750000 0.014162
rfps: 56.833333 0.013432
rfps: 56.916667 0.012721
rfps: 57.000000 0.012029
rfps: 57.083333 0.011357
rfps: 57.166667 0.010704
rfps: 57.250000 0.010070
rfps: 57.333333 0.009456
rfps: 57.416667 0.008861
rfps: 57.500000 0.008285
rfps: 57.583333 0.007729
rfps: 57.666667 0.007192
rfps: 57.750000 0.006675
rfps: 57.833333 0.006176
rfps: 57.916667 0.005697
rfps: 58.000000 0.005238
rfps: 58.083333 0.004797
rfps: 58.166667 0.004376
rfps: 58.250000 0.003975
rfps: 58.333333 0.003592
rfps: 58.416667 0.003229
rfps: 58.500000 0.002886
rfps: 58.583333 0.002561
rfps: 58.666667 0.002256
rfps: 58.750000 0.001971
rfps: 58.833333 0.001704
rfps: 58.916667 0.001457
rfps: 59.000000 0.001230
rfps: 59.083333 0.001021
rfps: 59.166667 0.000832
rfps: 59.250000 0.000663
rfps: 59.333333 0.000512
rfps: 59.416667 0.000381
rfps: 59.500000 0.000269
rfps: 59.583333 0.000177
rfps: 59.666667 0.000104
rfps: 59.750000 0.000050
rfps: 59.833333 0.000016
rfps: 59.916667 0.000001
rfps: 29.970030 0.000000
rfps: 29.970030 0.000000
rfps: 59.940060 0.000000
rfps: 59.940060 0.000000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x10200f600] File position after avformat_find_stream_info() is 4669696
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/ingest_hd_4/BCL00012/BCSPA039_pre.mov':
  Metadata:
    creation_time   : 2012-05-25 16:42:20
  Duration: 00:00:16.08, start: 0.204542, bitrate: 247001 kb/s
    Stream #0:0(eng), 0, 1/2997: Subtitle: eia_608 (c608 / 0x38303663)
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32, 2304 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:3(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:4(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:5(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:6(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:7(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:8(eng), 0, 1/2997: Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2012-05-25 16:44:31
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:50;25
    Stream #0:9(eng), 1, 1/2997: Video: v210 (v210 / 0x30313276), yuv422p10le, 720x486, 223724 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc
    Metadata:
      creation_time   : 2012-05-25 20:41:15
      handler_name    : Apple Alias Data Handler
    Stream #0:10(eng), 5, 1/2997: Video: v210 (v210 / 0x30313276), yuv422p10le, 720x486, 222790 kb/s, 29.84 fps, 29.97 tbr, 2997 tbn, 2997 tbc
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:11(eng), 0, 1/2997: Subtitle: eia_608 (c608 / 0x38303663)
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:12(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32, 2304 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:13(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:14(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:15(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:16(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:17(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:18(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-05-25 16:44:30
      handler_name    : Apple Alias Data Handler
    Stream #0:19(eng), 0, 1/2997: Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2012-05-25 16:44:31
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:50;25
At least one output file must be specified

}}}
"	dericed
git-master	1388	rv30 decoder does not completely support resolution changes	avcodec	git-master	defect	open	2012-06-01T19:17:39+02:00	2013-03-15T19:58:38+01:00	"(bug 299)
I will attach a rv30 sample that continuously changes resolution between 354x288 and 256x208, plays fine with mplayer -vc rv3040.
FFmpeg (and mplayer -vc ffrv30) mostly manages the first change from large to small (except that the first keyframe after the change is dropped), but ignores the changes from small to large, leading to massive corruption (and messages).
{{{
$ ffmpeg -i teenagelament_cut.ram -qscale 2 -t 16 out.avi
ffmpeg version N-41200-gaac41ec Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun  1 2012 10:02:11 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs
  libavutil      51. 55.100 / 51. 55.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[rm @ 0x90113c0] Unsupported stream type 0000023e
Input #0, rm, from 'teenagelament_cut.ram':
  Metadata:
    title           : Teenage Lament '74
    author          :
    copyright       : �2004
    comment         :
  Duration: 00:03:08.86, start: 0.000000, bitrate: 86 kb/s
    Stream #0:0: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, flt, 32 kb/s
    Stream #0:1: Video: rv30 (RV30 / 0x30335652), yuv420p, 352x288, 117 kb/s, 25 fps, 25 tbr, 1k tbn, 1k tbc
    Stream #0:2: Data: none
Please use -q:a or -q:v, -qscale is ambiguous
[buffer @ 0x909b1c0] w:352 h:288 pixfmt:yuv420p tb:1/1000 sar:0/1 sws_param:flags=2
[buffersink @ 0x909b200] No opaque field provided
Output #0, avi, to 'out.avi':
  Metadata:
    INAM            : Teenage Lament '74
    author          :
    ICOP            : �2004
    ICMT            :
    ISFT            : Lavf54.6.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, flt
Stream mapping:
  Stream #0:1 -> #0:0 (rv30 -> mpeg4)
  Stream #0:0 -> #0:1 (cook -> libmp3lame)
Press [q] to stop, [?] for help
Changing dimensions to 256x208=    1281kB time=00:00:07.76 bitrate=1352.7kbits/s
[rv30 @ 0x9017ce0] warning: first frame is no keyframe
Input stream #0:1 frame changed from size:352x288 fmt:yuv420p to size:256x208 fmt:yuv420p
[buffer @ 0x9097b00] w:256 h:208 pixfmt:yuv420p tb:1/1000 sar:0/1 sws_param:flags=2
[buffersink @ 0x90dd140] No opaque field provided
[scale @ 0x909ac60] w:256 h:208 fmt:yuv420p sar:0/1 -> w:352 h:288 fmt:yuv420p sar:0/1 flags:0x4
Incorrect intra prediction mode    2186kB time=00:00:12.40 bitrate=1444.1kbits/s
[rv30 @ 0x9017ce0] concealing 208 DC, 208 AC, 208 MV errors
[rv30 @ 0x9017ce0] Incorrect intra prediction mode
[rv30 @ 0x9017ce0] concealing 208 DC, 208 AC, 208 MV errors
[rv30 @ 0x9017ce0] Incorrect intra prediction mode
[rv30 @ 0x9017ce0] concealing 208 DC, 208 AC, 208 MV errors
[rv30 @ 0x9017ce0] Incorrect intra prediction mode
[rv30 @ 0x9017ce0] concealing 208 DC, 208 AC, 208 MV errors
[rv30 @ 0x9017ce0] Incorrect intra prediction mode
[rv30 @ 0x9017ce0] concealing 114 DC, 114 AC, 114 MV errors
[rv30 @ 0x9017ce0] Incorrect intra prediction mode
[rv30 @ 0x9017ce0] concealing 114 DC, 114 AC, 114 MV errors
[rv30 @ 0x9017ce0] Incorrect intra prediction mode
[rv30 @ 0x9017ce0] concealing 163 DC, 163 AC, 163 MV errors
frame=  267 fps=138 q=2.0 Lsize=    3057kB time=00:00:16.00 bitrate=1565.2kbits/s
video:2898kB audio:125kB global headers:0kB muxing overhead 1.131454%
}}}
"	cehoyos
git-master	1398	remuxed DTS audio won't play on hardware devices	avformat	git-master	defect	open	2012-06-03T00:14:04+02:00	2013-02-20T22:05:54+01:00	"Hi,

Firstly thanks for FFmpeg, it's an incredible tool. My interest in it comes from using the DLNA server Serviio which uses FFmpeg for its transcoding and remuxing. Many renderer devices don't support Matroska files but the streams they contain are often supported, so it's common to remux to mpeg-ts. I maintain the Serviio device profile for Sony Bluray and Network Media Players:
http://forum.serviio.org/viewtopic.php?f=11&t=2004

I would like to report an issue with DTS audio streams that are remuxed into mpeg-ts by FFmpeg. The resulting files fail to play on many consumer electronics products which do officially support DTS, in my case Sony Bluray players, though I can see from the Serviio forum that it's also an issue for people who use AV receivers to decode the DTS stream.

The files that FFmpeg produces play with silent audio on the affected devices, but they do play ok in VLC and Media Player Classic Home Cinema. I have observed this problem now for quite some time (maybe 18 months or so). I have reproduced this using the latest win32 build I could find from Zeranoe - ffmpeg-20120601-git-8a0efa9-win32-static.7z

The remux command line that Serviio would issue is as follows:

{{{ffmpeg -i ""/volume1/public/video/Movies/The.Good.The.Bad.And.The.Ugly.EXTENDED.1966.BluRay.720p.DTS.x264-FSiHD.mkv"" -y -async 1 -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec copy -map 0:0 -map 0:1 -sn -f mpegts /volume1/@tmp/Serviio/transcoding-temp-1086-10-ORIGINAL.stf}}}

The problem is not limited to my choice of example clip - I have found it to be consistent with all MKV files containing DTS audio.

By contrast, the closed source utility [[http://www.videohelp.com/tools/tsMuxeR|tsMmuxeR]] is able to remux the same test clip in a way that plays perfectly on all systems I have tested. I shall attach 10MB clips of the original file, the FFmpeg non-working remux, and the TSmuxer working remux so that they may be analysed and compared.

Hopefully this could lead to a fix, as it doesn't seem that this issue has been reported.

Thanks,

Patters"	patters
git-master	1438	Seeking in vob file with timestamp discontinuities fails	avformat	git-master	defect	open	2012-06-11T00:11:32+02:00	2013-03-02T11:18:57+01:00	"I am trying to transcode from *.vob to *.avi.
As long as I don't use -ss option everything works as expected.
With -ss option ffmpeg exits with following error:

[ac3 @ 0xa0c75a0] frame sync error
Error while decoding stream #0:9
[mpeg @ 0xa0133c0] Adjusting PTS forward
    Last message repeated 27 times
frame=    0 fps=0.0 q=0.0 Lsize=      27kB time=00:-17:-25.-89 bitrate=  -0.2kbits/s dup=0 drop=7
video:0kB audio:16kB global headers:0kB muxing overhead 65.411932%   

The command line that I use is:
ffmpeg -ss 0:17:47 -t 01:28:48.4 -i '/A/film.vob' '/A/film.avi'


The information about input file:
-> ffmpeg -v 9 -loglevel 99 -i '/A/film.vob'
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun  9 2012 00:17:30 with gcc 4.6.2
  configuration: --cpu=i686 --prefix=/usr --disable-static --enable-shared --enable-gpl --enable-version3 --disable-ffserver --enable-x11grab --disable--amrnb --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg @ 0x906f3c0] Format mpeg probed with size=8192 and score=52
[mpeg @ 0x906f3c0] File position before avformat_find_stream_info() is 0
[mpeg @ 0x906f3c0] probing stream 0 pp:2500
[mpeg @ 0x906f3c0] Probe with size=2012, packets=1 detected mpegvideo with score=25
[mpeg @ 0x906f3c0] probing stream 0 pp:2499
[mpeg @ 0x906f3c0] Probe with size=4037, packets=2 detected mpegvideo with score=25
[mpeg @ 0x906f3c0] probing stream 0 pp:2498
[mpeg @ 0x906f3c0] Probe with size=6062, packets=3 detected mpegvideo with score=25
[mpeg @ 0x906f3c0] probing stream 0 pp:2497
[mpeg @ 0x906f3c0] probing stream 0 pp:2496
[mpeg @ 0x906f3c0] Probe with size=10112, packets=5 detected mpegvideo with score=51
[mpeg @ 0x906f3c0] probed stream 0
[mpeg @ 0x906f3c0] first_dts 22254 not matching first dts 29454 in que
    Last message repeated 3 times
[mpeg @ 0x906f3c0] first_dts 22254 not matching first dts 47454 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 31614 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 34494 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 40254 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 46014 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 22254 not matching first dts 65454 in que
[mpeg @ 0x906f3c0] first_dts 22254 not matching first dts 72654 in que
    Last message repeated 3 times
[mpeg @ 0x906f3c0] first_dts 22254 not matching first dts 90654 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 48894 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 54654 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 57534 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 63294 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 69054 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 77694 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 74814 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 83454 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 92094 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 22254 not matching first dts 108654 in que
[mpeg @ 0x906f3c0] first_dts 22254 not matching first dts 115854 in que
    Last message repeated 3 times
[mpeg @ 0x906f3c0] first_dts 22254 not matching first dts 133854 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 94974 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 100734 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 106494 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 115134 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 118014 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 123774 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 126654 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 129534 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 138174 in que
[mpeg @ 0x906f3c0] first_dts 22254 not matching first dts 151854 in que
[mpeg @ 0x906f3c0] first_dts 22254 not matching first dts 159054 in que
    Last message repeated 3 times
[mpeg @ 0x906f3c0] first_dts 22254 not matching first dts 177054 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 143934 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 152574 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 155454 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 161214 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 166974 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 175614 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 22254 not matching first dts 198654 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 178494 in que
    Last message repeated 3 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 184254 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 190014 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 198654 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 204414 in que
    Last message repeated 5 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 213054 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 215934 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 221694 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 227454 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 230334 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 236094 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 238974 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 244734 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 250494 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 259134 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 256254 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 264894 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 273534 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 276414 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 282174 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 287934 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 296574 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 299454 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 305214 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 308094 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 310974 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 319614 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 325374 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 334014 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 336894 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 342654 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 348414 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 357054 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 359934 in que
    Last message repeated 3 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 365694 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 371454 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 380094 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 385854 in que
    Last message repeated 5 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 394494 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 397374 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 403134 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 408894 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 411774 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 417534 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 420414 in que
    Last message repeated 2 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 426174 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 431934 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 440574 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 437694 in que
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 446334 in que
    Last message repeated 4 times
[mpeg @ 0x906f3c0] first_dts 25854 not matching first dts 454974 in que
    Last message repeated 1 times
[mpeg @ 0x906f3c0] max_analyze_duration 5000000 reached at 5000000
[mpeg @ 0x906f3c0] File position after avformat_find_stream_info() is 0
Input #0, mpeg, from '/A/film.vob':
  Duration: 00:00:21.02, start: 0.287267, bitrate: -2147483 kb/s
    Stream #0:0[0x1e0], 127, 1/90000: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 1/50, 9800 kb/s, 25 fps, 25 tbr, 90k tbn, 50 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[0x80], 149, 1/90000: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s
    Stream #0:10[0x81], 149, 1/90000: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
    Stream #0:11[0x82], 149, 1/90000: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
    Stream #0:12[0x83], 149, 1/90000: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
    Stream #0:13[0x84], 152, 1/90000: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:14[0x28], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:15[0x29], 1, 1/90000: Subtitle: dvd_subtitle
    Stream #0:16[0x2a], 1, 1/90000: Subtitle: dvd_subtitle
At least one output file must be specified



best regards

Andrzej

P.S.
I've already reported this issue almost 2 years ago.
It disappeared from bug reports in ffmpeg but I google it out:
http://roundup.libav.org/issue2199"	superandrzej
git-master	1464	FFplay regression with H264 high profile input (gcc 4.2.* specific)	undetermined	git-master	defect	open	2012-06-19T09:26:01+02:00	2012-09-03T22:23:27+02:00	"Summary of the bug:

FFplay version 0.8.12 successfully decodes and plays this file. FFplay from snapshot downloaded {{{ http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=HEAD;sf=tgz }}} (ffmpeg-HEAD-0c142e4.tar.gz 19 June 2012) does not like this file. 

A sample of the source file is attached. 

How to reproduce:

Output using ffplay-0.8.12
{{{
./ffplay ../h264_high_profile.h264
ffplay version 0.8.12, Copyright (c) 2003-2011 the FFmpeg developers
  built on Jun 18 2012 14:48:35 with gcc 4.2.2
  configuration: --enable-memalign-hack --disable-devices --disable-network --enable-shared --disable-static --disable-debug --enable-swscale --enable-gpl --prefix=/tmp
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  5. 0 / 53.  5. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[h264 @ 0x807d810] Estimating duration from bitrate, this may be inaccurate
Input #0, h264, from '../h264_high_profile.h264':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: h264 (High), yuv420p, 704x576, 25 fps, 25 tbr, 1200k tbn, 50 tbc
   8.91 A-V:  0.000 s:0.0 aq=    0KB vq=    0KB sq=    0B f=0/0   0/0
}}}

Output from HEAD-0c142e4
{{{
./ffplay ../h264_high_profile.h264
ffplay version 0.10.2.git-0c142e4 Copyright (c) 2003-2012 the FFmpeg developers
  built on Jun 19 2012 07:03:12 with gcc 4.2.2
  configuration: --enable-memalign-hack --disable-devices --disable-network --enable-shared --disable-static --disable-debug --enable-swscale --enable-gpl --prefix=/tmp
  libavutil      51. 58.100 / 51. 58.100
  libavcodec     54. 25.100 / 54. 25.100
  libavformat    54.  8.100 / 54.  8.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 81.100 /  2. 81.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[h264 @ 0x8082c10] top block unavailable for requested intra4x4 mode -1 at 10 0
[h264 @ 0x8082c10] error while decoding MB 10 0, bytestream (5074)
[h264 @ 0x8082c10] concealing 1584 DC, 1584 AC, 1584 MV errors
[h264 @ 0x8082c10] concealing 1353 DC, 1353 AC, 1353 MV errors
[h264 @ 0x8082c10] top block unavailable for requested intra4x4 mode -1 at 11 0
[h264 @ 0x8082c10] error while decoding MB 11 0, bytestream (2753)
[h264 @ 0x8082c10] concealing 1584 DC, 1584 AC, 1584 MV errors
[h264 @ 0x8082c10] concealing 1516 DC, 1516 AC, 1516 MV errors
[h264 @ 0x8082c10] concealing 1499 DC, 1499 AC, 1499 MV errors
[h264 @ 0x8083010] Estimating duration from bitrate, this may be inaccurate
Input #0, h264, from '../h264_high_profile.h264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p, 704x576, 25 fps, 25 tbr, 1200k tbn, 50 tbc
[ffplay_buffer @ 0x8539810] w:704 h:576 pixfmt:yuv420p tb:1/1200000 fr:0/1 sar:0/1 sws_param:
[h264 @ 0x8084810] top block unavailable for requested intra4x4 mode -1 at 10 0
[h264 @ 0x8084810] error while decoding MB 10 0, bytestream (5074)
[h264 @ 0x8084810] concealing 1584 DC, 1584 AC, 1584 MV errors
[h264 @ 0x8084c10] concealing 1353 DC, 1353 AC, 1353 MV errors
[h264 @ 0x8084010] top block unavailable for requested intra4x4 mode -1 at 11 0
[h264 @ 0x8084010] error while decoding MB 11 0, bytestream (2753)
[h264 @ 0x8084010] concealing 1584 DC, 1584 AC, 1584 MV errors
[h264 @ 0x8084810] concealing 1516 DC, 1516 AC, 1516 MV errors 0B f=0/0
[h264 @ 0x8084c10] concealing 1499 DC, 1499 AC, 1499 MV errors0/0
[h264 @ 0x8084010] concealing 1562 DC, 1562 AC, 1562 MV errors0/0
[h264 @ 0x8084810] concealing 1549 DC, 1549 AC, 1549 MV errors
[h264 @ 0x8084c10] top block unavailable for requested intra4x4 mode -1 at 28 0
[h264 @ 0x8084c10] error while decoding MB 28 0, bytestream (4088)
[h264 @ 0x8084c10] concealing 1584 DC, 1584 AC, 1584 MV errors
[h264 @ 0x8084010] concealing 1567 DC, 1567 AC, 1567 MV errors0/0
[h264 @ 0x8084810] concealing 1431 DC, 1431 AC, 1431 MV errors0/0
[h264 @ 0x8084c10] concealing 1575 DC, 1575 AC, 1575 MV errors0/0
[h264 @ 0x8084010] concealing 1285 DC, 1285 AC, 1285 MV errors0/0
[h264 @ 0x8084810] concealing 1482 DC, 1482 AC, 1482 MV errors0/0
[h264 @ 0x8084c10] top block unavailable for requested intra mode at 16 0
[h264 @ 0x8084c10] error while decoding MB 16 0, bytestream (5696)
[h264 @ 0x8084c10] concealing 1584 DC, 1584 AC, 1584 MV errors
[h264 @ 0x8084010] concealing 1577 DC, 1577 AC, 1577 MV errors
[h264 @ 0x8084810] top block unavailable for requested intra mode at 23 0
[h264 @ 0x8084810] error while decoding MB 23 0, bytestream (5604)
[h264 @ 0x8084810] concealing 1584 DC, 1584 AC, 1584 MV errors
[h264 @ 0x8084c10] top block unavailable for requested intra4x4 mode -1 at 10 0
[h264 @ 0x8084c10] error while decoding MB 10 0, bytestream (3930)
[h264 @ 0x8084c10] concealing 1584 DC, 1584 AC, 1584 MV errors
[h264 @ 0x8084010] concealing 1567 DC, 1567 AC, 1567 MV errors0/0
[h264 @ 0x8084810] concealing 1084 DC, 1084 AC, 1084 MV errors
   2.67 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
}}}

"	ianm
git-master	1482	FFMPEG fails to create a SRT file when extracting Subtitles	undetermined	git-master	defect	new	2012-06-23T21:00:05+02:00	2012-08-28T01:40:02+02:00	"Summary of the bug: When extracing subtitles in SRT format FFMPEG creates a file but it is an illegible format.

The link to the original file (too big to attach)
http://www.mediafire.com/?dnvw6m61mky8pea

Attaching the output file created

How to reproduce:
COMMAND:
ffmpeg -i srt.ts -an -vn -scodec copy -copyinkf -f srt sub.srt


{{{
ffmpeg version N-41578-ga5c1a0c Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 13 2012 22:34:53 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 --ena  libavutil      51. 58.100 / 51. 58.100
  libavcodec     54. 25.100 / 54. 25.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 79.100 /  2. 79.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mpegts @ 002dbd00] max_analyze_duration 5000000 reached at 5000000
[NULL @ 02b171c0] start time is not set in estimate_timings_from_pts
Input #0, mpegts, from 'srt.ts':
  Duration: 00:01:38.16, start: 0.151678, bitrate: 4310 kb/s
  Program 1
    Stream #0:0[0x30]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 15000 kb
/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x40](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 256 kb/s
    Stream #0:2[0x50](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Output #0, srt, to 'sub.srt':
  Metadata:
    encoder         : Lavf54.6.101
    Stream #0:0(eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream mapping:
  Stream #0:2 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=     113kB time=00:01:37.25 bitrate=   9.5kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
}}}"	ramitbhalla
git-master	1487	ffmpeg's mpeg mux bug(s) never fixed...	avformat	git-master	defect	new	2012-06-26T22:06:57+02:00	2013-01-06T20:07:15+01:00	"i'm trying to mux a mpg file use the following cmd

ffmpeg -y -i 1.m2v -i 1.mp2 -c copy -f svcd 1.mpg

it finished muxing without any errors & warnings.
of cause, the original mpg file is normal.

but the muxed mpg file is not normal, it can be played on PC with codecs but not in most DVD players.

the following bugs i found:
1. audio always has a Delay relative to video such as ""-67ms""
2. the mux rate is too big.. i think it should divided by 8.
3. i think the PCR is also buged, it's not begin with 0, the SCR base is not begin with 0, either.

it's hard to read the mpegenc.c for me, 
i think developers can fix it well.

sorry for my bad eng."	downuse
git-master	1528	drastic v210 - packet too small	avcodec	git-master	defect	open	2012-07-12T13:23:31+02:00	2012-07-12T20:59:17+02:00	"http://www.datafilehost.com/download-63c35830.html

{{{
C:\>ffmpeg -i drastic_v210_packet_too_small.mov out.avi
ffmpeg version N-42449-g9ca27df Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 12 2012 02:37:12 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 34.100 / 54. 34.100
  libavformat    54. 16.104 / 54. 16.104
  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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'drastic_v210_packet_too_small.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
  Duration: 00:00:12.64, start: 0.000000, bitrate: 13387 kb/s
    Stream #0:0(eng): Video: v210 (v210 / 0x30313276), yuv422p10le, 320x240, 132
71 kb/s, 8 fps, 8 tbr, 1000k tbn, 1000k tbc
    Metadata:
      handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
w:320 h:240 pixfmt:yuv422p10le tb:1/1000000 fr:8/1 sar:0/1 sws_param:flags=2
[auto-inserted scaler 0 @ 0x1e03a80] w:320 h:240 fmt:yuv422p10le sar:0/1 -> w:32
0 h:240 fmt:yuv420p sar:0/1 flags:0x4
Output #0, avi, to 'out.avi':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    ISFT            : Lavf54.16.104
    Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31
, 200 kb/s, 8 tbn, 8 tbc
    Metadata:
      handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
Stream mapping:
  Stream #0:0 -> #0:0 (v210 -> mpeg4)
Press [q] to stop, [?] for help
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
frame=    0 fps=0.0 q=0.0 Lsize=       6kB time=00:00:00.00 bitrate=   0.0kbits/
s
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters i
f used)
}}}"	ami_stuff
git-master	1536	u263: problem with b-frames	avcodec	git-master	defect	open	2012-07-15T15:20:06+02:00	2012-07-30T19:32:10+02:00	"u263 codec have a possibility to encode video with enabled b-frames (1-5), ffmpeg decodes such files incorrectly.

{{{
$ ffmpeg -i u263_b-frames_5.avi out.avi
ffmpeg version 0.10.2.git-ab7d6cb Copyright (c) 2000-2012 the FFmpeg developers
  built on May 30 2012 13:37:47 with gcc 4.6.1
  configuration: --disable-ffprobe --enable-gpl
  libavutil      51. 55.100 / 51. 55.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[h263 @ 0189c720] Warning: not compiled with thread support, using thread emulat
ion
Input #0, avi, from 'u263_b-frames_5.avi':
  Duration: 00:00:12.64, start: 0.000000, bitrate: 403 kb/s
    Stream #0:0: Video: h263 (U263 / 0x33363255), yuv420p, 320x240, 23.97 tbr, 2
3.97 tbn, 23.97 tbc
w:320 h:240 pixfmt:yuv420p tb:100/2397 sar:0/1 sws_param:flags=2
[buffersink @ 018a23c0] No opaque field provided
[mpeg4 @ 01898e40] Warning: not compiled with thread support, using thread emula
tion
[h263 @ 0189c720] Warning: not compiled with thread support, using thread emulat
ion
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.6.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200
 kb/s, 23.97 tbn, 23.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h263 -> mpeg4)
Press [q] to stop, [?] for help
[h263 @ 0189c720] illegal ac vlc code at 0x3
[h263 @ 0189c720] Error at MB: 63
[h263 @ 0189c720] concealing 300 DC, 300 AC, 300 MV errors
[h263 @ 0189c720] illegal ac vlc code at 12x0
[h263 @ 0189c720] Error at MB: 12
[h263 @ 0189c720] concealing 300 DC, 300 AC, 300 MV errors
[h263 @ 0189c720] illegal ac vlc code at 17x5
[h263 @ 0189c720] Error at MB: 122
[h263 @ 0189c720] concealing 300 DC, 300 AC, 300 MV errors
[h263 @ 0189c720] b cbpy damaged at 19 5
[h263 @ 0189c720] Error at MB: 124
[h263 @ 0189c720] concealing 300 DC, 300 AC, 300 MV errors
[h263 @ 0189c720] run overflow at 13x0 i:0
[h263 @ 0189c720] Error at MB: 13
[h263 @ 0189c720] concealing 300 DC, 300 AC, 300 MV errors
[h263 @ 0189c720] b mb_type damaged at 18 3
[h263 @ 0189c720] Error at MB: 81
[h263 @ 0189c720] concealing 300 DC, 300 AC, 300 MV errors
[h263 @ 0189c720] illegal ac vlc code at 19x3
[h263 @ 0189c720] Error at MB: 82
[h263 @ 0189c720] concealing 300 DC, 300 AC, 300 MV errors
[h263 @ 0189c720] b mb_type damaged at 5 2
[h263 @ 0189c720] Error at MB: 47
[cut]
[h263 @ 0189c720] concealing 300 DC, 300 AC, 300 MV errors
[h263 @ 0189c720] b mb_type damaged at 16 0
[h263 @ 0189c720] Error at MB: 16
[h263 @ 0189c720] concealing 300 DC, 300 AC, 300 MV errors
frame=  296 fps= 74 q=5.1 size=     467kB time=00:00:12.55 bitrate= 304.7kbits/s
illegal ac vlc code at 13x0
[h263 @ 0189c720] Error at MB: 13
[h263 @ 0189c720] concealing 300 DC, 300 AC, 300 MV errors
[h263 @ 0189c720] b mb_type damaged at 17 1
[h263 @ 0189c720] Error at MB: 38
[h263 @ 0189c720] concealing 300 DC, 300 AC, 300 MV errors
frame=  298 fps= 74 q=5.2 Lsize=     474kB time=00:00:12.64 bitrate= 306.9kbits/
s
video:461kB audio:0kB global headers:0kB muxing overhead 2.776824%
}}}"	ami_stuff
git-master	1538	request_channels does not work for mpeg program stream	undetermined	git-master	defect	new	2012-07-16T15:08:40+02:00	2012-07-16T15:08:40+02:00	"-request_channels works fine for many tested containers, does not work for mpeg program stream
{{{
$ ./ffmpeg -i fate-suite/svq3/Vertical400kbit.sorenson3.mov -ac 6 -qscale 2 -acodec ac3 out.mpg
}}}
{{{
$ ./ffmpeg -request_channels 2 -i out.mpg
ffmpeg version N-42547-g7543fd8 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 16 2012 07:44:51 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs --enable-x11grab
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 40.100 / 54. 40.100
  libavformat    54. 16.104 / 54. 16.104
  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
[mpeg @ 0x904d4a0] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from 'out.mpg':
  Duration: 00:00:43.57, start: 0.994200, bitrate: 1507 kb/s
    Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 320x240 [SAR 1:1 DAR 4:3], 104857 kb/s, 30 fps, 30 tbr, 90k tbn, 30 tbc
    Stream #0:1[0x80]: Audio: ac3, 44100 Hz, 5.1(side), s16, 448 kb/s
At least one output file must be specified
}}}
I also tested avi, mkv, nut and mpegts and all report stereo / downmixing works for all other containers I tested"	cehoyos
git-master	1551	mov file is played by vlc, cannot be read by FFmpeg	avformat	git-master	defect	new	2012-07-18T16:54:24+02:00	2012-09-27T12:58:12+02:00	"(issue 2226 by ami_stuff)
http://www.imaging-resource.com/PRODS/TS2/FULLRES/YP1020228.MOV
Sample (1280x720@30 mjpeg and pcm audio) can be played with vlc, does not decode with FFmpeg
{{{
$ ffmpeg -i YP1020228.MOV
ffmpeg version N-42594-g56ae592 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 18 2012 09:14:59 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs --enable-x11grab --enable-libass
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 41.100 / 54. 41.100
  libavformat    54. 17.100 / 54. 17.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 @ 0x90774e0] moov atom not found
YP1020228.MOV: Invalid data found when processing input
}}}
"	cehoyos
git-master	1555	WebM: Silent track not taken into account if followed by a noisy track	undetermined	git-master	defect	open	2012-07-18T21:33:28+02:00	2012-12-29T20:24:43+01:00	"(issue 2445)
I will upload a webm sample that plays different with Firefox and ffplay - both ffmpeg and ffplay ignore the initial silence.
{{{
$ ffmpeg -i res_silence_then_sound.webm -qscale 2 out.avi
ffmpeg version N-42605-g5784a46 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 18 2012 20:29:06 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs --enable-x11grab --enable-libass
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 41.100 / 54. 41.100
  libavformat    54. 17.100 / 54. 17.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
Input #0, matroska,webm, from 'res_silence_then_sound.webm':
  Metadata:
    creation_time   : 2010-12-24 06:39:05
  Duration: 00:00:35.58, start: 0.000000, bitrate: 1105 kb/s
    Stream #0:0: Video: vp8, yuv420p, 640x352, SAR 1:1 DAR 20:11, 25 fps, 25 tbr, 1k tbn, 1k tbc
    Stream #0:1: Audio: vorbis, 48000 Hz, stereo, s16
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.17.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 640x352 [SAR 1:1 DAR 20:11], q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16
Stream mapping:
  Stream #0:0 -> #0:0 (vp8 -> mpeg4)
  Stream #0:1 -> #0:1 (vorbis -> libmp3lame)
Press [q] to stop, [?] for help
frame=  858 fps= 90 q=2.0 Lsize=    6666kB time=00:00:35.52 bitrate=1537.3kbits/s
video:6123kB audio:477kB subtitle:0 global headers:0kB muxing overhead 0.995196%
[libmp3lame @ 0x90c2a80] 1 frames left in que on closing
}}}
out.avi is broken / severe A/V desync."	cehoyos
git-master	1558	Unable to decode a (possibly damaged) matroska file	avformat	git-master	defect	new	2012-07-19T20:55:07+02:00	2012-09-27T12:52:16+02:00	"(issue 384)
http://samples.ffmpeg.org/ffmpeg-bugs/roundup/issue384/
FFmpeg is unable to decode a matroska sample that is played fine by vlc.
{{{
$ ffmpeg -i matroska_crash.mkv
ffmpeg version N-42619-g6b7849e Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 19 2012 08:58:35 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs --enable-x11grab --enable-libass
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 41.100 / 54. 41.100
  libavformat    54. 17.100 / 54. 17.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
[matroska,webm @ 0x90764e0] Unknown entry 0x6E1F
[matroska,webm @ 0x90764e0] Unknown entry 0x48B2
[matroska,webm @ 0x90764e0] Read error at pos. 2376 (0x948)
[matroska,webm @ 0x90764e0] Unknown entry 0x81
[matroska,webm @ 0x90764e0] Read error at pos. 192 (0xc0)
[matroska,webm @ 0x90764e0] Unknown entry 0x82
[matroska,webm @ 0x90764e0] Unknown entry 0x67C9
    Last message repeated 1 times
[matroska,webm @ 0x90764e0] Unknown entry 0x82
[matroska,webm @ 0x90764e0] Could not find codec parameters for stream 1 (Audio: mp3, 48000 Hz, 2 channels, s16): unspecified sample size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x90764e0] Could not find codec parameters for stream 3 (Audio: mp3, 48000 Hz, 2 channels, s16): unspecified sample size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x90764e0] Could not find codec parameters for stream 5 (Audio: mp3, 48000 Hz, 2 channels, s16): unspecified sample size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x90764e0] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #0.1 : stereo
Guessed Channel Layout for  Input Stream #0.3 : stereo
Guessed Channel Layout for  Input Stream #0.5 : stereo
Input #0, matroska,webm, from 'matroska_crash.mkv':
  Metadata:
    creation_time   : 2005-07-28 20:39:44
  Duration: N/A, start: 0.000000, bitrate: N/A
    Chapter #0.0: start 0.000000, end 15.000000
    Metadata:
      title           : Introduction
    Chapter #0.1: start 15.000000, end 30.000000
    Metadata:
      title           : Developpement
    Chapter #0.2: start 30.000000, end 45.200000
    Metadata:
      title           : Conclusion
    Stream #0:0(eng): Video: mpeg4 (DX50 / 0x30355844), yuv420p, 720x400, SAR 1:1 DAR 9:5, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
    Stream #0:1(eng): Audio: mp3, 48000 Hz, stereo, s16 (default)
    Stream #0:2(eng): Video: mpeg4 (DX50 / 0x30355844), yuv420p, 720x400, SAR 1:1 DAR 9:5, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
    Stream #0:3(eng): Audio: mp3, 48000 Hz, stereo, s16 (default)
    Stream #0:4(eng): Video: mpeg4 (DX50 / 0x30355844), yuv420p, 720x400, SAR 1:1 DAR 9:5, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
    Stream #0:5(eng): Audio: mp3, 48000 Hz, stereo, s16 (default)
At least one output file must be specified
}}}"	cehoyos
git-master	1559	cannot seek in .m4a file	avformat	git-master	defect	new	2012-07-19T21:15:09+02:00	2012-11-15T18:14:30+01:00	"(issue 1952)
I will upload a m4a sample that cannot be seeked with ffplay, ffmpeg and mplayer -demuxer lavf.
{{{
$ ffmpeg -i Nic\ Chagall\ -\ Get\ The\ Kicks\ Podcast\ 001.m4a
ffmpeg version N-42619-g6b7849e Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 19 2012 08:58:35 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs --enable-x11grab --enable-libass
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 41.100 / 54. 41.100
  libavformat    54. 17.100 / 54. 17.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
[png @ 0x909f560] Missing png signature
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90764e0] max_analyze_duration 5000000 reached at 5015510
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90764e0] decoding for stream 4 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90764e0] Could not find codec parameters for stream 4 (Video: png): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Nic Chagall - Get The Kicks Podcast 001.m4a':
  Metadata:
    major_brand     : M4A
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 1940-02-17 09:46:08
    title           : Nic Chagall - Get The Kicks Podcast 001
    artist          : Nic Chagall
    album           : Nic Chagall - Get The Kicks
    encoder         : Podcast Maker 1.4.0 by Lemonz Dream
    description     : Episode 001
    synopsis        : Get The Kicks is broadcast live on ah.fm every fourth Monday of the month.
                    :
                    : For more info, visit www.nicchagall.de
    genre           : Podcast
    gapless_playback: 0
    date            : 2009-10-04T13:54:28Z
    season_number   : 0
    episode_sort    : 0
    media_type      : 0
  Duration: 01:00:16.55, start: 0.000000, bitrate: 131 kb/s
    Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 129 kb/s
    Metadata:
      creation_time   : 1940-02-17 09:46:08
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Subtitle: mov_text (text / 0x74786574)
    Metadata:
      creation_time   : 1940-02-17 09:46:08
      handler_name    : ?Apple Alias Data Handler
    Stream #0:2(eng): Video: mjpeg (jpeg / 0x6765706A), yuvj444p, 600x600 [SAR 1:1 DAR 1:1], 0 kb/s, SAR 40:37 DAR 40:37, 0k fps, 0k tbr, 44100 tbn, 44100 tbc
    Metadata:
      creation_time   : 1940-02-17 09:46:08
      handler_name    : ?Apple Alias Data Handler
    Stream #0:3(eng): Subtitle: mov_text (tx3g / 0x67337874)
    Metadata:
      creation_time   : 1940-02-17 09:46:08
      handler_name    : ?Apple Alias Data Handler
    Stream #0:4: Video: png, 90k tbr, 90k tbn, 90k tbc
At least one output file must be specified
}}}"	cehoyos
git-master	1578	variable FPS incorrect frame length	undetermined	git-master	defect	open	2012-07-27T09:37:01+02:00	2013-02-21T17:43:24+01:00	"I have a sample video to reproduce this bug - see attachment.

The video is in Apple Animation codec (qtrle) with variable frame rate and contains only 5 frames. Frames 1,2,4 and 5 are displayed for a very short time, but frame 3 is much longer. 

When I extract all the frames into PNGs with this command:

./ffmpeg -vsync 2 -i apple-animation-variable-fps-bug.mov -vf ""[in]showinfo[out]"" out/img%04d.png

it's fine, I get 5 PNG files, and the timestamps shown on the output are correct:

n:0 pts:0 pts_time:0 pos:48
n:1 pts:600 pts_time:0.2 pos:4335
n:2 pts:1300 pts_time:0.433333 pos:8286
n:3 pts:7300 pts_time:2.43333 pos:12518
n:4 pts:8100 pts_time:2.7 pos:16642

as you can see, frame n:2 (the third frame) is displayed for much longer than the others. However, when I run this command to dump the frames with a constant FPS:

./ffmpeg -i apple-animation-variable-fps-bug.mov -r 30 out/img%04d.png

the frames are dumped with wrong timing. The ""long"" frame was 2 seconds long, so it should be in about 60 frames (with FPS 30), but instead it only gets 7 frames. But the next frame which should be very short is dumped into 60 frames. It seems that the conversion between variable FPS into constant FPS incorrectly assigns frame length into the next frame.
"	kubabrecka
git-master	1579	fix remuxing of imaadpcm in wav	avformat	git-master	defect	open	2012-07-27T13:52:43+02:00	2012-10-28T03:18:45+01:00	"ms codec can't decode remuxed file because frame_size is set to 0 with ""-acodec copy""

http://samples.mplayerhq.hu/A-codecs/ima-adpcm/test_ima_adpcm.wav


libavformat/riff.c:
{{{
    } else if (enc->codec_id == CODEC_ID_GSM_MS || enc->codec_id == CODEC_ID_ADPCM_IMA_WAV) {
        hdrsize += 2;
        bytestream_put_le16(&riff_extradata, frame_size); /* wSamplesPerBlock */
+        av_log(enc, AV_LOG_WARNING, ""frame_size: %d\n"", frame_size);
}}}


{{{
C:\>ffmpeg -i test_ima_adpcm.wav -acodec copy out.wav
ffmpeg version N-42891-g9054f6b Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 26 2012 02:25:40 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 44.101 / 54. 44.101
  libavformat    54. 20.100 / 54. 20.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  3.100 /  3.  3.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Guessed Channel Layout for  Input Stream #0.0 : mono
Input #0, wav, from 'test_ima_adpcm.wav':
  Duration: 00:00:06.28, bitrate: 32 kb/s
    Stream #0:0: Audio: adpcm_ima_wav ([17][0][0][0] / 0x0011), 8000 Hz, mono, s
16, 32 kb/s
Output #0, wav, to 'out.wav':
  Metadata:
    encoder         : Lavf54.20.100
    Stream #0:0: Audio: adpcm_ima_wav ([17][0][0][0] / 0x0011), 8000 Hz, mono, 3
2 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=      25kB time=00:00:06.31 bitrate=  32.5kbits/s
video:0kB audio:25kB subtitle:0 global headers:0kB muxing overhead 0.234375%
}}}
"	ami_stuff
git-master	1582	Banding/discoloration in darker gradients when converting to rgb24	swscale	git-master	defect	open	2012-07-28T17:39:57+02:00	2013-04-23T05:12:32+02:00	"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
}}}"	y3kcjd5
git-master	1589	"getting ""AC EOB marker is absent"" errors when decoding DV video DIF blocks with non-zero STA"	avcodec	git-master	defect	open	2012-07-31T08:54:04+02:00	2012-09-30T13:53:44+02:00	"Summary of the bug:

When decoding some DV files I find a large amount of ""AC EOB marker is absent"". Through testing I found that this occurs on dv frames where the STA value != ""0b0000"" (the STA value is the first four bits of the fourth byte of the video DIF blocks, which documents tape read errors, glitches, etc. see page 46 of s314m).

I suspect the EOB error may be a misdiagnosis here. In the case where there is a non-zero STA could this be logged as a video error or concealment instead? Now that ffmpeg supports iec61883 as an input format I think it would be useful to warn when glitchy tape is being ingested.

Sample attached.

How to reproduce:
{{{
ffmpeg started on 2012-07-31 at 02:44:03
Report written to ""ffmpeg-20120731-024403.log""
Command line:
ffmpeg -report -i A1590.dv -f null -
ffmpeg version 0.11.1.git Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 16 2012 20:16:59 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-libfreetype --cc=/usr/bin/gcc-4.2 --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --enable-libvo-aacenc --enable-libopenjpeg
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 40.100 / 54. 40.100
  libavformat    54. 16.104 / 54. 16.104
  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
[dv @ 0x7faaba84e200] Format dv probed with size=131072 and score=75
[dv @ 0x7faaba84e200] File position before avformat_find_stream_info() is 0
[dv @ 0x7faaba84e200] All info found
[dv @ 0x7faaba84e200] Estimating duration from bitrate, this may be inaccurate
[dv @ 0x7faaba84e200] File position after avformat_find_stream_info() is 120000
Guessed Channel Layout for  Input Stream #0.1 : stereo
Guessed Channel Layout for  Input Stream #0.2 : stereo
Input #0, dv, from 'A1590.dv':
  Metadata:
    timecode        : 00:05:18;13
  Duration: 00:00:00.80, start: 0.000000, bitrate: 28771 kb/s
    Stream #0:0, 1, 1001/30000: Video: dvvideo, yuv411p, 720x480 [SAR 8:9 DAR 4:3], 28771 kb/s, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1, 1, 1/30000: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
    Stream #0:2, 1, 1/30000: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
[buffer @ 0x7faaba419ea0] Setting entry with key 'video_size' to value '720x480'
[buffer @ 0x7faaba419ea0] Setting entry with key 'pix_fmt' to value '7'
[buffer @ 0x7faaba419ea0] Setting entry with key 'time_base' to value '1001/30000'
[buffer @ 0x7faaba419ea0] Setting entry with key 'pixel_aspect' to value '8/9'
[buffer @ 0x7faaba419ea0] Setting entry with key 'sws_param' to value 'flags=2'
[buffer @ 0x7faaba419ea0] Setting entry with key 'frame_rate' to value '30000/1001'
[graph 0 input from stream 0:0 @ 0x7faaba419f40] w:720 h:480 pixfmt:yuv411p tb:1001/30000 fr:30000/1001 sar:8/9 sws_param:flags=2
[abuffer @ 0x7faaba41a960] Setting entry with key 'time_base' to value '1/32000'
[abuffer @ 0x7faaba41a960] Setting entry with key 'sample_rate' to value '32000'
[abuffer @ 0x7faaba41a960] Setting entry with key 'sample_fmt' to value 's16'
[abuffer @ 0x7faaba41a960] Setting entry with key 'channel_layout' to value '0x3'
[graph 1 input from stream 0:1 @ 0x7faaba41a900] tb:1/32000 samplefmt:s16 samplerate:32000 chlayout:0x3
[aformat @ 0x7faaba41ae20] Setting entry with key 'sample_fmts' to value 's16'
[dvvideo @ 0x7faaba864600] detected 2 logical cores
Output #0, null, to 'pipe:':
  Metadata:
    timecode        : 00:05:18;13
    encoder         : Lavf54.16.104
    Stream #0:0, 0, 1/90000: Video: rawvideo (Y41B / 0x42313459), yuv411p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
    Stream #0:1, 0, 1/90000: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (dvvideo -> rawvideo)
  Stream #0:1 -> #0:1 (pcm_s16le -> pcm_s16le)
Press [q] to stop, [?] for help
[null @ 0x7faaba85ea00] Encoder did not produce proper pts, making some up.
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=72
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=73
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=71
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=113
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=73
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=77
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=77
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=119
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=73
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=76
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=72
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=71
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=76
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=71
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=72
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=73
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=74
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=80
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=71
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=86
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=76
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=73
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=73
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=73
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=98
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=79
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=81
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=88
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=91
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=80
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=90
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=77
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=112
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=79
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=72
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=73
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=73
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=83
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=84
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=76
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=94
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=101
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=72
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=74
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=72
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=88
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=69
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=75
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=70
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=66
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=73
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=73
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=83
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=77
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=71
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=71
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=67
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=71
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=68
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=65
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
[dvvideo @ 0x7faaba864600] AC EOB marker is absent pos=64
No more inputs to read from, finishing.
frame=   24 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.76 bitrate=   0.0kbits/s    
video:2kB audio:96kB subtitle:0 global headers:0kB muxing overhead -100.000000%
[AVIOContext @ 0x7faaba4183a0] Statistics: 98304 bytes read, 0 seeks

}}}"	dericed
git-master	1598	Muxing raw h264 into mpegts (and mkv) fails.	undetermined	git-master	defect	open	2012-08-02T22:14:04+02:00	2013-03-25T08:25:12+01:00	"Can not multiplex h264 and AAC into MPEG2-TS container.

1. Encode a file
ffmpeg -i $source_file -acodec libfaac -vcodec libx264 test.ts

2. Demux:
ffmpeg -i test.ts -acodec copy 1.aac -vcodec copy 1.h264

3. Attempt to mux back:
ffmpeg -i 1.aac -i 1.h264 -acodec copy -vcodec copy mux.ts

#3 Fails with error:
    [mpegts @ 0x124de2a0] first pts value must set
    av_interleaved_write_frame(): Invalid data found when processing input

FFmpeg version 0.11, gcc 4.1.2 20080704 (Red Hat 4.1.2-52).
Running Centos 5.8 on 64bit 12 core Intel.
"	Mista_D
git-master	1600	remux of xdcam mxf to mov is unplayable in Final Cut Pro	undetermined	git-master	defect	new	2012-08-03T18:01:56+02:00	2012-11-10T16:37:58+01:00	"Summary of the bug:

I would like to rewrap MXF files from an XDCam disc to QuickTime for edit in Final Cut Pro. I ran: ffmpeg -report -i /Volumes/XDCAM8004602012511C8/Clip/979_0611_01.MXF -map 0:v -an -c copy 979_0611_01.mov. The resulting file works in QuickTime, VLC, ffplay, etc, but when I open it in Final Cut Pro I get an error ""File Error: Unknown File"".

I looked in the edts/elst atom and see
Track Dur,Media Time,Media Rate
66,-1,1.0
17318,3003,1.0

When I change the first row to zeros it works. Note, when I run the same process in ffmbc the resulting file does not have the first line with the -1 media time, but only the ""17318,3003,1.0"" line and works in FCP as expected.

Source XDCAM MXF file:
{{{
http://archive.org/download/SamplesOfXdcamMxfAndQuicktimeRewrappedWithFfmpeg/979_0611_01.MXF
}}}
FFmpeg output:
{{{
http://archive.org/download/SamplesOfXdcamMxfAndQuicktimeRewrappedWithFfmpeg/979_0611_01.mov
}}}


How to reproduce:
{{{
ffmpeg started on 2012-08-03 at 11:45:16
Report written to ""ffmpeg-20120803-114516.log""
Command line:
ffmpeg -report -i /Volumes/XDCAM8004602012511C8/Clip/979_0611_01.MXF -map 0:v -an -c copy 979_0611_01.mov
ffmpeg version 0.11.1.git Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 30 2012 14:56:32 with gcc 4.2.1 (GCC) (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-libfreetype --cc=/usr/bin/gcc-4.2 --host-cflags='-Os -w -pipe -march=core2 -msse4.1 -mmacosx-version-min=10.6' --host-ldflags='-L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib -L/usr/X11/lib' --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --enable-libvo-aacenc --enable-libopenjpeg
  libavutil      51. 66.100 / 51. 66.100
  libavcodec     54. 45.100 / 54. 45.100
  libavformat    54. 22.100 / 54. 22.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  5.101 /  3.  5.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mxf @ 0x10200f600] Format mxf probed with size=2048 and score=100
[mxf @ 0x10200f600] File position before avformat_find_stream_info() is 11776
[mxf @ 0x10200f600] Probe buffer size limit 5000000 reached
rfps: 29.500000 0.017218
rfps: 29.500000 0.017218
rfps: 29.583333 0.011654
rfps: 29.583333 0.011654
rfps: 29.666667 0.007172
rfps: 29.666667 0.007172
rfps: 29.750000 0.003773
rfps: 29.750000 0.003773
rfps: 29.833333 0.001456
rfps: 29.833333 0.001456
rfps: 29.916667 0.000222
rfps: 29.916667 0.000222
rfps: 30.000000 0.000070
rfps: 30.083333 0.001000
rfps: 30.166667 0.003013
rfps: 30.250000 0.006109
rfps: 30.333333 0.010286
rfps: 30.416667 0.015546
rfps: 59.500000 0.015092
rfps: 59.500000 0.015092
rfps: 59.583333 0.009917
rfps: 59.583333 0.009917
rfps: 59.666667 0.005825
rfps: 59.666667 0.005825
rfps: 59.750000 0.002815
rfps: 59.750000 0.002815
rfps: 59.833333 0.000888
rfps: 59.833333 0.000888
rfps: 59.916667 0.000043
rfps: 59.916667 0.000043
rfps: 60.000000 0.000280
rfps: 29.970030 0.000000
rfps: 59.940060 0.000000
rfps: 59.940060 0.000000
[mxf @ 0x10200f600] File position after avformat_find_stream_info() is 5126348
Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Input #0, mxf, from '/Volumes/XDCAM8004602012511C8/Clip/979_0611_01.MXF':
  Metadata:
    timecode        : 03:46:19;20
  Duration: 00:00:17.31, start: 0.000000, bitrate: 38969 kb/s
    Stream #0:0, 30, 1001/30000: Video: mpeg2video (Main), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 35000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 tbc
    Stream #0:1, 29, 1001/30000: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
    Stream #0:2, 29, 1001/30000: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
    Stream #0:3, 29, 1001/30000: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
    Stream #0:4, 29, 1001/30000: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
Output #0, mov, to '979_0611_01.mov':
  Metadata:
    timecode        : 03:46:19;20
    encoder         : Lavf54.22.100
    Stream #0:0, 0, 1/30000: Video: mpeg2video (m2v1 / 0x3176326D), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], q=2-31, 35000 kb/s, 29.97 fps, 30k tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame=  113 fps=0.0 q=-1.0 size=   16558kB time=00:00:03.73 bitrate=36296.7kbits/s    
frame=  194 fps=175 q=-1.0 size=   27943kB time=00:00:06.43 bitrate=35546.3kbits/s    
frame=  242 fps=150 q=-1.0 size=   35029kB time=00:00:08.04 bitrate=35684.8kbits/s    
frame=  293 fps=138 q=-1.0 size=   42277kB time=00:00:09.74 bitrate=35546.8kbits/s    
frame=  386 fps=147 q=-1.0 size=   55232kB time=00:00:12.84 bitrate=35221.6kbits/s    
frame=  458 fps=146 q=-1.0 size=   65892kB time=00:00:15.24 bitrate=35399.2kbits/s    
/Volumes/XDCAM8004602012511C8/Clip/979_0611_01.MXF: Operation not permitted
No more inputs to read from, finishing.
frame=  519 fps=147 q=-1.0 Lsize=   74295kB time=00:00:17.28 bitrate=35213.5kbits/s    
video:74288kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.009638%
[AVIOContext @ 0x101913480] Statistics: 18344283 bytes read, 3 seeks

}}}"	dericed
git-master	1603	fix remuxing of ima_adpcm_qt in mov	avformat	git-master	defect	open	2012-08-04T14:12:35+02:00	2012-10-09T21:32:48+02:00	"it looks like ffmpeg does not set correctly compression ID and stts_entries[i].duration
while remuxing ima_adpcm_qt in mov, so the output file is unplayable by qt (and ffmpeg)

attached hack fixes for me remuxing of ima_ffmpeg.mov

{{{
C:\>ffmpeg -i ima_ffmpeg.mov -acodec copy out.mov
ffmpeg version N-43160-g752344d Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug  3 2012 02:38:06 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 66.100 / 51. 66.100
  libavcodec     54. 48.100 / 54. 48.100
  libavformat    54. 22.100 / 54. 22.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  5.101 /  3.  5.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Guessed Channel Layout for  Input Stream #0.0 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ima_ffmpeg.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder         : Lavf54.22.100
  Duration: 00:00:12.62, start: 0.000000, bitrate: 34 kb/s
    Stream #0:0(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 8000 Hz, mono, s1
6, 32 kb/s
    Metadata:
      handler_name    : DataHandler
Output #0, mov, to 'out.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder         : Lavf54.22.100
    Stream #0:0(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 8000 Hz, mono, 32
 kb/s
    Metadata:
      handler_name    : DataHandler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=      53kB time=00:00:12.62 bitrate=  34.4kbits/s
video:0kB audio:52kB subtitle:0 global headers:0kB muxing overhead 1.278610%
}}}"	ami_stuff
git-master	1604	Rtmp streaming fps continually drops	undetermined	git-master	defect	new	2012-08-05T10:36:22+02:00	2013-05-04T00:32:28+02:00	"Summary of the bug: Rtmp output to justin.tv fps continually drops, the 64 bit version slowly uses all system ram (8 GB). It goes up by 100 MB every second or two until the ram is full. The audio is fine even with the low frame rate. If I change ""-f flv rtmp:xxxx"" to ""f:\test.mp4"" to record to a hard drive, it works perfect. This problem only occurs when I'm trying to stream. It happens for both file input and direct show input. My cpu is an Intel 3770k at 4.4 GHz and cable upload is 3 Mb/s. Both are more than capable of handling 1280x720 at 30fps and 2400kb/s.

How to reproduce:
{{{
ffmpeg -re -rtbufsize 100000k -i ""f:\xxxxxxxxxxxxxxxxxxxxxxxxxxxx""
-pix_fmt yuv420p -s hd720 -vcodec libx264 -preset medium -b:v 2400k -maxrate 240
0k -bufsize 600k -acodec libmp3lame -ac 2 -b:a 128k -ar 44100 -f flv ""rtmp://liv
e-dfw.justin.tv/app/xxxxxxxxxxxxxxxxxxxxx flashver=FME/2.5 (compatible; FMSc 1.0
)""
ffmpeg version N-43060-ga85b4a5 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 30 2012 13:14:08 with gcc 4.7.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-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-libope
njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth
eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --e
nable-zlib
  libavutil      51. 66.100 / 51. 66.100
  libavcodec     54. 45.100 / 54. 45.100
  libavformat    54. 22.100 / 54. 22.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  5.101 /  3.  5.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'f:\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    encoder         : HandBrake 0.9.5 2011010300
  Duration: 01:39:15.71, start: 0.000000, bitrate: 4822 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x800
[SAR 1:1 DAR 12:5], 4179 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 180k tbc
    Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), s16,
640 kb/s
[libx264 @ 0514f860] using SAR=27/20
[libx264 @ 0514f860] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE
4.2 AVX
[libx264 @ 0514f860] profile High, level 3.1
[libx264 @ 0514f860] 264 - core 125 r2200 999b753 - H.264/MPEG-4 AVC codec - Cop
yleft 2003-2012 - 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=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1
interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scene
cut=40 intra_refresh=0 rc_lookahead=40 rc=cbr mbtree=1 bitrate=2400 ratetol=1.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=2400 vbv_bufsize=600 nal_hrd=no
ne ip_ratio=1.40 aq=1:1.00
Output #0, flv, to 'rtmp://live-dfw.justin.tv/app/xxxxxxxxxxxxxxxxxxxxx flashver
=FME/2.5 (compatible; FMSc 1.0)':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    encoder         : Lavf54.22.100
    Stream #0:0(und): Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 1280x720 [SA
R 27:20 DAR 12:5], q=-1--1, 2400 kb/s, 1k tbn, 23.98 tbc
    Stream #0:1(und): Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, stereo, s16,
 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libx264)
  Stream #0:1 -> #0:1 (ac3 -> libmp3lame)
Press [q] to stop, [?] for help
DTS -3754, next:-83406 st:0 invalid dropping
frame=    4 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s
frame=   15 fps= 15 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s
frame=   27 fps= 17 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s
frame=   40 fps= 19 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s
frame=   51 fps= 20 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s
frame=   67 fps= 22 q=0.0 size=       8kB time=00:00:00.37 bitrate= 172.5kbits/s
frame=   76 fps= 21 q=0.0 size=      15kB time=00:00:00.75 bitrate= 161.4kbits/s
frame=   87 fps= 21 q=0.0 size=      23kB time=00:00:01.21 bitrate= 153.9kbits/s
frame=  103 fps= 22 q=0.0 size=      44kB time=00:00:01.87 bitrate= 192.1kbits/s
frame=  112 fps= 22 q=0.0 size=      50kB time=00:00:02.25 bitrate= 183.5kbits/s
frame=  123 fps= 22 q=0.0 size=      59kB time=00:00:02.71 bitrate= 177.6kbits/s
frame=  130 fps= 21 q=10.0 size=     135kB time=00:00:03.00 bitrate= 367.5kbits/
frame=  141 fps= 21 q=37.0 size=     223kB time=00:00:03.46 bitrate= 528.9kbits/
frame=  147 fps= 20 q=38.0 size=     313kB time=00:00:03.71 bitrate= 690.7kbits/
frame=  155 fps= 20 q=30.0 size=     408kB time=00:00:04.04 bitrate= 825.6kbits/
frame=  167 fps= 20 q=36.0 size=     492kB time=00:00:04.54 bitrate= 885.6kbits/
frame=  174 fps= 20 q=37.0 size=     602kB time=00:00:04.83 bitrate=1019.8kbits/
frame=  182 fps= 19 q=36.0 size=     692kB time=00:00:05.17 bitrate=1096.3kbits/
frame=  191 fps= 19 q=37.0 size=     783kB time=00:00:05.54 bitrate=1156.8kbits/
frame=  197 fps= 19 q=36.0 size=     888kB time=00:00:05.79 bitrate=1254.4kbits/
frame=  203 fps= 18 q=35.0 size=     983kB time=00:00:06.04 bitrate=1331.5kbits/
frame=  211 fps= 18 q=34.0 size=    1063kB time=00:00:06.38 bitrate=1364.8kbits/
frame=  222 fps= 18 q=33.0 size=    1170kB time=00:00:06.84 bitrate=1401.4kbits/
frame=  231 fps= 18 q=34.0 size=    1272kB time=00:00:07.21 bitrate=1444.4kbits/
frame=  237 fps= 18 q=33.0 size=    1356kB time=00:00:07.46 bitrate=1488.0kbits/
frame=  247 fps= 18 q=32.0 size=    1460kB time=00:00:07.88 bitrate=1517.4kbits/
frame=  255 fps= 18 q=34.0 size=    1554kB time=00:00:08.21 bitrate=1548.9kbits/
frame=  262 fps= 18 q=34.0 size=    1643kB time=00:00:08.50 bitrate=1582.3kbits/
frame=  269 fps= 18 q=33.0 size=    1735kB time=00:00:08.80 bitrate=1615.2kbits/
frame=  277 fps= 18 q=33.0 size=    1823kB time=00:00:09.13 bitrate=1635.1kbits/
frame=  284 fps= 17 q=33.0 size=    1922kB time=00:00:09.42 bitrate=1670.1kbits/
frame=  293 fps= 17 q=32.0 size=    2004kB time=00:00:09.80 bitrate=1674.9kbits/
frame=  302 fps= 17 q=32.0 size=    2107kB time=00:00:10.17 bitrate=1696.5kbits/
frame=  307 fps= 17 q=32.0 size=    2195kB time=00:00:10.38 bitrate=1731.4kbits/
frame=  319 fps= 17 q=31.0 size=    2304kB time=00:00:10.88 bitrate=1734.1kbits/
frame=  327 fps= 17 q=28.0 size=    2402kB time=00:00:11.22 bitrate=1754.0kbits/
frame=  335 fps= 17 q=28.0 size=    2498kB time=00:00:11.55 bitrate=1770.8kbits/
frame=  341 fps= 17 q=28.0 size=    2597kB time=00:00:11.80 bitrate=1802.5kbits/
frame=  351 fps= 17 q=26.0 size=    2677kB time=00:00:12.22 bitrate=1794.4kbits/
frame=  365 fps= 17 q=26.0 size=    2777kB time=00:00:12.80 bitrate=1776.6kbits/
frame=  375 fps= 17 q=27.0 size=    2880kB time=00:00:13.22 bitrate=1784.5kbits/
frame=  385 fps= 17 q=24.0 size=    2978kB time=00:00:13.63 bitrate=1788.7kbits/
frame=  395 fps= 17 q=28.0 size=    3117kB time=00:00:14.05 bitrate=1816.5kbits/
frame=  404 fps= 17 q=27.0 size=    3212kB time=00:00:14.43 bitrate=1823.1kbits/
frame=  410 fps= 17 q=28.0 size=    3304kB time=00:00:14.68 bitrate=1843.7kbits/
frame=  418 fps= 17 q=25.0 size=    3414kB time=00:00:15.01 bitrate=1862.5kbits/
frame=  426 fps= 17 q=25.0 size=    3490kB time=00:00:15.34 bitrate=1862.8kbits/
frame=  437 fps= 17 q=20.0 size=    3597kB time=00:00:15.80 bitrate=1864.1kbits/
frame=  442 fps= 17 q=15.0 size=    3680kB time=00:00:16.01 bitrate=1882.4kbits/
frame=  450 fps= 17 q=12.0 size=    3761kB time=00:00:16.35 bitrate=1884.4kbits/
frame=  458 fps= 17 q=13.0 size=    3857kB time=00:00:16.68 bitrate=1893.8kbits/
frame=  467 fps= 17 q=12.0 size=    3945kB time=00:00:17.05 bitrate=1894.6kbits/
frame=  479 fps= 17 q=8.0 size=    4029kB time=00:00:17.56 bitrate=1879.6kbits/s
frame=  490 fps= 17 q=23.0 size=    4129kB time=00:00:18.01 bitrate=1877.5kbits/
frame=  497 fps= 17 q=28.0 size=    4235kB time=00:00:18.30 bitrate=1895.0kbits/
frame=  503 fps= 17 q=28.0 size=    4336kB time=00:00:18.56 bitrate=1913.7kbits/
frame=  511 fps= 17 q=27.0 size=    4412kB time=00:00:18.89 bitrate=1912.9kbits/
frame=  518 fps= 17 q=27.0 size=    4495kB time=00:00:19.18 bitrate=1919.4kbits/
frame=  526 fps= 17 q=26.0 size=    4583kB time=00:00:19.52 bitrate=1923.5kbits/
frame=  534 fps= 17 q=29.0 size=    4676kB time=00:00:19.85 bitrate=1929.5kbits/
frame=  543 fps= 17 q=32.0 size=    4778kB time=00:00:20.22 bitrate=1934.8kbits/
frame=  549 fps= 17 q=31.0 size=    4868kB time=00:00:20.47 bitrate=1947.3kbits/
frame=  557 fps= 16 q=32.0 size=    4960kB time=00:00:20.81 bitrate=1952.2kbits/
frame=  565 fps= 16 q=31.0 size=    5055kB time=00:00:21.14 bitrate=1958.4kbits/
frame=  571 fps= 16 q=30.0 size=    5135kB time=00:00:21.39 bitrate=1966.0kbits/
frame=  578 fps= 16 q=28.0 size=    5236kB time=00:00:21.68 bitrate=1977.6kbits/
frame=  586 fps= 16 q=26.0 size=    5325kB time=00:00:22.02 bitrate=1981.1kbits/
frame=  594 fps= 16 q=25.0 size=    5426kB time=00:00:22.35 bitrate=1988.1kbits/
frame=  602 fps= 16 q=23.0 size=    5525kB time=00:00:22.69 bitrate=1994.7kbits/
frame=  609 fps= 16 q=23.0 size=    5617kB time=00:00:22.98 bitrate=2002.3kbits/
frame=  615 fps= 16 q=22.0 size=    5697kB time=00:00:23.23 bitrate=2008.8kbits/
frame=  623 fps= 16 q=22.0 size=    5784kB time=00:00:23.56 bitrate=2010.6kbits/
frame=  634 fps= 16 q=21.0 size=    5898kB time=00:00:24.02 bitrate=2011.1kbits/
frame=  643 fps= 16 q=23.0 size=    5981kB time=00:00:24.40 bitrate=2008.1kbits/
frame=  651 fps= 16 q=21.0 size=    6071kB time=00:00:24.73 bitrate=2010.9kbits/
frame=  657 fps= 16 q=20.0 size=    6170kB time=00:00:24.98 bitrate=2023.2kbits/
frame=  666 fps= 16 q=21.0 size=    6270kB time=00:00:25.35 bitrate=2025.6kbits/
frame=  675 fps= 16 q=20.0 size=    6350kB time=00:00:25.73 bitrate=2021.6kbits/
frame=  685 fps= 16 q=20.0 size=    6444kB time=00:00:26.15 bitrate=2018.7kbits/
frame=  693 fps= 16 q=15.0 size=    6532kB time=00:00:26.48 bitrate=2020.4kbits/
frame=  703 fps= 16 q=20.0 size=    6622kB time=00:00:26.90 bitrate=2016.7kbits/
frame=  712 fps= 16 q=21.0 size=    6715kB time=00:00:27.27 bitrate=2016.7kbits/
frame=  719 fps= 16 q=20.0 size=    6798kB time=00:00:27.57 bitrate=2020.1kbits/
frame=  727 fps= 16 q=16.0 size=    6890kB time=00:00:27.90 bitrate=2023.0kbits/
frame=  738 fps= 16 q=20.0 size=    6980kB time=00:00:28.36 bitrate=2016.0kbits/
frame=  746 fps= 16 q=18.0 size=    7089kB time=00:00:28.69 bitrate=2023.7kbits/
frame=  758 fps= 15 q=13.0 Lsize=    7879kB time=00:00:31.53 bitrate=2047.0kbits
/s
video:7350kB audio:496kB subtitle:0 global headers:0kB muxing overhead 0.436182%

[libx264 @ 0514f860] frame I:23    Avg QP:18.98  size: 22743
[libx264 @ 0514f860] frame P:498   Avg QP:24.53  size: 12099
[libx264 @ 0514f860] frame B:237   Avg QP:16.09  size:  4121
[libx264 @ 0514f860] consecutive B-frames: 48.8% 27.4%  3.2% 20.6%
[libx264 @ 0514f860] mb I  I16..4: 41.8% 47.4% 10.8%
[libx264 @ 0514f860] mb P  I16..4: 19.6% 10.0%  1.0%  P16..4: 28.3%  7.3%  3.2%
 0.0%  0.0%    skip:30.6%
[libx264 @ 0514f860] mb B  I16..4:  0.4%  0.2%  0.0%  B16..8: 19.4%  4.2%  0.8%
 direct: 3.9%  skip:71.0%  L0:46.6% L1:48.0% BI: 5.4%
[libx264 @ 0514f860] 8x8 transform intra:34.6% inter:82.7%
[libx264 @ 0514f860] coded y,uvDC,uvAC intra: 27.7% 47.6% 13.5% inter: 17.2% 23.
4% 1.2%
[libx264 @ 0514f860] i16 v,h,dc,p: 26% 71%  1%  1%
[libx264 @ 0514f860] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 47% 21%  3%  3%  3%  3%
 3%  3%
[libx264 @ 0514f860] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 54% 10%  2%  3%  2%  4%
 2%  3%
[libx264 @ 0514f860] i8c dc,h,v,p: 64% 19% 11%  5%
[libx264 @ 0514f860] Weighted P-Frames: Y:11.2% UV:7.6%
[libx264 @ 0514f860] ref P L0: 55.7% 12.9% 20.2% 10.3%  0.8%
[libx264 @ 0514f860] ref B L0: 76.7% 21.5%  1.8%
[libx264 @ 0514f860] ref B L1: 95.4%  4.6%
[libx264 @ 0514f860] kb/s:1896.70

ffmpeg version: Zeranoe 7-30-2012 version
built on ... Jul 30 2012 (taken from the top of what I pasted)
}}}"	Pyriel0
git-master	1607	av_seek_frame() without AVSEEK_FLAG_ANY on mpg files returns success without seeking to a keyframe	avformat	git-master	defect	new	2012-08-05T17:07:05+02:00	2012-09-12T00:45:56+02:00	"The documentation of `av_seek_frame()` makes a contract that it seeks to a keyframe if `AVSEEK_FLAG_ANY` is not set. mpg files break this contract by not seeking to a keyframe and still returning success.

'''Updated Edit:'''
It seems that any `AVInputFormat` that doesn't have it's own `read_seek()` or `read_seek2()` functions defined will default to either `ff_seek_frame_binary()` or `ff_gen_search()` (with priority given to `ff_seek_frame_binary()`). `ff_seek_frame_binary()` doesn't respect seeking by keyframe, and will break the keyframe contract made by `av_seek_frame()` when `AVSEEK_FLAG_ANY` is not set.

Proposed solutions:
'''1)'''
Seeking in mpg should require `AVSEEK_FLAG_ANY` to be set in order for success to be returned (return failure if it's not specified). This can be done by requiring `AVSEEK_FLAG_ANY` to be set before calling `ff_seek_frame_binary()`.

'''2) (in response to Don's suggestions)'''
Change `ff_seek_frame_binary()` so that it respects seeking by keyframe if `AVSEEK_FLAG_ANY` is not set. This can be done by sequentially reading (either forwards or backwards (I would prefer backwards)) up to a keyframe after the binary search is complete.

For context on how this came about, see this thread: http://ffmpeg.org/pipermail/libav-user/2012-July/002468.html

I originally opened ticket #1575 but Don Moir pointed out this is more of a bug than a lack of documentation."	mbradshaw
git-master	1614	"AAC stream with SBR fails with ""channel element 0.1 is not allocated"""	avcodec	git-master	defect	open	2012-08-06T22:24:58+02:00	2012-08-07T22:57:27+02:00	"'''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"	iceman12c
git-master	1616	bad seek in WMV2 file	undetermined	git-master	defect	open	2012-08-07T10:46:54+02:00	2012-08-07T15:01:30+02:00	"Sample file:

http://sms.pangolin.com/temp/bad_seek_wmv2.wmv (3 mb)

If you do ffplay -ss 7 bad_seek_wmv2.wmv it works correctly.

But ffplay -ss 8 bad_seek_wmv2.wmv will fail with gray frame.

For my app, I see corruption and not gray.

VLC has a bit of a problem with it but not as bad.

WMP gets it perfect.

With the following you will get a gray frame and a warning about first frame is not keyframe. The first frame is a keyframe but maybe not the one it seeked to.
{{{
ffplay -ss 8 CreaToon3.wmv
ffplay version N-43206-gf857465 Copyright (c) 2003-2012 the FFmpeg developers
  built on Aug  4 2012 16:12:33 with gcc 4.7.1 (GCC)
  configuration: --disable-static --enable-shared --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. 66.100 / 51. 66.100
  libavcodec     54. 49.100 / 54. 49.100
  libavformat    54. 22.100 / 54. 22.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  5.102 /  3.  5.102
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, asf, from 'CreaToon3.wmv':
  Metadata:
    title           : CreaToon 3
    artist          : ANIMANTE BALEARES S.L.
    copyright       : ANIMANTE BALEARES S.L. 2004
    WMFSDKVersion   : 9.00.00.2980
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 00:00:42.23, start: 0.000000, bitrate: 664 kb/s
    Stream #0:0(spa): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 1 channels,
s16, 20 kb/s
    Stream #0:1(spa): Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 640x480, 671 kb/
s, 25 tbr, 1k tbn, 1k tbc
[asf @ 012a04a0] ignoring invalid packet_obj_size (15 116 116 310)
[asf @ 012a04a0] freeing incomplete packet size 310, new 1580
1344327525.2[wmv2 @ 012a7060] 2 warning: '''first frame is no keyframe'''
Frame changed from size:0x0 to size:640x480q=    0B f=0/0
  29.51 A-V:  0.186 fd= 163 aq=    5KB vq=   83KB sq=    0B f=0/0
}}}"	DonMoir
git-master	1618	Padding to odd/uneven size fails	avfilter	git-master	defect	open	2012-08-08T16:27:33+02:00	2012-08-10T11:41:21+02:00	"### WHAT
I am try resize (scale + pad) and convert a video file to mp4 format and defined size.

### PROBLEM
When padding to odd width I face problems. Strangely, when I use even numbers then it works.

### COMMAND LINES (for two files)
A. File ""Duracell10sec_Cutdow__ulydCDCD.wmv""
A.1 Resizing to 425x300
* COMMAND LINE: 
{{{
ffmpeg.exe -i ""Duracell10sec_Cutdow__ulydCDCD.wmv""  -vf ""scale=427:239,pad=427:300:0:30,setdar=427:300""  -y -b:v 400k -r 49.75 -ar 44100  -acodec libmp3lame -vcodec libx264 -ac 2 ""Duracell10sec_Cutdow__ulydCDCD4_TMP.mp4""
}}}
* OUTPUT:
{{{
ffmpeg version N-43206-gf857465 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug  4 2012 16:10:39 with gcc 4.7.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --ena
ble-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-li
bnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --e
nable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      51. 66.100 / 51. 66.100
  libavcodec     54. 49.100 / 54. 49.100
  libavformat    54. 22.100 / 54. 22.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  5.102 /  3.  5.102
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Guessed Channel Layout for  Input Stream #0.0 : mono
Input #0, asf, from 'Duracell10sec_Cutdow__ulydCDCD.wmv':
  Metadata:
    WMFSDKVersion   : 10.00.00.3702
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 1
    VBR Peak        : 139
    Buffer Average  : 151
  Duration: 00:00:10.04, start: 0.000000, bitrate: 1864 kb/s
    Stream #0:0(dan): Audio: wmav2 (a[1][0][0] / 0x0161), 8000 Hz, mono, s16, 0 kb/s
    Stream #0:1(dan): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 1280x720, 1843 kb/s, 49.75 tbr, 1k tbn, 1k tbc
[Parsed_pad_1 @ 01f9a760] Input area 0:30:427:269 not within the padded area 0:0:426:300 or zero-sized
[Parsed_scale_0 @ 01fe7260] Failed to configure input pad on Parsed_pad_1
Error opening filters!
}}}
B. File ""fishermans_friendCD_720_xvid.avi""
B.1 Resizing to 425x300
* COMMAND LINE:
{{{
ffmpeg.exe -i ""fishermans_friendCD_720_xvid.avi""  -vf ""scale=425:239,pad=425:300:0:30,setdar=425:300""  -y -b:v 400k -r 25 -ar 44100  -ab 128 -acodec libmp3lame -vcodec libx264 -ac 2 ""fishermans_friendCD_720_xvid4_TMP.mp4""
}}}
* OUTPUT:
{{{
ffmpeg version N-43206-gf857465 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug  4 2012 16:10:39 with gcc 4.7.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --ena
ble-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-li
bnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --e
nable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      51. 66.100 / 51. 66.100
  libavcodec     54. 49.100 / 54. 49.100
  libavformat    54. 22.100 / 54. 22.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  5.102 /  3.  5.102
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, avi, from 'fishermans_friendCD_720_xvid.avi':
  Metadata:
    encoder         : MEncoder Sherpya-SVN-r32492-4.2.5
  Duration: 00:00:09.96, start: 0.000000, bitrate: 1090 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 128 kb/s
[Parsed_pad_1 @ 03fd59e0] Input area 0:30:425:269 not within the padded area 0:0:424:300 or zero-sized
[Parsed_scale_0 @ 03fd5940] Failed to configure input pad on Parsed_pad_1
Error opening filters!
}}}
### FILES
A. ""Duracell10sec_Cutdow__ulydCDCD.wmv""
* OUTPUT:
{{{
ffmpeg version N-43206-gf857465 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug  4 2012 16:10:39 with gcc 4.7.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --ena
ble-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-li
bnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --e
nable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      51. 66.100 / 51. 66.100
  libavcodec     54. 49.100 / 54. 49.100
  libavformat    54. 22.100 / 54. 22.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  5.102 /  3.  5.102
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[asf @ 01fbc400] Format asf probed with size=2048 and score=100
[asf @ 01fbc400] gpos mismatch our pos=24, end=26
[asf @ 01fbc400] gpos mismatch our pos=24, end=3622
[asf @ 01fbc400] gpos mismatch our pos=24, end=38
[asf @ 01fbc400] Unsupported value type 1 in tag ASFLeakyBucketPairs.
[asf @ 01fbc400] gpos mismatch our pos=24, end=252
[asf @ 01fbc400] gpos mismatch our pos=24, end=38
[asf @ 01fbc400] File position before avformat_find_stream_info() is 5300
[asf @ 01fbc400] parser not found for codec wmav2, packets or times may be invalid.
[wmv3 @ 01fbd720] Header: 4DC11A01
[wmv3 @ 01fbd720] Profile 1:
frmrtq_postproc=6, bitrtq_postproc=28
LoopFilter=0, MultiRes=0, FastUVMC=0, Extended MV=0
Rangered=0, VSTransform=1, Overlap=1, SyncMarker=0
DQuant=1, Quantizer mode=0, Max B frames=0
[asf @ 01fbc400] parser not found for codec wmav2, packets or times may be invalid.
[asf @ 01fbc400] All info found
rfps: 24.583333 0.019493
    Last message repeated 1 times
rfps: 24.666667 0.010206
    Last message repeated 1 times
rfps: 24.750000 0.003909
    Last message repeated 1 times
rfps: 24.833333 0.000600
    Last message repeated 1 times
rfps: 24.916667 0.000281
rfps: 25.000000 0.002950
rfps: 25.083333 0.008607
    Last message repeated 1 times
rfps: 25.166667 0.017254
    Last message repeated 1 times
rfps: 49.500000 0.015636
    Last message repeated 1 times
rfps: 49.583333 0.007524
    Last message repeated 1 times
rfps: 49.666667 0.002402
    Last message repeated 1 times
rfps: 49.750000 0.000268
    Last message repeated 1 times
rfps: 49.833333 0.001122
rfps: 49.916667 0.004966
rfps: 50.000000 0.011798
[asf @ 01fbc400] File position after avformat_find_stream_info() is 251519
Guessed Channel Layout for  Input Stream #0.0 : mono
Input #0, asf, from 'Duracell10sec_Cutdow__ulydCDCD.wmv':
  Metadata:
    WMFSDKVersion   : 10.00.00.3702
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 1
    VBR Peak        : 139
    Buffer Average  : 151
  Duration: 00:00:10.04, start: 0.000000, bitrate: 1864 kb/s
    Stream #0:0(dan), 18, 1/1000: Audio: wmav2 (a[1][0][0] / 0x0161), 8000 Hz, mono, s16, 0 kb/s
    Stream #0:1(dan), 41, 1/1000: Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 1280x720, 1/1000, 1843 kb/s, 49.75 tbr, 1k tbn, 1k tbc
At least one output file must be specified
[AVIOContext @ 01fb14e0] Statistics: 262144 bytes read, 0 seeks
}}}
B. ""fishermans_friendCD_720_xvid.avi""
* OUTPUT:
{{{
ffmpeg version N-43206-gf857465 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug  4 2012 16:10:39 with gcc 4.7.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --ena
ble-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-li
bnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --e
nable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      51. 66.100 / 51. 66.100
  libavcodec     54. 49.100 / 54. 49.100
  libavformat    54. 22.100 / 54. 22.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  5.102 /  3.  5.102
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[avi @ 0235c400] Format avi probed with size=2048 and score=100
[avi @ 02351560] use odml:1
st:1 removing common factor 36 from timebase
[avi @ 0235c400] File position before avformat_find_stream_info() is 4108
[avi @ 0235c400] All info found
[avi @ 0235c400] File position after avformat_find_stream_info() is 22706
Input #0, avi, from 'fishermans_friendCD_720_xvid.avi':
  Metadata:
    encoder         : MEncoder Sherpya-SVN-r32492-4.2.5
  Duration: 00:00:09.96, start: 0.000000, bitrate: 1090 kb/s
    Stream #0:0, 1, 1/25: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1/25, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1, 20, 32/1225: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 128 kb/s
At least one output file must be specified
[AVIOContext @ 023514c0] Statistics: 184008 bytes read, 7 seeks
}}}"	agowad
git-master	1623	libutvideo fails to link to FFmpeg if assembly is enabled	FFmpeg	git-master	defect	new	2012-08-09T03:13:42+02:00	2012-08-14T09:12:33+02:00	"If libutvideo is compiled with assembly enabled (from [https://github.com/dwbuiten/utvideo/commit/42351ecb5f81dede1f13ffa695ba506046ce93ab this commit]), then FFmpeg fails to link to it with undefined references to the assembly stuff:
{{{
MAN	doc/ffserver.1
TXT	doc/fate.txt
CC	cmdutils.o
CC	ffmpeg.o
LD	ffmpeg_g
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xa0): undefined reference to `x86_sse2_PredictMedianAndCount_align16'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xa4): undefined reference to `x86_sse2_PredictMedianAndCount_align1'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xa8): undefined reference to `x86_sse2_PredictLeftAndCount_align1'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xac): undefined reference to `x86_sse1mmx_RestoreMedian_align1'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xb0): undefined reference to `x86_i686_HuffmanEncode'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xb4): undefined reference to `x86_i686_HuffmanDecode'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xb8): undefined reference to `x86_i686_HuffmanDecodeAndAccum'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xbc): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep2'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xc0): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xc4): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForBottomupRGB32Green'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xc8): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForBottomupRGB32Blue'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xcc): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForBottomupRGB32Red'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xd0): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForBottomupRGB32RedAndDummyAlpha'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xd4): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep3ForBottomupRGB24Green'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xd8): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep3ForBottomupRGB24Blue'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xdc): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep3ForBottomupRGB24Red'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xe0): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForTopdownRGB32Green'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xe4): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForTopdownRGB32Blue'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xe8): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForTopdownRGB32Red'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xec): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForTopdownRGB32RedAndDummyAlpha'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xf0): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep3ForTopdownRGB24Green'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xf4): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep3ForTopdownRGB24Blue'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xf8): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep3ForTopdownRGB24Red'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0xfc): undefined reference to `x86_sse2_ConvertULY2ToBottomupRGB24'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x100): undefined reference to `x86_sse2_ConvertULY2ToBottomupRGB32'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x104): undefined reference to `x86_sse2_ConvertULY2ToTopdownRGB24'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x108): undefined reference to `x86_sse2_ConvertULY2ToTopdownRGB32'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x10c): undefined reference to `x86_sse2_ConvertBottomupRGB24ToULY2'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x110): undefined reference to `x86_sse2_ConvertBottomupRGB32ToULY2'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x114): undefined reference to `x86_sse2_ConvertTopdownRGB24ToULY2'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x118): undefined reference to `x86_sse2_ConvertTopdownRGB32ToULY2'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x12c): undefined reference to `x86_i686_RestoreMedian_align1'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x130): undefined reference to `x86_i686_HuffmanEncode'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x134): undefined reference to `x86_i686_HuffmanDecode'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x138): undefined reference to `x86_i686_HuffmanDecodeAndAccum'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x13c): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep2'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x140): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x144): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForBottomupRGB32Green'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x148): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForBottomupRGB32Blue'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x14c): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForBottomupRGB32Red'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x150): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForBottomupRGB32RedAndDummyAlpha'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x154): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep3ForBottomupRGB24Green'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x158): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep3ForBottomupRGB24Blue'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x15c): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep3ForBottomupRGB24Red'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x160): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForTopdownRGB32Green'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x164): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForTopdownRGB32Blue'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x168): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForTopdownRGB32Red'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x16c): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep4ForTopdownRGB32RedAndDummyAlpha'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x170): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep3ForTopdownRGB24Green'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x174): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep3ForTopdownRGB24Blue'
/usr/local/lib/libutvideo.a(TunedFunc.o):(.rodata+0x178): undefined reference to `x86_i686_HuffmanDecodeAndAccumStep3ForTopdownRGB24Red'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1
}}}

Relevant configuration info:
$ gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

$ nasm -v
NASM version 2.09.10 compiled on Oct 17 2011

FFmpeg N-43331-gee475e2:
./configure --prefix=$HOME/ffmpeg_build --enable-gpl --enable-version3 --enable-libutvideo"	qyot27
git-master	1625	avformat_find_stream_info waits for non-existing video track in mms stream	avformat	git-master	defect	open	2012-08-10T07:02:05+02:00	2012-10-15T14:22:28+02:00	"url: mms://live.rgd.com.cn/993

stuck on avformat_find_stream_info

version: 0.11.1"	lagrangee
git-master	1636	FRAPS Video Color Space	undetermined	git-master	defect	reopened	2012-08-12T23:39:32+02:00	2013-02-19T17:43:16+01:00	"The color space that ffmpeg uses on FRAPS videos seems to be wrong or mishandled.

First, running ffplay on a video (color space detected as yuvj420p), the output looks washed out (too white).
Second, when transcoding a video to H264 (which keeps the color space as yuvj420p) the output looks too dark. Forcing the color space to yuv420p, the output looks fine.
Third, when transcoding a video to MPEG2 (which changes the colorspace to yuv420p), the output looks fine.

Here is how ffmpeg detects the original file:
{{{
ffmpeg -i ""C:\Fraps\Movies\cod2sp_s 2012-08-12 13-39-04-15.avi""
ffmpeg version N-43418-g633b90c Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug  9 2012 23:56:26 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
  libavutil      51. 67.100 / 51. 67.100
  libavcodec     54. 51.100 / 54. 51.100
  libavformat    54. 22.104 / 54. 22.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  7.100 /  3.  7.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[avi @ 000000000217aa20] non-interleaved AVI
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avi, from 'C:\Fraps\Movies\orig.avi':
  Duration: 00:07:26.85, start: 0.000000, bitrate: 530091 kb/s
    Stream #0:0: Video: fraps (FPS1 / 0x31535046), yuvj420p, 1920x1080, 60 tbr,
60 tbn, 60 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16
, 1536 kb/s
At least one output file must be specified
}}}

Let me know what other info you need.
Thanks."	DJX
git-master	1648	avdj (mjpeg): problem with ntsc interlaced	avcodec	git-master	defect	open	2012-08-17T12:32:03+02:00	2012-08-18T20:08:10+02:00	"""ntsc_interlaced.mov"" decodes incorrectly (pal sample decodes ok)

{{{
C:\>ffmpeg -i ntsc_interlaced.mov out.bmp
ffmpeg version N-43634-g3d78170 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 17 2012 02:39:28 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 53.100 / 54. 53.100
  libavformat    54. 24.101 / 54. 24.101
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 10.100 /  3. 10.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ntsc_interlaced.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
  Duration: 00:00:00.06, start: 0.000000, bitrate: 22468 kb/s
    Stream #0:0(eng): Video: mjpeg (AVDJ / 0x4A445641), yuvj422p, 720x490, 22344
 kb/s, SAR 10:11 DAR 720:539, 15 fps, 15 tbr, 600 tbn, 600 tbc
    Metadata:
      handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
Output #0, image2, to 'out.bmp':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    encoder         : Lavf54.24.101
    Stream #0:0(eng): Video: bmp, bgr24, 720x490 [SAR 10:11 DAR 720:539], q=2-31
, 200 kb/s, 90k tbn, 15 tbc
    Metadata:
      handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> bmp)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.06 bitrate=   0.0kbits/
s
video:1034kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000000
%
}}}"	ami_stuff
git-master	1651	jpeg rgb progressive decodes incorrectly	avcodec	git-master	defect	open	2012-08-18T12:41:22+02:00	2012-12-29T16:46:47+01:00	"see ticket #829 for another sample (which currently decodes correctly)

{{{
C:\>ffmpeg -i prog_rgb_2.jpg out.bmp
ffmpeg version N-43634-g3d78170 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 17 2012 02:39:28 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 53.100 / 54. 53.100
  libavformat    54. 24.101 / 54. 24.101
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 10.100 /  3. 10.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, image2, from 'prog_rgb_2.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, gbrp, 1024x768, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf54.24.101
    Stream #0:0: Video: bmp, bgr24, 1024x768, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> bmp)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/
s
video:2304kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000000
%
}}}"	ami_stuff
git-master	1659	g723_1: wrong current duration after seeking	avformat	git-master	defect	open	2012-08-19T15:34:32+02:00	2013-03-01T11:45:35+01:00	"ffplay displays wrong current duration after seeking in g723_1 (in wav)

{{{
C:\>ffmpeg -i g723_1.wav
ffmpeg version N-43678-gceb8773 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 18 2012 02:22:03 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 53.100 / 54. 53.100
  libavformat    54. 25.100 / 54. 25.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 10.100 /  3. 10.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[wav @ 0x1eace20] Estimating duration from bitrate, this may be inaccurate
Input #0, wav, from 'g723_1.wav':
  Duration: 00:00:30.07, bitrate: 6 kb/s
    Stream #0:0: Audio: g723_1 (B[0][0][0] / 0x0042), 8000 Hz, mono, s16, 6 kb/s

At least one output file must be specified
}}}
"	ami_stuff
git-master	1673	MPEG2-TS minimum PID value for data packet	avformat	git-master	defect	open	2012-08-22T17:33:46+02:00	2012-10-05T11:40:29+02:00	The minimum PID value for data packet is 0x0100 where is should be 0x0010 as specified by the ISO13818-1 §2.4.3.3	Magicking
git-master	1680	atrac3: fix current duration for atrac3 in wav	undetermined	git-master	defect	open	2012-08-25T13:36:45+02:00	2012-08-25T13:58:47+02:00	"http://samples.mplayerhq.hu/A-codecs/ATRAC3/mc_sich_at3_066.wav

{{{
C:\>ffmpeg -i mc_sich_at3_066.wav out.wav
ffmpeg version N-43803-g2c0b164 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 22 2012 02:22:47 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 54.100 / 54. 54.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 13.100 /  3. 13.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, wav, from 'mc_sich_at3_066.wav':
  Duration: 00:00:34.97, bitrate: 66 kb/s
    Stream #0:0: Audio: atrac3 (p[2][0][0] / 0x0270), 44100 Hz, stereo, s16, 66
kb/s
Output #0, wav, to 'out.wav':
  Metadata:
    encoder         : Lavf54.25.104
    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 (atrac3 -> pcm_s16le)
Press [q] to stop, [?] for help
Multiple frames in a packet from stream 0
[wav @ 0x1fd1500] st:0 PTS: 1024 DTS: 1024 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 2048 DTS: 2048 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 3072 DTS: 3072 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 4096 DTS: 4096 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 5120 DTS: 5120 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 6144 DTS: 6144 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 7168 DTS: 7168 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 8192 DTS: 8192 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 9216 DTS: 9216 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 10240 DTS: 10240 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 11264 DTS: 11264 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 12288 DTS: 12288 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 13311 DTS: 13311 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 14335 DTS: 14335 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 15359 DTS: 15359 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 16383 DTS: 16383 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 17407 DTS: 17407 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 18431 DTS: 18431 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 19455 DTS: 19455 < 20479 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 2048 DTS: 2048 < 21503 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 3072 DTS: 3072 < 21503 invalid, clipping
[...]
[wav @ 0x1fd1500] st:0 PTS: 87039 DTS: 87039 < 92159 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 88063 DTS: 88063 < 92159 invalid, clipping
[wav @ 0x1fd1500] st:0 PTS: 89087 DTS: 89087 < 92159 invalid, clipping
size=    6032kB time=00:00:02.11 bitrate=23386.0kbits/s
video:0kB audio:6032kB subtitle:0 global headers:0kB muxing overhead 0.000745%
}}}"	ami_stuff
git-master	1684	adpcm_ct: volume goes up while seeking with ffplay	avformat	git-master	defect	open	2012-08-25T23:21:00+02:00	2013-02-13T14:39:03+01:00	"the audio volume increases for a second or so when I seek a few times in attached file

http://samples.mplayerhq.hu/A-codecs/Creative%20Audio/examples/stereo44100.wav

{{{
C:\>ffmpeg -i stereo44100.wav
ffmpeg version N-43803-g2c0b164 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 22 2012 02:22:47 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 54.100 / 54. 54.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 13.100 /  3. 13.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[wav @ 0x1eace20] max_analyze_duration 5000000 reached at 5015510
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, wav, from 'stereo44100.wav':
  Duration: 00:00:19.84, bitrate: 352 kb/s
    Stream #0:0: Audio: adpcm_ct ([0][2][0][0] / 0x0200), 44100 Hz, stereo, s16,
 352 kb/s
At least one output file must be specified
}}}
"	ami_stuff
git-master	1691	New SN40 samples fail to decode	avcodec	git-master	defect	new	2012-08-27T10:37:37+02:00	2012-09-14T16:48:18+02:00	"samples/V-codecs/SN40/Shot%205.avi cannot be decoded with current FFmpeg, works fine with mplayer -vc smartsight
{{{
$ ffmpeg -i Shot\ 5.avi
ffmpeg version N-43925-g73b40da Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 27 2012 09:17:18 with gcc 4.5.3 (GCC)
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 54.100 / 54. 54.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 13.101 /  3. 13.101
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
[avi @ 0x1480240] max_analyze_duration 5000000 reached at 5005000
Input #0, avi, from 'Shot 5.avi':
  Duration: 00:10:02.40, start: 0.000000, bitrate: 93 kb/s
    Stream #0:0: Video: mpeg4 (SN40 / 0x30344E53), yuv420p, 704x480, 5 fps, 29.97 tbr, 5 tbn, 5 tbc
At least one output file must be specified
}}}"	cehoyos
git-master	1693	AAC Scalable Sample Rate (SSR)	avcodec	git-master	defect	new	2012-08-27T20:02:10+02:00	2012-10-15T01:45:07+02:00	"I will attach a 60 second aac sample uploaded by a user. libavcodec claims five times ""SSR not implemented"" during decode, output sounds fine.
{{{
$ ffmpeg -i ssr.aac -f null -
ffmpeg version N-43938-gbe862c0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 27 2012 19:54:31 with gcc 4.5.3 (GCC)
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 54.100 / 54. 54.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 13.101 /  3. 13.101
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
[aac @ 0x1480240] max_analyze_duration 5000000 reached at 5013333
[aac @ 0x1480240] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'ssr.aac':
  Duration: 00:01:09.48, bitrate: 112 kb/s
    Stream #0:0: Audio: aac, 48000 Hz, stereo, s16, 112 kb/s
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.25.104
    Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (aac -> pcm_s16le)
Press [q] to stop, [?] for help
[aac @ 0x14865a0] SSR 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.
[aac @ 0x14865a0] 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.
Error while decoding stream #0:0: Operation not permitted
[aac @ 0x14865a0] SSR 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.
[aac @ 0x14865a0] 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.
Error while decoding stream #0:0: Operation not permitted
[aac @ 0x14865a0] SSR 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.
[aac @ 0x14865a0] 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.
Error while decoding stream #0:0: Operation not permitted
[aac @ 0x14865a0] SSR 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.
[aac @ 0x14865a0] 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.
Error while decoding stream #0:0: Operation not permitted
[aac @ 0x14865a0] SSR 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.
[aac @ 0x14865a0] 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.
Error while decoding stream #0:0: Operation not permitted
size=       0kB time=00:01:00.13 bitrate=   0.0kbits/s
video:0kB audio:11256kB subtitle:0 global headers:0kB muxing overhead -100.000000%
}}}
"	cehoyos
git-master	1699	iff: fix aspect ratio	avformat	git-master	defect	open	2012-08-29T23:18:41+02:00	2013-03-01T11:59:48+01:00	"ignoring aspect ration in iff demuxer seems to fix ffplay's displayed aspect ratio

{{{
C:\>ffmpeg -i CELTIC2.LBM
ffmpeg version N-43803-g2c0b164 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 22 2012 02:22:47 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 54.100 / 54. 54.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 13.100 /  3. 13.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[iff @ 0x1eace00] Estimating duration from bitrate, this may be inaccurate
Input #0, iff, from 'CELTIC2.LBM':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: iff_byterun1 (PBM  / 0x204D4250), pal8, 320x200, SAR 5:6
 DAR 4:3, 90k tbr, 90k tbn, 90k tbc
At least one output file must be specified
}}}"	ami_stuff
git-master	1700	Can't publish stream to CRtmpServer	undetermined	git-master	defect	new	2012-08-30T08:31:04+02:00	2012-08-30T09:21:03+02:00	"Summary of the bug:
  Meet error ""call to function _checkbw failed"" when publishing stream to CRtmpServer.
  
How to reproduce:
{{{
% ffmpeg -re -i test.mp4 -f flv rtmp://127.0.0.1/flvplayback/test2
I use git to clone the ffmpeg and build it on CentOS 6.3.
}}}

The log is:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2011-12-22 16:05:04
    encoder         : Lavf52.62.0
    comment         : FlixEngineLinux_8.0.17.1 (www.on2.com)
  Duration: 00:01:04.55, start: 0.000000, bitrate: 768 kb/s
    Stream #0:0(und), 41, 1/1000: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x268 [SAR 1:1 DAR 120:67], 1/2000, 698 kb/s, 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc
    Metadata:
      creation_time   : 2011-12-22 16:05:04
      handler_name    : VideoHandler
    Stream #0:1(und), 73, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 64 kb/s
    Metadata:
      creation_time   : 2011-12-22 16:05:04
      handler_name    : SoundHandler
[rtmp @ 0x18aa360] Handshaking...
[rtmp @ 0x18aa360] Type answer 3
[rtmp @ 0x18aa360] Server version 0.0.0.0
[rtmp @ 0x18aa360] Proto = rtmp, path = /flvplayback/test2, app = flvplayback, fname = test2
[rtmp @ 0x18aa360] Server bandwidth = 2500000
[rtmp @ 0x18aa360] Client bandwidth = 2500000
[rtmp @ 0x18aa360] Releasing stream...
[rtmp @ 0x18aa360] FCPublish stream...
[rtmp @ 0x18aa360] Creating stream...
'''[rtmp @ 0x18aa360] Server error: Specified stream not found in call to releaseStream'''
[rtmp @ 0x18aa360] Sending publish command for 'test2'
'''[rtmp @ 0x18aa360] Server error: call to function _checkbw failed'''
rtmp://127.0.0.1/flvplayback/test2: Operation not permitted
[AVIOContext @ 0x1888880] Statistics: 229376 bytes read, 0 seeks
"	king
git-master	1707	ffplay: Increasing desync	FFplay	git-master	defect	open	2012-08-31T17:59:02+02:00	2012-11-02T23:56:40+01:00	"The sample from ticket #1230 can be transcoded with ffmpeg (""ffmpeg -i smaller-sample-file.wmv -qscale 2 out.avi"") and mplayer and vlc play the resulting file as expected (and mplayer plays the original file fine).
Playing the original file with ffplay, increasing A/V desync can be observed.
{{{
$ ffplay version N-44062-ga9a1bc5 Copyright (c) 2003-2012 the FFmpeg developers
  built on Aug 31 2012 14:37:22 with gcc 4.5.3 (GCC)
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 14.100 /  3. 14.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
Input #0, asf, from 'smaller-sample-file.wmv':
  Metadata:
    title           : Phlebotomy Forum-Legal Considerations in Phlebotomy
    comment         : Microsoft Office LiveMeeting 2005 Replay.  Recorded on Wednesday, November 9, 2011 11:01:34 AM GMT-06:00
    WM/Year         : 2011
    WMFSDKVersion   : 10.00.00.4007
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 01:06:38.04, start: 0.000000, bitrate: 5 kb/s
    Chapter #0.0: start 5.000000, end 87.750000
    Metadata:
      title           : Legal Considerations in Phlebotomy
    Chapter #0.1: start 87.750000, end 105.750000
    Metadata:
      title           : Disclosures:
    Chapter #0.2: start 105.750000, end 170.750000
    Metadata:
      title           : Agenda
    Chapter #0.3: start 170.750000, end 291.250000
    Metadata:
      title           : The High Price of Malpractice Claims
    Chapter #0.4: start 291.250000, end 380.250000
    Metadata:
      title           : Malpractice = Medical Negligence
    Chapter #0.5: start 380.250000, end 409.750000
    Metadata:
      title           : Duty
    Chapter #0.6: start 409.750000, end 578.250000
    Metadata:
      title           : Standards in Phlebotomy
    Chapter #0.7: start 578.250000, end 650.750000
    Metadata:
      title           : Causation
    Chapter #0.8: start 650.750000, end 736.250000
    Metadata:
      title           : Failure to License Not Cause
    Chapter #0.9: start 736.250000, end 826.250000
    Metadata:
      title           : Causation Not Established
    Chapter #0.10: start 826.250000, end 1000.250000
    Metadata:
      title           : Injury
    Chapter #0.11: start 1000.250000, end 1083.250000
    Metadata:
      title           : Fear
    Chapter #0.12: start 1083.250000, end 1194.250000
    Metadata:
      title           : Distress
    Chapter #0.13: start 1194.250000, end 1225.250000
    Metadata:
      title           : Compensable Harm
    Chapter #0.14: start 1225.250000, end 1305.750000
    Metadata:
      title           : Types of Damages
    Chapter #0.15: start 1305.750000, end 1370.750000
    Metadata:
      title           : Wanton Disregard
    Chapter #0.16: start 1370.750000, end 1384.250000
    Metadata:
      title           : Source of Errors
    Chapter #0.17: start 1384.250000, end 1472.250000
    Metadata:
      title           : Procedural Errors
    Chapter #0.18: start 1472.250000, end 1526.250000
    Metadata:
      title           : Decisional Errors
    Chapter #0.19: start 1526.250000, end 1553.750000
    Metadata:
      title           : Administrative Errors
    Chapter #0.20: start 1553.750000, end 1583.250000
    Metadata:
      title           : Wilkerson v.  Laboratory Corp. of America (2005)
    Chapter #0.21: start 1583.250000, end 1629.750000
    Metadata:
      title           : Wilkerson v. LabCorp, cont’d
    Chapter #0.22: start 1629.750000, end 1631.750000
    Metadata:
      title           : Baptist Healthcare Systems, Inc. v. Golda Miller, et al (2005)
    Chapter #0.23: start 1631.750000, end 1667.750000
    Metadata:
      title           : Wilkerson v. LabCorp, cont’d
    Chapter #0.24: start 1667.750000, end 1699.750000
    Metadata:
      title           : Baptist Healthcare Systems, Inc. v. Golda Miller, et al (2005)
    Chapter #0.25: start 1699.750000, end 1733.250000
    Metadata:
      title           : Baptist Healthcare Systems, Inc. v. Golda Miller, et al
    Chapter #0.26: start 1733.250000, end 1760.250000
    Metadata:
      title           : Fairshter v. American National Red Cross (2004)
    Chapter #0.27: start 1760.250000, end 1796.750000
    Metadata:
      title           : Fairshter v. American National Red Cross (2004)
    Chapter #0.28: start 1796.750000, end 1861.250000
    Metadata:
      title           : Fairshter v. American National Red Cross (2004)
    Chapter #0.29: start 1861.250000, end 1958.250000
    Metadata:
      title           : Pietrunti v. Island Diagnostic Laboratories (1998)
    Chapter #0.30: start 1958.250000, end 1959.250000
    Metadata:
      title           : No Negligence
    Chapter #0.31: start 1959.250000, end 1988.750000
    Metadata:
      title           : Pietrunti v. Island Diagnostic Laboratories (1998)
    Chapter #0.32: start 1988.750000, end 1994.750000
    Metadata:
      title           : No Negligence
    Chapter #0.33: start 1994.750000, end 2011.250000
    Metadata:
      title           : Pietrunti v. Island Diagnostic Laboratories (1998)
    Chapter #0.34: start 2011.250000, end 2029.750000
    Metadata:
      title           : Mislabels
    Chapter #0.35: start 2029.750000, end 2125.750000
    Metadata:
      title           : Mislabels
    Chapter #0.36: start 2125.750000, end 2192.750000
    Metadata:
      title           : You Be The Judge
    Chapter #0.37: start 2192.750000, end 2250.750000
    Metadata:
      title           : You Be the Judge
    Chapter #0.38: start 2250.750000, end 2307.250000
    Metadata:
      title           : You Be the Judge
    Chapter #0.39: start 2307.250000, end 2349.750000
    Metadata:
      title           : You Be the Judge
    Chapter #0.40: start 2349.750000, end 2395.250000
    Metadata:
      title           : You Be the Judge
    Chapter #0.41: start 2395.250000, end 2397.750000
    Metadata:
      title           : Needlestick Injuries
    Chapter #0.42: start 2397.750000, end 2460.750000
    Metadata:
      title           : Needlestick Injuries
    Chapter #0.43: start 2460.750000, end 2463.250000
    Metadata:
      title           : Minimizing Risks
    Chapter #0.44: start 2463.250000, end 2541.250000
    Metadata:
      title           : Minimizing Risks
    Chapter #0.45: start 2541.250000, end 2623.250000
    Metadata:
      title           : Training
    Chapter #0.46: start 2623.250000, end 2696.250000
    Metadata:
      title           : Training
    Chapter #0.47: start 2696.250000, end 2738.250000
    Metadata:
      title           : Training
    Chapter #0.48: start 2738.250000, end 2883.250000
    Metadata:
      title           : Proper Supervision
    Chapter #0.49: start 2883.250000, end 2884.250000
    Metadata:
      title           : Proper Supervision
    Chapter #0.50: start 2883.250000, end 2884.250000
    Metadata:
      title           : Proper Supervision
    Chapter #0.51: start 2884.250000, end 2918.250000
    Metadata:
      title           : Proper Supervision
    Chapter #0.52: start 2918.250000, end 2945.250000
    Metadata:
      title           : Proper Supervision
    Chapter #0.53: start 2945.250000, end 2951.750000
    Metadata:
      title           : Documentation
    Chapter #0.54: start 2951.750000, end 3066.750000
    Metadata:
      title           : Why is documentation so important?
    Chapter #0.55: start 3066.750000, end 3101.250000
    Metadata:
      title           : Slide 52
    Chapter #0.56: start 3101.250000, end 3173.750000
    Metadata:
      title           : Proper Documentation
    Chapter #0.57: start 3173.750000, end 3197.750000
    Metadata:
      title           : Slide 54
    Chapter #0.58: start 3197.750000, end 3314.750000
    Metadata:
      title           : Slide 55
    Chapter #0.59: start 3314.750000, end 3340.250000
    Metadata:
      title           : Summary
    Chapter #0.60: start 3340.250000, end 3655.750000
    Metadata:
      title           : Slide 57
    Chapter #0.61: start 3655.750000, end 3998.048000
    Metadata:
      title           : Thank you!
    Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 16000 Hz, 1 channels, s16, 16 kb/s
    Stream #0:1: Video: mss2 (MSS2 / 0x3253534D), rgb24, 704x528, 260 kb/s, 2 tbr, 1k tbn, 1k tbc
    Stream #0:2: Data: none
Frame changed from size:0x0 to size:704x528
  39.44 A-V:-111.560 fd=   0 aq=  746KB vq=  186KB sq=    0B f=0/0
}}}"	cehoyos
git-master	1708	mss2: error while decoding stream	avformat	git-master	defect	open	2012-09-01T03:40:56+02:00	2012-11-12T18:52:04+01:00	"play ok in wmp

http://samples.mplayerhq.hu/V-codecs/MSS2/mss2_speech.wmv

{{{
C:\>ffmpeg -i mss2_speech.wmv -vcodec msmpeg4v2 -an out.avi
ffmpeg version N-44080-gdfb4757 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep  1 2012 02:36:59 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 15.101 /  3. 15.101
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Guessed Channel Layout for  Input Stream #0.0 : mono
Input #0, asf, from 'mss2_speech.wmv':
  Metadata:
    WMFSDKVersion   : 9.00.00.2926
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
    title           : ScreenCap Demo #3
    artist          : Joe Powell
    copyright       : Microsoft Corporation 2002
    comment         : Demo of the Windows Media Screen 9 Series codec.
  Duration: 00:01:00.64, start: 0.000000, bitrate: 66 kb/s
    Stream #0:0(eng): Audio: wmavoice ([10][0][0][0] / 0x000A), 22050 Hz, mono,
flt, 20 kb/s
    Stream #0:1(eng): Video: mss2 (MSS2 / 0x3253534D), rgb24, 800x600, 90 kb/s,
42.17 tbr, 1k tbn, 1k tbc
Output #0, avi, to 'out.avi':
  Metadata:
    WMFSDKVersion   : 9.00.00.2926
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
    INAM            : ScreenCap Demo #3
    IART            : Joe Powell
    ICOP            : Microsoft Corporation 2002
    ICMT            : Demo of the Windows Media Screen 9 Series codec.
    ISFT            : Lavf54.25.104
    Stream #0:0(eng): Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 800x600, q=
2-31, 200 kb/s, 42.17 tbn, 42.17 tbc
Stream mapping:
  Stream #0:1 -> #0:0 (mss2 -> msmpeg4v2)
Press [q] to stop, [?] for help
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 18 times
frame=   10 fps=0.0 q=12.1 size=     399kB time=00:00:15.79 bitrate= 206.9kbits/
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 16 times
frame=   23 fps= 23 q=27.5 size=     540kB time=00:00:22.76 bitrate= 194.3kbits/
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 21 times
frame=   31 fps= 20 q=31.0 size=     700kB time=00:00:33.05 bitrate= 173.4kbits/
buffer not fully consumed
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 22 times
frame=   39 fps= 19 q=31.0 size=     850kB time=00:00:44.67 bitrate= 155.9kbits/
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 9 times
frame=   53 fps= 21 q=26.7 size=     908kB time=00:00:53.31 bitrate= 139.5kbits/
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 18 times
frame=   53 fps= 20 q=26.7 Lsize=     943kB time=00:00:53.31 bitrate= 144.9kbits
/s
video:885kB audio:0kB subtitle:0 global headers:0kB muxing overhead 6.600691%
}}}"	ami_stuff
git-master	1712	Audio precision in lossless and long time to encode.	FFmpeg	git-master	defect	open	2012-09-02T12:57:34+02:00	2012-09-24T21:13:56+02:00	"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."	Danixu
git-master	1715	Wrong timestamps for h264 in mpegts	undetermined	git-master	defect	open	2012-09-03T23:17:12+02:00	2012-09-04T10:38:08+02:00	"(Originally reported in ticket #403, maybe related to ticket #424).
I will provide a link to a very long transport stream containing h264 video and aac audio.
ffplay, ffmpeg and mplayer -demuxer lavf play / transcode the sample with wrong video speed (video is too slow), works fine with mplayer -demuxer mpegts.
{{{
$ ffplay -analyzeduration 2G CAPTURE-HD-RM164_2012-08-20_13_21_28.ts
ffplay version N-44127-gb0dc428 Copyright (c) 2003-2012 the FFmpeg developers
  built on Sep  3 2012 18:04:33 with gcc 4.5.3 (GCC)
  configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 15.102 /  3. 15.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
[mpegts @ 0x8edfd80] Stream #2: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8edfd80] Could not find codec parameters for stream 2 (Unknown: none ([6][0][0][0] / 0x0006)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x8ee5060] start time is not set in estimate_timings_from_pts
Input #0, mpegts, from 'CAPTURE-HD-RM164_2012-08-20_13_21_28.ts':
  Duration: 01:29:14.08, start: 599.983333, bitrate: 2281 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1012]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, s16, 119 kb/s
    Stream #0:2[0x1013]: Unknown: none ([6][0][0][0] / 0x0006)
Frame changed from size:0x0 to size:1280x720KB vq=   20KB sq=    0B f=0/0
 601.07 A-V:-599.928 fd=   0 aq=    1KB vq=  183KB sq=    0B f=0/0   =0/0
}}}
{{{
$ ffmpeg -analyzeduration 2G -i CAPTURE-HD-RM164_2012-08-20_13_21_28.ts -qscale 2 -t 30 out.avi
ffmpeg version N-44127-gb0dc428 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep  3 2012 18:04:33 with gcc 4.5.3 (GCC)
  configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 15.102 /  3. 15.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
[mpegts @ 0x8e765c0] Stream #2: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x8e765c0] Could not find codec parameters for stream 2 (Unknown: none ([6][0][0][0] / 0x0006)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x8e7b320] start time is not set in estimate_timings_from_pts
Input #0, mpegts, from 'CAPTURE-HD-RM164_2012-08-20_13_21_28.ts':
  Duration: 01:29:27.29, start: 599.983333, bitrate: 2281 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1012]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, s16, 119 kb/s
    Stream #0:2[0x1013]: Unknown: none ([6][0][0][0] / 0x0006)
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.25.104
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, flt, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mpeg4)
  Stream #0:1 -> #0:1 (aac -> ac3)
Press [q] to stop, [?] for help
frame=    0 fps=0.0 q=0.0 Lsize=     735kB time=00:00:30.01 bitrate= 200.7kbits/s
video:0kB audio:704kB subtitle:0 global headers:0kB muxing overhead 4.510928%
}}}"	cehoyos
git-master	1719	MPEG-TS demuxer : don't parse a PAT (and clear programs) if its version number is the same as the previous one	avformat	git-master	defect	open	2012-09-05T15:34:38+02:00	2012-09-07T19:50:10+02:00	"{{{
ffmpeg -i euronews_long_pmt_over_pat.ts
ffmpeg version N-44162-gfc15f58 Copyright (c) 2000-2012 the FFmpeg developers   
  built on Sep  5 2012 12:24:04 with gcc 4.7 (Debian 4.7.1-2)
  configuration: --prefix=/home/aurelien/local --enable-postproc --enable-nonfree --enable-gpl --enable-libopencore-amrnb --enable-libfaac --enable-libmp3lame --enable-shared --enable-libxvid --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-libfaac
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 15.103 /  3. 15.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mpegts @ 0x1b61240] probed stream 1 failed
[mpegts @ 0x1b61240] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x1b61240] Could not find codec parameters for stream 1 (Unknown: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x1b61240] PES packet size mismatch
    Last message repeated 9 times
Input #0, mpegts, from '/home/dump/euronews_long_pmt_over_pat.ts':
  Duration: 00:02:59.27, start: 10770.595789, bitrate: 4407 kb/s
  Program 8202
    Metadata:
      service_name    : ARM_1
      service_provider: GlobeCast   
[...]  
  No Program
    Stream #0:0[0x8c6]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
    Stream #0:1[0x300]: Unknown: none
    Stream #0:2[0x8ad]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 3240 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:3[0x8c1]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
    Stream #0:4[0x8bf]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
    Stream #0:5[0x8c0]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
    Stream #0:6[0x8bd]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
    Stream #0:7[0x8be]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
    Stream #0:8[0x8bb]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
    Stream #0:9[0x8ba]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
    Stream #0:10[0x8bc]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
    Stream #0:11[0x8b9]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
    Stream #0:12[0x8b8]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s
    Stream #0:13[0x8b7]: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s

The stream looks like :
[PAT]
[PAT]
[PAT]
[PMT_first packet]
[PAT]
[PAT]
[PAT]
[PMT_last_packet]
[etc...]
}}}

In pat_cb(), clear_programs() is called unconditionally so the when the second half of the PMT is received it will be discarded.
The attached patch fixes that.

The sample is on the ffmpeg ftp : euronews_long_pmt_over_pat.ts"	aurelien
git-master	1720	"ffmpeg with -vcodec copy -acodec copy creates files ""without audio"" for certain players"	avformat	git-master	defect	open	2012-09-05T22:03:19+02:00	2013-01-20T02:47:37+01:00	"Summary of the bug: $title

How to reproduce:
{{{

 I noticed with this file:

http://rogerdpack.t28.net/incoming/sintel.mpg

 and this command:

 $ ffmpeg -y -i sintel.mpg -t 60 -vcodec copy -acodec copy out.mpg
 ffmpeg version N-43577-g045f8dd Copyright (c) 2000-2012 the FFmpeg developers
   built on Aug 15 2012 14:10:50 with gcc 4.7.1 (GCC)
   configuration: --enable-memalign-hack --arch=x86 --enable-gpl
 --enable-libx264 --enable-avisynth --enable-libxvid
 --target-os=mingw32
 --cross-prefix=/home/rogerdpack/dev/ffmpeg-windows-build-helpers/builds/mingw-w64-i686/bin/i686-w64-mingw32-
 --pkg-config=pkg-config --enable-libmp3lame --enable-version3
 --enable-libvo-aacenc --enable-libvpx --extra-libs=-lws2_32
 --extra-libs=-lpthread --enable-zlib --extra-libs=-lwinmm
 --extra-libs=-lgdi32 --enable-librtmp --enable-runtime-cpudetect
   libavutil      51. 69.100 / 51. 69.100
   libavcodec     54. 52.100 / 54. 52.100
   libavformat    54. 23.100 / 54. 23.100
   libavdevice    54.  2.100 / 54.  2.100
   libavfilter     3.  9.100 /  3.  9.100
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [mpeg2video @ 01C2F6A0] ac-tex damaged at 40 7
 [mpeg2video @ 01C2F6A0] Warning MVs not available
 [mpeg2video @ 01C2F6A0] concealing 1035 DC, 1035 AC, 1035 MV errors in I frame
 [mpeg @ 03361800] max_analyze_duration 5000000 reached at 5024000
 Input #0, mpeg, from 'sintel.mpg':
   Duration: 00:14:47.58, start: 0.233367, bitrate: 4132 kb/s
     Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480
 [SAR 32:27 DAR 16:9], 7000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94
 tbc
     Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s
 Output #0, mpeg, to 'out.mpg':
   Metadata:
     encoder         : Lavf54.23.100
     Stream #0:0: Video: mpeg2video, yuv420p, 720x480 [SAR 32:27 DAR
 16:9], q=2-31, 7000 kb/s, 29.97 fps, 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:1 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 frame= 1638 fps=0.0 q=-1.0 Lsize=   32396kB time=00:01:00.00
 bitrate=4423.1kbits/s
 video:28947kB audio:3281kB subtitle:0 global headers:0kB muxing
 overhead 0.520095%
}}}

command succeeds.  File is playable (with audio) by ffplay, but has ""no audio"" in either VLC or Windows Media Player.

If I dump it to out.avi, the resultant file has ""no video"" in WMP, but does have audio, and plays fine in VLC.  Or should I file that as a separate ticket?

MediaInfo seems to reveal it having an audio track ok."	rogerdpack
git-master	1737	ffmpeg detect aac stereo as mono	avcodec	git-master	defect	open	2012-09-14T18:16:14+02:00	2012-09-15T17:44:55+02:00	"How to reproduce:
{{{
ffprobe -v 9 -loglevel 99 ./audio_aac_stereo_as_mono.mp4
ffprobe version N-44445-ge332947 Copyright (c) 2007-2012 the FFmpeg developers
  built on Sep 14 2012 14:05:18 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --cc='gcc -O2 -m64 -mtune=core2 -pipe' --enable-version3 --enable-libfaac --enable-libx264 --enable-pthreads --enable-gpl --enable-nonfree --enable-librtmp --enable-shared --enable-filter=movie --enable-avfilter --enable-libspeex --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libaacplus --enable-libvo-aacenc
  libavutil      51. 73.100 / 51. 73.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 27.100 / 54. 27.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 16.103 /  3. 16.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17953c0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17953c0] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17953c0] File position before avformat_find_stream_info() is 1175362
[aac @ 0x179cc60] channel element 0.0 is not allocated
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17953c0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x17953c0] File position after avformat_find_stream_info() is 143323
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './audio_aac_stereo_as_mono.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    title           : Teradek stream
    encoder         : Lavf54.27.100
    copyright       : Teradek
  Duration: 00:00:21.05, start: 0.000000, bitrate: 446 kb/s
    Stream #0:0(und), 41, 1/1000: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 360x240 [SAR 32:27 DAR 16:9], 1/50, 407 kb/s, 23.86 fps, 25 tbr, 1k tbn, 50 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und), 120, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, s16, 32 kb/s
    Metadata:
      handler_name    : SoundHandler
[h264 @ 0x179bc00] detected 8 logical cores
[AVIOContext @ 0x179da40] Statistics: 214912 bytes read, 2 seeks
}}}

Attach log for:
{{{
ffmpeg -v 9 -loglevel 99 -i ./audio_aac_stereo_as_mono.mp4 -vcodec copy -acodec libfaac -ar 22050 -report -f mp4 /tmp/aaa3.mp4
}}}
"	dmitry9
git-master	1743	"SDL out doesn't respond to clicking the window ""x"" close"	avdevice	git-master	defect	open	2012-09-17T18:38:34+02:00	2013-04-23T23:46:17+02:00	"How to reproduce:
{{{
% ffmpeg -i vids/sintel.mpg -f sdl ""yo""
ffmpeg version N-44224-gde9f5b6 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep  6 2012 17:59:21 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: 
  libavutil      51. 72.100 / 51. 72.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 25.105 / 54. 25.105
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 15.104 /  3. 15.104
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
[mpeg2video @ 0x9cbe8a0] ac-tex damaged at 40 7
[mpeg2video @ 0x9cbe8a0] Warning MVs not available
[mpeg2video @ 0x9cbe8a0] concealing 1035 DC, 1035 AC, 1035 MV errors in I frame
[mpeg @ 0x9cb8500] max_analyze_duration 5000000 reached at 5024000
Input #0, mpeg, from 'vids/sintel.mpg':
  Duration: 00:14:47.58, start: 0.233367, bitrate: 4132 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 7000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s
[sdl @ 0x9cbec60] w:720 h:480 fmt:yuv420p sar:32/27 -> w:720 h:405
Output #0, sdl, to 'yo':
  Metadata:
    encoder         : Lavf54.25.105
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> rawvideo)
Press [q] to stop, [?] for help
}}}

It plays all right.

If you click the window's ""x"" button, it doesn't do anything, which is a bit inconvenient at times.
Thanks!"	rogerdpack
git-master	1746	MPEG_TS: the PTS is wrong	undetermined	git-master	defect	open	2012-09-18T08:25:53+02:00	2012-09-18T09:38:17+02:00	"Summary of the bug:
The PTS from FFmpeg is wrong.
How to reproduce:
{{{
reproduce by: ffprobe $STREAM_FILE -show_packets
I built the code myself with the commit:
commit 83438a0db3c61f06979d1c4159e5c85d52eda488
Merge: a593f5b d8f8e91
Author: Michael Niedermayer <michaelni@gmx.at>
Date:   Mon Sep 17 00:40:55 2012 +0200
}}}"	adam_csheng
git-master	1759	Bad video DTS value	avformat	git-master	defect	new	2012-09-21T04:01:30+02:00	2012-09-21T14:11:29+02:00	"Summary of the bug:
First video packet DTS has wrong value, value which is lower then 0. This can be problem when seeking to 0.

How to reproduce:
{{{
% ffprobe -show_packets mpeg2.mov

[PACKET]
codec_type=video
stream_index=0
pts=-1
pts_time=-0.041667
dts=-1
dts_time=-0.041667
duration=1
duration_time=0.041667
convergence_duration=N/A
convergence_duration_time=N/A
size=32992
pos=36
flags=K
[/PACKET]
...
ffmpeg version: latest git master source
built on: Ubuntu 10.04
}}}"	nikola.vranic
git-master	1766	Can't encode MPEG-2 at more than ~3Mb/s	undetermined	git-master	defect	new	2012-09-27T01:21:36+02:00	2012-10-08T21:26:23+02:00	"Summary of the bug: I'm trying to convert a 720p25 video to DVD-spec 6500kbps MPEG2, but the output is <3Mb/s instead. The subjective quality is not that good, there are blocks in the background and the picture lacks sharpness. I'm using ffmpeg version git-2012-09-26-299c0b3.

The source video is a remuxed Sherlock.S01E01.720p.BluRay.x264-AVCHD, that can be easily found in P2P sites. With some guidance I can try encoding the original BluRay, but ripping it on linux has proven itself way too difficult for me and I figured it would be the same.

I originally used a much more complicated command line, but the issue is still there with the stripped-down {{{ ffmpeg -i ""$1"" -target pal-dvd -b:v 6450k -an -pass 1/2 ""$1"".mpg -report }}}

I've attached ffmpeg's reports and the two-pass log, please tell me if you need anything else, I'll try to reply as soon as I can. Thanks!"	agusdallalba
git-master	1768	audio AAC fails at CCE	avcodec	git-master	defect	open	2012-09-27T18:17:28+02:00	2012-10-08T00:38:24+02:00	"get_che function of aacdec.c file doesn't handle CCE type, as a result, AAC decoder fails to continue decoding. I got ""channel element 2.8 is not allocated"" error message for my AAC audio.  "	kaijun61
git-master	1796	Unable to extract PCM audio track from AVI file	undetermined	git-master	defect	open	2012-10-09T18:21:17+02:00	2012-12-06T12:36:48+01:00	"Summary of the bug: I have an AVI-wrapped dvvideo file with a single pcm_s16le audio track. The video plays fine (although there is a funny noise at the start that might indicate some kind of corruption or encoding problem). I am able to extract the audio using MPlayer, and ffmpeg can successfully produce a lower-quality avi file and extract the audio as mp3. I am able to run ffmpeg a second time to get a WAV file from either of these. However, if I simply try to extract the audio track directly into a WAV file from the original AVI file, all I get is 0.03 seconds of noise. There is no error message, so the software I'm writing that is running ffmpeg and monitoring the output can't tell anything went wrong.

How to reproduce:
{{{
% ffmpeg -i TruncatedPCMAudio.avi -vn -acodec copy temp.wav
  - OR -
% ffmpeg -i TruncatedPCMAudio.avi -vn -acodec pcm_s16le temp.wav
ffmpeg version N-40126-ga4b58fd
built on Apr 26 2012 03:29:50 with gcc 4.6.3
}}}

ffmpeg -v 9 -loglevel 99 -i TruncatedPCMAudio.avi
ffmpeg version N-40126-ga4b58fd Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr 26 2012 03:29:50 with gcc 4.6.3
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-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-libope
njpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libth
eora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --e
nable-zlib
  libavutil      51. 47.100 / 51. 47.100
  libavcodec     54. 15.100 / 54. 15.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 72.100 /  2. 72.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
[avi @ 01d3c020] Format avi probed with size=2048 and score=100
[AVI demuxer @ 01d3c680] use odml:1
[avi @ 01d3c020] File position before avformat_find_stream_info() is 32768
[avi @ 01d3c020] All info found
[avi @ 01d3c020] File position after avformat_find_stream_info() is 185032
Input #0, avi, from 'TruncatedPCMAudio.avi':
  Duration: 00:03:52.46, start: 0.000000, bitrate: 28855 kb/s
    Stream #0:0, 1, 1001/30000: Video: dvvideo, yuv411p, 720x480, 1001/30000, 28
771 kb/s, SAR 8:9 DAR 4:3, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1, 1, 1/30000: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 k
b/s
At least one output file must be specified"	tom_bogle
git-master	1798	Real-world transport stream with incorrect PMT plays fine with WMP	avformat	git-master	defect	open	2012-10-10T06:18:44+02:00	2012-11-07T12:22:29+01:00	"There's no sound with this file. It comes from a dvb-s2 channel.

WMP is the only player working.
ffplay git, MPlayer 1.1, MPlayer2, VLC 2.0.3, xbmc git (07/Oct/12) does not play audio (either windows or linux)

I managed to play audio only with mplayer -novideo switch.

It seems that PMT indicates the wrong stream type.
"	skrull
git-master	1799	movie: loop option doesn't seem to work	avfilter	git-master	defect	open	2012-10-10T09:10:47+02:00	2013-03-14T10:05:40+01:00	"Given a small video stream:

{{{
./ffmpeg -f lavfi -i testsrc=d=5 -y loopme.mkv
}}}

And trying to loop it N times until the output reaches a given duration:

{{{
./ffmpeg -f lavfi -i movie=loopme.mkv:loop=0 -t 20 -y out.mkv
}}}

...leads to an infinite loop. All the frames >126 are dropped (the input has 125 frames):

{{{
frame=  126 fps= 10 q=32766.0 Lsize=      23kB time=00:00:04.96 bitrate=  38.6kbits/s dup=0 drop=59352 
}}}

Complete output:

{{{
% ./ffmpeg -f lavfi -i movie=loopme.mkv:loop=0 -t 20 -y out.mkv
ffmpeg version N-45221-g25f44b0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 10 2012 08:57:07 with gcc 4.7 (Debian 4.7.2-3)
  configuration: --enable-gpl --enable-fontconfig --enable-libfreetype --enable-libmp3lame --cc='ccache cc' --extra-cflags=-fstack-protector-all --enable-libx264 --enable-libvorbis --enable-libmodplug --enable-libass --samples=/home/cboesch/fate-samples --prefix=/home/cboesch/src/ff/ffmpeg/ffmpeg_build --enable-x11grab --enable-libvpx
  libavutil      51. 74.100 / 51. 74.100
  libavcodec     54. 65.100 / 54. 65.100
  libavformat    54. 31.100 / 54. 31.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.102 /  3. 19.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[lavfi @ 0x3288260] Estimating duration from bitrate, this may be inaccurate
Input #0, lavfi, from 'movie=loopme.mkv:loop=0':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (444P / 0x50343434), yuv444p, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 1k tbn, 1k tbc
[libx264 @ 0x47fd280] using SAR=1/1
[libx264 @ 0x47fd280] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x47fd280] profile High 4:4:4 Predictive, level 1.3, 4:4:4 8-bit
[libx264 @ 0x47fd280] 264 - core 123 r2189 35cf912 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=12 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'out.mkv':
  Metadata:
    encoder         : Lavf54.31.100
    Stream #0:0: Video: h264, yuv444p, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 1k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> libx264)
Press [q] to stop, [?] for help
frame=  126 fps= 29 q=32766.0 Lsize=      23kB time=00:00:04.96 bitrate=  38.6kbits/s dup=0 drop=21081   
}}}"	ubitux
git-master	1806	Audio/video stream order reversed in remuxed VOB files	avformat	git-master	defect	open	2012-10-12T18:30:53+02:00	2012-12-07T23:41:04+01:00	"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!
"	paulbu
git-master	1810	ffprobe: some .m4a files' metatags are not read by ffprobe	avformat	git-master	defect	open	2012-10-13T11:43:19+02:00	2012-10-18T17:24:06+02:00	"Summary of the bug:
How to reproduce:
{{{
% ffprobe Portugal.m4a
ffprobe version 0.11.2 Copyright (c) 2007-2012 the FFmpeg developers
  built on Oct 10 2012 18:26:07 with gcc 4.7.1
}}}


Running ffprobe on alac encoded files (.m4a), only returns the creation_date metadata. Album, artist, title, etc. are not returned.

The mp4v2 tool returns those correctly. Also, AtomicParsley and Mp3tag read the metadata correctly.

Here are the outputs of ffprobe and mp4v2:


configuration: --enable-libmp3lame --enable-libtheora --enable-libx264 
--disable-libgsm --enable-postproc --disable-libxvid --enable-libfaac 
--enable-pthreads --enable-libvorbis --enable-gpl --disable-x11grab 
--enable-nonfree
  libavutil      51. 54.100 / 51. 54.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.100 / 54.  6.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Portugal.m4a':
  Metadata:
    major_brand     : M4A
    minor_version   : 0
    compatible_brands: mp42isomM4A
    creation_time   : 2012-09-29 15:28:41
  Duration: 00:01:28.80, start: 0.000000, bitrate: 608 kb/s
    Stream #0:0(und): Audio: alac (alac / 0x63616C61), 44100 Hz, 2 channels, s16, 608 kb/s
    Metadata:
      creation_time   : 2012-09-29 15:28:41
[FORMAT]
filename=Portugal.m4a
nb_streams=1
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime/MPEG-4/Motion JPEG 2000 format
start_time=0.000000
duration=88.800000
size=6756165
bit_rate=608663
TAG:major_brand=M4A
TAG:minor_version=0
TAG:compatible_brands=mp42isomM4A
TAG:creation_time=2012-09-29 15:28:41
[/FORMAT]




mp4info version 2.0.0
Portugal.m4a:
ReadChildAtoms: ""Portugal.m4a"": In atom meta missing child atom hdlr
Track   Type    Info
1       audio   alac, 88.800 secs, 608 kbps, 44100 Hz
ReadChildAtoms: ""Portugal.m4a"": In atom meta missing child atom hdlr
 Name: Sonhei que estava em Portugal
 Artist: Cristina Branco
 Album: Ulisses
 Track: 1 of 0
 Genre: Fado






"	movie_fan
git-master	1812	Transport stream with garbage in the beginning shows artefacts	undetermined	git-master	defect	new	2012-10-13T12:09:35+02:00	2012-10-16T10:35:22+02:00	"Related to ticket #1811 and this user report:
http://ffmpeg.org/pipermail/ffmpeg-user/2012-October/010297.html

If the first 375kb of the misdetection sample are cut away, the sample is auto-detected correctly, but shows artefacts on decoding.
(No artefacts can be seen if the first 400kb of the misdetection sample from ticket #1811 are cut away, so this is not a reception problem.)
{{{
$ ffmpeg -i mpeg2artefacts.ts -qscale 2 out.avi
ffmpeg version N-45422-g6254ffe Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 13 2012 12:00:13 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      51. 76.100 / 51. 76.100
  libavcodec     54. 65.100 / 54. 65.100
  libavformat    54. 32.100 / 54. 32.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.102 /  3. 19.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[mpegts @ 0x2050280] Could not detect TS packet size, defaulting to non-FEC/DVHS
[mpeg2video @ 0x2072ae0] mpeg_decode_postinit() failure
    Last message repeated 1 times
[mpegts @ 0x2050280] PES packet size mismatch
[mpeg2video @ 0x2072ae0] mpeg_decode_postinit() failure
[mpeg2video @ 0x2072ae0] skipped MB in I frame at 5 7
[mpeg2video @ 0x2072ae0] ac-tex damaged at 5 19
[mpeg2video @ 0x2072ae0] Warning MVs not available
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in I frame
[mpegts @ 0x2050280] PES packet size mismatch
    Last message repeated 8 times
[mpegts @ 0x2050280] Could not find codec parameters for stream 4 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2050280] 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 @ 0x2050280] Could not find codec parameters for stream 6 (Unknown: none ([12][0][0][0] / 0x000C)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2050280] Could not find codec parameters for stream 7 (Unknown: none ([255][0][0][0] / 0x00FF)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2050280] Could not find codec parameters for stream 8 (Unknown: none ([255][0][0][0] / 0x00FF)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x2092e80] start time is not set in estimate_timings_from_pts
[NULL @ 0x2099340] start time is not set in estimate_timings_from_pts
[NULL @ 0x209f800] start time is not set in estimate_timings_from_pts
[NULL @ 0x20a5cc0] start time is not set in estimate_timings_from_pts
[NULL @ 0x20ac180] start time is not set in estimate_timings_from_pts
[mpegts @ 0x2050280] PES packet size mismatch
    Last message repeated 3 times
Input #0, mpegts, from 'mpeg2artefacts.ts':
  Duration: 00:00:05.04, start: 40225.173822, bitrate: 4057 kb/s
  Program 257
    Metadata:
      service_name    : France 2
      service_provider: GR1 A
  Program 260
    Metadata:
      service_name    : France 5
      service_provider: GR1 A
    Stream #0:0[0x140]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 15000 kb/s, 25.25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x14a](fra): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:2[0x14b](qad): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:3[0x154](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
    Stream #0:4[0x172]: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:5[0x173]: Unknown: none ([11][0][0][0] / 0x000B)
    Stream #0:6[0x174]: Unknown: none ([12][0][0][0] / 0x000C)
    Stream #0:7[0x175]: Unknown: none ([255][0][0][0] / 0x00FF)
    Stream #0:8[0x176]: Unknown: none ([255][0][0][0] / 0x00FF)
  Program 261
    Metadata:
      service_name    : ?France [0m
      service_provider: GR1 A
  Program 262
    Metadata:
      service_name    : LCP
      service_provider: GR1 A
  Program 282
    Metadata:
      service_name    : France 3
      service_provider: Nat
  Program 368
    Metadata:
      service_name    : TLT
      service_provider: Scopus Network Technologies
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.32.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream #0:1(fra): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 192 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> mpeg4)
  Stream #0:1 -> #0:1 (mp2 -> ac3)
Press [q] to stop, [?] for help
[mpeg2video @ 0x2072ae0] skipped MB in I frame at 5 7
[mpeg2video @ 0x2072ae0] ac-tex damaged at 5 19
[mpeg2video @ 0x2072ae0] Warning MVs not available
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in I frame
[mpeg2video @ 0x2072ae0] invalid mb type in P Frame at 24 8
[mpeg2video @ 0x2072ae0] 00 motion_type at 0 33
[mpeg2video @ 0x2072ae0] Warning MVs not available
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpeg2video @ 0x2072ae0] 00 motion_type at 36 31
[mpeg2video @ 0x2072ae0] Warning MVs not available
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0x2072ae0] 00 motion_type at 30 13
[mpeg2video @ 0x2072ae0] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0x2072ae0] concealing 15 DC, 15 AC, 15 MV errors in B frame
[mpeg2video @ 0x2072ae0] 00 motion_type at 26 12
[mpeg2video @ 0x2072ae0] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0x2072ae0] ac-tex damaged at 24 17
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpegts @ 0x2050280] PES packet size mismatch
[mp2 @ 0x2080200] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2video @ 0x2072ae0] 00 motion_type at 34 7
[mpeg2video @ 0x2072ae0] concealing 315 DC, 315 AC, 315 MV errors in B frame
[mpeg2video @ 0x2072ae0] concealing 20 DC, 20 AC, 20 MV errors in P frame
[mpeg2video @ 0x2072ae0] concealing 19 DC, 19 AC, 19 MV errors in B frame
[mpeg2video @ 0x2072ae0] 00 motion_type at 18 23
[mpeg2video @ 0x2072ae0] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0x2072ae0] slice mismatch
[mpeg2video @ 0x2072ae0] ac-tex damaged at 23 31
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in I frame
[mpeg2video @ 0x2072ae0] invalid mb type in B Frame at 38 13
[mpeg2video @ 0x2072ae0] concealing 154 DC, 154 AC, 154 MV errors in B frame
[mpeg2video @ 0x2072ae0] 00 motion_type at 28 9
[mpeg2video @ 0x2072ae0] ac-tex damaged at 24 31
[mpeg2video @ 0x2072ae0] concealing 180 DC, 180 AC, 180 MV errors in P frame
[mpeg2video @ 0x2072ae0] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0x2072ae0] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0x2072ae0] mb incr damaged
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0x2072ae0] 00 motion_type at 43 22
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0x2072ae0] slice mismatch
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0x2072ae0] invalid mb type in I Frame at 16 15
[mpeg2video @ 0x2072ae0] concealing 45 DC, 45 AC, 45 MV errors in I frame
[mpeg2video @ 0x2072ae0] concealing 195 DC, 195 AC, 195 MV errors in B frame
[mpeg2video @ 0x2072ae0] concealing 16 DC, 16 AC, 16 MV errors in B frame
[mpeg2video @ 0x2072ae0] concealing 6 DC, 6 AC, 6 MV errors in P frame
[mpeg2video @ 0x2072ae0] ac-tex damaged at 24 28
[mpeg2video @ 0x2072ae0] ac-tex damaged at 36 32
[mpeg2video @ 0x2072ae0] invalid mb type in I Frame at 22 22
[mpeg2video @ 0x2072ae0] ac-tex damaged at 35 13
[mpeg2video @ 0x2072ae0] ac-tex damaged at 13 15
[mpeg2video @ 0x2072ae0] concealing 270 DC, 270 AC, 270 MV errors in I frame
[mpeg2video @ 0x2072ae0] ac-tex damaged at 36 31
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0x2072ae0] 00 motion_type at 19 25
[mpeg2video @ 0x2072ae0] concealing 45 DC, 45 AC, 45 MV errors in P frame
[mpeg2video @ 0x2072ae0] ac-tex damaged at 22 4
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0x2072ae0] ac-tex damaged at 0 28
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpeg2video @ 0x2072ae0] 00 motion_type at 25 22
[mpeg2video @ 0x2072ae0] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0x2072ae0] mb incr damaged
[mpeg2video @ 0x2072ae0] concealing 135 DC, 135 AC, 135 MV errors in B frame
[mpeg2video @ 0x2072ae0] concealing 2 DC, 2 AC, 2 MV errors in P frame
[mpegts @ 0x2050280] PES packet size mismatch
[mp2 @ 0x2080200] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2video @ 0x2072ae0] mb incr damaged
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0x2072ae0] 00 motion_type at 2 33
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in P frame
[mpeg2video @ 0x2072ae0] 00 motion_type at 36 9
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpeg2video @ 0x2072ae0] skipped MB in I frame at 27 24
[mpeg2video @ 0x2072ae0] ac-tex damaged at 24 15
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in I frame
[mpeg2video @ 0x2072ae0] concealing 6 DC, 6 AC, 6 MV errors in B frame
[mpeg2video @ 0x2072ae0] 00 motion_type at 30 14
[mpeg2video @ 0x2072ae0] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0x2072ae0] 00 motion_type at 34 33
[mpeg2video @ 0x2072ae0] concealing 90 DC, 90 AC, 90 MV errors in B frame
[mpegts @ 0x2050280] PES packet size mismatch
[mpeg2video @ 0x2072ae0] invalid mb type in P Frame at 23 13
[mpeg2video @ 0x2072ae0] concealing 136 DC, 136 AC, 136 MV errors in P frame
[mpeg2video @ 0x2072ae0] concealing 4 DC, 4 AC, 4 MV errors in P frame
[mp2 @ 0x2080200] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[mpeg2video @ 0x2072ae0] 00 motion_type at 18 26
[mpeg2video @ 0x2072ae0] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpeg2video @ 0x2072ae0] ac-tex damaged at 18 13
[mpeg2video @ 0x2072ae0] concealing 45 DC, 45 AC, 45 MV errors in B frame
[mpegts @ 0x2050280] PES packet size mismatch
[mpeg2video @ 0x2072ae0] ac-tex damaged at 20 3
[mpeg2video @ 0x2072ae0] concealing 1485 DC, 1485 AC, 1485 MV errors in B frame
[mp2 @ 0x2080200] incomplete frame
Error while decoding stream #0:1: Invalid data found when processing input
frame=  114 fps=0.0 q=2.0 Lsize=    3768kB time=00:00:05.08 bitrate=6076.7kbits/s
video:3646kB audio:106kB subtitle:0 global headers:0kB muxing overhead 0.432523%
}}}"	cehoyos
git-master	1819	Wrong number of channels reported for HE-AAC stream in MP4	undetermined	git-master	defect	new	2012-10-15T16:54:45+02:00	2012-10-15T16:54:45+02:00	"'''Summary of the bug:'''

I have an MP4 file containing H264 video and an HE-AAC stream. I'm quite positive the HE-AAC stream is stereo, but in some cases gets reported as mono by FFmpeg. The dump info from FFmpeg shows it as stereo, but ffprobe -show_streams shows it as mono. However, if I remux it to a plain .aac file, ffprobe-show_streams then shows it as stereo. See the below command lines.

I noticed this problem when using the C API. After opening the MP4 and calling `avformat_find_stream_info()`, the HE-AAC stream->codec (AVCodecContext) had a reported channels of 2 and channel_layout of 3 (stereo). However, once I opened the codec to decode (by calling `avcodec_open2()`), stream->codec's attributes changed and now channels was 1 and channel_layout was 4 (mono). Original discussion can be seen at http://ffmpeg.org/pipermail/libav-user/2012-October/002857.html

QuickTime and Windows Media Player both say the file is mono when inspecting the file, but I don't believe they are correct. MediaInfo shows the file as stereo.

Logs:

'''ffprobe -show_treams on the MP4:''' (note the dump shows stereo, but the [STREAM] shows 1 channel)
{{{
./ffprobe -show_streams -select_streams 0 ~/MP4-Apple264-AACPlus.mp4
ffprobe version N-45341-g3632f35 Copyright (c) 2007-2012 the FFmpeg developers
  built on Oct 11 2012 16:10:23 with gcc 4.2.1 (GCC) (Apple Inc. build
5666) (dot 3)
  configuration: --enable-libopenjpeg --enable-libx264 --enable-gpl
  libavutil      51. 74.100 / 51. 74.100
  libavcodec     54. 65.100 / 54. 65.100
  libavformat    54. 32.100 / 54. 32.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.102 /  3. 19.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/mjbshaw/MP4-Apple264-AACPlus.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2012-01-16 21:01:41
    encoder         : Sorenson Squeeze
  Duration: 00:00:11.19, start: 0.000000, bitrate: 789 kb/s
    Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz,
stereo, s16, 32 kb/s
    Metadata:
      creation_time   : 2012-01-16 21:01:41
      handler_name    : soun
    Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
480x360, 765 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn, 47952 tbc
    Metadata:
      creation_time   : 2012-01-16 21:01:41
      handler_name    : vide
    Stream #0:2(und): Data: none (mp4s / 0x7334706D)
    Metadata:
      creation_time   : 2012-01-16 21:01:57
      handler_name    : sdsm
    Stream #0:3(und): Data: none (mp4s / 0x7334706D)
    Metadata:
      creation_time   : 2012-01-16 21:01:57
      handler_name    : odsm
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 0 for input stream 3
[STREAM]
index=0
codec_name=aac
codec_long_name=AAC (Advanced Audio Coding)
profile=unknown
codec_type=audio
codec_time_base=1/22050
codec_tag_string=mp4a
codec_tag=0x6134706d
sample_fmt=s16
sample_rate=44100
channels=1
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/44100
start_pts=0
start_time=0.000000
duration_ts=493568
duration=11.192018
bit_rate=32000
nb_frames=241
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
TAG:creation_time=2012-01-16 21:01:41
TAG:language=und
TAG:handler_name=soun
[/STREAM]
}}}

'''ffprobe -show_frames:''' (every frame has 2 channels)
{{{
$ ./ffprobe -show_frames -select_streams 0 ~/MP4-Apple264-AACPlus.mp4
ffprobe version N-45341-g3632f35 Copyright (c) 2007-2012 the FFmpeg developers
  built on Oct 11 2012 16:10:23 with gcc 4.2.1 (GCC) (Apple Inc. build
5666) (dot 3)
  configuration: --enable-libopenjpeg --enable-libx264 --enable-gpl
  libavutil      51. 74.100 / 51. 74.100
  libavcodec     54. 65.100 / 54. 65.100
  libavformat    54. 32.100 / 54. 32.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.102 /  3. 19.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/mjbshaw/MP4-Apple264-AACPlus.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2012-01-16 21:01:41
    encoder         : Sorenson Squeeze
  Duration: 00:00:11.19, start: 0.000000, bitrate: 789 kb/s
    Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz,
stereo, s16, 32 kb/s
    Metadata:
      creation_time   : 2012-01-16 21:01:41
      handler_name    : soun
    Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
480x360, 765 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn, 47952 tbc
    Metadata:
      creation_time   : 2012-01-16 21:01:41
      handler_name    : vide
    Stream #0:2(und): Data: none (mp4s / 0x7334706D)
    Metadata:
      creation_time   : 2012-01-16 21:01:57
      handler_name    : sdsm
    Stream #0:3(und): Data: none (mp4s / 0x7334706D)
    Metadata:
      creation_time   : 2012-01-16 21:01:57
      handler_name    : odsm
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 0 for input stream 3
[FRAME]
media_type=audio
key_frame=1
pkt_pts=0
pkt_pts_time=0.000000
pkt_dts=0
pkt_dts_time=0.000000
pkt_duration=2048
pkt_duration_time=0.046440
pkt_pos=6211
sample_fmt=s16
nb_samples=2048
channels=2
channel_layout=stereo
[/FRAME]
[FRAME]
media_type=audio
key_frame=1
pkt_pts=2048
pkt_pts_time=0.046440
pkt_dts=2048
pkt_dts_time=0.046440
pkt_duration=2048
pkt_duration_time=0.046440
pkt_pos=24505
sample_fmt=s16
nb_samples=2048
channels=2
channel_layout=stereo
[/FRAME]
[...and so on; every frame has channels=2...]
}}}

'''Remuxing the HE-AAC stream to plain .aac:'''
{{{
$ ./ffmpeg -i ~/MP4-Apple264-AACPlus.mp4 -acodec copy -vn ~/out.aac
ffmpeg version N-45342-g6efe1ed Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 13 2012 10:34:47 with gcc 4.2.1 (GCC) (Apple Inc. build 5666) (dot 3)
  configuration: --enable-libopenjpeg --enable-libx264 --enable-gpl
  libavutil      51. 74.100 / 51. 74.100
  libavcodec     54. 65.100 / 54. 65.100
  libavformat    54. 32.100 / 54. 32.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.102 /  3. 19.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/mjbshaw/MP4-Apple264-AACPlus.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2012-01-16 21:01:41
    encoder         : Sorenson Squeeze
  Duration: 00:00:11.19, start: 0.000000, bitrate: 789 kb/s
    Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 32 kb/s
    Metadata:
      creation_time   : 2012-01-16 21:01:41
      handler_name    : soun
    Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x360, 765 kb/s, 23.98 fps, 23.98 tbr, 23976 tbn, 47952 tbc
    Metadata:
      creation_time   : 2012-01-16 21:01:41
      handler_name    : vide
    Stream #0:2(und): Data: none (mp4s / 0x7334706D)
    Metadata:
      creation_time   : 2012-01-16 21:01:57
      handler_name    : sdsm
    Stream #0:3(und): Data: none (mp4s / 0x7334706D)
    Metadata:
      creation_time   : 2012-01-16 21:01:57
      handler_name    : odsm
File '/Users/mjbshaw/out.aac' already exists. Overwrite ? [y/N] y
Output #0, adts, to '/Users/mjbshaw/out.aac':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    encoder         : Lavf54.32.100
    Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, 32 kb/s
    Metadata:
      creation_time   : 2012-01-16 21:01:41
      handler_name    : soun
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=      45kB time=00:00:11.19 bitrate=  33.2kbits/s    
video:0kB audio:44kB subtitle:0 global headers:0kB muxing overhead 3.768232%
}}}

'''ffprobe -show_streams on the remuxed out.aac:''' (note the [STREAMS] now shows 2 channels)
{{{
$ ./ffprobe -show_streams ~/out.aac
ffprobe version N-45342-g6efe1ed Copyright (c) 2007-2012 the FFmpeg developers
  built on Oct 13 2012 10:34:47 with gcc 4.2.1 (GCC) (Apple Inc. build 5666) (dot 3)
  configuration: --enable-libopenjpeg --enable-libx264 --enable-gpl
  libavutil      51. 74.100 / 51. 74.100
  libavcodec     54. 65.100 / 54. 65.100
  libavformat    54. 32.100 / 54. 32.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.102 /  3. 19.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[aac @ 0x10180ec00] max_analyze_duration 5000000 reached at 5015510
[aac @ 0x10180ec00] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from '/Users/mjbshaw/out.aac':
  Duration: 00:00:11.78, bitrate: 31 kb/s
    Stream #0:0: Audio: aac, 44100 Hz, stereo, s16, 31 kb/s
[STREAM]
index=0
codec_name=aac
codec_long_name=AAC (Advanced Audio Coding)
profile=unknown
codec_type=audio
codec_time_base=1/44100
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
sample_fmt=s16
sample_rate=44100
channels=2
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/28224000
start_pts=N/A
start_time=N/A
duration_ts=332743089
duration=11.789367
bit_rate=31524
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
[/STREAM]
}}}"	mbradshaw
git-master	1838	Some BOXX bxy2 samples (v210) cannot be decoded	avcodec	git-master	defect	new	2012-10-21T23:27:10+02:00	2012-10-23T18:58:41+02:00	"One sample from ticket #1352 cannot be decoded because it has a surprising stride value.
{{{
$ ffmpeg -i boxx_yuv_10bit.mov -f null -
ffmpeg version N-45832-ge168165 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 21 2012 20:40:38 with gcc 4.7 (SUSE Linux)
  configuration: --disable-demuxer=mpegps
  libavutil      51. 76.101 / 51. 76.101
  libavcodec     54. 68.100 / 54. 68.100
  libavformat    54. 33.100 / 54. 33.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 20.102 /  3. 20.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'boxx_yuv_10bit.mov':
  Metadata:
    creation_time   : 2012-05-25 17:45:23
  Duration: 00:00:00.06, start: 0.000000, bitrate: 6229 kb/s
    Stream #0:0(eng): Video: v210 (bxy2 / 0x32797862), yuv422p10le, 160x120, 6144 kb/s, 15 fps, 15 tbr, 600 tbn, 600 tbc
    Metadata:
      creation_time   : 2012-05-25 17:45:23
      handler_name    : Apple Alias Data Handler
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.33.100
    Stream #0:0(eng): Video: rawvideo (Y3[10][10] / 0xA0A3359), yuv422p10le, 160x120, q=2-31, 200 kb/s, 90k tbn, 15 tbc
    Metadata:
      creation_time   : 2012-05-25 17:45:23
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (v210 -> rawvideo)
Press [q] to stop, [?] for help
pkt->size: 51200, stride: 512, height: 120, stride*height: 61440
[v210 @ 0x2b7bfa0] packet too small
Error while decoding stream #0:0: Operation not permitted
frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=   0.0kbits/s
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead -nan%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
}}}"	cehoyos
git-master	1839	the pts can not copy from transcode orig video file	FFmpeg	git-master	defect	new	2012-10-22T08:06:55+02:00	2012-11-19T11:10:22+01:00	"Summary of the bug:
How to reproduce:
{{{
% ffmpeg -v debug -y -i input.mkv -strict -2 -ss 00:00:10.00 -t 00:00:10.00 -acodec aac -vcodec libx264 -map 0:0 -map 0:1  -pix_fmt yuv420p -b:v 2000k  -b:a 192k -ar 44100 -preset ultrafast -vprofile main -vlevel 3.1 -window_size hd720 -v debug -mpegts_copyts 1 -async 1 -f mpegts -bsf h264_mp4toannexb  output.ts
ffmpeg git-master
built on ...

I have used the copyts  mpegts_copyts, the output.ts  start time always from 0s
I wish the start time from time -ss

the ffprobe -show_packets output.ts is attached

who can upload the patch
thanks
}}}"	lingjiujianke
git-master	1841	raac: fail to seek	avformat	git-master	defect	open	2012-10-23T22:44:33+02:00	2012-10-23T23:25:50+02:00	"ffmpeg fails to seek above 26s

http://www.datafilehost.com/download-733c41c3.html

{{{
C:\>ffmpeg -ss 26 -i raac.rm out.wav
ffmpeg version N-45867-g3318d6b Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 23 2012 02:39:33 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 77.100 / 51. 77.100
  libavcodec     54. 68.100 / 54. 68.100
  libavformat    54. 33.100 / 54. 33.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 20.104 /  3. 20.104
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[rm @ 0x1edbe20] Invalid stream index 1 for index at pos 1233529
Input #0, rm, from 'raac.rm':
  Metadata:
    title           :
    author          :
    copyright       :
    comment         :
    Creation Date   : 4/21/2012 13:08:18
    Generated By    : Helix Producer SDK 13.1 for Windows, Build 13.1.1.3436
    Modification Date: 4/21/2012 13:08:18
  Duration: 00:00:30.07, start: 0.000000, bitrate: 328 kb/s
    Stream #0:0: Audio: aac (raac / 0x63616172), 44100 Hz, stereo, s16, 320 kb/s

Output #0, wav, to 'out.wav':
  Metadata:
    INAM            :
    author          :
    ICOP            :
    ICMT            :
    Creation Date   : 4/21/2012 13:08:18
    Generated By    : Helix Producer SDK 13.1 for Windows, Build 13.1.1.3436
    Modification Date: 4/21/2012 13:08:18
    ISFT            : Lavf54.33.100
    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 (aac -> pcm_s16le)
Press [q] to stop, [?] for help
[aac @ 0x1edc920] Reserved bit set.
Error while decoding stream #0:0: Invalid data found when processing input
Truncating packet of size 11122 to 7128
[aac @ 0x1edc920] Prediction is not allowed in AAC-LC.
Error while decoding stream #0:0: Invalid data found when processing input
raac.rm: Input/output error
size=       0kB time=00:00:00.00 bitrate=   0.0kbits/s
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters i
f used)
}}}
"	ami_stuff
git-master	1845	Encoded movies with mov_text subtitles do not play with QT Player	avformat	git-master	defect	open	2012-10-24T19:14:17+02:00	2013-04-20T23:11:12+02:00	"
When a .mkv contains subrip subtitle(s) and you encode to mp4 with -c:s mov_text the subtitles do not work when using the QuickTime Player (OSX). It plays fine with VLC though.

When encoding with Handbrake (which uses mov_text for mp4) it works fine with QuickTime Player.

FFmpeg commandline:
/Users/atarikid/Desktop/ffmpeg -i /Volumes/Data/Movies/Homeland?.mkv -c:a aac -c:v libx264 -strict -2 -c:s mov_text /Users/atarikid/Desktop/test.mp4"	Atarikid
git-master	1848	AMR-NB Q bit ignored	avcodec	git-master	defect	new	2012-10-25T21:23:35+02:00	2012-10-26T16:12:33+02:00	"Summary of the bug:
The Q bit determing if a frame is good or bad (errornous bits) is not used.

See bad_frame_indicator in 
libavcodec/amrnbdec.c

"	krisha
git-master	1853	libswscale writes past scanline end	swscale	git-master	defect	open	2012-10-27T13:43:55+02:00	2012-11-01T11:23:42+01:00	"libswscale sometimes writes to the memory past the end of each scanline, into the space between end of scanline and start of the next pixel, or in other words, it overwrites pixels between (dstw, y) and (0, y+1).

Often, this memory is just padding to satisfy alignment constraints on strides, but there are use cases where it's reasonable to expect that pixels outside the specified destination width should not be overwritten. For example, the destination image could be set up as cropped region of a larger image, and the regions of the larger images not covered by the destination region should not be overwritten.

I suspect this bug/caveat happens due to use of SIMD to work on multiple pixels at once. libswscale should just use an unaccelerated code path to handle trailing pixels.

This happens at least with PIX_FMT_BGRA."	gjdfgh
git-master	1855	snow: fail with decode of 2x2 resolution	avcodec	git-master	defect	open	2012-10-27T19:17:20+02:00	2012-11-03T01:54:26+01:00	"i'm not sure if this is a bug in encoder (missing check for minimal supported resolution) or in decoder

{{{
C:\>ffmpeg -i 2.avi -vcodec snow -pix_fmt yuv420p -strict -2 out.avi
ffmpeg version N-45867-g3318d6b Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 23 2012 02:39:33 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 77.100 / 51. 77.100
  libavcodec     54. 68.100 / 54. 68.100
  libavformat    54. 33.100 / 54. 33.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 20.104 /  3. 20.104
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Input #0, avi, from '2.avi':
  Duration: 00:00:00.10, start: 0.000000, bitrate: 664 kb/s
    Stream #0:0: Video: cinepak (cvid / 0x64697663), yuv420p, 2x2, 10 tbr, 10 tb
n, 10 tbc
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.33.100
    Stream #0:0: Video: snow (SNOW / 0x574F4E53), yuv420p, 2x2, q=2-31, 200 kb/s
, 10 tbn, 10 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (cinepak -> snow)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=       6kB time=00:00:00.10 bitrate= 457.0kbits/
s
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead 95100.000000%
}}}

{{{
C:\>ffmpeg -i out.avi out2.avi
ffmpeg version N-45867-g3318d6b Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 23 2012 02:39:33 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 77.100 / 51. 77.100
  libavcodec     54. 68.100 / 54. 68.100
  libavformat    54. 33.100 / 54. 33.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 20.104 /  3. 20.104
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[snow @ 0x1edc700] Error s->spatial_decomposition_count is 0
[avi @ 0x1edbe20] decoding for stream 0 failed
[avi @ 0x1edbe20] Could not find codec parameters for stream 0 (Video: snow (SNO
W / 0x574F4E53), 2x2): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
out.avi: could not find codec parameters
}}}"	ami_stuff
git-master	1866	Half speed video output ts -> flv transcode	undetermined	git-master	defect	open	2012-10-29T16:58:34+01:00	2013-01-17T10:14:56+01:00	"Summary of the bug:
Some mpeg 2 ts files (h264 + aac, generated by Crestron Lecture Capture), when transcoded using ffmpeg to flv, produce video that plays back at half the speed (frame rate is retained but number of frames is doubled), while the audio is rendered correctly.  There is a 10 minute delay to the video, but this is in the original file, and eliminated with a '-vf setpts=PTS-STARTPTS'.

The file plays back fine in VLC, mPlayer, etc.

{{{
ffmpeg started on 2012-10-29 at 15:21:55
Report written to ""ffmpeg-20121029-152155.log""
Command line:
ffmpeg -i CAPTURE-HD2959dd_1970-01-02_01_26_49.ts -f flv -vf ""setpts=PTS-STARTPTS"" -ar 44100 CAPTURE2.flv -report
ffmpeg version N-46127-g7d1e003 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 29 2012 14:08:25 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  configuration: --disable-shared --enable-nonfree --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-encoder=nellymoser --enable-avfilter --disable-debug --enable-postproc --enable-pthreads --enable-mmx --enable-sse --enable-ssse3 --enable-yasm --enable-libgsm --enable-libspeex --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --extra-ldflags='-L/usr/local/lib -Wl,-rpath /usr/local/lib'
  libavutil      52.  1.100 / 52.  1.100
  libavcodec     54. 69.100 / 54. 69.100
  libavformat    54. 35.100 / 54. 35.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 20.106 /  3. 20.106
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[mpegts @ 0x32dc040] Format mpegts probed with size=2048 and score=100
[mpegts @ 0x32dc040] stream=0 stream_type=1b pid=1011 prog_reg_desc=
[mpegts @ 0x32dc040] stream=1 stream_type=f pid=1012 prog_reg_desc=
[mpegts @ 0x32dc040] stream=2 stream_type=6 pid=1013 prog_reg_desc=
[mpegts @ 0x32dc040] File position before avformat_find_stream_info() is 0
[mpegts @ 0x32dc040] parser not found for codec none, packets or times may be invalid.
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
[mpegts @ 0x32dc040] max_analyze_duration 5000000 reached at 5013333
[mpegts @ 0x32dc040] Could not find codec parameters for stream 2 (Unknown: none ([6][0][0][0] / 0x0006)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x32e1080] start time is not set in estimate_timings_from_pts
[mpegts @ 0x32dc040] File position after avformat_find_stream_info() is 0
Input #0, mpegts, from 'CAPTURE-HD2959dd_1970-01-02_01_26_49.ts':
  Duration: 00:00:24.57, start: 599.983333, bitrate: 2824 kb/s
  Program 1 
    Stream #0:0[0x1011], 295, 1/90000: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 90k tbn, 120 tbc
    Stream #0:1[0x1012], 237, 1/90000: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, s16, 134 kb/s
    Stream #0:2[0x1013], 0, 1/90000: Unknown: none ([6][0][0][0] / 0x0006)
Setting entry with key 'video_size' to value '1280x720'
[buffer @ 0x32d1500] Setting entry with key 'pix_fmt' to value '0'
[buffer @ 0x32d1500] Setting entry with key 'time_base' to value '1/90000'
[buffer @ 0x32d1500] Setting entry with key 'pixel_aspect' to value '1/1'
[buffer @ 0x32d1500] Setting entry with key 'sws_param' to value 'flags=2'
[buffer @ 0x32d1500] Setting entry with key 'frame_rate' to value '60/1'
[graph 0 input from stream 0:0 @ 0x32d1980] w:1280 h:720 pixfmt:yuv420p tb:1/90000 fr:60/1 sar:1/1 sws_param:flags=2
[graph 0 input from stream 0:0 @ 0x32d1980] TB:0.000011 FRAME_RATE:60.000000 SAMPLE_RATE:nan
[abuffer @ 0x32d18a0] Setting entry with key 'time_base' to value '1/48000'
[abuffer @ 0x32d18a0] Setting entry with key 'sample_rate' to value '48000'
[abuffer @ 0x32d18a0] Setting entry with key 'sample_fmt' to value 's16'
[abuffer @ 0x32d18a0] Setting entry with key 'channel_layout' to value '0x3'
[graph 1 input from stream 0:1 @ 0x32d1480] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
[aformat @ 0x32d2060] Setting entry with key 'sample_fmts' to value 's32p,fltp,s16p'
[aformat @ 0x32d2060] Setting entry with key 'sample_rates' to value '44100'
[aformat @ 0x32d2060] Setting entry with key 'channel_layouts' to value '0x4,0x3'
[audio format for output stream 0:1 @ 0x32d32a0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:1'
[auto-inserted resampler 0 @ 0x32d93c0] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:s16p r:44100Hz
[flv @ 0x32e4180] intra_quant_bias = 0 inter_quant_bias = -64
[h264 @ 0x32dfe40] detected 2 logical cores
Output #0, flv, to 'CAPTURE2.flv':
  Metadata:
    encoder         : Lavf54.35.100
    Stream #0:0, 0, 1/1000: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 1k tbn, 60 tbc
    Stream #0:1, 0, 1/1000: Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, stereo, s16p
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> flv)
  Stream #0:1 -> #0:1 (aac -> libmp3lame)
Press [q] to stop, [?] for help
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
[h264 @ 0x3305320] Using externally provided dimensions
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
frame=   80 fps=0.0 q=31.0 size=     309kB time=00:00:02.63 bitrate= 961.7kbits/s    
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
frame=  158 fps=157 q=31.0 size=     460kB time=00:00:05.23 bitrate= 720.2kbits/s    
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
frame=  240 fps=159 q=31.0 size=     612kB time=00:00:07.96 bitrate= 629.5kbits/s    
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
frame=  314 fps=156 q=31.0 size=     801kB time=00:00:10.48 bitrate= 625.9kbits/s    
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
frame=  392 fps=156 q=31.0 size=     957kB time=00:00:13.08 bitrate= 599.1kbits/s    
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
frame=  471 fps=156 q=31.0 size=    1113kB time=00:00:15.73 bitrate= 579.7kbits/s    
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
frame=  551 fps=156 q=31.0 size=    1312kB time=00:00:18.54 bitrate= 579.4kbits/s    
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
frame=  633 fps=157 q=31.0 size=    1469kB time=00:00:21.28 bitrate= 565.5kbits/s    
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
frame=  713 fps=158 q=31.0 size=    1663kB time=00:00:23.99 bitrate= 567.7kbits/s    
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
frame=  786 fps=156 q=31.0 size=    1819kB time=00:00:26.43 bitrate= 563.6kbits/s    
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
frame=  862 fps=156 q=31.0 size=    1969kB time=00:00:29.03 bitrate= 555.7kbits/s    
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
frame=  941 fps=156 q=31.0 size=    2165kB time=00:00:31.69 bitrate= 559.6kbits/s    
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
frame= 1017 fps=156 q=31.0 size=    2278kB time=00:00:34.26 bitrate= 544.7kbits/s    
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
frame= 1093 fps=155 q=24.8 size=    2470kB time=00:00:36.80 bitrate= 549.8kbits/s    
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
frame= 1171 fps=155 q=31.0 size=    2623kB time=00:00:39.40 bitrate= 545.3kbits/s    
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
frame= 1247 fps=155 q=31.0 size=    2824kB time=00:00:42.28 bitrate= 547.1kbits/s    
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
frame= 1324 fps=155 q=31.0 size=    2973kB time=00:00:44.85 bitrate= 543.1kbits/s    
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity -1, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity 0, new offset= -599983336
timestamp discontinuity -1, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity 0, new offset= -599983335
timestamp discontinuity -1, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity 0, new offset= -599983334
timestamp discontinuity -1, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity 0, new offset= -599983333
timestamp discontinuity -1, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity 0, new offset= -599983332
timestamp discontinuity -1, new offset= -599983331
[h264 @ 0x32dfe40] Current profile doesn't provide more RBSP data in PPS, skipping
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity 0, new offset= -599983331
timestamp discontinuity -1, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity 0, new offset= -599983330
timestamp discontinuity -1, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity 0, new offset= -599983329
timestamp discontinuity -1, new offset= -599983328
frame= 1402 fps=155 q=31.0 size=    3125kB time=00:00:47.45 bitrate= 539.5kbits/s    
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity 0, new offset= -599983328
timestamp discontinuity -1, new offset= -599983327
timestamp discontinuity 11, new offset= -599983338
timestamp discontinuity 0, new offset= -599983338
timestamp discontinuity -1, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
timestamp discontinuity 0, new offset= -599983337
[output stream 0:1 @ 0x32d3ae0] EOF on sink link output stream 0:1:default.
[output stream 0:0 @ 0x32d1f00] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.
[libmp3lame @ 0x32d7c80] Trying to remove 488 more samples than are in the que
frame= 1412 fps=155 q=31.0 Lsize=    5794kB time=00:00:47.78 bitrate= 993.4kbits/s    

video:5372kB audio:385kB subtitle:0 global headers:0kB muxing overhead 0.644591%
Statistics: 10762900 bytes read, 2 seeks
}}}"	larvalho
git-master	1872	aac bitstream not in adts format and extradata missing	FFserver	git-master	defect	new	2012-10-30T15:10:18+01:00	2012-12-06T13:24:56+01:00	"ffserver generated error ""aac bitstream not in adts format and extradata missing"" when I tried to stream mpegts with aac audio.

I am feeding ffserver with following command:
ffmpeg -i temp.mpg  -vcodec libx264 -b:v 800k -acodec aac -strict
experimental -flags -global_header http://10.112.47.12:8091/feed1.ffm

I am using following command to play the stream:

ffplay http://10.112.47.12:8091/test.ts

When I give above command I just see the first frame and then video
freezes. FFServer produces  error message ""aac bitstream not in adts
format and extradata missing"".


My ffserver.conf is given below?

Port 8091
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 100
MaxBandwidth 1000000
CustomLog -
NoDaemon

<Feed feed1.ffm>
 File /tmp/feed1.ffm
 FileMaxSize 150M
 ACL allow 127.0.0.1
</Feed>

<Stream test.ts>

    Feed feed1.ffm
    Format mpegts

    AudioCodec aac
    AudioBitRate 128k
    AudioChannels 2
    AudioSampleRate 48000
    AVOptionAudio flags +global_header

    VideoCodec libx264
    VideoBitRate 400k
    VideoFrameRate 15
    VideoSize 720x480
    AVOptionVideo coder 0
    AVOptionVideo bf 0
    AVOptionVideo flags2 +mixed_refs+fastpskip
    AVOptionVideo flags +loop
    AVOptionVideo cmp +chroma
    AVOptionVideo partitions +parti8x8+parti4x4+partp8x8+partb8x8
    AVOptionVideo me_method hex
    AVOptionVideo subq 7
    AVOptionVideo me_range 16
    AVOptionVideo g 250
    AVOptionVideo keyint_min 10
    AVOptionVideo sc_threshold 40
    AVOptionVideo i_qfactor 0.71
    AVOptionVideo b_strategy 1
    AVOptionVideo qcomp 0.6
    AVOptionVideo qmin 10
    AVOptionVideo qmax 51
    AVOptionVideo qdiff 4
    AVOptionVideo refs 3
    AVOptionVideo directpred 1
    AVOptionVideo trellis 1
    AVOptionVideo flags2 +mixed_refs+fastpskip
    AVOptionVideo wpredp 0
    AVOptionVideo flags +global_header
    AVOptionVideo bsf h264_mp4toannexb

    VideoGopSize 12

    Preroll 15
    StartSendOnKey
</Stream>

<Stream stat.html>
 Format status
 ACL allow 127.0.0.1
</Stream>

<Redirect index.html>
 URL stat.html
</Redirect>

complete uncut command line output of ffserver:

./ffserver_g

ffmpeg version N-45215-g949acef Copyright (c) 2000-2012 the FFmpeg developers
built on Oct 10 2012 15:45:20 with gcc 4.6.3 (GCC) 20120306 (Red Hat 4.6.3-2)
    configuration: --prefix=/usr --libdir=/usr/lib --enable-shared
    libavutil      51. 74.100 / 51. 74.100
    libavcodec     54. 65.100 / 54. 65.100
    libavformat    54. 31.100 / 54. 31.100
    libavdevice    54.  3.100 / 54.  3.100
    libavfilter     3. 19.102 /  3. 19.102
    libswscale      2.  1.101 /  2.  1.101
    libswresample   0. 16.100 /  0. 16.100
Tue Oct 30 16:43:25 2012
Tue Oct 30 16:43:25 2012
Tue Oct 30 16:43:25 2012
Tue Oct 30 16:43:25 2012
Tue Oct 30 16:43:25 2012 FFserver started.
Tue Oct 30 16:43:28 2012
Tue Oct 30 16:43:28 2012
Tue Oct 30 16:43:28 2012
Tue Oct 30 16:43:28 2012
Tue Oct 30 16:43:28 2012 muxrate VBR, pcr every 1 pkts, sdt every 200,
pat/pmt every 40 pkts
Tue Oct 30 16:43:31 2012
Tue Oct 30 16:43:31 2012
Tue Oct 30 16:43:31 2012 127.0.0.1 - - [GET] ""/feed1.ffm HTTP/1.1"" 200 4149
Tue Oct 30 16:43:31 2012
Tue Oct 30 16:43:31 2012 aac bitstream not in adts format and extradata missing
Tue Oct 30 16:43:31 2012 Error writing frame to output
Tue Oct 30 16:43:31 2012 10.112.47.18 - - [GET] ""/test.ts HTTP/1.1"" 200 8715
Tue Oct 30 16:43:47 2012 127.0.0.1 - - [POST] ""/feed1.ffm HTTP/1.1"" 200 2162688"	yogesh.tyagi
git-master	1878	Seeking causes later packets to be thrown away	undetermined	git-master	defect	new	2012-11-01T20:04:55+01:00	2012-11-02T12:47:54+01:00	"'''Summary of the bug:'''
Seeking causes certain packets to be thrown away, depending on which stream was sought. This is either a bug in the code, or an undocumented but critical ""feature."" I am unsure of which.

'''Link to sample file:'''
https://docs.google.com/uc?id=0BxWx_dIBnyRoSnMyTFNGOHR1c2c&export=download (321 MB)
I'm sorry it's not a perfectly direct link. Google Drive requires you to acknowledge that it hasn't been scanned for viruses because of its file size.

'''How to reproduce:'''
If I seek using a stream index of 1 (the audio stream), `av_read_frame()` skips the first two video packets, but if I seek using a stream index of 0 (the video stream), `av_read_frame()` does not skip the first two video packets. ffprobe shows that the first several packets in the file belong to the video stream, and I was hoping and assuming that seeking back to the very first packet in the file (which is why I was seeking by the audio stream index) would be a valid way to properly reset all streams to the beginning. However, this issue causes the first bit of video to be skipped, which is not acceptable in my situation.

'''Here is some sample code I wrote to illustrate the problem.''' There is a significant difference in output when seeking by stream index of 0 and seeking by stream index of 1.
{{{
#include <stdio.h>

// Just remove the extern ""C"" part to compile as C
extern ""C""
{
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libswresample/swresample.h>
}

static void decodeFirstFrame(AVFormatContext* formatContext, AVStream* videoStream, AVFrame* frame)
{
    AVPacket packet;
    int packetNumber;
    int frameFinished;
    int result;

    packetNumber = 0;
    av_init_packet(&packet);
    while (av_read_frame(formatContext, &packet) == 0)
    {
        printf(""packet #: %7d\tdts: %7d\ttype: %s\n"", packetNumber++,
            (int)packet.dts, (packet.stream_index == videoStream->index) ? ""video *"" : ""audio"");
        if (packet.stream_index == videoStream->index)
        {
            frameFinished = 0;
            result = avcodec_decode_video2(videoStream->codec, frame, &frameFinished, &packet);

            if (result >= 0 && frameFinished)
            {
                printf(""Got video frame at time %d\n"", (int)av_frame_get_best_effort_timestamp(frame));
                av_free_packet(&packet);
                break;
            }
        }

        av_free_packet(&packet);
    }
}

int main(int argc, char** argv)
{
    AVFrame* frame;
    AVFormatContext* formatContext;
    AVStream* videoStream;
    AVCodecContext* codecContext;

    av_register_all();

    frame = avcodec_alloc_frame();
    if (!frame)
    {
        printf(""Error allocating the frame\n"");
        return 1;
    }

    formatContext = NULL;
    if (avformat_open_input(&formatContext, ""SIMPSONS_D2-CallOfTheSimpsons.m4v"", NULL, NULL) != 0)
    {
        av_free(frame);
        printf(""Error opening the file\n"");
        return 1;
    }

    if (avformat_find_stream_info(formatContext, NULL) < 0)
    {
        av_free(frame);
        avformat_close_input(&formatContext);
        printf(""Error finding the stream info\n"");
        return 1;
    }
    
    videoStream = NULL;
    for (unsigned int i = 0; i < formatContext->nb_streams; ++i)
    {
        if (formatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO)
        {
            videoStream = formatContext->streams[i];
            break;
        }
    }

    if (videoStream == NULL)
    {
        av_free(frame);
        avformat_close_input(&formatContext);
        printf(""Could not find any video stream in the file\n"");
        return 1;
    }

    codecContext = videoStream->codec;
    codecContext->codec = avcodec_find_decoder(codecContext->codec_id);
    if (codecContext->codec == NULL)
    {
        av_free(frame);
        avformat_close_input(&formatContext);
        printf(""Couldn't find a proper decoder\n"");
        return 1;
    }
    else if (avcodec_open2(codecContext, codecContext->codec, NULL) != 0)
    {
        av_free(frame);
        avformat_close_input(&formatContext);
        printf(""Couldn't open the context with the decoder\n"");
        return 1;
    }

    decodeFirstFrame(formatContext, videoStream, frame);
    
    avcodec_flush_buffers(codecContext);
    printf(""seek result: %d\n"",
           av_seek_frame(formatContext, 0, -2000000000, AVSEEK_FLAG_BACKWARD | AVSEEK_FLAG_ANY));
    
    decodeFirstFrame(formatContext, videoStream, frame);

    av_free(frame);
    avcodec_close(codecContext);
    avformat_close_input(&formatContext);
    return 0;
}
}}}

'''Output from first call to `decodeFirstFrame()`:'''
{{{
packet #:       0       dts:       0    type: audio
packet #:       1       dts:    1024    type: audio
packet #:       2       dts:    2048    type: audio
packet #:       3       dts:    3072    type: audio
packet #:       4       dts:    4096    type: audio
packet #:       5       dts:    5120    type: audio
packet #:       6       dts:    6144    type: audio
packet #:       7       dts:   -6006    type: video *
packet #:       8       dts:   -3003    type: video *
packet #:       9       dts:       0    type: video *
packet #:      10       dts:    3003    type: video *
packet #:      11       dts:    7168    type: audio
packet #:      12       dts:    8192    type: audio
packet #:      13       dts:    9216    type: audio
packet #:      14       dts:   10240    type: audio
packet #:      15       dts:   11264    type: audio
packet #:      16       dts:   12288    type: audio
packet #:      17       dts:   13312    type: audio
packet #:      18       dts:    6006    type: video *
Got video frame at time 0
}}}

'''Seek result:'''
{{{
seek result: 0
}}}

'''Output from second call to `decodeFirstFrame()` after performing `av_seek_frame()` with `stream_index = 1`''' (note it skips the first two video packets, which have DTS = -6006 and -3003) '''(these results are undesirable)''':
{{{
packet #:       0       dts:       0    type: audio
packet #:       1       dts:    1024    type: audio
packet #:       2       dts:    2048    type: audio
packet #:       3       dts:    3072    type: audio
packet #:       4       dts:    4096    type: audio
packet #:       5       dts:    5120    type: audio
packet #:       6       dts:    6144    type: audio
packet #:       7       dts:       0    type: video *
packet #:       8       dts:    3003    type: video *
[h264 @ 0072fa80] reference picture missing during reorder
[h264 @ 0072fa80] reference picture missing during reorder
[h264 @ 0072fa80] reference picture missing during reorder
[h264 @ 0072fa80] Missing reference picture
[h264 @ 0072fa80] decode_slice_header error
[h264 @ 0072fa80] concealing 1350 DC, 1350 AC, 1350 MV errors in P frame
[h264 @ 00b6f800] mmco: unref short failure
packet #:       9       dts:    7168    type: audio
packet #:      10       dts:    8192    type: audio
[h264 @ 00b6f800] packet #:      11     dts:    9216    type: audio
packet #:      12       dts:   10240    type: audio
Missing reference picture
packet #:      13       dts:   11264    type: audio
packet #:      14       dts:   12288    type: audio
packet #:      15       dts:   13312    type: audio
packet #:      16       dts:    6006    type: video *
packet #:      17       dts:    9009    type: video *
[h264 @ 00682de0] reference picture missing during reorder
[h264 @ 00682de0] reference picture missing during reorder
[h264 @ 00682de0] Missing reference picture
[h264 @ 00682de0] Missing reference picture
[h264 @ 0072fa80] mmco: unref short failure
packet #:      18       dts:   12012    type: video *
packet #:      19       dts:   15015    type: video *
[h264 @ 00b6f800] reference picture missing during reorder
[h264 @ 00b6f800] Missing reference picture
packet #:      20       dts:   18018    type: video *
packet #:      21       dts:   21021    type: video *
packet #:      22       dts:   24024    type: video *
packet #:      23       dts:   27027    type: video *
packet #:      24       dts:   14336    type: audio
packet #:      25       dts:   15360    type: audio
packet #:      26       dts:   16384    type: audio
packet #:      27       dts:   17408    type: audio
packet #:      28       dts:   18432    type: audio
packet #:      29       dts:   19456    type: audio
packet #:      30       dts:   20480    type: audio
packet #:      31       dts:   30030    type: video *
packet #:      32       dts:   33033    type: video *
packet #:      33       dts:   36036    type: video *
packet #:      34       dts:   39039    type: video *
packet #:      35       dts:   21504    type: audio
packet #:      36       dts:   22528    type: audio
packet #:      37       dts:   23552    type: audio
packet #:      38       dts:   24576    type: audio
packet #:      39       dts:   25600    type: audio
packet #:      40       dts:   26624    type: audio
packet #:      41       dts:   27648    type: audio
packet #:      42       dts:   42042    type: video *
packet #:      43       dts:   45045    type: video *
packet #:      44       dts:   48048    type: video *
packet #:      45       dts:   51051    type: video *
packet #:      46       dts:   28672    type: audio
packet #:      47       dts:   29696    type: audio
packet #:      48       dts:   30720    type: audio
packet #:      49       dts:   31744    type: audio
packet #:      50       dts:   32768    type: audio
packet #:      51       dts:   33792    type: audio
packet #:      52       dts:   34816    type: audio
packet #:      53       dts:   54054    type: video *
packet #:      54       dts:   57057    type: video *
packet #:      55       dts:   60060    type: video *
packet #:      56       dts:   63063    type: video *
packet #:      57       dts:   35840    type: audio
packet #:      58       dts:   36864    type: audio
packet #:      59       dts:   37888    type: audio
packet #:      60       dts:   38912    type: audio
packet #:      61       dts:   39936    type: audio
packet #:      62       dts:   40960    type: audio
packet #:      63       dts:   41984    type: audio
packet #:      64       dts:   66066    type: video *
packet #:      65       dts:   69069    type: video *
packet #:      66       dts:   72072    type: video *
packet #:      67       dts:   75075    type: video *
packet #:      68       dts:   43008    type: audio
packet #:      69       dts:   44032    type: audio
packet #:      70       dts:   -6006    type: audio
packet #:      71       dts:   45056    type: audio
packet #:      72       dts:   46080    type: audio
packet #:      73       dts:   47104    type: audio
packet #:      74       dts:   48128    type: audio
packet #:      75       dts:   49152    type: audio
packet #:      76       dts:   78078    type: video *
packet #:      77       dts:   81081    type: video *
packet #:      78       dts:   84084    type: video *
packet #:      79       dts:   87087    type: video *
packet #:      80       dts:   50176    type: audio
packet #:      81       dts:   51200    type: audio
packet #:      82       dts:   52224    type: audio
packet #:      83       dts:   53248    type: audio
packet #:      84       dts:   54272    type: audio
packet #:      85       dts:   55296    type: audio
packet #:      86       dts:   56320    type: audio
packet #:      87       dts:   90090    type: video *
packet #:      88       dts:   93093    type: video *
packet #:      89       dts:   96096    type: video *
packet #:      90       dts:   99099    type: video *
packet #:      91       dts:   57344    type: audio
packet #:      92       dts:   58368    type: audio
packet #:      93       dts:   59392    type: audio
packet #:      94       dts:   60416    type: audio
packet #:      95       dts:   61440    type: audio
packet #:      96       dts:   62464    type: audio
packet #:      97       dts:   63488    type: audio
packet #:      98       dts:  102102    type: video *
packet #:      99       dts:  105105    type: video *
packet #:     100       dts:  108108    type: video *
packet #:     101       dts:  111111    type: video *
packet #:     102       dts:  114114    type: video *
packet #:     103       dts:  117117    type: video *
packet #:     104       dts:  120120    type: video *
packet #:     105       dts:  123123    type: video *
packet #:     106       dts:   64512    type: audio
packet #:     107       dts:   65536    type: audio
packet #:     108       dts:   66560    type: audio
packet #:     109       dts:   67584    type: audio
packet #:     110       dts:   68608    type: audio
packet #:     111       dts:   69632    type: audio
packet #:     112       dts:   70656    type: audio
packet #:     113       dts:  126126    type: video *
packet #:     114       dts:  129129    type: video *
packet #:     115       dts:  132132    type: video *
packet #:     116       dts:  135135    type: video *
packet #:     117       dts:   71680    type: audio
packet #:     118       dts:   72704    type: audio
packet #:     119       dts:   73728    type: audio
packet #:     120       dts:   74752    type: audio
packet #:     121       dts:   75776    type: audio
packet #:     122       dts:   76800    type: audio
packet #:     123       dts:   77824    type: audio
packet #:     124       dts:  138138    type: video *
packet #:     125       dts:  141141    type: video *
packet #:     126       dts:  144144    type: video *
packet #:     127       dts:  147147    type: video *
packet #:     128       dts:   78848    type: audio
packet #:     129       dts:   79872    type: audio
packet #:     130       dts:   80896    type: audio
packet #:     131       dts:   81920    type: audio
packet #:     132       dts:   82944    type: audio
packet #:     133       dts:   83968    type: audio
packet #:     134       dts:   84992    type: audio
packet #:     135       dts:   86016    type: audio
packet #:     136       dts:   87040    type: audio
packet #:     137       dts:   88064    type: audio
packet #:     138       dts:   89088    type: audio
packet #:     139       dts:   90112    type: audio
packet #:     140       dts:   91136    type: audio
packet #:     141       dts:   92160    type: audio
packet #:     142       dts:  150150    type: video *
packet #:     143       dts:  153153    type: video *
packet #:     144       dts:  156156    type: video *
packet #:     145       dts:  159159    type: video *
packet #:     146       dts:  162162    type: video *
packet #:     147       dts:  165165    type: video *
packet #:     148       dts:  168168    type: video *
packet #:     149       dts:  171171    type: video *
packet #:     150       dts:   93184    type: audio
packet #:     151       dts:   94208    type: audio
packet #:     152       dts:   95232    type: audio
packet #:     153       dts:   96256    type: audio
packet #:     154       dts:   97280    type: audio
packet #:     155       dts:   98304    type: audio
packet #:     156       dts:   99328    type: audio
packet #:     157       dts:  174174    type: video *
packet #:     158       dts:  177177    type: video *
packet #:     159       dts:  180180    type: video *
packet #:     160       dts:  183183    type: video *
packet #:     161       dts:  100352    type: audio
packet #:     162       dts:  101376    type: audio
packet #:     163       dts:  102400    type: audio
packet #:     164       dts:  103424    type: audio
packet #:     165       dts:  104448    type: audio
packet #:     166       dts:  105472    type: audio
packet #:     167       dts:  106496    type: audio
packet #:     168       dts:  186186    type: video *
packet #:     169       dts:  189189    type: video *
packet #:     170       dts:  192192    type: video *
packet #:     171       dts:  195195    type: video *
packet #:     172       dts:  107520    type: audio
packet #:     173       dts:  108544    type: audio
packet #:     174       dts:  109568    type: audio
packet #:     175       dts:  110592    type: audio
packet #:     176       dts:  111616    type: audio
packet #:     177       dts:  112640    type: audio
packet #:     178       dts:  113664    type: audio
packet #:     179       dts:  198198    type: video *
packet #:     180       dts:  201201    type: video *
packet #:     181       dts:  204204    type: video *
packet #:     182       dts:  207207    type: video *
packet #:     183       dts:  114688    type: audio
packet #:     184       dts:  115712    type: audio
packet #:     185       dts:  116736    type: audio
packet #:     186       dts:  117760    type: audio
packet #:     187       dts:  118784    type: audio
packet #:     188       dts:  119808    type: audio
packet #:     189       dts:  120832    type: audio
packet #:     190       dts:  210210    type: video *
packet #:     191       dts:  213213    type: video *
packet #:     192       dts:  216216    type: video *
packet #:     193       dts:  219219    type: video *
packet #:     194       dts:  121856    type: audio
packet #:     195       dts:  122880    type: audio
packet #:     196       dts:  123904    type: audio
packet #:     197       dts:  124928    type: audio
packet #:     198       dts:  125952    type: audio
packet #:     199       dts:  126976    type: audio
packet #:     200       dts:  128000    type: audio
packet #:     201       dts:  222222    type: video *
packet #:     202       dts:  225530    type: video *
packet #:     203       dts:  228533    type: video *
packet #:     204       dts:  231536    type: video *
packet #:     205       dts:  129024    type: audio
packet #:     206       dts:  130048    type: audio
packet #:     207       dts:  131072    type: audio
packet #:     208       dts:  132096    type: audio
packet #:     209       dts:  133120    type: audio
packet #:     210       dts:  134144    type: audio
packet #:     211       dts:  135168    type: audio
packet #:     212       dts:  234539    type: video *
packet #:     213       dts:  237542    type: video *
packet #:     214       dts:  240545    type: video *
packet #:     215       dts:  243548    type: video *
packet #:     216       dts:  136192    type: audio
packet #:     217       dts:  137216    type: audio
packet #:     218       dts:  138240    type: audio
packet #:     219       dts:  139264    type: audio
packet #:     220       dts:  140288    type: audio
packet #:     221       dts:  141312    type: audio
packet #:     222       dts:  142336    type: audio
packet #:     223       dts:  246551    type: video *
packet #:     224       dts:  249554    type: video *
packet #:     225       dts:  252557    type: video *
packet #:     226       dts:  255560    type: video *
packet #:     227       dts:  258563    type: video *
packet #:     228       dts:  261566    type: video *
packet #:     229       dts:  264569    type: video *
packet #:     230       dts:  267572    type: video *
packet #:     231       dts:  143360    type: audio
packet #:     232       dts:  144384    type: audio
packet #:     233       dts:  145408    type: audio
packet #:     234       dts:  146432    type: audio
packet #:     235       dts:  147456    type: audio
packet #:     236       dts:  148480    type: audio
packet #:     237       dts:  149504    type: audio
packet #:     238       dts:  150528    type: audio
packet #:     239       dts:  151552    type: audio
packet #:     240       dts:  152576    type: audio
packet #:     241       dts:  153600    type: audio
packet #:     242       dts:  154624    type: audio
packet #:     243       dts:  155648    type: audio
packet #:     244       dts:  156672    type: audio
packet #:     245       dts:  270575    type: video *
packet #:     246       dts:  273578    type: video *
packet #:     247       dts:  277334    type: video *
packet #:     248       dts:  281087    type: video *
packet #:     249       dts:  157696    type: audio
packet #:     250       dts:  158720    type: audio
packet #:     251       dts:  159744    type: audio
packet #:     252       dts:  160768    type: audio
packet #:     253       dts:  161792    type: audio
packet #:     254       dts:  162816    type: audio
packet #:     255       dts:  163840    type: audio
packet #:     256       dts:  284840    type: video *
packet #:     257       dts:  288593    type: video *
packet #:     258       dts:  291596    type: video *
packet #:     259       dts:  294599    type: video *
packet #:     260       dts:  297602    type: video *
packet #:     261       dts:  300605    type: video *
packet #:     262       dts:  303608    type: video *
packet #:     263       dts:  306611    type: video *
packet #:     264       dts:  164864    type: audio
packet #:     265       dts:  165888    type: audio
packet #:     266       dts:  166912    type: audio
packet #:     267       dts:  167936    type: audio
packet #:     268       dts:  168960    type: audio
packet #:     269       dts:  169984    type: audio
packet #:     270       dts:  171008    type: audio
packet #:     271       dts:  309614    type: video *
packet #:     272       dts:  312617    type: video *
packet #:     273       dts:  315620    type: video *
packet #:     274       dts:  318623    type: video *
packet #:     275       dts:  172032    type: audio
packet #:     276       dts:  173056    type: audio
packet #:     277       dts:  174080    type: audio
packet #:     278       dts:  175104    type: audio
packet #:     279       dts:  176128    type: audio
packet #:     280       dts:  177152    type: audio
packet #:     281       dts:  178176    type: audio
packet #:     282       dts:  321626    type: video *
packet #:     283       dts:  324629    type: video *
packet #:     284       dts:  327632    type: video *
packet #:     285       dts:  330635    type: video *
packet #:     286       dts:  179200    type: audio
packet #:     287       dts:  180224    type: audio
packet #:     288       dts:  181248    type: audio
packet #:     289       dts:  182272    type: audio
packet #:     290       dts:  183296    type: audio
packet #:     291       dts:  184320    type: audio
packet #:     292       dts:  185344    type: audio
packet #:     293       dts:  333638    type: video *
packet #:     294       dts:  336641    type: video *
packet #:     295       dts:  339644    type: video *
packet #:     296       dts:  342647    type: video *
packet #:     297       dts:  186368    type: audio
packet #:     298       dts:  187392    type: audio
packet #:     299       dts:  188416    type: audio
packet #:     300       dts:  189440    type: audio
packet #:     301       dts:  190464    type: audio
packet #:     302       dts:  191488    type: audio
packet #:     303       dts:  192512    type: audio
packet #:     304       dts:  345650    type: video *
packet #:     305       dts:  348653    type: video *
packet #:     306       dts:  351656    type: video *
packet #:     307       dts:  354659    type: video *
packet #:     308       dts:  193536    type: audio
packet #:     309       dts:  194560    type: audio
packet #:     310       dts:  195584    type: audio
packet #:     311       dts:  196608    type: audio
packet #:     312       dts:  197632    type: audio
packet #:     313       dts:  198656    type: audio
packet #:     314       dts:  199680    type: audio
packet #:     315       dts:  357662    type: video *
packet #:     316       dts:  360665    type: video *
packet #:     317       dts:  363668    type: video *
packet #:     318       dts:  366671    type: video *
packet #:     319       dts:  200704    type: audio
packet #:     320       dts:  201728    type: audio
packet #:     321       dts:  202752    type: audio
packet #:     322       dts:  203776    type: audio
packet #:     323       dts:  204800    type: audio
packet #:     324       dts:  205824    type: audio
packet #:     325       dts:  206848    type: audio
packet #:     326       dts:  369674    type: video *
packet #:     327       dts:  372677    type: video *
packet #:     328       dts:  375680    type: video *
packet #:     329       dts:  378683    type: video *
packet #:     330       dts:  207872    type: audio
packet #:     331       dts:  208896    type: audio
packet #:     332       dts:  209920    type: audio
packet #:     333       dts:  210944    type: audio
packet #:     334       dts:  211968    type: audio
packet #:     335       dts:  212992    type: audio
packet #:     336       dts:  214016    type: audio
packet #:     337       dts:  381686    type: video *
packet #:     338       dts:  384689    type: video *
packet #:     339       dts:  387692    type: video *
packet #:     340       dts:  390695    type: video *
packet #:     341       dts:  215040    type: audio
packet #:     342       dts:  216064    type: audio
packet #:     343       dts:  217088    type: audio
packet #:     344       dts:  218112    type: audio
packet #:     345       dts:  219136    type: audio
packet #:     346       dts:  220160    type: audio
packet #:     347       dts:  221184    type: audio
packet #:     348       dts:  393698    type: video *
packet #:     349       dts:  397454    type: video *
packet #:     350       dts:  401207    type: video *
packet #:     351       dts:  404960    type: video *
packet #:     352       dts:  222208    type: audio
packet #:     353       dts:  223232    type: audio
packet #:     354       dts:  224256    type: audio
packet #:     355       dts:  225280    type: audio
packet #:     356       dts:  226304    type: audio
packet #:     357       dts:  227328    type: audio
packet #:     358       dts:  228352    type: audio
packet #:     359       dts:  408713    type: video *
packet #:     360       dts:  411716    type: video *
packet #:     361       dts:  414719    type: video *
packet #:     362       dts:  417722    type: video *
packet #:     363       dts:  229376    type: audio
packet #:     364       dts:  230400    type: audio
packet #:     365       dts:  231424    type: audio
packet #:     366       dts:  232448    type: audio
packet #:     367       dts:  233472    type: audio
packet #:     368       dts:  234496    type: audio
packet #:     369       dts:  235520    type: audio
packet #:     370       dts:  420725    type: video *
packet #:     371       dts:  423728    type: video *
packet #:     372       dts:  427484    type: video *
packet #:     373       dts:  431237    type: video *
packet #:     374       dts:  236544    type: audio
packet #:     375       dts:  237568    type: audio
packet #:     376       dts:  238592    type: audio
packet #:     377       dts:  239616    type: audio
packet #:     378       dts:  240640    type: audio
packet #:     379       dts:  241664    type: audio
packet #:     380       dts:  242688    type: audio
packet #:     381       dts:  434990    type: video *
packet #:     382       dts:  438743    type: video *
packet #:     383       dts:  441746    type: video *
packet #:     384       dts:  444749    type: video *
packet #:     385       dts:  243712    type: audio
packet #:     386       dts:  244736    type: audio
packet #:     387       dts:  245760    type: audio
packet #:     388       dts:  246784    type: audio
packet #:     389       dts:  247808    type: audio
packet #:     390       dts:  248832    type: audio
packet #:     391       dts:  249856    type: audio
packet #:     392       dts:  447752    type: video *
packet #:     393       dts:  450755    type: video *
packet #:     394       dts:  453758    type: video *
packet #:     395       dts:  457514    type: video *
packet #:     396       dts:  250880    type: audio
packet #:     397       dts:  251904    type: audio
packet #:     398       dts:  252928    type: audio
packet #:     399       dts:  253952    type: audio
packet #:     400       dts:  254976    type: audio
packet #:     401       dts:  256000    type: audio
packet #:     402       dts:  257024    type: audio
packet #:     403       dts:  461267    type: video *
packet #:     404       dts:  465020    type: video *
packet #:     405       dts:  468773    type: video *
packet #:     406       dts:  471776    type: video *
packet #:     407       dts:  258048    type: audio
packet #:     408       dts:  259072    type: audio
packet #:     409       dts:  260096    type: audio
packet #:     410       dts:  261120    type: audio
packet #:     411       dts:  262144    type: audio
packet #:     412       dts:  263168    type: audio
packet #:     413       dts:  264192    type: audio
packet #:     414       dts:  474779    type: video *
packet #:     415       dts:  477782    type: video *
packet #:     416       dts:  480785    type: video *
packet #:     417       dts:  483788    type: video *
packet #:     418       dts:  487544    type: video *
packet #:     419       dts:  491297    type: video *
packet #:     420       dts:  495050    type: video *
packet #:     421       dts:  498803    type: video *
packet #:     422       dts:  265216    type: audio
packet #:     423       dts:  266240    type: audio
packet #:     424       dts:  267264    type: audio
packet #:     425       dts:  268288    type: audio
packet #:     426       dts:  269312    type: audio
packet #:     427       dts:  270336    type: audio
packet #:     428       dts:  271360    type: audio
packet #:     429       dts:  272384    type: audio
packet #:     430       dts:  273408    type: audio
packet #:     431       dts:  274432    type: audio
packet #:     432       dts:  275456    type: audio
packet #:     433       dts:  276480    type: audio
packet #:     434       dts:  277504    type: audio
packet #:     435       dts:  278528    type: audio
packet #:     436       dts:  502559    type: video *
packet #:     437       dts:  506312    type: video *
packet #:     438       dts:  510065    type: video *
packet #:     439       dts:  513818    type: video *
packet #:     440       dts:  279552    type: audio
packet #:     441       dts:  280576    type: audio
packet #:     442       dts:  281600    type: audio
packet #:     443       dts:  282624    type: audio
packet #:     444       dts:  283648    type: audio
packet #:     445       dts:  284672    type: audio
packet #:     446       dts:  285696    type: audio
packet #:     447       dts:  286720    type: audio
packet #:     448       dts:  287744    type: audio
packet #:     449       dts:  288768    type: audio
packet #:     450       dts:  289792    type: audio
packet #:     451       dts:  290816    type: audio
packet #:     452       dts:  291840    type: audio
packet #:     453       dts:  292864    type: audio
packet #:     454       dts:  517574    type: video *
packet #:     455       dts:  521327    type: video *
packet #:     456       dts:  525080    type: video *
packet #:     457       dts:  528833    type: video *
packet #:     458       dts:  532589    type: video *
packet #:     459       dts:  536342    type: video *
packet #:     460       dts:  540095    type: video *
packet #:     461       dts:  543848    type: video *
packet #:     462       dts:  293888    type: audio
packet #:     463       dts:  294912    type: audio
packet #:     464       dts:  295936    type: audio
packet #:     465       dts:  296960    type: audio
packet #:     466       dts:  297984    type: audio
packet #:     467       dts:  299008    type: audio
packet #:     468       dts:  300032    type: audio
packet #:     469       dts:  301056    type: audio
packet #:     470       dts:  302080    type: audio
packet #:     471       dts:  303104    type: audio
packet #:     472       dts:  304128    type: audio
packet #:     473       dts:  305152    type: audio
packet #:     474       dts:  306176    type: audio
packet #:     475       dts:  307200    type: audio
packet #:     476       dts:  547604    type: video *
packet #:     477       dts:  551357    type: video *
packet #:     478       dts:  555110    type: video *
packet #:     479       dts:  558863    type: video *
packet #:     480       dts:  562619    type: video *
packet #:     481       dts:  566372    type: video *
packet #:     482       dts:  570125    type: video *
packet #:     483       dts:  573878    type: video *
packet #:     484       dts:  308224    type: audio
packet #:     485       dts:  309248    type: audio
packet #:     486       dts:  310272    type: audio
packet #:     487       dts:  311296    type: audio
packet #:     488       dts:  312320    type: audio
packet #:     489       dts:  313344    type: audio
packet #:     490       dts:  314368    type: audio
packet #:     491       dts:  315392    type: audio
packet #:     492       dts:  316416    type: audio
packet #:     493       dts:  317440    type: audio
packet #:     494       dts:  318464    type: audio
packet #:     495       dts:  319488    type: audio
packet #:     496       dts:  320512    type: audio
packet #:     497       dts:  321536    type: audio
packet #:     498       dts:  577634    type: video *
packet #:     499       dts:  581387    type: video *
packet #:     500       dts:  585140    type: video *
packet #:     501       dts:  588893    type: video *
packet #:     502       dts:  592649    type: video *
packet #:     503       dts:  596402    type: video *
packet #:     504       dts:  600155    type: video *
Got video frame at time 592649
}}}

'''However, if I change `av_seek_frame()` to use `stream_index = 0`, I still get a seek result of 0 (indicating success) but I get the following (desired) output''':
{{{
packet #:       0       dts:       0    type: audio
packet #:       1       dts:    1024    type: audio
packet #:       2       dts:    2048    type: audio
packet #:       3       dts:    3072    type: audio
packet #:       4       dts:    4096    type: audio
packet #:       5       dts:    5120    type: audio
packet #:       6       dts:    6144    type: audio
packet #:       7       dts:   -6006    type: video *
packet #:       8       dts:   -3003    type: video *
packet #:       9       dts:       0    type: video *
packet #:      10       dts:    3003    type: video *
packet #:      11       dts:    7168    type: audio
packet #:      12       dts:    8192    type: audio
packet #:      13       dts:    9216    type: audio
packet #:      14       dts:   10240    type: audio
packet #:      15       dts:   11264    type: audio
packet #:      16       dts:   12288    type: audio
packet #:      17       dts:   13312    type: audio
packet #:      18       dts:    6006    type: video *
Got video frame at time 0
}}}

'''ffprobe's output for the first several packets, showing that a video frame exists and how the two video packets with DTS = -6006 and -3003 are skipped''':
{{{
ffprobe -show_packets SIMPSONS_D2-CallOfTheSimpsons.m4v
ffprobe version N-45279-g1a104bf Copyright (c) 2007-2012 the FFmpeg developers
  built on Oct 10 2012 19:19:16 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads --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. 74.100 / 51. 74.100
  libavcodec     54. 65.100 / 54. 65.100
  libavformat    54. 31.100 / 54. 31.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.102 /  3. 19.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'SIMPSONS_D2-CallOfTheSimpsons.m4v':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    encoder         : HandBrake 0.9.5 2011010300
  Duration: 00:23:06.51, start: 0.000000, bitrate: 1944 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
720x480 [SAR 118:135 DAR 59:45], 1774 kb/s, 25.50 fps, 29.97 tbr, 90k
tbn, 180k tbc
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz,
stereo, s16, 164 kb/s
    Stream #0:2(und): Subtitle: mov_text (text / 0x74786574)
[PACKET]
codec_type=audio
stream_index=1
pts=0
pts_time=0.000000
dts=0
dts_time=0.000000
duration=1024
duration_time=0.021333
convergence_duration=N/A
convergence_duration_time=N/A
size=6
pos=168
flags=K
[/PACKET]
[PACKET]
codec_type=audio
stream_index=1
pts=1024
pts_time=0.021333
dts=1024
dts_time=0.021333
duration=1024
duration_time=0.021333
convergence_duration=N/A
convergence_duration_time=N/A
size=21
pos=174
flags=K
[/PACKET]
[PACKET]
codec_type=audio
stream_index=1
pts=2048
pts_time=0.042667
dts=2048
dts_time=0.042667
duration=1024
duration_time=0.021333
convergence_duration=N/A
convergence_duration_time=N/A
size=10
pos=195
flags=K
[/PACKET]
[PACKET]
codec_type=audio
stream_index=1
pts=3072
pts_time=0.064000
dts=3072
dts_time=0.064000
duration=1024
duration_time=0.021333
convergence_duration=N/A
convergence_duration_time=N/A
size=10
pos=205
flags=K
[/PACKET]
[PACKET]
codec_type=audio
stream_index=1
pts=4096
pts_time=0.085333
dts=4096
dts_time=0.085333
duration=1024
duration_time=0.021333
convergence_duration=N/A
convergence_duration_time=N/A
size=10
pos=215
flags=K
[/PACKET]
[PACKET]
codec_type=audio
stream_index=1
pts=5120
pts_time=0.106667
dts=5120
dts_time=0.106667
duration=1024
duration_time=0.021333
convergence_duration=N/A
convergence_duration_time=N/A
size=10
pos=225
flags=K
[/PACKET]
[PACKET]
codec_type=audio
stream_index=1
pts=6144
pts_time=0.128000
dts=6144
dts_time=0.128000
duration=1024
duration_time=0.021333
convergence_duration=N/A
convergence_duration_time=N/A
size=10
pos=235
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=0
pts_time=0.000000
dts=-6006
dts_time=-0.066733
duration=N/A
duration_time=N/A
convergence_duration=N/A
convergence_duration_time=N/A
size=36509
pos=245
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=3003
pts_time=0.033367
dts=-3003
dts_time=-0.033367
duration=N/A
duration_time=N/A
convergence_duration=N/A
convergence_duration_time=N/A
size=35
pos=36754
flags=_
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=9009
pts_time=0.100100
dts=0
dts_time=0.000000
duration=N/A
duration_time=N/A
convergence_duration=N/A
convergence_duration_time=N/A
size=32245
pos=36789
flags=_
[/PACKET]
}}}"	mbradshaw
git-master	1891	Problem transcoding realmedia file	avformat	git-master	defect	open	2012-11-06T11:45:22+01:00	2013-04-11T17:57:12+02:00	"Summary of the bug:
When trying to convert a certain file, ffmpeg does not terminate. Seems to be related to the input file, since no output formats i have tried works.

How to reproduce:
{{{
This is the command I am trying to execute:
$ ffmpeg.exe -xerror -i ""438bdca27d59ed83f91cb8dd9dc127cd.rm"" -r 30 -vcodec mpeg1video -b:v 200k -acodec libvorbis -ac 2 -ar 48000 -ab 128k -y ""test.mpg""

This is the output of ""ffmpeg -v 9 -loglevel 99 -i 438bdca27d59ed83f91cb8dd9dc127cd.rm"":
$ ffmpeg -v 9 -loglevel 99 -i 438bdca27d59ed83f91cb8dd9dc127cd.rm
ffmpeg version N-41668-g564bb24 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 17 2012 20:18:05 with gcc 4.6.3
  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 --ena  libavutil      51. 58.100 / 51. 58.100
  libavcodec     54. 25.100 / 54. 25.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 81.100 /  2. 81.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[rm @ 00000000021df300] Format rm probed with size=2048 and score=100
[rm @ 00000000021df300] Unsupported stream type 00000187
[rm @ 00000000021df300] Unsupported stream type 00000431
[rm @ 00000000021df300] Unsupported stream type 0000028f
[rm @ 00000000021df300] File position before avformat_find_stream_info() is 3953
[cook @ 000000000034da60] codecdata_length=8
[cook @ 000000000034da60] subpacket[0].cookversion=1000001
[cook @ 000000000034da60] MONO
[cook @ 000000000034da60] sqvh VLC init
[cook @ 000000000034da60] VLC tables initialized.
[cook @ 000000000034da60] MDCT initialized, order = 11.
[rm @ 00000000021df300] parser not found for codec rv20, packets or times may be invalid.
    Last message repeated 2 times
[cook @ 0000000000365bc0] codecdata_length=8
[cook @ 0000000000365bc0] subpacket[0].cookversion=1000001
[cook @ 0000000000365bc0] MONO
[cook @ 0000000000365bc0] sqvh VLC init
[cook @ 0000000000365bc0] VLC tables initialized.
[cook @ 0000000000365bc0] MDCT initialized, order = 11.
[cook @ 000000000036e240] codecdata_length=8
[cook @ 000000000036e240] subpacket[0].cookversion=1000001
[cook @ 000000000036e240] MONO
[cook @ 000000000036e240] sqvh VLC init
[cook @ 000000000036e240] VLC tables initialized.
[cook @ 000000000036e240] MDCT initialized, order = 11.
[rm @ 00000000021df300] parser not found for codec rv20, packets or times may be invalid.
    Last message repeated 4 times
[rm @ 00000000021df300] max_analyze_duration 5000000 reached at 5000000
[cook @ 000000000034da60] Deallocating memory.
[cook @ 000000000034da60] Memory deallocated.
[cook @ 0000000000365bc0] Deallocating memory.
[cook @ 0000000000365bc0] Memory deallocated.
[cook @ 000000000036e240] Deallocating memory.
[cook @ 000000000036e240] Memory deallocated.
[rm @ 00000000021df300] File position after avformat_find_stream_info() is 163859
Input #0, rm, from '438bdca27d59ed83f91cb8dd9dc127cd.rm':
  Metadata:
    title           : Title
    author          : Author
    copyright       : (c)2000
    comment         :
  Duration: 00:01:03.71, start: 0.000000, bitrate: 649 kb/s
    Stream #0:0, 0, 1/1000: Data: none
    Stream #0:1, 0, 1/1000: Data: none
    Stream #0:2, 0, 1/1000: Data: none
    Stream #0:3, 0, 1/1000: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, flt, 32 kb/s
    Stream #0:4, 0, 1/1000: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 1/1000, 187 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
    Stream #0:5, 0, 1/1000: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 1/1000, 132 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
    Stream #0:6, 0, 1/1000: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 1/1000, 68 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
    Stream #0:7, 196, 1/1000: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, flt, 32 kb/s
    Stream #0:8, 0, 1/1000: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, flt, 32 kb/s
    Stream #0:9, 75, 1/1000: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 1/1000, 187 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
    Stream #0:10, 0, 1/1000: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 1/1000, 187 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
    Stream #0:11, 0, 1/1000: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 1/1000, 187 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
    Stream #0:12, 0, 1/1000: Video: rv20 (RV20 / 0x30325652), yuv420p, 320x240, 1/1000, 68 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
At least one output file must be specified
[AVIOContext @ 00000000021df840] Statistics: 200630 bytes read, 2 seeks
}}}

PS.
I work at a company (www.netclean.com) that makes software used to analyzes data from seized computers in child sexual abuse investigations, and we use ffmpeg to convert video files. We sometimes test our software on legal porn to test functionality such as nudity detection etc. This is why the file I am trying to convert is porn."	eklann
git-master	1896	configure --enable-bzlib doesn't cause configure to fail if there's no bzlib	build system	git-master	defect	new	2012-11-07T19:49:04+01:00	2012-11-08T20:57:04+01:00	"see the title, 
$ ./configure --enable-bzlib

lists this:

...
bzlib enabled               no
...

then happily returns true.
Just making a note of it here.
Thanks!"	rogerdpack
git-master	1897	arbitrary maxval for netpbm image formats (pam,pnm,pgm)	avcodec	git-master	defect	open	2012-11-07T20:58:39+01:00	2012-11-07T23:42:42+01:00	"Files that are created with pamdepth with maxval argument as 512 for example (from original 255) decodes as black.

Is there some nice way to support this instead of doing insane calculations as it is currently done for grayscale in pnmdec.c (see upgrade arg) ?"	richardpl
git-master	1900	h264: memleak with threads > 1	avcodec	git-master	defect	open	2012-11-08T05:08:10+01:00	2013-03-02T20:54:21+01:00	"http://www.datafilehost.com/download-d3ea3b83.html

{{{
C:\>ffmpeg -i h264.avi
ffmpeg version N-46283-g1475815 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov  2 2012 02:31:20 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52.  1.100 / 52.  1.100
  libavcodec     54. 70.100 / 54. 70.100
  libavformat    54. 35.100 / 54. 35.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 21.106 /  3. 21.106
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[h264 @ 0x1edcac0] missing picture in access unit with size 1941
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 2377
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 2090
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 2305
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 3280
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 2963
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 2624
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] illegal log2_max_frame_num 50
[h264 @ 0x1edcac0] missing picture in access unit with size 2937
[h264 @ 0x1edcac0] illegal log2_max_frame_num 50
    Last message repeated 1 times
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] sps_id out of range
[h264 @ 0x1edcac0] missing picture in access unit with size 4221
[h264 @ 0x1edcac0] sps_id out of range
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] non-existing PPS 3 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 4270
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 3875
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] slice type too large (2) at 0 0
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] sps_id out of range
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 4394
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 4743
[h264 @ 0x1edcac0] Partitioned H.264 support is incomplete
[h264 @ 0x1edcac0] missing picture in access unit with size 5338
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 6106
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] sps_id (32) out of range
[h264 @ 0x1edcac0] missing picture in access unit with size 5938
[h264 @ 0x1edcac0] sps_id (32) out of range
    Last message repeated 1 times
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 5345
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] non-existing PPS 1 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] too many reference frames
    Last message repeated 1 times
[h264 @ 0x1edcac0] non-existing PPS 0 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] non-existing PPS 0 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] sps_id out of range
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 5498
[h264 @ 0x1edcac0] Partitioned H.264 support is incomplete
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] non-existing PPS 10 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] non-existing PPS 0 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] Partitioned H.264 support is incomplete
[h264 @ 0x1edcac0] sps_id out of range
[h264 @ 0x1edcac0] missing picture in access unit with size 5630
[h264 @ 0x1edcac0] sps_id out of range
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 5714
[h264 @ 0x1edcac0] non-existing PPS 2 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] sps_id out of range
    Last message repeated 1 times
[h264 @ 0x1edcac0] missing picture in access unit with size 5525
[h264 @ 0x1edcac0] sps_id out of range
    Last message repeated 1 times
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] non-existing PPS 0 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] non-existing PPS 0 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] slice type too large (2) at 0 0
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] missing picture in access unit with size 5623
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] FMO not supported
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] FMO not supported
[h264 @ 0x1edcac0] non-existing PPS 227 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] non-existing PPS 0 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] get_buffer() failed (-12 0 0)
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] sps_id out of range
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] non-existing PPS 0 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] illegal POC type 7
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] illegal POC type 7
    Last message repeated 1 times
[h264 @ 0x1edcac0] slice type too large (3) at 0 0
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] non-existing PPS 3 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] non-existing PPS 6 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] non-existing PPS 13 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] non-existing PPS 0 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] non-existing PPS 10 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] Partitioned H.264 support is incomplete
[h264 @ 0x1edcac0] missing picture in access unit with size 5668
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] sps_id (32) out of range
[h264 @ 0x1edcac0] missing picture in access unit with size 5753
[h264 @ 0x1edcac0] sps_id (32) out of range
    Last message repeated 1 times
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 5903
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] non-existing PPS 6 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] non-existing PPS referenced
[h264 @ 0x1edcac0] non-existing PPS 0 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] non-existing PPS 0 referenced
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] missing picture in access unit with size 5680
[h264 @ 0x1edcac0] no frame!
[h264 @ 0x1edcac0] get_buffer() failed (-12 0 0)
[h264 @ 0x1edcac0] decode_slice_header error
[h264 @ 0x1edcac0] no frame!
Input #0, avi, from 'h264.avi':
  Duration: 00:00:12.64, start: 0.000000, bitrate: 788 kb/s
    Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 19968x3808, 12.33 fps
, 23.98 tbr, 23.97 tbn, 47.94 tbc
At least one output file must be specified
}}}

if I block mem request from ffmpeg I get crash

{{{
(gdb) r -i h264.avi
Starting program: d:\mingw\msys\1.0\ffmpeg-head-4f92d31\ffmpeg_g.exe -i h264.avi

[New Thread 200.0x70c]
ffmpeg version 0.11.1.git-4f92d31 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 28 2012 14:56:41 with gcc 4.6.1 (GCC)
  configuration: --disable-ffprobe --disable-ffplay --enable-gpl
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 54.100 / 54. 54.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 13.101 /  3. 13.101
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[h264 @ 04490920] missing picture in access unit with size 1941
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 2377
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 2090
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 2305
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 3280
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 2963
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 2624
[h264 @ 04490920] no frame!
[h264 @ 04490920] illegal log2_max_frame_num 50
[h264 @ 04490920] missing picture in access unit with size 2937
[h264 @ 04490920] illegal log2_max_frame_num 50
    Last message repeated 1 times
[h264 @ 04490920] no frame!
[h264 @ 04490920] sps_id out of range
[h264 @ 04490920] missing picture in access unit with size 4221
[h264 @ 04490920] sps_id out of range
[h264 @ 04490920] no frame!
[h264 @ 04490920] non-existing PPS referenced
[h264 @ 04490920] non-existing PPS 3 referenced
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 4270
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 3875
[h264 @ 04490920] no frame!
[h264 @ 04490920] non-existing PPS referenced
[h264 @ 04490920] slice type too large (2) at 0 0
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] sps_id out of range
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 4394
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 4743
[h264 @ 04490920] Partitioned H.264 support is incomplete
[h264 @ 04490920] missing picture in access unit with size 5338
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 6106
[h264 @ 04490920] no frame!
[h264 @ 04490920] sps_id (32) out of range
[h264 @ 04490920] missing picture in access unit with size 5938
[h264 @ 04490920] sps_id (32) out of range
    Last message repeated 1 times
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 5345
[h264 @ 04490920] no frame!
[h264 @ 04490920] non-existing PPS referenced
[h264 @ 04490920] non-existing PPS 1 referenced
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] too many reference frames
    Last message repeated 1 times
[h264 @ 04490920] non-existing PPS 0 referenced
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] non-existing PPS 0 referenced
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] sps_id out of range
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 5498
[h264 @ 04490920] Partitioned H.264 support is incomplete
[h264 @ 04490920] non-existing PPS referenced
[h264 @ 04490920] non-existing PPS 10 referenced
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] no frame!
[h264 @ 04490920] non-existing PPS referenced
[h264 @ 04490920] non-existing PPS 0 referenced
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] Partitioned H.264 support is incomplete
[h264 @ 04490920] sps_id out of range
[h264 @ 04490920] missing picture in access unit with size 5630
[h264 @ 04490920] sps_id out of range
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 5714
[h264 @ 04490920] non-existing PPS 2 referenced
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] no frame!
[h264 @ 04490920] sps_id out of range
    Last message repeated 1 times
[h264 @ 04490920] missing picture in access unit with size 5525
[h264 @ 04490920] sps_id out of range
    Last message repeated 1 times
[h264 @ 04490920] no frame!
[h264 @ 04490920] non-existing PPS referenced
[h264 @ 04490920] non-existing PPS 0 referenced
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] non-existing PPS 0 referenced
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] no frame!
[h264 @ 04490920] non-existing PPS referenced
[h264 @ 04490920] slice type too large (2) at 0 0
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] no frame!
[h264 @ 04490920] missing picture in access unit with size 5623
[h264 @ 04490920] no frame!
[h264 @ 04490920] FMO not supported
[h264 @ 04490920] non-existing PPS referenced
[h264 @ 04490920] FMO not supported
[h264 @ 04490920] non-existing PPS 227 referenced
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] no frame!
[h264 @ 04490920] non-existing PPS referenced
[h264 @ 04490920] non-existing PPS 0 referenced
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] get_buffer() failed (-12 0 00000000)
[h264 @ 04490920] decode_slice_header error
[h264 @ 04490920] sps_id out of range
[h264 @ 04490920] concealing 297024 DC, 297024 AC, 297024 MV errors in P frame

Program received signal SIGSEGV, Segmentation fault.
0x00b553a8 in guess_dc (s=0x44efe80, dc=0x4be13c4, w=2496, h=476,
    stride=2497, is_luma=1) at libavcodec/error_resilience.c:197
197                 col [b_x + b_y*stride][1]= color;
(gdb) bt
#0  0x00b553a8 in guess_dc (s=0x44efe80, dc=0x4be13c4, w=2496, h=476,
    stride=2497, is_luma=1) at libavcodec/error_resilience.c:197
#1  0x008ed659 in ff_er_frame_end (s=0x44efe80)
    at libavcodec/error_resilience.c:1249
#2  0x0064818c in field_end (h=0x44efe80, in_setup=<optimized out>)
    at libavcodec/h264.c:2283
#3  0x00664f26 in decode_frame (avctx=0x4490920, data=0x22f5e0,
    data_size=0x22f7d8, avpkt=0x22f558) at libavcodec/h264.c:4139
#4  0x0055848b in avcodec_decode_video2 (avctx=0x4490920, picture=0x22f5e0,
    got_picture_ptr=0x22f7d8, avpkt=0x22f770) at libavcodec/utils.c:1512
#5  0x0047bbf2 in try_decode_frame (st=0x43adb40, avpkt=<optimized out>,
    options=<optimized out>) at libavformat/utils.c:2377
#6  0x004839c0 in avformat_find_stream_info (ic=0x43ad4e0, options=0x43a2740)
    at libavformat/utils.c:2749
#7  0x004056d7 in opt_input_file (optctx=0x22fd68, opt=0x43a2924 ""i"",
    filename=<optimized out>) at ffmpeg_opt.c:770
#8  0x00415467 in parse_option (optctx=0x22fd68, opt=<optimized out>,
    arg=0x43a2926 ""h264.avi"", options=0xb8caa0) at cmdutils.c:320
#9  0x004156d6 in parse_options (optctx=0x22fd68, argc=3,
    argv=<optimized out>, options=0xb8caa0,
    parse_arg_function=0x40616c <opt_output_file>) at cmdutils.c:353
#10 0x00b1a042 in main (argc=3, argv=<optimized out>) at ffmpeg.c:3126
(gdb)
}}}"	ami_stuff
git-master	1901	cavs artefacts	undetermined	git-master	defect	open	2012-11-09T09:32:24+01:00	2012-11-09T09:58:31+01:00	"hi all,
   i found a ffmpeg a bug, with play chinese cavs stream , there is video flicker strongly.

"	ligw_hf
git-master	1911	ffplay fails to seek	undetermined	git-master	defect	open	2012-11-12T22:27:32+01:00	2012-11-12T22:48:30+01:00	"I wanted to investigate ticket #296, but found out that ffplay is unable to seek in the attached file to certain durations while ffmpeg have no problem to do so (ffmpeg -ss 10 -i keyframe_every_100_frames.avi out.avi).

(the same problem is reproducible while seeking with the mouse).

http://www.datafilehost.com/download-1286e616.html

{{{
C:\>ffplay -noframedrop -ss 10 keyframe_every_100_frames.avi
ffplay version N-46469-gc995644 Copyright (c) 2003-2012 the FFmpeg developers
  built on Nov  5 2012 17:54:28 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runt
ime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass -
-enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enab
le-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libo
pus --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
  libavutil      52.  5.100 / 52.  5.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 21.106 /  3. 21.106
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[mpeg4 @ 02af60a0] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 'keyframe_every_100_frames.avi':
  Duration: 00:01:33.30, start: 0.000000, bitrate: 268 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv
420p, 352x240 [SAR 1:1 DAR 22:15], 20 tbr, 20 tbn, 20 tbc
[mpeg4 @ 02af60a0] Invalid and inefficient vfw-avi packed B frames detected
    Last message repeated 1 times
Frame changed from size:0x0 to size:352x240
   2.19 A-V:  0.000 fd=   0 aq=    0KB vq=   39KB sq=    0B f=0/0
}}}"	ami_stuff
git-master	1915	mjpeg: fix/support morgan not interleaved	avcodec	git-master	defect	reopened	2012-11-13T18:08:16+01:00	2012-12-03T11:03:11+01:00	"decodes ok with ""-f mjpeg""

{{{
C:\>ffmpeg -i not_interleaved.avi out.avi
ffmpeg version N-46616-g3a7f008 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 12 2012 02:22:44 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52.  5.100 / 52.  5.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 22.101 /  3. 22.101
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Input #0, avi, from 'not_interleaved.avi':
  Duration: 00:00:00.10, start: 0.000000, bitrate: 29015 kb/s
    Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 1024x768, 10 tbr, 1
0 tbn, 10 tbc
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.36.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1024x768, q=2-31, 20
0 kb/s, 10 tbn, 10 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> mpeg4)
Press [q] to stop, [?] for help
frame=    0 fps=0.0 q=0.0 Lsize=       6kB time=00:00:00.00 bitrate=   0.0kbits/
s
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters i
f used)
}}}


{{{
C:\>ffmpeg -f mjpeg -i not_interleaved.avi out.avi
ffmpeg version N-46616-g3a7f008 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 12 2012 02:22:44 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52.  5.100 / 52.  5.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 22.101 /  3. 22.101
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[mjpeg @ 0x1edc3a0] Estimating duration from bitrate, this may be inaccurate
Input #0, mjpeg, from 'not_interleaved.avi':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj422p, 1024x384, 25 tbr, 1200k tbn, 25 tbc
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.36.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1024x384, q=2-31, 20
0 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> mpeg4)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=5.6 Lsize=      47kB time=00:00:00.04 bitrate=9706.4kbits/
s
video:42kB audio:0kB subtitle:0 global headers:0kB muxing overhead 13.323682%
}}}

"	ami_stuff
git-master	1927	ffplay loop triggers image corruption with cut realvideo sample	undetermined	git-master	defect	open	2012-11-17T22:15:33+01:00	2012-11-17T22:48:48+01:00	"After the resolution changes in the attached file which is from ticket #1507, any attempt to seek to absolute zero will cause distortion. For the video stream, the first index entry timestamp is zero and the first_dts is zero. Any value greater than zero and it works. The reason for the distortion is because the packets contain the old resolution values, as does the AVFrame and AVCodecContext.

You can seek to zero fine before the resolution change.

The best way to show you the problem is to make ffplay loop. This is because using left arrow does not go back far enough in time to produce the problem and by allowing ffplay to loop it will seek to zero or to the very beginning of playback.

This is not an ffplay problem as I can reproduce it in my own code.

After the loop back to zero it will correct itself and get the resolution change about 6/7 seconds into playback.
{{{
ffplay -loop 10 Wrong_aspect_after_resolution_change.rmvb
ffplay version N-46469-gc995644 Copyright (c) 2003-2012 the FFmpeg developers
  built on Nov  5 2012 17:56:17 with gcc 4.7.2 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3
 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib
--enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-
amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut -
-enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --
enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enab
le-libxavs --enable-libxvid --enable-zlib
  libavutil      52.  5.100 / 52.  5.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 21.106 /  3. 21.106
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Input #0, rm, from 'Wrong_aspect_after_resolution_change.rmvb':
  Metadata:
    Audiences       : Easy RealMedia Tool's Audience;
    audioMode       : music
    Creation Date   : 3/22/2005 10:25:31
    Description     : +ú+++·+˜ú¦¦+-+¦¦+«¦¼+¦íó++-++·+¦+++Ñ-¬-°ú¼+÷¦¬+÷+-+¦-++¦+˜
-º
                    : -¦íó++-˜+«++íú¦+¦t+¦¦µ+¿¦T+¡¦t+¦¦½-+-·+-íú++¦++T+»+=+÷+-¦+
¦+¦½+¬¦
    Email           : rick@redcheek.net
    Generated By    : Easy RealMedia Tools V1.8
    HomeWeb         : http://redcheek.net
    Keywords        :
    Modification Date: 3/22/2005 10:25:31
    videoMode       : sharp
    File ID         : 545932b0-2885-caea-bdd7-d268c869a693
    title           : [YY]0419.¦++-+¦¦¦_¦¦¦·+t+¦+-+n-O-¦f(+-)- -++-¦8 +¦-([YY]¦ñ
+˜-- YYTvO+¦+˜
    author          : feng
    copyright       : YY@2005
    comment         :
  Duration: 00:43:16.92, start: 0.000000, bitrate: 7 kb/s
    Stream #0:0: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, stereo, fltp, 44 kb/s
    Stream #0:1: Video: rv40 (RV40 / 0x30345652), yuv420p, 480x360, 391 kb/s, 23
 fps, 23 tbr, 1k tbn, 1k tbc
Frame changed from size:0x0 to size:480x360  97KB sq=    0B f=0/0
  15.74 A-V: -0.017 f[rv40 @ 0119d800] d= Changing dimensions to 480x288
  15.82 A-V: -0.021 fd=   7 aq=    1KB vq=   28KB sq=   Frame changed from size:
480x360 to size:480x288
  39.3[rv40 @ 0117dc20] 6 AFirst slice header is incorrectB f=0/0
[rv40 @ 0119d800] warning: first frame is no keyframe    0B f=0/0
   9.76 A-V: -0.004[rv40 @ 0119d800]  fdChanging dimensions to 480x360
   9.83 A-V: -0.008 fd=  60 aq=    1KB vq=   4Frame changed from size:480x288 to
 size:480x360
  12.34 A-V:  0.086 fd=  62 aq=    1KB vq=   17KB sq=    0B f=0/1
}}}"	DonMoir
git-master	1933	ffmpeg prores artifacts	undetermined	git-master	defect	new	2012-11-20T10:22:35+01:00	2012-11-22T14:47:08+01:00	"The ProRes codecs are not working correctly with the image in attachment. The output quicktime has some artifacts in the gray square (see attachment zoomed part of image - out.tif)

ffmpeg -i test.tif -vcodec prores -profile 1 output.mov

ffmpeg 2012-11-05 (git-c995644-win64)
built on win64, but also on OS X 10.6
"	rivierakid
git-master	1936	iff 8svx: autoexit works incorrectly	FFplay	git-master	defect	open	2012-11-20T14:06:55+01:00	2013-01-13T19:17:16+01:00	"http://samples.mplayerhq.hu/8svx/descargmp3.8svx

{{{
C:\>ffplay -autoexit descargmp3.8svx
ffplay version N-46726-g2f74f8d Copyright (c) 2003-2012 the FFmpeg developers
  built on Nov 13 2012 19:29:51 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runt
ime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass -
-enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enab
le-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libo
pus --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
  libavutil      52.  6.100 / 52.  6.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 23.100 /  3. 23.100
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[iff @ 02af0060] Estimating duration from bitrate, this may be inaccurate
Input #0, iff, from 'descargmp3.8svx':
  Metadata:
    title           : descargmp3.8svx
    comment         : Audition 4
  Duration: 00:00:03.16, bitrate: 176 kb/s
    Stream #0:0: Audio: pcm_s8_planar (8SVX / 0x58565338), 22095 Hz, mono, u8p,
176 kb/s
   0.09 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0
}}}"	ami_stuff
git-master	1939	zork pcm decoder is broken	avcodec	git-master	defect	new	2012-11-21T13:31:08+01:00	2012-11-21T13:40:41+01:00	"See roundup ticket 612.

Sample at:

http://samples.ffmpeg.org/game-formats/zork-pcm/T000A11C.avi"	richardpl
git-master	1941	unable to receive RTSP stream from VLC	undetermined	git-master	defect	new	2012-11-21T17:15:30+01:00	2012-11-22T01:27:19+01:00	"Summary of the bug: $title
How to reproduce: 
{{{

# in one terminal:

$ vlc sintel.mpg
"":sout=#transcode{vcodec=h264,vb=300,scale=0.25,acodec=mp4a,ab=128,channels=2,samplerate=22050}:rtp{mux=ts,sdp=rtsp://:8554/test.sdp}""

$ ffmpeg -i rtsp://localhost:8554/test.sdp
ffmpeg version N-43576-gaee7b88 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 15 2012 11:12:55 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-libx264 --disable-stripping
  libavutil      51. 69.100 / 51. 69.100
  libavcodec     54. 52.100 / 54. 52.100
  libavformat    54. 23.100 / 54. 23.100
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3.  9.100 /  3.  9.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[rtsp @ 0x9505500] method SETUP failed: 459 Aggregate operation not allowed


}}}

Of course, I'm not sure if it's a VLC or ffmpeg bug, but at least it's reproducible."	rogerdpack
git-master	1952	FFMPEG not able to copy empty audio stream in wtv	undetermined	git-master	defect	new	2012-11-22T18:29:48+01:00	2013-04-03T23:44:41+02:00	"Summary of the bug: When trying to copy audio streams it reports the audio stream as 0 channels and then fails to copy the stream.

How to reproduce:
ffmpeg.x86.exe -i broken_remux.wtv -codec copy -map 0:a out.ts

{{{
ffmpeg version N-46726-g2f74f8d Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 13 2012 19:29:51 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runtime-cpudetect --enable-avisynth --enable
-bzlib --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enab
le-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroed
inger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
bvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52.  6.100 / 52.  6.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 23.100 /  3. 23.100
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[wtv @ 01f7af20] reported file length (0x4fd7094c) exceeds number of available sectors (0x40000000)
[mpeg2video @ 03cd5cc0] mpeg_decode_postinit() failure
    Last message repeated 18 times
[wtv @ 01f7af20] Could not find codec parameters for stream 2 (Audio: ac3, 0 channels, s16): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, wtv, from 'broken_remux.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Covert Affairs
    WM/SubTitle     : Scary Monsters (and Super Creeps)
    genre           : Drama;General;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Piper Perabo/Christopher Gorham/Peter Gallagher/Anne Dudek/Kari Matchett;;;
    service_provider: USA
    service_name    : USA Network
    WM/MediaNetworkAffiliation: Satellite
    WM/MediaOriginalChannel: 35
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 2012-11-06T06:00:00Z
    WM/MediaOriginalRunTime: 36583578040
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: TV-PG
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2012-11-07 03:00:01
    WM/WMRVSeriesUID: !MCSeries!236524124
    WM/WMRVServiceID: !MCService!28459373
    WM/WMRVProgramID: !MCProgram!281435509
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 1
    WM/WMRVOriginalSoftPrePadding: 300
    WM/WMRVOriginalSoftPostPadding: 0
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: false
    Duration        : 36586250864
    WM/WMRVEndTime  : 2012-11-07 04:01:00
    WM/WMRVBitrate  : 2.930237
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 298
    WM/WMRVActualSoftPostPadding: 0
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 310
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 9
    WM/MediaThumbRatingLevel: 10
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 4
    WM/MediaThumbAspectRatioY: 3
    WM/MediaThumbTimeStamp: 4644421659667696459
  Duration: 00:40:32.01, start: 12135.221998, bitrate: 6 kb/s
    Stream #0:0[0x30]: Subtitle: eia_608
    Stream #0:1[0x31]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Stream #0:2[0x32]: Audio: ac3, 0 channels, s16
    Stream #0:3[0x33]: Video: mpeg2video (Main), yuv420p, 544x480 [SAR 20:17 DAR 4:3], 29.97 fps, 29.97 tbr, 10000k tbn,
 59.94 tbc
    Stream #0:4[0x0]: Attachment: mjpeg
    Metadata:
      title           : TV Thumbnail
[mpegts @ 03f08520] sample rate not set
Output #0, mpegts, to 'out.ts':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Covert Affairs
    WM/SubTitle     : Scary Monsters (and Super Creeps)
    genre           : Drama;General;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Piper Perabo/Christopher Gorham/Peter Gallagher/Anne Dudek/Kari Matchett;;;
    service_provider: USA
    service_name    : USA Network
    WM/MediaNetworkAffiliation: Satellite
    WM/MediaOriginalChannel: 35
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 2012-11-06T06:00:00Z
    WM/MediaOriginalRunTime: 36583578040
    WM/MediaIsStereo: false
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: TV-PG
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2012-11-07 03:00:01
    WM/WMRVSeriesUID: !MCSeries!236524124
    WM/WMRVServiceID: !MCService!28459373
    WM/WMRVProgramID: !MCProgram!281435509
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 1
    WM/WMRVOriginalSoftPrePadding: 300
    WM/WMRVOriginalSoftPostPadding: 0
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: false
    Duration        : 36586250864
    WM/WMRVEndTime  : 2012-11-07 04:01:00
    WM/WMRVBitrate  : 2.930237
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: 298
    WM/WMRVActualSoftPostPadding: 0
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 310
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 9
    WM/MediaThumbRatingLevel: 10
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 4
    WM/MediaThumbAspectRatioY: 3
    WM/MediaThumbTimeStamp: 4644421659667696459
    Stream #0:0: Audio: ac3, 48000 Hz, stereo, 192 kb/s
    Stream #0:1: Audio: ac3, 0 channels
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:2 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
}}}

Ideally it should copy the stream, and if there is an issue then anyways it should not fail, maybe skip the stream"	ramitbhalla
git-master	1958	mp3 24khz (in wav): overreads	undetermined	git-master	defect	open	2012-11-24T15:59:54+01:00	2012-11-26T17:55:25+01:00	"This happens only with 24khz mode.

I can hear some distortions.

{{{
C:\>ffmpeg -i 24khz_2ch_160kbps.wav -t 2 -f null -
ffmpeg version N-46755-ge70144c Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 15 2012 02:38:20 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52.  6.100 / 52.  6.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 23.100 /  3. 23.100
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[wav @ 0x1edc3c0] max_analyze_duration 5000000 reached at 5016000
[wav @ 0x1edc3c0] Estimating duration from bitrate, this may be inaccurate
Input #0, wav, from '24khz_2ch_160kbps.wav':
  Duration: 00:00:33.12, bitrate: 127 kb/s
    Stream #0:0: Audio: mp3 (U[0][0][0] / 0x0055), 24000 Hz, stereo, s16, 128 kb
/s
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.36.100
    Stream #0:0: Audio: pcm_s16le, 24000 Hz, stereo, s16, 768 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp3 -> pcm_s16le)
Press [q] to stop, [?] for help
[mp3 @ 0x1edcb60] overread, skip -7 enddists: -6 -6
[mp3 @ 0x1edcb60] overread, skip -6 enddists: -5 -5
[mp3 @ 0x1edcb60] overread, skip -9 enddists: -1 -1
[mp3 @ 0x1edcb60] overread, skip -7 enddists: -3 -3
    Last message repeated 1 times
[mp3 @ 0x1edcb60] overread, skip -6 enddists: -2 -2
[mp3 @ 0x1edcb60] overread, skip -6 enddists: -4 -4
[mp3 @ 0x1edcb60] overread, skip -7 enddists: -4 -4
size=       0kB time=00:00:02.01 bitrate=   0.0kbits/s
video:0kB audio:189kB subtitle:0 global headers:0kB muxing overhead -100.000000%
}}}"	ami_stuff
git-master	1962	gsm in aiff: fix duration	avformat	git-master	defect	new	2012-11-24T19:39:40+01:00	2013-03-01T11:40:26+01:00	"qt reports correct 30.02s

{{{
C:\>ffmpeg -i 2ch_48khz.aiff
ffmpeg version N-46755-ge70144c Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 15 2012 02:38:20 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52.  6.100 / 52.  6.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 23.100 /  3. 23.100
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[aiff @ 0x1edc280] max_analyze_duration 5000000 reached at 5000000
Input #0, aiff, from '2ch_48khz.aiff':
  Duration: 01:20:02.35, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0: Audio: gsm (GSM  / 0x204D5347), 48000 Hz, mono, s16, 79 kb/s
At least one output file must be specified
}}}"	ami_stuff
git-master	1965	mmf: support correctly formats ma-3/5/7	avformat	git-master	defect	open	2012-11-25T17:49:39+01:00	2013-02-13T12:38:07+01:00	"When I remove these check form ""libavformat/mmf.c"" then ma-3/5/7 samples decodes, but sample rate (and channels count for stereo files) is identified incorrectly.

{{{
    /* Tag = ""ATRx"", where ""x"" = track number */
-   if ((tag & 0xffffff) == MKTAG('M', 'T', 'R', 0)) {
-        av_log(s, AV_LOG_ERROR, ""MIDI like format found, unsupported\n"");
-        return -1;
-    } 
-    if ((tag & 0xffffff) != MKTAG('A', 'T', 'R', 0)) {
-        av_log(s, AV_LOG_ERROR, ""Unsupported SMAF chunk %08x\n"", tag);
-        return -1;
-    }




    /* Make sure it's followed by an Awa chunk, aka wave data */
-    if ((tag & 0xffffff) != MKTAG('A', 'w', 'a', 0)) {
-        av_log(s, AV_LOG_ERROR, ""Unexpected SMAF chunk %08x\n"", tag);
-        return -1;
}}}


{{{
C:\>ffmpeg -i ma3.mmf
ffmpeg version N-46755-ge70144c Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 15 2012 02:38:20 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52.  6.100 / 52.  6.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 23.100 /  3. 23.100
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[mmf @ 0x1edc280] MIDI like format found, unsupported
ma3.mmf: Operation not permitted
}}}"	ami_stuff
git-master	1972	swscale: vertical line at the right side with rgb24 -> yuv410p conversion (odd width)	swscale	git-master	defect	open	2012-11-28T10:30:10+01:00	2013-03-01T11:44:25+01:00	"there is visible vertical line with a darker color at the right side in the output

this happens with rgb24 -> yuv410p and other yuv pix formats (asm and --disable-asm builds)

{{{
C:\>ffmpeg -i 599.png -pix_fmt yuv410p out.tif
ffmpeg version N-46755-ge70144c Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 15 2012 02:38:20 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52.  6.100 / 52.  6.100
  libavcodec     54. 71.100 / 54. 71.100
  libavformat    54. 36.100 / 54. 36.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 23.100 /  3. 23.100
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Input #0, image2, from '599.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgb24, 599x412, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.tif':
  Metadata:
    encoder         : Lavf54.36.100
    Stream #0:0: Video: tiff, yuv410p, 599x412, q=2-31, 200 kb/s, 90k tbn, 25 tb
c
Stream mapping:
  Stream #0:0 -> #0:0 (png -> tiff)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/
s
video:76kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000000%
}}}"	ami_stuff
git-master	1993	Badly interleaved partial AVI file causes audio/video desync	avformat	git-master	defect	open	2012-12-05T15:00:28+01:00	2012-12-07T16:44:55+01:00	"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."	gjdfgh
git-master	1994	mov enc: fix gray8 in mov	avformat	git-master	defect	open	2012-12-05T22:48:11+01:00	2013-02-13T12:37:11+01:00	"Curently gray8 rawvideo exported to mov is decoded incorrectly by qt because qt expect bits_per_coded_sample to be set to 0x28 and not 0x08 as it is now.

Attached patch fixes this problem, but there is still another issue - gray8 is decoded in negative by qt.

{{{
C:\>ffmpeg -i 160.bmp -vcodec rawvideo -pix_fmt gray out.mov
ffmpeg version N-47325-gb90e795 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec  1 2012 02:23:25 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52. 10.100 / 52. 10.100
  libavcodec     54. 78.100 / 54. 78.100
  libavformat    54. 41.100 / 54. 41.100
  libavdevice    54.  3.101 / 54.  3.101
  libavfilter     3. 23.104 /  3. 23.104
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.101 /  0. 17.101
  libpostproc    52.  2.100 / 52.  2.100
Input #0, image2, from '160.bmp':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: bmp, bgr24, 160x120, 25 tbr, 25 tbn, 25 tbc
Output #0, mov, to 'out.mov':
  Metadata:
    encoder         : Lavf54.41.100
    Stream #0:0: Video: rawvideo (raw  / 0x20776172), gray, 160x120, q=2-31, 200
 kb/s, 12800 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (bmp -> rawvideo)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=      19kB time=00:00:00.04 bitrate=3985.2kbits/
s
video:19kB audio:0kB subtitle:0 global headers:0kB muxing overhead 3.781250%
}}}"	ami_stuff
git-master	1995	tiff: support tiff packbits with inverted FillOrder	avcodec	git-master	defect	open	2012-12-06T00:20:05+01:00	2013-01-29T03:40:03+01:00	"I belive attached pic have inverte FillOder, decodes ok with ImageMagick/IrfanView.

See also ticket #168

http://www.datafilehost.com/download-0f7689e2.html

{{{
C:\>ffmpeg -i packbits.tif out.bmp
ffmpeg version N-47325-gb90e795 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec  1 2012 02:23:25 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52. 10.100 / 52. 10.100
  libavcodec     54. 78.100 / 54. 78.100
  libavformat    54. 41.100 / 54. 41.100
  libavdevice    54.  3.101 / 54.  3.101
  libavfilter     3. 23.104 /  3. 23.104
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.101 /  0. 17.101
  libpostproc    52.  2.100 / 52.  2.100
[tiff @ 0x1eec9a0] Copy went out of bounds
Input #0, image2, from 'packbits.tif':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: tiff, rgb24, 1024x768, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf54.41.100
    Stream #0:0: Video: bmp, bgr24, 1024x768, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (tiff -> bmp)
Press [q] to stop, [?] for help
[tiff @ 0x1eec9a0] Copy went out of bounds
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/
s
video:2304kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000000
%
}}}"	ami_stuff
git-master	2002	mms streaming always requests all streams	avformat	git-master	defect	reopened	2012-12-08T15:38:10+01:00	2013-02-05T00:08:15+01:00	"The mms protocol can support multiple video streams. Each of these streams shows the same video, but at a different quality. This is intended to save bandwidth.

Looking at libavformat/mmsh.c, it seems all streams are requested, so that all streams are demuxable. This is not very useful, and in particular inteferes with the idea of saving bandwidth by selecting a single stream.

It should be possible for applications to select specific streams only. (This would prevent the server from sending packets for streams that are not wanted.)

The corresponding mms header for this is ""Pragma: stream-switch-entry"". mmsh.c just adds every stream to this.

mplayer handles this correctly.

Example stream: mms://wm.microsoft.com/ms/evnet/Vista_Diagnostics_s_ch9.wmv"	gjdfgh
git-master	2009	Bogus library dependencies (e.g. on SDL)	build system	git-master	defect	open	2012-12-10T20:09:46+01:00	2012-12-11T01:56:30+01:00	"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."	divVerent
git-master	2010	ffplay can't seek in file that vlc and mplayer -demuxer mov can seek	undetermined	git-master	defect	open	2012-12-10T21:00:29+01:00	2013-02-02T11:57:56+01:00	"You can't seek in this file with ffplay: https://educast.fccn.pt/vod/clips/1aw3ugmjz0/quicktime.mov

The file plays fine, but attempts to seek print ""error while seeking"" and cause audio and video to freeze. Observed with ffmpeg git 20899c54f03c4.

mplayer -demuxer mov can seek in this file. (It fails to seek to key frames correctly, but recovers as more video is decoded.) VLC can seek in it as well."	gjdfgh
git-master	2011	i263: artefacts with deblocking filter	avcodec	git-master	defect	open	2012-12-11T02:10:19+01:00	2013-05-05T22:06:34+02:00	"I have tested i263 codec a bit more and found another issue. 

Attached file was encoded with ""deblocking filter"" option enabled, (this is a normal video, not with pb-frames) and ffmpeg decodes it with visible artefacts.

http://www.datafilehost.com/download-09b7dbe4.html

{{{
C:\>ffmpeg -i normal_deblocking_filter.avi out.avi
ffmpeg version N-47675-g20899c5 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 10 2012 02:38:00 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 79.101 / 54. 79.101
  libavformat    54. 49.100 / 54. 49.100
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 26.101 /  3. 26.101
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, avi, from 'normal_deblocking_filter.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2542/release)
  Duration: 00:00:15.12, start: 0.000000, bitrate: 1175 kb/s
    Stream #0:0: Video: h263i (I263 / 0x33363249), yuv420p, 320x240, 25 tbr, 25
tbn, 25 tbc
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.49.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200
 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h263i -> mpeg4)
Press [q] to stop, [?] for help
frame=  137 fps=0.0 q=5.8 size=     262kB time=00:00:05.48 bitrate= 391.9kbits/s
frame=  247 fps=0.0 q=12.1 size=     473kB time=00:00:09.88 bitrate= 392.1kbits/
frame=  378 fps=255 q=5.8 Lsize=     635kB time=00:00:15.12 bitrate= 344.1kbits/
s
video:620kB audio:0kB subtitle:0 global headers:0kB muxing overhead 2.352102%
}}}

"	ami_stuff
git-master	2012	-filter without specifier fails without explicit error	FFmpeg	git-master	defect	open	2012-12-11T03:48:20+01:00	2012-12-12T10:23:16+01:00	"Given a random input file with both audio and video:

{{{
☭ ./ffmpeg -f lavfi -i 'testsrc[out0]; aevalsrc=sin(2*PI*t*440)[out1]' -t 5 -y test.avi
ffmpeg version N-47714-g7eafd27 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 11 2012 03:04:42 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-fontconfig --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-x11grab --enable-libopenjpeg --enable-libass --enable-libmodplug --enable-libv4l2 --cc=colorgcc --samples=/home/ubitux/fate-samples --prefix=/tmp/ffinstall --enable-runtime-cpudetect --enable-libcelt
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 79.101 / 54. 79.101
  libavformat    54. 49.101 / 54. 49.101
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 26.101 /  3. 26.101
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[lavfi @ 0x2a3b260] Estimating duration from bitrate, this may be inaccurate
Input #0, lavfi, from 'testsrc[out0]; aevalsrc=sin(2*PI*t*440)[out1]':
  Duration: N/A, start: 0.000000, bitrate: 2822 kb/s
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: pcm_f64le, 44100 Hz, mono, dbl, 2822 kb/s
Output #0, avi, to 'test.avi':
  Metadata:
    ISFT            : Lavf54.49.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, s32p
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> mpeg4)
  Stream #0:1 -> #0:1 (pcm_f64le -> libmp3lame)
Press [q] to stop, [?] for help
frame=  125 fps=0.0 q=2.0 Lsize=     256kB time=00:00:05.01 bitrate= 418.1kbits/s    
video:199kB audio:39kB subtitle:0 global headers:0kB muxing overhead 7.317413%
}}}

...and trying the following commands fail:

{{{
☭ ./ffmpeg -i test.avi -filter edgedetect -f null -
ffmpeg version N-47714-g7eafd27 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 11 2012 03:04:42 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-fontconfig --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-x11grab --enable-libopenjpeg --enable-libass --enable-libmodplug --enable-libv4l2 --cc=colorgcc --samples=/home/ubitux/fate-samples --prefix=/tmp/ffinstall --enable-runtime-cpudetect --enable-libcelt
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 79.101 / 54. 79.101
  libavformat    54. 49.101 / 54. 49.101
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 26.101 /  3. 26.101
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, avi, from 'test.avi':
  Metadata:
    encoder         : Lavf54.49.101
  Duration: 00:00:05.04, start: 0.000000, bitrate: 415 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, s16p, 64 kb/s
[buffer @ 0x178f040] Unable to parse option value ""0x0"" as image size
Error opening filters!
}}}

{{{
☭ ./ffmpeg -i test.avi -filter volume -f null -
ffmpeg version N-47714-g7eafd27 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 11 2012 03:04:42 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-fontconfig --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-x11grab --enable-libopenjpeg --enable-libass --enable-libmodplug --enable-libv4l2 --cc=colorgcc --samples=/home/ubitux/fate-samples --prefix=/tmp/ffinstall --enable-runtime-cpudetect --enable-libcelt
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 79.101 / 54. 79.101
  libavformat    54. 49.101 / 54. 49.101
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 26.101 /  3. 26.101
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, avi, from 'test.avi':
  Metadata:
    encoder         : Lavf54.49.101
  Duration: 00:00:05.04, start: 0.000000, bitrate: 415 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, s16p, 64 kb/s
[abuffer @ 0x1e057e0] Value inf for parameter 'time_base' out of range [0 - 2.14748e+09]
Error opening filters!
}}}

It works fine when using {{{-filter:v}}} or {{{-vf}}}, and {{{-filter:a}}} or {{{-af}}} though. Also note the problem doesn't arise if the input is audio-only or video-only.

We should either fail with a more explicit error when the type specifier is not set, or have better heuristics to guess what the user wants."	ubitux
git-master	2023	mkvalidator does not like how FFmpeg muxes pgssubtitles	avformat	git-master	defect	new	2012-12-12T23:15:35+01:00	2012-12-12T23:15:35+01:00	"Related to ticket #379

http://samples.mplayerhq.hu/sub/BluRay/sample-dts-not-valid-dca-frame.m2ts
When remuxing pgssub into mkv, the resulting file plays fine with ffplay (and MPlayer), but mkvalidator is unhappy with the output file.
{{{
$ ffmpeg -i sample-dts-not-valid-dca-frame.m2ts -vcodec copy -acodec copy -scodec copy out.mkv
ffmpeg version N-47774-g26db653 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 12 2012 21:57:33 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 79.102 / 54. 79.102
  libavformat    54. 49.101 / 54. 49.101
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 26.102 /  3. 26.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[dca @ 0x21fe320] Not a valid DCA frame
    Last message repeated 52 times
[mpegts @ 0x2150280] Stream #5: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #6: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #7: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #8: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #9: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #10: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #11: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #12: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #13: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #14: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #15: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #16: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #17: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #18: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #19: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #20: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Stream #21: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x2150280] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 6 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 9 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 10 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 11 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 12 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 13 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 14 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 15 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 16 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 17 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 18 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 19 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 20 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] Could not find codec parameters for stream 21 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2150280] decoding for stream 22 failed
[mpegts @ 0x2150280] Could not find codec parameters for stream 22 (Audio: dts ([162][0][0][0] / 0x00A2), 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x2156f40] start time is not set in estimate_timings_from_pts
[NULL @ 0x2157860] start time is not set in estimate_timings_from_pts
[NULL @ 0x2158180] start time is not set in estimate_timings_from_pts
[NULL @ 0x21a6120] start time is not set in estimate_timings_from_pts
[NULL @ 0x21ac580] start time is not set in estimate_timings_from_pts
[NULL @ 0x21b2a60] start time is not set in estimate_timings_from_pts
[NULL @ 0x21b8f40] start time is not set in estimate_timings_from_pts
[NULL @ 0x21bf340] start time is not set in estimate_timings_from_pts
[NULL @ 0x21c5820] start time is not set in estimate_timings_from_pts
[NULL @ 0x21cbd00] start time is not set in estimate_timings_from_pts
[NULL @ 0x21d2220] start time is not set in estimate_timings_from_pts
[NULL @ 0x21d8700] start time is not set in estimate_timings_from_pts
[NULL @ 0x21dec80] start time is not set in estimate_timings_from_pts
[NULL @ 0x21e5080] start time is not set in estimate_timings_from_pts
[NULL @ 0x21eb480] start time is not set in estimate_timings_from_pts
[NULL @ 0x21f1960] start time is not set in estimate_timings_from_pts
[NULL @ 0x21f7e40] start time is not set in estimate_timings_from_pts
[mpegts @ 0x2150280] PES packet size mismatch
    Last message repeated 3 times
Input #0, mpegts, from 'sample-dts-not-valid-dca-frame.m2ts':
  Duration: 00:00:53.18, start: 11.608967, bitrate: 16276 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), fltp, 1536 kb/s
    Stream #0:2[0x1101]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:3[0x1102]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:4[0x1103]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:5[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:6[0x1201]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:7[0x1202]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:8[0x1203]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:9[0x1204]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:10[0x1205]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:11[0x1206]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:12[0x1207]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:13[0x1208]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:14[0x1209]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:15[0x120a]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:16[0x120b]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:17[0x120c]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:18[0x120d]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:19[0x120e]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:20[0x120f]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:21[0x1210]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:22[0x1a00]: Audio: dts ([162][0][0][0] / 0x00A2), 0 channels, fltp
    Stream #0:23[0x1b00]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 720x480 [SAR 40:33 DAR 20:11], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
Output #0, matroska, to 'out.mkv':
  Metadata:
    encoder         : Lavf54.49.101
    Stream #0:0: Video: h264 (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 1k tbn, 90k tbc
    Stream #0:1: Audio: dts ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), 1536 kb/s
    Stream #0:2: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:5 -> #0:2 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x2150280] PES packet size mismatch
frame= 1273 fps=0.0 q=-1.0 Lsize=   88047kB time=00:00:53.05 bitrate=13595.5kbits/s
video:70275kB audio:17585kB subtitle:134 global headers:0kB muxing overhead 0.059732%
}}}
{{{
$ mkvalidator out.mkv
ERR0B1: Block at 50661520 track #3 is not a keyframe
ERR0B1: Block at 50661553 track #3 is not a keyframe
ERR0B1: Block at 50661578 track #3 is not a keyframe
ERR0B1: Block at 50661917 track #3 is not a keyframe
ERR0B1: Block at 50707127 track #3 is not a keyframe
ERR0B1: Block at 56486707 track #3 is not a keyframe
ERR0B1: Block at 56486732 track #3 is not a keyframe
ERR0B1: Block at 56486756 track #3 is not a keyframe
ERR0B1: Block at 58281775 track #3 is not a keyframe
ERR0B1: Block at 58281808 track #3 is not a keyframe
ERR0B1: Block at 58281833 track #3 is not a keyframe
ERR0B1: Block at 58282172 track #3 is not a keyframe
ERR0B1: Block at 58322632 track #3 is not a keyframe
ERR0B1: Block at 70426654 track #3 is not a keyframe
ERR0B1: Block at 70426679 track #3 is not a keyframe
ERR0B1: Block at 70426703 track #3 is not a keyframe
ERR0B1: Block at 70946184 track #3 is not a keyframe
ERR0B1: Block at 70946217 track #3 is not a keyframe
ERR0B1: Block at 70946242 track #3 is not a keyframe
ERR0B1: Block at 70946581 track #3 is not a keyframe
ERR0B1: Block at 70974021 track #3 is not a keyframe
ERR0B1: Block at 82469195 track #3 is not a keyframe
ERR0B1: Block at 82469220 track #3 is not a keyframe
ERR0B1: Block at 82469244 track #3 is not a keyframe
ERR0B1: Block at 85421140 track #3 is not a keyframe
ERR0B1: Block at 85421173 track #3 is not a keyframe
ERR0B1: Block at 85421198 track #3 is not a keyframe
ERR0B1: Block at 85421537 track #3 is not a keyframe
ERR0B1: Block at 85461724 track #3 is not a keyframe
....    file created with Lavf54.49.101 / Lavf54.49.101
}}}
ffprobe -show_packets show duration, duration_time, convergence_duration and convergence_duration_time as ""N/A"" for all subtitle packets."	cehoyos
git-master	2024	Reencoding dvbsub fails	undetermined	git-master	defect	new	2012-12-13T00:07:54+01:00	2013-01-05T15:44:04+01:00	"I tested two samples:
http://samples.ffmpeg.org/MPEG-VOB/ClosedCaptions/Starship_Troopers.vob
http://samples.ffmpeg.org/MPEG-VOB/transport/dvbsub/dvbsubtest.ts
and tried to reencode them to dvbsub. This works fine for the dvdsub sample, but fails for the dvbsub (input) sample.
{{{
$ ffmpeg -i dvbsubtest.ts -qscale 2 -mbd 2 -scodec dvbsub out.ts
ffmpeg version N-47774-g26db653 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 12 2012 21:57:33 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 79.102 / 54. 79.102
  libavformat    54. 49.101 / 54. 49.101
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 26.102 /  3. 26.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0x2f23280] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x2f23280] PES packet size mismatch
Input #0, mpegts, from 'dvbsubtest.ts':
  Duration: 00:00:34.60, start: 79677.098467, bitrate: 4848 kb/s
  Program 1
    Stream #0:0[0x1901](eng): Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x19a1](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:2[0x19b1](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, mpegts, to 'out.ts':
  Metadata:
    encoder         : Lavf54.49.101
    Stream #0:0(eng): Video: mpeg2video (hq), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream #0:1(eng): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
    Stream #0:2(eng): Subtitle: dvb_subtitle
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> mpeg2video)
  Stream #0:1 -> #0:1 (mp2 -> mp2)
  Stream #0:2 -> #0:2 (dvbsub -> dvbsub)
Press [q] to stop, [?] for help
frame=  310 fps=0.0 q=2.0 size=       0kB time=00:00:12.32 bitrate=   0.0kbits/s dup=10 drop=0Application provided invalid, non monotonically increasing dts to muxer in stream 2: 3005830 >= 1670230
av_interleaved_write_frame(): Invalid argument
}}}
Remuxing all strams fails (remuxing only audio and video works fine):
{{{
$ ffmpeg -i dvbsubtest.ts -acodec copy -vcodec copy -scodec dvbsub out.ts
ffmpeg version N-47774-g26db653 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 12 2012 21:57:33 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 79.102 / 54. 79.102
  libavformat    54. 49.101 / 54. 49.101
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 26.102 /  3. 26.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0x1b92280] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x1b92280] PES packet size mismatch
Input #0, mpegts, from 'dvbsubtest.ts':
  Duration: 00:00:34.60, start: 79677.098467, bitrate: 4848 kb/s
  Program 1
    Stream #0:0[0x1901](eng): Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x19a1](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:2[0x19b1](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Output #0, mpegts, to 'out.ts':
  Metadata:
    encoder         : Lavf54.49.101
    Stream #0:0(eng): Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 25 fps, 90k tbn, 25 tbc
    Stream #0:1(eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, 256 kb/s
    Stream #0:2(eng): Subtitle: dvb_subtitle
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (dvbsub -> dvbsub)
Press [q] to stop, [?] for help
[mpegts @ 0x1b9a2e0] Application provided invalid, non monotonically increasing dts to muxer in stream 2: 3005830 >= 1670230
av_interleaved_write_frame(): Invalid argument
}}}
Remuxing only the subtitles work, but the resulting file shows no subtitles:
{{{
$ ffmpeg -i dvbsubtest.ts -qscale 2 -mbd 2 -scodec copy out.ts
ffmpeg version N-47774-g26db653 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 12 2012 21:57:33 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 79.102 / 54. 79.102
  libavformat    54. 49.101 / 54. 49.101
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 26.102 /  3. 26.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0x2ae8280] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x2ae8280] PES packet size mismatch
Input #0, mpegts, from 'dvbsubtest.ts':
  Duration: 00:00:34.60, start: 79677.098467, bitrate: 4848 kb/s
  Program 1
    Stream #0:0[0x1901](eng): Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x19a1](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:2[0x19b1](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, mpegts, to 'out.ts':
  Metadata:
    encoder         : Lavf54.49.101
    Stream #0:0(eng): Video: mpeg2video (hq), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream #0:1(eng): Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
    Stream #0:2(eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> mpeg2video)
  Stream #0:1 -> #0:1 (mp2 -> mp2)
  Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
frame=  311 fps=0.0 q=2.0 size=    5961kB time=00:00:13.09 bitrate=3728.0kbits/s dup=10 drop=0frame=  570 fps=569 q=2.0 size=   14614kB time=00:00:23.13 bitrate=5173.9kbits/s dup=10 drop=0frame=  821 fps=546 q=2.0 size=   25327kB time=00:00:32.76 bitrate=6333.3kbits/s dup=10 drop=0PES packet size mismatch
[mpeg2video @ 0x2aec140] invalid mb type in P Frame at 43 16
[mpeg2video @ 0x2aec140] Warning MVs not available
[mpeg2video @ 0x2aec140] concealing 900 DC, 900 AC, 900 MV errors in P frame
[mp2 @ 0x2aecc20] incomplete frame
Error while decoding stream #0:1: Invalid data found when processing input
frame=  866 fps=538 q=2.0 Lsize=   28381kB time=00:00:34.67 bitrate=6704.4kbits/s dup=12 drop=0
video:25613kB audio:535kB subtitle:50 global headers:0kB muxing overhead 8.332572%
}}}"	cehoyos
git-master	2035	DVD subtitle from VOB does not contain CodecPrivate data	avcodec	git-master	defect	open	2012-12-16T17:23:48+01:00	2013-01-13T14:41:47+01:00	"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
}}}
"	billie
git-master	2039	ONVIF metadata read failure in Avigilon camera?	undetermined	git-master	defect	new	2012-12-17T12:18:18+01:00	2013-04-10T19:16:09+02:00	"I have an ""Avigilon 2.0MP-HD-H264-B1"" h264 camera, and I cannot get the
rtsp video stream from it, due to some errors. Maybe the errors come
from the ONVIF metadata stream.
I`ve attached the output file of the command:
$ ffprobe -report rtsp://admin:admin@192.168.0.213/defaultPrimary


-I've tried this also, but the result is the same:
$ ffprobe -report -analyzeduration 100000000 -probesize 2000000000 rtsp://admin:admin@192.168.0.213/defaultPrimary 

-The camera works well with VLC.

-Could be the problem from the Stream #0:2 which is a data stream?
The camera sends ONVIF xml texts in this stream.

-When I try to play that stream with Totem(2.30.2), it gives this error (maybe
this is helpful):
""The playback of this movie requires a VND.ONVIF.METADATA RTP depayloader plugin which is not installed.""


----------------------------------------------------------------------------------------
$ ffprobe -report rtsp://admin:admin@192.168.0.213/defaultPrimary

ffprobe started on 2012-12-17 at 11:56:34
Report written to ""ffprobe-20121217-115634.log""
Command line:
ffprobe -report rtsp://admin:admin@192.168.0.213/defaultPrimary
ffprobe version N-47911-g2e59142 Copyright (c) 2007-2012 the FFmpeg developers
  built on Dec 17 2012 11:42:48 with gcc 4.4.5 (Debian 4.4.5-8)
  configuration: --enable-shared --disable-static
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 80.100 / 54. 80.100
  libavformat    54. 49.102 / 54. 49.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 27.102 /  3. 27.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
[rtsp @ 0x806a3a0] SDP:
v=0
o=- 1293840018232 1293840018232 IN IP4 192.168.0.213
s=Live
t=0 0
m=audio 0 RTP/AVP 0
c=IN IP4 192.168.0.213
c=IN IP4 224.3.3.5
a=control:rtsp://192.168.0.213/defaultPrimary/mic0/trackID=1
m=video 0 RTP/AVP 96
c=IN IP4 192.168.0.213
c=IN IP4 224.3.3.3
a=control:rtsp://192.168.0.213/defaultPrimary/cam0/trackID=1
a=fmtp:96 packetization-mode=0; profile-level-id=42A01E; sprop-parameter-sets=J01AH42NKBaHt/4AQAA21BgYGQAAAwPoAADDUOhAB08AAQcau8uNCADp4AAg41d5cE+iwA==,KO48gA==
a=rtpmap:96 H264/90000
a=x-avg-params:96 source-height=1080; source-width=1920
m=application 0 RTP/AVP 98
c=IN IP4 192.168.0.213
c=IN IP4 224.3.3.6
a=control:rtsp://192.168.0.213/defaultPrimary/metadata/trackID=1
a=rtpmap:98 vnd.onvif.metadata/90000

[rtsp @ 0x806a3a0] video codec set to: h264
[rtsp @ 0x806a3a0] hello state=0
[h264 @ 0x8078b80] non-existing PPS referenced
[h264 @ 0x8078b80] non-existing PPS 0 referenced
[h264 @ 0x8078b80] decode_slice_header error
[h264 @ 0x8078b80] no frame!
[h264 @ 0x8078b80] non-existing PPS referenced
[h264 @ 0x8078b80] non-existing PPS 0 referenced
[h264 @ 0x8078b80] decode_slice_header error
[h264 @ 0x8078b80] no frame!
...
[h264 @ 0x8078b80] non-existing PPS referenced
[h264 @ 0x8078b80] non-existing PPS 0 referenced
[h264 @ 0x8078b80] decode_slice_header error
[h264 @ 0x8078b80] no frame!
[rtsp @ 0x806a3a0] Non-increasing DTS in stream 2: packet 7 with DTS 39728541624, packet 8 with DTS 39728541624
[h264 @ 0x8078b80] non-existing PPS referenced
[h264 @ 0x8078b80] non-existing PPS 0 referenced
[h264 @ 0x8078b80] decode_slice_header error
[h264 @ 0x8078b80] no frame!
...
[h264 @ 0x8078b80] non-existing PPS referenced
[h264 @ 0x8078b80] non-existing PPS 0 referenced
[h264 @ 0x8078b80] decode_slice_header error
[h264 @ 0x8078b80] no frame!
[rtsp @ 0x806a3a0] Non-increasing DTS in stream 2: packet 14 with DTS 39728631913, packet 15 with DTS 39728631913
[h264 @ 0x8078b80] non-existing PPS referenced
[h264 @ 0x8078b80] non-existing PPS 0 referenced
[h264 @ 0x8078b80] decode_slice_header error
[h264 @ 0x8078b80] no frame!
...
[h264 @ 0x8078b80] non-existing PPS referenced
[h264 @ 0x8078b80] non-existing PPS 0 referenced
[h264 @ 0x8078b80] decode_slice_header error
[h264 @ 0x8078b80] no frame!
[rtsp @ 0x806a3a0] Non-increasing DTS in stream 2: packet 21 with DTS 39728722438, packet 22 with DTS 39728722438
[h264 @ 0x8078b80] non-existing PPS referenced
[h264 @ 0x8078b80] non-existing PPS 0 referenced
[h264 @ 0x8078b80] decode_slice_header error
[h264 @ 0x8078b80] no frame!
...
[h264 @ 0x8078b80] non-existing PPS referenced
[h264 @ 0x8078b80] non-existing PPS 0 referenced
[h264 @ 0x8078b80] decode_slice_header error
[h264 @ 0x8078b80] no frame!
[rtsp @ 0x806a3a0] Non-increasing DTS in stream 2: packet 29 with DTS 39728812454, packet 30 with DTS 39728812454
[h264 @ 0x8078b80] non-existing PPS referenced
[h264 @ 0x8078b80] non-existing PPS 0 referenced
[h264 @ 0x8078b80] decode_slice_header error
[h264 @ 0x8078b80] no frame!
...
[h264 @ 0x8078b80] non-existing PPS referenced
[h264 @ 0x8078b80] non-existing PPS 0 referenced
[h264 @ 0x8078b80] decode_slice_header error
[h264 @ 0x8078b80] no frame!
[rtsp @ 0x806a3a0] max_analyze_duration 5000000 reached at 5000000
[rtsp @ 0x806a3a0] decoding for stream 1 failed
[rtsp @ 0x806a3a0] Could not find codec parameters for stream 1 (Video: h264): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[rtsp @ 0x806a3a0] Estimating duration from bitrate, this may be inaccurate
[rtsp @ 0x806a3a0] Ignoring outlier non primary stream starttime 441427.197411
Input #0, rtsp, from 'rtsp://admin:admin@192.168.0.213/defaultPrimary':
  Metadata:
    title           : Live
  Duration: N/A, start: 536870.733375, bitrate: 64 kb/s
    Stream #0:0, 252, 1/8000: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
    Stream #0:1, 123, 1/90000: Video: h264, 90k tbr, 90k tbn, 180k tbc
    Stream #0:2, 35, 1/90000: Data: none
[h264 @ 0x8078b80] detected 2 logical cores
Unsupported codec with id 0 for input stream 2
"	ati
git-master	2044	timecode copying error with variable frame rate QuickTime files	avformat	git-master	defect	new	2012-12-19T06:23:26+01:00	2012-12-22T12:42:20+01:00	"Summary of the bug:

Video capture in Final Cut Pro often creates variable frame rate QuickTime files (where only the first and sometimes last frame deviate have frame durations that deviate from the rest). When I try to convert these files in ffmpeg while preserving timecode the results are unexpected.

I'm attaching a sample produced by using FCP to capture two frames from a tape. By reading the sample-to-time table in the video trak the first frame has a duration of 401/2997 and the rest have frame durations of 100/2997.

When I try to copy the tracks of this input to an output quicktime file the timecode track in the output does not match the input's timecode track. When the input is opened in QuickTime or FCP the first frame of the sample is 00:59:14;24 and the second is 00:59:14;25. With the output the first frame is 00:59:14;24 but the second is 00:59:14;28.

How to reproduce:
{{{
ffmpeg started on 2012-12-19 at 00:21:21
Report written to ""ffmpeg-20121219-002121.log""
Command line:
ffmpeg -report -y -i fcp_capture.mov -c:v copy -c:a copy -r ntsc output.mov
ffmpeg version 1.0.git Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 18 2012 23:49:10 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-ffplay
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 80.100 / 54. 80.100
  libavformat    54. 49.102 / 54. 49.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 28.102 /  3. 28.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffe3900f800] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffe3900f800] ISO: File Type Major Brand: qt  
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffe3900f800] File position before avformat_find_stream_info() is 8447
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffe3900f800] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ffe3900f800] File position after avformat_find_stream_info() is 746703
Guessed Channel Layout for  Input Stream #0.2 : stereo
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fcp_capture.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2012-11-28 08:06:53
  Duration: 00:00:00.07, start: 0.100434, bitrate: 173589 kb/s
    Stream #0:0(eng), 1, 1/2997: Video: rawvideo (2vuy / 0x79757632), uyvy422, 720x486, 66983 kb/s, 11.96 fps, 7.47 tbr, 2997 tbn, 2997 tbc
    Metadata:
      creation_time   : 2012-11-28 08:06:53
      handler_name    : Apple Alias Data Handler
      timecode        : 00:59:14;24
    Stream #0:1(eng), 0, 1/2997: Subtitle: eia_608 (c608 / 0x38303663)
    Metadata:
      creation_time   : 2012-11-28 08:06:53
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng), 4, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32, 2304 kb/s
    Metadata:
      creation_time   : 2012-11-28 08:06:53
      handler_name    : Apple Alias Data Handler
    Stream #0:3(eng), 4, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-11-28 08:06:53
      handler_name    : Apple Alias Data Handler
    Stream #0:4(eng), 4, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s
    Metadata:
      creation_time   : 2012-11-28 08:06:53
      handler_name    : Apple Alias Data Handler
    Stream #0:5(eng), 0, 1/2997: Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2012-11-28 08:06:53
      handler_name    : Apple Alias Data Handler
      timecode        : 00:59:14;24
Output #0, mov, to 'output.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    encoder         : Lavf54.49.102
    Stream #0:0(eng), 0, 1/30000: Video: rawvideo (2vuy / 0x79757632), uyvy422, 720x486, q=2-31, 66983 kb/s, 11.96 fps, 30k tbn, 29.97 tbc
    Metadata:
      creation_time   : 2012-11-28 08:06:53
      handler_name    : Apple Alias Data Handler
      timecode        : 00:59:14;24
    Stream #0:1(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, 2304 kb/s
    Metadata:
      creation_time   : 2012-11-28 08:06:53
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:2 -> #0:1 (copy)
Press [q] to stop, [?] for help
No more output streams to write to, finishing.
frame=    2 fps=0.0 q=-1.0 Lsize=    1388kB time=00:00:00.16 bitrate=67994.3kbits/s    
video:1367kB audio:19kB subtitle:0 global headers:0kB muxing overhead 0.135388%
Statistics: 1470868 bytes read, 2 seeks
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker."	dericed
git-master	2056	rmdec: fix timestamps for sipr in version 4 container (ra4)	undetermined	git-master	defect	open	2012-12-23T13:46:03+01:00	2012-12-23T13:48:04+01:00	"http://ffmpeg.org/trac/ffmpeg/raw-attachment/ticket/2052/RA5.0_16kbps_voice_wideband.ra

{{{
C:\>ffmpeg -i RA5.0_16kbps_voice_wideband.ra -f null -
ffmpeg version N-48116-g2e6bd22 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 23 2012 02:22:15 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 49.102 / 54. 49.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 29.101 /  3. 29.101
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Truncating packet of size 160 to 28
[rm @ 0x1eeea80] Estimating duration from bitrate, this may be inaccurate
Input #0, rm, from 'RA5.0_16kbps_voice_wideband.ra':
  Metadata:
    title           :
    author          :
    copyright       :
    comment         :
  Duration: 00:00:30.29, bitrate: 16 kb/s
    Stream #0:0: Audio: sipr (sipr / 0x72706973), 16000 Hz, mono, flt, 16 kb/s
Output #0, null, to 'pipe:':
  Metadata:
    title           :
    author          :
    copyright       :
    comment         :
    encoder         : Lavf54.49.102
    Stream #0:0: Audio: pcm_s16le, 16000 Hz, mono, s16, 256 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (sipr -> pcm_s16le)
Press [q] to stop, [?] for help
Multiple frames in a packet from stream 0
[null @ 0x1ffc3a0] st:0 PTS: 900 DTS: 900 < 6301 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 1800 DTS: 1800 < 6302 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 2700 DTS: 2700 < 6303 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 3600 DTS: 3600 < 6304 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 4500 DTS: 4500 < 6305 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 5400 DTS: 5400 < 6306 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 6300 DTS: 6300 < 6307 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 1800 DTS: 1800 < 7201 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 2700 DTS: 2700 < 7202 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 3600 DTS: 3600 < 7203 invalid, clipping
[...]
[null @ 0x1ffc3a0] st:0 PTS: 341100 DTS: 341100 < 343804 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 342000 DTS: 342000 < 343805 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 342900 DTS: 342900 < 343806 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 343800 DTS: 343800 < 343807 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 339300 DTS: 339300 < 344701 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 340200 DTS: 340200 < 344702 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 341100 DTS: 341100 < 344703 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 342000 DTS: 342000 < 344704 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 342900 DTS: 342900 < 344705 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 343800 DTS: 343800 < 344706 invalid, clipping
[null @ 0x1ffc3a0] st:0 PTS: 344700 DTS: 344700 < 344707 invalid, clipping
[sipr @ 0x1eef420] Error processing packet: packet size (7) too small
Error while decoding stream #0:0: Error number -1 occurred
[null @ 0x1ffc3a0] st:0 PTS: 340200 DTS: 340200 < 345601 invalid, clipping
RA5.0_16kbps_voice_wideband.ra: Input/output error
size=       0kB time=00:00:03.85 bitrate=   0.0kbits/s
video:0kB audio:945kB subtitle:0 global headers:0kB muxing overhead -100.000000%
}}}
"	ami_stuff
git-master	2058	FFMPEG sometimes not able to stream copy mpeg2video files, error with pts < dts	undetermined	git-master	defect	open	2012-12-23T18:46:34+01:00	2013-02-26T12:11:03+01:00	"Summary of the bug: FFMPEG not able to stream copy some WTV files, even with -fflags +genpts in the command.

I've uploaded the original file and a text file to the FFMPEG ftp server.
Filename is SirDave US The Firm_WNBCDT_2012_02_18_21_34_17.wtv and SirDave US The Firm_WNBCDT_2012_02_18_21_34_17.txt

How to reproduce:
{{{
OUTPUT:
ffmpeg -fflags +genpts -i ""..\SirDave US The Firm_WNBCDT_2012_02_18_21_34_17.wtv"" -vcodec copy -acodec copy -map 0:a -map 0:v test-temp.ts

ffmpeg version N-48065-g6375318 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 21 2012 09:06:30 with gcc 4.7.2 (GCC)
  configuration: --enable-static --arch=x86 --target-os=mingw32 --cross-prefix=/home/rdp/dev/ffmpeg-windows-build-helper
s/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-libtheo
ra --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-fontconfig --ena
ble-libass --enable-libutvideo --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-lib
vo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopenc
ore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libbluray --enable-libvpx --enable-runtime-cpudetect

  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 49.102 / 54. 49.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 29.100 /  3. 29.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpeg2video @ 020cebc0] mpeg_decode_postinit() failure
    Last message repeated 33 times
Input #0, wtv, from '..\SirDave US The Firm_WNBCDT_2012_02_18_21_34_17.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : The Firm
    WM/SubTitle     : Chapter Seven
    WM/SubTitleDescription: Mitch's attempts to help a new client, Nate, are complicated when Nate's brother is named as
 a co-defendant; Tammy pressures a potential ally into explaining a cryptic clue.
    genre           : Drama;General;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Josh Lucas/Callum Keith Rennie/Molly Parker/Natasha Calis/Juliette Lewis;;;Andrew Jenkins/Stuart H
ughes/Tricia Helfer
    service_provider: WNBCDT
    service_name    : WNBCDT (WNBC-DT)
    WM/MediaNetworkAffiliation: NBC Affiliate
    WM/MediaOriginalChannel: 4
    WM/MediaOriginalChannelSubNumber: 1
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 17215789295
    WM/MediaIsStereo: true
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: TV-14
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2012-02-19 02:34:18
    WM/WMRVSeriesUID: !MCSeries!01419020
    WM/WMRVServiceID: !MCService!28459780
    WM/WMRVProgramID: !MCProgram!269627380
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 2176
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: -2056
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 16944809188
    WM/WMRVEndTime  : 2012-02-19 03:02:32
    WM/WMRVBitrate  : 14.730353
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: -1
    WM/WMRVActualSoftPostPadding: 152
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 198
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 9
    WM/MediaThumbRatingLevel: 14
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 16
    WM/MediaThumbAspectRatioY: 9
    WM/MediaThumbTimeStamp: -4616189618054758400
    WM/MediaThumbType: 2
  Duration: 00:28:13.87, start: 44.031933, bitrate: 14735 kb/s
    Stream #0:0[0x2a](eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:1[0x2b]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 10000k tbn
, 59.94 tbc
    Stream #0:2[0x2c](spa): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:3[0x2d]: Subtitle: eia_608
    Stream #0:4[0x0]: Attachment: mjpeg
    Metadata:
      title           : TV Thumbnail
File 'test-temp.ts' already exists. Overwrite ? [y/N] y
Output #0, mpegts, to 'test-temp.ts':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : The Firm
    WM/SubTitle     : Chapter Seven
    WM/SubTitleDescription: Mitch's attempts to help a new client, Nate, are complicated when Nate's brother is named as
 a co-defendant; Tammy pressures a potential ally into explaining a cryptic clue.
    genre           : Drama;General;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Josh Lucas/Callum Keith Rennie/Molly Parker/Natasha Calis/Juliette Lewis;;;Andrew Jenkins/Stuart H
ughes/Tricia Helfer
    service_provider: WNBCDT
    service_name    : WNBCDT (WNBC-DT)
    WM/MediaNetworkAffiliation: NBC Affiliate
    WM/MediaOriginalChannel: 4
    WM/MediaOriginalChannelSubNumber: 1
    WM/MediaOriginalBroadcastDateTime: 0001-01-01T00:00:00Z
    WM/MediaOriginalRunTime: 17215789295
    WM/MediaIsStereo: true
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: TV-14
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2012-02-19 02:34:18
    WM/WMRVSeriesUID: !MCSeries!01419020
    WM/WMRVServiceID: !MCService!28459780
    WM/WMRVProgramID: !MCProgram!269627380
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 3
    WM/WMRVOriginalSoftPrePadding: 2176
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: -2056
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: true
    Duration        : 16944809188
    WM/WMRVEndTime  : 2012-02-19 03:02:32
    WM/WMRVBitrate  : 14.730353
    WM/WMRVKeepUntil: -1
    WM/WMRVActualSoftPrePadding: -1
    WM/WMRVActualSoftPostPadding: 152
    WM/WMRVContentProtected: false
    WM/WMRVContentProtectedPercent: 0
    WM/WMRVExpirationSpan: 9223372036854775807
    WM/WMRVInBandRatingSystem: 255
    WM/WMRVInBandRatingLevel: 255
    WM/WMRVInBandRatingAttributes: 0
    WM/WMRVWatched  : false
    WM/MediaThumbWidth: 352
    WM/MediaThumbHeight: 198
    WM/MediaThumbStride: 1056
    WM/MediaThumbRet: 0
    WM/MediaThumbRatingSystem: 9
    WM/MediaThumbRatingLevel: 14
    WM/MediaThumbRatingAttributes: 0
    WM/MediaThumbAspectRatioX: 16
    WM/MediaThumbAspectRatioY: 9
    WM/MediaThumbTimeStamp: -4616189618054758400
    WM/MediaThumbType: 2
    encoder         : Lavf54.49.102
    Stream #0:0(eng): Audio: ac3, 48000 Hz, 5.1(side), 384 kb/s
    Stream #0:1(spa): Audio: ac3, 48000 Hz, stereo, 192 kb/s
    Stream #0:2: Video: mpeg2video, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:2 -> #0:1 (copy)
  Stream #0:1 -> #0:2 (copy)
Press [q] to stop, [?] for help
pts (147120491) < dts (147120742) in stream 2me=00:26:52.25 bitrate=15661.8kbits/s
av_interleaved_write_frame(): Invalid argument
}}}"	ramitbhalla
git-master	2061	ffmpeg -vf drawtext not support ft_load_flags=vertical_layout	avfilter	git-master	defect	open	2012-12-24T03:59:06+01:00	2012-12-26T13:00:29+01:00	"'''Summary of the bug:'''
    ffmpeg -vf drawtext not support ft_load_flags=vertical_layout
'''How to reproduce:'''

ffmpeg.exe -i 1.avi -codec:v libx264 -vf drawtext=""ft_load_flags=render+vertical_layout:shadowcolor=0xaaaaaa66:shadowx=5:shadowy=2:fontcolor=white:fontsize=40:fontfile=STXIHEI.TTF:text='ABC':x=10:y=10"" 21.avi 

Only use ft_load_flags=render is ok to render ABC on video.

'''ffmpeg version：'''
ffmpeg version N-47062-g26c531c Copyright (c) 2000-2012 the FFmpeg developers

'''built on Nov 25 2012 12:21:26 with gcc 4.7.2 (GCC)'''
  configuration: --enable-gpl --enable-version3 --disable-pthreads --enable-runt
ime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass -
-enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enab
le-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-libo
pus --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
  libavutil      52.  9.100 / 52.  9.100
  libavcodec     54. 77.100 / 54. 77.100
  libavformat    54. 37.100 / 54. 37.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 23.102 /  3. 23.102
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 17.101 /  0. 17.101
  libpostproc    52.  2.100 / 52.  2.100
"	visual.zhang
git-master	2073	m4v with h264 container problem, but with mp4 is working fine	undetermined	git-master	defect	new	2012-12-27T20:43:01+01:00	2012-12-27T22:00:12+01:00	"Summary of the bug:
Hello, I need to use m4v container.
When I try to convert video with h264 encoding and mp4 container it is fine. The converted video is playing, but when I try to switch to m4v the output file is unplayable. I tried to play the video by using VLC and QuickTime.

ffmpeg.exe -i pb.avi -an -vcodec libx264 -preset fast -profile:v baseline -f mp4 pbtest.mp4

ffmpeg.exe -i pb.avi -an -vcodec libx264 -preset fast -profile:v baseline -f m4v pbtest.m4v

How to reproduce:
{{{
C:\ffmpeg>ffmpeg.exe -i pb.avi -an -vcodec libx264 -preset fast -profile:v baseline -f mp4 pbtest.mp4
ffmpeg version N-48218-ga2349dc Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 26 2012 16:59:00 with gcc 4.7.2 (GCC)
  configuration: --enable-static --arch=x86_64 --target-os=mingw32 --cross-prefi
x=/ffmpeg_build/build/mgw/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=
pkg-config --enable-gpl --disable-ffplay --disable-ffprobe --enable-libx264 --en
able-avisynth --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable
-libspeex --enable-libfreetype --enable-fontconfig --enable-libass --disable-w32
threads --enable-filter=subtitles --extra-cflags=-DPTW32_STATIC_LIB --enable-lib
vpx --enable-runtime-cpudetect
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 50.102 / 54. 50.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.101 /  3. 30.101
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpeg4 @ 00000000035413e0] Invalid and inefficient vfw-avi packed B frames detec
ted
Input #0, avi, from 'pb.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2540/release)
  Duration: 00:39:45.53, start: 0.000000, bitrate: 1225 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv
420p, 640x352 [SAR 1:1 DAR 20:11], 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 32 kb
/s
File 'pbtest.mp4' already exists. Overwrite ? [y/N] y
using SAR=1/1
[libx264 @ 000000000037e480] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShu
ffle SSE4.2 AVX
[libx264 @ 000000000037e480] profile Constrained Baseline, level 3.0
[libx264 @ 000000000037e480] 264 - core 129 r2230 1cffe9f - H.264/MPEG-4 AVC cod
ec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=0 r
ef=2 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed
_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pski
p=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 dec
imate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 key
int=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 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 'pbtest.mp4':
  Metadata:
    encoder         : Lavf54.50.102
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 640x352 [SAR 1:1
 DAR 20:11], q=-1--1, 12800 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> libx264)
Press [q] to stop, [?] for help
[mpeg4 @ 00000000078ac6e0] Invalid and inefficient vfw-avi packed B frames detec
ted
frame=  159 fps=0.0 q=28.0 size=     233kB time=00:00:04.64 bitrate= 411.6kbits/
frame=  320 fps=311 q=28.0 size=     573kB time=00:00:11.08 bitrate= 423.8kbits/
frame=  463 fps=300 q=28.0 size=     942kB time=00:00:16.80 bitrate= 459.3kbits/
frame=  605 fps=294 q=28.0 size=    1319kB time=00:00:22.48 bitrate= 480.5kbits/
frame=  767 fps=298 q=28.0 size=    1703kB time=00:00:28.96 bitrate= 481.6kbits/
frame=  778 fps=283 q=511.0 Lsize=    1816kB time=00:00:31.12 bitrate= 478.0kbit
s/s dup=1 drop=0
video:1812kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.214753%
[libx264 @ 000000000037e480] frame I:36    Avg QP:19.30  size: 11453
[libx264 @ 000000000037e480] frame P:742   Avg QP:22.46  size:  1944
[libx264 @ 000000000037e480] mb I  I16..4: 51.1%  0.0% 48.9%
[libx264 @ 000000000037e480] mb P  I16..4:  4.5%  0.0%  1.9%  P16..4: 32.5%  7.0
%  2.0%  0.0%  0.0%    skip:52.1%
[libx264 @ 000000000037e480] coded y,uvDC,uvAC intra: 35.7% 57.3% 13.5% inter: 7
.2% 14.4% 0.1%
[libx264 @ 000000000037e480] i16 v,h,dc,p: 58% 19% 13% 11%
[libx264 @ 000000000037e480] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 22% 19%  5%  6%
 5%  5%  5%  4%
[libx264 @ 000000000037e480] i8c dc,h,v,p: 52% 20% 25%  4%
[libx264 @ 000000000037e480] ref P L0: 75.2% 24.8%
[libx264 @ 000000000037e480] kb/s:476.85
Received signal 2: terminating.

C:\ffmpeg>
C:\ffmpeg>
C:\ffmpeg>
C:\ffmpeg>
C:\ffmpeg>
C:\ffmpeg>ffmpeg.exe -i pb.avi -an -vcodec libx264 -preset fast -profile:v baseline -f m4v pbtest.m4v
ffmpeg version N-48218-ga2349dc Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 26 2012 16:59:00 with gcc 4.7.2 (GCC)
  configuration: --enable-static --arch=x86_64 --target-os=mingw32 --cross-prefi
x=/ffmpeg_build/build/mgw/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=
pkg-config --enable-gpl --disable-ffplay --disable-ffprobe --enable-libx264 --en
able-avisynth --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable
-libspeex --enable-libfreetype --enable-fontconfig --enable-libass --disable-w32
threads --enable-filter=subtitles --extra-cflags=-DPTW32_STATIC_LIB --enable-lib
vpx --enable-runtime-cpudetect
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 50.102 / 54. 50.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.101 /  3. 30.101
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpeg4 @ 00000000035a13e0] Invalid and inefficient vfw-avi packed B frames detec
ted
Input #0, avi, from 'pb.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2540/release)
  Duration: 00:39:45.53, start: 0.000000, bitrate: 1225 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv
420p, 640x352 [SAR 1:1 DAR 20:11], 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 32 kb
/s
File 'pbtest.m4v' already exists. Overwrite ? [y/N] y
using SAR=1/1
[libx264 @ 0000000001b9e3c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShu
ffle SSE4.2 AVX
[libx264 @ 0000000001b9e3c0] profile Constrained Baseline, level 3.0
Output #0, m4v, to 'pbtest.m4v':
  Metadata:
    encoder         : Lavf54.50.102
    Stream #0:0: Video: h264, yuv420p, 640x352 [SAR 1:1 DAR 20:11], q=-1--1, 90k
 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> libx264)
Press [q] to stop, [?] for help
[mpeg4 @ 0000000007967c00] Invalid and inefficient vfw-avi packed B frames detec
ted
frame=  187 fps=0.0 q=28.0 size=     268kB time=00:00:05.76 bitrate= 381.4kbits/
frame=  333 fps=323 q=28.0 size=     616kB time=00:00:11.60 bitrate= 435.2kbits/
frame=  473 fps=306 q=28.0 size=     964kB time=00:00:17.20 bitrate= 459.1kbits/
frame=  617 fps=300 q=28.0 size=    1354kB time=00:00:22.96 bitrate= 483.2kbits/
frame=  772 fps=300 q=28.0 size=    1710kB time=00:00:29.16 bitrate= 480.3kbits/
frame=  903 fps=292 q=28.0 size=    2051kB time=00:00:34.40 bitrate= 488.4kbits/
frame=  979 fps=283 q=3599.0 Lsize=    2346kB time=00:00:39.16 bitrate= 490.7kbi
ts/s dup=1 drop=0
video:2346kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.000000%
[libx264 @ 0000000001b9e3c0] frame I:48    Avg QP:19.67  size: 10922
[libx264 @ 0000000001b9e3c0] frame P:931   Avg QP:22.76  size:  2017
[libx264 @ 0000000001b9e3c0] mb I  I16..4: 52.7%  0.0% 47.3%
[libx264 @ 0000000001b9e3c0] mb P  I16..4:  4.6%  0.0%  2.2%  P16..4: 33.3%  7.4
%  2.1%  0.0%  0.0%    skip:50.4%
[libx264 @ 0000000001b9e3c0] coded y,uvDC,uvAC intra: 37.1% 57.0% 12.9% inter: 7
.5% 14.3% 0.1%
[libx264 @ 0000000001b9e3c0] i16 v,h,dc,p: 58% 18% 13% 11%
[libx264 @ 0000000001b9e3c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 20% 19%  5%  5%
 5%  5%  5%  4%
[libx264 @ 0000000001b9e3c0] i8c dc,h,v,p: 51% 19% 27%  4%
[libx264 @ 0000000001b9e3c0] ref P L0: 75.1% 24.9%
[libx264 @ 0000000001b9e3c0] kb/s:490.69
Received signal 2: terminating.

C:\ffmpeg>
}}}
"	nikov
git-master	2077	Realmedia rv40 file cannot be demuxed	avformat	git-master	defect	new	2012-12-29T13:10:05+01:00	2012-12-29T13:10:56+01:00	"A user uploaded a sample that plays fine with MPlayer:
$ mplayer problem.rm -demuxer real -vc ffrv40
Decoding fails with mplayer -demuxer lavf and FFmpeg.
{{{
$ ffmpeg -i problem.rm
ffmpeg version N-48268-gba34e56 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 29 2012 06:41:55 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 50.104 / 54. 50.104
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.101 /  3. 30.101
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[rm @ 0x21cf500] Unsupported stream type 000003a4
[rm @ 0x21cf500] Unsupported stream type 00000292
[rm @ 0x21cf500] DATA tag in middle of chunk, file may be broken.
[rm @ 0x21cf500] DTS discontinuity in stream 3: packet 8 with DTS 2235389, packet 9 with DTS 8451993
[rm @ 0x21cf500] DTS discontinuity in stream 3: packet 12 with DTS 8460526, packet 13 with DTS 311043454
[rm @ 0x21cf500] DTS discontinuity in stream 3: packet 30 with DTS 164687, packet 31 with DTS 209101495
[rm @ 0x21cf500] DTS discontinuity in stream 3: packet 62 with DTS 8520781, packet 63 with DTS 914045114
[rm @ 0x21cf500] DTS discontinuity in stream 3: packet 69 with DTS 8462776, packet 70 with DTS 916838991
[rm @ 0x21cf500] DTS discontinuity in stream 3: packet 74 with DTS 17256, packet 75 with DTS 51380227
[rm @ 0x21cf500] max_analyze_duration 5000000 reached at 5000000
Input #0, rm, from 'problem.rm':
  Metadata:
    Audiences       : 16k Substream for 28k Dial-up;28k Dial-up;56k Dial-up;256k DSL or Cable;
    audioMode       : music
    Creation Date   : 4/30/2005 11:23:03
    Generated By    : RealProducer(R) Plus 10.0 for Windows, Build 10.0.0.545
    Modification Date: 4/30/2005 11:29:42
    videoMode       : normal
    ASMRuleBook     : #($Bandwidth < 20000),Stream7Bandwidth = 10000, Stream8Bandwidth = 6000;#($Bandwidth >= 20000) && ($Bandwidth < 34000),Stream7B
    title           :
    author          :
    copyright       : (C) 2004
    comment         :
  Duration: 00:03:43.49, start: 0.000000, bitrate: 292 kb/s
    Stream #0:0: Data: none
    Stream #0:1: Data: none
    Stream #0:2: Video: rv40 (RV40 / 0x30345652), yuv420p, 360x288, 10 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
    Stream #0:3: Video: rv40 (RV40 / 0x30345652), yuv420p, 360x288, 12 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
    Stream #0:4: Video: rv40 (RV40 / 0x30345652), yuv420p, 360x288, 26 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
    Stream #0:5: Video: rv40 (RV40 / 0x30345652), yuv420p, 360x288, 180 kb/s, 25 fps, 25 tbr, 1k tbn, 1k tbc
    Stream #0:6: Audio: cook (cook / 0x6B6F6F63), 8000 Hz, mono, fltp, 6 kb/s
    Stream #0:7: Audio: cook (cook / 0x6B6F6F63), 8000 Hz, mono, fltp, 8 kb/s
    Stream #0:8: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, stereo, fltp, 44 kb/s
    Stream #0:9: Video: rv40 (RV40 / 0x30345652), yuv420p, 360x288, 10 kb/s, 15 fps, 15 tbr, 1k tbn, 1k tbc
At least one output file must be specified
}}}"	cehoyos
git-master	2082	mjpeg: low quality + restart (and grayscale) = lower quality than libjpeg	avcodec	git-master	defect	open	2012-12-30T16:20:34+01:00	2012-12-30T16:49:33+01:00	"{{{
cjpeg -targa -quality 15 -progressive -restart 17 -grayscale test.tga >q15r17.jpg
}}}

{{{
cjpeg -targa -quality 5 -progressive -restart 17 -grayscale test.tga >q5r17.jpg
}}}

{{{
cjpeg -targa -quality 1 -progressive -restart 17 -grayscale test.tga >q1r17.jpg
}}}

Please decode attached samples with ffmpeg and djpeg. The output from djpeg looks less blocky
The problem is most visible with q1r17.jpg when we compare output from ffmpeg and djpeg.

This is related to restart option, for example there is no problem while decoding:

{{{
cjpeg -targa -quality 1 -progressive -restart 0 -grayscale test.tga >q1r0.jpg
}}}

with ffmpeg (ffmpeg and djpeg output matches).

{{{
C:\>ffmpeg -i q1r17.jpg out.bmp
ffmpeg version N-48239-g69db85c Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 28 2012 02:20:50 with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.
0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 50.102 / 54. 50.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.101 /  3. 30.101
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, image2, from 'q1r17.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, gray, 1024x768 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn,
 25 tbc
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf54.50.102
    Stream #0:0: Video: bmp, gray, 1024x768 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s,
 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg -> bmp)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:769kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.002794%
}}}"	ami_stuff
git-master	2084	Wrong duration and negative bitrate in mpeg stream with timestamp discontinuity	undetermined	git-master	defect	new	2012-12-30T21:07:43+01:00	2012-12-30T21:07:43+01:00	"A user provided a 2.9 G DVD rip that shows a duration of ""00:00:01.06"" and a bitrate of ""-2147483 kb/s"" with ffmpeg -i. The reason is a timestamp discontinuity approximately 1 sec before the end of the stream. I cut the sample to only contain the last seconds, and the duration is also wrong, the bitrate is shown as 0kb/s.
{{{
$ ffmpeg -i negative-bitrate-sample.mpg
ffmpeg version N-48311-gc36302a Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 30 2012 19:01:34 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --enable-avresample
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 50.104 / 54. 50.104
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpeg @ 0x1ed7540] max_analyze_duration 5000000 reached at 5000000
Input #0, mpeg, from 'negative-bitrate-sample.mpg':
  Duration: 00:00:01.06, start: 0.287267, bitrate: -2147483 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:2[0x23]: Subtitle: dvd_subtitle
At least one output file must be specified
}}}
{{{
$ ffmpeg -probesize 2147483647 -analyzeduration 2147483647 -i ../MPlayer/negative-bitrate-sample.mpg
ffmpeg version N-48311-gc36302a Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 30 2012 19:01:34 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --enable-avresample
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 50.104 / 54. 50.104
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpeg @ 0x17c0720] max_analyze_duration 2147483647 reached at 2147520000
Input #0, mpeg, from '../MPlayer/negative-bitrate-sample.mpg':
  Duration: 00:00:01.06, start: 0.287267, bitrate: -2147483 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:2[0x23]: Subtitle: dvd_subtitle
    Stream #0:3[0x21]: Subtitle: dvd_subtitle
    Stream #0:4[0x20]: Subtitle: dvd_subtitle
    Stream #0:5[0x22]: Subtitle: dvd_subtitle
At least one output file must be specified
}}}
{{{
$ ffmpeg -i negative-bitrate-sample_cut.mpg
ffmpeg version N-48311-gc36302a Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 30 2012 19:01:34 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --enable-avresample
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 50.104 / 54. 50.104
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpeg2video @ 0x2b72f80] mpeg_decode_postinit() failure
    Last message repeated 4 times
[mpeg @ 0x2b6c540] DTS discontinuity in stream 1: packet 76 with DTS 343638654, packet 77 with DTS 8589956846
[mpeg @ 0x2b6c540] DTS discontinuity in stream 0: packet 104 with DTS 343641534, packet 105 with DTS 8589960446
Input #0, mpeg, from 'negative-bitrate-sample_cut.mpg':
  Duration: 25:27:10.12, start: 3814.943267, bitrate: 0 kb/s
    Stream #0:0[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:2[0x20]: Subtitle: dvd_subtitle
    Stream #0:3[0x21]: Subtitle: dvd_subtitle
    Stream #0:4[0x22]: Subtitle: dvd_subtitle
    Stream #0:5[0x23]: Subtitle: dvd_subtitle
At least one output file must be specified
}}}

"	cehoyos
git-master	2085	MP4 remux with playback stuck at 2nd seconds	undetermined	git-master	defect	new	2012-12-30T21:40:16+01:00	2013-02-18T18:48:42+01:00	"Summary of the bug:

We use FLV captured stream from webcam (using application build for Flash Player), h264 comes direct from the flash, but audio stream '''Speex''' should be encoded to '''AAC''' to make the streams compatible with mobile devices '''h264 (Baseline) + AAC'''.

Video stream should not be encoded again, so we use the copy method, like the following:

{{{
ffmpeg -i input.flv -c:v copy -c:a libvo_aacenc output.mp4
}}}

The resulted '''MP4''' video files plays back well on Flash Player 11.4+ and iPhone/iPad with iOS 5+ (Baseline compatible video stream). but on Android devices and Flash Player 11.1/11.2 the playback freezes at 2-3 seconds. We also use qt-faststart, but it doesn't affect on stuck problem.

Stdout of ffmpeg encoding script:


{{{
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 17 2012 23:45:34 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/1.0 --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libvo-aacenc --enable-libspeex
  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
[libspeex @ 0x7fabb902ea00] Missing Speex header, assuming defaults.
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, flv, from '1.flv':
  Metadata:
    creationdate    : Thu Nov 22 09:46:36
    duration2       : 29964
  Duration: 00:00:30.25, start: 0.000000, bitrate: 212 kb/s
    Stream #0:0: Video: h264 (Baseline), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 20 tbr, 1k tbn, 40 tbc
    Stream #0:1: Audio: speex, 16000 Hz, mono, s16
File '1.mp4' already exists. Overwrite ? [y/N] y
Missing Speex header, assuming defaults.
Output #0, mp4, to '1.mp4':
  Metadata:
    creationdate    : Thu Nov 22 09:46:36
    duration2       : 29964
    encoder         : Lavf54.29.104
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 1k tbn, 1k tbc
    Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 16000 Hz, mono, s16, 96 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (libspeex -> libvo_aacenc)
Press [q] to stop, [?] for help
[mp4 @ 0x7fabb9012800] st:0 PTS: 2139 DTS: 2139 < 2140 invalid, clipping
[mp4 @ 0x7fabb9012800] st:0 PTS: 2722 DTS: 2722 < 2723 invalid, clipping
[mp4 @ 0x7fabb9012800] st:0 PTS: 5440 DTS: 5440 < 5441 invalid, clipping
[mp4 @ 0x7fabb9012800] st:0 PTS: 8105 DTS: 8105 < 8106 invalid, clipping
[mp4 @ 0x7fabb9012800] st:0 PTS: 10772 DTS: 10772 < 10773 invalid, clipping
[mp4 @ 0x7fabb9012800] st:0 PTS: 13456 DTS: 13456 < 13457 invalid, clipping
[mp4 @ 0x7fabb9012800] st:0 PTS: 16127 DTS: 16127 < 16128 invalid, clipping
[mp4 @ 0x7fabb9012800] st:0 PTS: 18835 DTS: 18835 < 18836 invalid, clipping
[mp4 @ 0x7fabb9012800] st:0 PTS: 21675 DTS: 21675 < 21676 invalid, clipping
[mp4 @ 0x7fabb9012800] st:0 PTS: 24476 DTS: 24476 < 24477 invalid, clipping
[mp4 @ 0x7fabb9012800] st:0 PTS: 27283 DTS: 27283 < 27284 invalid, clipping
[mp4 @ 0x7fabb9012800] st:0 PTS: 30079 DTS: 30079 < 30080 invalid, clipping
frame=  454 fps=0.0 q=-1.0 Lsize=     978kB time=00:00:30.31 bitrate= 264.4kbits/s    
video:620kB audio:346kB subtitle:0 global headers:0kB muxing overhead 1.170369%
}}}



I tried different versions of ffmpeg (0.10, 0.11, 1.0, 1.01) compiled with mandatory '''--with-libvo-aacenc --with-speex''', but the problem still not resolved."	mikhailov
git-master	2092	Remuxing odd width rawvideo in mov produces unplayable files	undetermined	git-master	defect	new	2013-01-01T16:37:36+01:00	2013-01-01T16:39:51+01:00	"With the sample from ticket #339:
{{{
$ ffmpeg -i YV12.mov -vcodec copy out.mov
ffmpeg version N-48375-gc14f8a5 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  1 2013 16:29:16 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.100 / 54. 85.100
  libavformat    54. 58.102 / 54. 58.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'YV12.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-05-12 00:39:04
  Duration: 00:00:01.87, start: 0.000000, bitrate: 4370 kb/s
    Stream #0:0(eng): Video: rawvideo (I420 / 0x30323449), yuv420p, 190x126, 4366 kb/s, SAR 12033:12065 DAR 191:127, 15 fps, 15 tbr, 15 tbn, 15 tbc
    Metadata:
      creation_time   : 2011-05-12 00:39:04
      handler_name    : Procedura obs�ugi skr�t�w danych Apple
Output #0, mov, to 'out.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    encoder         : Lavf54.58.102
    Stream #0:0(eng): Video: rawvideo (raw  / 0x20776172), yuv420p, 190x126 [SAR 12033:12065 DAR 191:127], q=2-31, 4366 kb/s, 15 fps, 15360 tbn, 15 tbc
    Metadata:
      creation_time   : 2011-05-12 00:39:04
      handler_name    : Procedura obs�ugi skr�t�w danych Apple
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame=   28 fps=0.0 q=-1.0 Lsize=     996kB time=00:00:01.86 bitrate=4369.6kbits/s
video:995kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.078525%
}}}
{{{
$ ffmpeg -i out.mov out.avi
ffmpeg version N-48375-gc14f8a5 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  1 2013 16:29:16 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.100 / 54. 85.100
  libavformat    54. 58.102 / 54. 58.10