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

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

Results (201 - 300 of 518)

1 2 3 4 5 6
Ticket Summary Component Milestone Type Created
Description
#5731 Wranings about truncating oversized PPS when decoding files from Sony camera FS7 avcodec defect Jul 24, 2016

How to reproduce:

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

The sample is the same as for ticket 5730.


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

Hi,

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

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

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

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

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

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

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


#5795 decoding with some pbm files avcodec defect Aug 24, 2016

Summary of the bug: How to reproduce:

% ffmpeg -i 002.pbm -f null -

ffmpeg version

N-81451-g8a78fc5 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.3 (Gentoo 4.9.3 p1.5, pie-0.6.4)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--docdir=/usr/share/doc/ffmpeg-9999/html --mandir=/usr/share/man --enable-shared
--cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++
--ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -pipe' --disable-static
--enable-avfilter --enable-avresample --disable-stripping --disable-indev=v4l2
--disable-outdev=v4l2 --disable-indev=oss --disable-indev=jack
--disable-outdev=oss --disable-outdev=sdl --enable-bzlib
--disable-runtime-cpudetect --disable-debug --disable-gcrypt --disable-gnutls
--disable-gmp --enable-gpl --enable-hardcoded-tables --enable-iconv
--disable-lzma --enable-network --disable-openssl --enable-postproc
--disable-libsmbclient --disable-ffplay --disable-sdl --disable-vaapi
--enable-vdpau --disable-xlib --enable-libxcb --enable-libxcb-shm
--enable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883
--disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl
--disable-libv4l2 --disable-libpulse --disable-libopencore-amrwb
--disable-libopencore-amrnb --disable-libfdk-aac --disable-libopenjpeg
--disable-libbluray --disable-libcelt --disable-libgme --disable-libgsm
--disable-mmal --disable-libmodplug --enable-libopus --disable-libilbc
--disable-librtmp --disable-libssh --disable-libschroedinger --disable-libspeex
--disable-libvorbis --disable-libvpx --disable-libzvbi --disable-libbs2b
--disable-chromaprint --disable-libebur128 --disable-libflite --disable-frei0r
--disable-libfribidi --disable-fontconfig --disable-ladspa --disable-libass
--disable-libfreetype --disable-librubberband --enable-libzimg --disable-libsoxr
--enable-pthreads --disable-libvo-amrwbenc --disable-libmp3lame
--disable-libfaac --disable-libkvazaar --disable-nvenc --enable-libopenh264
--disable-libsnappy --disable-libtheora --disable-libtwolame
--disable-libwavpack --disable-libwebp --disable-libx264 --disable-libx265
--disable-libxvid --disable-amd3dnow --disable-amd3dnowext --disable-aesni
--disable-avx --disable-avx2 --disable-fma3 --disable-fma4 --disable-xop
--disable-doc --disable-htmlpages --enable-manpages

libavutil      55. 29.100 / 55. 29.100
libavcodec     57. 54.100 / 57. 54.100
libavformat    57. 48.100 / 57. 48.100
libavdevice    57.  0.102 / 57.  0.102
libavfilter     6. 54.100 /  6. 54.100
libavresample   3.  0.  0 /  3.  0.  0
libswscale      4.  1.100 /  4.  1.100
libswresample   2.  1.100 /  2.  1.100
libpostproc    54.  0.100 / 54.  0.100

built on:

Linux darkstar 4.7.0-hardened #1 SMP
Wed Aug 17 14:01:06 2016 x86_64 Intel(R) Core(TM) i3-2130 CPU @ 3.40GHz GenuineIntel
GNU/Linux

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

Summary of the bug:

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

How to reproduce:

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

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

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


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

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

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

output:

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

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

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

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

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

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

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

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

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

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

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


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

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

output:

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

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

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

CCextrator removes those tags, and looks like this:

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

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


#5931 showwavespic, showspectrumpic innacurate length of resulting image avfilter defect Nov 7, 2016

Summary of the bug:showwavespic, showspectrumpic innacurate length of resulting image How to reproduce:

ffmpeg -i voice.wav -lavfi  showwavespic=scale=log:s=1000x180 waveform.png

In this example, the waveform is rendered correctly (end of waveform on image1.png). But if we increase the with to 10000, the end of waveform have an extra gap (end of waveform on image2.png).

ffmpeg -i voice.wav -lavfi  showwavespic=scale=log:s=10000x180 waveform.png

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

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

ffmpeg is ignoried in below case:

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

below case is working fine, as expected:

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


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

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


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

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

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

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

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

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

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

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

Was able to reproduce this issue with 2 videos.

Below is the command used to convert.

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



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

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

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

How to reproduce: ffmpeg, ffplay from ffmpeg-git

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

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

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

mpg/h264 will show AR change, h265 not.

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


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

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

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

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

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


#296 support seeking by decoding from the begin undetermined enhancement Jun 22, 2011

The file seeks correctly with WMP/MPC, maybe it's possible to fix seeking for this kind of file in FFmpeg.

(not a regression)

http://www.datafilehost.com/download-2b89c308.html

C:\>ffmpeg -i EVBPIC.AVI
ffmpeg version git-N-30698-g39dbe9b, Copyright (c) 2000-2011 the FFmpeg develope
rs
  built on Jun 10 2011 22:10:00 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 --disable-outdev=sdl -
-pkg-config=pkg-config
  libavutil    51.  8. 0 / 51.  8. 0
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  3. 0 / 53.  3. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 15. 0 /  2. 15. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
[avi @ 01DCA600] max_analyze_duration 5000000 reached at 5000000
Input #0, avi, from 'EVBPIC.AVI':
  Duration: 00:03:17.00, start: 0.000000, bitrate: 266 kb/s
    Stream #0.0: Video: msvideo1, pal8, 640x480, 1 fps, 1 tbr, 1 tbn, 1 tbc
    Stream #0.1: Audio: pcm_u8, 22050 Hz, 1 channels, u8, 176 kb/s
At least one output file must be specified

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

configure is not set to find openal on OS X.

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

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

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

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

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

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

#602 feature request: movie sink for ffplay avfilter enhancement Oct 31, 2011

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


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

#643 VAAPI dynamic loading avcodec enhancement Nov 11, 2011

Hi,

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

Thanks, Gabi Julien


#712 m2v: wrong duration avformat enhancement Dec 6, 2011

When converting any file to a m2v and checking the resulting file, the duration is not correctly calculated. mplayer shows also wrong duration. Quicktime and Mediainfo show the correct duration.

example: ffmpeg -i fate/aletrek-rle.mov -target pal-dvd -f mpeg2video -an aletrek-rle.m2v [...] Duration: 00:00:03.33

ffprobe aletrek-rle.m2v [...] Duration: 00:00:00.76

mediainfo aletrek-rle.m2v [...] Duration : 3s 400ms

mplayer -vo null -ao null -frames 0 -identify aletrek-rle.m2v [...] ID_LENGTH=0.77


#716 Shoutcast 2 metadata avformat enhancement Dec 7, 2011

When ffmpeg will support Shoutcast 2 YP2 protocol? mediadata reading? etc...


#726 support for copying SMPTE 436M caption tracks undetermined enhancement Dec 9, 2011

This is a part 2 to http://ffmpeg.org/trac/ffmpeg/ticket/682.

I'm working with media from XDCam discs which contain an MXF with mpeg2 video, 8 pcm audio tracks, and a caption track using SMPTE 436M. I just need to cut these files given an in point and duration and copy all tracks to a new file (using -map 0 -c copy).

For XDCam MXF files the caption track is not recognized:

[mxf @ 0x101893800] track 9: could not find essence container ul, codec not currently supported in container

and subsequently the copy fails with

Could not write header for output file #0 (incorrect codec parameters ?)

I need the preserve the captions but would also like to use ffmpeg to this task.

Full output (first 5MB of a sample attached):

ffmpeg -ss 300 -t 30 -i ELCO0378.mxf -map 0 -c copy trimmed.mxf
ffmpeg version N-31468-g31c55c5, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec  8 2011 08:46:52 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 --cc=/usr/bin/gcc-4.2 --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --disable-ffplay
  libavutil    51. 30. 0 / 51. 30. 0
  libavcodec   53. 41. 2 / 53. 41. 2
  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
[mxf @ 0x10180f200] could not resolve sub descriptor strong ref
[mxf @ 0x10180f200] source track 11: stream 9, no descriptor found
Input #0, mxf, from 'ELCO0378.mxf':
  Duration: 00:28:50.89, start: 0.000000, bitrate: 60317 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 59.94 tbc
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0:5: Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0:6: Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0:7: Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0:8: Audio: pcm_s24le, 48000 Hz, 1 channels, s32, 1152 kb/s
    Stream #0:9: Data: none
[mxf @ 0x101893800] track 9: could not find essence container ul, codec not currently supported in container
Output #0, mxf, to 'trimmed.mxf':
  Metadata:
    encoder         : Lavf53.24.0
    Stream #0:0: Video: mpeg2video, yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 50000 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152 kb/s
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152 kb/s
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152 kb/s
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152 kb/s
    Stream #0:5: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152 kb/s
    Stream #0:6: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152 kb/s
    Stream #0:7: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152 kb/s
    Stream #0:8: Audio: pcm_s24le, 48000 Hz, 1 channels, 1152 kb/s
    Stream #0:9: Data: none
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)
  Stream #0:5 -> #0:5 (copy)
  Stream #0:6 -> #0:6 (copy)
  Stream #0:7 -> #0:7 (copy)
  Stream #0:8 -> #0:8 (copy)
  Stream #0:9 -> #0:9 (copy)
Could not write header for output file #0 (incorrect codec parameters ?)


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

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

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

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

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

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

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

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

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

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


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

windows media player play such files fine

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

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

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

#868 chained ogg video streams not supported with threads >1 undetermined enhancement Jan 3, 2012

Following sample fails to play/transcode correctly

http://v2v.cc/~j/theora_testsuite/chained_streams.ogg


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

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

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

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

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

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


#959 Media 100 codec support. undetermined enhancement Jan 31, 2012

I've put a couple of small MOV files, their resource forks, the iFinish transcoder for Windows (which was very hard to find) and a small MOV flattener utility here http://partsbyemc.com/pub/

Read the text file for more info. Hopefully with all this, Media 100 / iFinish support can be added to FFMPEG.


#980 Feature request : Optimising (MPEG) video streams ffmpeg enhancement Feb 5, 2012

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.


#998 Must convert mms://... streams to mmsh://... for FFmpeg to work undetermined enhancement Feb 15, 2012

This means anyone using mms streams must "discover" this.

Using just mms://... this fails:

ffplay mms://live1.wm.skynews.servecast.net/skynews_wmlz_live300k

ffplay version N-37771-gfd0b8d5 Copyright (c) 2003-2012 the FFmpeg developers

built on Feb 11 2012 13:42:37 with gcc 4.6.2

libavutil 51. 39.100 / 51. 39.100 libavcodec 54. 1.100 / 54. 1.100 libavformat 54. 0.100 / 54. 0.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 62.100 / 2. 62.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100

mms://live1.wm.skynews.servecast.net/skynews_wmlz_live300k: No such file or directory

Changing it to mmsh://... works fine:

ffplay mmsh://live1.wm.skynews.servecast.net/skynews_wmlz_live300k

ffplay version N-37771-gfd0b8d5 Copyright (c) 2003-2012 the FFmpeg developers

built on Feb 11 2012 13:42:37 with gcc 4.6.2

libavutil 51. 39.100 / 51. 39.100 libavcodec 54. 1.100 / 54. 1.100 libavformat 54. 0.100 / 54. 0.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 62.100 / 2. 62.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100

[wmv3 @ 014DD260] Extra data: 8 bits left, value: 0 [asf @ 00A4D8E0] Estimating duration from bitrate, this may be inaccurate Input #0, asf, from 'mmsh://live1.wm.skynews.servecast.net/skynews_wmlz_live300k':

Metadata:

title : Sky News artist : BSkyB copyright : BSkyB WMFSDKVersion : 11.0.5721.5145 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0

Duration: N/A, start: 2308326.720000, bitrate: 252 kb/s

Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 1 channels, s16, 32 kb/s Stream #0:1(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 320x180, 220 kb/s, 25 tbr, 1k tbn, 1k tbc

[wmv3 @ 014DD260] Extra data: 8 bits left, value: 0


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

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

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

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

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


#1018 ffmpeg cannot decode quicktime with combined gif and blur streams undetermined enhancement Feb 23, 2012

I have the latest ffmpeg compiled and I cannot decode a creating .mov quicktime file (which seems to contain a GIF which I displayed with Bino).

~/zend/workspaces$ ffprobe -show_streams -print_format json -show_format ~/Desktop/703 ffprobe version N-37137-g749e5dc Copyright (c) 2007-2012 the FFmpeg developers

built on Feb 6 2012 18:30:38 with clang 3.0 (tags/Apple/clang-211.10.1) configuration: --disable-decoder=amrnb --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxvid --enable-libx264 --enable-libvpx --enable-hardcoded-tables --enable-shared --enable-pthreads --disable-indevs --cc=clang libavutil 51. 34.101 / 51. 34.101 libavcodec 53. 59.100 / 53. 59.100 libavformat 53. 30.100 / 53. 30.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 60.100 / 2. 60.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe10c03d800] multiple edit list entries, a/v desync might occur, patch welcome

Last message repeated 1 times

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe10c03d800] Could not find codec parameters (Video: none (blur / 0x72756C62), 160x120, 0 kb/s) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/alaindazzi/Desktop/703':

Metadata:

creation_time : 2003-12-16 16:25:56

Duration: 00:00:02.06, start: 0.000000, bitrate: 34 kb/s

Stream #0:0(eng): Video: gif (gif / 0x20666967), pal8, 160x120, 152 kb/s, 15 fps, 15 tbr, 600 tbn, 600 tbc Metadata:

creation_time : 2003-12-16 16:25:56 handler_name : ?Apple Alias Data Handler

Stream #0:1(eng): Video: none (blur / 0x72756C62), 160x120, 0 kb/s, 0.50 fps, 0.50 tbr, 600 tbn, 600 tbc Metadata:

creation_time : 2003-12-16 16:25:56 handler_name : ?Apple Alias Data Handler

Stream #0:2(eng): Video: gif (gif / 0x20666967), pal8, 160x120, 152 kb/s, 15 fps, 15 tbr, 600 tbn, 600 tbc Metadata:

creation_time : 2003-12-16 16:25:56 handler_name : ?Apple Alias Data Handler

Unsupported codec with id 0 for input stream 1 {

"streams": [

{

"index": 0, "codec_name": "gif", "codec_long_name": "GIF (Graphics Interchange Format)", "codec_type": "video", "codec_time_base": "1/600", "codec_tag_string": "gif ", "codec_tag": "0x20666967", "width": 160, "height": 120, "has_b_frames": 0, "pix_fmt": "pal8", "level": -99, "bit_rate": "152400", "r_frame_rate": "15/1", "avg_frame_rate": "15/1", "time_base": "1/600", "start_time": "0.066667", "duration": "0.066667", "nb_frames": "1", "tags": {

"creation_time": "2003-12-16 16:25:56", "language": "eng", "handler_name": "\u0018Apple Alias Data Handler"

}

}, {

"index": 1, "codec_type": "video", "codec_time_base": "1/600", "codec_tag_string": "blur", "codec_tag": "0x72756c62", "width": 160, "height": 120, "has_b_frames": 0, "level": -99, "bit_rate": "896", "r_frame_rate": "1/2", "avg_frame_rate": "1/2", "time_base": "1/600", "start_time": "0.066667", "duration": "2.000000", "nb_frames": "1", "tags": {

"creation_time": "2003-12-16 16:25:56", "language": "eng", "handler_name": "\u0018Apple Alias Data Handler"

}

}, {

"index": 2, "codec_name": "gif", "codec_long_name": "GIF (Graphics Interchange Format)", "codec_type": "video", "codec_time_base": "1/600", "codec_tag_string": "gif ", "codec_tag": "0x20666967", "width": 160, "height": 120, "has_b_frames": 0, "pix_fmt": "pal8", "level": -99, "bit_rate": "152400", "r_frame_rate": "15/1", "avg_frame_rate": "15/1", "time_base": "1/600", "start_time": "0.000000", "duration": "0.066667", "nb_frames": "1", "tags": {

"creation_time": "2003-12-16 16:25:56", "language": "eng", "handler_name": "\u0018Apple Alias Data Handler"

}

}

], "format": {

"filename": "/Users/alaindazzi/Desktop/703", "nb_streams": 3, "format_name": "mov,mp4,m4a,3gp,3g2,mj2", "format_long_name": "QuickTime?/MPEG-4/Motion JPEG 2000 format", "start_time": "0.000000", "duration": "2.066667", "size": "8931", "bit_rate": "34571", "tags": {

"creation_time": "2003-12-16 16:25:56"

}

}

} ~/zend/workspaces$

Can someone help me with this issue?


#1043 add support for Predefined SLConfigDescriptor avformat enhancement Mar 7, 2012

Hi all,

I got the following output from the latest win32 static build from Zeranoes ffmpeg-git-a4c22e3-win32-static.7z (dated 2012-02-27) (upgrading from ffmpeg version git-N-30698-g39dbe9b, built on Jun 10 2011 22:10:00 with gcc 4.5.3), and also from my win32 build of FFmpeg (using the latest git version).

A search backward from this point (not extensive) revealed the problem is NOT in ffmpeg-0.7.1-win32-static, ffmpeg-0.8-win32-static, ffmpeg-git-9c2651a-win32-static, ffmpeg-git-276f43b-win32-static, ffmpeg-git-cbf914c-win32-static or ffmpeg\ffmpeg-git-e403a97-win32-static.

[mpegts @ 02ACBA60] Predefined SLConfigDescriptor 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.

FFmpeg is used to convert AVC + AAC in a ts container to MPG for editing priot to using FFmpeg to convert the edited MPG to MP4.

Attached A V Input to MPG.bat, 0000.ts


#1047 add cdxl encoder and muxer undetermined enhancement Mar 9, 2012

See ticket #665


#1048 add IFF ILBM encoder and muxer undetermined enhancement Mar 9, 2012

should be usable (ham6 encoder):

http://aminet.net/package/gfx/conv/Wasp202b


#1060 Suppport csf file format undetermined enhancement Mar 13, 2012

video is frozen.


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

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

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

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

#1158 support iXML riff chunk avformat enhancement Apr 2, 2012

This sample file contains metadata in a bext chunk and iXML chunk.

http://www.gallery.co.uk/ixml/examples/usesEntireiXMLSpec.WAV

With the flac utility there is an option called --keep-foreign-metadata that allows these chunks to be copied to the flac output. When I use ffmpeg to transcode the wav to a flac file there is no means to keep the bext chunk or ixml chunk of source file.

ffmpeg -i usesEntireiXMLSpec.WAV usesEntireiXMLSpec.flac
ffmpeg version N-35765-gf9143d2 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 31 2012 12:44:33 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-libfreetype --cc=/usr/bin/llvm-gcc --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libass --disable-ffplay
  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, wav, from 'usesEntireiXMLSpec.WAV':
  Metadata:
    comment         : gSCENE=66a 
                    : gTAKE=002 
                    : gTAPE=007 
                    : gNOTE=Circle  
                    : gUBITS=00000000 
                    : 
    encoded_by      : Gallery Metacorder
    date            : 2005:08:04
    creation_time   : 16:55:54
    time_reference  : 4090608000
    coding_history  : 
  Duration: 00:00:02.18, bitrate: 781 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, s16, 768 kb/s
Output #0, flac, to 'usesEntireiXMLSpec.flac':
  Metadata:
    comment         : gSCENE=66a 
                    : gTAKE=002 
                    : gTAPE=007 
                    : gNOTE=Circle  
                    : gUBITS=00000000 
                    : 
    encoded_by      : Gallery Metacorder
    date            : 2005:08:04
    creation_time   : 16:55:54
    time_reference  : 4090608000
    coding_history  : 
    encoder         : Lavf54.3.100
    Stream #0:0: Audio: flac, 48000 Hz, 1 channels, s16, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le -> flac)
Press [q] to stop, [?] for help
size=      42kB time=00:00:02.20 bitrate= 155.8kbits/s    
video:0kB audio:34kB global headers:0kB muxing overhead 24.469009%

#1199 Playlist support avformat enhancement Apr 13, 2012

Would it be too difficult to add the playlist support in FFmpeg in such way that it would help replace using "for", "while" and other loops, in batch scripts? Here is an example of possible implementation:

ffmpeg -f playlist -i list.m3u -acodec copy -vcodec copy -f mp4 %1.new.mp4

This would have an effect of looping through the entire list.m3u file, reading each file from the playlist and remuxing it into mp4 format, saving it to a new file name, using a file name pattern (just like -f image2 does with "img%03d.png"), where %1 might represent the original file name.

I'm willing to make a patch for this enhancement, I just need a little push in the right direction. Which files should I look at, to edit them? I'll try to write it and submit the patch here.

This enhancement could also be used with ffplay, to play a playlist instead of one file.


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

Hi

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

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

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

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

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


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

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

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

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


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

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

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

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

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

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

I can supply sample files.


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

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

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

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

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

#1347 gif parser avcodec enhancement May 23, 2012

with the test image attached image2 works:

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

whereas image2pipe doesn't:

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

#1482 Support eia_608 in wtv avformat enhancement Jun 23, 2012

Summary of the bug: When extracing subtitles in SRT format FFMPEG creates a file but it is an illegible format.

The link to the original file (too big to attach) http://www.mediafire.com/?dnvw6m61mky8pea

Attaching the output file created

How to reproduce: COMMAND: ffmpeg -i srt.ts -an -vn -scodec copy -copyinkf -f srt sub.srt

ffmpeg version N-41578-ga5c1a0c Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 13 2012 22:34:53 with gcc 4.6.3
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enab
le-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschro
edinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --ena  libavutil      51. 58.100 / 51. 58.100
  libavcodec     54. 25.100 / 54. 25.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 79.100 /  2. 79.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mpegts @ 002dbd00] max_analyze_duration 5000000 reached at 5000000
[NULL @ 02b171c0] start time is not set in estimate_timings_from_pts
Input #0, mpegts, from 'srt.ts':
  Duration: 00:01:38.16, start: 0.151678, bitrate: 4310 kb/s
  Program 1
    Stream #0:0[0x30]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 15000 kb
/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x40](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 256 kb/s
    Stream #0:2[0x50](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Output #0, srt, to 'sub.srt':
  Metadata:
    encoder         : Lavf54.6.101
    Stream #0:0(eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream mapping:
  Stream #0:2 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=     113kB time=00:01:37.25 bitrate=   9.5kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)

#1484 Width and Height wrong on mov file undetermined enhancement Jun 24, 2012

This file is from ticket #126.

http://sms.pangolin.com/temp/r-2002-30.mov

The reported width and height from ffmpeg is: 352x288

The real width and height is: 320x240

Plays correctly in VLC and QuickTime?. MediaInfo? also reports the correct width and height. Playback is incorrect for ffmpeg related code because of width/height problem.

C:\ffmpeg-dev\bin>ffplay c:\r-2002-30.mov
ffplay version N-41843-gc17808c Copyright (c) 2003-2012 the FFmpeg developers
  built on Jun 22 2012 17:41:57 with gcc 4.7.1
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3
 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth 
 --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype
 --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg
 --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora
 --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
 --enable-libxvid --enable-zlib
  libavutil      51. 61.100 / 51. 61.100
  libavcodec     54. 29.100 / 54. 29.100
  libavformat    54. 11.100 / 54. 11.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 82.100 /  2. 82.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'c:\r-2002-30.mov':
  Metadata:
    creation_time   : 2001-08-08 17:13:07
  Duration: 00:03:27.66, start: 0.000000, bitrate: 811 kb/s
    Stream #0:0(eng): Video: h263 (h263 / 0x33363268), yuv420p, 352x288 [SAR 12:
11 DAR 4:3], 435 kb/s, 15 fps, 15 tbr, 1500 tbn, 29.97 tbc
    Metadata:
      creation_time   : 2001-08-08 17:13:07
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 44100 Hz, 2 channels, s16, 352 kb/s
    Metadata:
      creation_time   : 2001-08-08 17:13:07
      handler_name    : Apple Alias Data Handler
[ffplay_buffer @ 0130bfc0] w:352 h:288 pixfmt:yuv420p tb:1/1500 fr:0/1 sar:12/11
 sws_param:
  39.00 A-V:  0.053 fd=  52 aq=    6KB vq=  121KB sq=    0B f=0/0   f=0/0

#1496 Stream passthru : VideoCodec copy ffserver enhancement Jul 1, 2012

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.


#1497 Support for EDL cutting while encoding videos undetermined enhancement Jul 1, 2012

Can FFMPEG add support to read an EDL file to cut video files while encoding? this is something similar to what mencoder does.

EDL format is very simple, it consists of 3 tab delimited columns

StartTimeStamp? EndTimeStamp? 0 .....

Basically it gives the start and end time stamps for cutting video/skipping video while encoding a file. Each row represents a start and end time stamp for cutting/leaving video out of the final conversion.

It would be of great help instead of trying to cut a video into pieces and trying to merge it back together, which is a nightmare!


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

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

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

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

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


#1748 Rtsp stream can connect but cannot fetch any data with tcp.But vlc player can play this rtsp. avformat enhancement Sep 18, 2012

1.Download FFmpeg git-8bdba0b Source Code (Latest)(2012-09-14)from http://ffmpeg.zeranoe.com/builds/. 2.run cmd :c:
Windows\system32\cmd.exe 3.ffplay.exe rtsp://58.241.134.33:554/301

ps:vlc player can player this rtsp


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

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

How to make use of the feature?

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

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

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

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

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


#1793 Widevine support avformat enhancement Oct 8, 2012

Hi there, I was wondering if there will be any (future) support for the Widevine video streaming codec/protocol (video/x-widevine).

More and more online content providers start to use this method and it would be nice to have this codec/protocol supported?

http://www.widevine.com/ https://tools.google.com/dlpage/widevine


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

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

Any chance we could get support for multiple threads?

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


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

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

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

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

also failed on latest ffmpeg-1.0:

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


#1959 Support codec2 avcodec enhancement Nov 24, 2012

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/


#1964 Request support for decoding / demuxing Adobe HDS dynamic http streaming avformat enhancement Nov 25, 2012

Adobe HDS is an adaptive streaming format used primarily to deliver video streams through content delivery networks.

It uses a manifest file (F4F) to describe the segments of a file, and then it adaptively delivers segments and sequences in the "optimal" bitrate depending on the client's bandwith and the total server load.

Certain major content providers are moving to this format (at least in Sweden) and it would be really great if ffmpeg could support it.

A good summary of HDS is found at: http://rdkls.blogspot.se/2011/11/what-i-know-about-http-adaptive.html

It seems that most projects that do decode such streams use a PHP script (!) found at: https://github.com/K-S-V/Scripts/blob/master/AdobeHDS.php

The Open Source Media Player project has action script code which probably does the same thing: http://sourceforge.net/adobe/osmf/

The format is quite similar to applehttp/hls, so it should be possible to borrow some patterns from the support for that format, which is already in libavformat.

I am a C# / java developer and could probably make this happen in C, but it would take a lot of effort. I am not yet familiar with the ffmpeg source code. So I'm hoping that someone might already be working on this? Or that someone well versed on avformat development can take this on. I'd be happy to contribute with my own efforts.

Best regards!


#2001 ffmpeg can't handle mms streaming using http:// prefix avformat enhancement Dec 8, 2012

This works and shows a video:

mplayer http://direct.francetv.fr/regions/evt/medit-nice-direct.wsx?MSWMExt=.asf

while

ffplay http://direct.francetv.fr/regions/evt/medit-nice-direct.wsx?MSWMExt=.asf

does not.

Note that the actual stream works nice with ffmpeg:

ffplay mmsh://direct.francetv.fr/regions/evt/medit-nice-direct.wsx?MSWMExt=.asf

this works and shows a video.


#2055 wtvenc: support subtitle muxing avformat enhancement Dec 23, 2012

Summary of the bug: When FFMPEG tries to copy attachment metadata it fails

How to reproduce:

ffmpeg -i test-wtv.wtv -c copy -map 0 test.wtv

ffmpeg version N-48065-g6375318 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 21 2012 09:06:30 with gcc 4.7.2 (GCC)
  configuration: --enable-static --arch=x86 --target-os=mingw32 --cross-prefix=/home/rdp/dev/ffmpeg-windows-build-helper
s/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth -
-enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheo
ra --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-fontconfig --ena
ble-libass --enable-libutvideo --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-lib
vo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopenc
ore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libbluray --enable-libvpx --enable-runtime-cpudetect

  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 49.102 / 54. 49.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 29.100 /  3. 29.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpeg2video @ 0036f1a0] mpeg_decode_postinit() failure
    Last message repeated 12 times
Input #0, wtv, from 'test-wtv.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Guys With Kids
    WM/SubTitle     : Thanksgiving
    WM/SubTitleDescription: Sheila tries to win the gang over with a traditional Thanksgiving dinner; Gary decides to sp
end the holiday waiting in line for a TV that's on sale.
    genre           : Comedy;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Anthony Anderson/Zach Cregger/Jesse Bradford/Jamie-Lynn Sigler/Tempestt Bledsoe;;;Emmitt Smith/Eri
nn Hayes
    service_provider: KNBC
    service_name    : KNBC
    WM/MediaNetworkAffiliation: NBC Affiliate
    WM/MediaOriginalChannel: 4
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 2012-11-21T08:00:00Z
    WM/MediaOriginalRunTime: 20974292466
    WM/MediaIsStereo: true
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: TV-PG
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2012-11-22 04:28:02
    WM/WMRVSeriesUID: !MCSeries!274690485
    WM/WMRVServiceID: !MCService!28455445
    WM/WMRVProgramID: !MCProgram!282437030
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 420
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: false
  Duration: 00:31:59.52, start: 2.880931, bitrate: 8 kb/s
    Stream #0:0[0x29](eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:1[0x2a](eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Stream #0:2[0x2b]: Video: mpeg2video (Main), yuv420p, 528x480 [SAR 40:33 DAR 4:3], 29.97 fps, 29.97 tbr, 10000k tbn,
 59.94 tbc
    Stream #0:3[0x2c]: Subtitle: eia_608
    Stream #0:4[0x0]: Attachment: mjpeg
    Metadata:
      title           : TV Thumbnail
[wtv @ 02d8a780] unknown codec_type (0x3)
[wtv @ 02d8a780] write stream codec info failed codec_type(0x3)
[wtv @ 02d8a780] write stream codec failed codec_type(0x3)
Output #0, wtv, to 'test.wtv':
  Metadata:
    WM/MediaClassPrimaryID: db9830bd-3ab3-4fab-8a371a995f7ff74
    WM/MediaClassSecondaryID: ba7f258a-62f7-47a9-b21f4651c42a000
    Title           : Guys With Kids
    WM/SubTitle     : Thanksgiving
    WM/SubTitleDescription: Sheila tries to win the gang over with a traditional Thanksgiving dinner; Gary decides to sp
end the holiday waiting in line for a TV that's on sale.
    genre           : Comedy;Series
    WM/OriginalReleaseTime: 0
    WM/MediaCredits : Anthony Anderson/Zach Cregger/Jesse Bradford/Jamie-Lynn Sigler/Tempestt Bledsoe;;;Emmitt Smith/Eri
nn Hayes
    service_provider: KNBC
    service_name    : KNBC
    WM/MediaNetworkAffiliation: NBC Affiliate
    WM/MediaOriginalChannel: 4
    WM/MediaOriginalChannelSubNumber: 0
    WM/MediaOriginalBroadcastDateTime: 2012-11-21T08:00:00Z
    WM/MediaOriginalRunTime: 20974292466
    WM/MediaIsStereo: true
    WM/MediaIsRepeat: false
    WM/MediaIsLive  : false
    WM/MediaIsTape  : false
    WM/MediaIsDelay : false
    WM/MediaIsSubtitled: false
    WM/MediaIsMovie : false
    WM/MediaIsPremiere: false
    WM/MediaIsFinale: false
    WM/MediaIsSAP   : false
    WM/MediaIsSport : false
    WM/ParentalRating: TV-PG
    WM/Provider     : MediaCenterDefault
    WM/VideoClosedCaptioning: true
    WM/WMRVEncodeTime: 2012-11-22 04:28:02
    WM/WMRVSeriesUID: !MCSeries!274690485
    WM/WMRVServiceID: !MCService!28455445
    WM/WMRVProgramID: !MCProgram!282437030
    WM/WMRVRequestID: 0
    WM/WMRVScheduleItemID: 0
    WM/WMRVQuality  : 0
    WM/WMRVOriginalSoftPrePadding: 420
    WM/WMRVOriginalSoftPostPadding: 180
    WM/WMRVHardPrePadding: -300
    WM/WMRVHardPostPadding: 0
    WM/WMRVATSCContent: true
    WM/WMRVDTVContent: true
    WM/WMRVHDContent: false
    encoder         : Lavf54.49.102
    Stream #0:0(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, 192 kb/s
    Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, 192 kb/s
    Stream #0:2: Video: mpeg2video (mpg2 / 0x3267706D), yuv420p, 528x480 [SAR 40:33 DAR 4:3], q=2-31, 29.97 fps, 90k tbn
, 29.97 tbc
    Stream #0:3: Subtitle: eia_608
    Stream #0:4: Attachment: mjpeg (MJPG / 0x47504A4D)
    Metadata:
      title           : TV Thumbnail
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)
Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted

ffmpeg -i test.wtv

ffmpeg version N-48065-g6375318 Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 21 2012 09:06:30 with gcc 4.7.2 (GCC)
  configuration: --enable-static --arch=x86 --target-os=mingw32 --cross-prefix=/home/rdp/dev/ffmpeg-windows-build-helper
s/sandbox/mingw-w64-i686/bin/i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-avisynth -
-enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheo
ra --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-fontconfig --ena
ble-libass --enable-libutvideo --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-lib
vo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopenc
ore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libbluray --enable-libvpx --enable-runtime-cpudetect

  libavutil      52. 12.100 / 52. 12.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 49.102 / 54. 49.102
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 29.100 /  3. 29.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[wtv @ 0035c940] timeline data missing
test.wtv: Invalid data found when processing input

#2097 Let Gradfun output an undithered image of higher bit depth. avfilter enhancement Jan 2, 2013

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.


#2112 support for NL Filter avfilter enhancement Jan 5, 2013

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.


#2208 Unable to extract PGS subtitles (*.sup) from Bluray m2ts avformat enhancement Jan 29, 2013

Summary of the bug:

I'm trying to demux bluray disk (m2ts video file) into separate streams and I can't make ffmpeg extract PGS subtitles (*.SUP), it outputs "Unable to find a suitable output format for sup". However eac3to successfully extracts subtitles.

Versions I tested:

  • latest c46943e x64 and x32 26-Jan-2013
  • ffmpeg-20120601-git-8a0efa9-win32-static.7z 31-May-2012
  • ffmpeg-git-4e7b3ef-win32-static.7z 16-Nov-2011
  • ffmpeg-git-4e7b3ef-win32-static.7z 16-Nov-2011
  • ffmpeg-git-9c2651a-win32-static.7z 23-Jul-2011
  • ffmpeg-git-69aab68-32-bit-static.7z 09-May-2011
  • ffmpeg-git-1aeb88b-win32-static.7z 09-May-2011

OS: Win7 x64.

Increasing analyzeduration/probesize doesn't help.

File itself (197 Mb): http://dl.dropbox.com/u/13667533/00038.m2ts

My forum topic on the issue: http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=7&t=940&e=0 I found irc log with discussion on the same problem: http://lists.ffmpeg.org/pipermail/ffmpeg-devel-irc/2012-December/001088.html

How to reproduce:

$ ffmpeg.exe -v 9 -loglevel 99 -analyzeduration 999999999 -probesize 999999999 -i 00038.m2ts -c:s copy -map 0:5 "track_05 - Subtitles.sup"

ffmpeg version N-49352-gc46943e Copyright (c) 2000-2013 the FFmpeg developers
  built on Jan 26 2013 12:12:14 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.102 / 54.  3.102
  libavfilter     3. 34.101 /  3. 34.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set libav* logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging level) with argument '99'.
Reading option '-analyzeduration' ... matched as AVOption 'analyzeduration' with argument '999999999'.
Reading option '-probesize' ... matched as AVOption 'probesize' with argument '999999999'.
Reading option '-i' ... matched as input file with argument '00038.m2ts'.
Reading option '-c:s' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:5'.
Reading option 'track_05 - Subtitles.sup' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set libav* logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file 00038.m2ts.
Successfully parsed a group of options.
Opening an input file: 00038.m2ts.
[mpegts @ 00000000020de620] Format mpegts probed with size=2048 and score=100
[mpegts @ 00000000020de620] stream=0 stream_type=1b pid=1011 prog_reg_desc=HDMV
[mpegts @ 00000000020de620] stream=1 stream_type=83 pid=1100 prog_reg_desc=HDMV
[mpegts @ 00000000020de620] stream=3 stream_type=81 pid=1101 prog_reg_desc=HDMV
[mpegts @ 00000000020de620] stream=4 stream_type=81 pid=1102 prog_reg_desc=HDMV
[mpegts @ 00000000020de620] stream=5 stream_type=90 pid=1200 prog_reg_desc=HDMV
[mpegts @ 00000000020de620] stream=6 stream_type=90 pid=1201 prog_reg_desc=HDMV
[mpegts @ 00000000020de620] stream=7 stream_type=90 pid=1202 prog_reg_desc=HDMV
[mpegts @ 00000000020de620] stream=8 stream_type=90 pid=1203 prog_reg_desc=HDMV
[mpegts @ 00000000020de620] File position before avformat_find_stream_info() is 0
[mpegts @ 00000000020de620] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid.
    Last message repeated 3 times
[h264 @ 0000000002147fe0] no picture
[mpegts @ 00000000020de620] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid.
[mpegts @ 00000000020de620] Non-increasing DTS in stream 5: packet 2 with DTS 1132818, packet 3 with DTS 1132818
[mpegts @ 00000000020de620] Non-increasing DTS in stream 5: packet 4 with DTS 1142401, packet 5 with DTS 1142401
[mpegts @ 00000000020de620] Non-increasing DTS in stream 5: packet 5 with DTS 1142401, packet 6 with DTS 1142401
[mpegts @ 00000000020de620] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid.
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 2 with DTS 1297706, packet 3 with DTS 1297706
[mpegts @ 00000000020de620] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid.
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 2 with DTS 1297706, packet 3 with DTS 1297706
[mpegts @ 00000000020de620] parser not found for codec hdmv_pgs_subtitle, packets or times may be invalid.
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 2 with DTS 1308959, packet 3 with DTS 1308959
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 5 with DTS 1656389, packet 6 with DTS 1656389
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 6 with DTS 1656389, packet 7 with DTS 1656389
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 5 with DTS 1656389, packet 6 with DTS 1656389
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 6 with DTS 1656389, packet 7 with DTS 1656389
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 8 with DTS 1658107, packet 9 with DTS 1658107
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 9 with DTS 1658107, packet 10 with DTS 1658107
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 10 with DTS 1658107, packet 11 with DTS 1658107
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 8 with DTS 1658107, packet 9 with DTS 1658107
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 9 with DTS 1658107, packet 10 with DTS 1658107
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 10 with DTS 1658107, packet 11 with DTS 1658107
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 5 with DTS 1663889, packet 6 with DTS 1663889
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 6 with DTS 1663889, packet 7 with DTS 1663889
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 8 with DTS 1665697, packet 9 with DTS 1665697
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 9 with DTS 1665697, packet 10 with DTS 1665697
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 10 with DTS 1665697, packet 11 with DTS 1665697
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 13 with DTS 1791565, packet 14 with DTS 1791565
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 14 with DTS 1791565, packet 15 with DTS 1791565
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 13 with DTS 1791565, packet 14 with DTS 1791565
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 14 with DTS 1791565, packet 15 with DTS 1791565
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 13 with DTS 1799156, packet 14 with DTS 1799156
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 14 with DTS 1799156, packet 15 with DTS 1799156
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 16 with DTS 1886956, packet 17 with DTS 1886956
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 17 with DTS 1886956, packet 18 with DTS 1886956
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 18 with DTS 1886956, packet 19 with DTS 1886956
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 16 with DTS 1886959, packet 17 with DTS 1886959
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 17 with DTS 1886959, packet 18 with DTS 1886959
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 18 with DTS 1886959, packet 19 with DTS 1886959
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 16 with DTS 1894569, packet 17 with DTS 1894569
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 17 with DTS 1894569, packet 18 with DTS 1894569
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 18 with DTS 1894569, packet 19 with DTS 1894569
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 21 with DTS 2189334, packet 22 with DTS 2189334
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 22 with DTS 2189334, packet 23 with DTS 2189334
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 21 with DTS 2189337, packet 22 with DTS 2189337
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 22 with DTS 2189337, packet 23 with DTS 2189337
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 24 with DTS 2191246, packet 25 with DTS 2191246
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 25 with DTS 2191246, packet 26 with DTS 2191246
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 26 with DTS 2191246, packet 27 with DTS 2191246
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 24 with DTS 2191246, packet 25 with DTS 2191246
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 25 with DTS 2191246, packet 26 with DTS 2191246
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 26 with DTS 2191246, packet 27 with DTS 2191246
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 21 with DTS 2196946, packet 22 with DTS 2196946
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 22 with DTS 2196946, packet 23 with DTS 2196946
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 24 with DTS 2198783, packet 25 with DTS 2198783
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 25 with DTS 2198783, packet 26 with DTS 2198783
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 26 with DTS 2198783, packet 27 with DTS 2198783
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 29 with DTS 2399780, packet 30 with DTS 2399780
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 30 with DTS 2399780, packet 31 with DTS 2399780
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 29 with DTS 2399780, packet 30 with DTS 2399780
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 30 with DTS 2399780, packet 31 with DTS 2399780
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 32 with DTS 2401276, packet 33 with DTS 2401276
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 33 with DTS 2401276, packet 34 with DTS 2401276
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 34 with DTS 2401276, packet 35 with DTS 2401276
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 32 with DTS 2401276, packet 33 with DTS 2401276
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 33 with DTS 2401276, packet 34 with DTS 2401276
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 34 with DTS 2401276, packet 35 with DTS 2401276
[mpegts @ 00000000020de620] DTS discontinuity in stream 8: packet 28 with DTS 2198982, packet 29 with DTS 2407316
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 29 with DTS 2407316, packet 30 with DTS 2407316
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 30 with DTS 2407316, packet 31 with DTS 2407316
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 32 with DTS 2412617, packet 33 with DTS 2412617
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 33 with DTS 2412617, packet 34 with DTS 2412617
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 34 with DTS 2412617, packet 35 with DTS 2412617
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 37 with DTS 2628578, packet 38 with DTS 2628578
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 38 with DTS 2628578, packet 39 with DTS 2628578
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 37 with DTS 2628578, packet 38 with DTS 2628578
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 38 with DTS 2628578, packet 39 with DTS 2628578
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 40 with DTS 2630224, packet 41 with DTS 2630224
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 41 with DTS 2630224, packet 42 with DTS 2630224
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 42 with DTS 2630224, packet 43 with DTS 2630224
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 40 with DTS 2630224, packet 41 with DTS 2630224
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 41 with DTS 2630224, packet 42 with DTS 2630224
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 42 with DTS 2630224, packet 43 with DTS 2630224
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 37 with DTS 2632412, packet 38 with DTS 2632412
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 38 with DTS 2632412, packet 39 with DTS 2632412
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 40 with DTS 2637715, packet 41 with DTS 2637715
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 41 with DTS 2637715, packet 42 with DTS 2637715
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 42 with DTS 2637715, packet 43 with DTS 2637715
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 45 with DTS 3086505, packet 46 with DTS 3086505
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 46 with DTS 3086505, packet 47 with DTS 3086505
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 45 with DTS 3086505, packet 46 with DTS 3086505
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 46 with DTS 3086505, packet 47 with DTS 3086505
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 48 with DTS 3088259, packet 49 with DTS 3088259
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 49 with DTS 3088259, packet 50 with DTS 3088259
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 50 with DTS 3088259, packet 51 with DTS 3088259
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 48 with DTS 3088259, packet 49 with DTS 3088259
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 49 with DTS 3088259, packet 50 with DTS 3088259
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 50 with DTS 3088259, packet 51 with DTS 3088259
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 45 with DTS 3090243, packet 46 with DTS 3090243
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 46 with DTS 3090243, packet 47 with DTS 3090243
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 48 with DTS 3092001, packet 49 with DTS 3092001
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 49 with DTS 3092001, packet 50 with DTS 3092001
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 50 with DTS 3092001, packet 51 with DTS 3092001
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 53 with DTS 3345592, packet 54 with DTS 3345592
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 54 with DTS 3345592, packet 55 with DTS 3345592
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 53 with DTS 3345592, packet 54 with DTS 3345592
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 54 with DTS 3345592, packet 55 with DTS 3345592
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 56 with DTS 3347423, packet 57 with DTS 3347423
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 57 with DTS 3347423, packet 58 with DTS 3347423
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 58 with DTS 3347423, packet 59 with DTS 3347423
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 56 with DTS 3347423, packet 57 with DTS 3347423
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 57 with DTS 3347423, packet 58 with DTS 3347423
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 58 with DTS 3347423, packet 59 with DTS 3347423
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 53 with DTS 3353087, packet 54 with DTS 3353087
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 54 with DTS 3353087, packet 55 with DTS 3353087
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 56 with DTS 3354895, packet 57 with DTS 3354895
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 57 with DTS 3354895, packet 58 with DTS 3354895
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 58 with DTS 3354895, packet 59 with DTS 3354895
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 61 with DTS 3465867, packet 62 with DTS 3465867
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 62 with DTS 3465867, packet 63 with DTS 3465867
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 61 with DTS 3465867, packet 62 with DTS 3465867
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 62 with DTS 3465867, packet 63 with DTS 3465867
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 64 with DTS 3467569, packet 65 with DTS 3467569
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 65 with DTS 3467569, packet 66 with DTS 3467569
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 66 with DTS 3467569, packet 67 with DTS 3467569
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 64 with DTS 3467569, packet 65 with DTS 3467569
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 65 with DTS 3467569, packet 66 with DTS 3467569
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 66 with DTS 3467569, packet 67 with DTS 3467569
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 61 with DTS 3473338, packet 62 with DTS 3473338
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 62 with DTS 3473338, packet 63 with DTS 3473338
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 64 with DTS 3478832, packet 65 with DTS 3478832
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 65 with DTS 3478832, packet 66 with DTS 3478832
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 66 with DTS 3478832, packet 67 with DTS 3478832
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 69 with DTS 3567244, packet 70 with DTS 3567244
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 70 with DTS 3567244, packet 71 with DTS 3567244
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 69 with DTS 3567244, packet 70 with DTS 3567244
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 70 with DTS 3567244, packet 71 with DTS 3567244
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 72 with DTS 3568705, packet 73 with DTS 3568705
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 73 with DTS 3568705, packet 74 with DTS 3568705
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 74 with DTS 3568705, packet 75 with DTS 3568705
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 72 with DTS 3568705, packet 73 with DTS 3568705
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 73 with DTS 3568705, packet 74 with DTS 3568705
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 74 with DTS 3568705, packet 75 with DTS 3568705
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 69 with DTS 3578507, packet 70 with DTS 3578507
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 70 with DTS 3578507, packet 71 with DTS 3578507
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 72 with DTS 3580127, packet 73 with DTS 3580127
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 73 with DTS 3580127, packet 74 with DTS 3580127
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 74 with DTS 3580127, packet 75 with DTS 3580127
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 77 with DTS 3972434, packet 78 with DTS 3972434
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 78 with DTS 3972434, packet 79 with DTS 3972434
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 77 with DTS 3972434, packet 78 with DTS 3972434
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 78 with DTS 3972434, packet 79 with DTS 3972434
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 80 with DTS 3974265, packet 81 with DTS 3974265
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 81 with DTS 3974265, packet 82 with DTS 3974265
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 82 with DTS 3974265, packet 83 with DTS 3974265
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 80 with DTS 3974265, packet 81 with DTS 3974265
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 81 with DTS 3974265, packet 82 with DTS 3974265
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 82 with DTS 3974265, packet 83 with DTS 3974265
[mpegts @ 00000000020de620] DTS discontinuity in stream 8: packet 76 with DTS 3580399, packet 77 with DTS 3976348
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 77 with DTS 3976348, packet 78 with DTS 3976348
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 78 with DTS 3976348, packet 79 with DTS 3976348
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 80 with DTS 3978092, packet 81 with DTS 3978092
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 81 with DTS 3978092, packet 82 with DTS 3978092
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 82 with DTS 3978092, packet 83 with DTS 3978092
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 85 with DTS 4201568, packet 86 with DTS 4201568
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 86 with DTS 4201568, packet 87 with DTS 4201568
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 85 with DTS 4201568, packet 86 with DTS 4201568
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 86 with DTS 4201568, packet 87 with DTS 4201568
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 88 with DTS 4203143, packet 89 with DTS 4203143
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 89 with DTS 4203143, packet 90 with DTS 4203143
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 90 with DTS 4203143, packet 91 with DTS 4203143
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 88 with DTS 4203143, packet 89 with DTS 4203143
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 89 with DTS 4203143, packet 90 with DTS 4203143
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 90 with DTS 4203143, packet 91 with DTS 4203143
[mpegts @ 00000000020de620] DTS discontinuity in stream 8: packet 84 with DTS 3978227, packet 85 with DTS 4209148
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 85 with DTS 4209148, packet 86 with DTS 4209148
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 86 with DTS 4209148, packet 87 with DTS 4209148
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 88 with DTS 4214478, packet 89 with DTS 4214478
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 89 with DTS 4214478, packet 90 with DTS 4214478
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 90 with DTS 4214478, packet 91 with DTS 4214478
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 93 with DTS 4520535, packet 94 with DTS 4520535
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 94 with DTS 4520535, packet 95 with DTS 4520535
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 93 with DTS 4520535, packet 94 with DTS 4520535
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 94 with DTS 4520535, packet 95 with DTS 4520535
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 96 with DTS 4522126, packet 97 with DTS 4522126
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 97 with DTS 4522126, packet 98 with DTS 4522126
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 98 with DTS 4522126, packet 99 with DTS 4522126
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 96 with DTS 4522172, packet 97 with DTS 4522172
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 97 with DTS 4522172, packet 98 with DTS 4522172
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 98 with DTS 4522172, packet 99 with DTS 4522172
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 93 with DTS 4524363, packet 94 with DTS 4524363
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 94 with DTS 4524363, packet 95 with DTS 4524363
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 96 with DTS 4529803, packet 97 with DTS 4529803
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 97 with DTS 4529803, packet 98 with DTS 4529803
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 98 with DTS 4529803, packet 99 with DTS 4529803
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 101 with DTS 4813242, packet 102 with DTS 4813242
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 102 with DTS 4813242, packet 103 with DTS 4813242
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 101 with DTS 4813288, packet 102 with DTS 4813288
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 102 with DTS 4813288, packet 103 with DTS 4813288
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 104 with DTS 4815132, packet 105 with DTS 4815132
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 105 with DTS 4815132, packet 106 with DTS 4815132
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 106 with DTS 4815132, packet 107 with DTS 4815132
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 104 with DTS 4815132, packet 105 with DTS 4815132
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 105 with DTS 4815132, packet 106 with DTS 4815132
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 106 with DTS 4815132, packet 107 with DTS 4815132
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 101 with DTS 4817166, packet 102 with DTS 4817166
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 102 with DTS 4817166, packet 103 with DTS 4817166
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 104 with DTS 4818900, packet 105 with DTS 4818900
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 105 with DTS 4818900, packet 106 with DTS 4818900
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 106 with DTS 4818900, packet 107 with DTS 4818900
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 109 with DTS 4933576, packet 110 with DTS 4933576
[mpegts @ 00000000020de620] Non-increasing DTS in stream 6: packet 110 with DTS 4933576, packet 111 with DTS 4933576
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 109 with DTS 4933576, packet 110 with DTS 4933576
[mpegts @ 00000000020de620] Non-increasing DTS in stream 7: packet 110 with DTS 4933576, packet 111 with DTS 4933576
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 109 with DTS 4941097, packet 110 with DTS 4941097
[mpegts @ 00000000020de620] Non-increasing DTS in stream 8: packet 110 with DTS 4941097, packet 111 with DTS 4941097
rfps: 23.976024 0.000000
    Last message repeated 1 times
rfps: 47.952048 0.000000
    Last message repeated 1 times
[mpegts @ 00000000020de620] File position after avformat_find_stream_info() is 0
Input #0, mpegts, from '00038.m2ts':
  Duration: 00:00:43.92, start: 11.608967, bitrate: 35134 kb/s
  Program 1
    Stream #0:0[0x1011], 1052, 1/90000: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1001/48000, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
    Stream #0:1[0x1100], 52653, 1/90000: Audio: truehd (AC-3 / 0x332D4341), 48000 Hz, 7.1, s32
    Stream #0:2[0x1100], 1372, 1/90000: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 640 kb/s
    Stream #0:3[0x1101], 1372, 1/90000: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 320 kb/s
    Stream #0:4[0x1102], 1372, 1/90000: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 320 kb/s
    Stream #0:5[0x1200], 7, 1/90000: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:6[0x1201], 112, 1/90000: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:7[0x1202], 112, 1/90000: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    Stream #0:8[0x1203], 112, 1/90000: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
Successfully opened the file.
Parsing a group of options: output file track_05 - Subtitles.sup.
Applying option c:s (codec name) with argument copy.
Applying option map (set input stream mapping) with argument 0:5.
Successfully parsed a group of options.
Opening an output file: track_05 - Subtitles.sup.
[NULL @ 00000000052d0a80] Unable to find a suitable output format for 'track_05 - Subtitles.sup'
track_05 - Subtitles.sup: Invalid argument
[AVIOContext @ 000000000215cc40] Statistics: 193128592 bytes read, 2 seeks


#2306 Vividas Demuxer for IPLEX avformat enhancement Feb 26, 2013

Vividas is the demuxer used by iplex.pl video streaming site and probably other sites as well. Patches for it are floating around, but it would be nice if it could be included in the ffmpeg git tree as well. I have tested this patch with version 0.10 and confirmed it is working http://sd-xbmc.googlecode.com/files/0001-Vividas-support-for-IPLEX-for-current-ffmpeg.patch There is also update availavle for version 0.11 https://gist.github.com/3770979 which works with 1.0. In form of patch located here http://pastebin.com/9bwHUJF2

Please review and add it in the tree

PS I am not developer so if changes are required to the patch Krzysztof Klinikowski or Tomasz Jezierski whom worked on those patches are probably more appropriate guys to ask about it


#2351 Make the unsharp filter Adaptive avfilter enhancement Mar 13, 2013

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.


#2352 LXF VBI data support avformat enhancement Mar 13, 2013

I noticed when using ffmpeg/avformat that Harris LXF VBI data isn't supported.

I have an updated file which outlines all details of LXF v1 and v2. LXF information starts on page 9, and the .doc has embedded sample code and applications for developing support.

I just wanted to share this new file for anyone who is interested in enhancing LXF format support.


#2377 Support lossless mp3HD avcodec enhancement Mar 19, 2013

FFmpeg does not support decoding the lossless layer of mp3HD

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

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

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

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

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

At least one output file must be specified


#2423 creating PS3 compatible VOB/MP4 files with DTS sound avformat enhancement Apr 2, 2013

this is a request for a new feature in ffmpeg. i searched the whole documentation and came to the conclusion that this isn't currently supported. if it already *is* supported, the documentation should be extended to make this obvious.

the Sony PS3 isn't able to play VOB/MP4 files with DTS sound. however, if the DTS soundtrack is "disguised" as PCM with a fake PCM 2.0 header, the sounds is forwarded to the optical output, effectively enabling playback of the DTS surround sound.

PS3MediaServer and MKV2VOB employ this hack to enable surround sound playback on the PS3. i'd like to be able to achieve this with only ffmpeg too, i.e. transcode a file to MP4, specify some command line flag to enable this hack, and have it play with sound on the PS3.

some more information about the DTS/PCM2.0 header hack: http://www.ps3mediaserver.org/forum/viewtopic.php?f=11&t=7673 http://www.avforums.com/forums/ps3-media-streaming/1163141-verifying-ps3-sending-dts-vs-linear-pcm.html http://www.avforums.com/forums/ps3-media-streaming/1087192-mkv2vob-can-patch-dts-stream-m2ts-why-cant-tsmuxer-do-same-thing.html


#2443 Support rx values for deshake that are not multiples of 16 avfilter enhancement Apr 7, 2013

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.


#2522 Give ffmpeg (better) mp4 chapter editing support undetermined enhancement May 1, 2013

It would be cool to either

  1. merge chaptered mpeg-4 files (m4b, etc.) and have the chapters + chapter offsets automatically adjusted
  2. be able to do #1 manually.

If I merge two m4bs right now, the resultant file has the length and chapters of the first.

$ ffmpeg -i 04\ Harry\ Potter\ and\ the\ Goblet\ of\ Fire,\ Part\ 1.m4b -i 05\ Harry\ Potter\ and\ the\ Goblet\ of\ Fire,\ Part\ 2.m4b -y output.m4a ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 30 2013 13:13:33 with Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb7f4015a00] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb7f4015a00] max_analyze_duration 5000000 reached at 5015510 microseconds
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '04 Harry Potter and the Goblet of Fire, Part 1.m4b':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42mp41
    creation_time   : 2013-04-30 17:05:28
    title           : Harry Potter and the Goblet of Fire, Part 1
    track           : 4/12
    album           : Harry Potter
    genre           : Audiobooks
    artist          : J. K. Rowling
    encoder         : Audiobook Builder 1.5.3 (www.splasm.com), QuickTime 7.7.1
    media_type      : 2
  Duration: 12:40:14.85, start: 0.000000, bitrate: 301 kb/s
    Chapter #0.0: start 0.000000, end 1616.706667
    Metadata:
      title           : The Riddle House
    Chapter #0.1: start 1616.706667, end 2630.053333
    Metadata:
      title           : The Scar
    Chapter #0.2: start 2630.053333, end 3769.386667
    Metadata:
      title           : The Invitation
    Chapter #0.3: start 3769.386667, end 4891.320000
    Metadata:
      title           : Back to the Burrow
    Chapter #0.4: start 4891.320000, end 6217.813333
    Metadata:
      title           : Weasleys' Wizard Wheezes
    Chapter #0.5: start 6217.813333, end 7104.106667
    Metadata:
      title           : The Portkey
    Chapter #0.6: start 7104.106667, end 9077.773333
    Metadata:
      title           : Bagman and Crouch
    Chapter #0.7: start 9077.773333, end 11278.266667
    Metadata:
      title           : The Quidditch World Cup
    Chapter #0.8: start 11278.266667, end 14019.426667
    Metadata:
      title           : The Dark Mark
    Chapter #0.9: start 14019.426667, end 15219.186667
    Metadata:
      title           : Mayhem at the Ministry
    Chapter #0.10: start 15219.186667, end 16450.040000
    Metadata:
      title           : Aboard the Hogwarts Express
    Chapter #0.11: start 16450.040000, end 18660.160000
    Metadata:
      title           : The Triwizard Tournament
    Chapter #0.12: start 18660.160000, end 20293.186667
    Metadata:
      title           : Mad-Eye Moody
    Chapter #0.13: start 20293.186667, end 22304.925000
    Metadata:
      title           : The Unforgivable Curses
    Chapter #0.14: start 22304.925000, end 24397.378333
    Metadata:
      title           : Beauxbatons and Durmstrang
    Chapter #0.15: start 24397.378333, end 26863.071667
    Metadata:
      title           : The Goblet of Fire
    Chapter #0.16: start 26863.071667, end 28587.405000
    Metadata:
      title           : The Four Champions
    Chapter #0.17: start 28587.405000, end 31132.271667
    Metadata:
      title           : The Weighing of the Wands
    Chapter #0.18: start 31132.271667, end 33531.911667
    Metadata:
      title           : The Hungarian Horntail
    Chapter #0.19: start 33531.911667, end 36202.245000
    Metadata:
      title           : The First Task
    Chapter #0.20: start 36202.245000, end 38363.178333
    Metadata:
      title           : The House-Elf Liberation Front
    Chapter #0.21: start 38363.178333, end 40051.618333
    Metadata:
      title           : The Unexpected Task
    Chapter #0.22: start 40051.618333, end 43178.978333
    Metadata:
      title           : The Yule Ball
    Chapter #0.23: start 43178.978333, end 45614.880000
    Metadata:
      title           : Rita Skeeter's Scoop
    Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 298 kb/s
    Metadata:
      creation_time   : 2013-04-30 17:05:28
      handler_name    : Apple Sound Media Handler
    Stream #0:1(eng): Video: png (png  / 0x20676E70), rgba, 425x512 [SAR 2835:2835 DAR 425:512], 0 kb/s, 0k fps, 0k tbr, 600 tbn, 600 tbc
    Metadata:
      creation_time   : 2013-04-30 17:06:48
      handler_name    : ?Apple Alias Data Handler
    Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574)
    Metadata:
      creation_time   : 2013-04-30 17:06:48
      handler_name    : ?Apple Alias Data Handler
    Stream #0:3: Video: png, rgba, 850x1024 [SAR 5669:5669 DAR 425:512], 90k tbr, 90k tbn, 90k tbc
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb7f406e400] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb7f406e400] max_analyze_duration 5000000 reached at 5015510 microseconds
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '05 Harry Potter and the Goblet of Fire, Part 2.m4b':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42mp41
    creation_time   : 2013-04-30 17:13:43
    title           : Harry Potter and the Goblet of Fire, Part 2
    track           : 5/12
    album           : Harry Potter
    genre           : Audiobooks
    artist          : J. K. Rowling
    encoder         : Audiobook Builder 1.5.3 (www.splasm.com), QuickTime 7.7.1
    media_type      : 2
  Duration: 07:55:55.35, start: 0.000000, bitrate: 308 kb/s
    Chapter #1.0: start 0.000000, end 2228.533333
    Metadata:
      title           : The Egg and the Eye
    Chapter #1.1: start 2228.533333, end 5145.080000
    Metadata:
      title           : The Second Task
    Chapter #1.2: start 5145.080000, end 7839.186667
    Metadata:
      title           : Padfoot Returns
    Chapter #1.3: start 7839.186667, end 10752.293333
    Metadata:
      title           : The Madness of Mr Crouch
    Chapter #1.4: start 10752.293333, end 12453.186667
    Metadata:
      title           : The Dream
    Chapter #1.5: start 12453.186667, end 15063.880000
    Metadata:
      title           : The Pensieve
    Chapter #1.6: start 15063.880000, end 18109.546667
    Metadata:
      title           : The Third Task
    Chapter #1.7: start 18109.546667, end 18895.600000
    Metadata:
      title           : Flesh, Blood & Bone
    Chapter #1.8: start 18895.600000, end 20799.280000
    Metadata:
      title           : The Death Eaters
    Chapter #1.9: start 20799.280000, end 21947.453333
    Metadata:
      title           : Priori Incantatem
    Chapter #1.10: start 21947.453333, end 24205.920000
    Metadata:
      title           : Veritaserum
    Chapter #1.11: start 24205.920000, end 26618.813333
    Metadata:
      title           : The Parting of the Ways
    Chapter #1.12: start 26618.813333, end 28555.365000
    Metadata:
      title           : The Beginning
    Stream #1:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 306 kb/s
    Metadata:
      creation_time   : 2013-04-30 17:13:43
      handler_name    : Apple Sound Media Handler
    Stream #1:1(eng): Video: png (png  / 0x20676E70), rgba, 425x512 [SAR 2835:2835 DAR 425:512], 0 kb/s, 0k fps, 0k tbr, 600 tbn, 600 tbc
    Metadata:
      creation_time   : 2013-04-30 17:14:29
      handler_name    : ?Apple Alias Data Handler
    Stream #1:2(eng): Subtitle: mov_text (text / 0x74786574)
    Metadata:
      creation_time   : 2013-04-30 17:14:29
      handler_name    : ?Apple Alias Data Handler
    Stream #1:3: Video: png, rgba, 850x1024 [SAR 5669:5669 DAR 425:512], 90k tbr, 90k tbn, 90k tbc
[libx264 @ 0x7fb7f406ca00] using SAR=1/1
[libx264 @ 0x7fb7f406ca00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x7fb7f406ca00] profile High 4:4:4 Predictive, level 2.2, 4:4:4 8-bit
[libx264 @ 0x7fb7f406ca00] 264 - core 125 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=1 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, ipod, to 'output.m4a':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42mp41
    media_type      : 2
    title           : Harry Potter and the Goblet of Fire, Part 1
    track           : 4/12
    album           : Harry Potter
    genre           : Audiobooks
    artist          : J. K. Rowling
    encoder         : Lavf54.63.104
    Chapter #0.0: start 0.000000, end 1616.706667
    Metadata:
      title           : The Riddle House
    Chapter #0.1: start 1616.706667, end 2630.053333
    Metadata:
      title           : The Scar
    Chapter #0.2: start 2630.053333, end 3769.386667
    Metadata:
      title           : The Invitation
    Chapter #0.3: start 3769.386667, end 4891.320000
    Metadata:
      title           : Back to the Burrow
    Chapter #0.4: start 4891.320000, end 6217.813333
    Metadata:
      title           : Weasleys' Wizard Wheezes
    Chapter #0.5: start 6217.813333, end 7104.106667
    Metadata:
      title           : The Portkey
    Chapter #0.6: start 7104.106667, end 9077.773333
    Metadata:
      title           : Bagman and Crouch
    Chapter #0.7: start 9077.773333, end 11278.266667
    Metadata:
      title           : The Quidditch World Cup
    Chapter #0.8: start 11278.266667, end 14019.426667
    Metadata:
      title           : The Dark Mark
    Chapter #0.9: start 14019.426667, end 15219.186667
    Metadata:
      title           : Mayhem at the Ministry
    Chapter #0.10: start 15219.186667, end 16450.040000
    Metadata:
      title           : Aboard the Hogwarts Express
    Chapter #0.11: start 16450.040000, end 18660.160000
    Metadata:
      title           : The Triwizard Tournament
    Chapter #0.12: start 18660.160000, end 20293.186667
    Metadata:
      title           : Mad-Eye Moody
    Chapter #0.13: start 20293.186667, end 22304.925000
    Metadata:
      title           : The Unforgivable Curses
    Chapter #0.14: start 22304.925000, end 24397.378333
    Metadata:
      title           : Beauxbatons and Durmstrang
    Chapter #0.15: start 24397.378333, end 26863.071667
    Metadata:
      title           : The Goblet of Fire
    Chapter #0.16: start 26863.071667, end 28587.405000
    Metadata:
      title           : The Four Champions
    Chapter #0.17: start 28587.405000, end 31132.271667
    Metadata:
      title           : The Weighing of the Wands
    Chapter #0.18: start 31132.271667, end 33531.911667
    Metadata:
      title           : The Hungarian Horntail
    Chapter #0.19: start 33531.911667, end 36202.245000
    Metadata:
      title           : The First Task
    Chapter #0.20: start 36202.245000, end 38363.178333
    Metadata:
      title           : The House-Elf Liberation Front
    Chapter #0.21: start 38363.178333, end 40051.618333
    Metadata:
      title           : The Unexpected Task
    Chapter #0.22: start 40051.618333, end 43178.978333
    Metadata:
      title           : The Yule Ball
    Chapter #0.23: start 43178.978333, end 45614.880000
    Metadata:
      title           : Rita Skeeter's Scoop
    Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv444p, 425x512 [SAR 1:1 DAR 425:512], q=-1--1, 19200 tbn, 0k tbc
    Metadata:
      creation_time   : 2013-04-30 17:06:48
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2013-04-30 17:05:28
      handler_name    : Apple Sound Media Handler
Stream mapping:
  Stream #0:1 -> #0:0 (png -> libx264)
  Stream #0:0 -> #0:1 (aac -> libfaac)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=17.0 Lsize=  695921kB time=12:40:14.88 bitrate= 125.0kbits/s
video:72kB audio:688161kB subtitle:0 global headers:0kB muxing overhead 1.116984%
[libx264 @ 0x7fb7f406ca00] frame I:1     Avg QP:19.95  size: 73363
[libx264 @ 0x7fb7f406ca00] mb I  I16..4:  1.3% 48.7% 50.0%
[libx264 @ 0x7fb7f406ca00] 8x8 transform intra:48.7%
[libx264 @ 0x7fb7f406ca00] coded y,u,v intra: 95.7% 86.3% 91.5%
[libx264 @ 0x7fb7f406ca00] i16 v,h,dc,p: 100%  0%  0%  0%
[libx264 @ 0x7fb7f406ca00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 17% 13%  7%  8% 11%  6% 11%  9%
[libx264 @ 0x7fb7f406ca00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 18% 10%  6% 10% 12%  9%  8%  9%
[libx264 @ 0x7fb7f406ca00] kb/s:0.01

The resultant audio file is smaller than either but has the chapters and length of Part 1, so I'm not sure whether Part 2 is getting added at all.

Info about part 1:

$ ffmpeg -v 9 -loglevel 99 -i 04\ Harry\ Potter\ and\ the\ Goblet\ of\ Fire,\ Part\ 1.m4b
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 30 2013 13:13:33 with Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set libav* logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument '04 Harry Potter and the Goblet of Fire, Part 1.m4b'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set libav* logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file 04 Harry Potter and the Goblet of Fire, Part 1.m4b.
Successfully parsed a group of options.
Opening an input file: 04 Harry Potter and the Goblet of Fire, Part 1.m4b.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc5e8815a00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc5e8815a00] ISO: File Type Major Brand: mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc5e8815a00] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc5e8815a00] File position before avformat_find_stream_info() is 12552911
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc5e8815a00] max_analyze_duration 5000000 reached at 5015510 microseconds
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fc5e8815a00] File position after avformat_find_stream_info() is 12746820
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '04 Harry Potter and the Goblet of Fire, Part 1.m4b':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42mp41
    creation_time   : 2013-04-30 17:05:28
    title           : Harry Potter and the Goblet of Fire, Part 1
    track           : 4/12
    album           : Harry Potter
    genre           : Audiobooks
    artist          : J. K. Rowling
    encoder         : Audiobook Builder 1.5.3 (www.splasm.com), QuickTime 7.7.1
    media_type      : 2
  Duration: 12:40:14.85, start: 0.000000, bitrate: 301 kb/s
    Chapter #0.0: start 0.000000, end 1616.706667
    Metadata:
      title           : The Riddle House
    Chapter #0.1: start 1616.706667, end 2630.053333
    Metadata:
      title           : The Scar
    Chapter #0.2: start 2630.053333, end 3769.386667
    Metadata:
      title           : The Invitation
    Chapter #0.3: start 3769.386667, end 4891.320000
    Metadata:
      title           : Back to the Burrow
    Chapter #0.4: start 4891.320000, end 6217.813333
    Metadata:
      title           : Weasleys' Wizard Wheezes
    Chapter #0.5: start 6217.813333, end 7104.106667
    Metadata:
      title           : The Portkey
    Chapter #0.6: start 7104.106667, end 9077.773333
    Metadata:
      title           : Bagman and Crouch
    Chapter #0.7: start 9077.773333, end 11278.266667
    Metadata:
      title           : The Quidditch World Cup
    Chapter #0.8: start 11278.266667, end 14019.426667
    Metadata:
      title           : The Dark Mark
    Chapter #0.9: start 14019.426667, end 15219.186667
    Metadata:
      title           : Mayhem at the Ministry
    Chapter #0.10: start 15219.186667, end 16450.040000
    Metadata:
      title           : Aboard the Hogwarts Express
    Chapter #0.11: start 16450.040000, end 18660.160000
    Metadata:
      title           : The Triwizard Tournament
    Chapter #0.12: start 18660.160000, end 20293.186667
    Metadata:
      title           : Mad-Eye Moody
    Chapter #0.13: start 20293.186667, end 22304.925000
    Metadata:
      title           : The Unforgivable Curses
    Chapter #0.14: start 22304.925000, end 24397.378333
    Metadata:
      title           : Beauxbatons and Durmstrang
    Chapter #0.15: start 24397.378333, end 26863.071667
    Metadata:
      title           : The Goblet of Fire
    Chapter #0.16: start 26863.071667, end 28587.405000
    Metadata:
      title           : The Four Champions
    Chapter #0.17: start 28587.405000, end 31132.271667
    Metadata:
      title           : The Weighing of the Wands
    Chapter #0.18: start 31132.271667, end 33531.911667
    Metadata:
      title           : The Hungarian Horntail
    Chapter #0.19: start 33531.911667, end 36202.245000
    Metadata:
      title           : The First Task
    Chapter #0.20: start 36202.245000, end 38363.178333
    Metadata:
      title           : The House-Elf Liberation Front
    Chapter #0.21: start 38363.178333, end 40051.618333
    Metadata:
      title           : The Unexpected Task
    Chapter #0.22: start 40051.618333, end 43178.978333
    Metadata:
      title           : The Yule Ball
    Chapter #0.23: start 43178.978333, end 45614.880000
    Metadata:
      title           : Rita Skeeter's Scoop
    Stream #0:0(eng), 218, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 298 kb/s
    Metadata:
      creation_time   : 2013-04-30 17:05:28
      handler_name    : Apple Sound Media Handler
    Stream #0:1(eng), 1, 1/600: Video: png (png  / 0x20676E70), rgba, 425x512 [SAR 2835:2835 DAR 425:512], 1/600, 0 kb/s, 0k fps, 0k tbr, 600 tbn, 600 tbc
    Metadata:
      creation_time   : 2013-04-30 17:06:48
      handler_name    : ?Apple Alias Data Handler
    Stream #0:2(eng), 0, 1/600: Subtitle: mov_text (text / 0x74786574)
    Metadata:
      creation_time   : 2013-04-30 17:06:48
      handler_name    : ?Apple Alias Data Handler
    Stream #0:3, 1, 1/90000: Video: png, rgba, 850x1024 [SAR 5669:5669 DAR 425:512], 1/90000, 90k tbr, 90k tbn, 90k tbc
Successfully opened the file.
At least one output file must be specified
Statistics: 13304702 bytes read, 4 seeks

Info about part 2:

$ ffmpeg -v 9 -loglevel 99 -i 05\ Harry\ Potter\ and\ the\ Goblet\ of\ Fire,\ Part\ 2.m4b
ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 30 2013 13:13:33 with Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/1.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set libav* logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging level) with argument '99'.
Reading option '-i' ... matched as input file with argument '05 Harry Potter and the Goblet of Fire, Part 2.m4b'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set libav* logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file 05 Harry Potter and the Goblet of Fire, Part 2.m4b.
Successfully parsed a group of options.
Opening an input file: 05 Harry Potter and the Goblet of Fire, Part 2.m4b.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab91015a00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab91015a00] ISO: File Type Major Brand: mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab91015a00] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab91015a00] File position before avformat_find_stream_info() is 8501103
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab91015a00] max_analyze_duration 5000000 reached at 5015510 microseconds
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fab91015a00] File position after avformat_find_stream_info() is 8653248
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '05 Harry Potter and the Goblet of Fire, Part 2.m4b':
  Metadata:
    major_brand     : mp42
    minor_version   : 1
    compatible_brands: mp42mp41
    creation_time   : 2013-04-30 17:13:43
    title           : Harry Potter and the Goblet of Fire, Part 2
    track           : 5/12
    album           : Harry Potter
    genre           : Audiobooks
    artist          : J. K. Rowling
    encoder         : Audiobook Builder 1.5.3 (www.splasm.com), QuickTime 7.7.1
    media_type      : 2
  Duration: 07:55:55.35, start: 0.000000, bitrate: 308 kb/s
    Chapter #0.0: start 0.000000, end 2228.533333
    Metadata:
      title           : The Egg and the Eye
    Chapter #0.1: start 2228.533333, end 5145.080000
    Metadata:
      title           : The Second Task
    Chapter #0.2: start 5145.080000, end 7839.186667
    Metadata:
      title           : Padfoot Returns
    Chapter #0.3: start 7839.186667, end 10752.293333
    Metadata:
      title           : The Madness of Mr Crouch
    Chapter #0.4: start 10752.293333, end 12453.186667
    Metadata:
      title           : The Dream
    Chapter #0.5: start 12453.186667, end 15063.880000
    Metadata:
      title           : The Pensieve
    Chapter #0.6: start 15063.880000, end 18109.546667
    Metadata:
      title           : The Third Task
    Chapter #0.7: start 18109.546667, end 18895.600000
    Metadata:
      title           : Flesh, Blood & Bone
    Chapter #0.8: start 18895.600000, end 20799.280000
    Metadata:
      title           : The Death Eaters
    Chapter #0.9: start 20799.280000, end 21947.453333
    Metadata:
      title           : Priori Incantatem
    Chapter #0.10: start 21947.453333, end 24205.920000
    Metadata:
      title           : Veritaserum
    Chapter #0.11: start 24205.920000, end 26618.813333
    Metadata:
      title           : The Parting of the Ways
    Chapter #0.12: start 26618.813333, end 28555.365000
    Metadata:
      title           : The Beginning
    Stream #0:0(eng), 218, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 306 kb/s
    Metadata:
      creation_time   : 2013-04-30 17:13:43
      handler_name    : Apple Sound Media Handler
    Stream #0:1(eng), 1, 1/600: Video: png (png  / 0x20676E70), rgba, 425x512 [SAR 2835:2835 DAR 425:512], 1/600, 0 kb/s, 0k fps, 0k tbr, 600 tbn, 600 tbc
    Metadata:
      creation_time   : 2013-04-30 17:14:29
      handler_name    : ?Apple Alias Data Handler
    Stream #0:2(eng), 0, 1/600: Subtitle: mov_text (text / 0x74786574)
    Metadata:
      creation_time   : 2013-04-30 17:14:29
      handler_name    : ?Apple Alias Data Handler
    Stream #0:3, 1, 1/90000: Video: png, rgba, 850x1024 [SAR 5669:5669 DAR 425:512], 1/90000, 90k tbr, 90k tbn, 90k tbc
Successfully opened the file.
At least one output file must be specified
Statistics: 9219721 bytes read, 4 seeks

#2564 Tiled swf lossless frames are not decoded avformat enhancement May 13, 2013

Hi, this is the swf screen-capture with audio generated by Jing. https://dl.dropboxusercontent.com/u/89678527/2013-05-13_1157.swf

While this file could be played in Flashplayer, ffmpeg has problem in playing the video (image freezes), and audio playback is ok.

log shows:

$ ffplay.exe 2013-05-13_1157.swf
ffplay version N-50025-gb8bb661 Copyright (c) 2003-2013 the FFmpeg developers=0/0
  built on Feb 17 2013 02:37:45 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-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. 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
[swf @ 039c1800] Stream #0: not enough frames to estimate rate; consider increasing probesize
[swf @ 039c1800] Estimating duration from bitrate, this may be inaccurate
Input #0, swf, from '2013-05-13_1157.swf':
  Duration: 01:07:07.73, bitrate: 88 kb/s
    Stream #0:0: Audio: adpcm_swf, 22050 Hz, mono, s16, 88 kb/s
    Stream #0:1: Video: rawvideo (ARGB / 0x42475241), argb, 386x217, 10 fps, 10 tbr, 10 tbn
[rawvideo @ 039d99c0] Invalid buffer size, packet size 335048 < expected length 2221648
[rawvideo @ 039d99c0] Invalid buffer size, packet size 335916 < expected length 2221648
[rawvideo @ 039d99c0] Invalid buffer size, packet size 336592 < expected length 2221648
[rawvideo @ 039d99c0] Invalid buffer size, packet size 337464 < expected length 2221648
[rawvideo @ 039d99c0] Invalid buffer size, packet size 318080 < expected length 2221648
[rawvideo @ 039d99c0] Invalid buffer size, packet size 374528 < expected length 2221648

...

#2600 print EXT-X-STREAM-INF and BANDWIDTH in output M3U8 avformat enhancement May 22, 2013

Summary of the ticket:

add support to EXT-X-STREAM-INF and BANDWIDTH field in the generated M3U8 output.

Here is spec from http://tools.ietf.org/html/draft-pantos-http-live-streaming-07

BANDWIDTH

The value is a decimal-integer of bits per second. It MUST be an upper bound of the overall bitrate of each media segment (calculated to include container overhead) that appears or will appear in the Playlist.

Every EXT-X-STREAM-INF tag MUST include the BANDWIDTH attribute

Here is command line:

C:\ffmpeg\ffmpeg.exe -re -i "rtmp://bar/foo.flv" -y -c:v copy -c:a copy -hls_time 6 -hls_list_size 5 -hls_wrap 30 -start_number 1 "C:\Tools\Foo\stream.m3u8"


#2602 Implement a soft-telecine filter avformat enhancement May 22, 2013

Hi,

It'd be useful to flag progressive 23.976fps NTSC content as soft-telecined when encoding to DVD. MEncoder already supports this when using -of mpeg format=dvd:tsaf:telecine. Alternatively, if no new filters is desired, this functionality could be added to the existing telecine ffmpeg filter.

Thanks


#2641 Support trailing ; in filter_complex expression avfilter enhancement Jun 5, 2013

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: ''

#2662 Support for Kuaibo's qmv format avformat enhancement Jun 12, 2013

.qmv is a fairly recent AV container that's becoming really popular, mainly in China. It is used as a .rmvb replacement for online streaming and regular archiving. For online streaming, it requires the installation of a browser plugin, akin to Flash Player.

Player (http://dl.kuaibo.com/QvodSetup5.exe) and video-to-qmv converter (http://dl.kuaibo.com/QMV_Creator_Setup.exe) can be downloaded from there: http://www.kuaibo.com/download.html

I'm not aware of its spec being published anywhere yet, but it would be nice of FFmpeg could support it.


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

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

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

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

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

Last message repeated 3 times

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


#2699 automate lossless normalisation undetermined enhancement Jun 23, 2013

Introduce a new audio switch to automate LOSSLESS normalisation

Propose -a:llnorm CLI example

ffmpeg -i src_audio.aac -a:llnorm out_LOSSLESS_NORMALISED.aac

P.S. To best of my knowledge volumedetect, does not 1/ automate normalisation 2/ does NOT do it losslessly


#2798 Write cover art to mov files avformat enhancement Jul 19, 2013

.m4a files support album art .mp4 files support cover art

currently you can add the art in this way

atomicparsley infile.mp4 --artwork infile.png --overWrite

However once muxed with FFmpeg some changes happen

ffmpeg -i infile.mp4 -c copy -map 0 outfile.mp4
  1. The png stream changes from
png

to

png (m[0][0][0] / 0x006D)
  1. Thumbnail disappears, example http://superuser.com/a/524120
  1. If you open in VLC instead of just playing video it also opens a second window with the png
ffmpeg version N-37428-gf18d2df Copyright (c) 2000-2013 the FFmpeg developers
  built on May 23 2013 01:35:26 with gcc 4.8.0 (rubenvb-4.8.0)
  configuration: --enable-gpl --enable-libx264 --enable-nonfree --enable-libfdk-aac --arch=x86 --target-os=mingw32 --logfile=/dev/stdout --extra-ldflags=-static --cross-prefix=i686-w64-mingw32- --host-cc=i686-w64-mingw32-gcc
  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
[mov,mp4,m4a,3gp,3g2,mj2 @ 035e5f00] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 035e5f00] max_analyze_duration 5000000 reached at 5005031 microseconds
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'infile.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.4.101
  Duration: 00:01:00.06, start: 0.000000, bitrate: 4923 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1040 [SAR 1:1 DAR 24:13], 4019 kb/s, 23.98 fps, 23.98 tbr, 16k tbn, 47.95 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, 5.1(side), fltp, 384 kb/s
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2: Video: png, rgb24, 1920x1040 [SAR 1:1 DAR 24:13], 90k tbr, 90k tbn, 90k tbc
[mp4 @ 035f65c0] track 1: codec frame size is not set
Output #0, mp4, to 'outfile.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf55.4.101
    Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1040 [SAR 1:1 DAR 24:13], q=2-31, 4019 kb/s, 23.98 fps, 16k tbn, 16k tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, 5.1(side), 384 kb/s
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2: Video: png (m[0][0][0] / 0x006D), rgb24, 1920x1040 [SAR 1:1 DAR 24:13], q=2-31, 90k tbn, 90k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #0:2 -> #0:2 (copy)
Press [q] to stop, [?] for help
frame= 1440 fps=0.0 q=-1.0 Lq=-1.0 size=   36097kB time=00:01:00.00 bitrate=4928.4kbits/s    

video:33241kB audio:2812kB subtitle:0 global headers:0kB muxing overhead 0.118462%

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

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

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

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

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

I'm currently using the following:

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

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

ffmpeg version 1.2.1

Thanks!


#3009 Support mvc avcodec enhancement Sep 28, 2013

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

How to reproduce:

Run 
$ ffmpeg -i AVC_codec_not_recognized_right_video_sample.m2ts

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

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


#3018 Provide online documentation for stable and git/master documentation enhancement Oct 2, 2013

Summary of the bug: When I try to use the pullup filter, it says [AVFilterGraph @ 0x7fa8c2c12f20] No such filter: 'pullup' How to reproduce:

% ffmpeg -i NCIS.ts -ss 300 -t 30 -vf pullup,fps=24000/1001 -an -vcodec libx264 -preset ultrafast pullup.mp4

ffmpeg version 2.0.1
built on Sep 25 2013 06:03:35 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-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libass --enable-libbluray --enable-gnutls --enable-libfreetype --disable-outdev=xv --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


#3059 Logfile append instead of overwrite ffmpeg enhancement Oct 19, 2013

When using the environment variable FFREPORT, each execution of ffmpeg overwrites the logfile. There should be an option to append instead of overwrite.

$ export FFREPORT="file=/Volumes/RAID/ffmpeg.log"

ffmpeg console output is irrelevant in this case, but I have attached the logfile.


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

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

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

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

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

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

#3173 afade-fadeout on pipe:0 stream avfilter enhancement Nov 27, 2013

Hello,

is it possible to implement a way to apply fadeout-effects to a pipe:0-stream? I think this is possible when buffering the input audio for the time of fadeout-seconds specified and when pipe:0 has been closed, apple the effect on the buffer. Is this correct and can this be implemented in FFmpeg?

Thanks!


#3187 SFD muxing avformat enhancement Dec 1, 2013

Greetings.

I am part of a fan project which attempts to fix the broken localization of the Ar tonelico 2 game. The official Western localization was sloppy and introduced game breaking bugs, which even made the game hang up on a boss encounter. Those are things our project is attempting to fix.

Part of it involves adding translations to the videos in form of subtitles (the game includes both the English and the Japanese voice tracks). There is a tool floating around the net which allows to mux m1v+adx, but none which would allow muxing m1v+adx+ac3 into sfd.

Having fixed almost everything except for the 5.1 opening sequence (which was left completely untranslated in the Western versions), I'd really appreciate if FFMPEG added sfd muxing functionality.

The patch will require people to have already have a copy of the game as it will be distributed as .xdelta for the iso only.

There are other games which use cri's adx/sofdec package, so it wouldn't only be for this single game, but for us, this is the main reason at the moment. (On another note, thanks for fixing the demuxing bug so fast)

I can provide samples if needed.


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

Summary of the bug:

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

How to reproduce:

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

ranspidx.idx -vcodec copy -an transpxsub.avi


#3280 Add dvdnav support undetermined enhancement Jan 8, 2014

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

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

Below is the output of ffprobe

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

built on Nov 26 2013 22:01:46 with gcc 4.8.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib libavutil 52. 55.100 / 52. 55.100 libavcodec 55. 44.100 / 55. 44.100 libavformat 55. 21.102 / 55. 21.102 libavdevice 55. 5.101 / 55. 5.101 libavfilter 3. 91.100 / 3. 91.100 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 17.104 / 0. 17.104 libpostproc 52. 3.100 / 52. 3.100

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

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

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

Unsupported codec with id 1145979222 for input stream 0


#3356 feature request: Segment HLS streams on SCTE 35 markers undetermined enhancement Jan 27, 2014

Many proprietary Apple HTTP live streaming or other HTTP streaming encoders accept SCTE 35 markers in the input MPEG stream. Using these streams, these segmenters break the segments at the points described in the SCTE 35 message. In addition to this, a comment is inserted into the M3U8 manifest to indicate that the following chunk occurred after a SCTE 35 message.

This is now a very common practive, but no open source solution exists. The great benefit of this is that it allows a downstream piece of software to swap out chunks when such messages occur by simple text manipulation on the manifest file. The most common use case for this is the insertion of ads between 2 SCTE 35 messages in a live stream.

This is becoming a common feature in commercial encoders and it would be great to see it land in ffmpeg.


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

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


#3551 Wrong duration shown for some FLV files avformat enhancement Apr 11, 2014

Summary of the bug: ffmpeg cannot detect the duration of some FLV files while some other splitters seem to be able to do that.

NB: I am not completely sure if it is a bug, a feature request or just an invalid file.

How to reproduce: Use ffplay for example with this sample.


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

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

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

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

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

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

Enabled indevs:
lavfi

Enabled outdevs:
sdl

Problem from this line in ./configure:

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

It disabled permanently avfoundation_indev

Patch suggest:

enabled avfoundation_indev

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

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

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

But with libmp3lame it looks like this only:

Writing library : LAME3.99.5

#3581 HEVC video in FLV doesn't work avformat enhancement Apr 22, 2014

Summary of the bug: ffplay cannot play the file available at http://towerofbabel.free.fr/test/demo.flv

How to reproduce:

% ffplay demo.flv
[flv @ 0000000000337520] Video codec (c) is not implemented. Update your FFmpeg
version to the newest one from Git. If the problem still occurs, it means that y
our file has a feature which has not been implemented.
[flv @ 0000000000337520] If you want to help, upload a sample of this file to ft
p://upload.ffmpeg.org/MPlayer/incoming/ and contact the ffmpeg-devel mailing lis
t.
[flv @ 0000000000337520] Could not find codec parameters for stream 0 (Video: no
ne ([12][0][0][0] / 0x000C), 1075 kb/s): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, flv, from '..\demo.flv':
  Metadata:
    hasKeyframes    : true
    hasVideo        : true
    canSeekToEnd    : false
    datasize        : 39706199
    lasttimestamp   : 283
    audiosize       : 2445781
    hasAudio        : true
    audiodelay      : 0
    videosize       : 37259080
    metadatacreator : inlet media FLVTool2 v1.0.6 - http://www.inlet-media.de/fl
vtool2
    lastkeyframetimestamp: 275
    hasMetadata     : true
    hasCuePoints    : false
  Duration: 00:04:43.17, start: 0.000000, bitrate: 1124 kb/s
    Stream #0:0: Video: none ([12][0][0][0] / 0x000C), 1075 kb/s, 24 tbr, 1k tbn
, 1k tbc
    Stream #0:1: Audio: aac, 48000 Hz, stereo, fltp, 66 kb/s
No codec could be found with id 0

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

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


#3651 UT Video Codec is inefficient compared to libutvideo avcodec enhancement May 18, 2014

Summary of the bug: Not really sure if i am supposed to write these things here, as it's not really a bug, but here goes.

LAV Filter use ffmpeg for Decoding, and hence i direct this here.

The performance in decoding Lagarith and UT Video Codec are extremely bad, most of the time it's over 100% slower.

Originally i thought it was faster, either i have been mistaken or something has happened.

However, worth noting, Lagarith is limited to 2 threads in it's original decoder, however comparing the performance make this insignificant as ffmpeg will use more and still not be at the same pace.

How to reproduce:

Pretty sure you can just use:

ffmpeg -i "lagarith.avi" -o "Raw.avi"

so just decode a lagarith file to raw, and you will see the performance, than compare it to using the original decoder.


#3657 float pixel format swscale enhancement May 20, 2014

Hello, As there are more and more Cameras able to record with more than 8 bit per pixel and there already are programs like Shotcut and Blender which support high-precision internal processing, e.g. blender is unable to handle 10-bit videos properly, because converting a 16 bit buffer from the sws yuv to rgb conversion to its internal 32bit buffer would be too slow and therefore it has to use an 8 bit buffer. If ffmpeg could convert to 32bit directly, there wouldn't be the need to do two conversion steps, 10 ->16->32 and native high precision video support would be much easier to implement!


#3718 ffmpeg does not correctly read input text file. avformat enhancement Jun 12, 2014

Summary of the bug: How to reproduce:

> ffmpeg -f concat -i t
mp.txt -c copy output.wav
ffmpeg version N-60592-gfd982f2 Copyright (c) 2000-2014 the FFmpeg developers
  built on Feb 13 2014 22:01:02 with gcc 4.8.2 (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-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopenco
re-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-li
bvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 63.101 / 52. 63.101
  libavcodec     55. 52.101 / 55. 52.101
  libavformat    55. 32.101 / 55. 32.101
  libavdevice    55.  9.100 / 55.  9.100
  libavfilter     4.  1.102 /  4.  1.102
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[concat @ 003b36e0] Line 1: unknown keyword 'file'
tmp.txt: Invalid data found when processing input

This is the Windows Zeranoe Build downloaded from here: http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-20140612-git-3a1c895-win32-static.7z

The file is written from a self-made Visual Basic program using the method described here: http://msdn.microsoft.com/en-us/library/ms128035(v=vs.110).aspx. As you can see under the Remarks section, it uses the UTF-8 encoding.

Turns out, that method also writes 3 extra chars to the file, ef bb bf. It seems like this throws off FFMPEG and it gives the error above.


#3720 Support decoding of Xunlei XV file avformat enhancement Jun 16, 2014

Xunlei is a major Chinese corporation with a monopoly on video downloading in China; they allow to download and play all sorts of Chinese TV shows for free but they're all in XV format, which is only supported by a video player Xunlei made. The video is H.264 video. FFmpeg cannot play this. When I try "ffmpeg -i 1.xv" I get the following: http://i.imgur.com/PrRNzvs.png

Here is a link to 1.xv: https://www.dropbox.com/s/0rlzjm9b1apg0j5/1.xv

1.xv is 180MB, and it's supposed to be a video of about 45 minutes. Thanks!


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

FFmpeg fails to identify the video codec in this file.

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

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

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

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

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

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

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

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

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

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


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

Dear Sirs:

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


#3953 Support chaptering in bluray avformat enhancement Sep 16, 2014

Summary of the bug:

I am trying to extract chapter markers from a bluray mounted on my file system with ffprobe. Using

ffprobe -i bluray:/mnt/bluray -show_chapters

The output does not contain any chapter information. See below:

[clover@hexapod ~]$ ffprobe bluray:/mnt/bluray -show_chapters 2>&1
ffprobe version 2.3.3 Copyright (c) 2007-2014 the FFmpeg developers
  built on Aug 17 2014 17:11:34 with gcc 4.9.1 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --enable-avisynth --enable-avresample --enable-decoder=atrac3 --enable-decoder=atrac3p --enable-dxva2 --enable-fontconfig --enable-gnutls --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-pic --enable-postproc --enable-runtime-cpudetect --enable-shared --enable-swresample --enable-vdpau --enable-version3 --enable-x11grab
  libavutil      52. 92.100 / 52. 92.100
  libavcodec     55. 69.100 / 55. 69.100
  libavformat    55. 48.100 / 55. 48.100
  libavdevice    55. 13.102 / 55. 13.102
  libavfilter     4. 11.100 /  4. 11.100
  libavresample   1.  3.  0 /  1.  3.  0
  libswscale      2.  6.100 /  2.  6.100
  libswresample   0. 19.100 /  0. 19.100
  libpostproc    52.  3.100 / 52.  3.100
[bluray @ 0x184af00] 6 usable playlists:
[bluray @ 0x184af00] playlist 00006.mpls (0:03:59)
[bluray @ 0x184af00] playlist 00001.mpls (0:51:58)
[bluray @ 0x184af00] playlist 00000.mpls (2:12:12)
[bluray @ 0x184af00] playlist 00003.mpls (0:57:56)
[bluray @ 0x184af00] playlist 00005.mpls (0:03:47)
[bluray @ 0x184af00] playlist 00002.mpls (1:00:23)
[bluray @ 0x184af00] selected 00000.mpls
libbluray/decoders/m2ts_filter.c:207: Pid 0x1011 pts 54000000 passed IN timestamp 54000000 (pts 54000000)
libbluray/decoders/m2ts_filter.c:207: Pid 0x1100 pts 54000000 passed IN timestamp 54000000 (pts 54000000)
libbluray/decoders/m2ts_filter.c:207: Pid 0x1101 pts 54000000 passed IN timestamp 54000000 (pts 54000000)
libbluray/decoders/m2ts_filter.c:172: seek notify
libbluray/decoders/m2ts_filter.c:207: Pid 0x1011 pts 54708708 passed IN timestamp 54000000 (pts 54708708)
libbluray/decoders/m2ts_filter.c:172: seek notify
libbluray/decoders/m2ts_filter.c:207: Pid 0x1011 pts 54708708 passed IN timestamp 54000000 (pts 54708708)
libbluray/decoders/m2ts_filter.c:207: Pid 0x1011 pts 54000000 passed IN timestamp 54000000 (pts 54000000)
libbluray/decoders/m2ts_filter.c:172: seek notify
libbluray/decoders/m2ts_filter.c:283: Wiping pid 0x1011
libbluray/decoders/m2ts_filter.c:283: Wiping pid 0x1011
libbluray/decoders/m2ts_filter.c:283: Wiping pid 0x1011
libbluray/decoders/m2ts_filter.c:283: Wiping pid 0x1011
libbluray/decoders/m2ts_filter.c:283: Wiping pid 0x1011
libbluray/decoders/m2ts_filter.c:283: Wiping pid 0x1011
libbluray/decoders/m2ts_filter.c:207: Pid 0x1011 pts 54576576 passed IN timestamp 54000000 (pts 54576576)
libbluray/decoders/m2ts_filter.c:172: seek notify
libbluray/decoders/m2ts_filter.c:283: Wiping pid 0x1011
libbluray/decoders/m2ts_filter.c:283: Wiping pid 0x1011
libbluray/decoders/m2ts_filter.c:283: Wiping pid 0x1011
libbluray/decoders/m2ts_filter.c:283: Wiping pid 0x1011
libbluray/decoders/m2ts_filter.c:283: Wiping pid 0x1011
libbluray/decoders/m2ts_filter.c:283: Wiping pid 0x1011
libbluray/decoders/m2ts_filter.c:207: Pid 0x1011 pts 54576576 passed IN timestamp 54000000 (pts 54576576)
libbluray/decoders/m2ts_filter.c:172: seek notify
Input #0, mpegts, from 'bluray:/mnt/bluray/':
  Duration: 00:00:10.04, start: 600.000000, bitrate: N/A
  Program 1
    Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x1100]: Audio: pcm_bluray (HDMV / 0x564D4448), 48000 Hz, stereo, s32, 2304 kb/s
    Stream #0:2[0x1101]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.0(side), fltp, 1536 kb/s


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

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

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

3) Play the resulting video in VLC.

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

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


#4005 Support transport streams with changing pid avformat enhancement Oct 5, 2014

Summary of the bug: This sample file is only played for about 30s instead of about 2min when using VLC.

How to reproduce:

% ffmpeg -i 00000002_4_0.ts 00000002_4_0.mp4
ffmpeg version N-66595-g1c4c78e Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct  3 2014 22:01:53 with gcc 4.9.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      54.  9.100 / 54.  9.100
  libavcodec     56.  2.101 / 56.  2.101
  libavformat    56.  7.104 / 56.  7.104
  libavdevice    56.  1.100 / 56.  1.100
  libavfilter     5.  1.102 /  5.  1.102
  libswscale      3.  1.100 /  3.  1.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  1.100 / 53.  1.100
[mpeg2video @ 0035f300] Invalid frame dimensions 0x0.
    Last message repeated 4 times
Input #0, mpegts, from '00000002_4_0.ts':
  Duration: N/A, start: 57938.389556, bitrate: N/A
  Program 1 
    Stream #0:0[0x46](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
    Stream #0:1[0x47]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x576 [SAR 16:11 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
[libx264 @ 0411f900] using SAR=16/11
[libx264 @ 0411f900] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0411f900] profile High, level 3.0
[libx264 @ 0411f900] 264 - core 142 r2479 dd79a61 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'test.mp4':
  Metadata:
    encoder         : Lavf56.7.104
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 704x576 [SAR 16:11 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc56.2.101 libx264
    Stream #0:1(eng): Audio: aac (libvo_aacenc) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      encoder         : Lavc56.2.101 libvo_aacenc
Stream mapping:
  Stream #0:1 -> #0:0 (mpeg2video (native) -> h264 (libx264))
  Stream #0:0 -> #0:1 (mp2 (native) -> aac (libvo_aacenc))
Press [q] to stop, [?] for help
frame=   98 fps=0.0 q=28.0 size=     568kB time=00:00:03.91 bitrate=1186.5kbits/s dup=8 drop=0    
frame=  159 fps=156 q=28.0 size=    1245kB time=00:00:06.37 bitrate=1600.5kbits/s dup=8 drop=0    
frame=  227 fps=149 q=28.0 size=    1610kB time=00:00:09.08 bitrate=1452.1kbits/s dup=8 drop=0    
frame=  287 fps=141 q=28.0 size=    2252kB time=00:00:11.49 bitrate=1605.1kbits/s dup=8 drop=0    
frame=  349 fps=137 q=28.0 size=    2738kB time=00:00:13.98 bitrate=1603.2kbits/s dup=8 drop=0    
[mpeg2video @ 04f405c0] ac-tex damaged at 34 4
[mpeg2video @ 04f405c0] Warning MVs not available
[mpeg2video @ 04f405c0] concealing 44 DC, 44 AC, 44 MV errors in I frame
frame=  420 fps=138 q=28.0 size=    3294kB time=00:00:16.80 bitrate=1605.9kbits/s dup=8 drop=0    
frame=  477 fps=135 q=28.0 size=    3945kB time=00:00:19.08 bitrate=1693.2kbits/s dup=8 drop=0    
frame=  543 fps=134 q=28.0 size=    4484kB time=00:00:21.73 bitrate=1690.2kbits/s dup=8 drop=0    
frame=  660 fps=145 q=28.0 size=    4855kB time=00:00:26.40 bitrate=1506.4kbits/s dup=8 drop=0    
[mpegts @ 0035ec40] New audio stream 0:2 at pos:11205400 and DTS:57967.3s
[mpegts @ 0035ec40] New video stream 0:3 at pos:11234916 and DTS:57968.2s
[mpegts @ 0035ec40] PES packet size mismatch
    Last message repeated 2 times
[mp2 @ 04f40060] incomplete frame
Error while decoding stream #0:0: Invalid data found when processing input
frame=  705 fps=136 q=-1.0 Lsize=    5426kB time=00:00:28.12 bitrate=1580.6kbits/s dup=10 drop=0    

video:4965kB audio:439kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.398772%
[libx264 @ 0411f900] frame I:10    Avg QP:20.37  size: 41416
[libx264 @ 0411f900] frame P:348   Avg QP:24.21  size: 10953
[libx264 @ 0411f900] frame B:347   Avg QP:26.93  size:  2472
[libx264 @ 0411f900] consecutive B-frames: 21.4% 34.3% 13.6% 30.6%
[libx264 @ 0411f900] mb I  I16..4: 10.1% 77.9% 12.0%
[libx264 @ 0411f900] mb P  I16..4:  5.2% 13.1%  1.0%  P16..4: 38.8% 14.2%  7.0%  0.0%  0.0%    skip:20.8%
[libx264 @ 0411f900] mb B  I16..4:  0.2%  0.5%  0.0%  B16..8: 39.7%  4.2%  0.8%  direct: 1.5%  skip:53.0%  L0:40.2% L1:49.5% BI:10.3%
[libx264 @ 0411f900] 8x8 transform intra:69.1% inter:78.8%
[libx264 @ 0411f900] coded y,uvDC,uvAC intra: 51.9% 58.3% 22.2% inter: 18.0% 17.5% 2.6%
[libx264 @ 0411f900] i16 v,h,dc,p: 31% 43%  8% 17%
[libx264 @ 0411f900] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 19% 33%  3%  3%  4%  3%  5%  3%
[libx264 @ 0411f900] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 25% 13%  4%  5%  7%  5%  7%  3%
[libx264 @ 0411f900] i8c dc,h,v,p: 50% 21% 24%  5%
[libx264 @ 0411f900] Weighted P-Frames: Y:7.5% UV:7.2%
[libx264 @ 0411f900] ref P L0: 66.1% 16.8% 12.8%  4.1%  0.1%
[libx264 @ 0411f900] ref B L0: 85.1% 13.4%  1.5%
[libx264 @ 0411f900] ref B L1: 94.9%  5.1%
[libx264 @ 0411f900] kb/s:1442.07

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

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

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

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

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

Further resources for m4p are:

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

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

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