__group__	ticket	summary	version	type	status	created	_changetime	_description	_reporter
FFmpeg	399	ffmpeg showing incorrect pts	unspecified	defect	open	2011-08-16T16:48:13+02:00	2013-01-01T21:35:55+01:00	"When using tstools' tsreport tool (http://code.google.com/p/tstools/) I got this list of PTS:
126000, 129750, 133500, 137250, 141000, 144750, 148500, 152250, 156000, 126000, 159750, 163500, 167250

When using FFmpeg's filter showinfo the PTS timestamps are totally different:
0, 41667, 83333, 125000, 166667, 208333, 250000, 291667, 333333, 375000, 416667, 458333

When playing the video using libavcodec/libavformat, the timestamps are the same as the ones tsreport shows.

ffmpeg -y -vf showinfo -i seekbug01min.ts -f rawvideo /dev/null 
ffmpeg version N-31914-g47219e1, Copyright (c) 2000-2011 the FFmpeg developers
  built on Aug 16 2011 14:53:24 with gcc 4.5.2
  configuration: --enable-avfilter --enable-frei0r --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-nonfree --enable-pic --enable-pthreads --enable-shared --enable-version3 --enable-x11grab --disable-optimizations
  libavutil    51. 12. 0 / 51. 12. 0
  libavcodec   53. 10. 0 / 53. 10. 0
  libavformat  53.  7. 0 / 53.  7. 0
  libavdevice  53.  3. 0 / 53.  3. 0
  libavfilter   2. 31. 1 /  2. 31. 1
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[mpegts @ 0x1176460] Continuity Check Failed
    Last message repeated 3 times                                                                                                                                                
Input #0, mpegts, from 'seekbug01min.ts':
  Duration: 00:00:00.45, start: 1.400000, bitrate: 178 kb/s
  Program 1 
    Metadata:
      service_name    : Big Buck Bunny
      service_provider: FFmpeg
    Stream #0.0[0x100]: Video: h264 (Constrained Baseline), yuv420p, 320x180 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 90k tbn, 48 tbc
    Stream #0.1[0x101](und): Audio: mp2, 48000 Hz, stereo, s16, 64 kb/s
[buffer @ 0x117ae40] w:320 h:180 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
Output #0, rawvideo, to '/dev/null':
  Metadata:
    encoder         : Lavf53.7.0
    Stream #0.0: Video: rawvideo, yuv420p, 320x180 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 24 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
[mpegts @ 0x1176460] Continuity Check Failed
    Last message repeated 1 times                                                                                                                                                
[showinfo @ 0x117d780] n:0 pts:0 pts_time:0.000000 pos:564 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:1 type:I checksum:603776523 plane_checksum:[3225751762 3029265045 3029265045 0]
[showinfo @ 0x117d780] n:1 pts:41667 pts_time:0.041667 pos:1504 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:603776523 plane_checksum:[3225751762 3029265045 3029265045 0]
[showinfo @ 0x117d780] n:2 pts:83333 pts_time:0.083333 pos:1692 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:603776523 plane_checksum:[3225751762 3029265045 3029265045 0]
[showinfo @ 0x117d780] n:3 pts:125000 pts_time:0.125000 pos:1880 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:603776523 plane_checksum:[3225751762 3029265045 3029265045 0]
[showinfo @ 0x117d780] n:4 pts:166667 pts_time:0.166667 pos:2068 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:321782142 plane_checksum:[966806382 2886587449 591323577 0]
[showinfo @ 0x117d780] n:5 pts:208333 pts_time:0.208333 pos:2632 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:1010078484 plane_checksum:[3458918426 414630700 4286638000 0]
[showinfo @ 0x117d780] n:6 pts:250000 pts_time:0.250000 pos:3196 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:1804330054 plane_checksum:[2996844705 2498675835 1603397403 0]
[showinfo @ 0x117d780] n:7 pts:291667 pts_time:0.291667 pos:3572 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:3219605500 plane_checksum:[916690920 1286459717 3285966513 0]
[showinfo @ 0x117d780] n:8 pts:333333 pts_time:0.333333 pos:4136 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:867321723 plane_checksum:[1520540519 419613641 1910038573 0]
[showinfo @ 0x117d780] n:9 pts:375000 pts_time:0.375000 pos:7708 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:3041545686 plane_checksum:[3034423407 2837631021 3697466652 0]
[showinfo @ 0x117d780] n:10 pts:416667 pts_time:0.416667 pos:8648 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:3795962486 plane_checksum:[2808617211 234344642 3924811946 0]
[showinfo @ 0x117d780] n:11 pts:458333 pts_time:0.458333 pos:9400 fmt:yuv420p sar:1/1 s:320x180 i:P iskey:0 type:P checksum:14086197 plane_checksum:[2486256520 483773749 3300581225 0]
frame=   12 fps=  0 q=0.0 Lsize=       0kB time=00:00:00.50 bitrate=   0.0kbits/s    
video:1012kB audio:0kB global headers:0kB muxing overhead -100.000000%
"	takis
FFmpeg	515	Problem in video rotation in FFMPEG for IPhone video	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
FFmpeg	933	A/V desynch when transcoding A/V files with timestamps non starting from 0 with -copyts	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
FFmpeg	977	stream copy duration does not match the one specified by -t when -ss is used	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
FFmpeg	1349	itsoffset doesn't work for second input file (audio)	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
FFmpeg	1623	libutvideo fails to link to FFmpeg if assembly is enabled	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
FFmpeg	1670	-filter_complex doesn't handle well finite video + infinite audio	unspecified	defect	new	2012-08-21T22:11:24+02:00	2013-05-12T22:43:34+02:00	"Given a 60 seconds video stream:

{{{
./ffmpeg -v 0 -f lavfi -i testsrc=d=60 -y video.mp4
}}}

and a 5 seconds audio stream:

{{{
./ffmpeg -v 0 -f lavfi -i 'aevalsrc=sin(440*2*PI*t)::d=5' -y audio.wav
}}}

We can make a video presentation of 60 seconds with the 5 seconds audio padded with silence with the following command line:

{{{
./ffmpeg -f lavfi -i 'movie=video.mp4 [out0]; amovie=audio.wav [audio]; aevalsrc=0 [silence]; [audio][silence] concat=v=0:a=1 [out1]' -y out.avi
}}}

Unfortunately, this doesn't work with the -filter_complex option:
              
{{{
% ./ffmpeg -i video.mp4 -i audio.wav -filter_complex 'aevalsrc=0 [silence]; [1:0][silence] concat=v=0:a=1 [padded_audio]' -map 0:0 -map '[padded_audio]' -y out.avi     
ffmpeg version N-43791-g2c7a622 Copyright (c) 2000-2012 the FFmpeg developers
  built on Aug 21 2012 21:01:23 with gcc 4.7.1 (GCC) 20120721 (prerelease)
  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='ccache colorgcc' --samples=/home/ubitux/fate-samples --prefix=/tmp/ffinstall
  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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.25.104
  Duration: 00:01:00.00, start: 0.000000, bitrate: 37 kb/s
    Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p, 320x240 [SAR 1:1 DAR 4:3], 34 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Metadata:
      handler_name    : VideoHandler
Guessed Channel Layout for  Input Stream #1.0 : mono
Input #1, wav, from 'audio.wav':
  Duration: 00:00:05.01, bitrate: 705 kb/s
    Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, s16, 705 kb/s
Output #0, avi, to 'out.avi':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    ISFT            : Lavf54.25.104
    Stream #0:0(und): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, s16
Stream mapping:
  Stream #1:0 (pcm_s16le) -> concat:in0:a0 (graph 0)
  Stream #0:0 -> #0:0 (h264 -> mpeg4)
  concat (graph 0) -> Stream #0:1 (libmp3lame)
Press [q] to stop, [?] for help
frame= 1500 fps=177 q=9.6 Lsize=   13088kB time=00:01:00.00 bitrate=1786.9kbits/s    
}}}

This creates some kind of infinite loop, with fps slightly decreasing over time (+memory leak)"	ubitux
FFmpeg	1712	Audio precision in lossless and long time to encode.	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
FFmpeg	2012	-filter without specifier fails without explicit error	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
FFmpeg	2260	FFmpeg doesn't auto-select subtitle codec for MP4	git-master	defect	new	2013-02-10T21:23:54+01:00	2013-03-16T21:40:16+01:00	"FFmpeg doesn't seem to be able to auto-select the proper subtitle codec for MP4, which would be {{{mov_text}}}.

I expect FFmpeg to automatically choose the codec, similar to how it does with {{{libx264}}} and {{{libfaac}}}.

{{{
ffmpeg -i in.mp4 -i subs.srt -c:v copy -c:a copy -map 0 -map 1 out.mp4
ffmpeg version 1.1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb  8 2013 22:55:29 with Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/1.1.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-libopenjpeg --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1/include/openjpeg-1.5 '
  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 'in.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2012-01-08 11:16:19
    encoder         : Lavf53.24.0
  Duration: 00:03:31.58, start: 0.000000, bitrate: 2359 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 2229 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
    Metadata:
      creation_time   : 2012-01-08 11:16:19
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 125 kb/s
    Metadata:
      creation_time   : 2012-01-08 11:16:19
      handler_name    : SoundHandler
[srt @ 0x7fb8ea843c00] Estimating duration from bitrate, this may be inaccurate
Input #1, srt, from 'subs.srt':
  Duration: N/A, bitrate: N/A
    Stream #1:0: Subtitle: subrip
File 'out.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'out.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf53.24.0
    Stream #0:0(eng): Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 2229 kb/s, 25 fps, 90k tbn, 25 tbc
    Metadata:
      creation_time   : 2012-01-08 11:16:19
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac, 48000 Hz, stereo, 125 kb/s
    Metadata:
      creation_time   : 2012-01-08 11:16:19
      handler_name    : SoundHandler
    Stream #0:2: Subtitle: none
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #1:0 -> #0:2 (subrip -> ?)
Encoder (codec none) not found for output stream #0:2
}}}

Encoding with {{{-c:s mov_text}}} works fine.
"	slhck
FFmpeg	2360	FFmpeg rtp streaming was not synchronous	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
FFmpeg	2627	Using -vf fps results in no audio	git-master	defect	new	2013-06-02T22:46:53+02:00	2013-06-02T22:50:54+02:00	"Summary of the bug:
When using -vf fps filter there is no sound in the output. I tried with mplayer, vlc and xine and all behave the same. No sound at all. mplayer even reports that there is no audio track, even though MediaInfo says there is

The input in this case is 25 fps and I'm trying to convert it to 29.970

How to reproduce:
{{{
% /usr/local/bin/ffmpeg -i var/VideoSamples/var/jlo.mpg -c:v mpeg2video -b:v 3500k -c:a ac3 -b:a 192k -vf fps=fps=29.970 -y out.mpg
}}}
"	microchip
FFmpeg	1463	ffmpeg.exe on Windows does not respond properly to Ctrl+Break	git-master	enhancement	open	2012-06-19T09:18:26+02:00	2013-05-16T08:49:05+02:00	"In addition to SIGINT, on Windows it is common to send a different signal, SIGBREAK, which has similar effects. This can be triggered by pressing Ctrl+Break or by another process sending a signal.

New process groups on WIn32 usually ignore SIGINT; it is customary to stop a process in a separate process group by sending SIGBREAK.

The attached patch makes ffmpeg.exe respond to SIGBREAK in the same way it does SIGINT, using the WIndows console ""control event"" handler."	joewreschnig
FFmpeg	2680	Automatically use necessary bitstream filters	unspecified	enhancement	new	2013-06-17T13:22:29+02:00	2013-06-17T13:22:29+02:00	"It seems silly that ffmpeg gives you an error message telling you exactly what to do in order to make your command work (""retry with -bsf h264_mp4toannexb"" for example) and not just do it automatically.

Not requiring the user to do this manually would be most convenient, and make it possible to use the tee muxer when the outputs require different, non-compatible filters."	jameshowe
FFmpeg	1867	License violation in all MediaHuman products	unspecified	license violation	new	2012-10-29T20:17:38+01:00	2012-10-29T20:17:54+01:00	"
All products (free and paying apps) uses FFmpeg:

- FFmpeg -L gives: ""This version of ffmpeg has nonfree parts compiled in. Therefore it is not legally redistributable.""
- No credits to FFmpeg (only small prints on the main page it is under LGPLv2.1 which is not applicable (non-free)
- No additional info about compiling options

Products that violate : Audio Converter, YouTube to MP3 and VideoConverter.

Developer is aware of this but doesn't do anything about it. (don't care attitude).

"	BenjaminW
FFmpeg	2491	audio stream start_time & duration overspan when encoding & split a video (-ss, -t)	git-master	enhancement	new	2013-04-22T03:07:52+02:00	2013-04-22T03:19:31+02:00	"I'm trying to extract and encode a segment of a video with a given start time and duration.

Until version 0.10.7 the start time and duration of the extracted audio stream were almost accurate compared to the video stream.

Since version 0.11.3 additional audio packets are appended that lies outside of the requested duration -> the audio stream is 'much' longer than the video stream compared to the result with version 0.10.7.

Since version 1.1.4 the behavior changed again, the audio packets no longer starts with pts_time 0.0, instead they got an offset. This offset will also be added to the regular duration of the last audio packet. Technically the values belongs to the requested timespan:
first_packet_pts_time + packet_duration > -ss <start_time>
last packet_pts_time < -ss <start_time> + -t <duration>
However the output of version 0.10.7 is more logical...

Why making a fuss about 20~50ms additional difference between the stream durations? The higher accuracy (like in version 0.10.7) is required when you want to concatenate multiple segments, where different stream start times & durations playing an important role to prevent 'gaps' in the video stream (-> [http://code.google.com/p/ffmpegyag/issues/detail?id=2 explained here])

----

shell script for testing:
{{{
#!/bin/sh

cd ""$(dirname ""$0"")""

# extract and encode segments with different ffmpeg versions
ffmpeg-0.10.7 -i ""Agnis Philosophy.mp4"" -strict experimental -f mp4 -c:a aac -c:v mpeg4 -ss 00:00:11.000 -t 00:00:12.666 -y ""agnis-part_0.10.7.mp4""
ffmpeg-0.11.3 -i ""Agnis Philosophy.mp4"" -strict experimental -f mp4 -c:a aac -c:v mpeg4 -ss 00:00:11.000 -t 00:00:12.666 -y ""agnis-part_0.11.3.mp4""
ffmpeg-1.0.6 -i ""Agnis Philosophy.mp4"" -strict experimental -f mp4 -c:a aac -c:v mpeg4 -ss 00:00:11.000 -t 00:00:12.666 -y ""agnis-part_1.0.6.mp4""
ffmpeg-1.1.4 -i ""Agnis Philosophy.mp4"" -strict experimental -f mp4 -c:a aac -c:v mpeg4 -ss 00:00:11.000 -t 00:00:12.666 -y ""agnis-part_1.1.4.mp4""
ffmpeg-1.2 -i ""Agnis Philosophy.mp4"" -strict experimental -f mp4 -c:a aac -c:v mpeg4 -ss 00:00:11.000 -t 00:00:12.666 -y ""agnis-part_1.2.mp4""

# extract stream infos from each encoded segment
ffprobe -show_streams 'agnis-part_0.10.7.mp4' | grep 'STREAM\|start_time\|duration\|nb_frames' > 'info_0.10.7.txt'
ffprobe -show_streams 'agnis-part_0.11.3.mp4' | grep 'STREAM\|start_time\|duration\|nb_frames' > 'info_0.11.3.txt'
ffprobe -show_streams 'agnis-part_1.0.6.mp4' | grep 'STREAM\|start_time\|duration\|nb_frames' > 'info_1.0.6.txt'
ffprobe -show_streams 'agnis-part_1.1.4.mp4' | grep 'STREAM\|start_time\|duration\|nb_frames' > 'info_1.1.4.txt'
ffprobe -show_streams 'agnis-part_1.2.mp4' | grep 'STREAM\|start_time\|duration\|nb_frames' > 'info_1.2.txt'

# extract packet infos from each encoded segment
ffprobe -show_packets 'agnis-part_0.10.7.mp4' | grep 'PACKET\|codec_type\|pts_time\|dts_time\|duration_time' > 'packets_0.10.7.txt'
ffprobe -show_packets 'agnis-part_0.11.3.mp4' | grep 'PACKET\|codec_type\|pts_time\|dts_time\|duration_time' > 'packets_0.11.3.txt'
ffprobe -show_packets 'agnis-part_1.0.6.mp4' | grep 'PACKET\|codec_type\|pts_time\|dts_time\|duration_time' > 'packets_1.0.6.txt'
ffprobe -show_packets 'agnis-part_1.1.4.mp4' | grep 'PACKET\|codec_type\|pts_time\|dts_time\|duration_time' > 'packets_1.1.4.txt'
ffprobe -show_packets 'agnis-part_1.2.mp4' | grep 'PACKET\|codec_type\|pts_time\|dts_time\|duration_time' > 'packets_1.2.txt'
}}}

----

Taking a look into some selected stream infos of each encoded segment from ffprobe. You can notice the 'evolution' of the audio stream (first stream is video, second stream is audio):

||= '''ffmpeg-0.9.2 & ffmpeg-0.10.7''' =||= '''ffmpeg-0.11.3 & ffmpeg-1.0.6''' =||= '''fmpeg-1.1.4 & ffmpeg-1.2''' =||
||[STREAM]||[STREAM]||[STREAM]||
||start_time=0.000000||start_time=0.000000||start_time=0.000000||
||duration=12.666667||duration=12.666667||||duration=12.666667||
||nb_frames=380||nb_frames=380||nb_frames=380||
||{{{[/STREAM]}}}||{{{[/STREAM]}}}||{{{[/STREAM]}}}||
||[STREAM]||[STREAM]||[STREAM]||
||start_time=0.000000||start_time=0.000000||||start_time='''-0.016961'''||
||duration=12.678095||duration='''12.701315'''||duration='''12.701315'''||
||nb_frames=546||nb_frames='''547'''||nb_frames='''547'''||
||{{{[/STREAM]}}}||{{{[/STREAM]}}}||{{{[/STREAM]}}}||

----
'''Source Video:'''
* [http://ffmpegyag.googlecode.com/files/Agnis%20Philosophy.mp4 Agnis Philosophy.mp4 (134 MB)]
'''Results:'''
* [http://ffmpegyag.googlecode.com/files/agnis-part_0.10.7.mp4 Segment 0.10.7 (3.5 MB)]
* [http://ffmpegyag.googlecode.com/files/agnis-part_0.11.3.mp4 Segment 0.11.3 (3.5 MB)]
* [http://ffmpegyag.googlecode.com/files/agnis-part_1.0.6.mp4 Segment 1.0.6 (3.5 MB)]
* [http://ffmpegyag.googlecode.com/files/agnis-part_1.1.4.mp4 Segment 1.1.4 (3.5 MB)]
* [http://ffmpegyag.googlecode.com/files/agnis-part_1.2.mp4 Segment 1.2 (3.5 MB)]
* [http://ffmpegyag.googlecode.com/files/stream-packet-info.tar.gz Stream & Packet Infos tar.gz (34 KB)]

*,,not sure if this behavior is a defect or is wanted by the developers, so setting the ticket to: enhancement with minor priority,,"	ronny1982
FFmpeg	227	Extend -ss and -t to support seeking to EOF time position (and backwards)?	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
FFmpeg	540	(audio) selection of streams by language	unspecified	enhancement	new	2011-10-10T15:49:15+02:00	2011-10-10T15:49:15+02:00	"Hi,

I'd like to select the language of an input file by language
e.g.

ffplay -alang ger file.mkv
or
ffmpeg -i file.mkv -map 0:a:ger dest.mkv
or similar

An open issue would be the presence of two audio stream of the same language.

Thanks
Lars"	taeuber
FFmpeg	980	Feature request : Optimising (MPEG) video streams	unspecified	enhancement	open	2012-02-05T15:36:17+01:00	2013-01-22T11:40:05+01:00	"Hello,

We all know jpegoptim by tjko for optimizing huffman table on jpeg files.
This is useful for pictures made by most of camera that make ""non-optimized""
pictures.

Some of video files are made by those camera and make ""non-optimized""
frames too.

I know than mjpeg, mpeg 1, 2 and probably 4 use jpeg algorythm
(DCT+Quant+Huffman) for I-frames and use Huffman table too for other frames.

My request is to make an option on ffmpeg for just optimizing Huffman table
in video stream.

Regards."	psykauze
FFmpeg	1325	Different results win7 vs. linux on pcm_dvd --> pcm_s24le	git-master	enhancement	open	2012-05-19T21:49:36+02:00	2012-05-20T21:15:41+02:00	"Version      : ffmpeg version N-40824-g31dfe20
Job          : pcm_dvd --> pcm_s24le
Args[0]      : -i E:\VIDEO_TS\VTS_01_1.VOB test.wav
Args[1]      : -acodec pcm_s24le -i E:\VIDEO_TS\VTS_01_1.VOB test.wav
Result[Win7] : pcm_s16le
Result[Ubu]  : pcm_s32le

Desc : Sourceformat (24Bit 96kHz) detected, but ffmpeg@windows switch to pcm_s16le for output. FFmpeg@ubuntu create the wav-output with 24Bit.
Set the codes pcm_s24le explicit don't help:
{{{
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

Z:\Music\Ripp\DVD-A>ffmpeg -acodec pcm_s24le -i E:\VIDEO_TS\VTS_01_1.VOB test.wav
ffmpeg version N-40824-g31dfe20 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 19 2012 00:49:25 with gcc 4.6.3
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enab
le-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschro
edinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      51. 53.100 / 51. 53.100
  libavcodec     54. 21.101 / 54. 21.101
  libavformat    54.  5.100 / 54.  5.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 74.101 /  2. 74.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 12.100 /  0. 12.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg @ 0000000001e6eee0] max_analyze_duration 5000000 reached at 5001044
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mpeg, from 'E:\VIDEO_TS\VTS_01_1.VOB':
  Duration: 00:10:59.06, start: 0.262200, bitrate: 13030 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 7500 kb/s, 29.97 tbr, 90k tbn, 59.
94 tbc
    Stream #0:1[0xa0]: Audio: '''pcm_s24le, 96000 Hz, stereo, s32''', 4608 kb/s
[abuffer @ 000000000a0fbf20] format:s32 layout:stereo rate:96000
[aformat @ 000000000ec50d00] auto-inserting filter 'auto-inserted resampler 0' between the filter 'src' and the filter '
aformat'
[aresample @ 000000000dd40da0] r:96000Hz -> r:96000Hz
Output #0, wav, to 'test.wav':
  Metadata:
    encoder         : Lavf54.5.100
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 96000 Hz, stereo, s16, 3072 kb/s
Stream mapping:
  Stream #0:1 -> #0:0 ('''pcm_s24le -> pcm_s16le''')
Press [q] to stop, [?] for help
size=   85217kB time=00:03:47.24 bitrate=3072.0kbits/s
video:0kB audio:85217kB global headers:0kB muxing overhead 0.000078%
Received signal 2: terminating.
}}}
"	GG71
FFmpeg	1530	Feature Request :: Allow more options in .ffpreset files	git-master	enhancement	new	2012-07-12T22:01:18+02:00	2012-07-13T08:56:25+02:00	"I created a preset containing options for creating HD MPEG-2 PS files, and I noticed, through trial and error, that the preset only allows certain options.  I'd like to see more items available for parsing in ffpreset files, similar to using profiles with MEncoder. 

Here's an example:
{{{
ffmpeg started on 2012-07-11 at 16:33:56
Report written to ""ffmpeg-20120711-163356.log""
Command line:
ffmpeg -report -i ""C:\\Users\\davep\\Desktop\\test_tff1080i30.mpg"" -f vob -c:v mpeg2video -pix_fmt yuv420p -r ntsc -vsync cfr -async 48000 -filter:v ""crop=1440:1080:0:0,yadif=0,scale=1920:1080,setdar=16:9"" -c:a mp2 -fpre 5hd.ffpreset -vstats_file test_out1080p30.mpg.log -t 30 -y ""C:\\Users\\davep\\Desktop\\test_out1080p30-30-bstrat1.mpg""
ffmpeg version N-41975-gb536e2f Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 26 2012 20:37:12 with gcc 4.7.1
  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. 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
[mpeg @ 0000000001e7f3c0] Format mpeg probed with size=8192 and score=52
[mpeg @ 0000000001e7f3c0] File position before avformat_find_stream_info() is 0
[mpeg @ 0000000001e7f3c0] Probe buffer size limit 5000000 reached
[mpeg @ 0000000001e7f3c0] File position after avformat_find_stream_info() is 0
Input #0, mpeg, from 'C:\Users\davep\Desktop\test_tff1080i30.mpg':
  Duration: 00:01:12.02, start: 0.250000, bitrate: 26433 kb/s
    Stream #0:0[0x1e0], 48, 1/90000: Video: mpeg2video (High), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 25000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1c0], 65, 1/90000: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
ffpreset[5hd.ffpreset]: set 'minrate' = '25M'
ffpreset[5hd.ffpreset]: set 'maxrate' = '25M'
ffpreset[5hd.ffpreset]: set 'muxrate' = '25.5M'
ffpreset[5hd.ffpreset]: set 'b:v' = '25M'
ffpreset[5hd.ffpreset]: set 'bt' = '10M'
ffpreset[5hd.ffpreset]: set 'bufsize' = '4M'
ffpreset[5hd.ffpreset]: set 'qmin' = '2'
ffpreset[5hd.ffpreset]: set 'qmax' = '10'
ffpreset[5hd.ffpreset]: set 'trellis' = '1'
ffpreset[5hd.ffpreset]: set 'mbd' = '2'
ffpreset[5hd.ffpreset]: set 'bf' = '2'
ffpreset[5hd.ffpreset]: set 'b_strategy' = '1'
ffpreset[5hd.ffpreset]: set 'b_sensitivity' = '10'
ffpreset[5hd.ffpreset]: set 'brd_scale' = '2'
ffpreset[5hd.ffpreset]: set 'keyint_min' = '5'
ffpreset[5hd.ffpreset]: set 'g' = '30'
ffpreset[5hd.ffpreset]: set 'ar' = '48000'
ffpreset[5hd.ffpreset]: set 'ac' = '2'
ffpreset[5hd.ffpreset]: set 'b:a' = '384k'
ffpreset[5hd.ffpreset]: set 'threads' = 'auto'
[Parsed_yadif_1 @ 0000000001f0b0e0] mode:0 parity:-1 auto_enable:0
[Parsed_setdar_3 @ 0000000001f0afc0] a:16/9
[buffer @ 0000000001f07fe0] Setting entry with key 'video_size' to value '1440x1080'
[buffer @ 0000000001f07fe0] Setting entry with key 'pix_fmt' to value '0'
[buffer @ 0000000001f07fe0] Setting entry with key 'time_base' to value '1/90000'
[buffer @ 0000000001f07fe0] Setting entry with key 'pixel_aspect' to value '4/3'
[buffer @ 0000000001f07fe0] Setting entry with key 'sws_param' to value 'flags=2'
[buffer @ 0000000001f07fe0] Setting entry with key 'frame_rate' to value '30000/1001'
[graph 0 input from stream 0:0 @ 0000000001f0af20] w:1440 h:1080 pixfmt:yuv420p tb:1/90000 fr:30000/1001 sar:4/3 sws_param:flags=2
[output stream 0:0 @ 0000000001f0aea0] No opaque field provided
[Parsed_crop_0 @ 0000000001f0b160] w:1440 h:1080 sar:4/3 -> w:1440 h:1080 sar:4/3
[Parsed_scale_2 @ 0000000001f0b040] w:1440 h:1080 fmt:yuv420p sar:4/3 -> w:1920 h:1080 fmt:yuv420p sar:1/1 flags:0x4
[Parsed_setdar_3 @ 0000000001f0afc0] w:1920 h:1080 -> dar:16/9 sar:1/1
[abuffer @ 0000000001f08440] Setting entry with key 'time_base' to value '1/90000'
[abuffer @ 0000000001f08440] Setting entry with key 'sample_rate' to value '48000'
[abuffer @ 0000000001f08440] Setting entry with key 'sample_fmt' to value 's16'
[abuffer @ 0000000001f08440] Setting entry with key 'channel_layout' to value '0x3'
[graph 1 input from stream 0:1 @ 0000000001f0ace0] tb:1/90000 samplefmt:s16 samplerate:48000 chlayout:0x3
-async is forwarded to lavfi similarly to -af aresample=min_comp=0.001:min_hard_comp=0.100000:max_soft_comp=1.000000.
[aformat @ 00000000044b5a60] Setting entry with key 'sample_fmts' to value 's16'
[aformat @ 00000000044b5a60] Setting entry with key 'sample_rates' to value '44100,48000,32000,22050,24000,16000'
[output stream 0:1 @ 0000000001f0abc0] auto-inserting filter 'auto-inserted fifo 0' between the filter 'audio format for output stream 0:1' and the filter 'output stream 0:1'
[graph 1 aresample for input stream 0:1 @ 0000000001f0ac60] chl:stereo fmt:s16 r:48000Hz -> chl:stereo fmt:s16 r:48000Hz
[mpeg2video @ 00000000048e9a60] detected 8 logical cores
[mpeg2video @ 00000000048e9a60] intra_quant_bias = 96 inter_quant_bias = 0
[mpeg2video @ 0000000001efffa0] detected 8 logical cores
Output #0, vob, to 'C:\Users\davep\Desktop\test_out1080p30-30-bstrat1.mpg':
  Metadata:
    encoder         : Lavf54.11.100
    Stream #0:0, 0, 1/90000: Video: mpeg2video (hq), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-10, 25000 kb/s, 90k tbn, 29.97 tbc
    Stream #0:1, 0, 1/90000: Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> mpeg2video)
  Stream #0:1 -> #0:1 (mp2 -> mp2)
Press [q] to stop, [?] for help
[mpeg2video @ 0000000001efffa0] warning: first frame is no keyframe
frame=   19 fps=0.0 q=2.3 size=    1650kB time=00:00:00.53 bitrate=25318.7kbits/s    
frame=   40 fps= 38 q=2.0 size=    3848kB time=00:00:01.23 bitrate=25533.5kbits/s    
frame=   60 fps= 38 q=2.0 size=    5940kB time=00:00:01.90 bitrate=25585.2kbits/s    
frame=   82 fps= 39 q=2.0 size=    8242kB time=00:00:02.63 bitrate=25614.3kbits/s    
frame=  104 fps= 40 q=2.5 size=   10542kB time=00:00:03.37 bitrate=25625.9kbits/s    
frame=  126 fps= 40 q=2.8 size=   12848kB time=00:00:04.10 bitrate=25645.3kbits/s    
frame=  147 fps= 41 q=2.0 size=   15044kB time=00:00:04.80 bitrate=25649.4kbits/s    
frame=  169 fps= 41 q=2.0 size=   17348kB time=00:00:05.53 bitrate=25657.7kbits/s    
frame=  190 fps= 41 q=2.5 size=   19544kB time=00:00:06.23 bitrate=25659.5kbits/s    
frame=  211 fps= 41 q=2.5 size=   21742kB time=00:00:06.94 bitrate=25663.3kbits/s    
frame=  233 fps= 41 q=2.0 size=   24046kB time=00:00:07.67 bitrate=25668.0kbits/s    
frame=  254 fps= 41 q=2.0 size=   26242kB time=00:00:08.37 bitrate=25668.5kbits/s    
frame=  276 fps= 41 q=2.0 size=   28546kB time=00:00:09.10 bitrate=25672.0kbits/s    
frame=  294 fps= 41 q=2.0 size=   30428kB time=00:00:09.70 bitrate=25671.9kbits/s    
frame=  313 fps= 41 q=2.5 size=   32416kB time=00:00:10.34 bitrate=25672.9kbits/s    
frame=  334 fps= 41 q=2.5 size=   34616kB time=00:00:11.04 bitrate=25675.9kbits/s    
frame=  349 fps= 40 q=3.0 size=   36262kB time=00:00:11.54 bitrate=25730.8kbits/s    
frame=  354 fps= 38 q=5.2 size=   36816kB time=00:00:11.71 bitrate=25751.7kbits/s    
frame=  358 fps= 36 q=6.1 size=   37194kB time=00:00:11.84 bitrate=25723.0kbits/s    
frame=  362 fps= 35 q=5.0 size=   37650kB time=00:00:11.97 bitrate=25748.2kbits/s    
frame=  365 fps= 33 q=7.6 size=   38020kB time=00:00:12.07 bitrate=25785.8kbits/s    
frame=  368 fps= 32 q=8.5 size=   38256kB time=00:00:12.17 bitrate=25732.6kbits/s    
frame=  371 fps= 30 q=8.0 size=   38558kB time=00:00:12.27 bitrate=25724.3kbits/s    
frame=  373 fps= 29 q=8.0 size=   38786kB time=00:00:12.34 bitrate=25736.6kbits/s    
frame=  376 fps= 28 q=9.0 size=   39090kB time=00:00:12.44 bitrate=25729.7kbits/s    
frame=  379 fps= 26 q=11.0 size=   39316kB time=00:00:12.54 bitrate=25671.9kbits/s    
frame=  381 fps= 25 q=10.0 size=   39620kB time=00:00:12.61 bitrate=25733.6kbits/s    
frame=  383 fps= 24 q=37.9 size=   39826kB time=00:00:12.67 bitrate=25731.2kbits/s    
frame=  385 fps= 24 q=10.3 size=   40082kB time=00:00:12.74 bitrate=25761.0kbits/s    
frame=  389 fps= 23 q=8.0 size=   40378kB time=00:00:12.87 bitrate=25682.3kbits/s    
frame=  392 fps= 22 q=7.0 size=   40816kB time=00:00:12.97 bitrate=25760.7kbits/s    
frame=  395 fps= 22 q=7.5 size=   41148kB time=00:00:13.07 bitrate=25771.5kbits/s    
frame=  398 fps= 21 q=10.8 size=   41438kB time=00:00:13.17 bitrate=25756.0kbits/s    
frame=  401 fps= 21 q=9.0 size=   41742kB time=00:00:13.27 bitrate=25749.4kbits/s    
frame=  404 fps= 20 q=7.0 size=   41970kB time=00:00:13.38 bitrate=25696.4kbits/s    
frame=  407 fps= 20 q=8.0 size=   42418kB time=00:00:13.48 bitrate=25777.8kbits/s    
frame=  410 fps= 20 q=7.0 size=   42652kB time=00:00:13.58 bitrate=25729.0kbits/s    
frame=  413 fps= 19 q=8.5 size=   43030kB time=00:00:13.68 bitrate=25767.0kbits/s    
frame=  416 fps= 19 q=9.0 size=   43334kB time=00:00:13.78 bitrate=25760.6kbits/s    
frame=  420 fps= 18 q=6.0 size=   43712kB time=00:00:13.91 bitrate=25736.0kbits/s    
frame=  423 fps= 18 q=7.0 size=   44016kB time=00:00:14.01 bitrate=25729.9kbits/s    
frame=  427 fps= 18 q=7.5 size=   44498kB time=00:00:14.14 bitrate=25766.3kbits/s    
frame=  430 fps= 17 q=7.0 size=   44774kB time=00:00:14.24 bitrate=25743.9kbits/s    
frame=  432 fps= 17 q=9.1 size=   45034kB time=00:00:14.31 bitrate=25772.7kbits/s    
frame=  435 fps= 17 q=10.5 size=   45304kB time=00:00:14.41 bitrate=25747.2kbits/s    
frame=  437 fps= 17 q=8.0 size=   45558kB time=00:00:14.48 bitrate=25772.2kbits/s    
frame=  440 fps= 16 q=16.9 size=   45834kB time=00:00:14.58 bitrate=25750.4kbits/s    
frame=  443 fps= 16 q=8.5 size=   46138kB time=00:00:14.68 bitrate=25744.4kbits/s    
frame=  446 fps= 16 q=8.2 size=   46366kB time=00:00:14.78 bitrate=25696.4kbits/s    
frame=  450 fps= 15 q=7.5 size=   46896kB time=00:00:14.91 bitrate=25757.6kbits/s    
frame=  455 fps= 15 q=4.0 size=   47410kB time=00:00:15.08 bitrate=25751.9kbits/s    
frame=  465 fps= 15 q=2.0 size=   48322kB time=00:00:15.41 bitrate=25679.1kbits/s    
frame=  487 fps= 16 q=2.5 size=   50626kB time=00:00:16.14 bitrate=25680.6kbits/s    
frame=  511 fps= 16 q=31.0 size=   53138kB time=00:00:16.95 bitrate=25681.4kbits/s    
frame=  524 fps= 17 q=3.0 size=   54578kB time=00:00:17.38 bitrate=25719.2kbits/s    
frame=  533 fps= 17 q=3.0 size=   55552kB time=00:00:17.68 bitrate=25733.6kbits/s    
frame=  542 fps= 17 q=36.6 size=   56386kB time=00:00:17.98 bitrate=25683.8kbits/s    
frame=  554 fps= 17 q=3.0 size=   57732kB time=00:00:18.38 bitrate=25724.2kbits/s    
frame=  567 fps= 17 q=2.0 size=   59104kB time=00:00:18.81 bitrate=25728.5kbits/s    
frame=  579 fps= 17 q=3.8 size=   60318kB time=00:00:19.21 bitrate=25710.0kbits/s    
frame=  587 fps= 17 q=2.0 size=   61118kB time=00:00:19.48 bitrate=25694.1kbits/s    
frame=  601 fps= 17 q=2.5 size=   62558kB time=00:00:19.95 bitrate=25683.8kbits/s    
frame=  617 fps= 17 q=2.5 size=   64230kB time=00:00:20.48 bitrate=25683.1kbits/s    
frame=  630 fps= 17 q=2.0 size=   65688kB time=00:00:20.92 bitrate=25721.5kbits/s    
frame=  643 fps= 17 q=2.0 size=   67008kB time=00:00:21.35 bitrate=25705.4kbits/s    
frame=  653 fps= 17 q=3.0 size=   68070kB time=00:00:21.68 bitrate=25711.0kbits/s    
frame=  662 fps= 17 q=3.0 size=   69014kB time=00:00:21.98 bitrate=25711.6kbits/s    
frame=  673 fps= 17 q=11.9 size=   70106kB time=00:00:22.35 bitrate=25689.6kbits/s    
frame=  688 fps= 18 q=2.5 size=   71660kB time=00:00:22.85 bitrate=25684.0kbits/s    
frame=  704 fps= 18 q=2.5 size=   73320kB time=00:00:23.39 bitrate=25679.2kbits/s    
frame=  719 fps= 18 q=2.5 size=   74900kB time=00:00:23.89 bitrate=25683.0kbits/s    
frame=  735 fps= 18 q=2.0 size=   76580kB time=00:00:24.42 bitrate=25685.1kbits/s    
frame=  750 fps= 18 q=6.9 size=   78216kB time=00:00:24.92 bitrate=25707.0kbits/s    
frame=  763 fps= 18 q=2.5 size=   79510kB time=00:00:25.35 bitrate=25685.3kbits/s    
frame=  777 fps= 18 q=2.0 size=   81010kB time=00:00:25.82 bitrate=25696.5kbits/s    
frame=  793 fps= 19 q=2.0 size=   82650kB time=00:00:26.35 bitrate=25685.8kbits/s    
frame=  809 fps= 19 q=2.0 size=   84326kB time=00:00:26.89 bitrate=25686.4kbits/s    
frame=  824 fps= 19 q=2.0 size=   85896kB time=00:00:27.39 bitrate=25686.6kbits/s    
frame=  839 fps= 19 q=1.6 size=   87510kB time=00:00:27.89 bitrate=25699.7kbits/s    
frame=  854 fps= 19 q=2.0 size=   89034kB time=00:00:28.39 bitrate=25686.4kbits/s    
frame=  868 fps= 19 q=5.8 size=   90500kB time=00:00:28.86 bitrate=25686.8kbits/s    
frame=  881 fps= 19 q=2.0 size=   91860kB time=00:00:29.29 bitrate=25686.7kbits/s    
frame=  897 fps= 19 q=2.0 size=   93492kB time=00:00:29.82 bitrate=25675.2kbits/s    
No more output streams to write to, finishing.
frame=  899 fps= 19 q=5.8 Lsize=   93962kB time=00:00:29.96 bitrate=25689.3kbits/s    

video:91420kB audio:1406kB subtitle:0 global headers:0kB muxing overhead 1.223176%

[AVIOContext @ 0000000001e7f900] Statistics: 105762960 bytes read, 2 seeks
}}}
Through trial and error I noticed it wouldn't accept -f vob, or -r ntsc, or -vsync cfr, output codec declarations, the filter chain, and more.  I wish more could be read from the preset, making my command lines easier to type, script, and easier to read.

Thank you,

dp"	dpury
FFmpeg	1979	Automatically set -fflags +genpts	git-master	enhancement	new	2012-11-29T21:59:55+01:00	2013-05-13T20:44:35+02:00	"Several tickets were opened by users who saw one of the following error messages when trying to remux: ""first pts value must set"" or ""Can't write packet with unknown timestamp""
With the sample from ticket #1553:
{{{
$ ffmpeg -i Ts\ cannot\ be\ muxed\ to\ mkv.ts -vcodec copy -an out.mkv
ffmpeg version N-47291-g0b14c19 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 29 2012 21:54:38 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52.  9.102 / 52.  9.102
  libavcodec     54. 77.100 / 54. 77.100
  libavformat    54. 40.100 / 54. 40.100
  libavdevice    54.  3.100 / 54.  3.100
  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
[mpegts @ 0x326b240] PES packet size mismatch
[mpegts @ 0x326b240] Could not find codec parameters for stream 2 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels, s16): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x3270380] start time is not set in estimate_timings_from_pts
[mpegts @ 0x326b240] PES packet size mismatch
Input #0, mpegts, from 'Ts cannot be muxed to mkv.ts':
  Duration: 00:00:01.79, start: 58016.615744, bitrate: 9158 kb/s
  Program 1
    Stream #0:0[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x34]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, s16, 384 kb/s
    Stream #0:2[0x35]: Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels, s16
Output #0, matroska, to 'out.mkv':
  Metadata:
    encoder         : Lavf54.40.100
    Stream #0:0: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], q=2-31, 29.97 fps, 1k tbn, 90k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x3272ec0] Can't write packet with unknown timestamp
av_interleaved_write_frame(): Invalid argument
}}}
Adding -fflags +genpts fixes the problem, maybe this should be added automatically if necessary:
{{{
$ ffmpeg -fflags +genpts -i Ts\ cannot\ be\ muxed\ to\ mkv.ts -vcodec copy -an out.mkv
ffmpeg version N-47291-g0b14c19 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 29 2012 21:54:38 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52.  9.102 / 52.  9.102
  libavcodec     54. 77.100 / 54. 77.100
  libavformat    54. 40.100 / 54. 40.100
  libavdevice    54.  3.100 / 54.  3.100
  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
[mpegts @ 0x195b340] PES packet size mismatch
[mpegts @ 0x195b340] Could not find codec parameters for stream 2 (Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels, s16): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x1960540] start time is not set in estimate_timings_from_pts
[mpegts @ 0x195b340] PES packet size mismatch
Input #0, mpegts, from 'Ts cannot be muxed to mkv.ts':
  Duration: 00:00:01.79, start: 58016.615744, bitrate: 9158 kb/s
  Program 1
    Stream #0:0[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x34]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, s16, 384 kb/s
    Stream #0:2[0x35]: Audio: ac3 ([129][0][0][0] / 0x0081), 0 channels, s16
Output #0, matroska, to 'out.mkv':
  Metadata:
    encoder         : Lavf54.40.100
    Stream #0:0: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], q=2-31, 29.97 fps, 1k tbn, 90k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame=   33 fps=0.0 q=-1.0 Lsize=    1440kB time=00:00:00.96 bitrate=12189.4kbits/s
video:1439kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.068458%
}}}
See also ticket #1415, #1552 and #1553."	cehoyos
FFmpeg	2402	FFmpeg marks no subtitles in mkv files as default	git-master	enhancement	open	2013-03-25T14:58:19+01:00	2013-03-25T22:41:24+01:00	"Summary of the bug:
Some related discussion was in ticket #1815.

When creating a Matroska / mkv file with FFmpeg with several subtitle streams all of them are marked as default and there seems to be no way to disable setting of the default flag for any of the subtitle streams.

Below is an example with the presumably correct metadata identifier default-flag=0 in use.

With both subtitles marked as default VLC shows the last subtitle stream but MPC-HC shows the first one (provided that no subtitle language preference has been set).

How to reproduce:
{{{
> ./ffmpeg -fflags +genpts -i test.mp4 -i test-en.srt -i test-fr.srt -c:a copy -c:v copy -c:s copy -metadata:s:s:0 language=eng -metadata:s:s:1 language=fra -metadata:s:s:1 default-flag=0 -map 0:0 -map 0:1 -map 1:0 -map 2:0 test.mkv
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-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. 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 'test.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.59.106
  Duration: 00:00:10.05, start: 0.021333, bitrate: 1257 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 576x324 [SAR 1:1 DAR 16:9], 1132 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 119 kb/s
    Metadata:
      handler_name    : SoundHandler
[srt @ 0272d9e0] Estimating duration from bitrate, this may be inaccurate
Input #1, srt, from 'test-en.srt':
  Duration: N/A, bitrate: N/A
    Stream #1:0: Subtitle: subrip
[srt @ 02861780] Estimating duration from bitrate, this may be inaccurate
Input #2, srt, from 'test-fr.srt':
  Duration: N/A, bitrate: N/A
    Stream #2:0: Subtitle: subrip
Output #0, matroska, to 'test.mkv':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.0.100
    Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 576x324 [SAR 1:1 DAR 16:9], q=2-31, 1132 kb/s, 23.98 fps, 1k tbn, 11988 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, 119 kb/s
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Subtitle: subrip
    Stream #0:3(fra): Subtitle: subrip
    Metadata:
      default-flag    : 0
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #1:0 -> #0:2 (copy)
  Stream #2:0 -> #0:3 (copy)
Press [q] to stop, [?] for help
frame=  241 fps=0.0 q=-1.0 Lsize=    1542kB time=00:00:10.04 bitrate=1256.9kbits/s
video:1389kB audio:146kB subtitle:0 global headers:0kB muxing overhead 0.399761%
> ffprobe -i test.mkv -loglevel 0 -show_streams
[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=High
codec_type=video
codec_time_base=125/5994
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=576
height=324
has_b_frames=2
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuv420p
level=40
timecode=N/A
is_avc=1
nal_length_size=4
id=N/A
r_frame_rate=2997/125
avg_frame_rate=2997/125
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
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:LANGUAGE=und
TAG:HANDLER_NAME=VideoHandler
[/STREAM]
[STREAM]
index=1
codec_name=aac
codec_long_name=AAC (Advanced Audio Coding)
profile=unknown
codec_type=audio
codec_time_base=1/48000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
sample_fmt=fltp
sample_rate=48000
channels=2
bits_per_sample=0
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
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:LANGUAGE=und
TAG:HANDLER_NAME=SoundHandler
[/STREAM]
[STREAM]
index=2
codec_name=subrip
codec_long_name=SubRip subtitle
profile=unknown
codec_type=subtitle
codec_time_base=1/1000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
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:LANGUAGE=eng
[/STREAM]
[STREAM]
index=3
codec_name=subrip
codec_long_name=SubRip subtitle
profile=unknown
codec_type=subtitle
codec_time_base=1/1000
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
id=N/A
r_frame_rate=0/0
avg_frame_rate=0/0
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
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:LANGUAGE=fra
TAG:DEFAULT-FLAG=0
[/STREAM]
>
}}}"	someuser
FFmpeg	2432	generate/draw timecode from image number	unspecified	enhancement	new	2013-04-04T14:59:08+02:00	2013-04-04T14:59:08+02:00	"It is often need to burn timecode and other data to proxy/dailies (mainly h264 mov), converted from DPX/EXR/whatever sequence, numbered by timecode->framenumber.

But timecode currently could be added manually only via ""timecode=""xx:xx:xx:xx""
It could be good when will exists some option like ""timecode=""sf"", so timecode could be generated from image sequence startnumber. It could help alot if batch converting alot of sequences with adding TC/framenum overlays.

Or/Also from embedded TC in DPX.
Also could be good if it will be added formatting string for ""frame_num"" variable (like %05d or so).
Also could be good to have absolute framenumber variable from image sequence, and sequence/image name variable."	uzer_name
FFplay	2507	Heavy desync with ffplay for a mpeg4-ogg sample	git-master	defect	open	2013-04-28T14:26:57+02:00	2013-06-02T01:34:37+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
FFplay	231	ffplay freezes with date -s in linux	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
FFplay	1721	ffplay doesn't correctly play files with audio timestamps not starting from 0	unspecified	defect	new	2012-09-07T13:22:15+02:00	2012-09-07T13:24:36+02:00	"ffplay can't correctly plays file, where the audio timestamps doesn't start from 0.

A test file can be created with the command:
{{{
ffmpeg -f lavfi -i ""flite=text='To be or not to be, that is the question',asetpts=PTS+5/TB [out0]; testsrc=n=2[out1]"" -ar 16000 -acodec libmp3lame -y out.mp4
}}}

ffplay starts to play the video from the point where the audio starts, which doesn't seem the correct behavior. Compare for example with how vlc plays the file.

I don't know which is the best place to address the issue. We could add an audio pad filter, which fills the gap (but that would introduce another dependency on ffplay), or add the logic (possibly configurable) to handle that within ffplay.
"	saste
FFplay	1936	iff 8svx: autoexit works incorrectly	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
FFplay	2103	wrong pkt in range check in the ffplay	git-master	defect	new	2013-01-03T04:40:24+01:00	2013-01-03T05:30:54+01:00	"   the packet in range check does not check whether start time is equal to AV_NOPTS_VALUE. if ic->streams[pkt->stream_index]->start_time == AV_NOPTS_VALUE ,following code will not generate correct result.

    
    pkt_in_play_range = duration == AV_NOPTS_VALUE ||
                (pkt->pts - ic->streams[pkt->stream_index]->start_time) *
                av_q2d(ic->streams[pkt->stream_index]->time_base) -
                (double)(start_time != AV_NOPTS_VALUE ? start_time : 0) / 1000000
                <= ((double)duration / 1000000);

"	chinshou
FFplay	2199	ffplay: stop time counter at the end of file	git-master	defect	open	2013-01-27T01:20:03+01:00	2013-01-27T09:25:07+01:00	"http://samples.mplayerhq.hu/V-codecs/DIV5/ayaneshk-test.avi

{{{
C:\>ffplay ayaneshk-test.avi
ffplay version N-49268-ge9d443c Copyright (c) 2003-2013 the FFmpeg developers
  built on Jan 24 2013 23:27:01 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-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
nable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --en
able-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable
-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 15.103 / 52. 15.103
  libavcodec     54. 90.100 / 54. 90.100
  libavformat    54. 61.104 / 54. 61.104
  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
Input #0, avi, from 'ayaneshk-test.avi':
  Duration: 00:54:09.58, start: 0.000000, bitrate: 2 kb/s
    Stream #0:0: Video: msmpeg4v3 (DIV5 / 0x35564944), yuv420p, 512x384, 29.97 t
br, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 128 k
b/s
Frame changed from size:0x0 to size:512x384
  10.31 A-V: -0Truncating packet of size 7845 to 5101    0B f=0/0
[msmpeg4 @ 02661280]   10.ignoring overflow at 17 15=    0B f=0/0
51 A-V[msmpeg4 @ 02661280] ac-tex damaged at 17 15
:  0.0[msmpeg4 @ 02661280]
error while decoding block: 17 x 15 (2)
01 fd=[msmpeg4 @ 02661280]    1 aError at MB: 512
q=    [msmpeg4 @ 02661280] concealing 351 DC, 351 AC, 351 MV errors in P frame
[mp3 @ 0266fa60] incomplete frame  0KB vq=    0KB sq=    0B f=0/0
  14.37 A-V:  0.013 fd=   1 aq=    0KB vq=    0KB sq=    0B f=0/0
}}}"	ami_stuff
FFplay	2289	ffplay loops audio on eof on Windows	git-master	defect	new	2013-02-20T11:22:57+01:00	2013-03-15T19:47:47+01:00	"1/ ffmpeg.exe -i loopBug20130216.mov -vn outMP3.mp3
2/ ffplay out101MP3.mp3

Same if
ffmpeg.exe -i loopBug20130216.mov -vn outAAC.aac

Also tested & confirmed with FFMpeg 1.0.1 & 1.1.1

P.S. Can you also reproduce the bug 2284 I reported.

{{{

F:\danses\Salsa\Salsa Odance>ffmpeg.exe -i loopBug20130216.mov -vn outMP3.mp3
ffmpeg version N-49997-gb9c5448 Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb 16 2013 02:32:10 with gcc 4.7.2 (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-lib
mp3lame --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-am
rwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 17.101 / 52. 17.101
  libavcodec     54. 91.103 / 54. 91.103
  libavformat    54. 63.100 / 54. 63.100
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 37.103 /  3. 37.103
  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 'loopBug20130216.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder         : Lavf54.63.100
  Duration: 00:00:00.30, start: 0.018000, bitrate: 29756 kb/s
    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuvj420p, 1280x720, 46817 kb/s, 50 fps, 50 tbr, 50k tbn, 100k tbc
    Metadata:
      handler_name    : DataHandler
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      handler_name    : DataHandler
Output #0, mp3, to 'outMP3.mp3':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    TSSE            : Lavf54.63.100
    Stream #0:0(eng): Audio: mp3, 48000 Hz, stereo, s16p
    Metadata:
      handler_name    : DataHandler
Stream mapping:
  Stream #0:1 -> #0:0 (pcm_s16le -> libmp3lame)
Press [q] to stop, [?] for help
size=       6kB time=00:00:00.31 bitrate= 145.5kbits/s
video:0kB audio:5kB subtitle:0 global headers:0kB muxing overhead 5.915179%

F:\danses\Salsa\Salsa Odance>
}}}"	feelart
FFplay	2381	ffplay: resize of the sdl window when -showmode 1/2 is used	unspecified	defect	new	2013-03-19T23:38:16+01:00	2013-04-16T23:21:01+02:00	"When I run ffplay (-showmode 1 or 2) with file which have audio and video stream then at the beginning sdl window will be resized from 640x480 to the real resolution of the video.

Maybe it would be possible to avoid this unnecessary resize and open sdl window with the size of the video.

{{{
C:\>ffplay -showmode 1 acelp16k.avi
ffplay version N-51106-g17c1881 Copyright (c) 2003-2013 the FFmpeg developers
  built on Mar 19 2013 13:49:37 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. 19.101 / 52. 19.101
  libavcodec     55.  1.100 / 55.  1.100
  libavformat    55.  0.100 / 55.  0.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 47.104 /  3. 47.104
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
    nan A-V:  0.000 fd[avi @ 026a49c0] non-interleaved AVI
=   0 aq=    0KB vInput #0, avi, from 'acelp16k.avi':
, bitrate: 1445 kb/sB sq=    000:00:05.96, start: 0.000000B f=0/0
    Stream #0:0: Video: cinepak (cvid / 0x64697663), rgb24, 192x128, 24 tbr, 24
tbn, 24 tbc
    Stream #0:1: Audio: sipr (0[1][0][0] / 0x0130), 16000 Hz, mono, flt, 16 kb/s

   1.66 A-V: -0.004 fd=   1 aq=    1KB vq=   37KB sq=    0B f=0/0
}}}
"	ami_stuff
FFplay	2647	No counter when playing back shorten with ffplay	git-master	defect	new	2013-06-06T20:06:32+02:00	2013-06-08T01:53:30+02:00	"As reported by ami_stuff in ticket #1874 ffplay shows ""nan"" when playing back shorten, this is a regression since 26c208c
{{{
$ time ./ffplay fate-suite/lossless-audio/luckynight-partial.shn
ffplay version N-53877-g3554238 Copyright (c) 2003-2013 the FFmpeg developers
  built on Jun  6 2013 20:05:06 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 35.100 / 52. 35.100
  libavcodec     55. 15.100 / 55. 15.100
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 75.101 /  3. 75.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, shn, from 'fate-suite/lossless-audio/luckynight-partial.shn':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Audio: shorten, 44100 Hz, 2 channels, s16p
    nan M-A:    nan fd=   0 aq=    6KB vq=    0KB sq=    0B f=0/0

real    0m8.199s
user    0m0.189s
sys     0m0.125s
}}}
"	cehoyos
FFplay	2237	ffplay: do not increase get_master_clock(is) when audio/video decoding is blocked (can't process)	git-master	defect	open	2013-02-05T01:05:48+01:00	2013-02-05T09:22:03+01:00	"when I seek (for example) in this file:

http://samples.mplayerhq.hu/game-formats/interplay-mve/baldursgate-camp.mve

then audio/video decoding is blocked, but get_master_clock(is) still increases (time counter).
I think it should be blocked (it was like that in the past /at least with git-a52f598 from 2011/)

{{{
C:\>ffplay baldursgate-camp.mve
ffplay version N-49268-ge9d443c Copyright (c) 2003-2013 the FFmpeg developers
  built on Jan 24 2013 23:27:01 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-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
nable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --en
able-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable
-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 15.103 / 52. 15.103
  libavcodec     54. 90.100 / 54. 90.100
  libavformat    54. 61.104 / 54. 61.104
  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
[ipmovie @ 026588e0] Estimating duration from bitrate, this may be inaccurate
Input #0, ipmovie, from 'baldursgate-camp.mve':
  Duration: 00:01:14.91, start: 0.000000, bitrate: 352 kb/s
    Stream #0:0: Video: interplayvideo, pal8, 640x272, 14.99 tbr, 1000k tbn, 100
0k tbc
    Stream #0:1: Audio: interplay_dpcm, 22050 Hz, stereo, s16, 352 kb/s
   0.02 A-V: -0.422 fd=   0 aq= Frame changed from size:0x0 to size:640x272
Seek to 45% ( 0:00:33) of total duration ( 0:01:14)       B f=0/0
   6.50 A-V: -0.019 fd=   2 aq=    0KB vq=    0KB sq=    0B f=0/0
}}}
"	ami_stuff
FFplay	437	"ffplay seems to ""darken"" certain inputs (ex: bgr24)"	unspecified	enhancement	reopened	2011-09-06T20:16:29+02:00	2012-05-08T12:46:43+02:00	"Hello all.  First time here, and first of all thank you for a
marvelous program in ffmpeg.

I have noted the following behavior:

With this bmp (bgr24) [1], if I use ffplay on it ($ ffplay mostly_white.bmp), the white border displays
""darkened"" or ""with an added red hue"" for whatever reason (you can see this effect within the image itself).

[1] http://rogerdpack.t28.net/incoming/mostly_white.bmp the ""white""
outermost backgrounded window looks somewhat red (here's an 
example output http://rogerdpack.t28.net/incoming/red_hue.bmp to compare)

Here's the command line output (mingw build, but it seems to reproduce
with all platform/versions I have tried).

$ ffplay version N-31706-g335bbe4, Copyright (c) 2003-2011 the FFmpeg developers
  built on Jul 31 2011 18:52:06 with gcc 4.6.1
  configuration: --enable-gpl --enable-version3 --enable-memalign-hack
--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-libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
--enable-zlib
  libavutil    51. 11. 1 / 51. 11. 1
  libavcodec   53.  9. 0 / 53.  9. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 27. 5 /  2. 27. 5
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, image2, from 'mostly_white.bmp':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: bmp, bgr24, 1680x1050, 25 tbr, 25 tbn, 25 tbc
[buffersink @ 03C05D40] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'src' and the filter 'out'
[scale @ 03C06280] w:1680 h:1050 fmt:bgr24 -> w:1680 h:1050
fmt:yuv420p flags:0x4"	rogerdpack
FFprobe	1163	ffprobe can produce invalid XML	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
FFprobe	2419	ffprobe reports error on timecode stream	git-master	defect	new	2013-03-31T04:21:04+02:00	2013-03-31T04:21:04+02:00	"Summary of the bug:

ffprobe says ""Unsupported codec with id 0 for input stream 1"" when given a Quicktime .mov with timecode, even though it does report the timecode correctly. ffmpeg from the same build does not report any error, and also shows the correct timecode.

How to reproduce:

Create a .mov with timecode:

{{{
% ffmpeg -f lavfi -i testsrc -t 5 -timecode ""10:00:00:00"" testsrc-with-tc.mov
ffmpeg version N-51433-g551f683 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 28 2013 21:52:57 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. 22.101 / 52. 22.101
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  0.100 / 55.  0.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 48.105 /  3. 48.105
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[lavfi @ 02577780] Estimating duration from bitrate, this may be inaccurate
Input #0, lavfi, from 'testsrc':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Codec AVOption gop_timecode (MPEG GOP Timecode in hh:mm:ss[:;.]ff format) specified for output file #0 (testsrc-with-tc.mov) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[...]
Output #0, mov, to 'testsrc-with-tc.mov':
  Metadata:
    timecode        : 10:00:00:00
    encoder         : Lavf55.0.100
    Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv444p, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 12800 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> libx264)
Press [q] to stop, [?] for help
[...]
}}}


Examine with ffprobe:

{{{
% ffprobe version N-51433-g551f683 Copyright (c) 2007-2013 the FFmpeg developers
  built on Mar 28 2013 21:52:57 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. 22.101 / 52. 22.101
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  0.100 / 55.  0.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 48.105 /  3. 48.105
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'testsrc-with-tc.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder         : Lavf55.0.100
  Duration: 00:00:05.00, start: 0.000000, bitrate: 44 kb/s
    Stream #0:0(eng): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p, 320x240 [SAR 1:1 DAR 4:3], 39 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
    Metadata:
      handler_name    : DataHandler
      timecode        : 10:00:00:00
    Stream #0:1(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
    Metadata:
      handler_name    : DataHandler
      timecode        : 10:00:00:00
Unsupported codec with id 0 for input stream 1
}}}

Note that the timecode was read correctly by ffprobe, but it still gives an error.
"	milix
FFprobe	2502	ffprobe Produces Invalid JSON	unspecified	defect	new	2013-04-25T14:09:38+02:00	2013-06-06T04:21:53+02:00	"When running ffprobe with the -print_format switch as json, it can produce invalid Unicode escaping. Snippet of JSON code attached to the ticket.

Environment:
ffmpeg 1.2 installed  via Homebrew.

Python code used to call ffsnoop:
cmnd = ['ffprobe', '-v', 'quiet', '-print_format', 'json', '-show_format', '-show_streams', path]
p = subprocess.Popen(cmnd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err =  p.communicate()
io = StringIO(out)
info = json.load(io)

Python code to reproduce with attached JSON:
json.load(StringIO(file(""output.json"").read()))"	dnicolson
FFprobe	2493	support filter options within ffprobe	git-master	enhancement	new	2013-04-22T16:03:30+02:00	2013-05-17T15:55:49+02:00	"Summary of the bug:

This ticket is inspired by comments by Nicolas George at this post: http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2013-March/141071.html.

I'd like to make use of metadata from filters within ffprobe without having to use amovie|movie to provide the input.

For instance:
{{{
ffprobe 2>/dev/null -i 038Robin.wav -af ebur128=metadata=1 -show_frames -show_format
}}}
provides
{{{
ffprobe -i 038Robin.wav -af ebur128=metadata=1 -show_frames -show_format
ffprobe version 1.1.git Copyright (c) 2007-2013 the FFmpeg developers
  built on Apr 13 2013 10:04:18 with Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --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 --enable-libfreetype --enable-ffplay --enable-libcaca
  libavutil      52. 26.100 / 52. 26.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  2.100 / 55.  2.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 53.101 /  3. 53.101
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Failed to set value 'ebur128=metadata=1' for option 'af': Option not found
}}}

The workaround seems to be to use lavfi as the input:
{{{
ffprobe 2>/dev/null -f lavfi amovie=038Robin.wav,ebur128=metadata=1 -show_frames -show_format
}}}

However although the latter commands provides the frame metadata that I want, the data provided by -show_format refers to lavfi and not the original file input.

Is it feasible to support -vf and -af in ffprobe to allow something like:
{{{
ffprobe -i 038Robin.wav -af ebur128=metadata=1 -show_frames -show_format
}}}
"	dericed
FFprobe	1437	probe less than the whole file with -show_frames	git-master	enhancement	open	2012-06-10T20:00:11+02:00	2012-06-10T20:08:13+02:00	"I'd like to probe a file to get interlaced_frame=""1"" top_field_first=""1"" - which I believe is only available in
-show_frames.

My file is 30 minutes log - I only want the data from the first frame.

I can't see anything in -h to answer this question. The ffmpeg -vframes, -frames:v and -t are not listed in ffprobe's help, and do not work.

I usually use FFprobe with a -probesize, and that is also ignored with -show_frames.

Stefano suggested ""And of course you can get it with a crude trick, you trim the file
*physically* in order to reduce the amount of data to be decoded"" but that's a workaround I'd like to avoid. 

example current file based command line: 

{{{
% ffprobe -show_format -show_streams -show_frames -probesize 40000 -print_format xml ""tortoise.mxf""
ffprobe version N-41487-gee1748a Copyright (c) 2007-2012 the FFmpeg developers
  built on Jun 10 2012 17:04:40 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
  configuration: --prefix=/Users/mdsh/ffmpeg --arch=x86_64 --enable-ffplay --enable-ffprobe --enable-shared --disable-indev=jack --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libx264
  libavutil      51. 56.100 / 51. 56.100
  libavcodec     54. 25.100 / 54. 25.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 78.101 /  2. 78.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mxf @ 0x7fddb081ae00] Stream #0: not enough frames to estimate rate; consider increasing probesize
[mxf @ 0x7fddb081ae00] Stream #1: not enough frames to estimate rate; consider increasing probesize
Input #0, mxf, from 'tortoise.mxf':
  Metadata:
    timecode        : 10:53:51:04
  Duration: 00:28:21.92, start: 0.000000, bitrate: 42598 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 720x608 [SAR 608:405 DAR 16:9], 30000 kb/s, 25 tbr, 25 tbn, 50 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 4 channels, s16, 3072 kb/s
<?xml version=""1.0"" encoding=""UTF-8""?>
<ffprobe>
    <frames>
        <frame media_type=""video"" key_frame=""1"" pkt_pts=""0"" pkt_pts_time=""0.000000"" pkt_dts=""0"" pkt_dts_time=""0.000000"" pkt_duration=""1"" pkt_duration_time=""0.040000"" pkt_pos=""7168"" width=""720"" height=""608"" pix_fmt=""yuv422p"" sample_aspect_ratio=""608:405"" pict_type=""I"" coded_picture_number=""0"" display_picture_number=""0"" interlaced_frame=""1"" top_field_first=""1"" repeat_pict=""0"" reference=""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=""1"" pkt_duration_time=""0.040000"" pkt_pos=""157696"" sample_fmt=""s16"" nb_samples=""1920""/>
[...]
}}}

goes on for a long time - you *really* don't want the uncut output "	mdsh
FFprobe	2621	ffprobe should output formatted information about detection reliability	git-master	enhancement	new	2013-06-01T23:07:28+02:00	2013-06-02T00:39:46+02:00	"Sometimes ffprobe misdetects text files as mp3, but it outputs a log message about a possible misdetection:
{{{
$ ffprobe text_file.log 
ffprobe version N-53746-gec34963 Copyright (c) 2007-2013 the FFmpeg developers
  built on Jun  1 2013 22:57:16 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-x11grab --disable-encoder=vorbis --disable-encoder=aac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfdk-aac --enable-librtmp --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-libopus --disable-runtime-cpudetect --disable-ffserver --disable-debug --cpu=corei7
  libavutil      52. 34.100 / 52. 34.100
  libavcodec     55. 13.100 / 55. 13.100
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 74.101 /  3. 74.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[mp3 @ 0x19df260] Format mp3 detected only with low score of 1, misdetection possible!
[mp3 @ 0x19df260] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'text_file.log':
  Duration: 00:00:00.29, start: 0.000000, bitrate: 128 kb/s
    Stream #0:0: Audio: mp1, 48000 Hz, stereo, s16p, 128 kb/s
}}}


However when making ffprobe output formatted data (ie. JSON), the information about the low detection reliability is not present:
{{{
$ ffprobe -loglevel quiet -print_format json -show_format text_file.log 
{
    ""format"": {
        ""filename"": ""text_file.log"",
        ""nb_streams"": 1,
        ""format_name"": ""mp3"",
        ""format_long_name"": ""MP2/3 (MPEG audio layer 2/3)"",
        ""start_time"": ""0.000000"",
        ""duration"": ""0.293375"",
        ""size"": ""4694"",
        ""bit_rate"": ""128000""
    }
}
}}}

The addition of a field in the formatted output with a value about the detection reliability would be great and solve that problem.
It would be especially useful for scripts and programs that rely on ffprobe to analyze files, and therefore do not read or parse the ffprobe logging output.
"	ahthovaikied
FFserver	228	"FFserver: reordering of ""<Stream>""s in config file makes difference"	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
FFserver	1285	rtsp stream from dreambox dm800 via ffserver	unspecified	defect	new	2012-05-08T15:39:52+02:00	2012-08-01T15:11:01+02:00	"hi ffmpeg funs,

i'm new whith ffmpeg and i succeed streaming a video from my hard disk and a remote video on the internet and played them with vlc via http and rtsp protocol.
and that was great!

but.. i can't stream live feed from my dreambox dm800 
however i can play the live stream with vlc
with ffserver it plays for a while and crash

here is the ffserver log:

{{{
ffserver -f /home/maher/streamprovider/cool/ffdream.conf
ffserver version git-2012-05-03-29ed190 Copyright (c) 2000-2012 the FFmpeg developers
  built on May  3 2012 15:17:48 with gcc 4.6.1
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
  libavutil      51. 49.100 / 51. 49.100
  libavcodec     54. 17.101 / 54. 17.101
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 72.104 /  2. 72.104
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
Tue May  8 15:04:47 2012 Opening file 'http://192.168.1.103:8001/1:0:1:FAD:28:800:DCA0000:0:0:0:'
Tue May  8 15:04:47 2012 [mpeg2video @ 0x2b23aa0]mpeg_decode_postinit() failure
Tue May  8 15:04:47 2012 [mpeg2video @ 0x2b23aa0]mpeg_decode_postinit() failure
Tue May  8 15:04:48 2012 [mpeg2video @ 0x2b23aa0]mpeg_decode_postinit() failure
Tue May  8 15:04:48 2012 [mpeg2video @ 0x2b23aa0]mpeg_decode_postinit() failure
Tue May  8 15:04:48 2012 [mpeg2video @ 0x2b23aa0]mpeg_decode_postinit() failure
Tue May  8 15:04:53 2012 [mpegts @ 0x2afeb00]max_analyze_duration 5000000 reached at 5016000
Tue May  8 15:04:53 2012 [mpegts @ 0x2afeb00]Estimating duration from bitrate, this may be inaccurate
Tue May  8 15:04:53 2012 FFserver started.
Tue May  8 15:05:05 2012 [mpegts @ 0x2aff040]max_analyze_duration 5000000 reached at 5000000
Tue May  8 15:05:05 2012 [mpegts @ 0x2aff040]Estimating duration from bitrate, this may be inaccurate
Tue May  8 15:05:05 2012 192.168.1.106:40388 - - ""PLAY live-rtsp.mpg/streamid=0 RTP/UDP""
Tue May  8 15:05:05 2012 192.168.1.106:42524 - - ""PLAY live-rtsp.mpg/streamid=1 RTP/UDP""
Tue May  8 15:05:11 2012 [mpegts @ 0x2aff040]PES packet size mismatch
Tue May  8 15:05:11 2012 [rtp @ 0x2b29760]Application provided invalid, non monotonically increasing dts to muxer in stream 1: 7554851799 >= 7554363639
Tue May  8 15:05:11 2012 Error writing frame to output
Tue May  8 15:05:11 2012 192.168.1.106 - - [] "" RTP/UDP"" 200 2186695
Tue May  8 15:05:56 2012 192.168.1.106 - - [TEARDOWN] ""rtsp://192.168.1.106:5454/live-rtsp.mpg/ RTSP/1.0"" 200 981
}}}

and my ffserver.conf
{{{
Port            8090
RTSPPort        5454
RTSPBindAddress        0.0.0.0
BindAddress     0.0.0.0
MaxClients      1000
MaxBandWidth    50000
CustomLog       -
NoDaemon

<Feed live.ffm>
File            /tmp/office.ffm
FileMaxSize     200M
ACL allow 127.0.0.1
ACL allow 192.168.0.0 192.168.255.255
</Feed>

<Stream live-rtsp.mpg>
Format rtp
File ""http://192.168.1.103:8001/1:0:1:FAD:28:800:DCA0000:0:0:0:""
</Stream>

<Stream live.flv>
Format rtp
Feed live.ffm
VideoCodec libx264
VideoFrameRate 25
VideoBitRate 4096
VideoSize 1280x720
AVOptionVideo flags +global_header
AudioCodec libfaac
AudioBitRate 320k
AudioChannels 2
AudioSampleRate 22050
AVOptionAudio flags +global_header
</Stream>
}}}

i'm using ubuntu 11.10

any help please

thanks in advance."	mahermeg17
FFserver	1970	ffserver ignores ffmpeg command line arguments	git-master	defect	open	2012-11-26T22:44:47+01:00	2013-06-18T23:17:25+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
FFserver	346	FFserver passing on rtp stream freezes	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
FFserver	906	trying to launch ffserver, I get bind(port 8090): Address family not supported by protocol	unspecified	defect	open	2012-01-09T21:16:21+01:00	2013-01-05T10:21:01+01:00	"Im trying to launch ffserver with the original ffserver.conf and I get:

bind(port 8090): Address family not supported by protocol
Mon Jan  9 20:07:23 2012 Could not start server

I recently changed from 2.6.28 to 3.0.6 kernel, and cannot find out which module I need for ffserver to work. IPV4 is working.

Exact command line: ffserver -f ./ffserver.conf -loglevel 'debug'

Output of ffmpeg -v 9 -loglevel 99   
ffmpeg version 0.7.8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan  9 2012 19:25:26 with gcc 4.5.3
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-shared --cc=gcc --disable-static --enable-gpl --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-vaapi --disable-vdpau --enable-libtheora --enable-libx264 --enable-libxvid --disable-indev=v4l --disable-indev=oss --disable-indev=jack --enable-x11grab --disable-outdev=oss --enable-libfreetype --enable-pthreads --enable-libdirac --enable-librtmp --enable-libschroedinger --disable-altivec --disable-avx --cpu=pentium4 --enable-hardcoded-tables
  libavutil    50. 43. 0 / 50. 43. 0
  libavcodec   52.123. 0 / 52.123. 0
  libavformat  52.111. 0 / 52.111. 0
  libavdevice  52.  5. 0 / 52.  5. 0
  libavfilter   1. 80. 0 /  1. 80. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
"	tpereira
FFserver	1275	ffserver x264 presets	git-master	defect	new	2012-05-04T22:48:39+02:00	2013-06-19T14:20:13+02:00	"ffserver is started with a simple config file (ffserver.conf) that defined only libx264 flv output and ffmpeg is started to feed the ffserver after which the error is received, which I don't know how to get around, because I don't know how to set ""-vpre"" or ""-preset"" in ffserver.conf file (when I try to set -vpre or -preset at ffmpeg's command line, I get the same error as provided here):

ffserver.conf:
{{{
Port 8090
BindAddress 0.0.0.0
CustomLog -

<Feed feed1.ffm>
        File /tmp/feed1.ffm
        FileMaxSize 200K
        ACL allow 127.0.0.1
</Feed>

<Stream test1.flv>
        Feed feed1.ffm
        Format flv
        NoAudio
        VideoCodec libx264
        VideoFrameRate 25
        AVOptionVideo flags +global_header
</Stream>

<Stream stat.html>
        Format status
        ACL allow localhost
        ACL allow 192.168.0.0 192.168.255.255
</Stream>

<Redirect index.html>
        URL http://www.ffmpeg.org/
</Redirect>
}}}

the result:
{{{
# ffserver -d -f ffserver.conf &
# ffmpeg -i http://10.1.2.3:45678 -vf yadif http://localhost:8090/feed1.ffm
ffmpeg version git-2012-05-03-28d37f7 Copyright (c) 2000-2012 the FFmpeg developers
  built on May  3 2012 13:43:26 with gcc 4.6.3
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
  libavutil      51. 49.100 / 51. 49.100
  libavcodec     54. 17.101 / 54. 17.101
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 72.104 /  2. 72.104
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
[mpeg2video @ 0x2232c40] mpeg_decode_postinit() failure
    Last message repeated 5 times
[mpegts @ 0x222d120] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x222d120] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegts, from 'http://10.1.2.3:45678':
  Duration: N/A, start: 1787.574700, bitrate: 15256 kb/s
  Program 1714
    Stream #0:0[0x58c]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 15000 kb/s, 25.82 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x596]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 256 kb/s
[buffer @ 0x2428500] w:720 h:576 pixfmt:yuv420p tb:1/1000000 sar:64/45 sws_param:flags=2
[scale @ 0x2233f60] w:720 h:576 fmt:yuv420p sar:64/45 -> w:160 h:128 fmt:yuv420p sar:64/45 flags:0x4
[libx264 @ 0x2277080] broken ffmpeg default settings detected
[libx264 @ 0x2277080] use an encoding preset (e.g. -vpre medium)
[libx264 @ 0x2277080] preset usage: -vpre <speed> -vpre <profile>
[libx264 @ 0x2277080] speed presets are listed in x264 --help
[libx264 @ 0x2277080] profile is optional; x264 defaults to high
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
    Stream #0:0: Video: h264, yuv420p, 160x128 [SAR 64:45 DAR 16:9], q=2-31, 128 kb/s, 1000k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> libx264)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
}}}

Generally, when I start ffmpeg only (without ffserver) no matter what libx264 options I give at cmd line, ffmpeg will fill out other (missing) options, like bitrate, width/height, etc with some default values. When I use ffserver with same ffmpeg cmd lines, I usually get this kind of ""vpre error"" mentioned above. How can I work around that error?

Please help, thanks in advance."	burek
FFserver	1461	Unable to encode video and post it to ffserver for streaming on android-x86 - http://pastebin.com/AWnDEKYU	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
FFserver	1872	aac bitstream not in adts format and extradata missing	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
FFserver	2205	It does not be streaming a RTSP(H.264/AAC) using ffserver.	git-master	defect	open	2013-01-28T04:30:21+01:00	2013-02-04T04:07:37+01:00	"Summary of the bug:
- I have a got a error, that is ""AAC with no global headers is currently not supported."" whenever an rtsp client tried to play the stream.
- I read a old post that the url of ffmpeg-devel is http://ffmpeg.org/pipermail/ffmpeg-devel/2010-May/096088.html.


How to reproduce:
{{{
# ffmpeg -i http://qthttp.akamai.com.edgesuite.net/iphone_demo/Video_Content/npr/blindpilot_hdv_bug/all.m3u8 -acodec copy -vcodec copy http://10.10.250.122:8090/feed1.ffm
ffmpeg version N-48413-gdc8b367 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 22 2013 15:58:23 with gcc 4.5 (SUSE Linux)
  configuration: --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --enable-libfaac --enable-libmp3lame --extra-cflags=-I/home/work/ffmpeg/x264 --extra-ldflags=-L/usr/local/lib
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.101 / 54. 85.101
  libavformat    54. 59.102 / 54. 59.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
[mpegts @ 0x1564600] Estimating duration from bitrate, this may be inaccurate
[mpegts @ 0x16339a0] Estimating duration from bitrate, this may be inaccurate
[mpegts @ 0x174aca0] Estimating duration from bitrate, this may be inaccurate
Input #0, hls,applehttp, from 'http://qthttp.akamai.com.edgesuite.net/iphone_demo/Video_Content/npr/blindpilot_hdv_bug/all.m3u8':
  Duration: 00:03:51.00, start: 10.000000, bitrate: 0 kb/s
  Program 0 
    Metadata:
      variant_bitrate : 860000
    Stream #0:0: Audio: aac ([15][0][0][0] / 0x000F), 32000 Hz, stereo, fltp, 65 kb/s
    Metadata:
      variant_bitrate : 860000
    Stream #0:1: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 400x224, 29.97 tbr, 90k tbn, 180k tbc
    Metadata:
      variant_bitrate : 860000
  Program 1 
    Metadata:
      variant_bitrate : 512000
    Stream #0:2: Audio: aac ([15][0][0][0] / 0x000F), 32000 Hz, stereo, fltp, 65 kb/s
    Metadata:
      variant_bitrate : 512000
    Stream #0:3: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 400x224, 29.97 tbr, 90k tbn, 180k tbc
    Metadata:
      variant_bitrate : 512000
  Program 2 
    Metadata:
      variant_bitrate : 160000
    Stream #0:4: Audio: aac ([15][0][0][0] / 0x000F), 32000 Hz, mono, fltp, 34 kb/s
    Metadata:
      variant_bitrate : 160000
    Stream #0:5: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 400x224, 11.99 tbr, 90k tbn, 180k tbc
    Metadata:
      variant_bitrate : 160000
Output #0, ffm, to 'http://10.10.250.122:8090/feed1.ffm':
  Metadata:
    creation_time   : now
    encoder         : Lavf54.59.102
    Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 400x224, q=2-31, 1000k tbn, 90k tbc
    Metadata:
      variant_bitrate : 860000
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
}}}

# cat ffserver.conf
Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 5
MaxClients 5
MaxBandwidth 40000
CustomLog -
NoDaemon

RTSPPort 5454
RTSPBindAddress 0.0.0.0

<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 100M
ACL allow localhost
ACL allow 127.0.0.1
ACL allow 10.10.250.0 10.10.255.255
#Launch ffmpeg -i http://qthttp.akamai.com.edgesuite.net/iphone_demo/Video_Content/npr/blindpilot_hdv_bug/all.m3u8
</Feed>

<Stream live.h264>
Format rtp
Feed feed1.ffm
</Stream>

<Stream status.html>
Format status
ACL allow localhost
#ACL allow 192.168.0.0 192.168.255.255
ACL allow 10.10.250.0 10.10.255.255
ACL allow 127.0.0.1
</Stream>

<Redirect index.html>
URL http://www.ffmpeg.org/
</Redirect>


// 
// We run ffserver with ffserver.conf, and tried to play using VLC(rtsp://10.10.250.122:5454/live.h264)
//
//
# ffsever -f ffserver.conf 
ffserver version N-48413-gdc8b367 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 22 2013 15:58:23 with gcc 4.5 (SUSE Linux)
  configuration: --enable-gpl --enable-nonfree --enable-version3 --enable-libx264 --enable-libfaac --enable-libmp3lame --extra-cflags=-I/home/work/ffmpeg/x264 --extra-ldflags=-L/usr/local/lib
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.101 / 54. 85.101
  libavformat    54. 59.102 / 54. 59.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
Mon Jan 28 12:21:49 2013 FFserver started.
Mon Jan 28 12:21:54 2013 10.10.250.122 - - [GET] ""/feed1.ffm HTTP/1.1"" 200 4175


Mon Jan 28 12:22:02 2013 [NULL @ 0x14cc500]AAC with no global headers is currently not supported.
Mon Jan 28 12:22:02 2013 10.10.250.85 - - [DESCRIBE] ""rtsp://10.10.250.122:5454/live.h264 RTSP/1.0"" 200 541
Mon Jan 28 12:22:02 2013 10.10.250.85 - - [OPTIONS] ""rtsp://10.10.250.122:5454 RTSP/1.0"" 200 85


ps : if it use a NoAudio in ffserver.conf, we play well with vlc.


Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
"	EricAhn
FFserver	2670	FFserver is not working	0.10.7	defect	new	2013-06-15T15:00:02+02:00	2013-06-15T15:04:46+02:00	"Hello,

I am not able to use the ffserver at local machine for live streaming. I have applied following steps to make live streaming at local system. 

1. create ffserver.conf file.(attached)
2. ffserver -f ffserver.conf (Command)
3. http://localhost:8090/status.html (Command)
4. ffmpeg -f video4linux2 -s 640x480 -r 25 -i /dev/video0 -f alsa -i pulse \ http://localhost:8090/feed1.ffm (Command)

When I execute the last step it shows me error like 

Error message :- 
""http://localhost:8091/feed1.ffm: No such file or directory""

Where I have to put a file(feed1.ffm) i mean to say that physical location of the file in the system and how can i generate the file.

Please suggest me as soon  as possible.

Thanks in advance !!!
"	plsipl
FFserver	1496	Stream passthru : VideoCodec copy	git-master	enhancement	open	2012-07-01T05:24:56+02:00	2012-12-09T18:50:23+01:00	"FFserver does not support FFmpeg's ""-vcodec copy"" or ""-acodec copy""
VideoCodec copy
AudioCodec copy

1) ""-vcodec/-acodec copy"" is very useful when you just want to change the container of the stream

2) If you have output streams at various bitrates: high(same as input feed), low;
then only the low quality stream would need to be re-encoded saving cpu time.

"	Lupu
FFserver	2624	Simplifying ffserver to make it more easy to maintain	unspecified	enhancement	new	2013-06-02T12:40:04+02:00	2013-06-03T13:11:05+02:00	"While working with the 2 of the most popular free audio broadcasting servers: [http://www.shoutcast.com/ shoutcast] and [http://www.icecast.org/ icecast] (open-source), I've noticed they are just broadcasting the feed they get from their remote sources, without doing any re-encoding, which simplifies their entire model. Things they mostly do is buffering and broadcasting, so I thought maybe there was a chance to do the same thing with ffserver to simplify it a bit and make it more easy to maintain.

Further more, it might be more straightforward to use it this way, since people would use the desired codecs to encode their streams on the source machine (running ffmpeg), rather than on the ffserver machine, thus it would make ffserver more feasible to run on web hosting servers, because of the lowered cpu usage.

If it would be more convenient, maybe a completely new tool could be created from scratch, which could be extended more easily than ffserver, considering the simpler model it has."	burek
avcodec	2093	ffplay: crash when seeking with the mouse	git-master	defect	new	2013-01-01T17:29:50+01:00	2013-06-20T01:47:45+02: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
avcodec	2536	qt raw 2/4bpp regression	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
avcodec	2552	FLAC with wrong but valid 'header' makes decoder misbehave	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
avcodec	2574	Uneven speed when reencoding mpeg program stream	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
avcodec	2661	UT Video Decoder Broken	git-master	defect	open	2013-06-11T23:03:27+02:00	2013-06-12T03:32:01+02:00	"Summary of the bug: Sometime after 3/28/2013, the UT Video decoder was broken.
How to reproduce:
This happens with any UT Video source I tried. You can use FFmpeg to make a new one...that causes the problem too. Encoding is fine...if I encode with current FFmpeg and decode with the version I have from 3/28, the output is correct.
{{{
ffmpeg -i utenc.mkv -f matroska NUL -y
ffmpeg version N-53959-g0f88a98 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 11 2013 02:29:26 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
  libavutil      52. 35.100 / 52. 35.100
  libavcodec     55. 15.100 / 55. 15.100
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 75.101 /  3. 75.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from 'utenc.mkv':
  Metadata:
    ENCODER         : Lavf55.8.102
  Duration: 00:00:05.01, start: 0.000000, bitrate: 569716 kb/s
    Stream #0:0: Video: utvideo (ULY0 / 0x30594C55), yuv420p, 1920x1080, SAR 1:1
 DAR 16:9, 59.94 fps, 59.94 tbr, 1k tbn, 1k tbc (default)
[libx264 @ 02883340] using SAR=1/1
[libx264 @ 02883340] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 02883340] profile High, level 4.2
[libx264 @ 02883340] 264 - core 133 r2334 a3ac64b - 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, matroska, to 'NUL':
  Metadata:
    encoder         : Lavf55.8.102
    Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 1920x1080 [
SAR 1:1 DAR 16:9], q=-1--1, 1k tbn, 59.94 tbc (default)
Stream mapping:
  Stream #0:0 -> #0:0 (utvideo -> libx264)
Press [q] to stop, [?] for help
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Error while decoding stream #0:0: Invalid data found when processing input
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 1 times
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Error while decoding stream #0:0: Invalid data found when processing input
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Error while decoding stream #0:0: Invalid data found when processing input
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Error while decoding stream #0:0: Invalid data found when processing input
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 1 times1  times
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Error while decoding stream #0:0: Invalid data found when processing input
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Too long VLC (28) in init_vlc
Error while decoding stream #0:0: Invalid data found when processing input
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repe    at    LastedLa st message repeated 1 times
message repeated 1 times
 1 times
Too long VLC (28) in init_vlc
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Too long VLC (28) in init_vlc
     Last   Cannot build Huffman codes
1    Last message repeated 2 timesepeated times
 times
Error while decoding stream #0:0: Invalid data found when processing input
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 2 times
    Last messag  Too long VLC (28) in init_vlc
e      La streLa st mepemessage atssagrepe edeated 2repe at1  tedtimes
imesimes
[utvideo @ 09a5c4a0] Too long VLC (28) in init_vlc
Cannot build Huffman codes
[utvideo @ 09a5c4a0]  Cannot build Huffman codes
    Last message repeated 1    Last  times
message repeated 1 times
Error while decoding stream #0:0: Invalid data found when processing input
Too long VLC (28) in init_vlc
[utvideo @ 09a5c4a0] Cannot build Huffman codes
Error while decoding stream #0:0: Invalid data found when processing input
   Last message repeated 2 timeses
Too long VLC (28) in init_vlc times
       La stLa   Lasst t message repeamessagmessae trepeatege d 2 edreti mes2 pt
imes

    Last mess[utvideo @ 09a5c4a0] a[utvideo @ 09a5c4a0] Cannot build Huffman cod
es
ge Cannot build Huffman codes
repeated 1 times  1me stisamege s
Error while decoding stream #0:0: Invalid data found when processing input
mes  La s t  Lamest ssmeagsse agree pereatpeedat e1 d ti1 metis
}}}"	Aegwyn11
avcodec	2668	h264 444 file crashes 32bit ffplay	git-master	defect	new	2013-06-14T11:18:23+02:00	2013-06-14T11:18:23+02:00	"http://thread.gmane.org/gmane.comp.video.ffmpeg.user/46189
A user uploaded a h264 444 sample that crashes current ffplay (with both -threads 1 and -threads 2, identical backtrace) if it was compiled for x86_32, regression since 32fdfdf for -threads 2, -threads 1 already crashed before with a different backtrace since 2e7bc9c / 759001c
{{{
(gdb) r -threads 2 444.h264
Starting program: ffplay_g -threads 2 444.h264
[Thread debugging using libthread_db enabled]
Using host libthread_db library ""/lib64/libthread_db.so.1"".
ffplay version N-54024-g147adf2 Copyright (c) 2003-2013 the FFmpeg developers
  built on Jun 14 2013 11:15:12 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack --cc='gcc -m32'
  libavutil      52. 35.101 / 52. 35.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[New Thread 0xf7a85b40 (LWP 18286)]
[New Thread 0xf7015b40 (LWP 18287)]
[New Thread 0xf6713b40 (LWP 18288)]
Input #0, h264, from '444.h264':   0KB vq=    0KB sq=    0B f=0/0
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (High 4:4:4 Predictive), yuv444p, 1550x480, 20 fps, 20 tbr, 1200k tbn, 40 tbc
[New Thread 0xf57ffb40 (LWP 18289)]
[New Thread 0xf4ffeb40 (LWP 18290)]
[New Thread 0xf47fdb40 (LWP 18291)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf57ffb40 (LWP 18289)]
0x083753a8 in xchg_mb_border (pixel_shift=0, simple=0, chroma444=1, xchg=1,
    uvlinesize=1552, linesize=1552,
    src_cr=0xf5a48a0f <Address 0xf5a48a0f out of bounds>,
    src_cb=0xf5c91a0f <Address 0xf5c91a0f out of bounds>, src_y=0xf5d48a0f """",
    h=0xf5e10b40) at libavcodec/h264.c:2240
2240                XCHG(top_border + (16 << pixel_shift), src_cb + (1 << pixel_shift), xchg);
(gdb) bt
#0  0x083753a8 in xchg_mb_border (pixel_shift=0, simple=0, chroma444=1, xchg=1,
    uvlinesize=1552, linesize=1552,
    src_cr=0xf5a48a0f <Address 0xf5a48a0f out of bounds>,
    src_cb=0xf5c91a0f <Address 0xf5c91a0f out of bounds>, src_y=0xf5d48a0f """",
    h=0xf5e10b40) at libavcodec/h264.c:2240
#1  hl_decode_mb_444_complex (h=h@entry=0xf5e10b40) at libavcodec/h264_mb_template.c:341
#2  0x08383bd2 in ff_h264_hl_decode_mb (h=0xf5e10b40) at libavcodec/h264.c:2484
#3  decode_slice (avctx=avctx@entry=0xf5e011c0, arg=arg@entry=0xf57ff24c)
    at libavcodec/h264.c:4318
#4  0x0838410f in execute_decode_slices (h=h@entry=0xf5e10b40,
    context_count=<optimized out>) at libavcodec/h264.c:4468
#5  0x0838b92f in decode_nal_units (parse_extradata=0, buf_size=297559,
    buf=0xf5c17008 """", h=0xf5e10b40) at libavcodec/h264.c:4812
#6  decode_frame (avctx=0xf5e011c0, data=0xf5e01b80, got_frame=0xf5e01d34,
    avpkt=0xf5e01b30) at libavcodec/h264.c:4947
#7  0x085c1f3e in frame_worker_thread (arg=0xf5e01a60) at libavcodec/pthread.c:338
#8  0xf7cbde32 in start_thread () from /lib/libpthread.so.0
#9  0xf7b9e7ee in clone () from /lib/libc.so.6
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0x8375388 to 0x83753c8:
   0x08375388 <hl_decode_mb_444_complex+13928>: add    %eax,(%eax)
   0x0837538a <hl_decode_mb_444_complex+13930>: add    %cl,-0x4374d3a9(%ecx)
   0x08375390 <hl_decode_mb_444_complex+13936>: and    $0x68,%al
   0x08375392 <hl_decode_mb_444_complex+13938>: add    %eax,(%eax)
   0x08375394 <hl_decode_mb_444_complex+13940>: add    %cl,0x1842494(%ebx)
   0x0837539a <hl_decode_mb_444_complex+13946>: add    %al,(%eax)
   0x0837539c <hl_decode_mb_444_complex+13948>: mov    %eax,-0x7(%edi)
   0x0837539f <hl_decode_mb_444_complex+13951>: mov    %edx,-0x3(%edi)
   0x083753a2 <hl_decode_mb_444_complex+13954>: mov    0x14(%ebx),%edx
   0x083753a5 <hl_decode_mb_444_complex+13957>: mov    0x10(%ebx),%eax
=> 0x083753a8 <hl_decode_mb_444_complex+13960>: mov    0x5(%esi),%ecx
   0x083753ab <hl_decode_mb_444_complex+13963>: mov    0x168(%esp),%edi
   0x083753b2 <hl_decode_mb_444_complex+13970>: mov    %edx,0x174(%esp)
   0x083753b9 <hl_decode_mb_444_complex+13977>: mov    0x1(%esi),%edx
   0x083753bc <hl_decode_mb_444_complex+13980>: mov    %eax,0x170(%esp)
   0x083753c3 <hl_decode_mb_444_complex+13987>: mov    0x170(%esp),%eax
End of assembler dump.
(gdb) info register
eax            0x0      0
ecx            0x0      0
edx            0x0      0
ebx            0xf59d3140       -174247616
esp            0xf57fefa0       0xf57fefa0
ebp            0xf5e10b40       0xf5e10b40
esi            0xf5c91a0f       -171369969
edi            0xfffff9ef       -1553
eip            0x83753a8        0x83753a8 <hl_decode_mb_444_complex+13960>
eflags         0x10246  [ PF ZF IF RF ]
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x63     99
}}}"	cehoyos
avcodec	2683	Jpeg2000 decoder broken	git-master	defect	open	2013-06-18T01:59:14+02:00	2013-06-20T09:21:27+02:00	"Summary of the bug: Regression in the JPEG2000 decoder. I see the problem using either libopenjpeg or jpeg2000 as the decoder. It seems that FFmpeg erroneously recognizes the video as rgb48le when it is really yuv422p10le. I have a version of FFmpeg from 3/28/2013 that does not exhibit the problem. 

How to reproduce: Try to decode JPEG2000 video with the following command:
ffmpeg -i ""J2K Decoding Regression.mkv"" -f rawvideo NUL -y


{{{
ffmpeg -i ""J2K Decoding Regression.mkv"" -f rawvideo NUL -y
ffmpeg version N-54082-g96b33dd Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 17 2013 02:05:16 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  8.103 / 55.  8.103
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[jpeg2000 @ 0287b6a0] unsupported/ CDxy values 2 1 for component 1
[jpeg2000 @ 0287b6a0] unsupported/ CDxy values 2 1 for component 2
Input #0, matroska,webm, from 'J2K Decoding Regression.mkv':
  Metadata:
    ENCODER         : Lavf55.8.103
  Duration: 00:00:00.17, start: 0.000000, bitrate: 156157 kb/s
    Stream #0:0: Video: jpeg2000 (JPEG 2000 codestream restriction 0) (mjp2 / 0x
32706A6D), rgb48le, 1920x1080, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 1k tbn, 1
k tbc (default)
Output #0, rawvideo, to 'NUL':
  Metadata:
    encoder         : Lavf55.8.103
    Stream #0:0: Video: rawvideo (RGB0 / 0x30424752), rgb48le, 1920x1080 [SAR 1:
1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc (default)
Stream mapping:
  Stream #0:0 -> #0:0 (jpeg2000 -> rawvideo)
Press [q] to stop, [?] for help
[jpeg2000 @ 063d0060] unsupported/ CDxy values 2 1 for component 1
[jpeg2000 @ 063d0060] unsupported/ CDxy values 2 1 for component 2
[jpeg2000 @ 04005fe0] unsupported/ CDxy values 2 1 for component 1
[jpeg2000 @ 040063c0] unsupported/ CDxy values 2 1 for component 1
[jpeg2000 @ 04005fe0] [jpeg2000 @ 040067a0] [jpeg2000 @ 04006ba0] [jpeg2000 @ 04
0063c0] unsupported/ CDxy values 2 1 for component 1
unsupported/ CDxy values 2 1 for component 2
unsupported/ CDxy values 2 1 for component 1
[jpeg2000 @ 04006ba0] unsupported/ CDxy values 2 1 for component 2
unsupported/ CDxy values 2 1 for component 2
[jpeg2000 @ 040067a0] unsupported/ CDxy values 2 1 for component 2
frame=    1 fps=0.0 q=0.0 size=   12150kB time=00:00:00.03 bitrate=2982971.2kbit
frame=    5 fps=0.0 q=0.0 Lsize=   60750kB time=00:00:00.16 bitrate=2983007.0kbi
ts/s
video:60750kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.000000%
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker."	Aegwyn11
avcodec	117	unsupported interplayvideo file	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
avcodec	128	svq1 decoder is somehow buggy	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
avcodec	153	DVB Subtitles Streams decoding and encoding errors	unspecified	defect	open	2011-05-04T21:29:51+02:00	2012-07-16T15:43:11+02:00	These is a test stream that shows errors in the DVB Subtitle decoder and encoder.	joolzg
avcodec	162	Avid AVI Codec - wrong resolution reported by FFmpeg	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
avcodec	317	mpeg4 (geov & geox fouccs) needs to be flipped	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
avcodec	424	A/V desync on transport stream	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
avcodec	538	J2K files with 444p are incorrectly written	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
avcodec	604	Multithreaded ffmpeg decode with DXVA2 hangs	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
avcodec	691	Errors while decoding wmav2 stream	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
avcodec	742	zygo video codec decodes with visible graphic corruption	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
avcodec	845	Artefacts with Indeo 4	git-master	defect	new	2011-12-29T02:17:59+01:00	2013-05-29T10:43:25+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
avcodec	893	jpegls: support color transforms	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
avcodec	894	ljpeg: fix losslesss prediction 0 for 24bpp (and 48bpp)	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
avcodec	925	"lead h263 - reject files encoded in ""high compression"" / rtp modes"	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
avcodec	946	ffplay: almost unreadable dvd subtitles due to wrong colors	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
avcodec	964	No h263 Mode B support?	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
avcodec	1092	amv: gray bar at the bottom	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
avcodec	1095	libxavs: encoded file doesn't decode with built-in decoder	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
avcodec	1216	AVImszh: broken output with rgb24 mode	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
avcodec	1221	loco: broken output with odd width	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
avcodec	1282	VP6F Libavcodec decoding bug (slowly accumulating artifacts)	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
avcodec	1309	Android(NDK) cannot compile thumb mode	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
avcodec	1323	avid dv codec (dv50 mode) decodes with visible artefacts	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
avcodec	1346	-aq makes only a minimal output file size difference for aac	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
avcodec	1388	rv30 decoder does not completely support resolution changes	git-master	defect	open	2012-06-01T19:17:39+02:00	2013-05-30T11:39:25+02: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
avcodec	1442	In MINGW32 libutvideoenc.cpp and libutvideodec.cpp do not link properly	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
avcodec	1528	drastic v210 - packet too small	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
avcodec	1536	u263: problem with b-frames	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
avcodec	1589	"getting ""AC EOB marker is absent"" errors when decoding DV video DIF blocks with non-zero STA"	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
avcodec	1614	"AAC stream with SBR fails with ""channel element 0.1 is not allocated"""	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
avcodec	1643	Custom lock manager will cause multiple thread encoding deadlock	unspecified	defect	new	2012-08-15T15:37:01+02:00	2012-08-15T15:37:01+02:00	"I used av_lockmgr_register to register a custom mutex manager , then I am tring to convert a bitmap to jpeg. MJPEG encoder is multiple thread encoding capable encoder. After encoding finished, when I try to use avcodec_close to close the encoder , the program was deadlocked.

I checked the source and found that to aovid thread safe problem, ffmpeg will call custom lock manager at the beginning of avcodec_close to assure exclusive access.

av_cold int avcodec_close(AVCodecContext *avctx)
{
    /* If there is a user-supplied mutex locking routine, call it. */
    if (ff_lockmgr_cb) {
        if ((*ff_lockmgr_cb)(&codec_mutex, AV_LOCK_OBTAIN))
            return -1;
    }

when multiple thread encoding , the main thread will call ff_frame_thread_encoder_free to close all the worker threads

        if (avctx->internal->frame_thread_encoder && avctx->thread_count > 1) {
            entangled_thread_counter --;
            ff_frame_thread_encoder_free(avctx);
            entangled_thread_counter ++;
        }

in the ff_frame_thread_encoder_free function , it set exit flag first , then use pthread_join to wait all the worker thread to finish.

when the worker threads found the exit flag and exit the loop , it will also call avcodec_close(avctx); to close their own codec 
.

static void * attribute_align_arg worker(void *v){
...
    while(!c->exit){
...
        pthread_mutex_lock(&c->task_fifo_mutex);
        while (av_fifo_size(c->task_fifo) <= 0 || c->exit) {
            if(c->exit){
                pthread_mutex_unlock(&c->task_fifo_mutex);
                goto end;
            }
            pthread_cond_wait(&c->task_fifo_cond, &c->task_fifo_mutex);
        }
        av_fifo_generic_read(c->task_fifo, &task, sizeof(task), NULL);
        pthread_mutex_unlock(&c->task_fifo_mutex);
...
    }
end:
    av_free(pkt);
    pthread_mutex_lock(&c->buffer_mutex);
    avcodec_close(avctx); <---
    pthread_mutex_unlock(&c->buffer_mutex);
    av_freep(&avctx);
    return NULL;
}

 But the global ff_lockmgr_cb mutex already acquired by the main thread. so all the worker will be blocked  to wait the main thread to release the mutex, and the main thread is waiting all the worker threads , finally the program fall into deadlock.

one possible solution is to add addition parameter to avcodec_close , when the flag was set , avcodec_close will not try to acquire the global custom mutex to avoid deadlock. All the internal worker thread should call the avcodec_close with this flag setted.

I test it with 20120730 source so far. 

regards"	chinshou
avcodec	1648	avdj (mjpeg): problem with ntsc interlaced	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
avcodec	1651	jpeg rgb progressive decodes incorrectly	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
avcodec	1691	New SN40 samples fail to decode	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
avcodec	1693	AAC Scalable Sample Rate (SSR)	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
avcodec	1737	ffmpeg detect aac stereo as mono	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
avcodec	1768	audio AAC fails at CCE	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
avcodec	1838	Some BOXX bxy2 samples (v210) cannot be decoded	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
avcodec	1848	AMR-NB Q bit ignored	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
avcodec	1849	AMR NB NODATA header changes following data	unspecified	defect	new	2012-10-25T22:30:31+02:00	2012-10-26T15:07:23+02:00	"Summary of the bug:

If you put 0x7C as header (MODE = NO_DATA) the following frames behaves weird (only header, no data bytes). In Audacity with FFmpeg v0.6.2 you hear a 'knock' and the following signal wave behaves different on zooming levels and (this might be also GUI audacity bug). In VLC 2.0.3 this 'knock' is also heard.

I attached a sample file with silence and a NO_DATA frame at file offset 0x166.

I'm not sure which versions of FFmpeg are affected, but I assume all that use the codec from libavcodec/amrnbdec.c
"	krisha
avcodec	1855	snow: fail with decode of 2x2 resolution	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
avcodec	1897	arbitrary maxval for netpbm image formats (pam,pnm,pgm)	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
avcodec	1900	h264: memleak with threads > 1	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
avcodec	1915	mjpeg: fix/support morgan not interleaved	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
avcodec	1939	zork pcm decoder is broken	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
avcodec	2011	i263: artefacts with deblocking filter	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
avcodec	2035	DVD subtitle from VOB does not contain CodecPrivate data	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
avcodec	2082	mjpeg: low quality + restart (and grayscale) = lower quality than libjpeg	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
avcodec	2126	012v decodes incorrectly	git-master	defect	open	2013-01-09T03:29:19+01:00	2013-01-14T15:13:37+01:00	"{{{
C:\>ffmpeg -i 012v.avi out.bmp
ffmpeg version N-48610-gb23aff6 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  8 2013 02:37:29 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. 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, avi, from '012v.avi':
  Duration: 00:00:00.10, start: 0.000000, bitrate: 17247 kb/s
    Stream #0:0: Video: 012v (012v / 0x76323130), yuv422p16le (10 bpc), 320x240,
 10 tbr, 10 tbn, 10 tbc
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf54.59.106
    Stream #0:0: Video: bmp, bgr8, 320x240, q=2-31, 200 kb/s, 90k tbn, 10 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (012v -> bmp)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.10 bitrate=N/A
video:76kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.028249%
}}}"	ami_stuff
avcodec	2137	Artefacts in MPEG-4 ASP elementary stream	git-master	defect	new	2013-01-14T23:16:16+01:00	2013-01-14T23:16:16+01:00	"I will upload an ASP elementary streams that shows accumulating artefacts with ffmpeg, plays fine with mplayer -vc xvid -demuxer lavf (-demuxer mpeg4es produces different artefacts).
{{{
$ ffmpeg -i tears.m4v -ss 9.65 out.png
ffmpeg version N-48881-g7980cca Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 14 2013 17:11:14 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 14.100 / 52. 14.100
  libavcodec     54. 89.100 / 54. 89.100
  libavformat    54. 59.107 / 54. 59.107
  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
[m4v @ 0x2bcbde0] Estimating duration from bitrate, this may be inaccurate
Input #0, m4v, from 'tears.m4v':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mpeg4, yuv420p, 640x480 [SAR 1:1 DAR 4:3], 29.97 tbr, 1200k tbn, 30k tbc
Output #0, image2, to 'out.png':
  Metadata:
    encoder         : Lavf54.59.107
    Stream #0:0: Video: png, rgb24, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> png)
Press [q] to stop, [?] for help
[mpeg4 @ 0x2bbacc0] looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.03 bitrate=N/A
video:474kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.004531%
}}}
out.png shows artefacts that can not be seen with 00000290.png:
$ mplayer tears.m4v -demuxer lavf -vc xvid -vo png"	cehoyos
avcodec	2216	memory leak in calling avcodec_alloc_context3 and then avcodec_copy_context	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
avcodec	2240	xvid: visible artefects	git-master	defect	open	2013-02-05T15:54:54+01:00	2013-02-27T22:43:15+01:00	"there are visible artefacts on the car at the end of the video

the file decodes ok with xvid codec

attached patch ""fixes"" the problem

http://samples.mplayerhq.hu/V-codecs/MPEG4/color16.avi

{{{
C:\>ffmpeg -i color16.avi out.avi
ffmpeg version N-48610-gb23aff6 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  8 2013 02:37:29 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. 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, avi, from 'color16.avi':
  Duration: 00:00:04.68, start: 0.000000, bitrate: 2583 kb/s
    Stream #0:0: Video: mpeg4 (XVID / 0x44495658), yuv420p, 712x368 [SAR 1:1 DAR
 89:46], 25 fps, 25 tbr, 25 tbn, 2 tbc
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.59.106
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 712x368 [SAR 1:1 DAR
 89:46], q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> mpeg4)
Press [q] to stop, [?] for help
[mpeg4 @ 0x1eff580] looks like this file was encoded with (divx4/(old)xvid/opend
ivx) -> forcing low_delay flag
frame=   39 fps=0.0 q=28.6 size=     123kB time=00:00:01.56 bitrate= 646.0kbits/
frame=   85 fps=0.0 q=19.2 size=     182kB time=00:00:03.40 bitrate= 439.5kbits/
frame=  117 fps= 86 q=21.6 Lsize=     229kB time=00:00:04.68 bitrate= 400.4kbits
/s
video:220kB audio:0kB subtitle:0 global headers:0kB muxing overhead 3.821809%
}}}"	ami_stuff
avcodec	2531	wvc1 interlaced decodes incorrectly	git-master	defect	open	2013-05-04T17:09:15+02:00	2013-05-04T17:28:01+02:00	"attached file (encoded with ""windows media encoder 8"") is decoded incorrectly by ffmpeg

http://www1.datafilehost.com/d/beee27be

{{{
C:\>ffmpeg -i interlaced_top.wmv -an out.avi
ffmpeg version N-52725-ge756635 Copyright (c) 2000-2013 the FFmpeg developers
  built on May  4 2013 02:45:38 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. 28.100 / 52. 28.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
[asf @ 0x1fbf920] max_analyze_duration 5000000 reached at 5070000 microseconds
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from 'interlaced_top.wmv':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    Buffer Average  : 1521
    VBR Peak        : 757702
    IsVBR           : 1
    DeviceConformanceTemplate: AP@L3
  Duration: 00:00:12.67, start: 0.026000, bitrate: 1072 kb/s
    Stream #0:0(pol): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp
, 281 kb/s
    Stream #0:1(pol): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 320x24
0, 914 kb/s, 23.98 tbr, 1k tbn, 1k tbc
Output #0, avi, to 'out.avi':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    Buffer Average  : 1521
    VBR Peak        : 757702
    IsVBR           : 1
    DeviceConformanceTemplate: AP@L3
    ISFT            : Lavf55.4.101
    Stream #0:0(pol): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31
, 200 kb/s, 23.98 tbn, 23.98 tbc
Stream mapping:
  Stream #0:1 -> #0:0 (vc1 -> mpeg4)
Press [q] to stop, [?] for help
frame=  109 fps=0.0 q=9.0 size=     210kB time=00:00:04.54 bitrate= 378.8kbits/s
frame=  212 fps=0.0 q=13.1 size=     354kB time=00:00:08.84 bitrate= 328.0kbits/
frame=  303 fps=220 q=10.2 Lsize=     453kB time=00:00:12.63 bitrate= 293.7kbits
/s
video:440kB audio:0kB subtitle:0 global headers:0kB muxing overhead 2.906442%
}}}"	ami_stuff
avcodec	2532	wmv1: green artefacts with lowres	git-master	defect	open	2013-05-04T22:04:49+02:00	2013-05-05T00:29:57+02:00	"{{{
C:\>ffmpeg -vlowres 1 -i 1.wmv -an out.avi
ffmpeg version N-52725-ge756635 Copyright (c) 2000-2013 the FFmpeg developers
  built on May  4 2013 02:45:38 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. 28.100 / 52. 28.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
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from '1.wmv':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
    DeviceConformanceTemplate: @
  Duration: 00:00:05.98, start: 0.000000, bitrate: 246 kb/s
    Stream #0:0(pol): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp
, 176 kb/s
    Stream #0:1(pol): Video: wmv1 (WMV1 / 0x31564D57), yuv420p, 80x60, 100 kb/s,
 24 tbr, 1k tbn, 1k tbc
Output #0, avi, to 'out.avi':
  Metadata:
    WMFSDKVersion   : 11.0.5721.5275
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
    DeviceConformanceTemplate: @
    ISFT            : Lavf55.4.101
    Stream #0:0(pol): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 80x60, q=2-31,
200 kb/s, 24 tbn, 24 tbc
Stream mapping:
  Stream #0:1 -> #0:0 (wmv1 -> mpeg4)
Press [q] to stop, [?] for help
[wmv1 @ 0x20cdcc0] dc overflow- block: 4 qscale: 4//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 4//
    Last message repeated 1 times
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 4//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 4//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 4//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 4//
[wmv1 @ 0x20cdcc0] dc overflow- block: 4 qscale: 4//
    Last message repeated 1 times
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 6//
    Last message repeated 1 times
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 6//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 8//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 7//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 9//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 9//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 9//
[wmv1 @ 0x20cdcc0] dc overflow- block: 5 qscale: 9//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 15//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 15//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 15//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 18//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 18//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 18//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 0 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 1 qscale: 19//
    Last message repeated 1 times
[wmv1 @ 0x20cdcc0] dc overflow- block: 2 qscale: 19//
[wmv1 @ 0x20cdcc0] dc overflow- block: 3 qscale: 19//
frame=  133 fps=0.0 q=1.6 Lsize=     151kB time=00:00:05.95 bitrate= 207.1kbits/
s
video:142kB audio:0kB subtitle:0 global headers:0kB muxing overhead 6.329672%
}}}"	ami_stuff
avcodec	2551	Seg fault in h264 when error resilience is disabled	git-master	defect	new	2013-05-10T01:08:38+02:00	2013-05-10T01:08:38+02:00	"Summary of the bug:
It looks like there is incomplete removal of error-resilience code, even with --disable-error-resilience, causing this segfault in h264 decode_slice.  I will attach console output from my repro ""h264_er_disabled_segfault.log"".

How to reproduce:
{{{
There may be a simpler repro.
FFmpeg maintainer already has test2.asan.0.9052.mov.

% ./configure --disable-everything --disable-avdevice --disable-avfilter --disable-bzlib --disable-doc --disable-ffprobe --disable-lzo --disable-network --disable-postproc --disable-swresample --disable-swscale --disable-zlib --enable-fft --enable-rdft --enable-shared --disable-iconv --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --optflags=-O2 --enable-decoder='theora,vorbis,vp8' --enable-decoder='pcm_u8,pcm_s16le,pcm_s24le,pcm_f32le' --enable-decoder='pcm_s16be,pcm_s24be' --enable-demuxer='ogg,matroska,wav' --enable-parser='vp3,vorbis,vp8' --enable-pic --enable-decoder='aac,h264,mp3' --enable-demuxer='mp3,mov' --enable-parser='aac,h264,mpegaudio' --disable-error-resilience --disable-optimizations --extra-cflags='-fno-inline -fno-omit-frame-pointer -fno-builtin -fno-optimize-sibling-calls' --enable-debug --enable-static --disable-shared --enable-protocol=file --enable-avfilter --enable-swscale --enable-swresample --enable-ffmpeg && make clean && make -j32 && ../../trunk/src/third_party/valgrind/linux_x64/bin/valgrind --tool=memcheck --num-callers=30 --gen-suppressions=all --demangle=no --leak-check=yes --show-possibly-lost=no ./ffmpeg_g -i test2.asan.0.9052.mov -f null - 2>&1

ffmpeg from git-master (13cb6ed3c449c57c605653943f7d6168afa10bf9)
built on linux x64
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker."	wolenetz
avcodec	2557	vc1 visible decoding error	git-master	defect	open	2013-05-11T01:31:19+02:00	2013-05-11T08:36:42+02:00	"http://www36.zippyshare.com/v/73283608/file.html
{{{
H:\>y:\ffmpeg -i glitch-ffvc1.avi out.avi
ffmpeg version N-52523-g0fb64da Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 28 2013 00:01:23 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-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. 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.100 /  3. 61.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, avi, from 'glitch-ffvc1.avi':
  Metadata:
    encoder         : mkvextract 6.1.0
  Duration: 00:00:02.24, start: 0.000000, bitrate: 22457 kb/s
    Stream #0:0: Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 50 tbc
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf55.3.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (vc1 -> mpeg4)
Press [q] to stop, [?] for help
frame=   56 fps= 14 q=31.0 Lsize=    1116kB time=00:00:02.28 bitrate=4009.7kbits/s
video:1109kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.630242%
}}}"	compn
avcodec	2578	avcodec_find_best_pix_fmt_of_list gives wrong format	git-master	defect	new	2013-05-16T14:42:29+02:00	2013-05-21T08:09:42+02:00	"Summary of the bug:
avcodec_find_best_pix_fmt_of_list gives me AV_PIX_FMT_PAL8 instead of AV_PIX_FMT_GRAY8, although src is AV_PIX_FMT_GRAY8 and it is contained in the list.
How to reproduce:
Use the ffmpeg API and try to call avcodec_find_best_pix_fmt_of_list with src = GRAY8. As destination list I used the list of png encoder, which contains GRAY8 as well as PAL8."	str
avcodec	2596	native dirac decoder is not bitexact	git-master	defect	new	2013-05-21T20:45:11+02:00	2013-05-21T20:45:11+02:00	Relevant for lossless encodings.	richardpl
avcodec	2615	fix matrox mpeg2 I-frame hd 1280x720	git-master	defect	open	2013-05-31T18:04:21+02:00	2013-05-31T21:29:04+02:00	"This codec supports only 3 resolutions, there are some problems with 1280x720 resolution (FFmpeg reports errors in I-frames)

1280x720:

http://www1.datafilehost.com/d/9377b7a9

1440x1080:

http://www1.datafilehost.com/d/160390de

1920x1080:

http://www1.datafilehost.com/d/01f7ea78


{{{
C:\>ffmpeg -i 1280.avi out.avi
ffmpeg version N-53680-g0ab9362 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 30 2013 12:14:03 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
  libavutil      52. 34.100 / 52. 34.100
  libavcodec     55. 12.102 / 55. 12.102
  libavformat    55.  8.100 / 55.  8.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 73.100 /  3. 73.100
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[mpeg2video @ 02997ee0] Invalid frame dimensions 0x0.
[mpeg2video @ 02997ee0] Warning MVs not available
[mpeg2video @ 02997ee0] concealing 80 DC, 80 AC, 80 MV errors in I frame
Input #0, avi, from '1280.avi':
  Duration: 00:00:07.51, start: 0.000000, bitrate: 36787 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2) (M701 / 0x3130374D), yuv422p, 1280x72
0 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 23.97 tbn, 59.94 tbc
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf55.8.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1280x720 [SAR 1:1 DA
R 16:9], q=2-31, 200 kb/s, 23.98 tbn, 23.98 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> mpeg4)
Press [q] to stop, [?] for help
[mpeg2video @ 02997ee0] Invalid frame dimensions 0x0.
[mpeg2video @ 02997ee0] Warning MVs not available
[mpeg2video @ 02997ee0] concealing 80 DC, 80 AC, 80 MV errors in I frame
[mpeg2video @ 02997ee0] Warning MVs not available
[mpeg2video @ 02997ee0] concealing 80 DC, 80 AC, 80 MV errors in I frame
[mpeg2video @ 02997ee0] Warning MVs not available
[mpeg2video @ 02997ee0] concealing 80 DC, 80 AC, 80 MV errors in I frame
    Last message repeated 49 times
frame=   52 fps=0.0 q=31.0 size=     362kB time=00:00:02.16 bitrate=1368.3kbits/
concealing 80 DC, 80 AC, 80 MV errors in I frame
[mpeg2video @ 02997ee0] concealing 80 DC, 80 AC, 80 MV errors in I frame
    Last message repeated 56 times
frame=  110 fps=0.0 q=31.0 size=     642kB time=00:00:04.58 bitrate=1146.8kbits/
concealing 80 DC, 80 AC, 80 MV errors in I frame
[mpeg2video @ 02997ee0] concealing 80 DC, 80 AC, 80 MV errors in I frame
    Last message repeated 56 times
frame=  168 fps=112 q=31.0 size=     952kB time=00:00:07.00 bitrate=1113.5kbits/
concealing 80 DC, 80 AC, 80 MV errors in I frame
[mpeg2video @ 02997ee0] concealing 80 DC, 80 AC, 80 MV errors in I frame
    Last message repeated 10 times
frame=  180 fps=112 q=31.0 Lsize=    1015kB time=00:00:07.50 bitrate=1107.7kbits
/s
video:1005kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.988754%
}}}"	ami_stuff
avcodec	2616	support matrox mpeg-2 I-frame with alpha codec (m704 fourcc)	git-master	defect	open	2013-05-31T18:20:10+02:00	2013-06-01T18:55:26+02:00	"attached file decodes as mpeg2video, but there are visible some artefact in the right-bottom corner of the video

http://www1.datafilehost.com/d/ea13c1dc

{{{
C:\>ffmpeg -vcodec mpeg2video -i m704.avi out.avi
ffmpeg version N-53680-g0ab9362 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 30 2013 12:14:03 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
  libavutil      52. 34.100 / 52. 34.100
  libavcodec     55. 12.102 / 55. 12.102
  libavformat    55.  8.100 / 55.  8.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 73.100 /  3. 73.100
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[mpeg2video @ 02997f20] Invalid frame dimensions 0x0.
Input #0, avi, from 'm704.avi':
  Duration: 00:00:12.64, start: 0.000000, bitrate: 8031 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2) (M704 / 0x3430374D), yuv422p, 720x480
 [SAR 8:9 DAR 4:3], 23.98 fps, 23.98 tbr, 23.97 tbn, 59.94 tbc
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf55.8.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480 [SAR 8:9 DAR
 4:3], q=2-31, 200 kb/s, 23.98 tbn, 23.98 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> mpeg4)
Press [q] to stop, [?] for help
[mpeg2video @ 02997f20] Invalid frame dimensions 0x0.
[mpeg2video @ 02997f20] end mismatch left=73960 1
[mpeg2video @ 02997f20] Warning MVs not available
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=69680 1
[mpeg2video @ 02997f20] Warning MVs not available
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=69760 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=69664 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=69808 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=70176 1
[mpeg2video @ 02997f20] Warning MVs not available
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=70072 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=70168 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=69976 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=70736 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=70736 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=70440 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=71416 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=70920 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=71096 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=71208 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=71304 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=71848 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=72432 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=71208 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=71568 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=72256 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=74440 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=73032 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=72712 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=73160 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
frame=  246 fps=0.0 q=31.0 size=     467kB time=00:00:10.26 bitrate= 373.2kbits/
end mismatch left=75504 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=75672 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=77384 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
[mpeg2video @ 02997f20] end mismatch left=76168 1
[mpeg2video @ 02997f20] concealing 9 DC, 9 AC, 9 MV errors in I frame
frame=  303 fps=0.0 q=31.0 Lsize=     536kB time=00:00:12.63 bitrate= 347.2kbits
/s
video:523kB audio:0kB subtitle:0 global headers:0kB muxing overhead 2.463669%
}}}



"	ami_stuff
avcodec	2618	MPNG shows artefacts	git-master	defect	open	2013-05-31T21:13:34+02:00	2013-06-04T20:51:44+02:00	"http://samples.ffmpeg.org/PNG-seq/mpng.avi used to play with ffplay with minor artefacts, is completely broken since ee30cda
{{{
$ ffmpeg -i mpng.avi out.avi
ffmpeg version N-53721-gf70d021 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 31 2013 21:12:24 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 34.100 / 52. 34.100
  libavcodec     55. 12.102 / 55. 12.102
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 73.100 /  3. 73.100
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, avi, from 'mpng.avi':
  Duration: 00:00:04.00, start: 0.000000, bitrate: 8987 kb/s
    Stream #0:0: Video: png (MPNG / 0x474E504D), rgba, 160x120 [SAR 2834:2834 DAR 4:3], 40 tbr, 40 tbn, 40 tbc
[mpeg4 @ 0x22f8ba0] too many threads/slices (9), reducing to 8
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf55.8.102
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 160x120 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 40 tbn, 40 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (png -> mpeg4)
Press [q] to stop, [?] for help
Input stream #0:0 frame changed from size:160x120 fmt:rgba to size:160x120 fmt:rgb24
Input stream #0:0 frame changed from size:160x120 fmt:rgb24 to size:160x120 fmt:pal8
Input stream #0:0 frame changed from size:160x120 fmt:pal8 to size:160x120 fmt:gray
frame=  160 fps=0.0 q=31.0 Lsize=     432kB time=00:00:04.00 bitrate= 885.1kbits/s
video:423kB audio:0kB subtitle:0 global headers:0kB muxing overhead 2.234574%
}}}"	cehoyos
avcodec	2654	calling draw slice callback with NULL data	git-master	defect	new	2013-06-08T23:06:11+02:00	2013-06-09T02:02:56+02:00	"{{{avctx->draw_horiz_band}}} seems to be called sometimes with a NULL data pointer. This cause MPlayer to flood stderr with the following message:

{{{
% ~/src/mplayer/mplayer ~/samples/matrixbench_mpeg2.mpg
MPlayer SVN-r35924-4.7.2 (C) 2000-2013 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/ubitux/samples/matrixbench_mpeg2.mpg.
libavformat version 55.8.102 (internal)
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  11421.6 kbps (1427.7 kbyte/s)
Load subtitles in /home/ubitux/samples/
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.15.100 (internal)
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [gl] 720x576 => 768x576 Planar YV12 
A:   0.3 V:   0.3 A-V:  0.021 ct:  0.006   4/  4 ??% ??% ??,?% 0 0 
[VD_FFMPEG] DRI failure.
A:   1.2 V:   1.2 A-V:  0.002 ct:  0.022  27/ 27  9%  3%  0.3% 0 0 
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
BUG in FFmpeg, draw_slice called with NULL pointer!
A:  12.3 V:  12.3 A-V:  0.004 ct:  0.020  47/ 47  7%  0%  0.3% 0 0 
}}}

See {{{libavcodec/mpegvideo.c:ff_draw_horiz_band()}}} where {{{avctx->draw_horiz_band}}} is called with {{{src->data[0]}}} being {{{NULL}}}.

I don't know which one is right here (FFmpeg or MPlayer), but something should be fixed.

{{{matrixbench_mpeg2.mpg}}} is available here: http://samples.ffmpeg.org/benchmark/testsuite1/matrixbench_mpeg2.mpg

I don't know if this is a regression.

Note @Reimar: I put you in copy since you're likely interested in that issue and might want to comment on it. Feel free to remove yourself from the Cc."	ubitux
avcodec	2686	Native AAC encoder collapses at high bitrates on some samples	git-master	defect	open	2013-06-18T20:08:57+02:00	2013-06-20T09:30:02+02:00	"'''Summary of the bug:'''
FFmpeg native aac encoder outputs horrible sound around 256kbps or more on particular samples. It happens at '''higher''' bitrates. The quality degrades as I '''increase''' the bitrates, and become most degraded at 320-400kbps.


'''How to reproduce:'''
{{{
ffmpeg -i ffmpeg_aac320k_collapse.flac -vn -c:a aac -strict experimental -b:a 320k ffmpeg_aac320k_collapse.mp4
}}}
I couldn't reproduce the results when I trimmed the most problematic sample down to 8 seconds, but by adding 10 seconds of silence before the sample, the bug could be reproduced. So I'm going to upload the sample with 10 seconds of silence attached. The native aac encoder was ok on many music clips at 320kbps, and only some clips exhibit noticeably bad quality aac files, to an extent I'd call it 'bug'.

'''Console Output:'''
{{{
ffmpeg version N-54096-ge41bf19 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 19 2013 00:20:06 with gcc 4.8.1 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-libmp3lame --enable-lib
vorbis --enable-nonfree --enable-libfdk-aac --enable-libvo_aacenc --enable-libfa
ac --extra-ldflags=-static --extra-cflags='-march=nocona -mfpmath=sse' --optflag
s=-O2
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  9.100 / 55.  9.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[flac @ 0003f160] max_analyze_duration 5000000 reached at 5015510 microseconds
Input #0, flac, from '05-true_my_heart_2m50s.flac':
  Duration: 00:00:18.01, bitrate: 573 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
Output #0, mp4, to '05-true_my_heart_2m50s_320k.mp4':
  Metadata:
    encoder         : Lavf55.9.100
    Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo, fltp, 32
0 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (flac -> aac)
Press [q] to stop, [?] for help
size=     331kB time=00:00:18.01 bitrate= 150.4kbits/s
video:0kB audio:327kB subtitle:0 global headers:0kB muxing overhead 1.151111%
}}}

"	Kamedo2
avcodec	1522	H264 Support SP frames exactly	git-master	enhancement	open	2012-07-10T13:10:44+02:00	2012-08-12T23:31:28+02:00	"Only the first nine frames of fate-suite/h264-conformance/sp2_bt_b.h264 are decoded correctly, the remaining frames show visual artefacts.
{{{
$ ffmpeg -i fate-suite/h264-conformance/sp2_bt_b.h264
ffmpeg version N-42404-gb4d0c3d Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 10 2012 09:31:25 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. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.104 / 54. 15.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
[h264 @ 0x90333c0] max_analyze_duration 5000000 reached at 5000000
[h264 @ 0x90333c0] Estimating duration from bitrate, this may be inaccurate
Input #0, h264, from 'fate-suite/h264-conformance/sp2_bt_b.h264':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (Extended), yuv420p, 176x144, 25 fps, 25 tbr, 1200k tbn, 50 tbc
At least one output file must be specified
}}}"	cehoyos
avcodec	1601	msmpeg4 reencode MB as intra or picture with higher quantizer if syntax limits are hit	git-master	enhancement	open	2012-08-03T18:23:17+02:00	2012-08-15T21:38:32+02:00	"there is visible a blinking square in the output video at the bottom-right corner

does not happen with removed ""-b:v 1000k"" from the command line

http://www.datafilehost.com/download-d92d34d7.html

{{{
C:\>ffmpeg -i mpeg1.mpg -r 25 -s 312x310 -vcodec msmpeg4v2 -an -b:v 1000k out.wmv
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
[mpeg @ 0x1eacee0] max_analyze_duration 5000000 reached at 5005000
Input #0, mpeg, from 'mpeg1.mpg':
  Duration: 00:00:12.61, start: 0.825933, bitrate: 1317 kb/s
    Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 320x240 [SAR 178:163 DAR 712
:489], 1150 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
    Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16, 128 kb/s
Output #0, asf, to 'out.wmv':
  Metadata:
    WM/EncodingSettings: Lavf54.22.100
    Stream #0:0: Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 312x310 [SAR 275
90:19071 DAR 712:489], q=2-31, 1000 kb/s, 1k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg1video -> msmpeg4v2)
Press [q] to stop, [?] for help
[msmpeg4v2 @ 0x1fa2c40] warning, clipping 1 dct coefficients to -127..127
    Last message repeated 17 times
frame=   46 fps=0.0 q=2.0 size=     257kB time=00:00:01.84 bitrate=1143.2kbits/s
warning, clipping 1 dct coefficients to -127..127
[msmpeg4v2 @ 0x1fa2c40] warning, clipping 1 dct coefficients to -127..127
    Last message repeated 38 times
frame=  103 fps=0.0 q=2.4 size=     588kB time=00:00:04.12 bitrate=1169.2kbits/s
warning, clipping 1 dct coefficients to -127..127
[msmpeg4v2 @ 0x1fa2c40] warning, clipping 1 dct coefficients to -127..127
    Last message repeated 12 times
frame=  158 fps=105 q=2.5 size=     872kB time=00:00:06.32 bitrate=1130.8kbits/s
warning, clipping 1 dct coefficients to -127..127
[msmpeg4v2 @ 0x1fa2c40] warning, clipping 1 dct coefficients to -127..127
    Last message repeated 8 times
frame=  212 fps=106 q=2.5 size=    1129kB time=00:00:08.48 bitrate=1090.3kbits/s
warning, clipping 1 dct coefficients to -127..127
[msmpeg4v2 @ 0x1fa2c40] warning, clipping 1 dct coefficients to -127..127
    Last message repeated 28 times
frame=  259 fps=104 q=2.0 size=    1326kB time=00:00:10.36 bitrate=1048.1kbits/s
warning, clipping 1 dct coefficients to -127..127
[msmpeg4v2 @ 0x1fa2c40] warning, clipping 1 dct coefficients to -127..127
    Last message repeated 26 times
[mpeg1video @ 0x1ead840] ac-tex damaged at 19 14
[mpeg1video @ 0x1ead840] Warning MVs not available
[mpeg1video @ 0x1ead840] concealing 20 DC, 20 AC, 20 MV errors in B frame
frame=  318 fps=105 q=2.0 Lsize=    1501kB time=00:00:12.72 bitrate= 966.5kbits/
s dup=0 drop=61
video:1479kB audio:0kB subtitle:0 global headers:0kB muxing overhead 1.442929%
}}}"	ami_stuff
avcodec	744	tweak i263 pb-frames support to eliminate graphic corruption	git-master	defect	open	2011-12-14T02:13:22+01:00	2012-12-18T13:11:41+01:00	"
{{{
C:\>ffmpeg -i i263_pbframes.avi out.avi
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
[mp3 @ 020C9E00] Header missing
Input #0, avi, from 'i263_pbframes.avi':
  Duration: 00:00:12.64, start: 0.000000, bitrate: 761 kb/s
    Stream #0:0: Video: h263i (I263 / 0x33363249), yuv420p, 320x240, 23.97 tbr,
23.97 tbn, 23.97 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 128 kb
/s
w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf53.24.0
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200
 kb/s, 23.97 tbn, 23.97 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16, 128 kb
/s
Stream mapping:
  Stream #0:0 -> #0:0 (h263i -> mpeg4)
  Stream #0:1 -> #0:1 (mp3 -> libmp3lame)
Press [q] to stop, [?] for help
[mp3 @ 020C9E00] Header missing
Error while decoding stream #0:1
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
frame=   35 fps=  0 q=2.5 size=     123kB time=00:00:02.79 bitrate= 359.9kbits/s
Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
frame=   79 fps=  0 q=5.1 size=     286kB time=00:00:06.45 bitrate= 363.5kbits/s
Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] cbpc damaged at 0 0
[h263i @ 020C9320] Error at MB: 0
[h263i @ 020C9320] concealing 300 DC, 300 AC, 300 MV errors
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
frame=  120 fps= 80 q=3.0 size=     406kB time=00:00:09.76 bitrate= 340.8kbits/s
Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[h263i @ 020C9320] Bad picture start code
[h263i @ 020C9320] header damaged
Error while decoding stream #0:0
[mp3 @ 020C9E00] incomplete frame
Error while decoding stream #0:1
frame=  153 fps= 80 q=2.8 Lsize=     512kB time=00:00:12.61 bitrate= 332.2kbits/
s
video:286kB audio:197kB global headers:0kB muxing overhead 5.832231%
}}}"	ami_stuff
avcodec	785	"""HEADER ERROR"" flooding with RM material"	git-master	defect	open	2011-12-17T02:43:01+01:00	2013-05-30T11:38:53+02:00	"It seems the rv20 codec (or the rm demuxer) has troubles with the following sample:

{{{
% ./ffplay ~/header-error-flood.rm
ffplay version N-35883-g552ec4c, Copyright (c) 2003-2011 the FFmpeg developers
  built on Dec 17 2011 02:37:24 with gcc 4.6.2 20111125 (prerelease)
  configuration: --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-x11grab --enable-libopenjpeg --enable-version3 --enable-libmodplug --enable-libass --cc='ccache cc'
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 46. 0 / 53. 46. 0
  libavformat  53. 26. 0 / 53. 26. 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
[rm @ 0x344af60] Unsupported stream type 44415441
[rm @ 0x344af60] max_analyze_duration 5000000 reached at 5014000
Input #0, rm, from '/home/ubitux/header-error-flood.rm':
  Metadata:
    title           : SMA 5503
    author          : MIT Streaming Media & Compression Services
    copyright       : ©2001 Massachusetts Institute of Technology
    comment         : 
  Duration: 01:24:24.55, start: 0.000000, bitrate: 10 kb/s
    Stream #0:0: Audio: cook (cook / 0x6B6F6F63), 22050 Hz, mono, flt, 32 kb/s
    Stream #0:1: Video: rv20 (RV20 / 0x30325652), yuv420p, 640x480, 187 kb/s, 10 fps, 10 tbr, 1k tbn, 1k tbc
    Stream #0:2: Data: none
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
Frame changed from size:640x480 to size:320x480vq= 1355KB sq=    0B f=0/0   
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1350KB sq=    0B f=0/0   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set9KB vq= 1348KB sq=    0B f=0/1   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1343KB sq=    0B f=0/1   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1340KB sq=    0B f=0/3   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set9KB vq= 1389KB sq=    0B f=0/7   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1387KB sq=    0B f=0/8   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1386KB sq=    0B f=0/8   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1383KB sq=    0B f=0/8   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1380KB sq=    0B f=0/9   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set0KB vq= 1355KB sq=    0B f=0/9   
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[rv20 @ 0x34b0160] HEADER ERROR
[rv20 @ 0x34b0160] reserved bit set
[...]
}}}

The playback is fine after the initial flood though, so priority is set to minor."	ubitux
avcodec	2512	FF_API_DESTRUCT_PACKET is incompletely deprecating use of API	git-master	defect	open	2013-04-29T20:45:33+02:00	2013-04-29T21:28:57+02:00	"Summary of the bug:
If FF_API_DESTRUCT_PACKET is not defined, there are currently some pieces that fail to build in FFmpeg.

Currently, FF_API_DESTRUCT_PACKET is gated on lavc major version < 56, so it is defined by default and these build errors are not hit.  Until full removal of this deprecated API, users of ffmpeg, such as chromium, that warn on deprecated attribute and error on warnings, currently require downstream patches to disable deprecated attribute while keeping FF_API_DESTRUCT_PACKET defined as true.

Are these build errors known and work planned to fix them prior to full deprecation of this API?

How to reproduce:
Examples of build failures when FF_API_DESTRUCT_PACKET is defined as false (1 < 1) in lavc/version.h:

lavc/avpacket.c:217:5: error: av_destruct_packet(pkt) is called but there is no declaration or definition of it

lavc/utils.c: multiple errors due to use of undeclared member named 'destruct' in 'struct AVPacket'"	wolenetz
avcodec	2667	console spamming when decoding a h264 / mp4 stream	git-master	defect	open	2013-06-14T00:31:10+02:00	2013-06-14T20:35:19+02:00	"Consider:
{{{
ffplay http://video.ted.com/talk/podcast/2013/None/AndrewMcAfee_2013-480p.mp4
}}}
This video plays fine at first, but about 130 seconds in it starts spamming these messages:
{{{
AVC: nal size 0 nan fd=   2 aq=   46KB vq=    0KB sq=    0B f=0/0   
[h264 @ 0xb4a07f40] AVC: nal size 0
[h264 @ 0xb4a07f40] no frame!
AVC: nal size 0 nan fd=   2 aq=   46KB vq=    0KB sq=    0B f=0/0   
[h264 @ 0xb4ca5940] AVC: nal size 0
[h264 @ 0xb4ca5940] no frame!
[h264 @ 0xb4a1f7e0] AVC: nal size 0
    Last message repeated 1 times
}}}
This is with latest git (fa125c5e82fce4). A user reported that a 2 week old Libav actually caused failed with an assertion on this.

No, I won't follow the cehoyos ritual, don't even ask. It's easily reproducible."	gjdfgh
avcodec	113	AAC - Audio object type 23 is not supported	git-master	enhancement	open	2011-04-25T19:50:15+02:00	2013-01-22T12:10:44+01:00	"ffmpeg AAC codec (decoder) doesn't seem to support AAC-LD and libfaad or libfaad2 (which is documented to support AAC-LD) is no longer an audio codec option. So there is no way to decode AAC-LD format audio track anymore. However, vlc on windows seems to play the file 

ffmpeg build from git snapshot of a few days ago( ffmpeg-HEAD-e16665b) on Fedora 2.6.30.9-96.fc11.x86_6411.

command line:
ffmpeg -y -i po_arrive...mov -acodec pcm_s24le extracted.wav

Error message is:
[aac @ 0x1e9bfa0] Audio object type 23 is not supported.
"	k_s_johnson
avcodec	134	Implement optimal Huffman tables for (M)JPEG encoding	git-master	enhancement	open	2011-04-28T19:15:21+02:00	2013-05-12T22:50:24+02:00	"(issue 267)
See http://guru.multimedia.cx/small-tasks-for-ffmpeg/ for an explanation of the task."	cehoyos
avcodec	232	[amrnb @ 0x626e90] dtx mode not implemented.	git-master	enhancement	open	2011-05-23T21:58:01+02:00	2011-05-24T00:48:14+02:00	"I've just compiled the latest version of ffmpeg from the SVN on a CentOS machine and when I try to decode amr audio files I get this error (repeated a lot of times):

{{{
[amrnb @ 0x626e90] dtx mode not implemented. Update your FFmpeg version to the newest one from SVN. If the problem still occurs, it means that your file has a feature which has not been implemented.If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing list.
}}}

On another box, an Ubuntu one, I have installed the ffmpeg package from the repositories and it works fine with the same files.
Also, on yet another CentOS box I am using a several-year-old version of ffmpeg that was compiled ages ago which can decode the same amr files just fine.

So either the error message is completely wrong and the real problem with the files is different, or there has been some regression in that a feature that had already been implemented ages ago has been dropped."	matteosistisette
avcodec	416	ffmpeg can't decode uncompressed self-generated TIFFs containing YUV420	git-master	enhancement	open	2011-08-23T16:00:26+02:00	2012-10-13T12:01:32+02:00	"When generating a sequence of TIFF frames containing YUV420 data, feeding it to ffmpeg results in a errormessage: ""Color mode 6 is not supported"".

ffmpeg -i movie.mpg -compression_level 0 -pix_fmt yuv420p bla%05d.tiff

ffmpeg -i bla%05d.tiff test.mpg
ffmpeg version N-31937-g7c94740, Copyright (c) 2000-2011 the FFmpeg developers
  built on Aug 17 2011 11:02:34 with gcc 4.5.2
  configuration: --enable-avfilter --enable-frei0r --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-nonfree --enable-pic --enable-pthreads --enable-shared --enable-version3 --enable-x11grab --disable-optimizations
  libavutil    51. 12. 0 / 51. 12. 0
  libavcodec   53. 10. 0 / 53. 10. 0
  libavformat  53.  7. 0 / 53.  7. 0
  libavdevice  53.  3. 0 / 53.  3. 0
  libavfilter   2. 31. 1 /  2. 31. 1
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[tiff @ 0x21e27e0] Color mode 6 is not supported
    Last message repeated 3 times                                                                                                                                                
Input #0, image2, from 'bla%05d.tiff':
  Duration: 00:00:07.84, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: tiff, 25 fps, 25 tbr, 25 tbn, 25 tbc
File 'test.mpg' already exists. Overwrite ? [y/N] y
[buffer @ 0x21e2360] Invalid pixel format string '-1'
Error opening filters!                                      "	takis
avcodec	430	Support for GMP4 variant of MPEG-4 ASP	git-master	enhancement	open	2011-09-05T10:20:02+02:00	2013-03-15T19:54:44+01:00	"Attached file shows I-Frames with mplayer -vc +ffodivx and attached riff patch. Other frame types only output ""header damaged"".
{{{
$ ffmpeg -v 9 -loglevel 99 -i gmp4.avi out.avi
ffmpeg version N-32325-g6f8b1fc, Copyright (c) 2000-2011 the FFmpeg developers
  built on Sep  5 2011 10:13:11 with gcc 4.5.3
  configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc
  libavutil    51. 16. 0 / 51. 16. 0
  libavcodec   53. 13. 0 / 53. 13. 0
  libavformat  53. 11. 0 / 53. 11. 0
  libavdevice  53.  3. 0 / 53.  3. 0
  libavfilter   2. 37. 0 /  2. 37. 0
  libswscale    2.  1. 0 /  2.  1. 0
[avi @ 0x129f780] Format avi probed with size=2048 and score=100
[AVI demuxer @ 0x129fda0] use odml:1
[avi @ 0x129f780] Something went wrong during header parsing, I will ignore it and try to continue anyway.
[mpeg4 @ 0x12a17a0] hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 0x12a17a0] my guess is 5 bits ;)
[avi @ 0x129f780] probing stream 1 pp:2500

...

[avi @ 0x129f780] probing stream 1 pp:1443
[avi @ 0x129f780] probed stream 1 failed
[avi @ 0x129f780] max_analyze_duration 5000000 reached at 5000000
Input #0, avi, from 'gmp4.avi':
  Duration: 00:05:00.30, start: 0.000000, bitrate: 68 kb/s
    Stream #0.0, 152, 1/30: Video: mpeg4 (GMP4 / 0x34504D47), yuv420p, 320x240, 1/30, 30 fps, 30 tbr, 30 tbn, 30 tbc
    Stream #0.1, 152, 1/30: Subtitle: none
[buffer @ 0x15b2300] w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[mpeg4 @ 0x12a2920] Unsupported bit depth: 0
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf53.11.0
    Stream #0.0, 0, 1/30: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, 1/30, q=2-31, 200 kb/s, 30 tbn, 30 tbc
Stream mapping:
  Stream #0.0 -> #0.0 (mpeg4 -> mpeg4)
Press [q] to stop, [?] for help
[mpeg4 @ 0x12a17a0] Unsupported bit depth: 0
[mpeg4 @ 0x12a17a0] hmm, seems the headers are not complete, trying to guess time_increment_bits
[mpeg4 @ 0x12a17a0] my guess is 5 bits ;)
[mpeg4 @ 0x12a17a0] looks like this file was encoded with (divx4/(old)xvid/opendivx) -> forcing low_delay flag
[mpeg4 @ 0x12a17a0] header damaged
Error while decoding stream #0.0

...

Error while decoding stream #0.0
    Last message repeated 1054 times
frame=    9 fps=  0 q=10.8 Lsize=     148kB time=00:00:32.03 bitrate=  37.8kbits/s    ^M
video:120kB audio:0kB global headers:0kB muxing overhead 23.445171%
}}}"	cehoyos
avcodec	492	support for BitJazz SheerVideo Pro v.2.6.7.6	git-master	enhancement	open	2011-09-21T04:14:26+02:00	2013-01-22T13:16:19+01:00	"As requested on ffmpeg.org here are sample files that use the shr0 codec.

http://www.archive.org/download/SAN_DIEGO_DANCERS/SDDancers1.mov
http://www.archive.org/download/SAN_DIEGO_DANCERS/SDDancers10.mov
http://www.archive.org/download/SAN_DIEGO_DANCERS/SDDancers11.mov
http://www.archive.org/download/SAN_DIEGO_DANCERS/SDDancers12.mov
http://www.archive.org/download/SAN_DIEGO_DANCERS/SDDancers13.mov
http://www.archive.org/download/SAN_DIEGO_DANCERS/SDDancers2.mov
http://www.archive.org/download/SAN_DIEGO_DANCERS/SDDancers3.mov
http://www.archive.org/download/SAN_DIEGO_DANCERS/SDDancers4.mov
http://www.archive.org/download/SAN_DIEGO_DANCERS/SDDancers5.mov
http://www.archive.org/download/SAN_DIEGO_DANCERS/SDDancers6.mov
http://www.archive.org/download/SAN_DIEGO_DANCERS/SDDancers7.mov
http://www.archive.org/download/SAN_DIEGO_DANCERS/SDDancers8.mov
http://www.archive.org/download/SAN_DIEGO_DANCERS/SDDancers9.mov
http://www.archive.org/download/LONDON/London10.mov
http://www.archive.org/download/LONDON/London11.mov
http://www.archive.org/download/LONDON/London12.mov
http://www.archive.org/download/LONDON/London13.mov
http://www.archive.org/download/LONDON/London14.mov
http://www.archive.org/download/LONDON/London15.mov
http://www.archive.org/download/LONDON/London16.mov
http://www.archive.org/download/LONDON/London17.mov
http://www.archive.org/download/LONDON/London18.mov
http://www.archive.org/download/LONDON/London19.mov
http://www.archive.org/download/LONDON/London1.mov
http://www.archive.org/download/LONDON/London20.mov
http://www.archive.org/download/LONDON/London21.mov
http://www.archive.org/download/LONDON/London22.mov
http://www.archive.org/download/LONDON/London23.mov
http://www.archive.org/download/LONDON/London24.mov
http://www.archive.org/download/LONDON/London25.mov
http://www.archive.org/download/LONDON/London26.mov
http://www.archive.org/download/LONDON/London27.mov
http://www.archive.org/download/LONDON/London28.mov
http://www.archive.org/download/LONDON/London29.mov
http://www.archive.org/download/LONDON/London2.mov
http://www.archive.org/download/LONDON/London30.mov
http://www.archive.org/download/LONDON/London31.mov
http://www.archive.org/download/LONDON/London32.mov
http://www.archive.org/download/LONDON/London33.mov
http://www.archive.org/download/LONDON/London34.mov
http://www.archive.org/download/LONDON/London35.mov
http://www.archive.org/download/LONDON/London36.mov
http://www.archive.org/download/LONDON/London37.mov
http://www.archive.org/download/LONDON/London38.mov
http://www.archive.org/download/LONDON/London39.mov
http://www.archive.org/download/LONDON/London3.mov
http://www.archive.org/download/LONDON/London4.mov
http://www.archive.org/download/LONDON/London5.mov
http://www.archive.org/download/LONDON/London6.mov
http://www.archive.org/download/LONDON/London7.mov
http://www.archive.org/download/LONDON/London8.mov
http://www.archive.org/download/LONDON/London9.mov
http://www.archive.org/download/STOCKHOLM/Stockholm10.mov
http://www.archive.org/download/STOCKHOLM/Stockholm11.mov
http://www.archive.org/download/STOCKHOLM/Stockholm12.mov
http://www.archive.org/download/STOCKHOLM/Stockholm13.mov
http://www.archive.org/download/STOCKHOLM/Stockholm14.mov
http://www.archive.org/download/STOCKHOLM/Stockholm15.mov
http://www.archive.org/download/STOCKHOLM/Stockholm16.mov
http://www.archive.org/download/STOCKHOLM/Stockholm17.mov
http://www.archive.org/download/STOCKHOLM/Stockholm18.mov
http://www.archive.org/download/STOCKHOLM/Stockholm19.mov
http://www.archive.org/download/STOCKHOLM/Stockholm1.mov
http://www.archive.org/download/STOCKHOLM/Stockholm20.mov
http://www.archive.org/download/STOCKHOLM/Stockholm21.mov
http://www.archive.org/download/STOCKHOLM/Stockholm22.mov
http://www.archive.org/download/STOCKHOLM/Stockholm23.mov
http://www.archive.org/download/STOCKHOLM/Stockholm24.mov
http://www.archive.org/download/STOCKHOLM/Stockholm25.mov
http://www.archive.org/download/STOCKHOLM/Stockholm2.mov
http://www.archive.org/download/STOCKHOLM/Stockholm3.mov
http://www.archive.org/download/STOCKHOLM/Stockholm4.mov
http://www.archive.org/download/STOCKHOLM/Stockholm5.mov
http://www.archive.org/download/STOCKHOLM/Stockholm6.mov
http://www.archive.org/download/STOCKHOLM/Stockholm7.mov
http://www.archive.org/download/STOCKHOLM/Stockholm8.mov
http://www.archive.org/download/STOCKHOLM/Stockholm9.mov
"	dericed
avcodec	535	encoding support for jpeg2000 yuv422p	git-master	enhancement	open	2011-10-08T02:40:57+02:00	2011-12-30T01:39:12+01:00	"Happy to see j2k encoding support for a few pixel formats. I'd love to see support for yuv422p and yuv422p10le. When I take yuv422p content as an input, the j2k encoder auto-selects rgb24 even if I state yuv422p encoding explicitly. Here's an output.

ffmpeg -y -t 1 -i OUT2.mov -vcodec j2k -pix_fmt yuv422p -an -strict experimental testj2k.mov
ffmpeg version N-33260-g2f9d6ff, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct  3 2011 23:51:10 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --enable-gpl
  libavutil    51. 19. 0 / 51. 19. 0
  libavcodec   53. 19. 0 / 53. 19. 0
  libavformat  53. 13. 0 / 53. 13. 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

Seems stream 1 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 29.97 (2997/100)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'OUT2.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    creation_time   : 1970-01-01 05:00:00
    encoder         : Lavf53.13.0
  Duration: 00:00:05.08, start: 0.000000, bitrate: 58142 kb/s
    Stream #0:0(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s
    Metadata:
      creation_time   : 1970-01-01 05:00:00
    Stream #0:1(eng): Video: dvvideo (dv5n / 0x6E357664), yuv422p, 720x480 [SAR 8:9 DAR 4:3], 57542 kb/s, SAR 19264:21837 DAR 9632:7279, 29.97 fps, 29.97 tbr, 2997 tbn, 29.97 tbc
    Metadata:
      creation_time   : 2011-10-07 19:55:10
Incompatible pixel format 'yuv422p' for codec 'j2k', auto-selecting format 'rgb24'
[buffer @ 0x100e01b40] w:720 h:480 pixfmt:yuv422p tb:1/1000000 sar:19264/21837 sws_param:
[buffersink @ 0x100e01da0] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out'
[scale @ 0x100e02160] w:720 h:480 fmt:yuv422p -> w:720 h:480 fmt:rgb24 flags:0x4
[swscaler @ 0x10101c800] No accelerated colorspace conversion found from yuv422p to rgb24.
[swscaler @ 0x10102f200] No accelerated colorspace conversion found from yuv422p to rgb24.
[swscaler @ 0x101034a00] No accelerated colorspace conversion found from yuv422p to rgb24.
Output #0, mov, to 'testj2k.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    creation_time   : 1970-01-01 05:00:00
    encoder         : Lavf53.13.0
    Stream #0:0(eng): Video: j2k (mjp2 / 0x32706A6D), rgb24, 720x480 [SAR 19264:21837 DAR 9632:7279], q=2-31, 200 kb/s, 2997 tbn, 29.97 tbc
    Metadata:
      creation_time   : 2011-10-07 19:55:10
Stream mapping:
  Stream #0.1 -> #0.0 (dvvideo -> j2k)
Press [q] to stop, [?] for help
frame=   30 fps=  5 q=0.0 Lsize=   12002kB time=00:00:01.00 bitrate=98224.4kbits/s    
video:12001kB audio:0kB global headers:0kB muxing overhead 0.007958%"	dericed
avcodec	625	support 2/3/5bit IMA ADPCM	git-master	enhancement	open	2011-11-08T14:43:24+01:00	2012-11-25T16:28:45+01:00	"(issue 1598)

{{{
C:\>ffmpeg -i IMAADPCM_2bits.wav
ffmpeg version N-34318-g8475ec1, Copyright (c) 2000-2011 the FFmpeg developers
  built on Oct 31 2011 17:50:05 with gcc 4.6.1
  configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect --ena
ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --ena
ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --en
able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib

  libavutil    51. 22. 0 / 51. 22. 0
  libavcodec   53. 26. 0 / 53. 26. 0
  libavformat  53. 18. 0 / 53. 18. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 45. 3 /  2. 45. 3
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[adpcm_ima_wav @ 020A90C0] Only 4-bit ADPCM IMA WAV files are supported
[wav @ 020A2320] parser not found for codec adpcm_ima_wav, packets or times may
be invalid.
[adpcm_ima_wav @ 020A90C0] Only 4-bit ADPCM IMA WAV files are supported
    Last message repeated 26 times
[wav @ 020A2320] Could not find codec parameters (Audio: adpcm_ima_wav ([17][0][
0][0] / 0x0011), 44100 Hz, 2 channels, 352 kb/s)
IMAADPCM_2bits.wav: could not find codec parameters
}}}"	ami_stuff
avcodec	638	add support for tiled TIFF	git-master	enhancement	open	2011-11-11T06:35:01+01:00	2011-12-03T12:11:23+01:00	"{{{
C:\>ffmpeg -i Tiled_NONE_8bpp.tif
ffmpeg version N-34549-g13b7781, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov  6 2011 22:02:08 with gcc 4.6.1
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil    51. 24. 0 / 51. 24. 0
  libavcodec   53. 28. 0 / 53. 28. 0
  libavformat  53. 19. 0 / 53. 19. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 47. 0 /  2. 47. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[tiff @ 02605B60] Image data is missing
[image2 @ 020A2320] Could not find codec parameters (Video: tiff)
Tiled_NONE_8bpp.tif: could not find codec parameters
}}}
"	ami_stuff
avcodec	643	VAAPI dynamic loading	unspecified	enhancement	open	2011-11-11T17:55:57+01:00	2011-11-11T19:46:46+01:00	"Hi,

We have implemented VAAPI support in our video player and things are great so far. However, ffmpeg creates a hard dependency on libva when we compile it with --enable-vaapi. This means the library won't load if libva is not available. This was a big problem to us. We can't really force its installation on already deployed systems especially when they don't even support hardware acceleration. Instead, I created a patch to support VAAPI dynamic loading. This patch does not come without compromises. For example, the vaapi_context now requires additional function pointers. Still, if you think this could be useful, here is the patch.

Thanks,
Gabi Julien"	gajul
avcodec	644	Support gray16a png	git-master	enhancement	open	2011-11-12T05:41:29+01:00	2013-05-13T12:03:21+02:00	"the files comes from png testsuite

no gdb log, because I would need to recompile everything again to have debug build of ffplay (40 mins. wasted :()

{{{
C:\>ffplay basi4a16.png
ffplay version N-34704-g985e768, Copyright (c) 2003-2011 the FFmpeg developers
  built on Nov 11 2011 01:49:15 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. 24. 1 / 51. 24. 1
  libavcodec   53. 31. 0 / 53. 31. 0
  libavformat  53. 20. 0 / 53. 20. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 47. 2 /  2. 47. 2
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, image2, from 'basi4a16.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, gray8a, 32x32, 25 tbr, 25 tbn, 25 tbc
[buffersink @ 00A72780] auto-inserting filter 'auto-inserted scale 0' between th
e filter 'src' and the filter 'out'
[scale @ 00A72A00] w:32 h:32 fmt:gray8a -> w:32 h:32 fmt:yuv420p flags:0x4
}}}"	ami_stuff
avcodec	700	tiff: support CCITT FAX3/4 in uncompressed mode	git-master	enhancement	open	2011-12-03T11:39:05+01:00	2011-12-03T12:12:04+01:00	"decodes fine with photoshop

{{{
C:\>ffmpeg -i CCITT_FAX3_unc.tif
ffmpeg version N-35295-gb55dd10, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov 30 2011 00:52:52 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. 29. 1 / 51. 29. 1
  libavcodec   53. 39. 1 / 53. 39. 1
  libavformat  53. 22. 0 / 53. 22. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 50. 0 /  2. 50. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[tiff @ 02615B60] Uncompressed fax mode is not supported (yet)
Input #0, image2, from 'CCITT_FAX3_unc.tif':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: tiff, monob, 1023x767, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
}}}

{{{
C:\>ffmpeg -i CCITT_FAX4_unc.tif
ffmpeg version N-35295-gb55dd10, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov 30 2011 00:52:52 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. 29. 1 / 51. 29. 1
  libavcodec   53. 39. 1 / 53. 39. 1
  libavformat  53. 22. 0 / 53. 22. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 50. 0 /  2. 50. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[tiff @ 02615B60] Uncompressed fax mode is not supported (yet)
Input #0, image2, from 'CCITT_FAX4_unc.tif':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: tiff, monob, 1023x767, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified
}}}"	ami_stuff
avcodec	747	Enable AMV encoding for audio	git-master	enhancement	open	2011-12-14T15:31:57+01:00	2011-12-14T16:52:19+01:00	"The [http://wiki.multimedia.cx/index.php?title=AMV amv] format is made for chinese s1mp3 hardware players, and is now part of the latest version of FFmpeg (0.9 - Harmony).

However, its underlying audio is adpcm_ima_amv, and this is unsupported by FFmpeg.

When I call {{{ffmpeg -codecs}}}, it contains the line {{{ D A D  adpcm_ima_amv   ADPCM IMA AMV}}}, which means Decoding supported, Audio codec, Direct rendering, but it doesn't contain E which stands for Encoding.

I found the [http://code.google.com/p/amv-codec-tools/w/list amv-codec-tools] project, which supports this audio format automatically.

I think it would be easy to merge the outdated ''adpcm_ima_amv'' encoder from the amv-codec-tools into FFmpeg.

To be noted, compiling amv-codec-tools with the new FFmpeg version doesn't work, even I disable the ''amv'' and the ''adpcm_ima_amv'' encoders/decoders, I get this error: 

{{{
[NULL @ 039a7860] Requested output format 'amv' is not a suitable output format
sample.amv: Invalid argument
}}}

Which is the same error that occurs when trying to use FFmpeg 0.9 for the AMV format - an issue that should be reported separately.

This issue is very urgent to me and I consider promoting a developer that will make it work."	shimmy
avcodec	798	LEAD codecs not supported	git-master	enhancement	open	2011-12-20T13:53:51+01:00	2011-12-20T14:04:01+01:00	"windows media player play such files fine
{{{
ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec  5 2011 14:28:46 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --e
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable
libxvid --enable-zlib
  libavutil    51. 30. 0 / 51. 30. 0
  libavcodec   53. 40. 0 / 53. 40. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 51. 0 /  2. 51. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[avi @ 000000000031D830] Format avi probed with size=2048 and score=100
[AVI demuxer @ 0000000001C20080] use odml:1
st:1 removing common factor 13 from timebase
[gsm_ms @ 000000000031F620] err{or,}_recognition separate: 1; 1
[gsm_ms @ 000000000031F620] err{or,}_recognition combined: 1; 65537
[avi @ 000000000031D830] parser not found for codec gsm_ms, packets or times may be invalid.
[avi @ 000000000031D830] parser not found for codec none, packets or times may be invalid.
[avi @ 000000000031D830] max_analyze_duration 5000000 reached at 5005000
Input #0, avi, from 'DaDa_CMP.avi':
  Duration: 00:00:07.54, start: 0.000000, bitrate: 2750 kb/s
    Stream #0:0, 152, 1001/30000: Video: none (LEAD / 0x4441454C), 480x320, 1001/30000, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1, 703, 5/689: Audio: gsm_ms (1[0][0][0] / 0x0031), 44100 Hz, 1 channels, s16, 71 kb/s
Video pixel format is unknown, stream cannot be encoded
}}}


==================


{{{
ffmpeg version N-35462-g61b1d85, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec  5 2011 14:28:46 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --e
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable
libxvid --enable-zlib
  libavutil    51. 30. 0 / 51. 30. 0
  libavcodec   53. 40. 0 / 53. 40. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 51. 0 /  2. 51. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[avi @ 000000000200D7F0] Format avi probed with size=2048 and score=100
[AVI demuxer @ 0000000000330080] use odml:1
st:1 removing common factor 13 from timebase
[gsm_ms @ 000000000200F5E0] err{or,}_recognition separate: 1; 1
[gsm_ms @ 000000000200F5E0] err{or,}_recognition combined: 1; 65537
[avi @ 000000000200D7F0] parser not found for codec gsm_ms, packets or times may be invalid.
[avi @ 000000000200D7F0] parser not found for codec none, packets or times may be invalid.
[avi @ 000000000200D7F0] max_analyze_duration 5000000 reached at 5005000
Input #0, avi, from 'DaDa_CMW.avi':
  Duration: 00:00:07.54, start: 0.000000, bitrate: 2355 kb/s
    Stream #0:0, 152, 1001/30000: Video: none (LCW2 / 0x3257434C), 480x320, 1001/30000, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1, 703, 5/689: Audio: gsm_ms (1[0][0][0] / 0x0031), 44100 Hz, 1 channels, s16, 71 kb/s
Video pixel format is unknown, stream cannot be encoded
}}}



"	mogadanez
avcodec	839	grayscale support in snow	git-master	enhancement	open	2011-12-28T00:21:08+01:00	2012-10-13T12:16:38+02:00	"https://ffmpeg.org/trac/ffmpeg/attachment/ticket/833/gray.png

{{{
(gdb) r -i gray.png -vcodec snow -strict -2 out.avi
Starting program: F:\MinGW\msys\1.0\ffmpeg-HEAD-834f80d/ffmpeg_g.exe -i gray.png
 -vcodec snow -strict -2 out.avi
[New Thread 3404.0xf18]
ffmpeg version 0.9.0.git-834f80d, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 22 2011 14:07:40 with gcc 4.5.2
  configuration: --disable-ffplay --disable-ffserver --disable-asm --disable-yas
m --disable-shared --enable-static
  libavutil      51. 32.100 / 51. 32.100
  libavcodec     53. 47.100 / 53. 47.100
  libavformat    53. 28.100 / 53. 28.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 53.  0 /  2. 53.  0
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  5.100 /  0.  0.100
Input #0, image2, from 'gray.png':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, gray, 1024x768, 25 tbr, 25 tbn, 25 tbc
[buffer @ 03d61640] w:1024 h:768 pixfmt:gray tb:1/1000000 sar:0/1 sws_param:
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf53.28.100
    Stream #0:0: Video: snow (SNOW / 0x574F4E53), gray, 1024x768, q=2-31, 200 kb
/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (png -> snow)
Press [q] to stop, [?] for help

Program received signal SIGSEGV, Segmentation fault.
0x0080e15f in encode_frame (avctx=0x3d5f8b8, buf=0x4a10020 """",
    buf_size=5515024, data=0x22daf0) at libavcodec/snowenc.c:1619
1619                memcpy(&s->input_picture.data[i][y * s->input_picture.linesi
ze[i]],
(gdb) bt
#0  0x0080e15f in encode_frame (avctx=0x3d5f8b8, buf=0x4a10020 """",
    buf_size=5515024, data=0x22daf0) at libavcodec/snowenc.c:1619
#1  0x00509101 in avcodec_encode_video (avctx=0x3d5f8b8, buf=0x4a10020 """",
    buf_size=5515024, pict=0x22daf0) at libavcodec/utils.c:881
#2  0x00404f6e in do_video_out (s=0x3d5f3b0, ost=0x3d5fcd0,
    in_picture=0x3d62220, frame_size=0x22de9c, quality=0,
    ist=<value optimized out>) at ffmpeg.c:1349
#3  0x004068c5 in transcode_video (ist=0x3d611d0, ost_table=0x3d5fcd0,
    nb_ostreams=1, pkt=0x22fbb8) at ffmpeg.c:1955
#4  output_packet (ist=0x3d611d0, ost_table=0x3d5fcd0, nb_ostreams=1,
    pkt=0x22fbb8) at ffmpeg.c:2046
#5  0x0040a63e in transcode (output_files=<value optimized out>,
    nb_output_files=0, input_files=0x0, nb_input_files=4256952)
    at ffmpeg.c:2804
#6  0x0022ff48 in ?? ()
#7  0x00000000 in ?? ()
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0x80e13f to 0x80e17f:
   0x0080e13f <encode_frame+187>:       add    %al,(%eax)
   0x0080e141 <encode_frame+189>:       add    0x1040(%esi,%eax,4),%edx
   0x0080e148 <encode_frame+196>:       mov    %ebx,%esi
   0x0080e14a <encode_frame+198>:       mov    0xa0(%esp),%edi
   0x0080e151 <encode_frame+205>:       imul   0x10(%edi,%eax,4),%esi
   0x0080e156 <encode_frame+210>:       add    (%edi,%eax,4),%esi
   0x0080e159 <encode_frame+213>:       mov    %edx,%edi
   0x0080e15b <encode_frame+215>:       mov    0x50(%esp),%ecx
=> 0x0080e15f <encode_frame+219>:       rep movsb %ds:(%esi),%es:(%edi)
   0x0080e161 <encode_frame+221>:       inc    %ebx
   0x0080e162 <encode_frame+222>:       cmp    0x54(%esp),%ebx
   0x0080e166 <encode_frame+226>:       jl     0x80e133 <encode_frame+175>
   0x0080e168 <encode_frame+228>:       inc    %eax
   0x0080e169 <encode_frame+229>:       cmp    $0x3,%eax
   0x0080e16c <encode_frame+232>:       jne    0x80e116 <encode_frame+146>
   0x0080e16e <encode_frame+234>:       mov    0x6c(%esp),%edi
   0x0080e172 <encode_frame+238>:       add    $0xf20,%edi
   0x0080e178 <encode_frame+244>:       mov    $0x48,%ecx
   0x0080e17d <encode_frame+249>:       mov    0xa0(%esp),%esi
End of assembler dump.
(gdb) info all-registers
eax            0x1      1
ecx            0x200    512
edx            0x0      0
ebx            0x0      0
esp            0x22c860 0x22c860
ebp            0x400    0x400
esi            0x0      0
edi            0x0      0
eip            0x80e15f 0x80e15f <encode_frame+219>
eflags         0x10246  [ PF ZF IF RF ]
cs             0x1b     27
ss             0x23     35
ds             0x23     35
es             0x23     35
fs             0x3b     59
gs             0x0      0
st0            0        (raw 0x00000000000000000000)
st1            0        (raw 0x00000000000000000000)
st2            0        (raw 0x00000000000000000000)
st3            -2147483648      (raw 0xc01e8000000000000000)
st4            -1.1000000000000001      (raw 0xbfff8ccccccccccccccd)
st5            0        (raw 0x00000000000000000000)
st6            0.59999999999999998      (raw 0x3ffe999999999999999a)
st7            0        (raw 0x00000000000000000000)
fctrl          0xffff037f       -64641
fstat          0xffff0120       -65248
ftag           0xffffffff       -1
fiseg          0x0      0
fioff          0x0      0
foseg          0xffff0000       -65536
fooff          0x0      0
fop            0x0      0
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
mxcsr          0x1f80   [ IM DM ZM OM UM PM ]
mm0            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm1            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000},
  v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x80}}
mm4            {uint64 = 0x8ccccccccccccccd, v2_int32 = {0xcccccccd,
    0x8ccccccc}, v4_int16 = {0xcccd, 0xcccc, 0xcccc, 0x8ccc}, v8_int8 = {
    0xcd, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0x8c}}
mm5            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm6            {uint64 = 0x999999999999999a, v2_int32 = {0x9999999a,
    0x99999999}, v4_int16 = {0x999a, 0x9999, 0x9999, 0x9999}, v8_int8 = {
    0x9a, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99, 0x99}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
}}}"	ami_stuff
avcodec	896	ljpeg: support 32bpp RGBA	git-master	enhancement	open	2012-01-07T23:50:30+01:00	2012-12-03T15:27:48+01:00	"Color Depth: 32 bpp
Bits Per sample: 8
Samples Per Pixel: 4
Lossless Predictor: 1
Lossless Point Transform: 0
Interleaved: Yes
Restart Interval in MCU-Rows: 0

{{{
C:\>ffmpeg -i 32rgba.jpg
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
[mjpeg @ 02645B60] Unhandled pixel format 0x11111111
[image2 @ 020E2320] Could not find codec parameters (Video: mjpeg, 320x240 [SAR
300:300 DAR 4:3])
32rgba.jpg: could not find codec parameters
}}}"	ami_stuff
avcodec	914	"tiff: reject (later support) ""old style LZW"""	git-master	enhancement	open	2012-01-11T19:27:05+01:00	2013-01-03T05:31:29+01:00	"quad-lzw.tif 512x384 8-bit RGB (lzw) ""quadric surfaces""

{{{
C:\>ffmpeg -i quad-lzw.tif out.bmp
ffmpeg version N-36635-gceb0dd9 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan  9 2012 17:39:58 with gcc 4.6.2
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  libavutil      51. 34.100 / 51. 34.100
  libavcodec     53. 54.100 / 53. 54.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 58.100 /  2. 58.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    51.  2.100 / 51.  2.100
[tiff @ 02645B60] Decoded only 3 bytes of 1536
Input #0, image2, from 'quad-lzw.tif':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: tiff, rgb24, 512x384, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'rgb24' for codec 'bmp', auto-selecting format 'bgr24'

[buffer @ 020F1760] w:512 h:384 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 020F19E0] auto-inserting filter 'auto-inserted scale 0' between th
e filter 'src' and the filter 'out'
[scale @ 020F1E60] w:512 h:384 fmt:rgb24 -> w:512 h:384 fmt:bgr24 flags:0x4
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf53.29.100
    Stream #0:0: Video: bmp, bgr24, 512x384, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (tiff -> bmp)
Press [q] to stop, [?] for help
[tiff @ 02645B60] Decoded only 3 bytes of 1536
frame=    1 fps=  0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/
s
video:576kB audio:0kB global headers:0kB muxing overhead -100.000000%
}}}"	ami_stuff
avcodec	929	AAC decoder does not respect request_channels	git-master	enhancement	open	2012-01-19T16:17:52+01:00	2012-01-27T01:08:02+01:00	I tested  AAC 5.1 channel audio on stereo output on arm-based beagleboard. sometimes there is audio output on left channel, other times on right channel. This issue doesn't happen on AC3 5.1 channel.  	kaijun61
avcodec	1009	XvBA - AMD Hardware acceleration	git-master	enhancement	open	2012-02-21T13:00:05+01:00	2013-02-27T10:33:23+01:00	"It would be nice if ffmpeg supports XvBA hardware acceleration because VA-API/XvBA fell into an unmaintained modus.

More Information about the hardware acceleration interface:
http://en.wikipedia.org/wiki/X-Video_Bitstream_Acceleration

XvBA SDK:
http://developer.amd.com/zones/opensource/Pages/default.aspx

An another project implements the XvBA interface:
http://www.phoronix.com/scan.php?page=news_item&px=MTAyODU
"	freespacer
avcodec	1081	Cinelerra HV60	git-master	enhancement	open	2012-03-16T20:32:07+01:00	2012-04-17T11:38:42+02:00	"samples/V-codecs/HV60/ contains a HV60 sample that plays badly with the attached patch.
http://fossies.org/dox/cinelerra-4.3-src/quicktime_8h_source.html claims that HV60 is a ''Basterdization of MPEG-4 which encodes alternating fields in series''"	cehoyos
avcodec	1087	support decoding the CineForm codec	git-master	enhancement	open	2012-03-17T05:50:33+01:00	2013-06-03T13:23:05+02:00	"I found that ffmpeg can't read CineForm CFHD files.

There are some samples available here: http://samples.mplayerhq.hu/V-codecs/CFHD/
I may be able to provide more samples if needed.

{{{
ffmpeg -y -i MT_BeartoothHighway_1min_Cineform.avi anything.mp4
ffmpeg version N-34835-g4a9f466 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar  4 2012 08:53:39 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-libfreetype --cc=/usr/bin/gcc-4.2 --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass
  libavutil      51. 41.100 / 51. 41.100
  libavcodec     54.  7.100 / 54.  7.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 63.100 /  2. 63.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
[avi @ 0x7fb4c201ae00] decoding for stream 0 failed
[avi @ 0x7fb4c201ae00] Could not find codec parameters (Video: none (CFHD / 0x44484643), 1280x720)
Input #0, avi, from 'MT_BeartoothHighway_1min_Cineform.avi':
  Duration: 00:01:01.96, start: 0.000000, bitrate: 16472 kb/s
    Stream #0:0: Video: none (CFHD / 0x44484643), 1280x720, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
Video pixel format is unknown, stream cannot be encoded
}}}
"	dericed
avcodec	1211	jpeg2000: incorrect output	git-master	enhancement	open	2012-04-14T19:16:12+02:00	2013-06-17T23:28:20+02:00	"attached images (saved with qt) decodes with wrong colors/incorrectly compared to the output which comes from libopenjpeg

{{{
C:\>ffmpeg -strict -2 -i 24bpp.jp2 out.bmp
ffmpeg version N-39787-gcca9528 Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr 14 2012 02:20:31 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. 69.101 /  2. 69.101
  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 '24bpp.jp2':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: j2k, rgb24, 1024x768, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'rgb24' for codec 'bmp', auto-selecting format 'bgr24'

[buffer @ 0x1dc4a80] w:1024 h:768 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:fl
ags=2
[buffersink @ 0x1dc4d80] auto-inserting filter 'auto-inserted scale 0' between t
he filter 'src' and the filter 'out'
[scale @ 0x1dc4fa0] w:1024 h:768 fmt:rgb24 sar:0/1 -> w:1024 h:768 fmt:bgr24 sar
:0/1 flags:0x4
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf54.3.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 (j2k -> bmp)
Press [q] to stop, [?] for help
frame=    1 fps=0.9 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/
s
video:2304kB audio:0kB global headers:0kB muxing overhead -100.000000%
}}}"	ami_stuff
avcodec	1258	Codec support request : MPEG Multichannel Audio	git-master	enhancement	open	2012-04-28T13:09:58+02:00	2012-04-28T16:58:32+02:00	"Hi

Support for MPEG Multichannel audio seems to be missing. This is different to ac3. More information can be found here : http://en.wikipedia.org/wiki/MPEG_Multichannel

It's a method of encoding surround audio into stereo mpeg2 files. If the files are played back using software that doesn't support the extra channels, the data is dropped and only the first two channels are decoded.

This codec forms part of the HDV specification (specifically the 4 channel audio option on some HDV camcorders). The Canon XLH1, in particular, made use of this system.

I have found a very old project called mctoolamed : http://mctoolame.sourceforge.net which can decode this codec.

mctoolamed has several issues; it doesn't make provision for sample rates other than 44.1kHz and it also only supports 2,6 and 8 channel files (HDV cameras shoot 4 channels).

"	aquarat
avcodec	1306	Open EXR : wrong processing of an *.exr files	git-master	enhancement	open	2012-05-14T13:14:21+02:00	2012-07-25T14:52:43+02:00	"Looks there is some mistake in EXR format support in ffmpeg.
I`m tried to convert simple exr image file to jpeg, but get funky-noissy image as result :
[[Image(http://i112.photobucket.com/albums/n173/russiaman/tmp/test_exr_out.jpg)]]

Exact the same noisy image is appear, when i`m try to view exr file via ffplay.

there is a commandline i`ve used to convert:
''ffmpeg.exe -f image2 -i d:\tmp\test_exr.exr d:\tmp\sq2mv\test_exr_out.jpg''

in console i get one message many times:
''[exr @ 0000000001e60940] Line offset for line 804 is out of reach setting it to black''
there is a screenshoot:
[[Image(http://i112.photobucket.com/albums/n173/russiaman/tmp/ffmpeg_exr_bug.jpg)]]

In attachments i put my source exr file and output jpg generated by ffmpeg."	russiaman
avcodec	1308	Decoding SAFA / Philips .ZVR files	git-master	enhancement	open	2012-05-15T02:27:35+02:00	2012-05-16T07:38:46+02:00	"SAFA and Philips mobile recording devices create sound files with the extension .ZVR

I have checked whether this format can be read by ffmpeg and I believe that it can't.

There is a free very simple file converter for Windows, but there's nothing for Linux, apart from running the Windows file converter under Wine.

It would be useful if ffmpeg could read (but not write) these files.

I have no idea how much work it might be or how you would get the file specification. 

I can supply sample files.
"	ChrisOfBristol
avcodec	1347	gif parser	git-master	enhancement	open	2012-05-23T16:15:21+02:00	2013-01-22T13:29:03+01:00	"with the test image attached image2 works:

{{{
    ffmpeg -f image2 -vcodec gif -i test.gif -f null -
}}}

whereas image2pipe doesn't:

{{{
[pisto@pcpcpcpc Desktop]$ ffmpeg -f image2 -vcodec gif -i test.gif -f null -
ffmpeg version N-33891-g0e82d31 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 19 2012 15:17:38 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2)
  configuration: --enable-gpl --enable-pic --arch=amd64 --cpu=native --enable-libvpx --enable-libx264 --enable-libv4l2 --enable-libtheora --enable-libspeex --enable-libschroedinger --enable-libpulse --enable-libmp3lame --enable-libfaac --enable-nonfree
  libavutil      51. 53.100 / 51. 53.100
  libavcodec     54. 21.101 / 54. 21.101
  libavformat    54.  5.100 / 54.  5.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 74.102 /  2. 74.102
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 12.100 /  0. 12.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, image2, from 'test.gif':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: gif, pal8, 640x480, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x2a05d80] w:640 h:480 pixfmt:pal8 tb:1/1000000 sar:0/1 sws_param:flags=2
[buffersink @ 0x2a06260] No opaque field provided
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.5.100
    Stream #0:0: Video: rawvideo, pal8, 640x480, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (gif -> rawvideo)
Press [q] to stop, [?] for help
[null @ 0x2a04e40] Encoder did not produce proper pts, making some up.
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/s    
video:0kB audio:0kB global headers:0kB muxing overhead -nan%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
[pisto@pcpcpcpc Desktop]$ cat test.gif | ffmpeg -f image2pipe -vcodec gif -i - -f null -
ffmpeg version N-33891-g0e82d31 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 19 2012 15:17:38 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2)
  configuration: --enable-gpl --enable-pic --arch=amd64 --cpu=native --enable-libvpx --enable-libx264 --enable-libv4l2 --enable-libtheora --enable-libspeex --enable-libschroedinger --enable-libpulse --enable-libmp3lame --enable-libfaac --enable-nonfree
  libavutil      51. 53.100 / 51. 53.100
  libavcodec     54. 21.101 / 54. 21.101
  libavformat    54.  5.100 / 54.  5.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 74.102 /  2. 74.102
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 12.100 /  0. 12.100
  libpostproc    52.  0.100 / 52.  0.100
lzw overread
    Last message repeated 352 times
[image2pipe @ 0x2ef0240] Estimating duration from bitrate, this may be inaccurate
Input #0, image2pipe, from 'pipe:':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: gif, pal8, 640x480, 25 fps, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x2f06020] w:640 h:480 pixfmt:pal8 tb:1/1000000 sar:0/1 sws_param:flags=2
[buffersink @ 0x2f064e0] No opaque field provided
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.5.100
    Stream #0:0: Video: rawvideo, pal8, 640x480, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (gif -> rawvideo)
lzw overread
    Last message repeated 352 times
[null @ 0x2f04f60] Encoder did not produce proper pts, making some up.
Error while decoding stream #0:0
    Last message repeated 3 times
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/s    
video:0kB audio:0kB global headers:0kB muxing overhead -nan%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)
}}}

"	pisto
avcodec	1370	dvvideo enc: incorrect output with 1440x1080	git-master	enhancement	open	2012-05-29T15:19:07+02:00	2012-06-04T20:46:48+02:00	"http://samples.ffmpeg.org/V-codecs/CDVHsample.avi

the same happens with -i test.bmp -s 1440x1080 -pix_fmt yuv422p

{{{
C:\>ffmpeg -i CDVHsample.avi -vcodec dvvideo out.avi
ffmpeg version N-41065-gab7d6cb Copyright (c) 2000-2012 the FFmpeg developers
  built on May 27 2012 02:29:13 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. 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
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avi, from 'CDVHsample.avi':
  Metadata:
    IRTD            : Keine Angabe
    title           : testi2
    date            : 2003
    genre           : western
    ISBJ            : Red Rock City
    IKEY            : Bua, Fu-bad, bla
    encoder         : Lavf52.25.0
    IAS1            : English
  Duration: 00:00:13.64, start: 0.000000, bitrate: 3075 kb/s
    Stream #0:0: Video: dvvideo (CDVH / 0x48564443), yuv422p, 1440x1080 [SAR 4:3
 DAR 16:9], SAR 1:1 DAR 4:3, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16
, 1536 kb/s
w:1440 h:1080 pixfmt:yuv422p tb:1/25 sar:1/1 sws_param:flags=2
[buffersink @ 0x1df33c0] No opaque field provided
Output #0, avi, to 'out.avi':
  Metadata:
    ILNG            : Keine Angabe
    IRTD            : Keine Angabe
    INAM            : testi2
    ICRD            : 2003
    IGNR            : western
    ISBJ            : Red Rock City
    IKEY            : Bua, Fu-bad, bla
    IAS1            : English
    ISFT            : Lavf54.6.101
    Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv422p, 1440x1080 [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), 48000 Hz, stereo, s16
Stream mapping:
  Stream #0:0 -> #0:0 (dvvideo -> dvvideo)
  Stream #0:1 -> #0:1 (pcm_s16le -> libmp3lame)
Press [q] to stop, [?] for help
[dvvideo @ 0x2346b80] ac bitstream overflow
    Last message repeated 115 times
frame=    4 fps=0.0 q=0.0 size=     574kB time=00:00:00.04 bitrate=97881.3kbits/
ac bitstream overflow
[dvvideo @ 0x2346b80] ac bitstream overflow
    Last message repeated 34 times
Truncating packet of size 576000 to 563333
[dvvideo @ 0x1de2320] could not find dv frame profile
Error while decoding stream #0:0
Truncating packet of size 12668 to 1
frame=    8 fps=0.0 q=0.0 Lsize=    4516kB time=00:00:00.32 bitrate=115610.6kbit
s/s
video:4500kB audio:6kB global headers:0kB muxing overhead 0.231135%
}}}"	ami_stuff
avcodec	1407	aac: 960/120 MDCT window is not implemented	git-master	enhancement	new	2012-06-04T09:11:22+02:00	2013-06-12T19:39:04+02:00	"http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/145562
An aac sample with 960/120 MDCT was uploaded by a user, mdct_error.flv is now in samples/A-codecs/AAC
{{{
$ ffmpeg -i mdct_error.flv
ffmpeg version N-41284-ge00b2d2 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun  4 2012 08:52:52 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. 56.100 / 51. 56.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 78.100 /  2. 78.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[aac @ 0x9018c00] 960/120 MDCT window is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x9018c00] 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.
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, flv, from 'mdct_error.flv':
  Metadata:
    fps             : 25
    SAR             : 64:45
  Duration: 00:00:31.04, start: 0.000000, bitrate: 1675 kb/s
    Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 tbr, 1k tbn, 50 tbc
    Stream #0:1: Audio: aac, 48000 Hz, stereo
At least one output file must be specified
}}}"	cehoyos
avcodec	1564	support dvaudio in non dv container	git-master	enhancement	open	2012-07-21T00:02:16+02:00	2012-11-26T19:40:44+01:00	"http://www.datafilehost.com/download-f6b0f2cb.html

{{{
C:\>ffmpeg -i Test_DV_Audio.avi
ffmpeg version N-42682-g7e17389 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 20 2012 02:23: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. 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
[avi @ 0x1eacdc0] non-interleaved AVI
[avi @ 0x1eacdc0] max_analyze_duration 5000000 reached at 5000000
[avi @ 0x1eacdc0] Could not find codec parameters for stream 1 (Audio: none ([22
][2][0][0] / 0x0216), 44100 Hz, 2 channels, 1728 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avi, from 'Test_DV_Audio.avi':
  Duration: 00:00:14.06, start: 0.000000, bitrate: 5488 kb/s
    Stream #0:0: Video: cinepak (cvid / 0x64697663), yuv420p, 352x288, 15 fps, 1
5 tbr, 15 tbn, 15 tbc
    Stream #0:1: Audio: none ([22][2][0][0] / 0x0216), 44100 Hz, stereo, 1728 kb
/s
At least one output file must be specified
}}}"	ami_stuff
avcodec	1679	Ability to identify progressive segmented frame material in h.264	git-master	enhancement	open	2012-08-25T10:48:58+02:00	2012-08-29T16:51:56+02:00	"It is desirable to be able to identify progressive segmented frame (PsF) material (i.e. a progressively scanned frame encoded as two fields with the same timestamp) in an h.264 stream as that gives applications using libavcodec the possibility to correctly report to the user that the underlying material is really progressive and no deinterlacing makes sense.

From the h.264 spec:
clock_timestamp_flag[ i ] equal to 1 indicates that a number of clock timestamp syntax elements are present and follow immediately. clock_timestamp_flag[ i ] equal to 0 indicates that the associated clock timestamp syntax elements are not present. When NumClockTS is greater than 1 and clock_timestamp_flag[ i ] is equal to 1 for more than one value of i, the value of clockTimestamp shall be non-decreasing with increasing value of i.
ct_type indicates the scan type (interlaced or progressive) of the source material as follows:
Two fields of a coded frame may have different values of ct_type.
When clockTimestamp is equal for two fields of opposite parity that are consecutive in output order, both with ct_type equal to 0 (progressive) or ct_type equal to 2 (unknown), the two fields are indicated to have come from the same original progressive frame. Two consecutive fields in output order shall have different values of clockTimestamp when the value of ct_type for either field is 1 (interlaced).

AFAICS in the code in h264.c the information required to make that determination is not parsed, which should not be difficult to add. However, once one has that information, how do I give this back to the API user? Currently there is only the field top_field_first in AVFrame.

What would be the recommended/accepted way of modeling this? If no API change would be accepted for this, would it be ok to sets this as frame metadata via av_frame_set_metadata? "	rmk
avcodec	1832	TrueHD Encoder?	git-master	enhancement	open	2012-10-19T11:48:49+02:00	2013-02-09T13:12:53+01:00	Could someone create a TrueHD encoder? If I knew how to code, I'd do it myself, and this is probably the most naive thing ever, but can't you just take the TrueHD decoder and basically reverse it? Regardless, a TrueHD encoder would be amazing.	marcusj0015
avcodec	1847	wmalossless: support 24bit depth	git-master	enhancement	open	2012-10-25T16:37:26+02:00	2012-10-25T16:56:51+02:00	"http://www.cccp-project.net/beta/test_files/%5bCCCP%5d_Mega_Weird_Audio_Test.mkv

{{{
C:\>ffmpeg -i [CCCP]_Mega_Weird_Audio_Test.mkv -map 0:23 out.wav
ffmpeg version N-45739-g04bf2e7 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 20 2012 00:16:49 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      51. 76.100 / 51. 76.100
  libavcodec     54. 67.100 / 54. 67.100
  libavformat    54. 33.100 / 54. 33.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.103 /  3. 19.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[wmalossless @ 0245fc20] bit-depth higher than 16 is not implemented. Update you
r FFmpeg version to the newest one from Git. If the problem still occurs, it mea
ns that your file has a feature which has not been implemented.
[wmalossless @ 025ccae0] bit-depth higher than 16 is not implemented. Update you
r FFmpeg version to the newest one from Git. If the problem still occurs, it mea
ns that your file has a feature which has not been implemented.
[mpeg4 @ 02537bc0] Invalid and inefficient vfw-avi packed B frames detected
[wmalossless @ 0245fc20] bit-depth higher than 16 is not implemented. Update you
r FFmpeg version to the newest one from Git. If the problem still occurs, it mea
ns that your file has a feature which has not been implemented.
[wmalossless @ 025ccae0] bit-depth higher than 16 is not implemented. Update you
r FFmpeg version to the newest one from Git. If the problem still occurs, it mea
ns that your file has a feature which has not been implemented.
Guessed Channel Layout for  Input Stream #0.5 : mono
Guessed Channel Layout for  Input Stream #0.6 : stereo
Guessed Channel Layout for  Input Stream #0.7 : stereo
Guessed Channel Layout for  Input Stream #0.8 : mono
Guessed Channel Layout for  Input Stream #0.9 : mono
Guessed Channel Layout for  Input Stream #0.10 : stereo
Guessed Channel Layout for  Input Stream #0.11 : stereo
Guessed Channel Layout for  Input Stream #0.12 : mono
Guessed Channel Layout for  Input Stream #0.13 : mono
Guessed Channel Layout for  Input Stream #0.14 : stereo
Guessed Channel Layout for  Input Stream #0.15 : stereo
Guessed Channel Layout for  Input Stream #0.16 : mono
Guessed Channel Layout for  Input Stream #0.17 : stereo
Guessed Channel Layout for  Input Stream #0.22 : 5.1
Guessed Channel Layout for  Input Stream #0.23 : stereo
Guessed Channel Layout for  Input Stream #0.25 : stereo
Input #0, matroska,webm, from '[CCCP]_Mega_Weird_Audio_Test.mkv':
  Metadata:
    title           : Macross Plus - First Simulator Test
    creation_time   : 2006-08-07 03:59:51
  Duration: 00:01:03.70, start: 0.000000, bitrate: 6167 kb/s
    Stream #0:0(eng): Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658)
, yuv420p, 656x464 [SAR 1:1 DAR 41:29], SAR 116:123 DAR 4:3, 23.98 fps, 23.98 tb
r, 1k tbn, 23.98 tbc (default)
    Metadata:
      title           : Macross Plus - First Simulator Test
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s (default)
    Metadata:
      title           : AC3 6ch Audio
    Stream #0:2(jpn): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
    Metadata:
      title           : AC3 2ch Audio
    Stream #0:3(eng): Audio: mp3, 48000 Hz, stereo, s16, 192 kb/s
    Metadata:
      title           : AudX HGHQ 6ch Audio
    Stream #0:4(eng): Audio: mp3, 48000 Hz, mono, s16, 192 kb/s
    Metadata:
      title           : AudX SPBQ 6ch Audio
    Stream #0:5(jpn): Audio: sipr (0[1][0][0] / 0x0130), 16000 Hz, mono, flt, 16
 kb/s
    Metadata:
      title           : ACELP Sipro Mono Audio
    Stream #0:6(jpn): Audio: adpcm_ms ([2][0][0][0] / 0x0002), 11025 Hz, stereo,
 s16, 88 kb/s
    Metadata:
      title           : MS ADPCM 2ch Audio
    Stream #0:7(jpn): Audio: adpcm_ima_wav ([17][0][0][0] / 0x0011), 11025 Hz, s
tereo, s16p, 88 kb/s
    Metadata:
      title           : IMA ADPCM 2ch Audio
    Stream #0:8(jpn): Audio: adpcm_yamaha ( [0][0][0] / 0x0020), 16000 Hz, mono,
 s16, 64 kb/s
    Metadata:
      title           : Yamaha ADPCM Mono Audio
    Stream #0:9(jpn): Audio: adpcm_g726 (E[0][0][0] / 0x0045), 8000 Hz, mono, s1
6, 32 kb/s
    Metadata:
      title           : G.726 ADPCM Mono Audio
    Stream #0:10(jpn): Audio: pcm_mulaw ([7][0][0][0] / 0x0007), 8000 Hz, stereo
, s16, 128 kb/s
    Metadata:
      title           : ╬╝-Law 2ch Audio
    Stream #0:11(jpn): Audio: pcm_alaw ([6][0][0][0] / 0x0006), 8000 Hz, stereo,
 s16, 128 kb/s
    Metadata:
      title           : A-Law 2ch Audio
    Stream #0:12(jpn): Audio: gsm_ms (1[0][0][0] / 0x0031), 44100 Hz, mono, s16,
 71 kb/s
    Metadata:
      title           : GSM 6.10 Mono Audio
    Stream #0:13(jpn): Audio: truespeech ([34][0][0][0] / 0x0022), 8000 Hz, mono
, s16, 8 kb/s
    Metadata:
      title           : TrueSpeech Mono Audio
    Stream #0:14(jpn): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, flt
p, 64 kb/s
    Metadata:
      title           : WMA7 2ch Audio
    Stream #0:15(jpn): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, flt
p, 64 kb/s
    Metadata:
      title           : WMA8 2ch Audio
    Stream #0:16(jpn): Audio: wmavoice ([10][0][0][0] / 0x000A), 22050 Hz, mono,
 flt, 20 kb/s
    Metadata:
      title           : WMA9 Voice Mono Audio
    Stream #0:17(jpn): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, stereo, flt
p, 64 kb/s
    Metadata:
      title           : WMA9.2 Std 2ch Audio
    Stream #0:18(eng): Audio: wmapro (b[1][0][0] / 0x0162), 48000 Hz, 5.1, fltp,
 192 kb/s
    Metadata:
      title           : WMA9.1 Pro 6ch Audio
    Stream #0:19(jpn): Audio: wmapro (b[1][0][0] / 0x0162), 48000 Hz, stereo, fl
tp, 80 kb/s
    Metadata:
      title           : WMA9.1 Pro 2ch Audio
    Stream #0:20(eng): Audio: wmapro (b[1][0][0] / 0x0162), 48000 Hz, 5.1, fltp,
 192 kb/s
    Metadata:
      title           : WMA10 Pro 6ch Audio
    Stream #0:21(jpn): Audio: wmapro (b[1][0][0] / 0x0162), 48000 Hz, stereo, fl
tp, 64 kb/s
    Metadata:
      title           : WMA10 Pro 2ch Audio
    Stream #0:22(eng): Audio: wmalossless (c[1][0][0] / 0x0163), 48000 Hz, 5.1,
s32p, 1882 kb/s
    Metadata:
      title           : WMA9.1 Lossless 6ch Audio
    Stream #0:23(jpn): Audio: wmalossless (c[1][0][0] / 0x0163), 48000 Hz, stere
o, s32p, 774 kb/s
    Metadata:
      title           : WMA9.1 Lossless 2ch Audio
    Stream #0:24(jpn): Audio: cook, 44100 Hz, stereo, fltp
    Metadata:
      title           : RA6 G2 Cook 2ch Audio
    Stream #0:25(jpn): Audio: atrac3, 44100 Hz, stereo, fltp
    Metadata:
      title           : RA8 ATRC 2ch Audio
    Stream #0:26(eng): Audio: cook, 44100 Hz, 5.1, fltp
    Metadata:
      title           : RA8 Cook 6ch Audio
    Stream #0:27(jpn): Audio: cook, 44100 Hz, stereo, fltp
    Metadata:
      title           : RA8 Cook 2ch Audio
    Stream #0:28(jpn): Audio: cook, 44100 Hz, mono, fltp
    Metadata:
      title           : RA8 Cook Mono Audio
    Stream #0:29(jpn): Audio: aac, 32000 Hz, stereo, s16
    Metadata:
      title           : RA10 RAAC 2ch Audio
    Stream #0:30(jpn): Audio: aac, 44100 Hz, stereo, s16
    Metadata:
      title           : RA10 RACP 2ch Audio
bit-depth higher than 16 is not implemented. Update your FFmpeg version to the n
ewest one from Git. If the problem still occurs, it means that your file has a f
eature which has not been implemented.
Output #0, wav, to 'out.wav':
  Metadata:
    title           : Macross Plus - First Simulator Test
    Stream #0:0(jpn): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      title           : WMA9.1 Lossless 2ch Audio
Stream mapping:
  Stream #0:23 -> #0:0 (wmalossless -> pcm_s16le)
Error while opening decoder for input stream #0:23
}}}"	ami_stuff
avcodec	1857	PNG iTXt textual information chunk	git-master	enhancement	open	2012-10-27T22:01:51+02:00	2013-02-24T12:04:57+01:00	"Specifically chunks '''tEXt''', '''zTXt''', '''iTXt'''.

See [http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html#C.Anc-text]"	richardpl
avcodec	1864	support 0x350 TwoCC (Micronas speech ADPCM codec)	git-master	enhancement	open	2012-10-29T16:16:43+01:00	2012-12-03T14:41:55+01:00	"it's ""Micronas InterMetall Speech MI-SC4 ADPCM"", decodes with noise for example with ""-acodec adpcm_ct""

http://wiki.multimedia.cx/index.php?title=Micronas_SC4

{{{
C:\>ffmpeg -i 32khz_stereo.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
[wav @ 0x1edbe00] Could not find codec parameters for stream 0 (Audio: none (P[3
][0][0] / 0x0350), 32000 Hz, 2 channels, 264 kb/s): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[wav @ 0x1edbe00] Estimating duration from bitrate, this may be inaccurate
32khz_stereo.wav: could not find codec parameters
}}}
"	ami_stuff
avcodec	1882	Multi-threading wmv encoder	git-master	enhancement	open	2012-11-02T23:53:33+01:00	2012-11-07T00:08:25+01:00	"I'm having issues using multiple cores when using the wmv encoder.  It appears to be locked to a single core only.

Any chance we could get support for multiple threads?


Please refer to:
http://forum.serviio.org/viewtopic.php?f=5&t=7698"	txspaderz
avcodec	1885	Multithreaded decoding for vc1	git-master	enhancement	new	2012-11-04T00:45:57+01:00	2012-11-10T03:22:29+01:00	"The vc1 decoder currently does not support multi-threading.
Given that this codec is used on (high-definition) Blu-ray content, this might be an important feature, see also ticket #1882."	cehoyos
avcodec	1887	wmv3: Old interlaced mode is not supported / Reserved RES_SM=2 is forbidden	git-master	enhancement	open	2012-11-05T08:25:55+01:00	2012-11-05T11:03:53+01:00	"Summary of the bug:
check ffmpeg supported codecs , it already support wmv3/wmav2 , but for some files , we can play it but can't decode it.
How to reproduce:
{{{
for SVN-r22888:
ffmpeg -i huasi.asf  -y huasi.avi
FFmpeg version SVN-r22888, Copyright (c) 2000-2010 the FFmpeg developers
  built on Apr 23 2010 15:09:04 with gcc 4.1.2 20070925 (Red Hat 4.1.2-33)
  configuration: --prefix=/usr/local/enctools --enable-postproc --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libmp3lame --disable-shared --enable-libx264 --enable-pthreads --enable-libfaac --enable-libfaad --enable-nonfree --enable-gpl --enable-libgsm --enable-libnut --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libopenjpeg --enable-libxvid --enable-bzlib --enable-libschroedinger --enable-zlib --enable-small --extra-cflags=-I/usr/local/enctools/include --extra-ldflags=-L/usr/local/enctools/lib
  libavutil     50.14. 0 / 50.14. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.61. 0 / 52.61. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.10. 0 /  0.10. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[wmv3 @ 0x9136a40]Reserved RES_SM=2 is forbidden

Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, asf, from 'huasi.asf':
  Metadata:
    WM/ToolName     : TMPGEnc 4.0 XPress Version. 4.2.3.193
    WMFSDKVersion   : 9.00.00.2980
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 00:00:57.07, start: 3.000000, bitrate: 574 kb/s
    Stream #0.0(chi): Audio: wmav2, 48000 Hz, 2 channels, s16, 64 kb/s
    Stream #0.1(chi): Video: wmv3, yuv420p, 720x576, 500 kb/s, 25 tbr, 1k tbn, 1k tbc
[wmv3 @ 0x9136a40]Reserved RES_SM=2 is forbidden
Output #0, avi, to 'huasi.avi':
    Stream #0.0(chi): Video: mpeg4, yuv420p, 720x576, q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream #0.1(chi): Audio: mp2, 48000 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.0 -> #0.1
Error while opening decoder for input stream #0.1
}}}

also failed on latest ffmpeg-1.0:
{{{
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Oct 15 2012 12:12:07 with gcc 4.4.6 (GCC) 20120305 (Red Hat 4.4.6-4)
  configuration: --prefix=/usr/local/ffmpeg-1.0-new --enable-postproc --enable-avfilter --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libmp3lame --disable-shared --enable-libx264 --enable-pthreads --enable-libfaac --enable-nonfree --enable-gpl --enable-libgsm --enable-libnut --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libopenjpeg --enable-libxvid --enable-bzlib --enable-libschroedinger --enable-zlib --enable-small --enable-libcdio --enable-libvo-aacenc --enable-libfdk-aac --enable-libvo-amrwbenc --enable-libvpx --enable-libxavs --extra-cflags=-I/usr/local/enctools/include --extra-ldflags=-L/usr/local/enctools/lib
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[wmv3 @ 0x1b2f7e0] Old interlaced mode is not supported
    Last message repeated 1 times
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, asf, from 'huasi.asf':
  Metadata:
    WM/ToolName     : TMPGEnc 4.0 XPress Version. 4.2.3.193
    WMFSDKVersion   : 9.00.00.2980
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 00:00:57.07, start: 0.000000, bitrate: 574 kb/s
    Stream #0:0(chi): Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, stereo, s16, 64 kb/s
    Stream #0:1(chi): Video: wmv3 (WMV3 / 0x33564D57), yuv420p, 720x576, 500 kb/s, 25 tbr, 1k tbn, 1k tbc
[wmv3 @ 0x1b2f7e0] Old interlaced mode is not supported
Output #0, avi, to 'test.avi':
  Metadata:
    WM/ToolName     : TMPGEnc 4.0 XPress Version. 4.2.3.193
    WMFSDKVersion   : 9.00.00.2980
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
    Stream #0:0(chi): Video: mpeg4, yuv420p, 720x576, q=2-31, 200 kb/s, 90k tbn, 25 tbc
    Stream #0:1(chi): Audio: mp3, 48000 Hz, stereo, s16
Stream mapping:
  Stream #0:1 -> #0:0 (wmv3 -> mpeg4)
  Stream #0:0 -> #0:1 (wmav2 -> libmp3lame)
Error while opening decoder for input stream #0:1

}}}
"	henry
avcodec	1910	Support Canopus Lossless YUY2	git-master	enhancement	new	2012-11-12T22:08:15+01:00	2012-11-12T22:09:02+01:00	"I will upload an unsupported Canopus sample.
{{{
$ ffmpeg -i Lossless_1280x720x50p_cut.avi
ffmpeg version N-46646-g0e239b2 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 12 2012 21:32:15 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  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. 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
[cllc @ 0x2bcc740] Unknown coding type: 0.
    Last message repeated 7 times
[avi @ 0x2bc6240] decoding for stream 0 failed
[avi @ 0x2bc6240] Could not find codec parameters for stream 0 (Video: cllc (CLLC / 0x434C4C43), 1280x720): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Lossless_1280x720x50p_cut.avi: could not find codec parameters
}}}"	cehoyos
avcodec	1920	dts-hd core extraction	git-master	enhancement	open	2012-11-15T22:38:58+01:00	2012-11-21T12:32:54+01:00	at the moment ffmpeg can only extract the whole dts-hd stream, would be nice if the core could be extracted additionally. (especially since ffmpeg can only decode the core,...)	Selur
avcodec	1926	EXIF metadata is not extracted	git-master	enhancement	open	2012-11-17T17:25:23+01:00	2012-11-17T22:55:35+01:00	"'''Summary of the bug:'''
Checking `metadata` in `AVFormatContext`, `AVStream`, and `AVFrame`, there is no metadata. However, the image surely has EXIF metadata associated with it. I'm particularly interested in getting the `Orientation` tag, but all of it would be nice.

Image was taken with a Canon PowerShot A1000IS. I can provide more samples if needed. Download link for file is https://docs.google.com/uc?export=download&id=0BxWx_dIBnyRodEJsNW1FLVZ0blU (5.9MB)

'''How to reproduce:'''
Here is the ffprobe output (when using my own program, I can see metadata is clearly empty):
{{{
$ ffprobe -show_frames -show_streams -show_format -show_packets 0.jpg 
ffprobe version 1.0.git Copyright (c) 2007-2012 the FFmpeg developers
  built on Nov 17 2012 09:15:28 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration: 
  libavutil      52.  7.100 / 52.  7.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
[image2 @ 0x7fa0e900f200] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, image2, from '0.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj422p, 3648x2736, 25 tbr, 25 tbn, 25 tbc
[PACKET]
codec_type=video
stream_index=0
pts=0
pts_time=0.000000
dts=0
dts_time=0.000000
duration=1
duration_time=0.040000
convergence_duration=N/A
convergence_duration_time=N/A
size=5901736
pos=N/A
flags=K
[/PACKET]
[FRAME]
media_type=video
key_frame=1
pkt_pts=0
pkt_pts_time=0.000000
pkt_dts=0
pkt_dts_time=0.000000
pkt_duration=1
pkt_duration_time=0.040000
pkt_pos=N/A
width=3648
height=2736
pix_fmt=yuvj422p
sample_aspect_ratio=N/A
pict_type=I
coded_picture_number=0
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
reference=0
[/FRAME]
[STREAM]
index=0
codec_name=mjpeg
codec_long_name=MJPEG (Motion JPEG)
profile=unknown
codec_type=video
codec_time_base=1/25
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=3648
height=2736
has_b_frames=0
sample_aspect_ratio=0:1
display_aspect_ratio=0:1
pix_fmt=yuvj422p
level=-99
timecode=N/A
id=N/A
r_frame_rate=25/1
avg_frame_rate=0/0
time_base=1/25
start_pts=0
start_time=0.000000
duration_ts=1
duration=0.040000
bit_rate=N/A
nb_frames=N/A
nb_read_frames=1
nb_read_packets=1
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]
[FORMAT]
filename=0.jpg
nb_streams=1
format_name=image2
format_long_name=image2 sequence
start_time=0.000000
duration=0.040000
size=N/A
bit_rate=N/A
[/FORMAT]
}}}

And here is the output from exiftool:
{{{
./exiftool ~/Pixio/prototype/assets/0.jpg 
ExifTool Version Number         : 9.06
File Name                       : 0.jpg
Directory                       : /Users/mjbshaw/Pixio/prototype/assets
File Size                       : 5.6 MB
File Modification Date/Time     : 2011:08:01 18:53:00-06:00
File Access Date/Time           : 2012:11:17 09:18:38-07:00
File Permissions                : rwxrwxrwx
File Type                       : JPEG
MIME Type                       : image/jpeg
Exif Byte Order                 : Little-endian (Intel, II)
Image Description               : 
Make                            : Canon
Camera Model Name               : Canon PowerShot A1000 IS
Orientation                     : Rotate 90 CW
X Resolution                    : 180
Y Resolution                    : 180
Resolution Unit                 : inches
Modify Date                     : 2011:08:01 17:53:01
Y Cb Cr Positioning             : Co-sited
Exposure Time                   : 1/60
F Number                        : 2.7
ISO                             : 200
Exif Version                    : 0221
Date/Time Original              : 2011:08:01 17:53:01
Create Date                     : 2011:08:01 17:53:01
Components Configuration        : Y, Cb, Cr, -
Compressed Bits Per Pixel       : 5
Shutter Speed Value             : 1/60
Aperture Value                  : 2.7
Max Aperture Value              : 2.7
Flash                           : Auto, Fired
Focal Length                    : 6.2 mm
Macro Mode                      : Normal
Self Timer                      : Off
Quality                         : Superfine
Canon Flash Mode                : Auto
Continuous Drive                : Single
Focus Mode                      : Single
Record Mode                     : JPEG
Canon Image Size                : Large
Easy Mode                       : Manual
Digital Zoom                    : None
Contrast                        : Normal
Saturation                      : Normal
Sharpness                       : 0
Camera ISO                      : Auto
Metering Mode                   : Evaluative
Focus Range                     : Auto
AF Point                        : Auto AF point selection
Canon Exposure Mode             : Program AE
Lens Type                       : Unknown (-1)
Max Focal Length                : 24.8 mm
Min Focal Length                : 6.2 mm
Focal Units                     : 1000/mm
Max Aperture                    : 2.7
Min Aperture                    : 8
Flash Bits                      : E-TTL, Built-in
Focus Continuous                : Single
AE Setting                      : Normal AE
Image Stabilization             : On
Display Aperture                : 2.7
Zoom Source Width               : 3648
Zoom Target Width               : 3648
Spot Metering Mode              : Center
Manual Flash Output             : n/a
Focal Type                      : Zoom
Focal Plane X Size              : 6.27 mm
Focal Plane Y Size              : 4.70 mm
Auto ISO                        : 200
Base ISO                        : 100
Measured EV                     : 6.22
Target Aperture                 : 2.7
Target Exposure Time            : 1/60
Exposure Compensation           : 0
White Balance                   : Cloudy
Slow Shutter                    : Off
Shot Number In Continuous Burst : 0
Optical Zoom Code               : 0
Flash Guide Number              : 5.28125
Flash Exposure Compensation     : 0
Auto Exposure Bracketing        : Off
AEB Bracket Value               : 0
Control Mode                    : Camera Local Control
Focus Distance Upper            : 2.63 m
Focus Distance Lower            : 0 m
Bulb Duration                   : 0
Camera Type                     : Compact
Auto Rotate                     : Rotate 90 CW
ND Filter                       : Off
Self Timer 2                    : 0
Flash Output                    : 77
Canon Image Type                : IMG:PowerShot A1000 IS JPEG
Canon Firmware Version          : Firmware Version 1.00
File Number                     : 260-0864
Owner Name                      : 
Rotation                        : 90
Camera Temperature              : 25 C
Canon Model ID                  : PowerShot A1000 IS
AF Area Mode                    : Multi-point AF or AI AF
Num AF Points                   : 9
Valid AF Points                 : 9
Canon Image Width               : 3648
Canon Image Height              : 2736
AF Image Width                  : 100
AF Image Height                 : 100
AF Area Widths                  : 18 18 18 18 18 18 18 18 18
AF Area Heights                 : 18 18 18 18 18 18 18 18 18
AF Area X Positions             : -18 0 18 -18 0 18 -18 0 18
AF Area Y Positions             : -18 -18 -18 0 0 0 18 18 18
AF Points In Focus              : 4,5
Primary AF Point                : 4
Thumbnail Image Valid Area      : 0 0 0 0
Date Stamp Mode                 : Off
My Color Mode                   : Vivid
Firmware Revision               : 1.00 rev 2.00
Categories                      : (none)
Intelligent Contrast            : n/a
Image Unique ID                 : 1c1b916506dd6a144dfbaabc4abb85c4
VRD Offset                      : 0
User Comment                    : 
Flashpix Version                : 0100
Color Space                     : sRGB
Exif Image Width                : 3648
Exif Image Height               : 2736
Interoperability Index          : R98 - DCF basic file (sRGB)
Interoperability Version        : 0100
Related Image Width             : 3648
Related Image Height            : 2736
Focal Plane X Resolution        : 15136.92946
Focal Plane Y Resolution        : 15116.0221
Focal Plane Resolution Unit     : inches
Sensing Method                  : One-chip color area
File Source                     : Digital Camera
Custom Rendered                 : Normal
Exposure Mode                   : Auto
Digital Zoom Ratio              : 1
Scene Capture Type              : Standard
Compression                     : JPEG (old-style)
Thumbnail Offset                : 5120
Thumbnail Length                : 5992
Image Width                     : 3648
Image Height                    : 2736
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)
Aperture                        : 2.7
Flash Exposure Compensation     : 0
Drive Mode                      : Single-frame Shooting
Flash Type                      : Built-In Flash
Image Size                      : 3648x2736
Lens                            : 6.2 - 24.8 mm
Lens ID                         : Unknown 6-24mm
Red Eye Reduction               : Off
Scale Factor To 35 mm Equivalent: 5.5
Shooting Mode                   : Program AE
Shutter Curtain Sync            : 1st-curtain sync
Shutter Speed                   : 1/60
Thumbnail Image                 : (Binary data 5992 bytes, use -b option to extract)
Circle Of Confusion             : 0.005 mm
Field Of View                   : 55.5 deg
Focal Length                    : 6.2 mm (35 mm equivalent: 34.2 mm)
Hyperfocal Distance             : 2.62 m
Lens                            : 6.2 - 24.8 mm (35 mm equivalent: 34.2 - 136.9 mm)
Light Value                     : 7.8
}}}"	mbradshaw
avcodec	1959	Support codec2	git-master	enhancement	open	2012-11-24T16:19:19+01:00	2012-11-24T18:33:06+01:00	"Summary of the bug: Codec2 is a voice compression codec aiming towards very low bandwiths (below 5000 bits per second). Profiles exist for 3200, 2400, 1400 and 1200 bps.

I would suggest adding Codec2 to the list of supported ffmpeg audio compression and decompression codecs.

Codec2 is LGPL licensed and was designed to avoid patent issues.

URL for more information: http://codec2.org/"	Mathias
avcodec	2004	jpeg: support some more pix fmts	git-master	enhancement	open	2012-12-08T17:52:09+01:00	2012-12-08T18:55:02+01:00	"created with 

{{{
cjpeg -sample 3x1/[...] test.tga >test_31.jpg
}}}

{{{
C:\>ffmpeg -i test_31.jpg
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
[mjpeg @ 0x1eec980] Unhandled pixel format 0x31111100
[image2 @ 0x1eebe20] decoding for stream 0 failed
[image2 @ 0x1eebe20] Could not find codec parameters for stream 0 (Video: mjpeg,
 1024x768 [SAR 1:1 DAR 4:3]): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
test_31.jpg: could not find codec parameters
}}}"	ami_stuff
avcodec	2016	Support libopenjpeg 2.0.0	git-master	enhancement	open	2012-12-12T05:24:38+01:00	2013-02-09T19:08:54+01:00	"I'm trying to compile the latest FFmpeg git with openjpeg 2.0.0 but keep getting an undefined reference to opj_version.

I have already asked for help with this issue here: [http://code.google.com/p/openjpeg/issues/detail?id=200]
Here: [http://sourceforge.net/mailarchive/message.php?msg_id=30209438]

And one of my users on my forum posted about it here: [http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=5&t=674&hilit=opj_version]

I think openjpeg is failing to compile in static and is searching for some .dll file when FFmpeg tries to link to it.

Some code that ''does'' compile with opj_version is:

{{{
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <openjpeg.h>

int main(void)
{
    printf(""OPJ2 version is %s\n"",opj_version());

    return 0;
}
}}}

Though I have no idea why that succeeds, and FFmpeg's test code:

{{{
extern int opj_version();
int main(void){ opj_version(); }
}}}

fails.

This command: $ i686-w64-mingw32-nm ./libopenjp2.a | grep opj_version

Returns:
00000228 T _opj_version@0

So it looks like it is in the lib, but just keeps failing.

Openjpeg 2.0.0 compiled without error.

It also looks like FFmpeg is trying to test the lib with:

{{{
BEGIN /tmp/ffconf.ns4yWT3Y.c
    1	extern int opj_version();
    2	int main(void){ opj_version(); }
END /tmp/ffconf.ns4yWT3Y.c
i686-w64-mingw32-gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -std=c99 -fomit-frame-pointer -c -o /tmp/ffconf.ohUKczd4.o /tmp/ffconf.ns4yWT3Y.c
i686-w64-mingw32-gcc -Wl,--as-needed -o /tmp/ffconf.hJciF3wT.exe /tmp/ffconf.ohUKczd4.o -lopenjpeg -lm -lz
/tmp/ffconf.ohUKczd4.o:ffconf.ns4yWT3Y.c:(.text+0xc): undefined reference to `opj_version'
collect2: error: ld returned 1 exit status
ERROR: libopenjpeg not found
}}}


I'm happy to provide any further needed information to help get this fixed."	KSHawkEye
avcodec	2086	Teletext subtitles	git-master	enhancement	open	2012-12-31T02:32:35+01:00	2013-02-03T16:45:31+01:00	"I will upload a sample with two teletext subtitle streams (on pages 777 and 778). They can be viewed with the following MPlayer command lines (use ""X"" and ""Q"" to switch to the appropriate subtitle pages):
$ mplayer teletextsubtitles.ts -demuxer mpegts -sid 106
$ mplayer teletextsubtitles.ts -demuxer lavf -sid 0
FFmpeg cannot decode the subtitles.
{{{
$ ffmpeg -i teletextsubtitles.ts
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
  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
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS referenced
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] no frame!
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS referenced
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] no frame!
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS referenced
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] no frame!
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS referenced
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] no frame!
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS referenced
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] no frame!
[mpegts @ 0x346a540] Stream #3: not enough frames to estimate rate; consider increasing probesize
[NULL @ 0x34701e0] start time is not set in estimate_timings_from_pts
[mpegts @ 0x346a540] PES packet size mismatch
    Last message repeated 1 times
Input #0, mpegts, from 'teletextsubtitles.ts':
  Duration: 00:00:55.32, start: 0.091256, bitrate: 14610 kb/s
  Program 137
    Stream #0:0[0x30]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x40](ita): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:2[0x41](und): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:3[0x6a](ita): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
At least one output file must be specified
}}}"	cehoyos
avcodec	2125	Add dnxhd-tr support (cid 1244)	git-master	enhancement	open	2013-01-09T00:47:09+01:00	2013-01-22T14:36:45+01:00	"ffmpeg fails with [dnxhd @ 0x7fe9c4456200] unsupported cid 1244

{{{
$ ffmpeg -i dnxhd-tr.mov test.mov
ffmpeg version N-48521-ga2aeaff Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  7 2013 00:04:13 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. 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
[dnxhd @ 0x7fe9c3861000] unsupported cid 1244
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'dnxhd-tr.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2013-01-08 23:43:27
    timecode        : 01:00:00:00
  Duration: 00:00:00.12, start: 0.000040, bitrate: 124745 kb/s
    Stream #0:0(eng): Video: dnxhd (AVdn / 0x6E645641), yuv422p, 1920x1080, 121241 kb/s, 25 fps, 25 tbr, 25k tbn, 25k tbc
    Metadata:
      creation_time   : 2013-01-08 23:43:27
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      creation_time   : 2013-01-08 23:43:27
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2013-01-08 23:43:27
      handler_name    : Apple Alias Data Handler
      timecode        : 01:00:00:00
File 'test.mov' already exists. Overwrite ? [y/N] y
using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 0x7fe9c387fc00] profile High 4:2:2, level 4.0, 4:2:2 8-bit
[libx264 @ 0x7fe9c387fc00] 264 - core 128 r2216 198a7ea - 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=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mov, to 'test.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    timecode        : 01:00:00:00
    encoder         : Lavf54.59.106
    Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv422p, 1920x1080, q=-1--1, 12800 tbn, 25 tbc
    Metadata:
      creation_time   : 2013-01-08 23:43:27
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2013-01-08 23:43:27
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (dnxhd -> libx264)
  Stream #0:1 -> #0:1 (pcm_s16be -> libfaac)
Press [q] to stop, [?] for help
[dnxhd @ 0x7fe9c4456200] unsupported cid 1244
    Last message repeated 2 times
frame=    0 fps=0.0 q=0.0 Lsize=       3kB time=00:00:00.12 bitrate= 166.2kbits/s    
video:0kB audio:1kB subtitle:0 global headers:0kB muxing overhead 108.627451%
}}}"	cbsrobot
avcodec	2254	Unsupported h264 file	git-master	enhancement	new	2013-02-09T01:52:08+01:00	2013-04-23T01:51:48+02:00	"(videolan ticket 8145)
A vlc user uploaded a DVB recording from TTV HD (Taiwan) explaining that when this broadcast station went on-air, set-top-box provider had to update their firmware to support decoding.
FFmpeg only decodes the first frame, WMP plays the stream recognizable but with heavy motion artefacts.
{{{
$ ffmpeg -vsync 0 -i ttvHD_vlc_sample.ts -vframes 2 out%2d.png
ffmpeg version N-49708-ga92816c Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb  9 2013 01:34:27 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 17.101 / 52. 17.101
  libavcodec     54. 91.102 / 54. 91.102
  libavformat    54. 61.104 / 54. 61.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 35.101 /  3. 35.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[h264 @ 0x183a3c0] Missing reference picture, default is 65536
    Last message repeated 4 times
[mpegts @ 0x1834fc0] max_analyze_duration 5000000 reached at 5034667 microseconds
[mpegts @ 0x1834fc0] decoding for stream 2 failed
Input #0, mpegts, from 'ttvHD_vlc_sample.ts':
  Duration: 00:00:59.92, start: 36071.669144, bitrate: 4373 kb/s
  Program 1
    Stream #0:0[0x44](): Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 96 kb/s
    Stream #0:1[0x45](): Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 96 kb/s
    Stream #0:2[0x46](): Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 30 tbr, 90k tbn, 59.94 tbc
Output #0, image2, to 'out%2d.png':
  Metadata:
    encoder         : Lavf54.61.104
    Stream #0:0(): Video: png, rgb24, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 30 tbc
Stream mapping:
  Stream #0:2 -> #0:0 (h264 -> png)
Press [q] to stop, [?] for help
[h264 @ 0x18703c0] Missing reference picture, default is 65536
[h264 @ 0x1871680] Missing reference picture, default is 65536
[h264 @ 0x186fe20] Missing reference picture, default is 65536
Missing reference picture, default is 6553600:00.00 bitrate=N/A
[h264 @ 0x186ee60] Missing reference picture, default is 65536
[h264 @ 0x186fe20] Missing reference picture, default is 65536
[h264 @ 0x1871040] Missing reference picture, default is 65536
Missing reference picture, default is 6553600:00.00 bitrate=N/A
[h264 @ 0x186fe20] Missing reference picture, default is 65536
[h264 @ 0x1871040] Missing reference picture, default is 65536
[h264 @ 0x186e080] Missing reference picture, default is 65536
Missing reference picture, default is 6553600:00.00 bitrate=N/A
[h264 @ 0x1870a00] Missing reference picture, default is 65536
[h264 @ 0x186e080] Missing reference picture, default is 65536
[h264 @ 0x1871680] Missing reference picture, default is 65536
    Last message repeated 1 times
Missing reference picture, default is 6553600:00.00 bitrate=N/A
[h264 @ 0x186fe20] Missing reference picture, default is 65536
[h264 @ 0x186f880] Missing reference picture, default is 65536
Missing reference picture, default is 6553600:00.00 bitrate=N/A
[h264 @ 0x18703c0] Missing reference picture, default is 65536
[h264 @ 0x186f2e0] Missing reference picture, default is 65536
[h264 @ 0x18703c0] Missing reference picture, default is 65536
[h264 @ 0x1871680] Missing reference picture, default is 65536
Missing reference picture, default is 6553600:00.00 bitrate=N/A
[h264 @ 0x18703c0] Missing reference picture, default is 65536
[h264 @ 0x1871680] Missing reference picture, default is 65536
frame=    1 fps=0.3 q=0.0 Lsize=N/A time=00:00:00.06 bitrate=N/A
video:3191kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000673%
}}}
(early exit, FFmpeg would search the whole stream for a second frame)"	cehoyos
avcodec	2372	Support SBR layer in mp3pro	git-master	enhancement	new	2013-03-18T12:08:30+01:00	2013-03-19T18:34:21+01:00	"FFmpeg does not support decoding the SBR layer of mp3pro.
Samples are available:
http://samples.ffmpeg.org/archive/extension/mp3/mp3++mp3++mp3pro_CBR40kbps_(minCBR).mp3
http://samples.ffmpeg.org/archive/extension/mp3/mp3++mp3++mp3pro_CBR96kbps_(maxCBR).mp3
http://samples.ffmpeg.org/archive/extension/mp3/mp3++mp3++mp3pro_VBR50-60kbps_(minVBR).mp3
http://samples.ffmpeg.org/archive/extension/mp3/mp3++mp3++mp3pro_VBR95-150kbps_(maxVBR).mp3
http://samples.ffmpeg.org/archive/extension/mp3/mp3++mp3++mp3pro_VBR65-85kbps.mp3
{{{
$ ffmpeg -i mp3++mp3++mp3pro_VBR65-85kbps.mp3
ffmpeg version N-51059-gfbd3ee9 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 18 2013 10:50:51 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 19.101 / 52. 19.101
  libavcodec     55.  1.100 / 55.  1.100
  libavformat    55.  0.100 / 55.  0.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 47.103 /  3. 47.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mp3 @ 0x2ef3a20] max_analyze_duration 5000000 reached at 5015510 microseconds
Input #0, mp3, from 'mp3++mp3++mp3pro_VBR65-85kbps.mp3':
  Duration: 00:08:20.06, start: 0.000000, bitrate: 61 kb/s
    Stream #0:0: Audio: mp3, 22050 Hz, stereo, s16p, 61 kb/s
At least one output file must be specified
}}}"	cehoyos
avcodec	2377	Support lossless mp3HD	git-master	enhancement	open	2013-03-19T02:21:00+01:00	2013-03-19T18:30:43+01:00	"FFmpeg does not support decoding the lossless layer of mp3HD

$ ffmpeg -i sample-128-and-lossless-mp3HD.mp3
ffmpeg version 0.10.6 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 13 2012 16:03:45 with gcc 4.6.3
  configuration: --prefix=/usr --enable-shared --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include --disable-stripping --enable-postproc --enable-gpl --enable-pthreads --enable-libtheora --enable-libvorbis --disable-encoder=vorbis --enable-libvpx --enable-x11grab --enable-runtime-cpudetect --enable-libdc1394 --enable-libschroedinger --enable-librtmp --enable-libspeex --enable-libfreetype --enable-libnut --enable-libgsm --enable-libcelt --enable-libopencv --enable-libopenjpeg --enable-libxavs --enable-frei0r --enable-libmodplug --enable-libass --enable-gnutls --enable-libcdio --enable-libpulse --enable-libdirac --enable-libv4l2 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libxvid
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
[mp3 @ 0x1efe840] Format mp3 detected only with low score of 24, misdetection possible!
[mp3 @ 0x1efe840] max_analyze_duration 5000000 reached at 5015510
Input #0, mp3, from 'sample-128-and-lossless-mp3HD.mp3':
  Duration: 00:03:39.35, start: 0.000000, bitrate: 666 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
At least one output file must be specified"	fraterlinux
avcodec	2439	allow to copy latm aac to raw aac without reencoding audio	git-master	enhancement	new	2013-04-06T06:56:05+02:00	2013-04-06T11:15:48+02:00	"I would like to purpose an enhancement to ffmpeg, so that it would be possible to copy latm aac stream to raw aac without reencoding audio, possibly through a bitstream filter (similar to the existing aac_adtstoasc), it would allow to do something like:

ffmpeg -i in.ts -vcodec copy -acodec copy -absf aac_latmtoraw out.mkv

ffmpeg already includes code to handle latm aac (then it may be an easy task?), for eg. this will work on the same source file with latm aac:

ffmpeg -i in.ts -vcodec copy -acodec libvo_aacenc out.mkv

but doing this will obviously reencode aac audio and what I'm suggesting is a way to convert it from latm to raw aac without the need to reencode audio.

P.S. This feature would be useful to convert ts files recorded from some DVB-T streams to mkv, doing copy of latm stream to mkv doesn't seem to be well supported on many players while raw aac is."	nars
avcodec	2457	MAX_SLICES value too low for a number of RTP endpoints	git-master	enhancement	new	2013-04-11T09:31:23+02:00	2013-04-26T18:59:35+02:00	"When running a stream with RTP endpoints you may receive MAX_SLICES errors.  Increasing the value to 64 seems to work without errors on RTP endpoints that my colleagues and I have tested.  

You may also notice that this issue is reported by a number of others across the internet and 3 bugs have been reported that also note that MAX_SLICES was too low among other issues.

I hope that increasing the value to remove the error messages ""increase MAX_SLICES and recompile if there are artifacts"" is worth it in itself, but increasing the value also seems to reduce artefacts. Unfortunately I've not captured streams which show artefacts as they occur infrequently and our software is not setup to capture streams, this makes it difficult to prove that the MAX_SLICES value is the cause.

The value is found in libavcodec/h264.h and is currently set to 16.  I have reported against master, but I know that this value has been 16 in previous versions.

The one client that consistently produces these errors in CounterPath Bria and it is the only one I am aware of that ever exceeds 32.

Please let me know if there is anything further I can do to help.  If there is any downside to increasing MAX_SLICES to 64 I'd like to understand that as well - Thanks"	tgreenwood
avcodec	2524	vc1 error concealment	git-master	enhancement	new	2013-05-01T14:36:57+02:00	2013-05-01T14:42:07+02:00	"Original sample: http://samples.ffmpeg.org/archive/all/vc1+vc1+++artifacts7.vc1
I will attach a vc1 sample containing 13 frames (first and last are I-frames, both decoded bit-exact). The reference decoder fails to decode the 12th frame (a B-frame afaict) with ""FATAL ERROR: DecodeACRunLevel: AC coef array overrun"", ffmpeg shows artefacts that can probably be concealed better.
{{{
$ ffmpeg -loglevel debug -i vc1+vc1+++artifacts7_cut.vc1 -qscale 2 out.avi
ffmpeg version N-52608-g0061ba0 Copyright (c) 2000-2013 the FFmpeg developers
  built on May  1 2013 10:57:35 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
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 'vc1+vc1+++artifacts7_cut.vc1'.
Reading option '-qscale' ... matched as option 'qscale' (use fixed quality scale (VBR)) with argument '2'.
Reading option 'out.avi' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file vc1+vc1+++artifacts7_cut.vc1.
Successfully parsed a group of options.
Opening an input file: vc1+vc1+++artifacts7_cut.vc1.
[vc1 @ 0x2c6d7e0] Format vc1 probed with size=2048 and score=50
[vc1 @ 0x2c6d7e0] File position before avformat_find_stream_info() is 0
[NULL @ 0x2c6e380] Header: DBFE3BF2
[NULL @ 0x2c6e380] Advanced Profile level 3:
frmrtq_postproc=7, bitrtq_postproc=31
LoopFilter=0, ChromaFormat=1, Pulldown=1, Interlace: 1
TFCTRflag=0, FINTERPflag=0
[NULL @ 0x2c6e380] Display extended info:
[NULL @ 0x2c6e380] Display dimensions: 1920x1080
[NULL @ 0x2c6e380] Aspect: 1:1
[NULL @ 0x2c6e380] Entry point: 1ADFFCEF
[NULL @ 0x2c6e380] Entry point info:
BrokenLink=0, ClosedEntry=0, PanscanFlag=0
RefDist=1, Postproc=1, FastUVMC=0, ExtMV=1
DQuant=1, VSTransform=1, Overlap=0, Qmode=3
[vc1 @ 0x2c6e380] Header: DBFE3BF2
[vc1 @ 0x2c6e380] Advanced Profile level 3:
frmrtq_postproc=7, bitrtq_postproc=31
LoopFilter=0, ChromaFormat=1, Pulldown=1, Interlace: 1
TFCTRflag=0, FINTERPflag=0
[vc1 @ 0x2c6e380] Display extended info:
[vc1 @ 0x2c6e380] Display dimensions: 1920x1080
[vc1 @ 0x2c6e380] Aspect: 1:1
[vc1 @ 0x2c6e380] Entry point: 1ADFFCEF
[vc1 @ 0x2c6e380] Entry point info:
BrokenLink=0, ClosedEntry=0, PanscanFlag=0
RefDist=1, Postproc=1, FastUVMC=0, ExtMV=1
DQuant=1, VSTransform=1, Overlap=0, Qmode=3
[vc1 @ 0x2c6e380] Header: DBFE3BF2
[vc1 @ 0x2c6e380] Advanced Profile level 3:
frmrtq_postproc=7, bitrtq_postproc=31
LoopFilter=1, ChromaFormat=1, Pulldown=1, Interlace: 1
TFCTRflag=0, FINTERPflag=0
[vc1 @ 0x2c6e380] Display extended info:
[vc1 @ 0x2c6e380] Display dimensions: 1920x1080
[vc1 @ 0x2c6e380] Aspect: 1:1
[vc1 @ 0x2c6e380] Entry point: 1ADFFCEF
[vc1 @ 0x2c6e380] Entry point info:
BrokenLink=0, ClosedEntry=0, PanscanFlag=0
RefDist=1, Postproc=1, FastUVMC=0, ExtMV=1
DQuant=1, VSTransform=1, Overlap=0, Qmode=3
[vc1 @ 0x2c6d7e0] File position after avformat_find_stream_info() is 919438
Input #0, vc1, from 'vc1+vc1+++artifacts7_cut.vc1':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 13, 1/1200000: Video: vc1 (Advanced), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1001/60000, 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc
Successfully opened the file.
Parsing a group of options: output file out.avi.
Applying option qscale (use fixed quality scale (VBR)) with argument 2.
Please use -q:a or -q:v, -qscale is ambiguous
Successfully parsed a group of options.
Opening an output file: out.avi.
Successfully opened the file.
[graph 0 input from stream 0:0 @ 0x2ccf1a0] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0x2ccf1a0] Setting 'pix_fmt' to value '0'
[graph 0 input from stream 0:0 @ 0x2ccf1a0] Setting 'time_base' to value '1/1200000'
[graph 0 input from stream 0:0 @ 0x2ccf1a0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x2ccf1a0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x2ccf1a0] Setting 'frame_rate' to value '60000/2002'
[graph 0 input from stream 0:0 @ 0x2ccf1a0] w:1920 h:1080 pixfmt:yuv420p tb:1/1200000 fr:30000/1001 sar:1/1 sws_param:flags=2
[format @ 0x2c6ece0] compat: called with args=[yuv420p]
[format @ 0x2c6ece0] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x2c75dc0] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[mpeg4 @ 0x2c755e0] detected 8 logical cores
[mpeg4 @ 0x2c755e0] intra_quant_bias = 0 inter_quant_bias = -64
[vc1 @ 0x2c6e380] Header: DBFE3BF2
[vc1 @ 0x2c6e380] Advanced Profile level 3:
frmrtq_postproc=7, bitrtq_postproc=31
LoopFilter=0, ChromaFormat=1, Pulldown=1, Interlace: 1
TFCTRflag=0, FINTERPflag=0
[vc1 @ 0x2c6e380] Display extended info:
[vc1 @ 0x2c6e380] Display dimensions: 1920x1080
[vc1 @ 0x2c6e380] Aspect: 1:1
[vc1 @ 0x2c6e380] Entry point: 1ADFFCEF
[vc1 @ 0x2c6e380] Entry point info:
BrokenLink=0, ClosedEntry=0, PanscanFlag=0
RefDist=1, Postproc=1, FastUVMC=0, ExtMV=1
DQuant=1, VSTransform=1, Overlap=0, Qmode=3
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf55.3.100
    Stream #0:0, 0, 1001/30000: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1001/30000, q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (vc1 -> mpeg4)
Press [q] to stop, [?] for help
[vc1 @ 0x2c6e380] Entry point: 1ADFFCEF
[vc1 @ 0x2c6e380] Entry point info:
BrokenLink=0, ClosedEntry=0, PanscanFlag=0
RefDist=1, Postproc=1, FastUVMC=0, ExtMV=1
DQuant=1, VSTransform=1, Overlap=0, Qmode=3
[vc1 @ 0x2c6e380] ACPRED plane encoding: Imode: 4, Invert: 0
[vc1 @ 0x2c6e380] VOP DQuant info
[vc1 @ 0x2c6e380] MB Skip plane encoding: Imode: 4, Invert: 0
[vc1 @ 0x2c6e380] VOP DQuant info
[vc1 @ 0x2c6e380] MB Direct Type plane encoding: Imode: 4, Invert: 0
[vc1 @ 0x2c6e380] MB Skip plane encoding: Imode: 4, Invert: 0
[vc1 @ 0x2c6e380] VOP DQuant info
[vc1 @ 0x2c6e380] MB Direct Type plane encoding: Imode: 5, Invert: 0
[vc1 @ 0x2c6e380] MB Skip plane encoding: Imode: 4, Invert: 0
[vc1 @ 0x2c6e380] VOP DQuant info
[vc1 @ 0x2c6e380] MB Skip plane encoding: Imode: 4, Invert: 0
[vc1 @ 0x2c6e380] VOP DQuant info
[vc1 @ 0x2c6e380] MB Direct Type plane encoding: Imode: 5, Invert: 0
[vc1 @ 0x2c6e380] MB Skip plane encoding: Imode: 2, Invert: 0
[vc1 @ 0x2c6e380] VOP DQuant info
[vc1 @ 0x2c6e380] MB Direct Type plane encoding: Imode: 5, Invert: 0
[vc1 @ 0x2c6e380] MB Skip plane encoding: Imode: 4, Invert: 0
[vc1 @ 0x2c6e380] VOP DQuant info
[vc1 @ 0x2c6e380] MB Skip plane encoding: Imode: 4, Invert: 0
[vc1 @ 0x2c6e380] VOP DQuant info
[vc1 @ 0x2c6e380] MB Direct Type plane encoding: Imode: 5, Invert: 0
[vc1 @ 0x2c6e380] MB Skip plane encoding: Imode: 4, Invert: 0
[vc1 @ 0x2c6e380] VOP DQuant info
[vc1 @ 0x2c6e380] MB Direct Type plane encoding: Imode: 5, Invert: 0
[vc1 @ 0x2c6e380] MB Skip plane encoding: Imode: 4, Invert: 1
[vc1 @ 0x2c6e380] VOP DQuant info
[vc1 @ 0x2c6e380] MB Skip plane encoding: Imode: 4, Invert: 0
[vc1 @ 0x2c6e380] VOP DQuant info
[vc1 @ 0x2c6e380] MB Direct Type plane encoding: Imode: 4, Invert: 0
[vc1 @ 0x2c6e380] MB Skip plane encoding: Imode: 4, Invert: 0
[vc1 @ 0x2c6e380] VOP DQuant info
[vc1 @ 0x2c6e380] Entry point: 1ADFFCEF
[vc1 @ 0x2c6e380] Entry point info:
BrokenLink=0, ClosedEntry=0, PanscanFlag=0
RefDist=1, Postproc=1, FastUVMC=0, ExtMV=1
DQuant=1, VSTransform=1, Overlap=0, Qmode=3
[vc1 @ 0x2c6e380] ACPRED plane encoding: Imode: 4, Invert: 0
[vc1 @ 0x2c6e380] VOP DQuant info
[output stream 0:0 @ 0x2cd03c0] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.
frame=   13 fps=0.0 q=2.0 Lsize=     420kB time=00:00:00.56 bitrate=6059.0kbits/s
video:414kB audio:0kB subtitle:0 global headers:0kB muxing overhead 1.458072%
14 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x2c75c40] Statistics: 9 seeks, 25 writeouts
[AVIOContext @ 0x2c75e60] Statistics: 919438 bytes read, 0 seeks
}}}
It could be considered a bug imo that FFmpeg does not warn about the broken frame."	cehoyos
avcodec	2586	Unsupported 4k DCI Jpeg2000 file	git-master	enhancement	open	2013-05-18T17:51:09+02:00	2013-06-18T02:33:20+02:00	"Jpeg2000 encoded from OpenDCP Cinema4k profile fails with the following error.

Error is also reproduceable on the .j2c source file, attached.  

{{{
$ ffplay -threads 8 'K:\ISAIAH''S BIRTHDAY\IB_MXF\ISAIAHS_BIRTHDAY.REEL00
1.PIX.mxf'-lowres 1
ffplay version N-53033-g56ba331 Copyright (c) 2003-2013 the FFmpeg developers
  built on May 13 2013 22:23:31 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi
g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-li
bopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheo
ra --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264
 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 31.100 / 52. 31.100
  libavcodec     55.  9.100 / 55.  9.100
  libavformat    55.  7.100 / 55.  7.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 65.100 /  3. 65.100
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
    nan A-V: [mxf @ 00000000023d1500]  0
""OPAtom"" with 2 ECs - assuming OP1a
.000 fd=   0 aq=    0KB vq=  
[jpeg2000 @ 00000000023d9a80]   unsupported marker 0xFF5F at pos 0x10B
}}}"	rexbron
avcodec	2591	Feature Request:  Add ability to use Quick Sync to transcode video files	git-master	enhancement	open	2013-05-20T16:35:29+02:00	2013-05-21T23:55:51+02:00	"Hello,

Intel recently open sourced the necessary tools to be able to use hardware accelerated video encoding and decoding.  This would be a valuable feature for FFmpeg to utilize this technology for transcoding workflows.

https://01.org/linuxgraphics/downloads/2013/2013q1-intel-graphics-stack-release

"	zjacobs
avcodec	2611	support matrox uncompressed sd (m101 fourcc)	git-master	enhancement	open	2013-05-31T01:04:49+02:00	2013-06-01T17:54:40+02:00	"something can be seen with 

{{{
{ AV_PIX_FMT_YUYV422, MKTAG('M', '1', '0', '1') },
}}}

{{{
C:\>ffmpeg -i 10bit_p.avi out.avi
ffmpeg version N-53616-g7a2edcf Copyright (c) 2000-2013 the FFmpeg developers
  built on May 29 2013 01:14:44 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
  libavutil      52. 34.100 / 52. 34.100
  libavcodec     55. 12.102 / 55. 12.102
  libavformat    55.  7.100 / 55.  7.100
  libavdevice    55.  1.101 / 55.  1.101
  libavfilter     3. 72.100 /  3. 72.100
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[avi @ 02997880] Could not find codec parameters for stream 0 (Video: none (M101
 / 0x3130314D), 720x480): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
10bit_p.avi: could not find codec parameters
}}}"	ami_stuff
avcodec	2685	vc1: Progressive Segmented Frame mode not supported	git-master	enhancement	new	2013-06-18T14:38:06+02:00	2013-06-18T14:39:04+02:00	"http://thread.gmane.org/gmane.comp.video.mencoder.user/13181
A MEncoder user uploaded an asf sample containing vc-1 using an unsupported feature:
{{{
$ ffmpeg -i mms.wmv
ffmpeg version N-54096-ge41bf19 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 18 2013 11:10:39 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack --enable-libopenjpeg
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  9.100 / 55.  9.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[vc1 @ 0x31bea20] Progressive Segmented Frame mode: not supported (yet)
    Last message repeated 1 times
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, asf, from 'mms.wmv':
  Duration: 00:00:00.02, start: 14679.302000, bitrate: N/A
    Stream #0:0: Video: vc1 (WVC1 / 0x31435657), yuv420p, 704x576, 1k tbr, 1k tbn, 1k tbc
    Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, stereo, fltp, 64 kb/s
At least one output file must be specified
}}}"	cehoyos
avcodec	2690	Red Cinema r3d files not supported	git-master	enhancement	open	2013-06-20T00:33:20+02:00	2013-06-20T09:02:08+02:00	"Summary of the bug:
I have tested it with more files from different sources, on fresh compiled git version of ffmpeg, on ffmpeg compiled without ""libopenjpeg"", but it doesn't work - R3d files from RED Cinema cannot be decoded.

[me@localhost modules]# ffmpeg -v 9 -loglevel 99 -i /me/Desktop/A002_C006_0205V7_001.R3D
ffmpeg version 1.0.7 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 14 2013 21:59:35 with gcc 4.7.2 (GCC) 20121109 (Red Hat 4.7.2-8)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[r3d @ 0x7c8780] Format r3d probed with size=2048 and score=100
[r3d @ 0x7c8780] File position before avformat_find_stream_info() is 324
[libopenjpeg @ 0x7d6c80] Error decoding codestream.
    Last message repeated 3 times
[r3d @ 0x7c8780] Probe buffer size limit 5000000 reached
[r3d @ 0x7c8780] decoding for stream 0 failed
[r3d @ 0x7c8780] Could not find codec parameters for stream 0 (Video: jpeg2000, 4096x2304, 1/240000): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[r3d @ 0x7c8780] File position after avformat_find_stream_info() is 6494364
/root/Desktop/A002_C006_0205V7_001.R3D: could not find codec parameters
[AVIOContext @ 0x7d7e20] Statistics: 6529424 bytes read, 3 seeks

"	MilosL
avdevice	2450	Xorg resource leakage	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
avdevice	2504	Audio glitches and distortion when recording alsa	git-master	defect	new	2013-04-26T16:57:48+02:00	2013-06-18T13:40:38+02:00	"Summary of the bug: I try to record from integrated audio card input line/micro and get distortions.
How to reproduce: 
{{{
$ ffmpeg -debug 1 -vn -f alsa -ac 2 -channel_layout stereo -i hw:0,0 -c:a pcm_s16le /Store3/Test/pcm_`date +%m%d_%H%M`.wav
ffmpeg version N-52061-g8137ea3 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 13 2013 21:10:51 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
  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-libx264 --disable-libv4l2 --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. 26.100 / 52. 26.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  2.100 / 55.  2.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 53.101 /  3. 53.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
 matched as AVOption 'debug' with argument '1'.
Reading option '-vn' ... matched as option 'vn' (disable video) 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 '-c:a' ... matched as option 'c' (codec name) with argument 'pcm_s16le'.
Reading option '/Store3/Test/pcm_0426_1018.wav' ... 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 vn (disable video) with argument 1.
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 @ 0x20f7720] All info found
Input #0, alsa, from 'hw:0,0':
  Duration: N/A, start: 1366967936.157276, bitrate: 1536 kb/s
    Stream #0:0, 1, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Successfully opened the file.
Parsing a group of options: output file /Store3/Test/pcm_0426_1018.wav.
Applying option c:a (codec name) with argument pcm_s16le.
Successfully parsed a group of options.
Opening an output file: /Store3/Test/pcm_0426_1018.wav.
Successfully opened the file.
[graph 0 input from stream 0:0 @ 0x20e8280] Setting 'time_base' to value '1/48000'
[graph 0 input from stream 0:0 @ 0x20e8280] Setting 'sample_rate' to value '48000'
[graph 0 input from stream 0:0 @ 0x20e8280] Setting 'sample_fmt' to value 's16'
[graph 0 input from stream 0:0 @ 0x20e8280] Setting 'channel_layout' to value '0x3'
[graph 0 input from stream 0:0 @ 0x20e8280] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
[audio format for output stream 0:0 @ 0x20effc0] Setting 'sample_fmts' to value 's16'
[AVFilterGraph @ 0x20f7320] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
Output #0, wav, to '/Store3/Test/pcm_0426_1018.wav':
  Metadata:
    ISFT            : Lavf55.2.100
    Stream #0:0, 0, 1/48000: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le -> pcm_s16le)
Press [q] to stop, [?] for help
size=    1076kB time=00:00:05.73 bitrate=1536.1kbits/s    
video:0kB audio:1076kB subtitle:0 global headers:0kB muxing overhead 0.007263%
31021 frames successfully decoded, 0 decoding errors
Statistics: 4 seeks, 31024 writeouts

}}}
Result: very bad audio, distortion
Same result with
{{{
$ ffmpeg -debug 1 -vn -f alsa -ac 2 -channel_layout stereo -i hw:0,0 -ar 44100 -ab 320k -c:a mp3 /Store3/Test/mp3_`date +%m%d_%H%M`.mp3
}}}
Result: very bad audio, distortion

{{{
$ ffplay -debug 1 -f alsa -ac 2 -i hw:0,0
}}}
Result: statics after almost every bip.

More tests with other applications:
'''Audacity'''
With Alsa, input: default then pulse then ALC892 (hw:0,0)
Result: with these 3 different parameters, audio is perfect.

'''recordmydesktop'''
input: DEFAULT
result: audio is perfect.

'''gnome-sound-recorder 2.29.91'''
Record from input: Capture
format flac, ogg, pm3
Result: with these 3 different formats, audio is perfect.

'''arecord'''
arecord -f cd -t wav out.wav
Result: audio is perfect.

'''VLC'''
input hw:0,0
Result: static after every bip."	MrNice
avdevice	1743	"SDL out doesn't respond to clicking the window ""x"" close"	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
avdevice	1744	SDL out freezes	unspecified	defect	new	2012-09-17T18:48:25+02:00	2013-04-23T23:44:23+02:00	"Summary of the bug:

Basically, no matter what you play with SDL out in windows, it plays for a few seconds, then output window stops updating.  Console continues playing on though.

How to reproduce:
{{{
% ffmpeg version N-44123-g5d55830 Copyright (c) 2000-2012 the FFmpeg developers
  built on Sep  2 2012 20:23:29 with gcc 4.7.1 (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. 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
  libpostproc    52.  0.100 / 52.  0.100
[mpeg2video @ 003ccde0] ac-tex damaged at 40 7
[mpeg2video @ 003ccde0] Warning MVs not available
[mpeg2video @ 003ccde0] concealing 1035 DC, 1035 AC, 1035 MV errors in I frame
[mpeg @ 003cc420] 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 @ 040812c0] w:720 h:480 fmt:yuv420p sar:32/27 -> w:720 h:405
Output #0, sdl, to 'yo':
  Metadata:
    encoder         : Lavf54.25.104
    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
[mpeg2video @ 003ccde0] ac-tex damaged at 40 7
[mpeg2video @ 003ccde0] Warning MVs not available
[mpeg2video @ 003ccde0] concealing 1035 DC, 1035 AC, 1035 MV errors in I frame
frame= 1059 fps= 56 q=0.0 Lsize=       0kB time=00:00:38.77 bitrate=   0.0kbits/s
video:536119kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.000000%
}}}

I think the window is ""moving"" for some reason, and it's not responding to that.  I wonder if the fix is to just integrate with ""real"" ffplay, but anyway this one reproduces quite easily in windows, just drag the window anywhere and output freezes, basically."	rogerdpack
avdevice	2370	v4l2 should not need ENUMSTD	git-master	defect	open	2013-03-17T05:26:20+01:00	2013-06-02T01:46:13+02:00	"Problem: lavd/v4l2.c now requires the device to support VIDIOC_ENUMSTD.

This seems to be a regression according to https://github.com/umlaeute/v4l2loopback/issues/38

Steps to reproduce:
 - install v4l2loopback and load the module
{{{
git clone git://github.com/umlaeute/v4l2loopback.git
cd v4l2loopback
make && sudo make install
modprobe v4l2loopback
}}}
 - push some video to the device with for instance:
{{{
gst-launch-0.10 videotestsrc ! v4l2sink device=/dev/video0 
}}}
 - try to play the device with FFmpeg
{{{
% ./ffplay -v verbose -f v4l2 /dev/video0
ffplay version N-51026-g3313b9c Copyright (c) 2003-2013 the FFmpeg developers
  built on Mar 17 2013 04:38:52 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --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 --disable-runtime-cpudetect --enable-libcelt --enable-libopencv --enable-frei0r --enable-libcaca --enable-libiec61883 --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopus --enable-libpulse --enable-libspeex --enable-openal --enable-libopencv
  libavutil      52. 19.101 / 52. 19.101
  libavcodec     55.  0.100 / 55.  0.100
  libavformat    55.  0.100 / 55.  0.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 47.102 /  3. 47.102
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[video4linux2,v4l2 @ 0x7f457c000940] fd:7 capabilities:50000030/0   
[video4linux2,v4l2 @ 0x7f457c000940] Querying the device for the current frame size
[video4linux2,v4l2 @ 0x7f457c000940] Setting frame size to 320x240
[video4linux2,v4l2 @ 0x7f457c000940] ioctl(VIDIOC_ENUMSTD): Invalid argument
/dev/video0: Invalid argument
}}}

The device plays fine with for example mplayer, and with older ffplay (1.1.3 is working)."	ubitux
avdevice	2410	ffmpeg down with video4linux2.	git-master	defect	open	2013-03-28T18:45:17+01:00	2013-03-29T13:27:14+01:00	"I have Easycap DC60 card(a video capture card). it runs on kernel 3.2 with stk1160 driver. I download ffmpeg source code on 3013/03/29 and compile it.
when I run a commandline:
{{{
[root@localhost ~]# ffmpeg -f video4linux2 -pix_fmt yuv420p -i /dev/video0  -vco                                                      dec mpeg4 -b:v 1200k -y test.avi
ffmpeg version N-51426-gdd17843 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 29 2013 00:22:28 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
  configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopenco                                                      re-amrwb --enable-avfilter --enable-nonfree --enable-libmp3lame --enable-gpl --e                                                      nable-libfaac --enable-libx264 --enable-pthreads --disable-stripping --enable-li                                                      bass --extra-cflags=-I/usr/local/include --disable-debug
  libavutil      52. 22.101 / 52. 22.101
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  0.100 / 55.  0.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 48.105 /  3. 48.105
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
'''[video4linux2,v4l2 @ 0x99704a0] ioctl(VIDIOC_G_PARM): Inappropriate ioctl for de                                                      vice
/dev/video0: Inappropriate ioctl for device'''
}}}"	dinhka
avdevice	2478	PTS: DTS: invalid, clipping when recording alsa	git-master	defect	new	2013-04-18T12:55:57+02:00	2013-06-18T13:40:50+02:00	"Summary of the bug: I am trying to capture S-VHS with a Dazzle DVC100 device.

I run a build without v4l2.
I capture 1 mn with a synchro A/V film. With VLC I get a good sync in direct play.

I get the following error when recording with ffmpeg:

{{{
$ 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/pcm_ffv1_`date +%m%d_%H%M`.avi
ffmpeg version N-52061-g8137ea3 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 13 2013 21:10:51 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
  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-libx264 --disable-libv4l2 --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. 26.100 / 52. 26.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  2.100 / 55.  2.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 53.101 /  3. 53.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.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/pcm_ffv1_0418_1024.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 @ 0x22f5220] All info found
Input #0, alsa, from 'hw:0,0':
  Duration: N/A, start: 1366277089.951533, bitrate: 1536 kb/s
    Stream #0:0, 1, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Successfully opened 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 @ 0x2316ec0] fd:4 capabilities:5020041
[video4linux2,v4l2 @ 0x2316ec0] Selecting input_channel: 1
[video4linux2,v4l2 @ 0x2316ec0] Current input_channel: 1, input_name: S-Video
[video4linux2,v4l2 @ 0x2316ec0] Querying the device for the current frame size
[video4linux2,v4l2 @ 0x2316ec0] Setting frame size to 720x576
[video4linux2,v4l2 @ 0x2316ec0] The V4L2 driver is using the interlaced mode
[video4linux2,v4l2 @ 0x2316ec0] Current standard: PAL, id: 255, frameperiod: 1/25
[video4linux2,v4l2 @ 0x2316ec0] All info found
Input #1, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 1366277090.571670, bitrate: 165888 kb/s
    Stream #1:0, 1, 1/1000000: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 720x576, 1/1000000, 165888 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k tbc
Successfully opened the file.
Parsing a group of options: output file /Store3/Test/pcm_ffv1_0418_1024.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/pcm_ffv1_0418_1024.avi.
Successfully opened the file.
[graph 0 input from stream 0:0 @ 0x22f4c40] Setting 'time_base' to value '1/48000'
[graph 0 input from stream 0:0 @ 0x22f4c40] Setting 'sample_rate' to value '48000'
[graph 0 input from stream 0:0 @ 0x22f4c40] Setting 'sample_fmt' to value 's16'
[graph 0 input from stream 0:0 @ 0x22f4c40] Setting 'channel_layout' to value '0x3'
[graph 0 input from stream 0:0 @ 0x22f4c40] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x3
[audio format for output stream 0:0 @ 0x22fc8e0] Setting 'sample_fmts' to value 's16'
[AVFilterGraph @ 0x2317f40] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
[graph 1 input from stream 1:0 @ 0x22fe600] Setting 'video_size' to value '720x576'
[graph 1 input from stream 1:0 @ 0x22fe600] Setting 'pix_fmt' to value '1'
[graph 1 input from stream 1:0 @ 0x22fe600] Setting 'time_base' to value '1/1000000'
[graph 1 input from stream 1:0 @ 0x22fe600] Setting 'pixel_aspect' to value '0/1'
[graph 1 input from stream 1:0 @ 0x22fe600] Setting 'sws_param' to value 'flags=2'
[graph 1 input from stream 1:0 @ 0x22fe600] Setting 'frame_rate' to value '25/1'
[graph 1 input from stream 1:0 @ 0x22fe600] w:720 h:576 pixfmt:yuyv422 tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2
[format @ 0x22ff480] compat: called with args=[yuv420p|yuva420p|yuva422p|yuv444p|yuva444p|yuv440p|yuv422p|yuv411p|yuv410p|bgr0|bgra|yuv420p16le|yuv422p16le|yuv444p16le|yuv444p9le|yuv422p9le|yuv420p9le|yuv420p10le|yuv422p10le|yuv444p10le|gray16le|gray|gbrp9le|gbrp10le|gbrp12le|gbrp14le]
[format @ 0x22ff480] Setting 'pix_fmts' to value 'yuv420p|yuva420p|yuva422p|yuv444p|yuva444p|yuv440p|yuv422p|yuv411p|yuv410p|bgr0|bgra|yuv420p16le|yuv422p16le|yuv444p16le|yuv444p9le|yuv422p9le|yuv420p9le|yuv420p10le|yuv422p10le|yuv444p10le|gray16le|gray|gbrp9le|gbrp10le|gbrp12le|gbrp14le'
[auto-inserted scaler 0 @ 0x22ff2a0] Setting 'w' to value '0'
[auto-inserted scaler 0 @ 0x22ff2a0] Setting 'h' to value '0'
[auto-inserted scaler 0 @ 0x22ff2a0] Setting 'flags' to value '0x4'
[auto-inserted scaler 0 @ 0x22ff2a0] w:0 h:0 flags:'0x4' interl:0
[format @ 0x22ff480] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0x22fe460] query_formats: 4 queried, 3 merged, 1 already done, 0 delayed
[auto-inserted scaler 0 @ 0x22ff2a0] picking yuv422p out of 26 ref:yuyv422 alpha:0
[auto-inserted scaler 0 @ 0x22ff2a0] w:720 h:576 fmt:yuyv422 sar:0/1 -> w:720 h:576 fmt:yuv422p sar:0/1 flags:0x4
[ffv1 @ 0x2319260] detected 8 logical cores
Output #0, avi, to '/Store3/Test/pcm_ffv1_0418_1024.avi':
  Metadata:
    ISFT            : Lavf55.2.100
    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
st:0 PTS: 1278403 DTS: 1278403 < 1278404 invalid, clipping bitrate=31462.5kbits/s    
st:0 PTS: 1298738 DTS: 1298738 < 1298739 invalid, clipping bitrate=31479.7kbits/s    
[avi @ 0x23181c0] st:0 PTS: 1298827 DTS: 1298827 < 1298828 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 1298828 DTS: 1298828 < 1298829 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 1298829 DTS: 1298829 < 1298830 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 1298830 DTS: 1298830 < 1298831 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 1298831 DTS: 1298831 < 1298832 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 1298832 DTS: 1298832 < 1298833 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 1298833 DTS: 1298833 < 1298834 invalid, clipping
st:0 PTS: 1325059 DTS: 1325059 < 1325060 invalid, clipping bitrate=31472.5kbits/s    
st:0 PTS: 1346723 DTS: 1346723 < 1346724 invalid, clipping bitrate=31507.5kbits/s    
st:0 PTS: 1399222 DTS: 1399222 < 1399223 invalid, clipping bitrate=31526.6kbits/s    
[avi @ 0x23181c0] st:0 PTS: 1399713 DTS: 1399713 < 1399714 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 1399714 DTS: 1399714 < 1399715 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 1409742 DTS: 1409742 < 1409743 invalid, clipping

....[cut]....

[avi @ 0x23181c0] st:0 PTS: 2735025 DTS: 2735025 < 2735026 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 2735026 DTS: 2735026 < 2735027 invalid, clipping
st:0 PTS: 2738455 DTS: 2738455 < 2738456 invalid, clipping bitrate=31798.0kbits/s    
[avi @ 0x23181c0] st:0 PTS: 2746286 DTS: 2746286 < 2746287 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 2750202 DTS: 2750202 < 2750203 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 2752656 DTS: 2752656 < 2752657 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 2757558 DTS: 2757558 < 2757559 invalid, clipping
st:0 PTS: 2759610 DTS: 2759610 < 2759611 invalid, clipping bitrate=31821.6kbits/s    
[avi @ 0x23181c0] st:0 PTS: 2761571 DTS: 2761571 < 2761572 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 2771378 DTS: 2771378 < 2771379 invalid, clipping
st:0 PTS: 2787546 DTS: 2787546 < 2787547 invalid, clipping bitrate=31802.0kbits/s    
[avi @ 0x23181c0] st:0 PTS: 2795875 DTS: 2795875 < 2795876 invalid, clipping
[avi @ 0x23181c0] st:0 PTS: 2805205 DTS: 2805205 < 2805206 invalid, clipping
st:0 PTS: 2833986 DTS: 2833986 < 2833987 invalid, clipping bitrate=31830.9kbits/s    
[avi @ 0x23181c0] st:0 PTS: 2835452 DTS: 2835452 < 2835453 invalid, clipping
frame= 1507 fps= 25 q=0.0 Lsize=  236861kB time=00:01:00.85 bitrate=31887.0kbits/s    
video:225091kB audio:11410kB subtitle:0 global headers:0kB muxing overhead 0.152210%
14915 frames successfully decoded, 0 decoding errors
Statistics: 10 seeks, 20959 writeouts
}}}
But there is a desync, audio is late by around 0.5s (0.5s at the beginning and still 0.5s after 1mn).

I did more tests with the following:

Audio codec	Video codec	Container	Result

pcm_s16le	ffv1		avi		invalid, clipping / desync
flac		ffv1		avi		No error / desync
ac3		ffv1		avi		No error / desync
mp3		ffv1		avi		No error / desync
mp2		ffv1		avi		No error / desync

pcm_s16le	huffyuv		avi		invalid, clipping / desync
flac		huffyuv		avi		No error / desync
ac3		huffyuv		avi		No error / desync
mp3		huffyuv		avi		No error / desync
mp2		huffyuv		avi		No error / desync

pcm_s16le	ffv1		mkv		No error / desync
flac		ffv1		mkv		No error / desync
ac3		ffv1		mkv		No error / desync
mp3		ffv1		mkv		No error / desync
mp2		ffv1		mkv		No error / desync

pcm_s16le	huffyuv		mkv		No error / desync
flac		huffyuv		mkv		No error / desync
ac3		huffyuv		mkv		No error / desync
mp3		huffyuv		mkv		No error / desync
mp2		huffyuv		mkv		No error / desync


Seems that the desync is not related to the invalid, clipping.

If you need more info or tests don't hesitate to ask me."	MrNice
avdevice	314	OpenAL device does not work on OS X	git-master	enhancement	new	2011-06-27T17:22:47+02:00	2011-11-03T01:22:35+01:00	"configure is not set to find openal on OS X.

The fix for the linker check is easy: add ""-Wl,-framework,OpenAL"" to the list of flags to check

{{{
-enabled openal     && { { for al_libs in ""${OPENAL_LIBS}"" ""-lopenal"" ""-lOpenAL32""; do
+enabled openal     && { { for al_libs in ""${OPENAL_LIBS}"" ""-lopenal"" ""-lOpenAL32"" ""-Wl,-framework,OpenAL""; do
}}}

I don't know how to fix the header check to look for multiple possibilities, but on OS X the header in the OpenAL framework is found in OpenAL/al.h (not AL/al.h like in linux).  If I change the header check in configure and the includes in libavdevice/openal-dec.c, the build and linkage works well.

However, running 'ffmpeg -f openal' as suggested in the manual fails with an malloc error, so this might just not be doable on OS X.

{{{
nieder $ /usr/local/ffmpeg-git/bin/ffmpeg -list_devices true -f openal -i dummy out.ogg
ffmpeg version N-31036-g65eae2a, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 27 2011 10:29:19 with gcc 4.0.1 (Apple Inc. build 5493)
  configuration: --prefix=/usr/local/ffmpeg-git --mandir=/usr/local/ffmpeg-git/share/man --disable-static --enable-shared --enable-gpl --enable-version3 --enable-postproc --enable-pthreads --enable-x11grab --enable-bzlib --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdirac --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-openal --enable-zlib --disable-debug --extra-cflags='-I/sw/lib/libspeex1/include -I/sw/include -I/usr/X11R6/include' --extra-ldflags='-L/sw/lib/libspeex1/lib -L/sw/lib -L/usr/X11R6/lib'
  libavutil    51. 10. 0 / 51. 10. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 24. 0 /  2. 24. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[openal @ 0x200a800] List of OpenAL capture devices on this system:
[openal @ 0x200a800]   Built-in Microphone
dummy: Immediate exit requested

nieder $ /usr/local/ffmpeg-git/bin/ffmpeg -f openal -i 'Built-in Microphone' out.ogg
ffmpeg version N-31036-g65eae2a, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun 27 2011 10:29:19 with gcc 4.0.1 (Apple Inc. build 5493)
  configuration: --prefix=/usr/local/ffmpeg-git --mandir=/usr/local/ffmpeg-git/share/man --disable-static --enable-shared --enable-gpl --enable-version3 --enable-postproc --enable-pthreads --enable-x11grab --enable-bzlib --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdirac --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-openal --enable-zlib --disable-debug --extra-cflags='-I/sw/lib/libspeex1/include -I/sw/include -I/usr/X11R6/include' --extra-ldflags='-L/sw/lib/libspeex1/lib -L/sw/lib -L/usr/X11R6/lib'
  libavutil    51. 10. 0 / 51. 10. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 24. 0 /  2. 24. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
mpeg(49840,0xa025b720) malloc: *** error for object 0x1e2c0e0: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
mpeg(49840,0xa025b720) malloc: *** error for object 0x1e2c0e0: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
[openal @ 0x200a800] Error: ALC Invalid Device
Bus error
}}}"	nieder
avdevice	2302	MacOSX and iOs capture	git-master	enhancement	open	2013-02-25T01:58:47+01:00	2013-02-25T09:55:56+01:00	"For example the camera format is Video4Linux(v4l) and its name is ""/dev/video0"" in ubuntu,but what is it in MacOSX/iphone?
The audio format is alsa(oss) and its name is ""/dev/dsp"" in ubuntu,but what is it in MacOSX/iphone?"	valley_rain
avdevice	2305	v4l2 user control configuration mechanism	git-master	enhancement	new	2013-02-26T04:12:06+01:00	2013-03-09T22:08:41+01:00	"avdevice/v4l2.c does not provide a v4l2 user control ( V4L2_CID_* ) listing and configuration mechanism, see [http://linuxtv.org/downloads/v4l-dvb-apis/control.html#control-id]

something similar to the capabilities offered by {{{v4l2-ctl --set-ctrl=<ctrl>=<val>[,<ctrl>=<val>]}}} is needed

"	elkq
avdevice	2344	libavdevice SDL fullscreen output	git-master	enhancement	open	2013-03-10T18:15:27+01:00	2013-03-10T19:28:12+01:00	It would be nice if SDL output could be done fullscreen. That would enhance the use of ffmpeg as a realtime video filter. 	dronus
avdevice	2563	selection and x11grab	unspecified	enhancement	new	2013-05-13T01:42:14+02:00	2013-05-13T01:42:14+02:00	"A common use case of x11grab input device is to record a window, or a screen selection.

Recording a window can be achieved with a script such as:

{{{
☭ cat record.sh
#!/bin/sh

if [ $# -lt 1 ]; then
    echo ""usage: $0 [output options] <output>""
    exit 1
fi

win_info=$(xwininfo)
w=$(echo ""$win_info"" | grep 'Width:'       | awk         '{print $2}')
h=$(echo ""$win_info"" | grep 'Height:'      | awk         '{print $2}')
x=$(echo ""$win_info"" | grep 'Absolute.*X:' | awk -F': *' '{print $2}')
y=$(echo ""$win_info"" | grep 'Absolute.*Y:' | awk -F': *' '{print $2}')
cmd=""ffmpeg -f x11grab -show_region 1 -draw_mouse 1 -s ${w}x${h} -r 24 -i :0.0+$x,$y $*""
echo ""=> $cmd""
eval $cmd
}}}

I was willing to add such script to the wiki, but actually it might be more relevant to just add a -x11select option in the x11grab indev, allowing a more advanced selection. Basically, exactly the same as {{{scrot -s}}} (screenshot command line tool). The user then do a screen selection, or clic on a window."	ubitux
avfilter	2672	Incompatible avfilter_graph_parse()	git-master	defect	new	2013-06-15T20:54:17+02:00	2013-06-15T21:41:02+02:00	"In 6119b23a, API was broken (on purpose):

{{{
 int avfilter_graph_parse(AVFilterGraph *graph, const char *filters,
-                         AVFilterInOut *inputs, AVFilterInOut *outputs,
+                         AVFilterInOut **inputs, AVFilterInOut **outputs,
                          void *log_ctx);
}}}

While that API break was not really a problem at that time, the Libav fork already existed and didn't pick that change. This causes an API incompatibility between the two projects, which needs to be fixed somehow.

AFAICT there is unfortunately no clean way to do that. Best we can do seems to be to restore the prototype automatically at next major bump (but that might break a lot of apps). Note that some applications are already using this new prototypes."	ubitux
avfilter	681	-vf mp=pullup leads to massive A/V-desync	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
avfilter	1143	Timecode skipped in drawtext filter	unspecified	defect	new	2012-03-28T18:06:36+02:00	2013-03-01T11:05:09+01:00	"when transcoding a certain file from the apple trailers section, I get strange behaviour with the drawtext filter in that the timecode 00:00:00:01 stays for two frames and then everything appears to be normal. I haven't been able to reproduce this with another file but this one:

http://trailers.apple.com/movies/dreamworks/megamind/megamind-tlr2_h480p.mov

here's the command line and output:

ffmpeg -i Megamind.mov -t 10 -vcodec mpeg4 -acodec copy -vf drawtext=""fontfile=/System/Library/Fonts/HelveticaLight.ttf:timecode='00\\:00\\:00\\:00':rate=24:x=10:y=60-descent:fontsize=24:fontcolor=white"" -qscale 1 -y drawtexttest-megamind-net.mov

ffmpeg version N-39366-g247fbf0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 28 2012 17:12:08 with gcc 4.2.1 (Apple Inc. build 5664)
  configuration: --enable-gpl --enable-libfreetype
  libavutil      51. 44.100 / 51. 44.100
  libavcodec     54. 12.100 / 54. 12.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 66.101 /  2. 66.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 10.100 /  0. 10.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/krueger/Documents/Megamind.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2012-03-28 15:59:28
    comment         : Encoded and delivered by apple.com/trailers/
    comment-eng     : Encoded and delivered by apple.com/trailers/
    copyright       : © 2010 Dreamworks Pictures. All Rights Reserved
    copyright-eng   : © 2010 Dreamworks Pictures. All Rights Reserved
    title           : Megamind
    title-eng       : Megamind
  Duration: 00:02:29.50, start: 0.000000, bitrate: 2344 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 848x352, 2209 kb/s, 24 fps, 24 tbr, 2400 tbn, 4800 tbc
    Metadata:
      creation_time   : 2012-03-28 15:59:28
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 131 kb/s
    Metadata:
      creation_time   : 2012-03-28 15:59:28
      handler_name    : ?Apple Alias Data Handler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2012-03-28 15:59:28
      handler_name    : ?Apple Alias Data Handler
      timecode        : 00:00:00:00
Please use -q:a or -q:v, -qscale is ambiguous
[buffer @ 0x101013060] w:848 h:352 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, mov, to 'drawtexttest-megamind-net.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2012-03-28 15:59:28
    comment         : Encoded and delivered by apple.com/trailers/
    comment-eng     : Encoded and delivered by apple.com/trailers/
    copyright       : © 2010 Dreamworks Pictures. All Rights Reserved
    copyright-eng   : © 2010 Dreamworks Pictures. All Rights Reserved
    title           : Megamind
    title-eng       : Megamind
    encoder         : Lavf54.3.100
    Stream #0:0(eng): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 848x352, q=2-31, 200 kb/s, 24 tbn, 24 tbc
    Metadata:
      creation_time   : 2012-03-28 15:59:28
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 131 kb/s
    Metadata:
      creation_time   : 2012-03-28 15:59:28
      handler_name    : ?Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mpeg4)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[h264 @ 0x1020bd600] Increasing reorder buffer to 1
frame=  240 fps=0.0 q=1.0 Lsize=    3115kB time=00:00:10.00 bitrate=2552.2kbits/s dup=1 drop=0    
video:2983kB audio:126kB global headers:0kB muxing overhead 0.207059%
"	rmk
avfilter	1177	movie source: seek_point does not allow for accurate seeking (keyframe only)	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
avfilter	1618	Padding to odd/uneven size fails	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
avfilter	1799	movie: loop option doesn't seem to work	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
avfilter	2061	ffmpeg -vf drawtext not support ft_load_flags=vertical_layout	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
avfilter	2456	can't concatenate two video files because of different SARs	git-master	defect	open	2013-04-10T23:20:27+02:00	2013-05-16T01:58:42+02:00	"I've got two videos encoded from a sequence of png images and audio streams from mp3 with similar params.
When I try to concatenate them using a custom filter I get this error:

[Parsed_concat_0 @ 00000000020a20e0] Input link in1:v0 parameters (size 1280x720, SAR 1:1) do not match the corresponding output link in0:v0 parameters (1280x720, SAR 0:1)

I don't quite understand how SARs of my videos both produced from 1280x720 pngs with the same FFMPEG parameters ended up having different SARs.

Here's the command line: 

ffmpeg.exe"" -report -i test3.mov -i test-h264-jpg.mov -filter_complex ""[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]"" -map ""[v]"" -map ""[a]"" -start_number 0 -r 25 -vcodec libx264 -crf 15 -preset slow -profile:v main -pix_fmt yuv420p -ac 2 -ar 48000 -ab 320k -y  concatted-mux.mov

and full output:

ffmpeg started on 2013-04-10 at 22:19:06
Report written to ""ffmpeg-20130410-221906.log""
Command line:
""ffmpeg.exe"" -report -i test3.mov -i test-h264-jpg.mov -filter_complex ""[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]"" -map ""[v]"" -map ""[a]"" -start_number 0 -r 25 -vcodec libx264 -crf 15 -preset slow -profile:v main -pix_fmt yuv420p -ac 2 -ar 48000 -ab 320k -y concatted-mux.mov
ffmpeg version N-49527-g985e93a Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb  1 2013 18:47:10 with gcc 4.7.2 (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-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --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. 17.100 / 52. 17.100
  libavcodec     54. 91.100 / 54. 91.100
  libavformat    54. 61.104 / 54. 61.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 35.100 /  3. 35.100
  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 '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input file with argument 'test3.mov'.
Reading option '-i' ... matched as input file with argument 'test-h264-jpg.mov'.
Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument '[0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[v]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[a]'.
Reading option '-start_number' ... matched as AVOption 'start_number' with argument '0'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '25'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
Reading option '-crf' ... matched as AVOption 'crf' with argument '15'.
Reading option '-preset' ... matched as AVOption 'preset' with argument 'slow'.
Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'main'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '48000'.
Reading option '-ab' ... matched as AVOption 'ab' with argument '320k'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option 'concatted-mux.mov' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option filter_complex (create a complex filtergraph) with argument [0:0] [0:1] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a].
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file test3.mov.
Successfully parsed a group of options.
Opening an input file: test3.mov.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000032ef00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000032ef00] ISO: File Type Major Brand: qt  
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000032ef00] File position before avformat_find_stream_info() is 10775937
[h264 @ 000000000032f460] Using externally provided dimensions
[h264 @ 000000000032f460] no picture 
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000032ef00] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000032ef00] File position after avformat_find_stream_info() is 3111
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test3.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    encoder         : Lavf54.61.104
  Duration: 00:03:34.20, start: 0.000000, bitrate: 402 kb/s
    Stream #0:0(eng), 3, 1/12800: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720, 74 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
    Metadata:
      handler_name    : DataHandler
    Stream #0:1(eng), 1, 1/44100: Audio: mp3 (.mp3 / 0x33706D2E), 44100 Hz, stereo, s16p, 320 kb/s
    Metadata:
      handler_name    : DataHandler
Successfully opened the file.
Parsing a group of options: input file test-h264-jpg.mov.
Successfully parsed a group of options.
Opening an input file: test-h264-jpg.mov.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000032a160] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000032a160] ISO: File Type Major Brand: qt  
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000032a160] File position before avformat_find_stream_info() is 1982254
[h264 @ 0000000004194920] Using externally provided dimensions
[h264 @ 0000000004194920] no picture 
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000032a160] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 000000000032a160] File position after avformat_find_stream_info() is 2064
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'test-h264-jpg.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 512
    compatible_brands: qt  
    encoder         : Lavf54.61.104
  Duration: 00:00:12.09, start: 0.000000, bitrate: 1311 kb/s
    Stream #1:0(eng), 3, 1/12800: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1021 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
    Metadata:
      handler_name    : DataHandler
    Stream #1:1(eng), 1, 1/44100: Audio: mp3 (.mp3 / 0x33706D2E), 44100 Hz, stereo, s16p, 320 kb/s
    Metadata:
      handler_name    : DataHandler
Successfully opened the file.
Parsing a group of options: output file concatted-mux.mov.
Applying option map (set input stream mapping) with argument [v].
Applying option map (set input stream mapping) with argument [a].
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 25.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument libx264.
Applying option profile:v (set profile) with argument main.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option ac (set number of audio channels) with argument 2.
Applying option ar (set audio sampling rate (in Hz)) with argument 48000.
Successfully parsed a group of options.
Opening an output file: concatted-mux.mov.
[concat @ 0000000002089720] Setting entry with key 'n' to value '2'
[concat @ 0000000002089720] Setting entry with key 'v' to value '1'
[concat @ 0000000002089720] Setting entry with key 'a' to value '1'
[buffer @ 0000000002099900] Setting entry with key 'video_size' to value '1280x720'
[buffer @ 0000000002099900] Setting entry with key 'pix_fmt' to value '0'
[buffer @ 0000000002099900] Setting entry with key 'time_base' to value '1/12800'
[buffer @ 0000000002099900] Setting entry with key 'pixel_aspect' to value '0/1'
[buffer @ 0000000002099900] Setting entry with key 'sws_param' to value 'flags=2'
[buffer @ 0000000002099900] Setting entry with key 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 00000000020a1e60] w:1280 h:720 pixfmt:yuv420p tb:1/12800 fr:25/1 sar:0/1 sws_param:flags=2
[abuffer @ 0000000002098be0] Setting entry with key 'time_base' to value '1/44100'
[abuffer @ 0000000002098be0] Setting entry with key 'sample_rate' to value '44100'
[abuffer @ 0000000002098be0] Setting entry with key 'sample_fmt' to value 's16p'
[abuffer @ 0000000002098be0] Setting entry with key 'channel_layout' to value '0x3'
[graph 0 input from stream 0:1 @ 00000000020a1f00] tb:1/44100 samplefmt:s16p samplerate:44100 chlayout:0x3
[buffer @ 0000000002098ca0] Setting entry with key 'video_size' to value '1280x720'
[buffer @ 0000000002098ca0] Setting entry with key 'pix_fmt' to value '0'
[buffer @ 0000000002098ca0] Setting entry with key 'time_base' to value '1/12800'
[buffer @ 0000000002098ca0] Setting entry with key 'pixel_aspect' to value '1/1'
[buffer @ 0000000002098ca0] Setting entry with key 'sws_param' to value 'flags=2'
[buffer @ 0000000002098ca0] Setting entry with key 'frame_rate' to value '25/1'
[graph 0 input from stream 1:0 @ 00000000020a1de0] w:1280 h:720 pixfmt:yuv420p tb:1/12800 fr:25/1 sar:1/1 sws_param:flags=2
[abuffer @ 0000000002098d40] Setting entry with key 'time_base' to value '1/44100'
[abuffer @ 0000000002098d40] Setting entry with key 'sample_rate' to value '44100'
[abuffer @ 0000000002098d40] Setting entry with key 'sample_fmt' to value 's16p'
[abuffer @ 0000000002098d40] Setting entry with key 'channel_layout' to value '0x3'
[graph 0 input from stream 1:1 @ 00000000020a1960] tb:1/44100 samplefmt:s16p samplerate:44100 chlayout:0x3
[aformat @ 0000000002088720] Setting entry with key 'sample_fmts' to value 's16'
[aformat @ 0000000002088720] Setting entry with key 'sample_rates' to value '48000'
[aformat @ 0000000002088720] Setting entry with key 'channel_layouts' to value '0x3'
Successfully opened the file.
[audio format for output stream 0:1 @ 00000000020a1ba0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_concat_0' and the filter 'audio format for output stream 0:1'
[Parsed_concat_0 @ 00000000020a1d40] Input link in1:v0 parameters (size 1280x720, SAR 1:1) do not match the corresponding output link in0:v0 parameters (1280x720, SAR 0:1)
[Parsed_concat_0 @ 00000000020a1d40] Failed to configure output pad on Parsed_concat_0
[AVIOContext @ 000000000209e320] Statistics: 266930 bytes read, 2 seeks
[AVIOContext @ 000000000032a980] Statistics: 77594 bytes read, 2 seeks
"	DK
avfilter	2483	Cropping video with height=1 fails	git-master	defect	new	2013-04-19T02:07:47+02:00	2013-04-19T11:04:07+02:00	"Summary of the bug:
Cropping a video with height 1px fails:
""-filter crop=848:1:0:240"" fails with error message:
""[Parsed_crop_0 @ 026cff60] Invalid too big or non positive size for width '848' or height '0'""
How to reproduce:
Use a video as input an crop to a 1px high strip. 

I know this is not very helpful but this instruction was working well with a ffmpeg version from September 2012. I am afraid I can not provide the version I used back then. 

A height of 2px works fine.
I used a this 
{{{
ffmpeg -i c:\strip\GOPR0492.MP4 -filter crop=848:1:0:240 ""out0%6d.png"" 

ffmpeg version N-52233-gee94362 
built on Apr 18 2013 02:50:33 with gcc 4.8.0 (GCC)

C:\strip>ffmpeg -i c:\strip\GOPR0492.MP4 -filter crop=848:1:0:240 ""out0%6d.png""
 -v 9 -loglevel 99
ffmpeg version N-52233-gee94362 Copyright (c) 2000-2013 the FFmpeg developers built on Apr 18 2013 02:50:33 with gcc 4.8.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-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 --ena
ble-zlib
  libavutil      52. 26.100 / 52. 26.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  2.100 / 55.  2.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 56.103 /  3. 56.103
  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 '-i' ... matched as input file with argument 'c:\strip\GOPR0492.MP4'.
Reading option '-filter' ... matched as option 'filter' (set stream filtergraph) with argument 'crop=848:1:0:240'.
Reading option 'out0%6d.png' ... matched as output file.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level)
with argument '99'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file c:\strip\GOPR0492.MP4.
Successfully parsed a group of options.
Opening an input file: c:\strip\GOPR0492.MP4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 02249800] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 02249800] ISO: File Type Major Brand: avc1
[mov,mp4,m4a,3gp,3g2,mj2 @ 02249800] File position before avformat_find_stream_info() is 3047424
[h264 @ 0224b840] AVC: Consumed only 93163 bytes instead of 93166
[h264 @ 0224b840] Using externally provided dimensions
[h264 @ 0224b840] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 02249800] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 02249800] File position after avformat_find_stream_info() is 3140977
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'c:\strip\GOPR0492.MP4':
  Metadata:
    major_brand     : avc1
    minor_version   : 0
    compatible_brands: avc1isom
    creation_time   : 2013-04-18 17:51:49
  Duration: 00:11:12.36, start: 0.000000, bitrate: 30179 kb/s
    Stream #0:0(eng), 1, 1/720000: Video: h264 (High) (avc1 / 0x31637661), yuvj 420p, 848x480 [SAR 1:1 DAR 53:30], 1/480, 30004 kb/s, 240 fps, 240 tbr, 720k tbn,  480 tbc
    Metadata:
      creation_time   : 2013-04-18 17:51:49
      handler_name    :  GoPro AVC
    Stream #0:1(eng), 1, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      creation_time   : 2013-04-18 17:51:49
      handler_name    :  GoPro AAC
Successfully opened the file.
Parsing a group of options: output file out0%6d.png.
Applying option filter (set stream filtergraph) with argument crop=848:1:0:240.
Successfully parsed a group of options.
Opening an output file: out0%6d.png.
Successfully opened the file.
[Parsed_crop_0 @ 0224c2e0] Setting 'out_w' to value '848'
[Parsed_crop_0 @ 0224c2e0] Setting 'out_h' to value '1'
[Parsed_crop_0 @ 0224c2e0] Setting 'x' to value '0'
[Parsed_crop_0 @ 0224c2e0] Setting 'y' to value '240'
[graph 0 input from stream 0:0 @ 0224c1a0] Setting 'video_size' to value '848x480'
[graph 0 input from stream 0:0 @ 0224c1a0] Setting 'pix_fmt' to value '12'
[graph 0 input from stream 0:0 @ 0224c1a0] Setting 'time_base' to value '1/720000'
[graph 0 input from stream 0:0 @ 0224c1a0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0224c1a0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0224c1a0] Setting 'frame_rate' to value '240/1'
[graph 0 input from stream 0:0 @ 0224c1a0] w:848 h:480 pixfmt:yuvj420p tb:1/720000 fr:240/1 sar:1/1 sws_param:flags=2
[format @ 0224c000] compat: called with args=[rgb24|rgba|rgb48be|rgba64be|pal8|gray|gray8a|gray16be|monob]
[format @ 0224c000] Setting 'pix_fmts' to value 'rgb24|rgba|rgb48be|rgba64be|pal8|gray|gray8a|gray16be|monob'
[auto-inserted scaler 0 @ 0224c420] Setting 'w' to value '0'
[auto-inserted scaler 0 @ 0224c420] Setting 'h' to value '0'
[auto-inserted scaler 0 @ 0224c420] Setting 'flags' to value '0x4'
[auto-inserted scaler 0 @ 0224c420] w:0 h:0 flags:'0x4' interl:0
[format @ 0224c000] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_crop_0' and the filter 'format'
[AVFilterGraph @ 03f0e4c0] query_formats: 4 queried, 3 merged, 1 already done, 0 delayed
[auto-inserted scaler 0 @ 0224c420] picking rgb24 out of 7 ref:yuvj420p alpha:0
[Parsed_crop_0 @ 0224c2e0] w:848 h:480 sar:1/1 -> w:848 h:0 sar:1/1
[Parsed_crop_0 @ 0224c2e0] Invalid too big or non positive size for width '848' or height '0'
[graph 0 input from stream 0:0 @ 0224c1a0] Failed to configure input pad on Parsed_crop_0
Error opening filters!
[AVIOContext @ 0224a740] Statistics: 3009155 bytes read, 2 seeks


}}}"	elektronaut
avfilter	2555	testsrc artifacts with specific height values	git-master	defect	open	2013-05-10T15:30:43+02:00	2013-05-30T12:04:24+02:00	"Summary of the bug:

testsrc generates artifacts in the generated patterns, which appear as a discontinuity in the sliding colored band.
How to reproduce:
{{{
ffplay -f lavfi testsrc=s=237x121
ffplay -f lavfi testsrc=s=237x119
}}}

This is most likely due to some rounding issue."	saste
avfilter	2559	Bad pixel format negociation with scale and gray	git-master	defect	new	2013-05-11T13:22:54+02:00	2013-05-12T17:42:52+02:00	"The gray pixel format seems to be preferred over colored output sometimes.

Working fine:

{{{
% ./ffplay -nostats -v verbose -f lavfi testsrc -vf 'split[a][b]; [a]pad=iw*2[x]; [b]edgedetect[y]; [x][y]overlay=w'       
ffplay version N-52968-g90d35e5 Copyright (c) 2003-2013 the FFmpeg developers
  built on May 11 2013 12:34:21 with gcc 4.8.0 (GCC) 20130502 (prerelease)
  configuration: --enable-gpl --enable-version3 --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 --disable-runtime-cpudetect --enable-libcelt --enable-libopencv --enable-frei0r --enable-libcaca --enable-libiec61883 --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopus --enable-libpulse --enable-libspeex --enable-libquvi --enable-memory-poisoning
  libavutil      52. 30.100 / 52. 30.100
  libavcodec     55.  7.100 / 55.  7.100
  libavformat    55.  4.101 / 55.  4.101
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 64.100 /  3. 64.100
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[Parsed_testsrc_0 @ 0x7f84fc001600] size:320x240 rate:25/1 duration:-1.000000 sar:1/1
[ffplay_buffer @ 0x7f84f0000dc0] w:320 h:240 pixfmt:rgb24 tb:1/25 fr:25/1 sar:1/1 sws_param:
[auto-inserted scaler 0 @ 0x7f84f0006e80] w:0 h:0 flags:'4' interl:0
[Parsed_edgedetect_2 @ 0x7f84f0005880] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_split_0' and the filter 'Parsed_edgedetect_2'
[auto-inserted scaler 1 @ 0x7f84f0002620] w:0 h:0 flags:'4' interl:0
[Parsed_overlay_3 @ 0x7f84f00060a0] auto-inserting filter 'auto-inserted scaler 1' between the filter 'Parsed_pad_1' and the filter 'Parsed_overlay_3'
[auto-inserted scaler 2 @ 0x7f84f00011c0] w:0 h:0 flags:'4' interl:0
[Parsed_overlay_3 @ 0x7f84f00060a0] auto-inserting filter 'auto-inserted scaler 2' between the filter 'Parsed_edgedetect_2' and the filter 'Parsed_overlay_3'
[Parsed_pad_1 @ 0x7f84f0004aa0] w:320 h:240 -> w:640 h:240 x:0 y:0 color:0x000000FF
[auto-inserted scaler 1 @ 0x7f84f0002620] w:640 h:240 fmt:rgb24 sar:1/1 -> w:640 h:240 fmt:yuv420p sar:1/1 flags:0x4
[auto-inserted scaler 0 @ 0x7f84f0006e80] w:320 h:240 fmt:rgb24 sar:1/1 -> w:320 h:240 fmt:gray sar:1/1 flags:0x4
[auto-inserted scaler 2 @ 0x7f84f00011c0] w:320 h:240 fmt:gray sar:1/1 -> w:320 h:240 fmt:yuva420p sar:1/1 flags:0x4
[Parsed_overlay_3 @ 0x7f84f00060a0] main w:640 h:240 fmt:yuv420p overlay w:320 h:240 fmt:yuva420p
[ffplay_crop @ 0x7f84f00030c0] w:640 h:240 sar:1/1 -> w:640 h:240 sar:1/1
}}}

Broken with a scale filter (the left is part is being ""contaminated"" with the gray-only:

{{{
% ./ffplay -nostats -v verbose -f lavfi testsrc -vf 'scale=iw:ih, split[a][b]; [a]pad=iw*2[x]; [b]edgedetect[y]; [x][y]overlay=w'                                                  
ffplay version N-52968-g90d35e5 Copyright (c) 2003-2013 the FFmpeg developers
  built on May 11 2013 12:34:21 with gcc 4.8.0 (GCC) 20130502 (prerelease)
  configuration: --enable-gpl --enable-version3 --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 --disable-runtime-cpudetect --enable-libcelt --enable-libopencv --enable-frei0r --enable-libcaca --enable-libiec61883 --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopus --enable-libpulse --enable-libspeex --enable-libquvi --enable-memory-poisoning
  libavutil      52. 30.100 / 52. 30.100
  libavcodec     55.  7.100 / 55.  7.100
  libavformat    55.  4.101 / 55.  4.101
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 64.100 /  3. 64.100
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[Parsed_testsrc_0 @ 0x7fd048001600] size:320x240 rate:25/1 duration:-1.000000 sar:1/1
[ffplay_buffer @ 0x7fd04c000dc0] w:320 h:240 pixfmt:rgb24 tb:1/25 fr:25/1 sar:1/1 sws_param:
[Parsed_scale_0 @ 0x7fd04c004160] w:iw h:ih flags:'4' interl:0
[auto-inserted scaler 0 @ 0x7fd04c000b80] w:0 h:0 flags:'4' interl:0
[Parsed_overlay_4 @ 0x7fd04c007100] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_pad_2' and the filter 'Parsed_overlay_4'
[auto-inserted scaler 1 @ 0x7fd04c006e00] w:0 h:0 flags:'4' interl:0
[Parsed_overlay_4 @ 0x7fd04c007100] auto-inserting filter 'auto-inserted scaler 1' between the filter 'Parsed_edgedetect_3' and the filter 'Parsed_overlay_4'
[Parsed_scale_0 @ 0x7fd04c004160] w:320 h:240 fmt:rgb24 sar:1/1 -> w:320 h:240 fmt:gray sar:1/1 flags:0x4
[Parsed_pad_2 @ 0x7fd04c005b40] w:320 h:240 -> w:640 h:240 x:0 y:0 color:0x000000FF
[auto-inserted scaler 0 @ 0x7fd04c000b80] w:640 h:240 fmt:gray sar:1/1 -> w:640 h:240 fmt:yuv420p sar:1/1 flags:0x4
[auto-inserted scaler 1 @ 0x7fd04c006e00] w:320 h:240 fmt:gray sar:1/1 -> w:320 h:240 fmt:yuva420p sar:1/1 flags:0x4
[Parsed_overlay_4 @ 0x7fd04c007100] main w:640 h:240 fmt:yuv420p overlay w:320 h:240 fmt:yuva420p
[ffplay_crop @ 0x7fd04c0030c0] w:640 h:240 sar:1/1 -> w:640 h:240 sar:1/1
}}}"	ubitux
avfilter	2577	crash in lavfi mp wrapper with yuvj pixel formats	git-master	defect	new	2013-05-16T01:02:53+02:00	2013-05-16T01:02:53+02:00	"With assert level >= 1 ({{{--assert-level=...}}}), a assert is triggered if a yuvj* pixel format is send to a wrapped mp filter:

{{{
% ./ffmpeg -f lavfi -i testsrc -vf format=yuvj420p,mp=eq -f null -
ffmpeg version N-53112-gd686517 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 16 2013 00:59:29 with gcc 4.8.0 (GCC) 20130502 (prerelease)
  configuration: --enable-gpl --enable-version3 --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 --disable-runtime-cpudetect --enable-libcelt --enable-libopencv --enable-frei0r --enable-libcaca --enable-libiec61883 --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libopus --enable-libpulse --enable-libspeex --enable-libquvi --assert-level=2
  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
Input #0, lavfi, from 'testsrc':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
[Parsed_mp_1 @ 0x1a9f000] 'eq' is a wrapped MPlayer filter (libmpcodecs). This filter may be removed
once it has been ported to a native libavfilter.
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf55.7.100
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuvj420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> rawvideo)
Press [q] to stop, [?] for help
Assertion frame->format == link->format failed at libavfilter/avfilter.c:1060
zsh: abort (core dumped)  ./ffmpeg -f lavfi -i testsrc -vf format=yuvj420p,mp=eq -f null -
}}}

Reproducible with other mp filter, and not reproducible with a !yuvj pixel format."	ubitux
avfilter	2595	Last frame of partly deintelacted video stream, not deinterlaced	git-master	defect	new	2013-05-21T16:43:20+02:00	2013-05-25T12:46:51+02:00	"I have an input video file where some sequences are interlaced and the rest isn't. I am using -vf yadif=enable='between(t,A,B)+...' to only deinterlace where needed. It works almost fine, except that the very last frame of each specified time sequence is not deinterlaced.

How to reproduce:
{{{
% ffmpeg -i input.mpg -vf yadif=enable='between(t,0,1.040)' output.mpg
ffmpeg version N-53323-gb8a9876 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 21 2013 16:20:56 with gcc 4.7 (SUSE Linux)
}}}

As a workaround, I am adding one frame at the end of every sequence which needs to be deinterlaced."	khali
avfilter	2674	fps filter changes video length	git-master	defect	new	2013-06-16T13:43:30+02:00	2013-06-16T13:43:30+02:00	"The fps filter fails for the last frame and changes video length.
{{{$ ffmpeg -f lavfi -i testsrc=r=24 -t 1 -qscale 2 24fps.avi}}}
{{{
$ ffmpeg -loglevel verbose -i 24fps.avi -vf fps=48 48fps.avi
ffmpeg version N-54036-g6c4516d Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 15 2013 18:04:13 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 35.101 / 52. 35.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, avi, from '24fps.avi':
  Metadata:
    encoder         : Lavf55.8.102
  Duration: 00:00:01.00, start: 0.000000, bitrate: 363 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 24 tbr, 24 tbn, 24 tbc
[Parsed_fps_0 @ 0x2c7cfe0] fps=48/1
[graph 0 input from stream 0:0 @ 0x2c7d9c0] w:320 h:240 pixfmt:yuv420p tb:1/24 fr:24/1 sar:1/1 sws_param:flags=2
Output #0, avi, to '48fps.avi':
  Metadata:
    ISFT            : Lavf55.8.102
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 48 tbn, 48 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> mpeg4)
Press [q] to stop, [?] for help
No more output streams to write to, finishing.
frame=   47 fps=0.0 q=2.0 Lsize=      66kB time=00:00:00.97 bitrate= 553.6kbits/s
video:59kB audio:0kB subtitle:0 global headers:0kB muxing overhead 11.355420%
[Parsed_fps_0 @ 0x2c7cfe0] 24 frames in, 47 frames out; 0 frames dropped, 23 frames duplicated.
}}}
{{{
$ ffmpeg -loglevel verbose -i 24fps.avi -vf fps=12 12fps.avi
ffmpeg version N-54036-g6c4516d Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 15 2013 18:04:13 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 35.101 / 52. 35.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, avi, from '24fps.avi':
  Metadata:
    encoder         : Lavf55.8.102
  Duration: 00:00:01.00, start: 0.000000, bitrate: 363 kb/s
    Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 24 tbr, 24 tbn, 24 tbc
[Parsed_fps_0 @ 0x1c24fe0] fps=12/1
[graph 0 input from stream 0:0 @ 0x1c259c0] w:320 h:240 pixfmt:yuv420p tb:1/24 fr:24/1 sar:1/1 sws_param:flags=2
Output #0, avi, to '12fps.avi':
  Metadata:
    ISFT            : Lavf55.8.102
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 12 tbn, 12 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> mpeg4)
Press [q] to stop, [?] for help
No more output streams to write to, finishing.
frame=   13 fps=0.0 q=1.6 Lsize=      37kB time=00:00:01.08 bitrate= 277.6kbits/s
video:31kB audio:0kB subtitle:0 global headers:0kB muxing overhead 19.286666%
[Parsed_fps_0 @ 0x1c24fe0] 24 frames in, 13 frames out; 11 frames dropped, 0 frames duplicated.
}}}
The second case - {{{-vf fps=12}}} - can be fixed by using {{{-vf fps=12:zero}}} (and {{{-vf fps=12:down}}}) but I wonder why this is necessary when dividing an even frame-rate by two."	cehoyos
avfilter	2679	Discolored output with vf_gradfun and nv12 pixel format	unspecified	defect	new	2013-06-16T21:08:40+02:00	2013-06-16T21:19:22+02:00	"```
ffplay xtest720.mkv -vf format=nv12,gradfun=32:32,format=yuv420p
```

My conclusion: vf_gradfun actually supports only strictly planar formats. nv12 is sort of half-packed (separate Y plain, but packed chroma), and maybe you normally don't see the bad effect on the crhoma so well."	gjdfgh
avfilter	2693	-async chokes on damaged audio input stream	git-master	defect	new	2013-06-20T10:59:40+02:00	2013-06-20T12:01:42+02:00	"Summary of the bug:

I am doing a lot of DVB-T recordings which I then re-encode using ffmpeg. I always pass -async 24000 to deal with random reception errors which can result in damaged audio or video streams from times to times. It works well with ffmpeg 1.0.6 from my Linux distribution (openSUSE 12.3) but fails with my self-built ffmpeg version from the git repository.

How to reproduce:
{{{
% ffmpeg -i audio_error.mpg -codec:v libxvid -b:v 1024k -codec:a libmp3lame -b:a 128k -af aresample=async=24000:first_pts=0 audio_error.avi
ffmpeg version N-54111-gddefb80 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun 19 2013 14:13:45 with gcc 4.7 (SUSE Linux)
  configuration: --prefix=/opt/ffmpeg --enable-shared --enable-libmp3lame --enable-libxvid --enable-postproc --enable-gpl --enable-x11grab --enable-avfilter --enable-version3 --enable-libx264 --enable-pthreads --enable-libvorbis --enable-libtheora --enable-fontconfig --cpu=corei7
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  9.100 / 55.  9.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mpeg, from 'audio_error.mpg':
  Duration: 00:00:02.81, start: 0.252622, bitrate: 3777 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25.33 fps, 25 tbr, 90k tbn, 100 tbc
    Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s
Output #0, avi, to 'audio_error.avi':
  Metadata:
    ISFT            : Lavf55.9.100
    Stream #0:0: Video: mpeg4 (libxvid) (xvid / 0x64697678), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=2-31, 1024 kb/s, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (libmp3lame) (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> libxvid)
  Stream #0:1 -> #0:1 (mp2 -> libmp3lame)
Press [q] to stop, [?] for help
[mp2 @ 0x936dc0] Header missing
Error while decoding stream #0:1: Invalid data found when processing input
[libmp3lame @ 0x937240] Queue input is backward in time
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 91, current: 0; changing to 92. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 92, current: 1; changing to 93. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 93, current: 2; changing to 94. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 94, current: 3; changing to 95. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 95, current: 4; changing to 96. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 96, current: 5; changing to 97. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 97, current: 6; changing to 98. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 98, current: 7; changing to 99. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 99, current: 8; changing to 100. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 100, current: 9; changing to 101. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 101, current: 10; changing to 102. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 102, current: 11; changing to 103. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 103, current: 12; changing to 104. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 104, current: 13; changing to 105. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 105, current: 14; changing to 106. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 106, current: 15; changing to 107. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 107, current: 16; changing to 108. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 108, current: 17; changing to 109. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 109, current: 18; changing to 110. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 110, current: 19; changing to 111. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 111, current: 20; changing to 112. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 112, current: 21; changing to 113. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 113, current: 22; changing to 114. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 114, current: 23; changing to 115. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 115, current: 24; changing to 116. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 116, current: 25; changing to 117. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 117, current: 26; changing to 118. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 118, current: 27; changing to 119. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 119, current: 28; changing to 120. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 120, current: 29; changing to 121. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 121, current: 30; changing to 122. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 122, current: 31; changing to 123. This may result in incorrect timestamps in the output file.
Non-monotonous DTS in output stream 0:1; previous: 123, current: 32; changing to 124. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 124, current: 33; changing to 125. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 125, current: 34; changing to 126. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 126, current: 35; changing to 127. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 127, current: 36; changing to 128. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 128, current: 37; changing to 129. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 129, current: 38; changing to 130. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 130, current: 39; changing to 131. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 131, current: 40; changing to 132. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 132, current: 41; changing to 133. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 133, current: 42; changing to 134. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 134, current: 43; changing to 135. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 135, current: 44; changing to 136. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 136, current: 45; changing to 137. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 137, current: 46; changing to 138. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 138, current: 47; changing to 139. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 139, current: 48; changing to 140. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 140, current: 49; changing to 141. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 141, current: 50; changing to 142. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 142, current: 51; changing to 143. This may result in incorrect timestamps in the output file.
[mpeg2video @ 0x9343a0] 00 motion_type at 24 15
[mpeg2video @ 0x9343a0] Warning MVs not available
[mpeg2video @ 0x9343a0] concealing 90 DC, 90 AC, 90 MV errors in P frame
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 143, current: 52; changing to 144. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 144, current: 53; changing to 145. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 145, current: 54; changing to 146. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 146, current: 55; changing to 147. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 147, current: 56; changing to 148. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 148, current: 61; changing to 149. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 149, current: 62; changing to 150. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 150, current: 63; changing to 151. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 151, current: 64; changing to 152. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 152, current: 65; changing to 153. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 153, current: 66; changing to 154. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 154, current: 67; changing to 155. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 155, current: 68; changing to 156. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 156, current: 69; changing to 157. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 157, current: 70; changing to 158. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 158, current: 71; changing to 159. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 159, current: 72; changing to 160. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 160, current: 73; changing to 161. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 161, current: 74; changing to 162. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 162, current: 75; changing to 163. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 163, current: 76; changing to 164. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 164, current: 77; changing to 165. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 165, current: 78; changing to 166. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 166, current: 79; changing to 167. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 167, current: 80; changing to 168. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 168, current: 81; changing to 169. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 169, current: 82; changing to 170. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 170, current: 83; changing to 171. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 171, current: 84; changing to 172. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 172, current: 85; changing to 173. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 173, current: 86; changing to 174. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 174, current: 87; changing to 175. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 175, current: 88; changing to 176. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 176, current: 89; changing to 177. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 177, current: 90; changing to 178. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 178, current: 91; changing to 179. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 179, current: 92; changing to 180. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 180, current: 93; changing to 181. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 181, current: 94; changing to 182. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 182, current: 95; changing to 183. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 183, current: 96; changing to 184. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 184, current: 97; changing to 185. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 185, current: 98; changing to 186. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 186, current: 99; changing to 187. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 187, current: 100; changing to 188. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 188, current: 101; changing to 189. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 189, current: 102; changing to 190. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 190, current: 103; changing to 191. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 191, current: 104; changing to 192. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 192, current: 105; changing to 193. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 193, current: 106; changing to 194. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 194, current: 107; changing to 195. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 195, current: 108; changing to 196. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 196, current: 109; changing to 197. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 197, current: 110; changing to 198. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 198, current: 111; changing to 199. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 199, current: 112; changing to 200. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 200, current: 113; changing to 201. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 201, current: 114; changing to 202. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 202, current: 115; changing to 203. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 203, current: 116; changing to 204. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 204, current: 117; changing to 205. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 205, current: 118; changing to 206. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 206, current: 119; changing to 207. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 207, current: 120; changing to 208. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 208, current: 121; changing to 209. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 209, current: 122; changing to 210. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 210, current: 123; changing to 211. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 211, current: 124; changing to 212. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 212, current: 125; changing to 213. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 213, current: 126; changing to 214. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 214, current: 127; changing to 215. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 215, current: 128; changing to 216. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 216, current: 129; changing to 217. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 217, current: 130; changing to 218. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 218, current: 131; changing to 219. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 219, current: 132; changing to 220. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 220, current: 133; changing to 221. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 221, current: 134; changing to 222. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 222, current: 135; changing to 223. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 223, current: 136; changing to 224. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 224, current: 137; changing to 225. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 225, current: 138; changing to 226. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 226, current: 139; changing to 227. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 227, current: 140; changing to 228. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 228, current: 141; changing to 229. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 229, current: 142; changing to 230. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 230, current: 143; changing to 231. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 231, current: 144; changing to 232. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 232, current: 145; changing to 233. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 233, current: 146; changing to 234. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 234, current: 147; changing to 235. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 235, current: 148; changing to 236. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 236, current: 149; changing to 237. This may result in incorrect timestamps in the output file.
[libmp3lame @ 0x937240] Queue input is backward in time
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 237, current: 150; changing to 238. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 238, current: 151; changing to 239. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 239, current: 152; changing to 240. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 240, current: 153; changing to 241. This may result in incorrect timestamps in the output file.
[avi @ 0x9351c0] Non-monotonous DTS in output stream 0:1; previous: 241, current: 151; changing to 242. This may result in incorrect timestamps in the output file.
frame=   71 fps=0.0 q=4.0 Lsize=     491kB time=00:00:05.83 bitrate= 689.5kbits/s    
video:382kB audio:92kB subtitle:0 global headers:0kB muxing overhead 3.636487%
}}}

As you can see, everything is fine until the error in the audio stream. After that I get a flood of warning messages. I have tracked it down to the combination of options async>1 and first_pts=0 in audio filter aresample.

Not only the warning flood is unpleasant (it can easily hide other issues) but more importantly the audio if completely out of synchro after that point. In fact it is way worse than if I do not use -async.

I noticed that -af aresample=async24000 alone seems to work fine, at least in this case.

ffmpeg 1.0.6 translates -async 24000 to a different aresample parameter set, which explains why there is no such problem there."	khali
avfilter	2015	VF Scale option should include -2 to create square pixels	unspecified	enhancement	reopened	2012-12-12T04:39:11+01:00	2013-05-06T12:04:52+02:00	"Summary of the bug: FFMPEG has not way to create square pixels output video. using -1 for the scale automatically scales but does not create square pixel video.

So instead of having to create a square pixel video with width 720 by doing this:

-vf scale=720:trunc(720/dar/2)*2

It would be great if FFMPEG can provide an option (like mencoder) to do something like:

-vf scale=720:-2"	ramitbhalla
avfilter	2067	Support subtitles in libavfilter so seek is honored for subtitles filters (like hardsubbing)	unspecified	enhancement	open	2012-12-26T19:41:30+01:00	2013-03-27T00:27:48+01:00	"Summary of the bug:
When I try to burn subtitles in the video, everything is fine, except when I try seeking. The subtitles are added again from the first second, not from 30 minute. I think that when I seek the movie, the subtitles must be seeked too.

How to reproduce:
{{{
C:\ffmpeg>ffmpeg -ss 00:30:00 -i f.avi -vf subtitles=f.srt -c:a vorbis -strict -2 -c:v libx264 -preset ultrafast fout.mp4
}}}
"	nikov
avfilter	1717	Concat filter can not join individual images	git-master	defect	open	2012-09-04T08:25:31+02:00	2012-09-04T09:10:01+02:00	"using latest ffmepg build from http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20120903-git-5d55830-win32-static.7z

execute following command 
ffmpeg -i a1.jpg -i a2.jpg -i a3.jpg -filter_complex ""[0:0] [1:0] [2:0] concat=n=3:v=1:a=0"" join.mp4 

to join three jpeg files to one video, But the generated mp4 file only contain two frames.

ffmpeg -i join.mp4 test%d.jpg

only output test1.jpg and test2.jpg

best regards"	chinshou
avfilter	602	feature request: movie sink for ffplay	unspecified	enhancement	open	2011-10-31T14:39:00+01:00	2011-11-20T21:54:43+01:00	"The scenarios that would this attempt to handle better:

1) someone is recording from their webcam, wants to see the output as it is (simultaneously) recorded.
2) same thing, but they want to stream it, while it is being recorded, or the like.

Basically this is a feature request to make ffplay/ffserver into ""movie sink's"" which I think would handle this.

I'm mostly basing this from VLC, which can split and stream or convert or display (and since ffmpeg can split now, it might be nice to do the other things too):

VLC: duplicate{dst=display} http://www.videolan.org/doc/streaming-howto/en/ch04.html

Making ffserver programmable via command-line (as VLC's is) would be convenient, at times, too.
Cheers!
-roger-

ref: http://ffmpeg.org/pipermail/ffmpeg-user/2011-October/002904.html"	rogerdpack
avfilter	944	support PSNR comparison of two inputs	git-master	enhancement	open	2012-01-27T15:56:25+01:00	2012-01-27T20:54:08+01:00	A draft vf_psnr patch was sent in this thread: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/132616/ .  I found this patch very helpful though it looks like the format of the output was never settled and the patch was not applied.	dericed
avfilter	1305	Embedded ASS subtitle support	git-master	enhancement	open	2012-05-14T02:01:08+02:00	2012-10-27T23:41:06+02:00	"It would be great to see support for embedded ASS subtitles.
Currently ASS subtitles are only supported if there is an external .ass file, but almost always it is a stream inside an MKV container (so there are 3 streams: video, audio and ASS subtitle)

It is possible currently to extract the subtitle stream from the original container, then load it in a second step, but it would be cool to be able to do it in one step instead.

For example in MEncoder you use:
mencoder input.mkv -ass -o output.mkv
And it will burn the ASS/SSA subtitles contained within input.mkv onto the video stream of output.mkv"	SubJunk
avfilter	1339	Auto insert fps filter as adapter for overlay filter inputs with different framerates	git-master	enhancement	new	2012-05-21T18:15:54+02:00	2012-08-09T18:05:47+02:00	"Now that the fps filter has been added (you're my heroes for adding it), it would be great if an fps filter would be auto-inserted before the overlay filter, where framerate conversion is required if the framerates of the two input vary (the way a scale filter is often auto-inserted wherever it's required).

To do this, whenever an overlay filter is used in a filter chain, the framerate of each of its inputs should be detected (using the same function used by ffprobe to populate the avg_frame_rate property), then insert an fps filter to upsample the input with the lower framerate to match the framerate of the other one.

Currently I do this manually: run ffprobe on each video file before performing an overlay, then insert an fps filter between the lower-fps file and the overlay filter. This means 3 procedure calls. It would be great if it could all be done in 1."	annorax
avfilter	1430	More efficient deshake filter	unspecified	enhancement	open	2012-06-08T01:53:04+02:00	2013-04-19T11:25:47+02:00	"An interesting de-shake filter article: http://googleresearch.blogspot.in/2012/05/video-stabilization-on-youtube.html

Our deshake filter isn't very efficient with the provided sample (at least with the default settings)

{{{
clive -f best 'http://www.youtube.com/watch?v=627MqC6E5Yo'
}}}

{{{
ffplay 'Sam and Cocoa shaky original.webm' \
    -vf 'split[a][b]; [a]pad=iw*2:ih[src]; [b]deshake[filt]; [src][filt]overlay=w'
}}}

It would be nice to improve the filter to handle such sample."	ubitux
avfilter	1615	video diff filter	git-master	enhancement	open	2012-08-07T01:38:41+02:00	2013-02-22T21:19:01+01:00	"It would be useful to have a visual diff tool for videos that will create a resultant differential video of two videos.  This could be used in a number of scenarios from simply seeing more easily the differences of one encode to the next to many other applications.

With some overlay+pad magic you should be able to compare img1,img2 and diff on the same image.  Similarly should function with vid frames.

It would be useful to have a few different styles of diffing from an outline to color inversion and clipping similar to what is demonstrated here: http://jeffkreeftmeijer.com/2011/comparing-images-and-creating-image-diffs/"	ylluminate
avfilter	1822	Add color option to fade filter	git-master	enhancement	open	2012-10-16T23:05:00+02:00	2012-12-06T12:00:31+01:00	"The would allow the fade color to be something other than the default of black. I am guessing it is currently possible in conjunction with the color filter, but I am unsure how. Example command:

# fade in first 30 frames of video with a color of red
fade=in:0:30:red

Example docs:

color
  Specify the color of the fade, it can be the name of a color (case insensitive match) or a 0xRRGGBB[AA] sequence.

  The default value of color is ""black""."	llogan
avfilter	2097	Let Gradfun output an undithered image of higher bit depth.	git-master	enhancement	open	2013-01-02T09:39:55+01:00	2013-02-27T17:41:32+01:00	"For my understanding the gradfun filter takes an 8 bit per channel image, converts it to a higher bit depth and then smoothes gradiation steps with little color delta to achieve an image of virtually higher bit depth. Then the data is converted to 8 bit again and dithered. 

As, beneath viewing movies, an other very useful application of gradfun is to convert 8 bit material from cameras (which produce banding) to higher depth intermediate codecs (like DNxHD 185x which uses 10 bit) for video editing tasks, it would be helpful if the filter could also skip the dithering and output an image with higher depth directly for such purposes."	sun
avfilter	2104	anti-epilepsy bright flash remover video filter	git-master	enhancement	open	2013-01-03T05:25:25+01:00	2013-01-22T11:09:32+01:00	"any chance a filter to remove bright flashes from video?

it may drop the frame or duplicate a previous non-bright frame, making video stutter a bit.

i'll upload a sample soon."	compn
avfilter	2112	support for NL Filter	git-master	enhancement	open	2013-01-05T05:56:43+01:00	2013-01-05T08:32:37+01:00	"I strongly request support for NL Filter of gimp.
http://docs.gimp.org/2.6/en/plug-in-nlfilt.html

The filter is much more excellent than unsharp filter.
Even bad sources become clear.
In paticular, the ability of NL Filter is exercised when expanding image size."	bonconboy
avfilter	2178	audio denoise filter	git-master	enhancement	new	2013-01-24T02:34:35+01:00	2013-01-24T03:24:08+01:00	"Summary of the bug:
How to reproduce:
{{{
% ffplay -f oss -i /dev/dsp
ffmpeg version git-2012-12-14-5c78a81
built on ubuntu
}}}
"	valley_rain
avfilter	2279	Frame number editing support	git-master	enhancement	new	2013-02-18T16:28:40+01:00	2013-02-18T16:28:40+01:00	"Referring to this ticket:
https://ffmpeg.org/trac/ffmpeg/ticket/1949

Could the frame number be shifted by an integer value (1 in my specific case) and be displayed in human readable format (not as a double value)?"	igorg
avfilter	2351	Make the unsharp filter Adaptive	git-master	enhancement	open	2013-03-13T10:45:06+01:00	2013-03-13T11:06:39+01:00	The unsharp filter gives much better results for sharpening videos than the smartblur and it would be useful if it had the same adaptiveness options like smartblur so that you can only filter the edges without amplifying noise.	sun
avfilter	2443	Support rx values for deshake that are not multiples of 16	git-master	enhancement	open	2013-04-07T06:55:56+02:00	2013-05-18T18:48:40+02:00	"When you change the values of 'rx' or 'ry' in the deshake filter, ffmpeg/ffplay will segfault

{{{
$ ffplay -i Sam.flv -vf deshake=""rx=20""

ffplay version git-2013-03-11-73b40e2 Copyright (c) 2003-2013 the FFmpeg developers
  built on Mar 31 2013 15:19:05 with gcc 4.7 (Ubuntu/Linaro 4.7.2-2ubuntu1)
  configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3 --enable-libfreetype
  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
Input #0, flv, from 'Sam.flv':=    0KB vq=    0KB sq=    0B f=0/0   
  Metadata:
    starttime       : 0
    totalduration   : 21
    totaldatarate   : 1244
    bytelength      : 3322214
    canseekontime   : true
    sourcedata      : BC9111F49HH1365228066618561
    purl            : 
    pmsg            : 
  Duration: 00:00:20.80, start: 0.000000, bitrate: 1277 kb/s
    Stream #0:0: Video: h264 (Main), yuv420p, 720x480, 1163 kb/s, 30 tbr, 1k tbn, 60 tbc
    Stream #0:1: Audio: aac, 44100 Hz, stereo, fltp, 132 kb/s
Segmentation fault (core dumped)
}}}

Using ffplay_g, sometimes it will print some unrelated messages (probably invalid accesses made by the filter on other parts of the program), but most of the time it is just segfault. Some of the messages:

{{{
X Error of failed request:  BadGC (invalid GC parameter)
  Major opcode of failed request:  60 (X_FreeGC)
  Resource id in failed request:  0x6000000
  Serial number of failed request:  82
  Current serial number in output stream:  82
}}}

{{{
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
ffplay_g: ../../src/xcb_io.c:273: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)
}}}

{{{
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ""�
�""
      after 82 requests (82 known processed) with 0 events remaining.
}}}


----

Using the default value 16 (or 32 or 48) for ""rx"" or ""ry"", the filter seems to work fine. With any other value, it will segfault, but sometimes will produce 1 or 2 frames.

With value 64, it will segfault faster -- without producing any frames. Looking at the source, there's an off-by-one writing in some 128x128 array (diff attached). I didn't dig very far for the the other segfault problem (possibly something in the ""find_motion"" function).

Also attatched the valgrind output."	jbvsmo
avfilter	2475	support yuv422p10le in lut filter	git-master	enhancement	open	2013-04-17T06:13:26+02:00	2013-04-17T08:46:19+02:00	"Summary of the bug:

I would like to use the lut filter with 10 bit video (encoded as v210), but it only supports 8 bit yuv pixel formats. In the example below the input is 10 bit, the filter's output is 8 bit, and then the output has zero-filled least significant bits (9 and 10). Could the lut filter support >8 bit formats? Thanks.

How to reproduce:
{{{
ffmpeg -i 10-bit_test.mov -vf lutyuv=u=128:v=128 -c:v v210 -c:a copy -y 10-bit-gray.mov
ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 13 2013 10:04:18 with Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --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 --enable-libfreetype --enable-ffplay --enable-libcaca
  libavutil      52. 26.100 / 52. 26.100
  libavcodec     55.  2.100 / 55.  2.100
  libavformat    55.  2.100 / 55.  2.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 53.101 /  3. 53.101
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '10-bit_test.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2009-08-22 23:16:59
  Duration: 00:00:10.20, start: 0.000000, bitrate: 225452 kb/s
    Stream #0:0(eng): Video: v210 (v210 / 0x30313276), yuv422p10le, 720x486, 223724 kb/s, SAR 10:11 DAR 400:297, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc
    Metadata:
      creation_time   : 2009-08-22 23:16:59
      handler_name    : Apple Alias Data Handler
      timecode        : 01:45:54:18
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      creation_time   : 2009-08-22 23:16:59
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2009-08-22 23:16:59
      handler_name    : Apple Alias Data Handler
      timecode        : 01:45:54:18
Output #0, mov, to '10-bit-gray.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    encoder         : Lavf55.2.100
    Stream #0:0(eng): Video: v210 (v210 / 0x30313276), yuv422p10le, 720x486 [SAR 10:11 DAR 400:297], q=2-31, 200 kb/s, 11988 tbn, 29.97 tbc
    Metadata:
      creation_time   : 2009-08-22 23:16:59
      handler_name    : Apple Alias Data Handler
      timecode        : 01:45:54:18
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, stereo, 1536 kb/s
    Metadata:
      creation_time   : 2009-08-22 23:16:59
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (v210 -> v210)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  306 fps= 43 q=0.0 Lsize=  280763kB time=00:00:10.21 bitrate=225265.5kbits/s    
video:278842kB audio:1913kB subtitle:0 global headers:0kB muxing overhead 0.002646%
}}}
"	dericed
avfilter	2558	Locating interesting parts of an image	unspecified	enhancement	new	2013-05-11T12:55:23+02:00	2013-05-11T12:55:23+02:00	"A potential filter idea:
http://www.iptech-group.com/blog/locating-interesting-parts-of-an-image

Could be an easy filter to get introduced to lavfi."	ubitux
avfilter	2631	fade filter offset from the end of stream	git-master	enhancement	open	2013-06-03T10:39:13+02:00	2013-06-03T12:36:58+02:00	"The [http://www.ffmpeg.org/ffmpeg-filters.html#Examples-7 fade filter example] shows how to fade out last 45 frames of a video:
{{{
Fade out last 45 frames of a 200-frame video:
fade=out:155:45
}}}
where 155 is a starting frame and 55 is the number of frames that the filter should be applied to.

It might be more convenient if users could specify just the number of frames to fade out, together with some kind of a constant (or -1) for the starting frame, to avoid the need to know the exact frame number before setting the filter's parameters, like this:
{{{
Fade out last 45 frames of an unknown-frame-count video:
fade=out:-1:45
}}}
It would make filter to be applied to the last 45 frames of the video."	burek
avfilter	2641	Support trailing ; in filter_complex expression	1.2.1	enhancement	open	2013-06-05T01:57:39+02:00	2013-06-14T21:24:38+02:00	"Summary of the bug:

It'd be nice if the complex filter parser didn't bomb out with a cryptic error message when a user terminates their filter chains with a trailing ;.

How to reproduce:
{{{
% ffmpeg -i ""$1"" -i ""$2"" -i ""$3"" -i ""$4"" -filter_complex ""
    [0:0] pad='max(240\,iw):max(180\,ih):0:0', scale='240:180', pad='480:180:0:0' [left_video];
    [1:0] pad='max(240\,iw):max(180\,ih):0:0', scale='240:180', pad='480:180:240:0' [right_video];
    [left_video] [right_video] overlay;
    
    ...
        
    [0:1] [1:1] amerge;
    "" -acodec libfaac -ac 2 -vcodec libx264 -r 15 ""$5""

...

[AVFilterGraph @ 0x7fb1cac2c1a0] No such filter: ''
}}}
"	jdolan
avformat	2194	ffplay: iff ilbm output changes after seeking with the mouse	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
avformat	2441	Program detection in transport stream broken, part 2	git-master	defect	new	2013-04-06T19:02:20+02:00	2013-05-29T02:26:22+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
avformat	2508	Heavy stutter with matroska	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
avformat	2579	"Data stream from UAV video reported as ""Unknown"" type"	git-master	defect	open	2013-05-16T21:47:26+02:00	2013-06-04T23:15:08+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
avformat	2583	libmodplug: probe function needed	git-master	defect	new	2013-05-17T16:36:27+02:00	2013-06-18T17:25:59+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
avformat	2588	Crash during playback of real audio over rtsp	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
avformat	2590	Inaccurate seek in mp3	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
avformat	2632	DVB Subtitles in ts file are not recognized.	git-master	defect	open	2013-06-03T17:02:11+02:00	2013-06-04T15:11:21+02:00	"Hello,

I have a ts file where the subtitles are not recognized. FFmpeg detects the correct number of streams but flags the subtitle streams as unknown.

5 MB sample provided (extracted from 2GB sample file)

{{{
% ffmpeg -i /L/dvbs_fail_sample_2.ts 2G -analyzeduration 2G /L/output.ts
ffmpeg version N-53782-g2976e2a Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun  3 2013 03:43:43 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
  libavutil      52. 34.100 / 52. 34.100
  libavcodec     55. 14.100 / 55. 14.100
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 74.101 /  3. 74.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[mpegts @ 026dcd20] PES packet size mismatch
[mpegts @ 026dcd20] probed stream 2 failed
[mpegts @ 026dcd20] probed stream 3 failed
[mpegts @ 026dcd20] probed stream 4 failed
[mpegts @ 026dcd20] probed stream 5 failed
[mpegts @ 026dcd20] probed stream 6 failed
[mpegts @ 026dcd20] probed stream 7 failed
[mpegts @ 026dcd20] Could not find codec parameters for stream 2 (Unknown: none)
: unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 026dcd20] Could not find codec parameters for stream 3 (Unknown: none)
: unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 026dcd20] Could not find codec parameters for stream 4 (Unknown: none)
: unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 026dcd20] Could not find codec parameters for stream 5 (Unknown: none)
: unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 026dcd20] Could not find codec parameters for stream 6 (Unknown: none)
: unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 026dcd20] Could not find codec parameters for stream 7 (Unknown: none)
: unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 026dcd20] PES packet size mismatch
Input #0, mpegts, from 'l:/StreamIt/sub/dvbs_fail_sample_2.ts':
  Duration: 00:00:02.02, start: 8380.125011, bitrate: 20061 kb/s
  Program 1
    Metadata:
      service_name    : MET0P 16/02/13 ENC1 INTL
      service_provider: All Mobile Video
  No Program
    Stream #0:0[0x100]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:1[0x134]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DA
R 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:2[0x400]: Unknown: none
    Stream #0:3[0x404]: Unknown: none
    Stream #0:4[0x402]: Unknown: none
    Stream #0:5[0x401]: Unknown: none
    Stream #0:6[0x403]: Unknown: none
    Stream #0:7[0x405]: Unknown: none
File 'l:/toto.ts' already exists. Overwrite ? [y/N]
}}}"	tomdouce
avformat	5	jp2k muxed into mov by FFmpeg can't be played by QuickTime	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
avformat	110	MP4 Muxer gives incorrect frame duration with AAC	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
avformat	244	rm muxer fails with frames larger than 64k byte	git-master	defect	open	2011-05-26T00:15:45+02:00	2013-05-30T22:10:43+02:00	"pbm file: https://ffmpeg.org/trac/ffmpeg/ticket/193


When I convert ""bikerace.pbm"" file to rv10

ffmpeg -i C:\bikerace.pbm -vcodec rv10 out.rm

everything works ok, but when I try to decode it I get error:

{{{
C:\>ffmpeg -i out.rm out.avi
ffmpeg version git-N-30155-g01a73d6, Copyright (c) 2000-2011 the FFmpeg develope
rs
  built on May 23 2011 03:43:18 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 --pkg-config=pkg-confi
g
  libavutil    51.  2. 1 / 51.  2. 1
  libavcodec   53.  6. 0 / 53.  6. 0
  libavformat  53.  2. 0 / 53.  2. 0
  libavdevice  53.  0. 0 / 53.  0. 0
  libavfilter   2. 10. 0 /  2. 10. 0
  libswscale    0. 14. 0 /  0. 14. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, rm, from 'out.rm':
  Metadata:
    title           :
    author          :
    copyright       :
    comment         :
  Duration: 00:00:00.04, start: 0.000000, bitrate: 33538 kb/s
    Stream #0.0: Video: rv10, yuv420p, 550x423, 200 kb/s, 25 tbr, 1k tbn, 25 tbc

[buffer @ 01DE1620] w:550 h:423 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, avi, to 'out.avi':
  Metadata:
    INAM            :
    author          :
    ICOP            :
    ICMT            :
    ISFT            : Lavf53.2.0
    Stream #0.0: Video: mpeg4, yuv420p, 550x423, q=2-31, 200 kb/s, 25 tbn, 25 tb
c
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop, [?] for help
[rv10 @ 02360780] illegal ac vlc code at 15x7
[rv10 @ 02360780] ERROR at MB 15 7
frame=    0 fps=  0 q=0.0 Lsize=       6kB time=10000000000.00 bitrate=   0.0kbi
ts/s
video:0kB audio:0kB global headers:0kB muxing overhead 1.#INF00%
}}}


I think this is a bug in RV10 / RV20 encoder that it doesn't check which picture sizes are valid for this
codec, so probably a check like for H263 codec should be added to these codecs as well (I don't know
which picture sizes are valid for RV10 and RV10, but for example 320x240 resolution seems to work correctly, but for example is not allowed for h263).

libavcodec/mpegvideo_env.c:
{{{
    case CODEC_ID_H263:
        if (!CONFIG_H263_ENCODER)  return -1;
        if (ff_match_2uint16(h263_format, FF_ARRAY_ELEMS(h263_format), s->width, s->height) == 8) {
            av_log(avctx, AV_LOG_ERROR, ""The specified picture size of %dx%d is not valid for the H.263 codec.\nValid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+.\n"", s->width, s->height);
            return -1;
        }
        s->out_format = FMT_H263;
        s->obmc= (avctx->flags & CODEC_FLAG_OBMC) ? 1:0;
        avctx->delay=0;
        s->low_delay=1;
        break;

[...]

    case CODEC_ID_RV10:
        s->out_format = FMT_H263;
        avctx->delay=0;
        s->low_delay=1;
        break;
    case CODEC_ID_RV20:
        s->out_format = FMT_H263;
        avctx->delay=0;
        s->low_delay=1;
        s->modified_quant=1;
        s->h263_aic=1;
        s->h263_plus=1;
        s->loop_filter=1;
        s->unrestricted_mv= 0;
        break;
}}}"	ami_stuff
avformat	419	rtsp:// doesn't support any port number other than 80	unspecified	defect	new	2011-08-26T03:15:35+02:00	2013-06-02T22:29:13+02:00	"rtsp:// doesn't support any port number other than 80
for tcp and udp (http works fine). e.g.

rtsp://xxx.xxx.xxx.xxx:8080/axis-media/media.amp?tcp
will return
[rtsp @ 0057B0E0] CSeq 1 expected, 0 received.
[rtsp @ 0057B0E0] method OPTIONS failed: 501 Not Implemented
[rtsp @ 0057B0E0] Date: Wed, 03 Aug 2011 19:18:56 GMT
Accept-Ranges: bytes
Connection: close
Content-Type: text/html; charset=ISO-8859-1

rtsp://xxx.xxx.xxx.xxx:8080/axis-media/media.amp?tcp : Invalid data found when processing input

Using
rtsp://xxx.xxx.xxx.xxx:8080/axis-media/media.amp?http

works great.

"	uscgraphics
avformat	479	AVStream.start_time incorrect by 2 frames for Sony XDCAM-EX files	unspecified	defect	reopened	2011-09-16T12:15:49+02:00	2011-09-24T03:18:27+02:00	"All samples of Sony XDCAM-EX files start with two B-frames (presentation order) and then an I-frame. The two B-frames decode fine. The pictures look good in all cases. However, AVStream.start_time for these streams is always returned as the PTS of the first I-frame. Since the field is documented as the PTS of the first frame I thought this behavior is an error since I assume that ""first"" is meant as in presentation order as I thought the start_time field was used for things like seek offset calculations but I might be wrong here. Otherwise it would be good to make the documentation more specific here.

I uploaded a sample (66MB) to 

http://www.datafilehost.com/download-abdaeffe.html

"	rmk
avformat	750	ffmpeg looses OGG-theora metadata tags (like title author etc) on OGG->OGG	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
avformat	819	ffmpeg fails to read an image if the image filename contains an accent (win32)	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
avformat	912	mpegts muxer does not follow TS buffering requirements specified in iso13818-1 section 2.4.2.3	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
avformat	948	No audio in output when the audio starts late in VOB file	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
avformat	1034	Can't mux pcm_s16be into mpeg ps (dvd) format	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
avformat	1102	mxf separate fields in interlaced j2k	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
avformat	1185	broken playback of rtsp streams - under windows at least	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
avformat	1291	The  custom user-agent option is ignored after the initial connection when using HTTP Live Streaming (HLS)	git-master	defect	reopened	2012-05-09T21:51:56+02:00	2013-06-17T09:47:31+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
avformat	1398	remuxed DTS audio won't play on hardware devices	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
avformat	1438	Seeking in vob file with timestamp discontinuities fails	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
avformat	1475	Memory leak in ff_read_packet when decoding udp mpegts multicast stream	unspecified	defect	new	2012-06-21T18:03:46+02:00	2012-10-17T10:29:45+02:00	"Summary of the bug:

I am receiving 4 udp multicast streams on different ports, which each contain 4 programs.
I transcode one program out of each of those using one ffmpeg instance. 
Everything works fine until at some random point in time, the memory usage of ffmpeg starts to grow constantly.

It seams as if at this point in time, the mpegts demuxer reports a bogus new stream and sets its request_probe property to 1.

Now since this stream is bogus there won't be any subsequent packets for this stream.

The problem is, that this packet will be put to the raw_packet_buffer in ff_read_packet.

Now the loop in ff_read_packet has no chance of ever terminating because each new packet will be put on the packet buffer but the first packet will never be popped since probing will never be done because no new packet for the stream to be probed will arrive.

Thus I suggest the following patch
{{{
#!c
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 284cb9f..f998b0e 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -720,10 +720,12 @@ int ff_read_packet(AVFormatContext *s, AVPacket *pkt)
         if (pktl) {
             *pkt = pktl->pkt;
             st = s->streams[pkt->stream_index];
-            if(st->request_probe <= 0){
+            if(st->request_probe <= 0 || s->raw_packet_buffer_remaining_size <= 0){
                 s->raw_packet_buffer = pktl->next;
                 s->raw_packet_buffer_remaining_size += pkt->size;
                 av_free(pktl);
+                if(s->raw_packet_buffer_remaining_size <= 0)
+                    av_log(s, AV_LOG_WARNING, ""probing stream %d failed"", st->index);
                 return 0;
             }
         }
}}}

How to reproduce:
The reproduction is a bit tricky since I only encountered this problem with multicast udp mpegts streams

I have attached a complete log file.
The memory growth starts after the entry in line 28650.

When running ffmpeg in gdb and interrupting after the memory growth has started, extremely large negative values for s->raw_buffer_remaining_size can be observed.

Since this is my first bug report here, I want to apologize for any formal mistakes."	thutschen
avformat	1487	ffmpeg's mpeg mux bug(s) never fixed...	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
avformat	1551	mov file is played by vlc, cannot be read by FFmpeg	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
avformat	1558	Unable to decode a (possibly damaged) matroska file	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
avformat	1559	cannot seek in .m4a file	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
avformat	1579	fix remuxing of imaadpcm in wav	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
avformat	1603	fix remuxing of ima_adpcm_qt in mov	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
avformat	1607	av_seek_frame() without AVSEEK_FLAG_ANY on mpg files returns success without seeking to a keyframe	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
avformat	1625	avformat_find_stream_info waits for non-existing video track in mms stream	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
avformat	1659	g723_1: wrong current duration after seeking	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
avformat	1673	MPEG2-TS minimum PID value for data packet	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
avformat	1683	atrac3: fix remuxing of atrac3 in avi	unspecified	defect	new	2012-08-25T23:10:49+02:00	2013-02-13T12:40:53+01:00	"for some reason binary codec doesn't like atrac3 remuxed by ffmpeg

(with my patch ""strf"" tag is now identical to what is in the input file, but bin codec
still doesn't like the remuxed file and crashes, so maybe something should be changed
in ""auds"" tag or somewhere else to make the output file compatible with bin codec)

{{{
C:\>ffmpeg -i 66k.avi  -acodec copy -vcodec copy out.avi
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
[mpeg4 @ 0x1ead740] Invalid and inefficient vfw-avi packed B frames detected
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avi, from '66k.avi':
  Duration: 00:00:00.50, start: 0.000000, bitrate: 348 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv
420p, 160x120 [SAR 1:1 DAR 4:3], 2 tbr, 2 tbn, 2 tbc
    Stream #0:1: Audio: atrac3 (p[2][0][0] / 0x0270), 44100 Hz, stereo, s16, 66
kb/s
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.25.104
    Stream #0:0: Video: mpeg4 (XVID / 0x44495658), yuv420p, 160x120 [SAR 1:1 DAR
 4:3], q=2-31, 2 tbn, 2 tbc
    Stream #0:1: Audio: atrac3 (p[2][0][0] / 0x0270), 44100 Hz, stereo, 66 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=-1.0 Lsize=      22kB time=00:00:00.50 bitrate= 359.3kbits
/s
video:4kB audio:7kB subtitle:0 global headers:0kB muxing overhead 95.916587%
}}}"	ami_stuff
avformat	1684	adpcm_ct: volume goes up while seeking with ffplay	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
avformat	1699	iff: fix aspect ratio	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
avformat	1706	(win64) avformat/FFMPEG crashed after connection loss to stream server	unspecified	defect	new	2012-08-31T13:29:41+02:00	2012-08-31T14:40:14+02:00	"'''Summary of the bug:''' When I stream using ffmpeg libraries or ffmpeg.exe itself and my connection is lost I get crash.

I tried it in Linux as well and it ""crashed"" with unhandled SIGPIPE.

'''How to reproduce:'''
- everything running on windows 7 Professional 64 bit with SP1
- for the test I used Adobe flash server, dacast, wowza, ustream, livestream, showcaster
- start streaming with ffmpeg (or use software which utilize the ffmpeg's set of libraries). 
- unplugg the ethernet cable (e.g. simulate connection drop).
- in few moments I have crash (no special info is given except : unhandled exception at <address> (avformat-54.dll) : Access violation writting location ...)

'''callstack has only 1 entry (rest is just some addresses) :
avformat-54.dll!avformat_get_riff_audio_tags()'''

''what I think it's going on is, that part of the ffmpeg is trying to send data (RTMP Send) but it does not handled WSAECONNABORTED WinSock Error properly (10053), so it keeps writing to something that is not a valid socket anymore.''

'''Versions:'''
''windows 7 : ''

Windows Nightly Builds/64 bit windows build taken from [http://libav.org/download.html]

build flags :

--enable-runtime-cpudetect --enable-cross-compile --enable-w32threads
--prefix=/usr --cross-prefix=x86_64-w64-mingw32- --arch=x86_64
--target-os=mingw32 --sysroot=/usr/x86_64-w64-mingw32 --enable-gpl
--enable-librtmp --enable-libx264 --enable-libmp3lame --enable-libvorbis
--enable-memalign-hack --enable-shared --enable-libvpx --enable-libvo-aacenc
--enable-version3

''Linux Debian testing 64bit :''

ffmpeg version 0.11.1                                                                                                                                              
built on Jul 31 2012 16:16:27 with gcc 4.7.1                                                                                                                       
configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --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-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libdc1394 --disable-altivec --disable-armv5te --disable-armv6 --disable-vis --shlibdir=/usr/lib/x86_64-linux-gnu                                                                       
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"	fekete
avformat	1708	mss2: error while decoding stream	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
avformat	1719	MPEG-TS demuxer : don't parse a PAT (and clear programs) if its version number is the same as the previous one	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
avformat	1720	"ffmpeg with -vcodec copy -acodec copy creates files ""without audio"" for certain players"	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
avformat	1731	libavformat muxers destroy initial timestamp offsets	unspecified	defect	new	2012-09-13T14:01:19+02:00	2012-09-13T14:08:15+02:00	"Many muxers in libavformat (tested: avi, flv) destory the initial offset.
This is meant as a feature, but has the effect that remuxing a file will destroy the original timestamp information. This is especially annoying in case streams from different sources need to be synched.

How to reproduce:
{{{
ffmpeg -f lavfi -i ""aevalsrc=sin(2*PI*400*t)::d=5,asetpts=PTS+10/TB"" -y out.flv
}}}

then check the packet timestamps with ffprobe -show_packets out.flv.

A possible workaround:
{{{
ffmpeg -f lavfi -i ""aevalsrc=sin(2*PI*400*t)::d=5,asetpts=PTS+10/TB,aresample=min_comp=0.001:min_hard_comp=0.0010"" -y out.flv
}}}

(with video the problem can't be easily worked around).

The behavior with respect to the initial offset could be made configurable through some options.
"	saste
avformat	1759	Bad video DTS value	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
avformat	1798	Real-world transport stream with incorrect PMT plays fine with WMP	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
avformat	1806	Audio/video stream order reversed in remuxed VOB files	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
avformat	1810	ffprobe: some .m4a files' metatags are not read by ffprobe	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
avformat	1841	raac: fail to seek	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
avformat	1845	Encoded movies with mov_text subtitles do not play with QT Player	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
avformat	1891	Problem transcoding realmedia file	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
avformat	1962	gsm in aiff: fix duration	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
avformat	1965	mmf: support correctly formats ma-3/5/7	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
avformat	1993	Badly interleaved partial AVI file causes audio/video desync	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
avformat	1994	mov enc: fix gray8 in mov	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
avformat	2002	mms streaming always requests all streams	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
avformat	2023	mkvalidator does not like how FFmpeg muxes pgssubtitles	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
avformat	2042	av_find_best_stream fails to find best stream for included file	unspecified	defect	new	2012-12-19T00:51:12+01:00	2012-12-19T02:23:57+01:00	"http://sms.pangolin.com/temp/av_find_best_stream_fails.ts

The above file has 9 streams and 4 programs.

All the video streams have AVCodecContext.bit_rate set to zero.

So if you use av_find_best_stream to find the video stream it returns 0 which is the worst stream. The 0 stream has a related audio stream which has a sample_rate of 0.

For this file, if you first find the best audio stream and then find the related video file it works as expected finding a descent audio and video stream.

Typically I don't use av_find_best_stream but I noticed that it had changed so ran some test on it.

Probably when a file has programs, av_find_best_stream needs to look thru the programs and analyze the streams for both audio and video independent of the type passed to av_find_best_stream to find the actual best stream.

Appears to be a cut file but represents a case that can probably happen.

ffplay av_find_best_stream_fails.ts
ffplay version N-47062-g26c531c Copyright (c) 2003-2012 the FFmpeg developers
  built on Nov 25 2012 12:23:20 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 
	--enable-libxavs --enable-libxvid --enable-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
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
[mpeg2video @ 011b5240] mpeg_decode_postinit() failure
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
    Last message repeated 1 times
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
[mpeg2video @ 011b5240] mpeg_decode_postinit() failure
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
    Last message repeated 2 times
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
    Last message repeated 1 times
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
    Last message repeated 2 times
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
    Last message repeated 2 times
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
    Last message repeated 1 times
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
    Last message repeated 1 times
[mpeg2video @ 011f38c0] mpeg_decode_postinit() failure
[mpeg2video @ 01184b20] mpeg_decode_postinit() failure
[mpegts @ 011608e0] Stream #1: not enough frames to estimate rate; consider incr
easing probesize
[mpegts @ 011608e0] Stream #8: not enough frames to estimate rate; consider incr
easing probesize
[mpegts @ 011608e0] Could not find codec parameters for stream 1 (Audio: ac3 (AC
-3 / 0x332D4341), 0 channels, s16): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 011608e0] Could not find codec parameters for stream 8 (Audio: ac3 (AC
-3 / 0x332D4341), 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0118aae0] start time is not set in estimate_timings_from_pts
[NULL @ 0120f8a0] start time is not set in estimate_timings_from_pts
[mpegts @ 011608e0] PES packet size mismatch
    Last message repeated 2 times
Input #0, mpegts, from 'd:\flashfiles\movies\av_find_best_stream_fails.ts':
  Duration: 00:00:09.11, start: 63323.810800, bitrate: 18418 kb/s
  Program 2
    Stream #0:5[0x21]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p
, 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:6[0x24](   ): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s1
6, 192 kb/s
    Stream #0:7[0x25](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, s1
6, 192 kb/s
  Program 3
    Stream #0:4[0x31]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p
, 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:8[0x34](   ): Audio: ac3 (AC-3 / 0x332D4341), 0 channels
  Program 4
    Stream #0:0[0x41]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p
, 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x164](eng): Audio: ac3 (AC-3 / 0x332D4341), 0 channels, s16
  Program 6
    Stream #0:3[0x61]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p
, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:2[0x64](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side),
 s16, 384 kb/s
Invalid sample rate or channel count!
Frame changed from size:0x0 to size:704x480   8KB sq=    0B f=0/0
75431.85 A-V:  0.000 fd=   0 aq=    0KB vq=   11KB sq=    0B f=0/0

Invalid sample rate or channel count is displayed since it chose a video stream that had a related audio stream with sample_rate of zero.

VLC selected the wrong stream as well. WMP and Media Player Classic selected better streams. "	DonMoir
avformat	2044	timecode copying error with variable frame rate QuickTime files	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
avformat	2077	Realmedia rv40 file cannot be demuxed	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
avformat	2078	FFMPEG created WTV files cannot be fast forwarded or fast rewound in Windows Media Center	unspecified	defect	open	2012-12-29T17:43:58+01:00	2013-05-31T15:28:22+02:00	"Summary of the bug: Any WTV file created by FFMPEG, they can be seeked directly in MCE but when one tries toe fast forward or rewind (using the FF and RW buttons on the remote or the console) it does not go beyond at best 1 FF or 1 RW.
i.e. WTV files recorded by MCE one can press the FF button upto 4 times to get 4x fast forward. Files created by FFMPEG sometimes get 1x FF and never go beyond 1x FF, it just returns to normal play.

This happens with any WTV file, so you can take any file you have in your archive and remux it to wtv and see the results.

something as simple as:
ffmpeg -i test.ts -c copy test.wtv

I'm not uploading a sample since it can be reproduced with any file remuxed to WTV."	ramitbhalla
avformat	2105	Can't receive rtsp interleaved from encoder	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
avformat	2106	AVCI50 sample does not decode	git-master	defect	new	2013-01-03T22:31:08+01:00	2013-01-05T09:44:42+01:00	"http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket524/AVCI50.mov
FFmpeg does not insert the correct extradata for this sample, I will attach a PoC that shows that the sample can be decoded.
DAR should be 16:9, is 3:4 with the patch.
{{{
$ ffmpeg -i AVCI50.mov
ffmpeg version N-48424-gc5142a9 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  3 2013 21:53:12 with gcc 4.7 (SUSE Linux)
  configuration: --cc='cc -m32'
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.101 / 54. 85.101
  libavformat    54. 59.102 / 54. 59.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
[h264 @ 0x95e6480] Overread VUI by 5 bits
[h264 @ 0x95e6480] negative number of zero coeffs at 0 0
[h264 @ 0x95e6480] error while decoding MB 0 0
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 66 5
[h264 @ 0x95e6480] error while decoding MB 66 4
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] out of range intra chroma pred mode at 25 20
[h264 @ 0x95e6480] error while decoding MB 25 20
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 90 25
[h264 @ 0x95e6480] error while decoding MB 90 24
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 36 31
[h264 @ 0x95e6480] error while decoding MB 36 30
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 102 35
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 48 40
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 0 1
[h264 @ 0x95e6480] error while decoding MB 0 0
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 66 5
[h264 @ 0x95e6480] error while decoding MB 66 4
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 24 21
[h264 @ 0x95e6480] error while decoding MB 24 20
[h264 @ 0x95e6480] negative number of zero coeffs at 91 24
[h264 @ 0x95e6480] error while decoding MB 91 24
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 36 31
[h264 @ 0x95e6480] error while decoding MB 36 30
[h264 @ 0x95e6480] negative number of zero coeffs at 102 34
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 48 41
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 0 1
[h264 @ 0x95e6480] error while decoding MB 0 0
[h264 @ 0x95e6480] negative number of zero coeffs at 67 5
[h264 @ 0x95e6480] error while decoding MB 67 4
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 24 21
[h264 @ 0x95e6480] error while decoding MB 24 20
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 90 25
[h264 @ 0x95e6480] error while decoding MB 90 24
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 36 31
[h264 @ 0x95e6480] error while decoding MB 36 30
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 102 35
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 48 40
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x95e6480] left block unavailable for requested intra4x4 mode -1 at 0 1
[h264 @ 0x95e6480] error while decoding MB 0 0
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 66 5
[h264 @ 0x95e6480] error while decoding MB 66 4
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 24 21
[h264 @ 0x95e6480] error while decoding MB 24 20
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 90 25
[h264 @ 0x95e6480] error while decoding MB 90 24
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 36 31
[h264 @ 0x95e6480] error while decoding MB 36 30
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 102 35
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 48 40
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 1 0
[h264 @ 0x95e6480] error while decoding MB 1 0
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 66 5
[h264 @ 0x95e6480] error while decoding MB 66 4
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] corrupted macroblock 24 20 (total_coeff=-1)
[h264 @ 0x95e6480] error while decoding MB 24 20
[h264 @ 0x95e6480] negative number of zero coeffs at 90 24
[h264 @ 0x95e6480] error while decoding MB 90 24
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 36 31
[h264 @ 0x95e6480] error while decoding MB 36 30
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 102 35
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 48 40
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 0 1
[h264 @ 0x95e6480] error while decoding MB 0 0
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 66 5
[h264 @ 0x95e6480] error while decoding MB 66 4
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] negative number of zero coeffs at 24 20
[h264 @ 0x95e6480] error while decoding MB 24 20
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 90 25
[h264 @ 0x95e6480] error while decoding MB 90 24
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 38 31
[h264 @ 0x95e6480] error while decoding MB 38 30
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 102 35
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 48 40
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 0 1
[h264 @ 0x95e6480] error while decoding MB 0 0
[h264 @ 0x95e6480] out of range intra chroma pred mode at 67 5
[h264 @ 0x95e6480] error while decoding MB 67 4
[h264 @ 0x95e6480] top block unavailable for requested intra4x4 mode -1 at 12 10
[h264 @ 0x95e6480] error while decoding MB 12 10
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 78 14
[h264 @ 0x95e6480] error while decoding MB 78 14
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 24 21
[h264 @ 0x95e6480] error while decoding MB 24 20
[h264 @ 0x95e6480] mb_type 42 in I slice too large at 92 24
[h264 @ 0x95e6480] error while decoding MB 92 24
[h264 @ 0x95e6480] left block unavailable for requested intra mode at 36 31
[h264 @ 0x95e6480] error while decoding MB 36 30
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 102 35
[h264 @ 0x95e6480] error while decoding MB 102 34
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 48 40
[h264 @ 0x95e6480] error while decoding MB 48 40
[h264 @ 0x95e6480] top block unavailable for requested intra mode at 114 45
[h264 @ 0x95e6480] error while decoding MB 114 44
[h264 @ 0x95e6480] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x95dfa60] Stream #1: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x95dfa60] Stream #2: not enough frames to estimate rate; consider increasing probesize
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'AVCI50.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-09-29 14:51:08
    timecode        : 00:00:29;00
  Duration: 00:00:18.02, start: 0.000000, bitrate: 57269 kb/s
    Stream #0:0(eng): Video: h264 (High 4:2:2 Intra) (AVin / 0x6E695641), yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], 55731 kb/s, 29.97 fps, 29.97 tbr, 29970 tbn, 174762.67 tbc
    Metadata:
      creation_time   : 2011-09-29 14:51:08
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      creation_time   : 2011-09-29 14:51:08
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2011-09-29 14:51:14
      handler_name    : Apple Alias Data Handler
      timecode        : 00:00:29;00
At least one output file must be specified
}}}"	cehoyos
avformat	2120	mmf files generated by ffmpeg does not play with yamaha software player	git-master	defect	new	2013-01-08T03:08:08+01:00	2013-01-14T15:18:45+01:00	"Currently FFmpeg creates mmf files which are uplayable by yamaha software.

""ma2_mono_8khz.mmf"" is a file created with yamaham software.
What I can notice comparing this file and output from FFmpeg is that yamaha file have additional AspI chunk, so maybe the problem is that FFmpeg doesn not write it.

Mobile Contents Player (MCP-MA7) Ver.1.6.2 

http://smaf-yamaha.com/tools/downloads.html

{{{
C:\>ffmpeg -i test.wav -ac 1 -ar 8000 ffmpeg_ma2_mono_8khz.mmf
ffmpeg version N-48610-gb23aff6 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  8 2013 02:37:29 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. 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
[wav @ 0x1efea60] max_analyze_duration 5000000 reached at 5015510
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, wav, from 'test.wav':
  Duration: 00:00:30.01, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16
, 1411 kb/s
Output #0, mmf, to 'ffmpeg_ma2_mono_8khz.mmf':
  Metadata:
    encoder         : Lavf54.59.106
    Stream #0:0: Audio: adpcm_yamaha, 8000 Hz, mono, s16, 32 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le -> adpcm_yamaha)
Press [q] to stop, [?] for help
size=     118kB time=00:00:30.20 bitrate=  32.0kbits/s
video:0kB audio:118kB subtitle:0 global headers:0kB muxing overhead 0.076139%
}}}"	ami_stuff
avformat	2129	no_proxy environment variable implemented wrong	git-master	defect	open	2013-01-10T15:03:49+01:00	2013-01-10T23:07:06+01:00	"Summary of the bug:
no_proxy is defined as an exclusion list; however, to ffmpeg, this variable disables proxy support entirely

How to reproduce:
{{{
% strace -fe connect ffplay ""http://192.0.2.42/foo.mp3""
[pid  4727] connect(6, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr(""192.0.2.42"")}, 16) = -1 EINPROGRESS (Operation now in progress)
# no proxy is used. good

% env http_proxy=""http://192.0.2.23:8080"" strace -fe connect ffplay ""http://192.0.2.42/foo.mp3""
[pid  4658] connect(6, {sa_family=AF_INET, sin_port=htons(8080), sin_addr=inet_addr(""192.0.2.23"")}, 16) = -1 EINPROGRESS (Operation now in progress)
# proxy is properly used, good

% env http_proxy=""http://192.0.2.23:8080"" no_proxy=""192.0.2.42"" strace -fe connect ffplay ""http://192.0.2.42/foo.mp3""
[pid  4837] connect(6, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr(""192.0.2.42"")}, 16) = -1 EINPROGRESS (Operation now in progress)
# proxy is not used, good

env http_proxy=""http://192.0.2.23:8080"" no_proxy=""192.0.2.123"" strace -fe connect ffplay ""http://192.0.2.42/foo.mp3""
[pid  4894] connect(6, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr(""192.0.2.42"")}, 16) = -1 EINPROGRESS (Operation now in progress)
# proxy is not used, BAD!
}}}

Cause in the source, to be found in libavformat/tls.c and libavformat/http.c:
{{{
    proxy_path = getenv(""http_proxy"");
    use_proxy = (proxy_path != NULL) && !getenv(""no_proxy"") &&
        av_strstart(proxy_path, ""http://"", NULL);
}}}

Actually, the no_proxy variable would need parsing and comparing to the URL!

See here:
http://www.w3.org/Daemon/User/Proxies/ProxyClients.html
http://lynx.isc.org/lynx2.8.6/lynx2-8-6/lynx_help/keystrokes/environments.html
curl(1)
wget(1)
http://www.gnu.org/software/emacs/manual/html_node/url/Proxies.html"	divVerent
avformat	2141	FFMPEG fails to mux VC-1 Video to MPEG-TS container	git-master	defect	open	2013-01-15T20:26:41+01:00	2013-01-15T21:57:31+01:00	"Whilst trying to mux an MKV (Created by MakeMKV) with VC-1 as the video codec to MPEG-TS I have noted that the file that is created is the correct size (approximately the same size as the input file) but all media players, and also MediaInfo can only see the audio track within the resulting file.

I have pasted the Ubuntu command line, but, the same problem is apparent on all platforms. (Windows, Mac, and Linux).

I can make the source mkv file available on an ftp server on request (It's about 25GB).

The command line that I am using is as follows.


{{{
    $ ffmpeg -fflags +genpts -i Senna_t01.mkv -acodec mp2 -ac 2 -vcodec copy -copyts -y ffmpeg.Senna_t01.ts
    ffmpeg version 0.10.6-6:0.10.6-0ubuntu0jon1~precise1 Copyright (c) 2000-2012 the FFmpeg developers
      built on Nov 12 2012 13:15:11 with gcc 4.6.3
      configuration: --arch=i386 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.10.6-0ubuntu0jon1~precise1' --libdir=/usr/lib/i386-linux-gnu --disable-stripping --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --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-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/i386-linux-gnu --enable-shared --disable-static
      avutil      configuration: --arch=i386 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.10.6-0ubuntu0jon1~precise1' --libdir=/usr/lib/i386-linux-gnu --disable-stripping --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --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-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver
      avcodec     configuration: --arch=i386 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.10.6-0ubuntu0jon1~precise1' --libdir=/usr/lib/i386-linux-gnu --disable-stripping --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --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-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver
      avformat    configuration: --arch=i386 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.10.6-0ubuntu0jon1~precise1' --libdir=/usr/lib/i386-linux-gnu --disable-stripping --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --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-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver
      avdevice    configuration: --arch=i386 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.10.6-0ubuntu0jon1~precise1' --libdir=/usr/lib/i386-linux-gnu --disable-stripping --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --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-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver
      avfilter    configuration: --arch=i386 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.10.6-0ubuntu0jon1~precise1' --libdir=/usr/lib/i386-linux-gnu --disable-stripping --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --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-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver
      swscale     configuration: --arch=i386 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.10.6-0ubuntu0jon1~precise1' --libdir=/usr/lib/i386-linux-gnu --disable-stripping --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --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-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver
      swresample  configuration: --arch=i386 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.10.6-0ubuntu0jon1~precise1' --libdir=/usr/lib/i386-linux-gnu --disable-stripping --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --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-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver
      postproc    configuration: --arch=i386 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.10.6-0ubuntu0jon1~precise1' --libdir=/usr/lib/i386-linux-gnu --disable-stripping --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --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-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/i386-linux-gnu/i686/cmov --cpu=i686 --enable-shared --disable-static --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver
      libavutil      51. 35.100 / 51. 35.100
      libavcodec     53. 61.100 / 53. 61.100
      libavformat    53. 32.100 / 53. 32.100
      libavdevice    53.  4.100 / 53.  4.100
      libavfilter     2. 61.100 /  2. 61.100
      libswscale      2.  1.100 /  2.  1.100
      libswresample   0.  6.100 /  0.  6.100
      libpostproc    52.  0.100 / 52.  0.100
    Input #0, matroska,webm, from 'Senna_t01.mkv':
      Metadata:
        title           : Senna
      Duration: 02:42:07.09, start: 0.000000, bitrate: 23422 kb/s
        Chapter #0.0: start 0.000000, end 735.192711
        Metadata:
          title           : Chapter 00
        Chapter #0.1: start 735.192711, end 1014.805356
        Metadata:
          title           : Chapter 01
        Chapter #0.2: start 1014.805356, end 1775.857267
        Metadata:
          title           : Chapter 02
        Chapter #0.3: start 1775.857267, end 2148.562889
        Metadata:
          title           : Chapter 03
        Chapter #0.4: start 2148.562889, end 2701.240000
        Metadata:
          title           : Chapter 04
        Chapter #0.5: start 2701.240000, end 3202.991200
        Metadata:
          title           : Chapter 05
        Chapter #0.6: start 3202.991200, end 3602.974044
        Metadata:
          title           : Chapter 06
        Chapter #0.7: start 3602.974044, end 3997.242889
        Metadata:
          title           : Chapter 07
        Chapter #0.8: start 3997.242889, end 4340.127089
        Metadata:
          title           : Chapter 08
        Chapter #0.9: start 4340.127089, end 4831.826600
        Metadata:
          title           : Chapter 09
        Chapter #0.10: start 4831.826600, end 5245.781800
        Metadata:
          title           : Chapter 10
        Chapter #0.11: start 5245.781800, end 5421.999511
        Metadata:
          title           : Chapter 11
        Chapter #0.12: start 5421.999511, end 5741.276800
        Metadata:
          title           : Chapter 12
        Chapter #0.13: start 5741.276800, end 6197.691044
        Metadata:
          title           : Chapter 13
        Chapter #0.14: start 6197.691044, end 6897.181467
        Metadata:
          title           : Chapter 14
        Chapter #0.15: start 6897.181467, end 7570.312200
        Metadata:
          title           : Chapter 15
        Chapter #0.16: start 7570.312200, end 8140.798756
        Metadata:
          title           : Chapter 16
        Chapter #0.17: start 8140.798756, end 9045.285644
        Metadata:
          title           : Chapter 17
        Chapter #0.18: start 9045.285644, end 9535.900756
        Metadata:
          title           : Chapter 18
        Chapter #0.19: start 9535.900756, end 9727.092000
        Metadata:
          title           : Chapter 19
        Stream #0:0(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
        Stream #0:1(por): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536 kb/s (default)
        Metadata:
          title           : 3/2+1
        Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle (default)
        Stream #0:3(eng): Subtitle: hdmv_pgs_subtitle
    [mpegts @ 0x90be4a0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
    Output #0, mpegts, to 'ffmpeg.Senna_t01.ts':
      Metadata:
        title           : Senna
        encoder         : Lavf53.32.100
        Chapter #0.0: start 0.000000, end 735.192711
        Metadata:
          title           : Chapter 00
        Chapter #0.1: start 735.192711, end 1014.805356
        Metadata:
          title           : Chapter 01
        Chapter #0.2: start 1014.805356, end 1775.857267
        Metadata:
          title           : Chapter 02
        Chapter #0.3: start 1775.857267, end 2148.562889
        Metadata:
          title           : Chapter 03
        Chapter #0.4: start 2148.562889, end 2701.240000
        Metadata:
          title           : Chapter 04
        Chapter #0.5: start 2701.240000, end 3202.991200
        Metadata:
          title           : Chapter 05
        Chapter #0.6: start 3202.991200, end 3602.974044
        Metadata:
          title           : Chapter 06
        Chapter #0.7: start 3602.974044, end 3997.242889
        Metadata:
          title           : Chapter 07
        Chapter #0.8: start 3997.242889, end 4340.127089
        Metadata:
          title           : Chapter 08
        Chapter #0.9: start 4340.127089, end 4831.826600
        Metadata:
          title           : Chapter 09
        Chapter #0.10: start 4831.826600, end 5245.781800
        Metadata:
          title           : Chapter 10
        Chapter #0.11: start 5245.781800, end 5421.999511
        Metadata:
          title           : Chapter 11
        Chapter #0.12: start 5421.999511, end 5741.276800
        Metadata:
          title           : Chapter 12
        Chapter #0.13: start 5741.276800, end 6197.691044
        Metadata:
          title           : Chapter 13
        Chapter #0.14: start 6197.691044, end 6897.181467
        Metadata:
          title           : Chapter 14
        Chapter #0.15: start 6897.181467, end 7570.312200
        Metadata:
          title           : Chapter 15
        Chapter #0.16: start 7570.312200, end 8140.798756
        Metadata:
          title           : Chapter 16
        Chapter #0.17: start 8140.798756, end 9045.285644
        Metadata:
          title           : Chapter 17
        Chapter #0.18: start 9045.285644, end 9535.900756
        Metadata:
          title           : Chapter 18
        Chapter #0.19: start 9535.900756, end 9727.092000
        Metadata:
          title           : Chapter 19
        Stream #0:0(eng): Video: vc1 (WVC1 / 0x31435657), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 90k tbn, 23.98 tbc
        Stream #0:1(por): Audio: mp2, 48000 Hz, 2 channels, s16, 128 kb/s (default)
        Metadata:
          title           : 3/2+1
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (dca -> mp2)
    Press [q] to stop, [?] for help
    Input stream #0:1 frame changed from rate:48000 fmt:s16 ch:6 to rate:48000 fmt:s16 ch:2
    frame=233217 fps=153 q=-1.0 Lsize=28186716kB time=02:42:07.09 bitrate=23738.4kbits/s   
    video:25967210kB audio:151986kB global headers:0kB muxing overhead 7.915711%

}}}
"	turkey-studdins
avformat	2145	avi files >1G do not seek with WMP	git-master	defect	new	2013-01-16T12:33:58+01:00	2013-03-24T20:59:15+01:00	"(bug 194)
If an avi output file is bigger than ~1G, the file starts to play fine with WMP, but seeking is impossible, this works fine if the file is remuxed with MEncoder.

The following file plays fine with WMP, seeking works as expected:
{{{
$ ffmpeg -f lavfi -i testsrc=s=pal -f s16le -ac 2 -ar 48k -i /dev/zero -vcodec dvvideo -acodec pcm_s16le -fs 900M out09.avi
}}}
The following file also plays fine with WMP, playback stops when the user tries to seek:
{{{
$ ffmpeg -f lavfi -i testsrc=s=pal -f s16le -ac 2 -ar 48k -i /dev/zero -vcodec dvvideo -acodec pcm_s16le -fs 1100M out11.avi
ffmpeg version N-48954-g06af724 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 16 2013 12:08:10 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
[lavfi @ 0x2539940] Estimating duration from bitrate, this may be inaccurate
Input #0, lavfi, from 'testsrc=s=pal':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 720x576 [SAR 1:1 DAR 5:4], 25 tbr, 25 tbn, 25 tbc
[s16le @ 0x253b0c0] max_analyze_duration 5000000 reached at 5013333 microseconds
[s16le @ 0x253b0c0] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #1.0 : stereo
Input #1, s16le, from '/dev/zero':
  Duration: N/A, bitrate: 1536 kb/s
    Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Output #0, avi, to 'out11.avi':
  Metadata:
    ISFT            : Lavf54.60.101
    Stream #0:0: Video: dvvideo (dvsd / 0x64737664), yuv420p, 720x576 [SAR 1:1 DAR 5:4], q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> dvvideo)
  Stream #1:0 -> #0:1 (pcm_s16le -> pcm_s16le)
Press [q] to stop, [?] for help
frame= 7248 fps=431 q=0.0 Lsize= 1074263kB time=00:04:49.92 bitrate=30354.5kbits/s
video:1019250kB audio:54360kB subtitle:0 global headers:0kB muxing overhead 0.060863%
}}}
The file can be ""fixed"" with the following MEncoder command line:
{{{
$ mencoder out11.avi -ovc copy -oac copy -o outmenc.avi
}}}"	cehoyos
avformat	2149	referenced qt chapter not found	git-master	defect	open	2013-01-17T20:03:07+01:00	2013-01-17T20:13:01+01:00	"Summary of the bug:
How to reproduce:
{{{
> ./ffmpeg -i ~/keynote_animation_test.mov
ffmpeg version git-2013-01-17-46730e7 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 17 2013 16:02:03 with FreeBSD clang version 3.1 (branches/release_31 156863) 20120523
  configuration: --cc=clang --as=clang --extra-cflags=-fcolor-diagnostics --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --samples=../fate-suite --disable-debug --enable-static --disable-postproc --disable-indev=v4l2 --disable-indev=alsa --disable-indev=bktr --disable-indev=dshow --disable-indev=dv1394 --disable-indev=fbdev --disable-indev=jack --disable-indev=libcdio --disable-indev=libdc1394 --disable-indev=openal --disable-indev=pulse --disable-indev=sndio --disable-indev=vfwcap --disable-outdev=sndio --disable-outdev=alsa --disable-doc --enable-nonfree --enable-openssl --enable-gpl --disable-shared
  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
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2943a100] Referenced QT chapter track not found
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'keynote_animation_test.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2013-01-15 19:55:25
  Duration: 00:00:06.83, start: 0.000000, bitrate: 1853 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1024x768, 1531 kb/s, 24 fps, 24 tbr, 600 tbn, 1200 tbc
    Metadata:
      creation_time   : 2013-01-15 19:55:25
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng): Data: none
    Metadata:
      creation_time   : 2013-01-15 19:55:25
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574)
    Metadata:
      creation_time   : 2013-01-15 19:55:25
      handler_name    : Apple Alias Data Handler
At least one output file must be specified
}}}
"	richardpl
avformat	2157	-metadata track=1/10 and M4A issues	git-master	defect	open	2013-01-19T09:40:43+01:00	2013-01-20T16:34:26+01:00	"
Adding metadata track total to .m4a files does not work anymore with FFmpeg 1.1 and higher (gits)

ffmpeg -i source.mp3 -c:a aac -strict -2 -metadata track=1/10 -vn -output.m4a

It only adds the track number (1) but not the track total number (10)

Works fine with FFmpeg 1.0.1




Ouput :

[mp3 @ 0x7f94e8806600] max_analyze_duration 5000000 reached at 5015510 microseconds
Input #0, mp3, from '/Users/atarikid/Desktop/source.mp3':
  Metadata:
    artist          : Dreadzone
    album           : Sound
    title           : Return of the dread
    genre           : Electronic
    track           : 1
    date            : 2001
  Duration: 00:06:21.62, start: 0.000000, bitrate: 128 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
    Stream #0:1: Video: mjpeg, yuvj420p, 168x166 [SAR 1:1 DAR 84:83], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      title           : 
      comment         : Cover (front)
File '/Users/atarikid/Desktop/output.m4a' already exists. Overwrite ? [y/N] y
Output #0, ipod, to '/Users/atarikid/Desktop/output.m4a':
  Metadata:
    artist          : Dreadzone
    album           : Sound
    title           : Return of the dread
    genre           : Electronic
    date            : 2001
    track           : 1/10
    encoder         : Lavf54.61.100
    Stream #0:0: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp3 -> aac)
Press [q] to stop, [?] for help
size=    5942kB time=00:06:21.64 bitrate= 127.5kbits/s    
video:0kB audio:5877kB subtitle:0 global headers:0kB muxing overhead 1.109580%

"	Atarikid
avformat	2162	ffmpeg does not create PS3 compatible m2ts files	git-master	defect	open	2013-01-21T09:08:21+01:00	2013-03-16T11:58:31+01:00	"I have some movies (mpeg2 video, AC3 audio) that I would like to convert to m2ts.
If I do this with tsMuxerGUI, it plays like a charm on my PS3. If I try this with ffmpeg the PS3 does never recognize the audio track.
I've used ""ffmpeg -i sample.vob -acodec copy -vcodec copy sample.m2ts""

Sample files were uploaded to the ftp Server upload.ffmpeg.org:
PS3Issue_Readme.txt
PS3IssueSampleFFMPEG.m2ts
PS3IssueSampleTSMUXERGUI.m2ts


==============================
1.) convert the file with ""ffmpeg.exe"" -i sample.mkv -acodec copy -vcodec copy -t 7 sampleFFMPEG.m2ts""
==============================
{{{
ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  8 2013 16:16:22 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-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
nable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  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 'sample.mkv':
  Metadata:
    creation_time   : 2013-01-21 07:30:54
  Duration: 00:11:12.24, start: 0.000000, bitrate: 8453 kb/s
    Chapter #0.0: start 0.000000, end 672.238000
    Metadata:
      title           : Chapter 01
    Stream #0:0(eng): Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR
16:9], SAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      title           : 3/2+1
Output #0, mpegts, to 'sampleFFMPEG.m2ts':
  Metadata:
    encoder         : Lavf54.59.106
    Chapter #0.0: start 0.000000, end 7.000000
    Metadata:
      title           : Chapter 01
    Stream #0:0(eng): Video: mpeg2video, yuv420p, 720x480 [SAR 186:157 DAR 279:1
57], q=2-31, 29.97 fps, 90k tbn, 29.97 tbc
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), 448 kb/s (default)
    Metadata:
      title           : 3/2+1
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=  211 fps=0.0 q=-1.0 Lsize=    8038kB time=00:00:07.00 bitrate=9396.6kbits
/s
video:6880kB audio:383kB subtitle:0 global headers:0kB muxing overhead 10.673105
%
}}}
==============================
here ist the output of ""ffmpeg -i sampleFFMPEG.m2ts""
==============================
{{{
ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  8 2013 16:16:22 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-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
nable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  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, mpegts, from 'sampleFFMPEG.m2ts':
  Duration: 00:00:07.04, start: 1.400000, bitrate: 9353 kb/s
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420
p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x101](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1
(side), fltp, 448 kb/s
At least one output file must be specified
}}}
==============================
then I have ""posprocessed"" the sampleFFMPEG.m2ts with tsMuxerGUI
here ist the output of ""ffmpeg -i sampleTSMUXERGGUI.m2ts""
==============================
{{{
ffmpeg version 1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan  8 2013 16:16:22 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-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --e
nable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --e
nable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
  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, mpegts, from 'sampleTSMUXERGUI.m2ts':
  Duration: 00:00:07.04, start: 600.000000, bitrate: 8894 kb/s
  Program 1
    Stream #0:0[0x1011]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv42
0p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1100](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side
), fltp, 448 kb/s
At least one output file must be specified
}}}
==============================
The differences that I see between ffmpeg output and tsMuxerGUI output are the track IDs and then ""ac3 ([129][0][0][0] / 0x0081)"" vs. ""(AC-3 / 0x332D4341)""."	britannia
avformat	2170	problem using av_packet_merge_side_data	1.1.1	defect	reopened	2013-01-22T17:44:15+01:00	2013-05-20T17:56:31+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
avformat	2180	http: cookie bugs	git-master	defect	new	2013-01-24T15:29:58+01:00	2013-02-02T13:17:09+01:00	"1. if a cookies string is set, but no domain matches, lavf sends ""Cookie: (null)"". This is because it passes NULL to snprintf() somewhere.

2. ffmpeg erreneously includes the port number as part of the domain name for cookies, if the port number is included in the URL. For example, I was testing with the URL ""http://localhost:10000/"", and cookies for ""localhost"" were ignored. Using ""localhost:10000"" as domain name in the cookies string works, but I believe the port number should not be part of the domain name. At least wget disagrees."	gjdfgh
avformat	2190	yuv4mpegpipe does not preserve interlaced settings	git-master	defect	open	2013-01-26T03:51:00+01:00	2013-02-02T02:15:39+01:00	"Summary of the bug:

I first noticed this in ffmpeg 0.10.6 from the Fedora Core 17 yum repos, but I reproduced it with the latest version from git too.

I'm trying to package a raw YUV video file in some sort of container so that kdenlive will accept it.  The video is interlaced (miniDV camcorder source).  But every attempt to package it produces a file that says it's progressive video!

How to reproduce:

""head -1 clip.yuv"" outputs ""YUV4MPEG2 W720 H480 F30000:1001 Ib A10:11 C411"" -- notice the bottom-field-first interlacing.  All the lossless codecs I tried (huffyuv, ffvhuff, ffv1, and even rawvideo) produced progressive output.

""ffmpeg -i clip.yuv -vcodec huffyuv clip.avi"" followed by ""ffmpeg -i clip.avi -vcodec rawvideo -f yuv4mpegpipe - | head -1"" outputs ""YUV4MPEG2 W720 H480 F30000:1001 Ip A10:11 C422 XYSCSS=422""

""ffmpeg -i clip.yuv -vcodec ffvhuff clip.avi"" followed by ""ffmpeg -i clip.avi -vcodec rawvideo -f yuv4mpegpipe - | head -1"" outputs ""YUV4MPEG2 W720 H480 F30000:1001 Ip A10:11 C422 XYSCSS=422""

""ffmpeg -i clip.yuv -vcodec ffv1 clip.avi"" followed by ""ffmpeg -i clip.avi -vcodec rawvideo -f yuv4mpegpipe - | head -1"" outputs ""YUV4MPEG2 W720 H480 F30000:1001 Ip A10:11 C411 XYSCSS=411""

""ffmpeg -i clip.yuv -vcodec rawvideo clip.avi"" followed by ""ffmpeg -i clip.avi -vcodec rawvideo -f yuv4mpegpipe - | head -1"" outputs ""YUV4MPEG2 W720 H480 F30000:1001 Ip A10:11 C411 XYSCSS=411""

Here's the header from ffmpeg when it's run:

ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 25 2013 19:23:47 with gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)
  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man --arch=athlon --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=athlon -fasynchronous-unwind-tables' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib --cpu=athlon --enable-runtime-cpudetect
  libavutil      52. 16.100 / 52. 16.100
  libavcodec     54. 91.100 / 54. 91.100
  libavformat    54. 61.104 / 54. 61.104
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 33.101 /  3. 33.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
"	ulatekh
avformat	2223	Muxing dvb_teletext in mpegts does not work	git-master	defect	open	2013-02-01T20:32:22+01:00	2013-05-21T13:53:27+02:00	"Summary of the bug:
When ffmpeg is instructed to do ""-c copy"" on input stream, it unexpectedly converts one of the input streams of type dvb_teletext into dvb_subtitle. More info can be found here: 
http://ffmpeg.gusari.org/viewtopic.php?f=16&t=811&p=1527

How to reproduce:
The original scenario, where the possible bug was discovered, used a command line like this:
{{{
ffmpeg -i udp://234.5.245.105:20000 -map 0 -codec copy -f mpegts stream.ts

ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 21 2013 14:57:54 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-filter=movie --enable-static --enable-shared --enable-libfreetype --enable-libaacplus
  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
[mpegts @ 0x1b5c820] Unable to seek back to the start
[mpeg2video @ 0x1ba2220] 0x0 is invalid
    Last message repeated 15 times
[mpegts @ 0x1b5c820] max_analyze_duration 5000000 reached at 5016000
[mpegts @ 0x1b5c820] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegts, from 'udp://234.5.245.105:20000':
  Duration: N/A, start: 93705.929667, bitrate: 224 kb/s
  Program 140 
    Metadata:
      service_name    : ANTENA 3
      service_provider: EtherTV
    Stream #0:0[0x137](spa): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:1[0x130](und): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Stream #0:2[0x12f](spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
    Stream #0:3[0x12e](spa): [b]Subtitle: dvb_teletext[/b] ([6][0][0][0] / 0x0006)
    Stream #0:4[0x12d]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Output #0, mpegts, to 'stream.ts':
  Metadata:
    encoder         : Lavf54.59.106
    Stream #0:0(spa): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:1(und): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, 96 kb/s
    Stream #0:2(spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, 128 kb/s
    Stream #0:3(spa): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:4: Video: mpeg2video ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], q=2-31, 25 fps, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)
  Stream #0:3 -> #0:3 (copy)
  Stream #0:4 -> #0:4 (copy)
Press [q] to stop, [?] for help
frame=  914 fps= 29 q=-1.0 Lsize=   17315kB time=00:00:37.79 bitrate=3753.4kbits/s    
video:13770kB audio:1013kB subtitle:1173 global headers:0kB muxing overhead 8.519125%
Received signal 2: terminating.
}}}

but when checked with ffprobe, the result was:
{{{
ffprobe -i stream.ts 

ffprobe version 1.1.1 Copyright (c) 2007-2013 the FFmpeg developers
  built on Jan 21 2013 14:57:54 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-filter=movie --enable-static --enable-shared --enable-libfreetype --enable-libaacplus
  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
[mpegts @ 0xac2ca0] max_analyze_duration 5000000 reached at 5016000
[NULL @ 0xac6e60] start time is not set in estimate_timings_from_pts
[NULL @ 0xac8be0] start time is not set in estimate_timings_from_pts
Input #0, mpegts, from 'stream.ts':
  Duration: 00:00:37.47, start: 1.760378, bitrate: 3785 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100](spa): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
    Stream #0:1[0x101](und): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 96 kb/s
    Stream #0:2[0x102](spa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s
    Stream #0:3[0x103](spa): [b]Subtitle: dvb_subtitle[/b] ([6][0][0][0] / 0x0006)
    Stream #0:4[0x104]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
}}}"	burek
avformat	2252	WTV files created by ffmpeg do not playback on XBox 360 extender	git-master	defect	open	2013-02-08T15:27:28+01:00	2013-05-02T06:47:23+02:00	"Summary of the bug: WTV files created by ffmpeg do not play back on X360 extender.
It gives an error:
"" Files needed to display video are not installed...""

However it plays back fine on WMP and MCE.
"	ramitbhalla
avformat	2259	http_proxy doesn't work	unspecified	defect	new	2013-02-10T20:35:36+01:00	2013-02-24T16:58:04+01:00	http_proxy doesn't work  for http streams	alexandru_mg3
avformat	2261	mpegts: PID switch breaks demuxing	git-master	defect	open	2013-02-11T19:47:51+01:00	2013-02-11T20:21:50+01:00	"Summary of the bug:
How to reproduce:
{{{
ffmpeg -i http://www.cs.helsinki.fi/u/jeekstro/encoding/sample.ts -f null -
ffmpeg version git-2013-02-11-c177f2e Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb 11 2013 16:20:21 with FreeBSD clang version 3.1 (branches/release_31 156863) 20120523
  configuration: --cc=clang --as=clang --extra-cflags=-fcolor-diagnostics --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --samples=../fate-suite --disable-debug --enable-static --disable-postproc --disable-indev=v4l2 --disable-indev=alsa --disable-indev=bktr --disable-indev=dshow --disable-indev=dv1394 --disable-indev=fbdev --disable-indev=jack --disable-indev=libcdio --disable-indev=libdc1394 --disable-indev=openal --disable-indev=pulse --disable-indev=sndio --disable-indev=vfwcap --disable-outdev=sndio --disable-outdev=alsa --disable-filter=mp --disable-doc --enable-nonfree --enable-openssl --enable-gpl --enable-x11grab --disable-shared
  libavutil      52. 17.101 / 52. 17.101
  libavcodec     54. 91.102 / 54. 91.102
  libavformat    54. 62.100 / 54. 62.100
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 37.101 /  3. 37.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
[mpeg2video @ 0x2948d400] 0x0 is invalid
    Last message repeated 8 times
[mpegts @ 0x29444100] max_analyze_duration 5000000 reached at 5013333 microseconds
[mpegts @ 0x29444100] PES packet size mismatch
Input #0, mpegts, from '/tmp/sample.ts':
  Duration: 00:01:15.46, start: 75353.108289, bitrate: 8022 kb/s
  Program 23608 
    Metadata:
      service_name    : ?~ÔÏËÙÏ!!ÍØ±
      service_provider: 
    Stream #0:2[0x111]: Video: mpeg2video ([2][0][0][0] / 0x0002), 90k tbn
    Stream #0:1[0x112]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 190 kb/s
  Program 23609 
    Metadata:
      service_name    : ?~ÔÏËÙÏ!!ÍØ²
      service_provider: 
  Program 23615 
    Metadata:
      service_name    : ?~ÔÏËÙÏ!!ÍØNW;~
      service_provider: 
  Program 23992 
    Metadata:
      service_name    : ?~ÍØ?|ïó»°?~±
      service_provider: 
  Program 23993 
    Metadata:
      service_name    : ?~ÍØ?|ïó»°?~²
      service_provider: 
  No Program
    Stream #0:0[0x121]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf54.62.100
    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 #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video -> rawvideo)
  Stream #0:1 -> #0:1 (aac -> pcm_s16le)
Press [q] to stop, [?] for help
[null @ 0x29444600] Encoder did not produce proper pts, making some up.
PES packet size mismatch0 size=N/A time=00:00:20.28 bitrate=N/A dup=15 drop=0    
[aac @ 0x2948d800] channel element 0.3 is not allocated
Error while decoding stream #0:1: Operation not permitted
[aac @ 0x2948d800] Number of bands (4) exceeds limit (1).
Error while decoding stream #0:1: Operation not permitted
PES packet size mismatch0 size=N/A time=00:00:58.26 bitrate=N/A dup=15 drop=0    
[mpeg2video @ 0x2948d400] ac-tex damaged at 16 8
[mpeg2video @ 0x2948d400] Warning MVs not available
[mpeg2video @ 0x2948d400] concealing 990 DC, 990 AC, 990 MV errors in I frame
[aac @ 0x2948d800] Input buffer exhausted before END element found
Error while decoding stream #0:1: Operation not permitted
frame=  802 fps=496 q=0.0 Lsize=N/A time=00:01:15.56 bitrate=N/A dup=17 drop=0    
video:50kB audio:14160kB subtitle:0 global headers:0kB muxing overhead -100.000151%
}}}
"	richardpl
avformat	2270	ffmpeg transcodes cover art to a video stream with a single frame	git-master	defect	open	2013-02-14T11:05:53+01:00	2013-02-14T14:28:56+01:00	"{{{
$ ffmpeg -i tests/sample.mp3 out.mkv 
ffmpeg version 1.0.3 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 24 2013 14:52:18 with gcc 4.7 (Debian 4.7.2-5)
  configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/i386-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libdc1394 --disable-altivec --disable-armv5te --disable  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mp3 @ 0x8091a60] max_analyze_duration 5000000 reached at 5015510
[mp3 @ 0x8091a60] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'tests/sample.mp3':
  Metadata:
    album_artist    : Armin Van Buuren
    track           : 26
    encoded_by      : Https://Www.Facebook.Com/Inspirontrance
    title           : Serenity (Andrew Rayel Aether Remix) [Future Favorite]
    artist          : Armin Van Buuren Feat. Jan Vayne
    album           : A State Of Trance Episode 587 (2012-11-15)
    genre           : Trance
    date            : 2012

  Duration: 00:05:20.20, start: 0.000000, bitrate: 255 kb/s
    Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s
    Stream #0:1: Video: mjpeg, yuvj444p, 720x720 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
    Metadata:
      title           : 
      comment         : Cover (front)
[libx264 @ 0x80a82e0] using SAR=1/1
[libx264 @ 0x80a82e0] MB rate (182250000) > level limit (2073600)
[libx264 @ 0x80a82e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0x80a82e0] profile High, level 5.2
[libx264 @ 0x80a82e0] 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=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'out.mkv':
  Metadata:
    album_artist    : Armin Van Buuren
    PART_NUMBER     : 26
    encoded_by      : Https://Www.Facebook.Com/Inspirontrance
    title           : Serenity (Andrew Rayel Aether Remix) [Future Favorite]
    artist          : Armin Van Buuren Feat. Jan Vayne
    album           : A State Of Trance Episode 587 (2012-11-15)
    genre           : Trance
    date            : 2012
    encoder         : Lavf54.29.104
    Stream #0:0: Video: h264 (H264 / 0x34363248), yuvj420p, 720x720 [SAR 1:1 DAR 1:1], q=-1--1, 1k tbn, 90k tbc
    Metadata:
      title           : 
      comment         : Cover (front)
    Stream #0:1: Audio: vorbis (oV[0][0] / 0x566F), 44100 Hz, stereo, flt
Stream mapping:
  Stream #0:1 -> #0:0 (mjpeg -> libx264)
  Stream #0:0 -> #0:1 (mp3 -> libvorbis)
Press [q] to stop, [?] for help
frame=    1 fps=0.1 q=33.0 Lsize=    4410kB time=00:05:12.99 bitrate= 115.4kbits/s    
video:11kB audio:4276kB subtitle:0 global headers:4kB muxing overhead 2.766691%

[libx264 @ 0x80a82e0] frame I:1     Avg QP:31.73  size: 10211
[libx264 @ 0x80a82e0] mb I  I16..4: 46.9% 35.0% 18.1%
[libx264 @ 0x80a82e0] 8x8 transform intra:35.0%
[libx264 @ 0x80a82e0] coded y,uvDC,uvAC intra: 26.8% 8.9% 3.2%
[libx264 @ 0x80a82e0] i16 v,h,dc,p: 70% 16%  7%  7%
[libx264 @ 0x80a82e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 14% 23%  4%  5% 11%  5%  6%  5%
[libx264 @ 0x80a82e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 40% 20% 13%  4%  5%  7%  4%  4%  3%
[libx264 @ 0x80a82e0] i8c dc,h,v,p: 91%  4%  5%  0%
[libx264 @ 0x80a82e0] kb/s:7351920.00
}}}

{{{

$ ffprobe out.mkv 
ffprobe version 1.0.3 Copyright (c) 2007-2012 the FFmpeg developers
  built on Jan 24 2013 14:52:18 with gcc 4.7 (Debian 4.7.2-5)
  configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/i386-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libdc1394 --disable-altivec --disable-armv5te --disable  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[matroska,webm @ 0x807f6e0] max_analyze_duration 5000000 reached at 5017000
Input #0, matroska,webm, from 'out.mkv':
  Metadata:
    title           : Serenity (Andrew Rayel Aether Remix) [Future Favorite]
    ALBUM_ARTIST    : Armin Van Buuren
    track           : 26
    ENCODED_BY      : Https://Www.Facebook.Com/Inspirontrance
    ARTIST          : Armin Van Buuren Feat. Jan Vayne
    ALBUM           : A State Of Trance Episode 587 (2012-11-15)
    GENRE           : Trance
    DATE            : 2012
    ENCODER         : Lavf54.29.104
  Duration: 00:05:13.54, start: 0.000000, bitrate: 115 kb/s
    Stream #0:0: Video: h264 (High), yuvj420p, 720x720 [SAR 1:1 DAR 1:1], 30k fps, 30k tbr, 1k tbn, 180k tbc
    Metadata:
      title           : 
      COMMENT         : Cover (front)
    Stream #0:1: Audio: vorbis, 44100 Hz, stereo, s16 (default)
}}}

It should create an audio-only mkv with the picture embedded as metadata instead. Should it turn out that mkv does not have anything like image data in metadata, ffmpeg should not create a video stream anyway."	gjdfgh
avformat	2274	bgrp10le in nut muxed or demuxed as rgb555le	git-master	defect	open	2013-02-17T10:47:03+01:00	2013-02-17T16:54:03+01:00	"Summary of the bug:
Encoding pix_fmt GBRP10LE rawvideo in a NUT container produces RGB555LE files (without saying so).
Playing the resulting file with ffplay displays wrong colors: Everything is blue/green.

How to reproduce:

$ ffmpeg_git -f lavfi -i mandelbrot -t 1 -f nut -an -vcodec rawvideo -pix_fmt gbrp10le output.nut
{{{
ffmpeg version N-50025-gb8bb661 Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb 17 2013 10:44:03 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
  configuration: --prefix=/usr/local --enable-gpl --enable-nonfree --enable-version3 --enable-postproc --enable-swscale --enable-avfilter --enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png --enable-encoder=png --enable-libfreetype --enable-libschroedinger
  libavutil      52. 17.101 / 52. 17.101
  libavcodec     54. 91.103 / 54. 91.103
  libavformat    54. 63.100 / 54. 63.100
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 38.100 /  3. 38.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[lavfi @ 0x252a040] Estimating duration from bitrate, this may be inaccurate
Input #0, lavfi, from 'mandelbrot':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGBA / 0x41424752), rgba, 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Output #0, nut, to 'output.nut':
  Metadata:
    encoder         : Lavf54.63.100
    Stream #0:0: Video: rawvideo (RGB[15] / 0xF424752), gbrp10le, 640x480 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 51200 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> rawvideo)
Press [q] to stop, [?] for help
frame=   25 fps=0.0 q=0.0 Lsize=   45001kB time=00:00:01.00 bitrate=368648.8kbits/s    
video:45000kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.002396%
}}}

$ ffprobe_git output.nut
{{{
ffprobe version N-50025-gb8bb661 Copyright (c) 2007-2013 the FFmpeg developers
  built on Feb 17 2013 10:44:03 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)
  configuration: --prefix=/usr/local --enable-gpl --enable-nonfree --enable-version3 --enable-postproc --enable-swscale --enable-avfilter --enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png --enable-encoder=png --enable-libfreetype --enable-libschroedinger
  libavutil      52. 17.101 / 52. 17.101
  libavcodec     54. 91.103 / 54. 91.103
  libavformat    54. 63.100 / 54. 63.100
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 38.100 /  3. 38.100
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[nut @ 0x252a420] Estimating duration from bitrate, this may be inaccurate
Input #0, nut, from 'output.nut':
  Metadata:
    encoder         : Lavf54.63.100
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGB[15] / 0xF424752), rgb555le, 640x480, SAR 1:1 DAR 4:3, 25 fps, 25 tbr, 51200 tbn, 51200 tbc
}}}

"	peter_b
avformat	2282	Failed seeks lead to undefined behavior	git-master	defect	open	2013-02-18T23:42:24+01:00	2013-03-16T11:16:22+01:00	"Play a .flac file with ffplay. Right at the start, hit the cursor-right and cursor-down key multiple times. Then ffplay prints some error messages, and the printed playback position doesn't actually match what you hear.

Specifically, it prints decoder errors after an (obviously) failed seek. This indicates a problem with demuxer behavior and/or the seek API. (And if not, it's a ffplay bug.)

On IRC, it was said that failed seeks leave the demuxer in an undefined state.

{{{
$ ffplay test.flac 
ffplay version 1.0.3 Copyright (c) 2003-2012 the FFmpeg developers
  built on Jan 24 2013 14:52:18 with gcc 4.7 (Debian 4.7.2-5)
  configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/i386-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libdc1394 --disable-altivec --disable-armv5te --disable  libavutil      51. 73.101 / 51. 73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[flac @ 0x80e0620] max_analyze_duration 5000000 reached at 5015510
Input #0, flac, from 'test.flac':
  Metadata:
    ENCODER         : Lavf54.29.104
  Duration: 00:10:01.48, bitrate: 1186 kb/s
    Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
test.flac: error while seeking=   47KB vq=    0KB sq=    0B f=0/0   
[flac @ 0x80e8a80] invalid sync codeKB vq=    0KB sq=    0B f=0/0   
[flac @ 0x80e8a80] invalid frame header
[flac @ 0x80e8a80] decode_frame() failed
[flac @ 0x80e8a80] invalid sync codeKB vq=    0KB sq=    0B f=0/0   
[flac @ 0x80e8a80] invalid frame header
[flac @ 0x80e8a80] decode_frame() failed

}}}
"	gjdfgh
avformat	2313	-metadata option puts null characters in, confusing iTunes.	unspecified	defect	new	2013-03-01T03:23:20+01:00	2013-04-05T01:08:49+02:00	"Summary of the bug:  If you use the -metadata option while converting video to an iTunes playable M4V, iTunes will refuse to recognize the file; it'll just ignore it.  It will do a bit of analysis if you load a bulk of them up, but then ignore the whole batch if they all use the -metadata option.

A check with AtomicParsley says that many of the atoms in the M4V have null-terminated values... which is not allowed and causes iTunes to think the file is bad.

How to reproduce:
{{{
% ffmpeg -i input -acodec libfaac -ac 2 -ab 160k -c:v libx264 -vprofile main -preset slow -tune film -level 3.1 -crf 28 -threads 0 -metadata media_type=10 -metadata network=FakeNetwork -metadata ""show=Convention Archive"" -metadata ""title=ComicCon Cotham City"" -metadata season_number=1 -metadata episode_sort=1 -metadata ""track=1/1"" -metadata episode_id=output output

ffmpeg version 1.1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb 17 2013 18:35:29 with gcc 4.6.3 (Gentoo 4.6.3 p1.11, pie-0.5.2)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe -march=native' --extra-cflags='-O2 -pipe -march=native' --extra-cxxflags='-O2 -pipe -march=native' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-network --disable-vaapi --disable-runtime-cpudetect --enable-libmp3lame --enable-libvo-aacenc --enable-libtheora --enable-libx264 --enable-libxvid --enable-libfaac --enable-nonfree --enable-libdc1394 --disable-indev=oss --enable-x11grab --enable-libpulse --disable-outdev=oss --enable-libfreetype --enable-pthreads --enable-libvorbis --enable-libopenjpeg --disable-altivec --disable-avx --disable-vis --disable-neon --cpu=host --enable-hardcoded-tables
  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

}}}

"	STrRedWolf
avformat	2319	Using concat demuxer with truncated mp4 (mpeg2video,pcm_s16be) leads to infinite loop	git-master	defect	new	2013-03-03T14:20:57+01:00	2013-03-03T15:33:49+01:00	"Summary of the bug:
If the concat demuxer is used in conjunction with a mp4 file containing mpeg2 and pcm, ffmpeg gets stuck after the first video is decoded and never terminates. The problem only occurs, if the mp4 file is truncated and mylist.txt contains more than one entry. (Here one video file is used twice to demonstrate the problem.)

How to reproduce:
{{{
ffmpeg -f concat -i mylist.txt out.mp4
}}}

Content of mylist.txt
{{{
file camera-raw.mp4
file camera-raw.mp4
}}}

Video data:
[http://www.techfak.uni-bielefeld.de/~lschilli/ffmpeg/sync/camera-raw.mp4 camera-raw.mp4]

ffmpeg output
{{{
ffmpeg version 1.1.3 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar  2 2013 14:00:59 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  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-libfreetype --enable-x11grab --enable-avresample --enable-libass --enable-libvpx --enable-libvorbis
  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
[concat @ 0x1cc0780] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, concat, from 'mylist.txt':
  Duration: N/A, start: 0.000000, bitrate: 36537 kb/s
    Stream #0:0: Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 35001 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc
    Stream #0:1: Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, stereo, s16, 1536 kb/s
File 'out.mp4' already exists. Overwrite ? [y/N] using SAR=1/1
[libx264 @ 0x1ccb400] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
[libx264 @ 0x1ccb400] profile High, level 4.0
[libx264 @ 0x1ccb400] 264 - core 129 r0+2 e403db4 - 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=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 'out.mp4':
  Metadata:
    encoder         : Lavf54.59.106
    Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 12800 tbn, 25 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 (pcm_s16be -> libfaac)
Press [q] to stop, [?] for help
[mpeg2video @ 0x1cfade0] warning: first frame is no keyframe
frame=   33 fps=0.0 q=0.0 size=       0kB time=00:00:01.34 bitrate=   0.3kbits/s    
frame=   47 fps= 36 q=0.0 size=       0kB time=00:00:01.83 bitrate=   0.2kbits/s    
frame=   54 fps= 27 q=28.0 size=     123kB time=00:00:02.30 bitrate= 435.9kbits/s    
frame=   59 fps= 23 q=28.0 size=     213kB time=00:00:02.30 bitrate= 757.0kbits/s    
frame=   65 fps= 21 q=28.0 size=     311kB time=00:00:02.79 bitrate= 912.1kbits/s    
frame=   70 fps= 19 q=28.0 size=     383kB time=00:00:02.79 bitrate=1123.5kbits/s    
frame=   76 fps= 18 q=28.0 size=     469kB time=00:00:03.26 bitrate=1176.8kbits/s    
frame=   82 fps= 17 q=28.0 size=     545kB time=00:00:03.26 bitrate=1367.8kbits/s    
frame=   88 fps= 16 q=28.0 size=     620kB time=00:00:03.75 bitrate=1353.8kbits/s    
frame=   93 fps= 16 q=28.0 size=     694kB time=00:00:03.75 bitrate=1513.3kbits/s    
frame=   98 fps= 15 q=28.0 size=     754kB time=00:00:04.22 bitrate=1462.6kbits/s    
frame=  103 fps= 15 q=28.0 size=     819kB time=00:00:04.22 bitrate=1589.0kbits/s    
frame=  110 fps= 15 q=28.0 size=     898kB time=00:00:04.71 bitrate=1559.5kbits/s    
frame=  116 fps= 14 q=28.0 size=     980kB time=00:00:04.71 bitrate=1702.0kbits/s    
frame=  121 fps= 14 q=28.0 size=    1034kB time=00:00:05.18 bitrate=1634.6kbits/s    
frame=  128 fps= 14 q=28.0 size=    1113kB time=00:00:05.18 bitrate=1759.3kbits/s    
frame=  134 fps= 14 q=28.0 size=    1186kB time=00:00:05.67 bitrate=1712.0kbits/s    
frame=  139 fps= 14 q=28.0 size=    1293kB time=00:00:05.67 bitrate=1866.7kbits/s    
frame=  143 fps= 13 q=28.0 size=    1372kB time=00:00:05.69 bitrate=1973.0kbits/s    
frame=  148 fps= 13 q=28.0 size=    1486kB time=00:00:06.14 bitrate=1981.2kbits/s    
frame=  155 fps= 13 q=28.0 size=    1628kB time=00:00:06.14 bitrate=2171.0kbits/s    
frame=  159 fps= 13 q=28.0 size=    1724kB time=00:00:06.63 bitrate=2128.3kbits/s    
frame=  165 fps= 12 q=28.0 size=    1866kB time=00:00:06.63 bitrate=2303.8kbits/s    
frame=  170 fps= 12 q=28.0 size=    1972kB time=00:00:07.10 bitrate=2273.7kbits/s    
frame=  175 fps= 12 q=28.0 size=    2075kB time=00:00:07.10 bitrate=2393.1kbits/s    
frame=  181 fps= 12 q=28.0 size=    2253kB time=00:00:07.59 bitrate=2430.7kbits/s    
frame=  186 fps= 12 q=28.0 size=    2371kB time=00:00:07.59 bitrate=2557.9kbits/s    
frame=  191 fps= 12 q=28.0 size=    2478kB time=00:00:07.61 bitrate=2665.4kbits/s    
frame=  196 fps= 12 q=28.0 size=    2600kB time=00:00:08.06 bitrate=2641.2kbits/s    
frame=  201 fps= 12 q=28.0 size=    2714kB time=00:00:08.06 bitrate=2757.1kbits/s    
frame=  206 fps= 11 q=28.0 size=    2810kB time=00:00:08.55 bitrate=2691.3kbits/s    
frame=  210 fps= 11 q=28.0 size=    2911kB time=00:00:08.55 bitrate=2787.2kbits/s    
frame=  217 fps= 11 q=28.0 size=    3052kB time=00:00:09.02 bitrate=2770.6kbits/s    
frame=  221 fps= 11 q=28.0 size=    3127kB time=00:00:09.02 bitrate=2838.5kbits/s    
frame=  227 fps= 11 q=28.0 size=    3230kB time=00:00:09.04 bitrate=2925.4kbits/s    
frame=  233 fps= 11 q=28.0 size=    3351kB time=00:00:09.51 bitrate=2885.3kbits/s    
frame=  238 fps= 11 q=28.0 size=    3448kB time=00:00:09.51 bitrate=2968.8kbits/s    
frame=  244 fps= 11 q=28.0 size=    3574kB time=00:00:09.98 bitrate=2932.4kbits/s    
frame=  250 fps= 11 q=28.0 size=    3704kB time=00:00:09.98 bitrate=3039.5kbits/s    
frame=  255 fps= 11 q=28.0 size=    3824kB time=00:00:10.47 bitrate=2991.0kbits/s    
frame=  260 fps= 11 q=28.0 size=    3929kB time=00:00:10.47 bitrate=3072.9kbits/s    
frame=  266 fps= 11 q=28.0 size=    4036kB time=00:00:10.94 bitrate=3020.9kbits/s    
frame=  272 fps= 11 q=28.0 size=    4162kB time=00:00:10.94 bitrate=3115.3kbits/s    
frame=  277 fps= 11 q=28.0 size=    4261kB time=00:00:11.43 bitrate=3052.4kbits/s    
frame=  282 fps= 11 q=28.0 size=    4350kB time=00:00:11.43 bitrate=3116.5kbits/s    
frame=  287 fps= 11 q=28.0 size=    4462kB time=00:00:11.45 bitrate=3190.9kbits/s    
frame=  294 fps= 11 q=28.0 size=    4580kB time=00:00:11.90 bitrate=3152.1kbits/s    
frame=  299 fps= 11 q=28.0 size=    4677kB time=00:00:11.92 bitrate=3212.6kbits/s    
frame=  305 fps= 11 q=28.0 size=    4789kB time=00:00:12.39 bitrate=3165.5kbits/s    
frame=  310 fps= 11 q=28.0 size=    4876kB time=00:00:12.39 bitrate=3222.7kbits/s    
frame=  316 fps= 11 q=28.0 size=    4994kB time=00:00:12.86 bitrate=3180.3kbits/s    
frame=  321 fps= 11 q=28.0 size=    5076kB time=00:00:12.86 bitrate=3232.5kbits/s    
frame=  325 fps= 11 q=28.0 size=    5157kB time=00:00:13.35 bitrate=3163.2kbits/s    
frame=  331 fps= 11 q=28.0 size=    5280kB time=00:00:13.35 bitrate=3238.7kbits/s    
frame=  337 fps= 11 q=28.0 size=    5391kB time=00:00:13.82 bitrate=3194.5kbits/s    
frame=  342 fps= 11 q=28.0 size=    5475kB time=00:00:13.82 bitrate=3244.4kbits/s    
frame=  347 fps= 11 q=28.0 size=    5589kB time=00:00:13.84 bitrate=3306.8kbits/s    
frame=  354 fps= 11 q=28.0 size=    5716kB time=00:00:14.31 bitrate=3271.2kbits/s    
frame=  358 fps= 11 q=28.0 size=    5801kB time=00:00:14.31 bitrate=3319.7kbits/s    
frame=  364 fps= 11 q=28.0 size=    5878kB time=00:00:14.78 bitrate=3257.2kbits/s    
frame=  368 fps= 11 q=28.0 size=    5965kB time=00:00:14.78 bitrate=3305.1kbits/s    
frame=  374 fps= 11 q=28.0 size=    6040kB time=00:00:15.27 bitrate=3239.5kbits/s    
frame=  379 fps= 11 q=28.0 size=    6163kB time=00:00:15.27 bitrate=3305.5kbits/s    
frame=  383 fps= 10 q=28.0 size=    6231kB time=00:00:15.29 bitrate=3337.0kbits/s    
frame=  391 fps= 11 q=28.0 size=    6354kB time=00:00:15.74 bitrate=3306.4kbits/s    
frame=  395 fps= 10 q=28.0 size=    6430kB time=00:00:15.89 bitrate=3314.1kbits/s    
frame=  402 fps= 11 q=28.0 size=    6570kB time=00:00:16.23 bitrate=3315.3kbits/s    
frame=  407 fps= 10 q=28.0 size=    6687kB time=00:00:16.23 bitrate=3374.0kbits/s    
frame=  414 fps= 10 q=28.0 size=    6809kB time=00:00:16.70 bitrate=3339.2kbits/s    
frame=  419 fps= 10 q=28.0 size=    6901kB time=00:00:16.72 bitrate=3379.9kbits/s    
frame=  427 fps= 11 q=28.0 size=    7127kB time=00:00:17.19 bitrate=3395.4kbits/s    
frame=  433 fps= 11 q=28.0 size=    7229kB time=00:00:17.66 bitrate=3352.5kbits/s    
frame=  438 fps= 10 q=28.0 size=    7352kB time=00:00:17.66 bitrate=3409.6kbits/s    
frame=  443 fps= 10 q=28.0 size=    7430kB time=00:00:17.66 bitrate=3445.7kbits/s    
frame=  448 fps= 10 q=28.0 size=    7548kB time=00:00:18.15 bitrate=3406.0kbits/s    
frame=  455 fps= 10 q=28.0 size=    7703kB time=00:00:18.15 bitrate=3475.8kbits/s    
frame=  460 fps= 10 q=28.0 size=    7810kB time=00:00:18.62 bitrate=3435.5kbits/s    
frame=  466 fps= 10 q=28.0 size=    7942kB time=00:00:18.62 bitrate=3493.4kbits/s    
frame=  470 fps= 10 q=28.0 size=    8014kB time=00:00:19.11 bitrate=3434.5kbits/s    
frame=  475 fps= 10 q=28.0 size=    8115kB time=00:00:19.11 bitrate=3477.9kbits/s    
frame=  481 fps= 10 q=28.0 size=    8217kB time=00:00:19.58 bitrate=3437.4kbits/s    
frame=  487 fps= 10 q=28.0 size=    8334kB time=00:00:19.58 bitrate=3485.9kbits/s    
frame=  493 fps= 10 q=28.0 size=    8443kB time=00:00:20.07 bitrate=3445.4kbits/s    
frame=  498 fps= 10 q=28.0 size=    8524kB time=00:00:20.07 bitrate=3478.4kbits/s    
frame=  503 fps= 10 q=28.0 size=    8595kB time=00:00:20.41 bitrate=3448.9kbits/s    
frame=  509 fps= 10 q=28.0 size=    8684kB time=00:00:20.54 bitrate=3462.8kbits/s    
frame=  515 fps= 10 q=28.0 size=    8758kB time=00:00:20.75 bitrate=3456.2kbits/s    
frame=  523 fps= 10 q=28.0 size=    8844kB time=00:00:21.03 bitrate=3444.5kbits/s    
frame=  530 fps= 10 q=28.0 size=    8914kB time=00:00:21.50 bitrate=3395.8kbits/s    
frame=  536 fps= 10 q=28.0 size=    8977kB time=00:00:21.50 bitrate=3419.9kbits/s    
frame=  544 fps= 10 q=28.0 size=    9054kB time=00:00:21.99 bitrate=3372.2kbits/s    
frame=  550 fps= 10 q=28.0 size=    9117kB time=00:00:21.99 bitrate=3395.7kbits/s    
frame=  557 fps= 11 q=28.0 size=    9201kB time=00:00:22.46 bitrate=3355.2kbits/s    
frame=  563 fps= 11 q=28.0 size=    9262kB time=00:00:22.48 bitrate=3374.3kbits/s    
frame=  569 fps= 11 q=28.0 size=    9330kB time=00:00:22.95 bitrate=3329.8kbits/s    
Truncating packet of size 124464 to 34592
[mpeg2video @ 0x1cfade0] ac-tex damaged at 63 16
[mpeg2video @ 0x1cfade0] Warning MVs not available
[mpeg2video @ 0x1cfade0] concealing 6240 DC, 6240 AC, 6240 MV errors in B frame
}}}"	ls
avformat	2338	avformat_seek_file seeking to wrong frame for AVCHD sample	unspecified	defect	new	2013-03-08T11:52:52+01:00	2013-03-13T11:59:53+01:00	"I have been observing that for files from a certain camera avformat_seek_file did not seek to the closest keyframe as requested (it seeked past the requested interval, although suitable frames do exist in the specified interval).

To reproduce this using ffmpeg, please try the file from ticket 2336 and attempt to seek to position 0.96 using -ss 0.96 as an input option. Looking at the code in ffmpeg_opt.c ffmpeg issues a key_frame seek for the interval (INT64_MIN, 0.96 in timebase units, 0.96 in timebase units), so the first frame decoded by ffmpeg should be the keyframe closest to 0.96 _before_ 0.96 but the result is different.

From debug output added to h264_parser.c I get the following frame numbers (calculated by pts) for key frames (the fact that the decoder doesn't see those as keyframes but the parser does, is a separate issue I described in http://ffmpeg.org/pipermail/libav-user/2013-March/003915.html but I am not sure it should be filed as a ticket, probably yes).

PTS		Sec.	Frame number
67515	0	0
89115	0.24	6
99915	0.36	9
110715	0.48	12
121515	0.6	15
132315	0.72	18
143115	0.84	21
153915	0.96	24
164715	1.08	27
175515	1.2	30
186315	1.32	33  

So 0.96 should work and be exact but from looking at the file, it appears it is really returning the next keyframe (27 at 1.08 Seconds).

Command lines to reproduce:

ffmpeg -ss 0.96 -i ~/tmp/gh2-50i-psf.mts -an -sn -vframes 1 ~/tmp/out096.jpg

Produces frame #27 at 1.08 seconds

ffmpeg -ss 0.92 -i ~/tmp/gh2-50i-psf.mts -an -sn -vframes 1 ~/tmp/out092.jpg

Produces frame #24 at 0.96 seconds.

Looking at the code an API doc I do not see any other explanation than avformat_seek_file not seeking to the right keyframe (it appears it is one too late in this case and others I have observed).

I attached the patch with the log output for the h264 parser. I am not sure I am interpreting this correctly but from what I know about the camera's GOP size, it does make sense.

Here's the output of the runs.

ffmpeg -ss 0.96 -i ~/tmp/gh2-50i-psf.mts -an -sn -vframes 1 -y ~/tmp/out096.jpg
ffmpeg version N-50562-g199db97 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar  8 2013 10:08:49 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration: 
  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, mpegts, from '/Users/krueger/tmp/gh2-50i-psf.mts':
  Duration: 00:00:01.38, start: 0.710178, bitrate: 46737 kb/s
  Program 1 
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Output #0, image2, to '/Users/krueger/tmp/out096.jpg':
  Metadata:
    encoder         : Lavf54.63.104
    Stream #0:0: Video: mjpeg, yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> mjpeg)
Press [q] to stop, [?] for help
[h264 @ 0x7f9c42bc6000] Missing reference picture, default is 0
[h264 @ 0x7f9c42bc6000] decode_slice_header error
[h264 @ 0x7f9c42bc6c00] Missing reference picture, default is 0
[h264 @ 0x7f9c42bc6c00] decode_slice_header error
frame=    1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A    
video:140kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.015333%

ffmpeg -ss 0.90 -i ~/tmp/gh2-50i-psf.mts -an -sn -vframes 1 -y ~/tmp/out090.jpg
ffmpeg version N-50562-g199db97 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar  8 2013 10:08:49 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration: 
  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, mpegts, from '/Users/krueger/tmp/gh2-50i-psf.mts':
  Duration: 00:00:01.38, start: 0.710178, bitrate: 46737 kb/s
  Program 1 
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Output #0, image2, to '/Users/krueger/tmp/out090.jpg':
  Metadata:
    encoder         : Lavf54.63.104
    Stream #0:0: Video: mjpeg, yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> 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:141kB audio:0kB subtitle:0 global headers:0kB muxing overhead -100.015187% 


  "	rmk
avformat	2341	No audio in damaged dv stream	git-master	defect	new	2013-03-09T15:30:39+01:00	2013-03-10T22:08:39+01:00	"http://thread.gmane.org/gmane.comp.video.ffmpeg.user/44228 related to ticket #2340
FFmpeg does not detect audio in a dv stream if the initial frames are damaged.
{{{
$ ffmpeg -i error_no_audio_detected.dv
ffmpeg version N-50601-g98c4268 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar  9 2013 15:29:33 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  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. 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
[dv @ 0x1d60a20] Detected timecode is invalid
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=67
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=66
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=70
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=72
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 7 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=66
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=77
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 4 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=67
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=66
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 5 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=67
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=66
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
    Last message repeated 2 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=100
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=67
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=69
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=109
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=66
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=74
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=66
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=87
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=70
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=69
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=67
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 4 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=66
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=69
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=67
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 7 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=66
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=66
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
    Last message repeated 3 times
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=66
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=64
[dvvideo @ 0x1d613c0] AC EOB marker is absent pos=65
[dv @ 0x1d60a20] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'error_no_audio_detected.dv':
  Duration: 00:00:04.97, start: 0.000000, bitrate: 28736 kb/s
    Stream #0:0: Video: dvvideo, yuv411p, 720x480, 28771 kb/s, SAR 8:9 DAR 4:3, 29.97 tbr, 29.97 tbn, 29.97 tbc
At least one output file must be specified
}}}
{{{
$ ffmpeg -skip_initial_bytes 1100k -i error_no_audio_detected.dv
ffmpeg version N-50601-g98c4268 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar  9 2013 15:29:33 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  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. 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
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=67
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=81
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
    Last message repeated 1 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=68
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=70
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=68
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=67
    Last message repeated 1 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=70
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=67
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
    Last message repeated 1 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=104
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=67
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=69
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 4 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=67
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 4 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=100
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=68
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=72
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 5 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=67
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=68
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=78
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
    Last message repeated 1 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 7 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=81
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=76
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=69
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=68
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 7 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=65
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=69
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=66
[dvvideo @ 0x2ea59a0] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dv @ 0x2e9cbc0] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'error_no_audio_detected.dv':
  Metadata:
    timecode        : 01:10:14:15
  Duration: 00:00:04.97, start: 0.000000, bitrate: 28736 kb/s
    Stream #0:0: Video: dvvideo, yuv411p, 720x480, 28771 kb/s, SAR 8:9 DAR 4:3, 29.97 tbr, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
At least one output file must be specified
}}}"	cehoyos
avformat	2356	Failing mms stream	git-master	defect	new	2013-03-14T00:09:35+01:00	2013-03-14T00:09:35+01:00	"http://thread.gmane.org/gmane.comp.video.ffmpeg.user/44529
The mmsh stream works fine with MPlayer, fails with ffmpeg
{{{
$ ffmpeg -i ""mmsh://96.35.129.141:5000/STLTV_Live""
ffmpeg version N-50909-ged69c69 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 14 2013 00:06:59 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52. 19.100 / 52. 19.100
  libavcodec     55.  0.100 / 55.  0.100
  libavformat    55.  0.100 / 55.  0.100
  libavdevice    54.  4.100 / 54.  4.100
  libavfilter     3. 45.102 /  3. 45.102
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Strange chunk type 19748
Get http header data failed!
mmsh://96.35.129.141:5000/STLTV_Live: Invalid data found when processing input
}}}
{{{
$ mplayer mmsh://96.35.129.141:5000/STLTV_Live -frames 1
MPlayer SVN-r35960-4.7 (C) 2000-2013 MPlayer Team

Playing mmsh://96.35.129.141:5000/STLTV_Live.
STREAM_ASF, URL: mmsh://96.35.129.141:5000/STLTV_Live
Resolving 96.35.129.141 for AF_INET6...

Couldn't resolve name for AF_INET6: 96.35.129.141
Connecting to server 96.35.129.141[96.35.129.141]: 5000...
Resolving 96.35.129.141 for AF_INET6...

Couldn't resolve name for AF_INET6: 96.35.129.141
Connecting to server 96.35.129.141[96.35.129.141]: 5000...

Cache size set to 1920 KBytes
Cache fill: 19.75% (388262 bytes)

ASF file format detected.
[asfheader] Audio stream found, -aid 1
[asfheader] Video stream found, -vid 2
VIDEO:  [WMV3]  320x240  24bpp  1000.000 fps  260.0 kbps (31.7 kbyte/s)
Clip info:
 title: STLTV LIVE! Experience St. Louis
 author: STL TV
 copyright: City of St. Louis
 comments: City of St. Louis Communications Division
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.0.100 (internal)
Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg WMV3/WMV9)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 1 ch, floatle, 32.0 kbit/2.27% (ratio: 4003->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [alsa] 44100Hz 1ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [vdpau] 320x240 => 320x240 Planar YV12
[wmv3 @ 0x7ffcb3f9cf20]warning: first frame is no keyframe
A:1432169.0 V:1432168.9 A-V:  0.107 ct:  0.000   1/  1 ??% ??% ??,?% 0 0 18%


Exiting... (End of file)
}}}"	cehoyos
avformat	2471	FFMpeg unable to determine video length with streams outside of programs	git-master	defect	new	2013-04-16T02:21:29+02:00	2013-04-17T09:24:25+02:00	"Summary of the bug:
FFMpeg is unable to determine the length of a mpegts stream when there are streams detected outside of programs.

It seems that having 1 tiny section of the stream that has these streams outside of programs can causes the whole stream to be effected.

I have split a 8.39gb stream with the problem into 31.5mb chucks and was able to find a specific chuck with the problem (all the other chunks reported fine).

I have attached the effected part, but can provide other parts if necessary.

How to reproduce:
{{{
ffmpeg -i part.ts 
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 31 2013 21:55:33 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --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
[mpegts @ 0x7fe31c022800] max_analyze_duration 5000000 reached at 5000000 microseconds
[mpegts @ 0x7fe31c022800] Could not find codec parameters for stream 3 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x7fe31c04ec00] start time is not set in estimate_timings_from_pts
[mpegts @ 0x7fe31c022800] PES packet size mismatch
Input #0, mpegts, from 'part.ts':
  Duration: N/A, start: 38349.680033, bitrate: N/A
  Program 544 
  Program 545 
  Program 546 
  Program 547 
  Program 548 
  Program 550 
  Program 551 
  Program 1057 
    Stream #0:5[0x207]: Video: mpeg2video ([2][0][0][0] / 0x0002), 90k tbn
    Stream #0:6[0x2d0](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:4[0x247](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:7[0x901]: Unknown: none ([11][0][0][0] / 0x000B)
  Program 1058 
  Program 1059 
  Program 1060 
  No Program
    Stream #0:0[0x200]: 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[0x28a](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:2[0x240](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:3[0x1388]: Unknown: none ([11][0][0][0] / 0x000B)
At least one output file must be specified
}}}

The original file reports as:

{{{
ffmpeg -i 750283017.ts 

ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Mar 31 2013 21:55:33 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --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
[mpegts @ 0x7ff2d9022800] max_analyze_duration 5000000 reached at 5016000 microseconds
[mpegts @ 0x7ff2d9022800] Could not find codec parameters for stream 3 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x7ff2d904ec00] start time is not set in estimate_timings_from_pts
[mpegts @ 0x7ff2d9022800] PES packet size mismatch
Input #0, mpegts, from '750283017.ts':
  Duration: N/A, start: 37526.825144, bitrate: N/A
  Program 544 
  Program 545 
  Program 546 
  Program 547 
  Program 548 
  Program 550 
  Program 551 
  Program 1057 
    Stream #0:5[0x207]: Video: mpeg2video ([2][0][0][0] / 0x0002), 90k tbn
    Stream #0:6[0x2d0](eng): Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels
    Stream #0:4[0x247](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:7[0x901]: Unknown: none ([11][0][0][0] / 0x000B)
  Program 1058 
  Program 1059 
  Program 1060 
  No Program
    Stream #0:0[0x200]: 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[0x28a](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:2[0x240](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:3[0x1388]: Unknown: none ([11][0][0][0] / 0x000B)
At least one output file must be specified
}}}"	nbollom
avformat	2474	MKV transcoded to MKV with copied attachments is unplayable if output is stdout	git-master	defect	open	2013-04-16T18:38:34+02:00	2013-05-30T13:05:44+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
avformat	2537	ffurl_read_complete returns incorrect value	git-master	defect	new	2013-05-06T04:28:57+02:00	2013-05-06T04:29:28+02:00	"Summary of the bug:
This bug report is about the use of the avio's API amd ffurl_read_complete

according to the documentation, ffurl_read_complete:
{{{
Read as many bytes as possible (up to size), calling the read function multiple times if necessary.

This makes special short-read handling in applications unnecessary, if the return value is < size then it is certain there was either an error or the end of file was reached.

Definition at line 310 of file avio.c.

}}}

The issue is actually in retry_transfer_wrapper in avio.c.

If you try to read n-bytes of data using ffurl_read_complete when the current position in the file is less than n-bytes from the end.
ffurl_read_complete will return AVERROR_EOF instead of the number of bytes actually read (and here the number of bytes returned would be less than the number of bytes asked).

Expected behaviour:
ffurl_read_complete when encountering an end of file, should return the number of bytes actually read, and set eof flags accordingly

Background information.
The issue was found trying to play file in #2513
and reading the MOOV data. The MOOV table is located at the end of the file. MythTV seeks data from the file using ffurl_read_complete ; it would sometimes fail because we are enable to read the data close to the end of the file.
"	jyavenard
avformat	2547	-muxrate option doesn't work with stream_segment mpegts output	git-master	defect	new	2013-05-09T18:50:19+02:00	2013-05-17T22:38:19+02:00	"When I use the -muxrate parameter with the mpegts muxer directly, it works fine without any errors and I get the desired muxrate.  But it is not working when using the mpegts muxer indirectly via the stream_segment muxer (even after patching segment.c to pass the muxrate parameter to the mpegts muxer and verifying that the right value was passed - see below).

Using mpegts muxer directly:
ffmpeg -i lg4test.ts -map 0:0 -vcodec libx264 -s 640x360 -b:v 1M -minrate 1M -maxrate 1M -bufsize 500K -muxrate 1.25M -g 60 -profile:v main -map 0:1 -acodec aac -strict experimental -b:a 128K -ac 2 -ar 48000 -f mpegts -v verbose test.ts

Complete console output attached as: mpegts_output.txt

Quote from the output:
[mpegts @ 0x7fc381829c00] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts

So, that looks good. Next I want to do the same thing when using mpegts via the stream_segment muxer.

First I edited libavformat/segment.c to enable the muxrate option to be passed to the muxer specified by -segment_format, via a new option called -segment_format_muxrate (see patch attached).  There may be a better way to accomplish this, but it works for now.  If you prefer, I can submit this patch first to ffmpeg-devel and then inquire about this bug.

Next, making use of this new option:

ffmpeg -i lg4test.ts -map 0:0 -vcodec libx264 -s 640x360 -b:v 1M -minrate 1M -maxrate 1M -bufsize 500K -muxrate 1.25M -g 60 -profile:v main -map 0:1 -acodec aac -strict experimental -b:a 128K -ac 2 -ar 48000 -f ssegment -segment_list test.m3u8 -segment_list_flags +live -segment_time 10 -segment_format mpegts -segment_format_muxrate 1.25M -segment_time_delta 1.0 -v verbose test%05d.ts

Complete console output attached as: ssegment_output.txt

This message cofirms that the muxrate option was correctly passed to the mpegts muxer:
[mpegts @ 0x7fdff3c16800] muxrate 1250000, pcr every 16 pkts, sdt every 415, pat/pmt every 83 pkts

However, as you can see in the console output, I now get this error message repeated very often:
[mpegts @ 0x7fdff3c16800] dts < pcr, TS is invalid
    Last message repeated 58 times
    
When this error occurs, I found that the size of each segment file (which should be all roughly the same size, since they are all approx. the same duration) is actually growing by multiples, e.g.:
ls -al test0*.ts
-rw-r--r--  1 jasonlivingston  admin   1657784 May  8 22:39 test00000.ts
-rw-r--r--  1 jasonlivingston  admin   3273268 May  8 22:39 test00001.ts
-rw-r--r--  1 jasonlivingston  admin   5023736 May  8 22:39 test00002.ts
-rw-r--r--  1 jasonlivingston  admin   6452160 May  8 22:39 test00003.ts
-rw-r--r--  1 jasonlivingston  admin   8077796 May  8 22:39 test00004.ts
-rw-r--r--  1 jasonlivingston  admin   9741784 May  8 22:39 test00005.ts
-rw-r--r--  1 jasonlivingston  admin  11516692 May  8 22:39 test00006.ts
-rw-r--r--  1 jasonlivingston  admin  13087244 May  8 22:39 test00007.ts
-rw-r--r--  1 jasonlivingston  admin  14500816 May  8 22:39 test00008.ts
-rw-r--r--  1 jasonlivingston  admin  16241884 May  8 22:39 test00009.ts

Again, these are all the same duration and same CBR, so they should be roughly the same size.

Any ideas why this works fine for using mpegts directly, but not when using mpegts via ssegment?
"	jettoblack
avformat	2617	Playback of HLS fails when one of the variant streams are down	git-master	defect	open	2013-05-31T21:10:52+02:00	2013-05-31T21:17:19+02:00	"Summary of the bug:
In cases of poorly managed HLS streams where one of the variant streams inside the m3u8 playlist are down, ffmpeg fails to play as soon as it sees a 404 error for one of the variant streams, while iOS ignores the dead stream and just plays it with the ones that work.
How to reproduce:
{{{
ffmpeg -i http://telly.powerrangermail.net/hlstest/playlist.m3u8
ffmpeg version N-53690-g2886e80 Copyright (c) 2000-2013 the FFmpeg developers
  built on May 30 2013 15:49:51 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
  configuration: --prefix=/usr --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-postproc --enable-libx264 --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libmp3lame --enable-libtheora --enable-libopenjpeg --enable-libvpx --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libvorbis --enable-libxvid --enable-libfaac --cpu=amdfam10 --enable-x11grab --enable-libxavs --enable-libfreetype --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libcelt --enable-openal --enable-libcdio --enable-libaacplus --enable-libmodplug --enable-libpulse --enable-openssl --enable-libv4l2 --enable-libass --enable-libbluray --enable-avresample --enable-libiec61883 --enable-libopus --enable-libcaca --enable-libfdk-aac --enable-libilbc --enable-libtwolame --enable-librtmp --enable-libsoxr --disable-stripping --enable-libaacplus --enable-opencl --enable-libflite --enable-libquvi
  libavutil      52. 34.100 / 52. 34.100
  libavcodec     55. 12.102 / 55. 12.102
  libavformat    55.  8.100 / 55.  8.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 73.100 /  3. 73.100
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[http @ 0xf8d2c0] HTTP error 404 Not Found
http://telly.powerrangermail.net/hlstest/playlist.m3u8: Input/output error
}}}
Since the stream in question that I use is only available weekdays for one hour a day, the output above is with a sample I created that intentionally has the same error so you can reproduce."	kyl416
avformat	2622	Subtitle (hdmv pgs) remux fails	git-master	defect	open	2013-06-02T05:31:50+02:00	2013-06-02T09:30:28+02:00	"Summary of the bug:ffmpeg fails when remuxing hdmv pgs subtitles

How to reproduce:ffmpeg -i hdmv_pgs_subtitle_remux_fail.m2ts -map 0 -c copy out.m2ts
{{{
ffmpeg version: git-master
June 1, 2013
Files are available on the ftp under incoming/hdmv_pgs_subtitle_remux_fail.tgz

Attempted to run
skifreak@LedBox ~/Documents/x264 Encoding/hdmv_pgs_subtitle_remux_fail $ ffmpeg -i hdmv_pgs_subtitle_remux_fail.m2ts -map 0 -c copy /tmp/test.m2tsffmpeg version N-53758-g5711e4f Copyright (c) 2000-2013 the FFmpeg developers
  built on Jun  1 2013 18:59:50 with gcc 4.5.4 (Gentoo 4.5.4 p1.1, pie-0.4.7)
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe -g' --extra-cflags='-march=native -O2 -pipe -g' --extra-cxxflags='-march=native -O2 -pipe -g' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-version3 --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --disable-network --disable-openssl --enable-ffplay --disable-vaapi --disable-vdpau --enable-zlib --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libmp3lame --disable-libfdk-aac --disable-libaacplus --disable-libfaac --enable-libtheora --disable-libtwolame --enable-libx264 --enable-libxvid --disable-libcdio --disable-libiec61883 --enable-libdc1394 -  libavutil      52. 34.100 / 52. 34.100
  libavcodec     55. 13.100 / 55. 13.100
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 74.101 /  3. 74.101
  libavresample   1.  1.  0 /  1.  1.  0
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[mpegts @ 0x25698a0] Stream #3: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x25698a0] Stream #4: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 0x25698a0] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x25698a0] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub) ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x256f780] start time is not set in estimate_timings_from_pts
[NULL @ 0x25701c0] start time is not set in estimate_timings_from_pts
[mpegts @ 0x25698a0] PES packet size mismatch
Input #0, mpegts, from 'hdmv_pgs_subtitle_remux_fail.m2ts':
  Duration: 00:00:05.22, start: 65.986667, bitrate: 23524 kb/s
  Program 1 
    Stream #0:0[0x1011]: Video: vc1 (VC-1 / 0x312D4356), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x1100]: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, 5.1(side), s16, 4608 kb/s
    Stream #0:2[0x1101]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s
    Stream #0:3[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:4[0x1201]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
File '/tmp/test.m2ts' already exists. Overwrite ? [y/N] y
Output #0, mpegts, to '/tmp/test.m2ts':
  Metadata:
    encoder         : Lavf55.8.102
    Stream #0:0: Video: vc1 (VC-1 / 0x312D4356), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 90k tbn, 23.98 tbc
    Stream #0:1: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, 5.1(side), 4608 kb/s
    Stream #0:2: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), 640 kb/s
    Stream #0:3: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:4: 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:2 -> #0:2 (copy)
  Stream #0:3 -> #0:3 (copy)
  Stream #0:4 -> #0:4 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x2570f20] Application provided invalid, non monotonically increasing dts to muxer in stream 3: 458492 >= 458492
av_interleaved_write_frame(): Invalid argument


skifreak@LedBox ~/Documents/x264 Encoding/hdmv_pgs_subtitle_remux_fail $ ffmpeg -v 9 -loglevel 99 -i hdmv_pgs_subtitle_remux_fail.m2ts 
ffmpeg version N-53758-g5711e4f Copyright (c) 2000-2013 the FFmpeg developers                                                                                      
  built on Jun  1 2013 18:59:50 with gcc 4.5.4 (Gentoo 4.5.4 p1.1, pie-0.4.7)                                                                                      
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -O2 -pipe -g' --extra-cflags='-march=native -O2 -pipe -g' --extra-cxxflags='-march=native -O2 -pipe -g' --disable-static --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --disable-stripping --enable-version3 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-version3 --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-doc --disable-gnutls --enable-hardcoded-tables --enable-iconv --disable-network --disable-openssl --enable-ffplay --disable-vaapi --disable-vdpau --enable-zlib --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libmp3lame --disable-libfdk-aac --disable-libaacplus --disable-libfaac --enable-libtheora --disable-libtwolame --enable-libx264 --enable-libxvid --disable-libcdio --disable-libiec61883 --enable-libdc1394 -  libavutil      52. 34.100 / 52. 34.100                                                                              
  libavcodec     55. 13.100 / 55. 13.100                                                                                                                           
  libavformat    55.  8.102 / 55.  8.102                                                                                                                           
  libavdevice    55.  2.100 / 55.  2.100                                                                                                                           
  libavfilter     3. 74.101 /  3. 74.101
  libavresample   1.  1.  0 /  1.  1.  0
  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 '-v' ... matched as option 'v' (set logging level) with argument '9'.                                                                               
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.                                                                
Reading option '-i' ... matched as input file with argument 'hdmv_pgs_subtitle_remux_fail.m2ts'.                                                                   
Finished splitting the commandline.                                                                                                                                
Parsing a group of options: global .                                                                                                                               
Applying option v (set logging level) with argument 9.                                                                                                             
Successfully parsed a group of options.                                                                                                                            
Parsing a group of options: input file hdmv_pgs_subtitle_remux_fail.m2ts.                                                                                          
Successfully parsed a group of options.                                                                                                                            
Opening an input file: hdmv_pgs_subtitle_remux_fail.m2ts.                                                                                                          
[mpegts @ 0x12b3080] Format mpegts probed with size=2048 and score=100                                                                                             
[mpegts @ 0x12b3080] stream=0 stream_type=ea pid=1011 prog_reg_desc=HDMV                                                                                           
[mpegts @ 0x12b3080] stream=1 stream_type=80 pid=1100 prog_reg_desc=HDMV                                                                                           
[mpegts @ 0x12b3080] stream=2 stream_type=81 pid=1101 prog_reg_desc=HDMV                                                                                           
[mpegts @ 0x12b3080] stream=3 stream_type=90 pid=1200 prog_reg_desc=HDMV                                                                                           
[mpegts @ 0x12b3080] stream=4 stream_type=90 pid=1201 prog_reg_desc=HDMV                                                                                           
[mpegts @ 0x12b3080] File position before avformat_find_stream_info() is 0                                                                                         
[mpegts @ 0x12b3080] parser not found for codec pcm_bluray, packets or times may be invalid.                                                                       
[mpegts @ 0x12b3080] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid.                              