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

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

Results (301 - 400 of 567)

1 2 3 4 5 6
Ticket Summary Component Milestone Type Created
Description
#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?


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

#4059 conversion only done properly when specifying the wrong subtitle encoding undetermined enhancement Oct 27, 2014

i want to convert a MKV with an external UTF16 subtitle to MP4 and embed the subtitle. however, when specifying the right subtitle encoding "-sub_charenc UTF-16", the conversion output is full of errors, and the resulting file has damaged subtitles. only when specifying the WRONG encoding (or don't specifying it altogether) the conversion succeeds without error messages and does produce the proper output.

note that the output below is from 2.4.1 but i've tested git-head and its the same.

i'll try to attach the 2 files to reproduce, if they are to large i will share the upload location in the first comment.

the proper command line that produces the wrong result:

ffmpeg -i Brave.mkv -sub_charenc UTF-16 -i Brave.srt -map 0:0 -map 0:1 -map 1:0 -scodec mov_text -vcodec copy -acodec copy -y Brave.mp4
ffmpeg version 2.4.1-tessus Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 22 2014 23:16:01 with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
  configuration: --cc=/usr/bin/clang --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-libsoxr --enable-libwavpack --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --enable-runtime-cpudetect
  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 'Brave.mkv':
  Metadata:
    ENCODER         : Lavf55.19.104
  Duration: 00:00:10.09, start: 0.000000, bitrate: 17854 kb/s
    Chapter #0.0: start 0.000000, end 10.000000
    Metadata:
      title           : Der Ringfund
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(ger): Audio: dts (DTS-ES), 48000 Hz, 6.1, fltp, 1536 kb/s (default) (forced)
    Metadata:
      title           : Deutsch DTS
      LANGUAGE        : ger
    Stream #0:2(eng): Audio: dts (DTS-ES), 48000 Hz, 6.1, fltp, 1536 kb/s
    Metadata:
      title           : Englisch DTS
      LANGUAGE        : eng
    Stream #0:3(ger): Subtitle: subrip (default) (forced)
    Metadata:
      title           : Deutsch Forced
      LANGUAGE        : ger
Input #1, srt, from 'Brave.srt':
  Duration: N/A, bitrate: N/A
    Stream #1:0: Subtitle: subrip
[mp4 @ 0x7fbe3406b200] track 1: codec frame size is not set
Output #0, mp4, to 'Brave.mp4':
  Metadata:
    encoder         : Lavf56.4.101
    Chapter #0.0: start 0.000000, end 10.000000
    Metadata:
      title           : Der Ringfund
    Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], q=2-31, 23.98 fps, 16k tbn, 1k tbc (default)
    Stream #0:1(ger): Audio: dts ([169][0][0][0] / 0x00A9), 48000 Hz, 6.1, 1536 kb/s (default) (forced)
    Metadata:
      title           : Deutsch DTS
      LANGUAGE        : ger
    Stream #0:2: Subtitle: mov_text ([8][0][0][0] / 0x0008)
    Metadata:
      encoder         : Lavc56.1.100 mov_text
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #1:0 -> #0:2 (subrip (native) -> mov_text (native))
Press [q] to stop, [?] for help
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳在哪裡?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "出來 出來" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳這小毛頭在哪裡?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "被我抓到我就要把她吃掉" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "把妳吃掉! 嗯 嗯 嗯" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我可以射箭嗎?
可以嗎? 拜託 可以嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "生日快樂 小親親!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "然後...放手" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "沒射中" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "你居然送她一把弓 佛格?
她是小淑女耶!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "是真的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我們要回家囉!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我看到呢喃精靈" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我看到呢喃精靈" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "呢喃精靈?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳知道嗎? 傳說中呢喃精靈會引領妳找到命運" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "呵 是啊! 找到弓箭!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我們快回去吧!
不然等會兒可能會看到跳舞的稻草人或是大巨人..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳父王不相信有魔法" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "他應該要相信 是真的!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "艾莉諾 快逃!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "片名:勇敢傳說" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "有人說我們的命運和土地緊緊相繫" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "和我們密不可分" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "也有人說命運是交織在一起的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "彼此的命運相互纏繞糾結" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我父王力抗魔度巨熊而失去一條腿
這故事已成為傳奇" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "漢密修、修伯特和哈里斯這三個小王子" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "簡直就是小惡魔" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我卻什麼也逃避不了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我必須樹立榜樣" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我的人生早就被計畫好了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "嚶嚶知更 汝可知吾心..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "提高音調!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "汝可知吾..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不可以塗鴉" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "公主不可以放聲大笑" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不可以狼吞虎嚥" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不可以賴床" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不用上課 沒有期許" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這一天 我可以做任何事" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這一天 我可以改變我的命運" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "<i>天空晴朗明亮</i>" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "<i>迷霧山脈向我招手</i>" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "<i>在陽光下與我相會</i>" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "<i>嚴峻的山嶺上</i>" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "<i>深邃的水潭內</i>" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "<i>我聆聽每一個故事</i>" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "<i>擁抱天空</i>" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "<i>追逐著風 追逐著風 </i>" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "<i>擁抱天空</i>" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我快餓死了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "你也是吧?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "然後喀一聲 父王的腿被咬斷" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "進了那怪獸的五臟廟" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "從此再也沒有人看過魔度" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "牠在荒野間遊蕩 等待復仇的機會" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "牠最好敢回來 我下次決不會放過牠..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達 公主不可以把武器放在餐桌上" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "母后..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不過是一把弓..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳就順著她吧!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不論是不是公主 都應該學習戰鬥" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我爬到龍齒岩上 喝火焰瀑布的水" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "聽說只有英勇的古代帝王敢喝火焰瀑布的水" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳有那麼餓嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "母后..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "怎樣?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不要讓牠們舔...唉..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "小鬼們 別皮了! 不要玩羊雜!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "謝謝妳 莫蒂 " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "別碰我的食物 你們這些貪吃的小雜種
去咬那個 髒鬼!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "佛格 " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "誰同意什麼 母后?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "小鬼們 你們先出去" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我又怎麼了嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "佛格?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "領主們要派他們的兒子來參加比武招親" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "什麼?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "各氏族都同意了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我這個公主什麼事情都任由妳擺佈" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "公主不可以大聲嚷嚷" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我絕對不會接受" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "那是古時候的事" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "國王是個明智且公正的統治者 深受人民的愛戴" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "期許他們成為那塊土地的四個支柱" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "連年的戰爭與混亂 最後滅亡" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這不只是個故事 梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳最好給我乖乖聽話" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "各個氏族就快要來提親了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不公平" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳又在喃喃自語" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這都要怪你" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "好吧 " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "來跟我談 妳要怎麼說?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "讓頭髮隨風飄揚" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "說說看 妳究竟希望我們怎麼做?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "事實上她永遠不會做好準備 " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我知道這聽起來很不公平" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "但我們不能逃避現實" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我不希望我的人生就這樣結束" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "但妳知道自由背後是要付出多大的代價嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "但這是我的人生" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我想妳會理解的 只要妳願意... " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我一定可以讓妳明白 只要妳願意... " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "安格斯 我發誓不會讓這件事發生" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我不會這麼任憑擺佈" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "丁沃!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "麥肯塔席!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳看起來美極了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "喔 轉一圈看看" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我根本動彈不得 好緊!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "母后?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "只要..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "他們來了!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "各就各位 各就各位" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "拿上來" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "今天我們...呃..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "四個氏族...呃..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "齊聚一堂..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "麥葛芬氏族" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "麥葛芬" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "陛下 為您引見我的長子" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "麥葛芬" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "他曾被一萬羅馬大軍包圍" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "只憑單手就解決所有敵軍" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "另一手舉起寶劍" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "騙人!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我聽到了 有種就站出來" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "至少我們有頭髮" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "俺摳以居七以根母樁丟倒塔神賞 (鄉音)" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "而且 我們不用躲在屁股後面" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "你們繼續笑吧 " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "沒錯 沒錯 就是這樣..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不是我先出手的 是他..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "剛剛說到哪兒?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "按照我們的法律" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "只有各位領主最年長的繼承人可以參加比武招親" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "最年長的?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "來贏得我們丹布洛公主的芳心" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "想要抱得美人歸
就必須在比賽中證明自己的實力" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "射箭 射箭" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "比賽開始!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "拉啊!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "時間到了!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "弓箭手 請就位" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "願幸運之箭能夠飛向目標" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我敢說 他比較想要木樁擲遠比賽" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "或是舉橋柱" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不會吧 啊" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "噢 還真有魅力" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "又怎麼了?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "哦 小羊兒" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "哦 拜託...快射吧 小子" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "幹得好 幹得好" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "那真是太厲害了 是吧?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "真是出乎意料啊" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "佛格!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我希望妳不介意成為丁沃夫人......" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我是梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳在搞什麼鬼?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "該死的禮服" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳敢再射一箭試試看" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達 不准射" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我真是受夠妳了 小姑娘" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "是妳自己要... " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳故意讓他們出糗 讓我出糗" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我一切遵守比賽規則" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳根本不知道妳幹了什麼好事" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這事若沒處理好 可能會引起戰爭" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "太不公平了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這個婚姻是妳想要的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳有問過我想要什麼嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我永遠不可能像妳一樣的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳是在耍孩子氣" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳是怪獸  妳就是" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我絕不可能變得像妳一樣" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不要 住手" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "噢 我做了什麼事?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "安格斯" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "安格斯" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "呢喃精靈帶我..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這個是獨一無二的唷" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我可以算妳便宜" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳的掃帚!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "它剛剛在...自動掃地" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "木頭不可能附著魔法" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這我比誰都清楚 我可是女..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "女性...木雕師傅" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我還會唱歌哩 啦啦啦啦啦啦" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳是女巫!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "所以呢喃精靈才會帶我來找妳" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "是這樣的...我母后..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我不是女巫 太多奧客了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "滾出去 咻 滾! 快走開!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳說什麼?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "全部的木雕" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳有帶夠錢嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這可以讓我們撐好幾個月" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "加上 一個魔咒" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳知道自己在做什麼嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我需要一個可以改變我母后的魔咒" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這樣就可以改變我的命運" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不可以在雕刻室施魔咒 這很重要" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "上一次是幫一位王子製作魔咒" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "真是好看 " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "他用這個 跟我交換魔咒" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "是用一塊很漂亮的桃花心木起司板製成" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "用什麼材料呢?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳不想要?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "就能改變我的命運?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "哦 相信我" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "好像有一件關於那個魔咒的事情?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "噢 我擔心死了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "是嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我不知道妳到哪裡去了 什麼時候才會回來" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我腦子裡一片空白
哦 看看妳的裙子..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳平安回來就好" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這是什麼?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我們和好吧 這是我親手為妳做的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "味道很特殊" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這是什麼味道?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "感覺不一樣嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳對那樁婚事的想法有沒有什麼改變?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "喔 好多了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "走吧 我們上樓去見那些領主
為這場鬧劇畫下休止符" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "母后?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "哦 整個天旋地轉的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "往左邊 很好 很好" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "好極了 你們快閃開 免得干擾我射箭" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我們一直在耐心等候" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "各位領主 我現在身體不舒服" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "但我一定會盡快給你們答覆..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "艾莉諾 妳看 我射中魔度!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "艾莉諾 妳還好嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "你們大家都聽到了吧" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "讓這個怪獸來領死吧" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳好好安心休息吧 母后" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "蛋糕?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "母后?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "母后?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳...妳變成熊了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "怎麼會變成熊?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不是我的錯" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我沒叫她把妳變成熊" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我只是要她改變...妳" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "噓...你們有聽到嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "有點不對勁" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳對我發脾氣也沒用" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我得去找她" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我要叫她收拾這個爛攤子" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "大家跟我來" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "眼睛放亮點" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "完全聽不懂" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "等一下" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "父王是屠熊英雄" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "要是被他撞見妳就死定了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "你又在玩什麼遊戲 都玩不累嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "喔 我們到底在獵殺什麼 陛下?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "你最好還是順著他 畢竟他是國王" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "他的鼻子像獵犬一樣靈敏" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "跟我來" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "別走了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "別走了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "又不是光著身子" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "沒人看見妳的身體好嗎!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "快說 莫蒂" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "熊啊!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳聽我說好嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "快 走這裡" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不是我的錯" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我們得離開這個城堡" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "哦 好吧!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "好啦 一整年!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "在那裡" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "往那邊去了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "快點 母后" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "在那裡" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我很確定牠是往這邊走的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "一定是被大鳥叼走了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "應該是飛龍" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我們進去吧" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "被鎖起來了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我明明有用木棍把門撐開" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳看到什麼? 快說啊 莫蒂" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "聽著 我們很快就會回來" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這屋內的東西隨你們取用 就當是獎賞" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "呢喃精靈到哪去了?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "拜託了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "呢喃精靈出現在那裡" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "然後有一整排的呢喃精靈帶我進入森林" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "跟我來 快" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不會吧 明明是這裡" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "喔 等一下" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不會吧" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "歡迎光臨木雕藝品店" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "目前商品已銷售一空" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "請倒入一號藥水" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "欲聽蓋爾語版本" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "請倒入二號藥水" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "如果妳是那個紅髮姑娘 " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "請倒入三號藥水" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "如欲和小矮人..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "第二個日出後 魔咒效力將成為永久性" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event ""命運改變 看清事實 修補關係 摒棄傲慢"" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "再重覆一次" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event ""命運改變 看清事實 修補關係 摒棄傲慢"" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "就這樣 噹噹 
噢 謝謝您的光顧" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不! 妳去哪兒了?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "什麼?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "...參加藤編藝術節...
時鐘...祝您愉快..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我們明天再想辦法 " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "勇敢的小姑娘 我在這兒" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我永遠都會在妳身旁" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "什麼?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "有毒喔" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "公主不可以攜帶武器 這是妳說的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "拿去吧" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳沒嚐過怎麼知道好不好吃?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "回來啊" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "母后 是妳嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳變了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "是不是像..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我是說...是不是內在也變成熊了?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "快住手" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "母后 不要" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "喔 我的媽呀!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "母后 " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我知道妳心裡很害怕 很煩躁 很困惑" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "但是我們頭腦一定要保持冷靜" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "精靈會為我們帶路的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "母后 妳看" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這裡是...王座室" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "有沒有可能是妳說的那個故事裡面的王國?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "有四個王子的故事?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "一" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "二" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "三" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "四" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "那個魔咒 以前也發生過" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "十人的力量" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "那個大王子變成... " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "如果不趕快 妳會變成跟魔度一樣" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "修補關係 摒棄傲慢" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "那條掛毯!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "母后 難道妳有更好的方法?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "做的好" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "那我們的聯盟就到此為止" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "大家開戰吧" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "但是我們要怎麼把妳弄到樓上的掛毯室" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "那邊有這麼多人" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "沒問題的 父王" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我... 呃...我一直..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "是這樣的 我..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我一直在跟王后會談" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我們怎麼知道妳是不是在耍什麼把戲?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我才沒有..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我們再也無法忍受這場鬧劇了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "通通閉嘴!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這是哪招?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這王國陷入戰爭" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我們早就聽過那個古老王國的故事" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "那不過是個傳說" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "但是我們的關係緊緊相繫" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "可是當海上的侵略者威脅到這片土地時" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "大家團結在一起抵禦外敵" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "你們為彼此而戰" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "你們成為彼此的依靠" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "麥葛芬領主 我父王曾經救你一命" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "麥肯塔席領主 你救過我父王" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "你騎著戰馬衝進來 拖延了敵方的攻勢" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "勇猛地擲出長矛" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這個王國有著撼動人心的故事" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我父王統一了各氏族的勢力
各位領主也尊他為王" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "一直持續到今日" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "給這個王國帶來了嚴重的撕裂傷痕" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "所以 關於招親一事" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我決定要做正確的事... " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "並且...並且...並且..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "打破...傳統" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "認為...呃...真心地認為..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我...我們..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "跟隨自己心底的想法" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "在屬於我們的時代 尋找真愛" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "真是...太感人了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "是否允許我們年輕人為自己的愛情做主呢?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我只有一句話要說 這真是..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "什麼?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "贊成 有何不可呢?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我可沒有選擇她 那都是你的主意" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "你呢? 你也這麼想嗎?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "枕係胎綁了 俺耶相咬宣怎紫基德汪吼 口? (鄉音)" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "讓這些小伙子們自己想辦法去贏得她的芳心" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "其實是我最先提出這個想法的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "一起打開國王的私藏酒窖來大肆慶祝!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "把它縫起來" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這樣就可以把妳變回來了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "母后  現在不可以... " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "把你的頭和麵疙瘩一起煮成燉熊湯" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "艾莉諾" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這不是真的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "艾莉諾" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "那是..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不可以" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "沒關係" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "陛下 佛格" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "有熊啊" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "牠差點就抓到妳了 有沒有受傷?" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "真的不是魔度 " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不管是不是魔度 我都要替妳母后報仇" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我不能冒著失去妳的危險" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "聽我說 你不能殺她" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "那是你的妻子艾莉諾" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "快給我搜 你們這群笨蛋" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不可以...母后..." from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "噢 不會吧" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "把鑰匙搶來" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "針線 針線" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "啊 找到了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "二" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "穩住啊 漢密修" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "退後 退後 抓住牠" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "安格斯" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "修伯特 哈里斯 你們去幫漢密修" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我決不會讓你殺害我母后" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "小鬼們" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "殺了牠" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "納命來吧 我徒手解決你" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "第二個日出" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "噢 不" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "怎麼會這樣 我... " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "對不起" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "都是我的錯" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "是我害了妳" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我要把妳變回來" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我好想把妳變回來 母后" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我愛妳" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳變了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "哦 親愛的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "我們都變了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "艾莉諾" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "艾莉諾" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "哦 親愛的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "妳回來了 " from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "不要光是看 快想點辦法" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "這些光溜溜的小寶寶" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "梅莉達 艾莉諾
快一點 我們要出發了" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "怎麼會? 噢!" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "有人說命運是上天注定的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
[subrip @ 0x7fbe3406c400] Unable to recode subtitle event "但我知道不是這樣的" from UTF-16 to UTF-8
Error while decoding stream #1:0: Invalid argument
frame=  226 fps=0.0 q=-1.0 Lsize=   20171kB time=01:24:16.43 bitrate=  32.7kbits/s    
video:18285kB audio:1843kB subtitle:17kB other streams:0kB global headers:0kB muxing overhead: 0.126388%

the WRONG command line that succeeds:

ffmpeg -i Brave.mkv -sub_charenc UTF-8 -i Brave.srt -map 0:0 -map 0:1 -map 1:0 -scodec mov_text -vcodec copy -acodec copy -y Brave.mp4
ffmpeg version 2.4.1-tessus Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 22 2014 23:16:01 with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
  configuration: --cc=/usr/bin/clang --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-libsoxr --enable-libwavpack --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --enable-runtime-cpudetect
  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 'Brave.mkv':
  Metadata:
    ENCODER         : Lavf55.19.104
  Duration: 00:00:10.09, start: 0.000000, bitrate: 17854 kb/s
    Chapter #0.0: start 0.000000, end 10.000000
    Metadata:
      title           : Der Ringfund
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(ger): Audio: dts (DTS-ES), 48000 Hz, 6.1, fltp, 1536 kb/s (default) (forced)
    Metadata:
      title           : Deutsch DTS
      LANGUAGE        : ger
    Stream #0:2(eng): Audio: dts (DTS-ES), 48000 Hz, 6.1, fltp, 1536 kb/s
    Metadata:
      title           : Englisch DTS
      LANGUAGE        : eng
    Stream #0:3(ger): Subtitle: subrip (default) (forced)
    Metadata:
      title           : Deutsch Forced
      LANGUAGE        : ger
Input #1, srt, from 'Brave.srt':
  Duration: N/A, bitrate: N/A
    Stream #1:0: Subtitle: subrip
[mp4 @ 0x7f9f4906b200] track 1: codec frame size is not set
Output #0, mp4, to 'Brave.mp4':
  Metadata:
    encoder         : Lavf56.4.101
    Chapter #0.0: start 0.000000, end 10.000000
    Metadata:
      title           : Der Ringfund
    Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x800 [SAR 1:1 DAR 12:5], q=2-31, 23.98 fps, 16k tbn, 1k tbc (default)
    Stream #0:1(ger): Audio: dts ([169][0][0][0] / 0x00A9), 48000 Hz, 6.1, 1536 kb/s (default) (forced)
    Metadata:
      title           : Deutsch DTS
      LANGUAGE        : ger
    Stream #0:2: Subtitle: mov_text ([8][0][0][0] / 0x0008)
    Metadata:
      encoder         : Lavc56.1.100 mov_text
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
  Stream #1:0 -> #0:2 (subrip (native) -> mov_text (native))
Press [q] to stop, [?] for help
frame=  226 fps=0.0 q=-1.0 Lsize=   20188kB time=01:24:16.43 bitrate=  32.7kbits/s    
video:18285kB audio:1843kB subtitle:24kB other streams:0kB global headers:0kB muxing overhead: 0.177520%

#4078 Specify audio bitrate per-channel ffmpeg enhancement Nov 4, 2014

Fairly self-explanatory, but currently we can specify audio bit-rate for the entire stream, but this requires us to calculate the total bitrate from the number of input channels ourselves.

This is fine for single files, but for batch-encoding a mixture of stereo and surround-sound content it's not as ideal, or even for encoding a file that contains multiple audio-streams.

To accommodate these use-cases I'd like to request an alternative syntax for specifying audio channels with a per-channel bit-rate so that I can instead just specify say 64k per channel for AAC, with ffmpeg automatically using a total of 128k for stereo or 384k for 5.1 etc.

I'm not sure what the best way to do this would be. I suppose one option would be to have a new parameter -bc for "bits per channel", so I could specify something like ffmpeg -i "$INFILE" -acodec aac -bc:a 64k "$OUTFILE"

An alternative would be allowing some kind of suffix to the -b option such as: ffmpeg -i "$INFILE" -acodec aac -b:a 64k/c "$OUTFILE"


#4140 wav: Demux cover art avformat enhancement Nov 26, 2014

Summary of the bug:

ffplay does not show cover picture in it's gui window. Attached file contains picture described by id3v2.2 tags. File is wav. From libavformat/utils.c I found that id3 parsing happens only with mp3, aac, tta formats. If add wav condition parsing done well. Is it correct to add wav id3 parsing functionality?

How to reproduce: % ffplay test.wav

ffplay version N-68018-g8b8cb30 Copyright (c) 2003-2014 the FFmpeg developers

built on Nov 26 2014 16:52:25 with gcc 4.6 (Ubuntu/Linaro? 4.6.3-1ubuntu5) configuration: libavutil 54. 15.100 / 54. 15.100 libavcodec 56. 13.100 / 56. 13.100 libavformat 56. 15.100 / 56. 15.100 libavdevice 56. 3.100 / 56. 3.100 libavfilter 5. 2.103 / 5. 2.103 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100

Input #0, wav, from 'test.wav': 0KB vq= 0KB sq= 0B f=0/0

Metadata:

title : The Wailing Wall artist : Inner Sanctum album : CBS, Tue 11-06-45 date : 1945

Duration: 00:54:50.70, bitrate: 12 kb/s

Stream #0:0: Audio: mp3 (U[0][0][0] / 0x0055), 22050 Hz, mono, s16p, 24 kb/s

3.29 M-A: 0.000 fd= 0 aq= 1KB vq= 0KB sq= 0B f=0/0

ffmpeg version: master (8b8cb30d11885b406ce0dd896b42992386d98594)

built on: Ubuntu 12.04 LTS 64bit


#4141 HEVC: 1920x1080i file decoded as 1920x540p avcodec enhancement Nov 26, 2014

Summary of the bug: It seems ffmpeg is decoding this sample as 1920x540 progressive instead of 1920x1080 interlaced.

How to reproduce:

ffmpeg version N-67999-gd0879a9 Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov 25 2014 11:37:18 with gcc 4.9.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-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. 15.100 / 54. 15.100
  libavcodec     56. 13.100 / 56. 13.100
  libavformat    56. 15.100 / 56. 15.100
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[hevc @ 02a52aa0] Could not find ref with POC 72
[hevc @ 02a52aa0] Could not find ref with POC 68
[hevc @ 02a52aa0] Could not find ref with POC 64
Input #0, mpeg, from 'Service 5 (T2 Test) (2014-11-26 01-39-13-695).mpg':
  Duration: 00:00:04.69, start: 50223.448456, bitrate: 3204 kb/s
    Stream #0:0[0x1e0]: Video: hevc (Main), yuv420p(tv), 1920x540, 25 fps, 25 tbr, 90k tbn, 25 tbc
    Stream #0:1[0x80]: Audio: eac3, 48000 Hz, stereo, fltp, 192 kb/s

#4149 Support mjpeg rotation undetermined enhancement Dec 1, 2014

Summary of the bug:

Take a video with rotate: 90 metadata set (e.g. iPhone) and extract a frame to use as a thumbnail. Rotation / orientation metadata does not appear to be set in the resulting jpeg.

How to reproduce:

Extract the JPEG

ffmpeg -itsoffset 4 -i bz_12900.mov -y -vframes 1 bz.jpg

ffmpeg version N-68129-g928322c Copyright (c) 2000-2014 the FFmpeg developers
  built on Dec  1 2014 02:39:44 with gcc 4.9.2 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-
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-l
ibtheora --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. 15.100 / 54. 15.100
  libavcodec     56. 13.100 / 56. 13.100
  libavformat    56. 15.101 / 56. 15.101
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bz_12900.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2014-09-16 06:15:50
    model           : iPad 2
    model-eng       : iPad 2
    encoder         : 7.1.2
    encoder-eng     : 7.1.2
    date            : 2014-09-16T11:45:50+0530
    date-eng        : 2014-09-16T11:45:50+0530
    location        : +12.9394+077.6255+897.588/
    location-eng    : +12.9394+077.6255+897.588/
    make            : Apple
    make-eng        : Apple
  Duration: 00:00:13.95, start: 0.000000, bitrate: 10840 kb/s
    Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720, 10740 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)
    Metadata:
      rotate          : 90
      creation_time   : 2014-09-16 06:15:50
      handler_name    : Core Media Data Handler
      encoder         : H.264
    Side data:
      displaymatrix: rotation of -90.00 degrees
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 64 kb/s (default)
    Metadata:
      creation_time   : 2014-09-16 06:15:50
      handler_name    : Core Media Data Handler
[swscaler @ 0000000000489c20] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to 'bz.jpg':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    make-eng        : Apple
    model           : iPad 2
    model-eng       : iPad 2
    make            : Apple
    encoder         : Lavf56.15.101
    date            : 2014-09-16T11:45:50+0530
    date-eng        : 2014-09-16T11:45:50+0530
    location        : +12.9394+077.6255+897.588/
    location-eng    : +12.9394+077.6255+897.588/
    Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 1280x720, q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
    Metadata:
      rotate          : 90
      creation_time   : 2014-09-16 06:15:50
      handler_name    : Core Media Data Handler
      encoder         : Lavc56.13.100 mjpeg
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=6.2 Lsize=N/A time=00:00:00.03 bitrate=N/A dup=1 drop=1
video:49kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

We see rotate:90 in the output section above (in the video section which is confusing since no video file was produced), but if I look at tags in resulting file using exiftool it's not there:

ExifTool Version Number         : 9.72
File Name                       : BZ_12900.jpeg
Directory                       : .
File Size                       : 54 kB
File Modification Date/Time     : 2014:12:01 11:06:44-05:00
File Access Date/Time           : 2014:12:01 11:07:06-05:00
File Inode Change Date/Time     : 2014:12:01 11:07:06-05:00
File Permissions                : rw-r-----
File Type                       : JPEG
MIME Type                       : image/jpeg
Comment                         : Lavc55.18.102
Image Width                     : 1280
Image Height                    : 720
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
Image Size                      : 1280x720

Also don't see it in ffmpeg output.

ffmpeg -i bz.jpg -f ffmetadata bz.jpg.ff.txt

ffmpeg version N-68129-g928322c Copyright (c) 2000-2014 the FFmpeg developers
  built on Dec  1 2014 02:39:44 with gcc 4.9.2 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-
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-l
ibtheora --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. 15.100 / 54. 15.100
  libavcodec     56. 13.100 / 56. 13.100
  libavformat    56. 15.101 / 56. 15.101
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, image2, from 'bz.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: 10088 kb/s
    Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x720, 25 tbr, 25 tbn, 25 tbc
File 'bz.jpg.ff.txt' already exists. Overwrite ? [y/N] y
Output #0, ffmetadata, to 'bz.jpg.ff.txt':
  Metadata:
    encoder         : Lavf56.15.101
Stream mapping:
Press [q] to stop, [?] for help
size=       0kB time=-577014:-32:-22.-77 bitrate=N/A
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Seems like if rotate: 90 is detected in the video that orientation: 8 should be set in the resulting JPEG or -vf transpose=1 should automatically happen to correctly orient the extracted frame.


#4202 animated webp doesn't loop by default avformat enhancement Dec 22, 2014

Animated webp files don't loop. Though I guess this may not be a bug since they don't HAVE to loop, it makes sense to me that they should by default.


#4360 reencode mbs even at -mbd 0 when coeffs require cliping avcodec enhancement Mar 8, 2015

Summary of the bug:

A specific sample video experiences heavy artifacts when transcoded to MPEG-1 video using -mbd 0 (or leaving it as default), even at very high bit rates. -q:v 1 increases the severity.

How to reproduce:

Download this video: http://trailers.divx.com/divx_prod/profiles/Micayala_DivX1080p_ASP.divx

Run this (used Zoranoe git-9d7e42e 64-bit static build)

% ffmpeg -i Micayala_DivX1080p_ASP.divx -b:v 30000k -bf 5 -report -y artifacts.m1v

Notice artifacts on the DivX logo animations and both the start and end of the video.

Changing -b:v to 5000k or 30000k did not have any effect. -q:v 1 increased the severity. The problem does not occur when using -mbd 1 or -mbd 2.


#4409 Implement decoding for 10bit Grayscale (Y only) pixelformat from DPX avcodec enhancement Mar 30, 2015

Summary of the bug: Hello, we are using a Scanity HDR filmscanner which is able to create 10bit grayscale DPX files. Current ffmpeg versions are not able to decode/encode this pixelformat. I need just to decode this pixelformat from DPX files from a Scanity scanner. So, in fact, this is not a bug, it is an improvement ticket.

How to reproduce: just try to decode a DPX from the attached testbed (DPX_Samples_10Bit_Y_Only.zip).

C:\Users\gersti>ffmpegnew -i "I:\DPX\_DPX examples\Bojan\ffmpegticket\0090000.dpx"
ffmpeg version N-70803-g0f16dfd Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libblu
ray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --
enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enab
le-zlib
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 28.100 / 56. 28.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 12.100 /  5. 12.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[dpx @ 0000000002d27840] Packing 2 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 impl
emented.
[dpx_pipe @ 0000000002d16600] decoding for stream 0 failed
[dpx_pipe @ 0000000002d16600] Could not find codec parameters for stream 0 (Video: dpx, none, 2048x1520): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
I:\DPX\_DPX examples\Bojan\ffmpegticket\0090000.dpx: could not find codec parameters
Input #0, dpx_pipe, from 'I:\DPX\_DPX examples\Bojan\ffmpegticket\0090000.dpx':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: dpx, none, 2048x1520, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

Additonal Information from SCANITY HDR: Supported Pixel Formats: *Bits per Component (Kodak Cineon, DPX): 8/10/16bit per Component *Color Components (DPX, TIFF): RGB / RGBA / Y only / Alpha only

10 Bit Y Only: SCANITY usually will generate a DPX V2.0 conform images in the 10 Bit Y only B image packing mode, which is used in the SPIRIT family. This switch allows to change the image packing to the DPX V2.0 conform 10 Bit Y only A mode.

I guess ffmpeg means with "[dpx @ 0000000002d27840] Packing 2 is not implemented" the B IMAGE PACKING MODE.

Best Regards Christoph Gerstbauer


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

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

How to reproduce:

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

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

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


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





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



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




#4638 Multithreaded FLAC encoding avcodec enhancement Jun 18, 2015

I found that FLAC encoding utilizes only 100% of CPU, instead, e.g. 1200% (I have 12-core computer). It takes so long when encoding large files at maximum compression level.

Could you add multithreading to FLAC encoding? Maybe, openCL would be help common users too. flaCCL, FlaCuda? are multithreaded and have better compression than that one of ffmpeg. Could you include them into ffmpeg?

I hope this request won't hang here 3-2 years like many others. :'(


#4799 audio codec conversion codec 0x0135 sipro lab kelvin avcodec enhancement Aug 24, 2015

I'm trying to convert codec 0x0135 sipro lab kelvin to mp3. I think ffmpeg currently doesn't support this conversion.

commandline - ffmpeg -i sipro_codec_wav.wav test.mp3 http://www.datafilehost.com/d/cef9a4d9 http://www.datafilehost.com/d/d87133da http://www.datafilehost.com/d/05a4dc9e - sample wav


#4907 Support decoding animated WebP images avcodec enhancement Oct 5, 2015

Summary of the bug: Currently, FFmpeg can encode animated WebPs?, but cannot decode them, which is inconvenient for users.

Decoding animated WebPs? right now generates "image data not found error" due to "unsupported chunk": https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/webp.c#L1504

How to reproduce: (example input image: https://www.gstatic.com/webp/animated/1.webp)

% ffmpeg -i 1.webp 1.gif
ffmpeg version N-75787-g1d4af04 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
  configuration: --enable-libwebp
  libavutil      55.  2.100 / 55.  2.100
  libavcodec     57.  4.100 / 57.  4.100
  libavformat    57.  3.100 / 57.  3.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 10.100 /  6. 10.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.100 /  2.  0.100
[webp @ 0x3782940] image data not found
[webp_pipe @ 0x3781360] decoding for stream 0 failed

< Rest of the output truncated >


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

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

How to reproduce:

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

#4947 libx264/265 encoder "parameter unknown" is a warning rather than an error avcodec enhancement Oct 20, 2015

Summary of the bug: A cyan-yellow warning is displayed when an invalid parameter is used for libx264/265 param options, which continues the encoding process, furthermore with the combined use of verbose messages the console output may scroll far enough for this error to be missed, it has created confusion that lead to assumption of a bug and has spent unnecessary effort and time spent in discussions.

The mistake in this case was of the use of "-" minus/dash which is a ffmpeg param, not the encoder option.

x265 case: Unknown option -crf.

x264 case: Error parsing option "-crf = 20".

As we can see, the x264 message is even closer, it is actually written as an error, but it still appears and behaves as a warning and the encoding process continues.

How to reproduce:

% ffmpeg -i input -x265-params -crf=20 ... output
ffmpeg version ... N/A
built on ... N/A

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

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

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

And on the client:

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

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

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


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

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

Summary of the bug:

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

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

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

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

And an excerpt from the attached output of that command:

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

How to reproduce:

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

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

Log Output:

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

Here's an excerpt, though:

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

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

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

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

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

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

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

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

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

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

Currently for this to work, users do the following:

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

where 0.96 equals 24⁄25.

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

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

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

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


#5213 Change Flags for MPEG files without reencode avcodec enhancement Feb 2, 2016

Is it possible to implemente a feature in MPEG to change flags in MPEG files, without the need to reencode? This would greatly help in cases when it is needed to change aspect ratio, frame rate, encoding profiles, etc.


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

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

% ffplay -h

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


#5361 support for the options of decoding quality of videotoolbox avcodec enhancement Mar 22, 2016

thank ffmpeg team for the good app.

as i said in the ticket #5272, seeing "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/VideoToolbox.framework/Versions/A/Headers/VTDecompressionProperties.h" videotoolbox decoder has the options of decoding quality.

there is a commit of such a function in vlc player. [vlc-commits] videotoolbox: add temporal deinterlacer option ​https://mailman.videolan.org/pipermail/vlc-commits/2015-August/031929.html

i request supports for the below options. for denterlace kVTDecompressionPropertyKey_FieldMode kVTDecompressionPropertyKey_DeinterlaceMode

for scale kVTDecompressionPropertyKey_ReducedResolutionDecode

for frame drop kVTDecompressionPropertyKey_ReducedFrameDelivery kVTDecompressionPropertyKey_OnlyTheseFrames

for realtime playback kVTDecompressionPropertyKey_SuggestedQualityOfServiceTiers

though there are some options pixel formats and kVTDecompressionPropertyKey_ReducedCoefficientDecode, i don't evaluate these.


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

thank ffmpeg team for the good app.

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

i request support for these.


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

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

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

ffmpeg version: 3.0
built on: Unknown

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


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

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

It would be great if this could be implemented.

Relevant excerpt from WavePack? user documentation:

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


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

I'm using FFMpeg under Windows to stream by webcam using MJPEG direct copy via this command line:

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

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

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

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

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


#5517 Add support for basic HTTP authentication to build-in http server avdevice enhancement May 6, 2016

I'm streaming webcam by using this command line

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

However, it would be nice to protect this stream by specifying username and password, like this

-username user -password password


#5561 Implement a tiff parser avcodec enhancement May 16, 2016

when sending TIFF files to ffmpeg via piped input -> error:

[tiff_pipe @ 0000024d6abdcf40] Could not find codec parameters for stream 0 (Video: tiff, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options

I successfully tested piped input with png and jpg files

ffmpeg started on 2016-05-16 at 00:41:45
Report written to "ffmpeg-20160516-004145.log"
Command line:
ffmpeg -v 9 -framerate 25 -i pipe:0 test.mp4 -y -report < file_1_test.tif
ffmpeg version N-79173-gbe746ae Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 32.100 / 57. 32.100
  libavformat    57. 29.101 / 57. 29.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 40.102 /  6. 40.102
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-framerate' ... matched as AVOption 'framerate' with argument '25'.
Reading option '-i' ... matched as input file with argument 'pipe:0'.
Reading option 'test.mp4' ... matched as output file.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option y (overwrite output files) with argument 1.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file pipe:0.
Successfully parsed a group of options.
Opening an input file: pipe:0.
[pipe @ 00000241e664f080] Setting default whitelist 'crypto'
[tiff_pipe @ 00000241e664e0e0] Format tiff_pipe probed with size=2048 and score=51
[tiff_pipe @ 00000241e664e0e0] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0
[tiff_pipe @ 00000241e664e0e0] parser not found for codec tiff, packets or times may be invalid.
[tiff_pipe @ 00000241e664e0e0] Could not find codec parameters for stream 0 (Video: tiff, none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[tiff_pipe @ 00000241e664e0e0] After avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0 frames:0
pipe:0: could not find codec parameters
Input #0, tiff_pipe, from 'pipe:0':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 0, 1/25: Video: tiff, none, 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output file test.mp4.
Successfully parsed a group of options.
Opening an output file: test.mp4.
Output #0, mp4, to 'test.mp4':
Output file #0 does not contain any stream
[AVIOContext @ 00000241e6657200] Statistics: 32768 bytes read, 0 seeks

for comparison, here I am using the same TIFF file with the -i option, which works fine:

ffmpeg started on 2016-05-16 at 00:43:15
Report written to "ffmpeg-20160516-004315.log"
Command line:
ffmpeg -v 9 -framerate 25 -i file_1_test.tif test.mp4 -y -report
ffmpeg version N-79173-gbe746ae Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 32.100 / 57. 32.100
  libavformat    57. 29.101 / 57. 29.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 40.102 /  6. 40.102
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-framerate' ... matched as AVOption 'framerate' with argument '25'.
Reading option '-i' ... matched as input file with argument 'file_1_test.tif'.
Reading option 'test.mp4' ... matched as output file.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option y (overwrite output files) with argument 1.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file file_1_test.tif.
Successfully parsed a group of options.
Opening an input file: file_1_test.tif.
[file @ 000002bc834af0a0] Setting default whitelist 'file,crypto'
[tiff_pipe @ 000002bc834ae100] Format tiff_pipe probed with size=2048 and score=51
[tiff_pipe @ 000002bc834ae100] Before avformat_find_stream_info() pos: 0 bytes read:32768 seeks:0
[tiff_pipe @ 000002bc834ae100] parser not found for codec tiff, packets or times may be invalid.
[tiff_pipe @ 000002bc834ae100] parser not found for codec tiff, packets or times may be invalid.
[tiff_pipe @ 000002bc834ae100] After avformat_find_stream_info() pos: 548628 bytes read:548628 seeks:0 frames:1
Input #0, tiff_pipe, from 'file_1_test.tif':
  Duration: N/A, bitrate: N/A
    Stream #0:0, 1, 1/25: Video: tiff, rgba, 480x270 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Successfully opened the file.
Parsing a group of options: output file test.mp4.
Successfully parsed a group of options.
Opening an output file: test.mp4.
[file @ 000002bc83547a40] Setting default whitelist 'file,crypto'
Successfully opened the file.
detected 4 logical cores
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] Setting 'video_size' to value '480x270'
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] Setting 'pix_fmt' to value '28'
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] Setting 'time_base' to value '1/25'
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] Setting 'frame_rate' to value '25/1'
[graph 0 input from stream 0:0 @ 000002bc8354aaa0] w:480 h:270 pixfmt:rgba tb:1/25 fr:25/1 sar:1/1 sws_param:flags=2
[format @ 000002bc8354b120] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21]
[format @ 000002bc8354b120] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21'
[auto-inserted scaler 0 @ 000002bc8354b1e0] Setting 'flags' to value 'bicubic'
[auto-inserted scaler 0 @ 000002bc8354b1e0] w:iw h:ih flags:'bicubic' interl:0
[format @ 000002bc8354b120] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 000002bc834adb80] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
[auto-inserted scaler 0 @ 000002bc8354b1e0] picking yuv444p out of 8 ref:rgba alpha:1
[auto-inserted scaler 0 @ 000002bc8354b1e0] w:480 h:270 fmt:rgba sar:1/1 -> w:480 h:270 fmt:yuv444p sar:1/1 flags:0x4
No pixel format specified, yuv444p for H.264 encoding chosen.
Use -pix_fmt yuv420p for compatibility with outdated media players.
[libx264 @ 000002bc83546fe0] using mv_range_thread = 24
[libx264 @ 000002bc83546fe0] using SAR=1/1
[libx264 @ 000002bc83546fe0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 000002bc83546fe0] profile High 4:4:4 Predictive, level 2.1, 4:4:4 8-bit
[libx264 @ 000002bc83546fe0] 264 - core 148 r2665 a01e339 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'test.mp4':
  Metadata:
    encoder         : Lavf57.29.101
    Stream #0:0, 0, 1/12800: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 480x270 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.32.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (tiff (native) -> h264 (libx264))
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
Clipping frame in rate conversion by 0.000008
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[output stream 0:0 @ 000002bc8354ae00] EOF on sink link output stream 0:0:default.
No more output streams to write to, finishing.
[libx264 @ 000002bc83546fe0] frame=   0 QP=15.09 NAL=3 Slice:I Poc:0   I:510  P:0    SKIP:0    size=1209 bytes
frame=    1 fps=0.0 q=28.0 Lsize=       3kB time=00:00:00.04 bitrate= 539.6kbits/s speed=N/A    
video:2kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 42.224564%
Input file #0 (file_1_test.tif):
  Input stream #0:0 (video): 1 packets read (548628 bytes); 1 frames decoded; 
  Total: 1 packets (548628 bytes) demuxed
Output file #0 (test.mp4):
  Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (1897 bytes); 
  Total: 1 packets (1897 bytes) muxed
1 frames successfully decoded, 0 decoding errors
[AVIOContext @ 000002bc83547b20] Statistics: 30 seeks, 24 writeouts
[libx264 @ 000002bc83546fe0] frame I:1     Avg QP:15.09  size:  1209
[libx264 @ 000002bc83546fe0] mb I  I16..4:  0.6% 89.2% 10.2%
[libx264 @ 000002bc83546fe0] 8x8 transform intra:89.2%
[libx264 @ 000002bc83546fe0] coded y,u,v intra: 4.6% 0.0% 0.0%
[libx264 @ 000002bc83546fe0] i16 v,h,dc,p:  0% 33% 67%  0%
[libx264 @ 000002bc83546fe0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 100%  0%  0%  0%  0%  0%  0%
[libx264 @ 000002bc83546fe0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 34% 24%  4%  2%  0%  1%  8%  2%
[libx264 @ 000002bc83546fe0] kb/s:241.80
[AVIOContext @ 000002bc834b7220] Statistics: 548628 bytes read, 0 seeks

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

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


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

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

SIMD instructions on PPC64 Linux.


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

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


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

Summary of the bug:

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

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

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

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

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

How to reproduce:

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

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


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

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

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


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

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

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


#5842 "unsupported" mtaf file avcodec enhancement Sep 12, 2016

Well, it does use the mtaf codec but the output doesn't even look stable. It's just noises at this point.

>ffprobe E:\MGS_HDC\PS3\BLUS30847\PS3_GAME\USRDIR\MGS3\mgs3\us\mg1_bgm03_main.mtaf
ffprobe version N-81516-gbe07c25 Copyright (c) 2007-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 29.100 / 55. 29.100
  libavcodec     57. 54.101 / 57. 54.101
  libavformat    57. 48.101 / 57. 48.101
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 58.100 /  6. 58.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mtaf, from 'E:\MGS_HDC\PS3\BLUS30847\PS3_GAME\USRDIR\MGS3\mgs3\us\mg1_bgm03_main.mtaf':
  Duration: 00:01:40.23, bitrate: 408 kb/s
    Stream #0:0: Audio: adpcm_mtaf, 48000 Hz, 2 channels, s16p

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

Summary of the bug:

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

-c:s mov_text

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

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

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

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

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

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

How to reproduce:

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

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


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

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

How to reproduce: ffmpeg, ffplay from ffmpeg-git

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

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

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

mpg/h264 will show AR change, h265 not.

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


#6074 encode HDCD feature avfilter enhancement Jan 11, 2017

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

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

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

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

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

Thanks for considering.

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


#6269 WMV3 plus WMAv2 inside MOV fail avformat enhancement Mar 27, 2017

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

ffmpeg version N-84679-gd65b595 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 51.100 / 55. 51.100
  libavcodec     57. 86.103 / 57. 86.103
  libavformat    57. 67.100 / 57. 67.100
  libavdevice    57.  3.101 / 57.  3.101
  libavfilter     6. 78.100 /  6. 78.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[wmav2 @ 000000000035b000] block_align is not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000002c7320] Failed to open codec in avformat_find_stream_info
[wmv3 @ 000000000035bac0] Extra data: 8 bits left, value: 0
[wmav2 @ 000000000035b000] block_align is not set
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'wmv3.mov':
  Metadata:
    major_brand     : qt  
    minor_version   : 537199360
    compatible_brands: qt  
    creation_time   : 2009-01-28T03:53:42.000000Z
    com.apple.quicktime.player.movie.audio.gain: 1.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute: 
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.6 (7.6)
    com.apple.quicktime.version: 7.6.0 (1290) 0x7608000 (Mac OS X, 10.5.6, 9G55)
  Duration: 00:02:34.80, start: 0.000000, bitrate: 1494 kb/s
    Stream #0:0(eng): Audio: wmav2 (WMA2 / 0x32414D57), 44100 Hz, stereo, 113 kb/s (default)
    Metadata:
      rotate          : 0
      creation_time   : 2009-01-28T03:53:42.000000Z
      handler_name    : Apple Sound Media Handler
    Stream #0:1(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 240x180, 1378 kb/s, 25 fps, 25 tbr, 2500 tbn, 2500 tbc (default)
    Metadata:
      rotate          : 0
      creation_time   : 2009-01-28T03:53:42.000000Z
      handler_name    : Apple Video Media Handler
    Side data:
      displaymatrix: rotation of -0.00 degrees

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

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

If I try:

ffmpeg -i audio2.oma -f mp3 output.mp3
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
[oma @ 0x7f8792000000] Unsupported codec 5!
audio2.OMA: Function not implemented

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

Anything I'm missing here?

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

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


#6358 ffmpeg requires constant output dimensions ffmpeg enhancement Apr 28, 2017

Summary of the bug: I have a video recorded from TV (DVB) and this video has a different SAR other the time. Like when advertisement or some modern TV show is shown then SAR is 64:45 which gives image with 16:9 aspect ratio but when some old TV show is shown then SAR is 16:15 which gives image with 4:3 aspect ratio. I want to convert this video to a sequence of images one per second and I want image to have a valid resolution according to SAR with correct aspect ratio.

The first problem which I face is that ffmpeg does not take SAR into account when generate images. I solve this problem using video filter, like this: -vf "scale=iw:ih/sar:eval=frame".

But after that I face a problem which I don't know how to solve: ffmpeg generate images with always the same resolution and does not change it in respect to changed scale. In my case it simply crop image when aspect ratio is 4:3. In logs it is visible that scaler calculate resolution correctly but output images always has the same resolution as for first image which is a problem.

How to reproduce:

% ffmpeg -i test.ts -vf "scale=iw:ih/sar:eval=frame,fps=1" -qscale:v 6 "frames/out%03d.jpg"
ffmpeg version 3.2.4-1~16.04.york1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.1 (Ubuntu 5.4.1-5ubuntu2~16.04.york1) 20170210
  configuration: --prefix=/usr --extra-version='1~16.04.york1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, mpegts, from 'test.ts':
  Duration: 00:01:00.14, start: 1.400000, bitrate: 8223 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: mpeg2video (Main), 1 reference frame ([2][0][0][0] / 0x0002), yuv420p(tv, top first, left), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x101](deu): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 448 kb/s
[Parsed_scale_0 @ 0x55a718d39480] w:iw h:ih/sar flags:'bicubic' interl:0
[Parsed_fps_1 @ 0x55a718d39f20] fps=1/1
[graph 0 input from stream 0:0 @ 0x55a718d39da0] w:720 h:576 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:64/45 sws_param:flags=2
[swscaler @ 0x55a718d3af40] deprecated pixel format used, make sure you did set range correctly
[Parsed_scale_0 @ 0x55a718d39480] w:720 h:576 fmt:yuv420p sar:64/45 -> w:720 h:405 fmt:yuvj420p sar:1/1 flags:0x4
Output #0, image2, to 'out%03d.jpg':
  Metadata:
    encoder         : Lavf57.56.101
    Stream #0:0: Video: mjpeg, 1 reference frame, yuvj420p(pc, left), 720x405 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 1 fps, 1 tbn, 1 tbc
    Metadata:
      encoder         : Lavc57.64.101 mjpeg
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[mpegts @ 0x55a718cf04a0] Correcting start time by 178733
[swscaler @ 0x55a718ee4560] deprecated pixel format used, make sure you did set range correctly
[Parsed_scale_0 @ 0x55a718d39480] w:720 h:576 fmt:yuv420p sar:16/15 -> w:720 h:540 fmt:yuvj420p sar:1/1 flags:0x4
No more output streams to write to, finishing.56.00 bitrate=N/A speed= 9.3x    
frame=   61 fps=9.7 q=6.0 Lsize=N/A time=00:01:01.00 bitrate=N/A speed= 9.7x    
video:1537kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (test.ts):
  Input stream #0:0 (video): 1497 packets read (53746648 bytes); 1494 frames decoded; 
  Input stream #0:1 (audio): 0 packets read (0 bytes); 
  Total: 1497 packets (53746648 bytes) demuxed
Output file #0 (out%03d.jpg):
  Output stream #0:0 (video): 61 frames encoded; 61 packets muxed (1573461 bytes); 
  Total: 61 packets (1573461 bytes) muxed
[Parsed_fps_1 @ 0x55a718d39f20] 1494 frames in, 61 frames out; 1433 frames dropped, 0 frames duplicated.

#6419 MPEG-4 SLS audio codec not supported avcodec enhancement May 25, 2017

Summary of the issue: SLS audio codec is not supported. https://en.wikipedia.org/wiki/MPEG-4_SLS

How to reproduce:

[aac @ 078ae440] Audio object type 37 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.

#6430 Ogg audio file not detected avformat enhancement May 31, 2017

Sample: http://www.datafilehost.com/d/1c2c88bf

MediaInfo? correctly detects it as an Ogg file.

FFmpeg output:

ffmpeg version N-86310-g220b24c Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.1.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 63.100 / 55. 63.100
  libavcodec     57. 96.101 / 57. 96.101
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 90.100 /  6. 90.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Taking_Damage_3.SoundNodeWave: Invalid data found when processing input

And after renaming to .ogg:

[ogg @ 00000000002d72c0] Format ogg detected only with low score of 1, misdetection possible!
Input #0, ogg, from 'Taking_Damage_3.SoundNodeWave.ogg':
  Duration: 00:00:01.43, start: 0.000000, bitrate: 416 kb/s
    Stream #0:0: Audio: vorbis, 22050 Hz, mono, fltp, 37 kb/s
    Metadata:
      ENCODER         : UnrealEngine3

#6468 ffmpeg doesn't maintain chapters when concatenating two MP4 files using the concat demuxer avformat enhancement Jun 18, 2017

I'm trying to concatenate two MP4 files using the concat demuxer and want to retain the chapter markers that exist in both files so that the output file contains all the chapters from both of my input files. The source files contain chapter markers according to mediainfo which I want to be maintained in the output, but when using the -map_chapters option in ffmpeg they don't appear in the output file.

I'm concatenating the following two files from streams.txt:

file 'episode2.mp4'
file 'episode3.mp4'

which contain the following chapter/menu data (output cut down for brevity):

$ mediainfo episode2.mp4
...
Menu
ID                                       : 3
Codec ID                                 : text
Duration                                 : 22mn 25s
Language                                 : English
Encoded date                             : UTC 2017-06-18 15:27:40
Tagged date                              : UTC 2017-06-18 15:27:40
Bit rate mode                            : CBR
00:00:00.000                             : Chapter 1
00:00:59.720                             : Chapter 2
...

and I'm using the following ffmpeg command:

ffmpeg -f concat -safe 0 -i streams.txt -map_metadata 0 -map_chapters 0 -c copy output.mp4

however the output.mp4 file contains no chapter markers according to mediainfo and there's nothing viewable in any media player. I'm using ffmpeg 3.3.2 on Ubuntu 14.04.5:

$ ffmpeg -version
ffmpeg version 3.3.1 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc
libavutil      55. 58.100 / 55. 58.100
libavcodec     57. 89.100 / 57. 89.100
libavformat    57. 71.100 / 57. 71.100
libavdevice    57.  6.100 / 57.  6.100
libavfilter     6. 82.100 /  6. 82.100
libavresample   3.  5.  0 /  3.  5.  0
libswscale      4.  6.100 /  4.  6.100
libswresample   2.  7.100 /  2.  7.100
libpostproc    54.  5.100 / 54.  5.100
$ uname -a
Linux server 3.13.0-119-generic #166-Ubuntu SMP Wed May 3 12:18:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

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

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

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

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

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

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

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

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

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

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

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


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

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

How to reproduce: HR_6.1_MATRIX_ES_PHASE_SHIFT_3840.dtshd

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


HR_6.1_MATRIX_ES_PRE-MIXED_3840.dtshd

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

#6636 Support H264/5 Streams with v4l2 outdev avdevice enhancement Sep 4, 2017

Hi,

Currently, v4l2 format outputs only support rawvideo. Some outputs support h264, like v4l2loopback(see here https://github.com/umlaeute/v4l2loopback/blob/master/v4l2loopback_formats.h)

You currently get this error if you try the following command ffmpeg -f x11grab -r 30 -s 2560x1440 -i :0.0+1920,0 -vcodec libx264 -f v4l2 -y /dev/video0

[v4l2 @ 0x94a6c0] V4L2 output device supports only a single raw video stream

I would like the ability to output to v4l2 with h264/5 encoded video streams.

I can test any patches.

Thanks, Sarnex


#6637 No debug info available when decoding HEVC avcodec enhancement Sep 4, 2017

The -debug options provide very usable information for e.g. H.264. For HEVC, none of these options seems to produce the intended output. Only highlevel header data is available.

I especially miss the -debug qp feature.

Everything is a lot simpler for H.264 and is handled nicely in mpegvideo.c. For HEVC the quadtree makes it a lot more complex...

Summary of the bug: How to reproduce:

$ ffmpeg -debug qp -i input.hevc
$ ffplay -debug qp input.hevc

#6641 Severe artifacts when decoding WMV / WMV3 (Windows Media Video 9) / VC-1 videos avcodec enhancement Sep 6, 2017

Summary of the bug: I've noticed that new versions of mpv video player cannot play WMV videos reliably anymore. There are always visual artifacts every minute or so (keyframes maybe?).

Today I had some time and decided to investigate. Artifacting only occurs with VC-1 WMV videos (not older codecs). I've asked for help from mpv team but they sent me here since it's not an mpv issue.

Here's an example of artifacts: Left is ffmpeg-based player (mpv) and right is a player that doesn't use ffmpeg:

https://i.imgur.com/jtHTe34.jpg

Usually, it's not as severe as this example but this bug makes WMV videos completely unwatchable in mpv.

Sample video: http://samples.mplayerhq.hu/V-codecs/WMV9/halo2_wmp9_WMV3+audio0x162.wmv

$ mpv --version
mpv 0.26.0-237-g5771f7abf4 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
 built on Linux x86_64
ffmpeg library versions:
   libavutil       55.74.100
   libavcodec      57.105.100
   libavformat     57.81.100
   libswscale      4.7.103
   libavfilter     6.102.100
   libswresample   2.8.100
ffmpeg version: N-87204-gd8bc198d09


#6690 Raw Electronic Arts ADPCM support (.XA) avformat enhancement Sep 25, 2017

Summary of the bug: How to reproduce:

$ ffmpeg -i sound.XA sound.wav
sound.XA: Invalid data found when processing input

I would like support for headerless Electronic Arts ADPCM files to be added. These files are common in some Electronic Arts games, like Harry Potter and the Chamber of Secrets and Brother Bear.

The format is similar to adpcm_ea_r1, but the file is always mono, there is no channels header. ADPCM history is always initialized to [0, 0]. File size is always a multiple of 15, there is no raw sample mode (0xEE).

Sample rate is 22050Hz by default.

Files can be encoded into this format using sx.exe:

> sx -raw -eaxa_blk sample.wav -=sample.XA

I attached a test case, a XA file and the corresponding decoded raw file.

This is decoder code in C# (I release it under CC0):

using System;
using System.IO;
using System.Text;

namespace KoopsAudioDecoder
{
  class Program
  {
    static int coeff1, coeff2, shift, adpcmHistory1 = 0, adpcmHistory2 = 0;

    static readonly int[] EA_XA_TABLE = new int[] {
        0,    0,
      240,    0,
      460, -208,
      392, -220,
    };

    static void DecodeSingleFrame(BinaryReader stream, BinaryWriter outbuf)
    {
      int frameInfo = stream.ReadByte();

      coeff1 = EA_XA_TABLE[((frameInfo >> 4) & 15) * 2];
      coeff2 = EA_XA_TABLE[((frameInfo >> 4) & 15) * 2 + 1];
      shift = (frameInfo & 15) + 8;

      for (int i = 0; i < 14; i++)
      {
        int sample_byte = stream.ReadByte();

        int[] nibbles = { sample_byte >> 4, sample_byte & 15 };

        foreach (int nibble in nibbles)
        {
          int sample = GetSample(nibble);

          outbuf.Write(Clamp16(sample));
        }
      }
    }

    private static int GetSample(int nibble)
    {
      int sample = ((nibble << 28 >> shift) + (coeff1 * adpcmHistory1) + (coeff2 * adpcmHistory2)) >> 8;

      adpcmHistory2 = adpcmHistory1;
      adpcmHistory1 = sample;

      return sample;
    }

    static private short Clamp16(int sample)
    {
      if (sample > 32767)
      {
        return 32767;
      }

      if (sample < -32768)
      {
        return -32768;
      }

      return (short) sample;
    }

    static int Main(string[] args)
    {
      if (args.Length != 1)
      {
        Console.WriteLine("This program takes only one argument, input file");
        return 1;
      }

      string inputFileName = args[0], outputFileName = Path.ChangeExtension(inputFileName, "raw");
      Stream inputFile = File.OpenRead(inputFileName), outputFile = File.OpenWrite(outputFileName);
      BinaryReader inputFileReader = new BinaryReader(inputFile);
      BinaryWriter outputFileWriter = new BinaryWriter(outputFile);

      while (inputFile.Length - inputFile.Position >= 15)
      {
        DecodeSingleFrame(inputFileReader, outputFileWriter);
      }

      if (inputFile.Length - inputFile.Position > 0)
      {
        Console.WriteLine("File has {0} spare bytes.", inputFile.Length - inputFile.Position);
      }

      return 0;
    }
  }
}

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

Summary of the bug:

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

full command output:

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

#6091 support ds2 audio (dss pro audio) file format avcodec sponsoring request Jan 19, 2017

Summary of the bug: ffmpeg already supports dss audio file decoding. Please add support for ds2 as well, which is an improved version of dss and called "dss pro" How to reproduce:

ffmpeg started on 2017-01-19 at 04:20:46
Report written to "ffmpeg-20170119-042046.log"
Command line:
../bin/ffmpeg -report -i VoiceRec11.ds2 VoiceRec11.mp3
ffmpeg version N-83132-g9561de4 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/home/ubuntu/ffmpeg_build --pkg-config-flags=--static --extra-cflags='-I/home/ubuntu/ffmpeg_build/include -static' --extra-ldflags='-L/home/ubuntu/ffmpeg_build/lib -static' --bindir=/home/ubuntu/bin --enable-libmp3lame
  libavutil      55. 43.100 / 55. 43.100
  libavcodec     57. 73.100 / 57. 73.100
  libavformat    57. 62.100 / 57. 62.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 69.100 /  6. 69.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input url with argument 'VoiceRec11.ds2'.
Reading option 'VoiceRec11.mp3' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url VoiceRec11.ds2.
Successfully parsed a group of options.
Opening an input file: VoiceRec11.ds2.
[file @ 0x3e5db40] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x3e66f60] Statistics: 1048576 bytes read, 0 seeks
VoiceRec11.ds2: Invalid data found when processing input

A ds2 sample file is attached for testing. Also making a small donation to the project

thank you,


#5928 qt targa: rgb555 mov file encoded by ffmpeg is incompatible with quicktime ffmpeg defect Nov 5, 2016

this is because ffmpeg-produced file is identified by quicktime as 24bit

attached is what produces qt and what ffmpeg

hicol_qt.mov - file encoded by qt (decodes correctly with qt) hicol_ffmpeg.mov - file encoded by ffmpeg (broken output with quicktime)

C:\>ffmpeg -i 160.png -vcodec targa -pix_fmt rgb555 hicol_ffmpeg.mov
ffmpeg version N-81755-g267da70 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --
enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -lw
inmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapsh
ots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/sna
pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --
enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-li
bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-li
bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx --disab
le-decoder=libvpx
  libavutil      55. 30.100 / 55. 30.100
  libavcodec     57. 58.100 / 57. 58.100
  libavformat    57. 50.100 / 57. 50.100
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 63.100 /  6. 63.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Input #0, png_pipe, from '160.png':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: png, rgb24(pc), 160x120 [SAR 2835:2835 DAR 4:3], 25 tbr,
 25 tbn, 25 tbc
[swscaler @ 0x2cc3020] full chroma interpolation for destination format 'rgb555l
e' not yet implemented
Output #0, mov, to 'hicol_ffmpeg.mov':
  Metadata:
    encoder         : Lavf57.50.100
    Stream #0:0: Video: targa (tga  / 0x20616774), rgb555le, 160x120 [SAR 1:1 DA
R 4:3], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.58.100 targa
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> targa (native))
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=-0.0 Lsize=      38kB time=00:00:00.00 bitrate=3996000.0kb
its/s speed=0.00166x
video:37kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing ov
erhead: 1.941443%

#6634 Regression when decoding aac avformat defect Sep 2, 2017

The sample from bug 1080 that is 20 seconds long only decodes for 2 seconds since 3d4026325381c1066d771bcb83e024c92ea7e189 related to ticket #6437.

$ ffmpeg -i sample_cut.dump -f null -
ffmpeg version N-87177-g69e6877 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl
  libavutil      55. 74.100 / 55. 74.100
  libavcodec     57.104.101 / 57.104.101
  libavformat    57. 81.100 / 57. 81.100
  libavdevice    57.  8.100 / 57.  8.100
  libavfilter     6.101.100 /  6.101.100
  libswscale      4.  7.103 /  4.  7.103
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
[aac @ 0x3bab3c0] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from 'sample_cut.dump':
  Duration: 00:00:20.14, bitrate: 96 kb/s
    Stream #0:0: Audio: aac (HE-AAC), 48000 Hz, stereo, fltp, 96 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.81.100
    Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      encoder         : Lavc57.104.101 pcm_s16le
[aac @ 0x3bad040] Number of bands (56) exceeds limit (46).
Error while decoding stream #0:0: Invalid data found when processing input
sample_cut.dump: Invalid data found when processing input
size=N/A time=00:00:02.26 bitrate=N/A speed= 462x
video:0kB audio:424kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

#6804 Corrupt file crashes ffmpeg with assertion failure. undetermined defect Nov 3, 2017

Using master branch, run ffmpeg -i on the attached file and observe the following:

[ogg @ 0x125f380] Codec not found [ogg @ 0x125f380] Invalid timing values.

Last message repeated 1 times

[ogg @ 0x125f380] Header parsing failed for stream 1 [ogg @ 0x125f380] Header parsing failed for stream 2 [ogg @ 0x125f380] Headers mismatch for stream 3: expected 2 received 0. [ogg @ 0x125f380] New streams are not supposed to be added in between Ogg context save/restore operations. [ogg @ 0x125f380] failed to create or replace stream [ogg @ 0x125f380] Codec not found [ogg @ 0x125f380] Invalid timing values. Assertion 0 failed at libavcodec/gsm_parser.c:59 Aborted (core dumped)

Seems this should return an error instead of crashing, but the parse() api doesn't seem to provide a way for error codes to be returned.


#6818 FFmpeg fails to decode first frame in file due to multiple frames in a packet. undetermined defect Nov 8, 2017

Using ToT with the attached file:

$ ffmpeg -i bear-1280x720-a_frag-cenc_clear-all.mp4 -f framecrc out.txt

[aac @ 0xf57080] Multiple frames in a packet. [aac @ 0xf57080] channel element 0.0 is not allocated Error while decoding stream #0:0: Invalid data found when processing input

Which comes from these lines:

http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/decode.c;hb=HEAD#l528 http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/aacdec_template.c;hb=HEAD#l3048

The new avcodec_send_packet(), avcodec_receive_frame() APIs offer no way to handle multi-frame packets, yet ffmpeg is still demuxing / creating such packets. So we end up with decoder errors when the remainder of the packet isn't handled.

It seems either ffmpeg should not produce such packets or it should properly handle multi-frame packets; either by extending avcodec_receive_frame() to loop over the remainder of the packet or to have aac_decode_frame() properly do this internally.


#5 jp2k muxed into mov by FFmpeg can't be played by QuickTime avformat defect Mar 11, 2011

(issue 2656) incoming/jpeg2000_to_quicktime_unplayable/bbb_jp2_qt.mov can be decoded with FFmpeg (and played with MPlayer, ffplay shows a black window for me), remuxing the video with FFmpeg leads to a file that can be decoded with FFmpeg (and played with MPlayer, ffplay shows a black window), but the original file plays fine with QuickTime?, the copy shows only a black window.

$ ffmpeg -i bbb_jp2_qt.mov -vcodec copy out.mov
FFmpeg version git-N-28405-gb33fa8a, Copyright (c) 2000-2011 the FFmpeg developers
  built on Mar 11 2011 00:24:29 with gcc 4.4.5
  configuration: --cc=/usr/local/gcc-4.4.5/bin/gcc --enable-gpl --enable-libopenjpeg
  libavutil    50. 39. 0 / 50. 39. 0
  libavcodec   52.113. 2 / 52.113. 2
  libavformat  52.102. 0 / 52.102. 0
  libavdevice  52.  3. 0 / 52.  3. 0
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'bbb_jp2_qt.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-03-09 22:39:50
  Duration: 00:00:03.33, start: 0.000000, bitrate: 23584 kb/s
    Stream #0.0(eng): Video: libopenjpeg, rgb24, 640x360, 23581 kb/s, 24 fps, 24 tbr, 24 tbn, 24 tbc
    Metadata:
      creation_time   : 2011-03-09 22:39:50
Output #0, mov, to 'out.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2011-03-09 22:39:50
    encoder         : Lavf52.102.0
    Stream #0.0(eng): Video: mjp2 / 0x32706A6D, rgb24, 640x360, q=2-31, 23581 kb/s, 24 tbn, 24 tbc
    Metadata:
      creation_time   : 2011-03-09 22:39:50
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   80 fps=  0 q=-1.0 Lsize=    9597kB time=3.33 bitrate=23584.6kbits/s
video:9595kB audio:0kB global headers:0kB muxing overhead 0.013923%

#615 ALSA buffer xrun undetermined defect Nov 6, 2011

when grabbing video+audio from usb webcam, this error always appear, no matter what output muxer format is chosen: "ALSA buffer xrun"

i've tried with .avi, .ts, .flv, .mkv, and all give the similar output:

ffmpeg -y -re \
        -f video4linux2 -r 30 -s qvga -i /dev/v4l/by-id/usb-046d_0809_33A881A3-video-index0 \
        -f alsa -ar 44100 -ac 2 -i default:CARD=Intel \
        out.flv

ffmpeg version N-34519-g54a09f1, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov  6 2011 12:46:05 with gcc 4.6.1
  configuration: --enable-static --enable-shared --enable-gpl --enable-nonfree --enable-postproc --enable-libx264 --enable-libaacplus --enable-libmp3lame --enable-libv4l2 --enable-libvo-aacenc --enable-version3
  libavutil    51. 23. 0 / 51. 23. 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
[video4linux2,v4l2 @ 0x2247980] Estimating duration from bitrate, this may be inaccurate
Input #0, video4linux2,v4l2, from '/dev/v4l/by-id/usb-046d_0809_33A881A3-video-index0':
  Duration: N/A, start: 27263.653187, bitrate: 27648 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240, 27648 kb/s, 30 tbr, 1000k tbn, 30 tbc
[alsa @ 0x2242040] Estimating duration from bitrate, this may be inaccurate
Input #1, alsa, from 'default:CARD=Intel':
  Duration: N/A, start: 1320593764.890759, bitrate: N/A
    Stream #1:0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
[buffer @ 0x2297f20] w:320 h:240 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
Output #0, flv, to 'out.flv':
  Metadata:
    encoder         : Lavf53.19.0
    Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 320x240, q=2-31, 200 kb/s, 1k tbn, 30 tbc
    Stream #0:1: Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0 (rawvideo -> flv)
  Stream #1.0 -> #0.1 (pcm_s16le -> libmp3lame)
Press [q] to stop, [?] for help
[alsa @ 0x2242040] ALSA buffer xrun.
ALSA buffer xrun. 6 q=2.6 size=      34kB time=00:00:01.48 bitrate= 185.4kbits/s
ALSA buffer xrun. 8 q=2.6 size=     103kB time=00:00:03.52 bitrate= 240.2kbits/s
frame=   78 fps=  8 q=2.8 Lsize=     252kB time=00:00:04.91 bitrate= 421.2kbits/s
video:171kB audio:77kB global headers:0kB muxing overhead 1.801323%
root@strumf:~/videos/tests/mpegts# ^C

#1261 yellowish color with resize and -pix_fmt pal8 swscale defect Apr 29, 2012

not reproducible with -pix_fmt bgr24

C:\>ffmpeg -i 1023.bmp -s 1024x767 -pix_fmt pal8 out.bmp
ffmpeg version N-40172-g28c5775 Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr 28 2012 02:21:26 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 48.100 / 51. 48.100
  libavcodec     54. 16.100 / 54. 16.100
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 72.100 /  2. 72.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, image2, from '1023.bmp':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: bmp, pal8, 1023x767, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x1dc1fc0] w:1023 h:767 pixfmt:pal8 tb:1/1000000 sar:0/1 sws_param:fla
gs=2
[scale @ 0x1dc2180] w:1023 h:767 fmt:pal8 sar:0/1 -> w:1024 h:767 fmt:pal8 sar:0
/1 flags:0x4
Output #0, image2, to 'out.bmp':
  Metadata:
    encoder         : Lavf54.3.100
    Stream #0:0: Video: bmp, pal8, 1024x767, q=2-31, 200 kb/s, 90k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (bmp -> bmp)
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.04 bitrate=   0.0kbits/
s
video:768kB audio:0kB global headers:0kB muxing overhead -100.000000%

#1323 avid dv codec (dv50 mode) decodes with visible artefacts avcodec defect May 19, 2012

attached sample decodes correctly with original qt component

C:\>ffmpeg -i aviddv_dv50_ntsc_progressive_24bpp.mov out.avi
ffmpeg version N-40756-g703e920 Copyright (c) 2000-2012 the FFmpeg developers
  built on May 17 2012 02:26:05 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 53.100 / 51. 53.100
  libavcodec     54. 21.101 / 54. 21.101
  libavformat    54.  5.100 / 54.  5.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 74.100 /  2. 74.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
  libpostproc    52.  0.100 / 52.  0.100
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 5 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=84
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=72
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=71
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=76
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 12 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=69
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=69
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 6 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=67
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=76
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 4 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=69
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=74
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=73
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=67
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 5 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=67
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=67
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=75
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 5 times
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'aviddv_dv50_ntsc_progressive_24bpp.mov':
  Metadata:
    creation_time   : 2012-05-17 12:01:27
  Duration: 00:00:00.06, start: 0.000000, bitrate: 28906 kb/s
    Stream #0:0(eng): Video: dvvideo (AVdv / 0x76645641), yuv422p, 720x480 [SAR
8:9 DAR 4:3], 28800 kb/s, SAR 5:6 DAR 5:4, 15 fps, 15 tbr, 600 tbn, 29.97 tbc
    Metadata:
      creation_time   : 2012-05-17 12:01:27
      handler_name    : Apple Alias Data Handler
[buffer @ 0x1de22e0] w:720 h:480 pixfmt:yuv422p tb:1/1000000 sar:5/6 sws_param:f
lags=2
[buffersink @ 0x1de2600] No opaque field provided
[format @ 0x1de28c0] auto-inserting filter 'auto-inserted scaler 0' between the
filter 'src' and the filter 'format'
[scale @ 0x1de34a0] w:720 h:480 fmt:yuv422p sar:5/6 -> w:720 h:480 fmt:yuv420p s
ar:5/6 flags:0x4
Output #0, avi, to 'out.avi':
  Metadata:
    creation_time   : 2012-05-17 12:01:27
    ISFT            : Lavf54.5.100
    Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480 [SAR 5:
6 DAR 5:4], q=2-31, 200 kb/s, 15 tbn, 15 tbc
    Metadata:
      creation_time   : 2012-05-17 12:01:27
      handler_name    : Apple Alias Data Handler
Stream mapping:
  Stream #0:0 -> #0:0 (dvvideo -> mpeg4)
Press [q] to stop, [?] for help
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 5 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=84
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=72
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=71
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 4 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=69
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 7 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=69
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
    Last message repeated 1 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=95
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 3 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 4 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=66
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=65
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 2 times
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=68
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=75
[dvvideo @ 0x1dd2320] AC EOB marker is absent pos=64
    Last message repeated 5 times
frame=    1 fps=0.0 q=5.8 Lsize=      41kB time=00:00:00.06 bitrate=5098.1kbits/
s
video:36kB audio:0kB global headers:0kB muxing overhead 15.757064%

#1388 rv30 decoder does not completely support resolution changes avcodec defect Jun 1, 2012

(bug 299) I will attach a rv30 sample that continuously changes resolution between 354x288 and 256x208, plays fine with mplayer -vc rv3040. FFmpeg (and mplayer -vc ffrv30) mostly manages the first change from large to small (except that the first keyframe after the change is dropped), but ignores the changes from small to large, leading to massive corruption (and messages).

$ ffmpeg -i teenagelament_cut.ram -qscale 2 -t 16 out.avi
ffmpeg version N-41200-gaac41ec Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun  1 2012 10:02:11 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs
  libavutil      51. 55.100 / 51. 55.100
  libavcodec     54. 23.100 / 54. 23.100
  libavformat    54.  6.101 / 54.  6.101
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 77.100 /  2. 77.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[rm @ 0x90113c0] Unsupported stream type 0000023e
Input #0, rm, from 'teenagelament_cut.ram':
  Metadata:
    title           : Teenage Lament '74
    author          :
    copyright       : �2004
    comment         :
  Duration: 00:03:08.86, start: 0.000000, bitrate: 86 kb/s
    Stream #0:0: Audio: cook (cook / 0x6B6F6F63), 44100 Hz, mono, flt, 32 kb/s
    Stream #0:1: Video: rv30 (RV30 / 0x30335652), yuv420p, 352x288, 117 kb/s, 25 fps, 25 tbr, 1k tbn, 1k tbc
    Stream #0:2: Data: none
Please use -q:a or -q:v, -qscale is ambiguous
[buffer @ 0x909b1c0] w:352 h:288 pixfmt:yuv420p tb:1/1000 sar:0/1 sws_param:flags=2
[buffersink @ 0x909b200] No opaque field provided
Output #0, avi, to 'out.avi':
  Metadata:
    INAM            : Teenage Lament '74
    author          :
    ICOP            : �2004
    ICMT            :
    ISFT            : Lavf54.6.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 352x288, q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, mono, flt
Stream mapping:
  Stream #0:1 -> #0:0 (rv30 -> mpeg4)
  Stream #0:0 -> #0:1 (cook -> libmp3lame)
Press [q] to stop, [?] for help
Changing dimensions to 256x208=    1281kB time=00:00:07.76 bitrate=1352.7kbits/s
[rv30 @ 0x9017ce0] warning: first frame is no keyframe
Input stream #0:1 frame changed from size:352x288 fmt:yuv420p to size:256x208 fmt:yuv420p
[buffer @ 0x9097b00] w:256 h:208 pixfmt:yuv420p tb:1/1000 sar:0/1 sws_param:flags=2
[buffersink @ 0x90dd140] No opaque field provided
[scale @ 0x909ac60] w:256 h:208 fmt:yuv420p sar:0/1 -> w:352 h:288 fmt:yuv420p sar:0/1 flags:0x4
Incorrect intra prediction mode    2186kB time=00:00:12.40 bitrate=1444.1kbits/s
[rv30 @ 0x9017ce0] concealing 208 DC, 208 AC, 208 MV errors
[rv30 @ 0x9017ce0] Incorrect intra prediction mode
[rv30 @ 0x9017ce0] concealing 208 DC, 208 AC, 208 MV errors
[rv30 @ 0x9017ce0] Incorrect intra prediction mode
[rv30 @ 0x9017ce0] concealing 208 DC, 208 AC, 208 MV errors
[rv30 @ 0x9017ce0] Incorrect intra prediction mode
[rv30 @ 0x9017ce0] concealing 208 DC, 208 AC, 208 MV errors
[rv30 @ 0x9017ce0] Incorrect intra prediction mode
[rv30 @ 0x9017ce0] concealing 114 DC, 114 AC, 114 MV errors
[rv30 @ 0x9017ce0] Incorrect intra prediction mode
[rv30 @ 0x9017ce0] concealing 114 DC, 114 AC, 114 MV errors
[rv30 @ 0x9017ce0] Incorrect intra prediction mode
[rv30 @ 0x9017ce0] concealing 163 DC, 163 AC, 163 MV errors
frame=  267 fps=138 q=2.0 Lsize=    3057kB time=00:00:16.00 bitrate=1565.2kbits/s
video:2898kB audio:125kB global headers:0kB muxing overhead 1.131454%

#1528 drastic v210 - packet too small avcodec defect Jul 12, 2012

http://www.datafilehost.com/download-63c35830.html

C:\>ffmpeg -i drastic_v210_packet_too_small.mov out.avi
ffmpeg version N-42449-g9ca27df Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 12 2012 02:37:12 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 34.100 / 54. 34.100
  libavformat    54. 16.104 / 54. 16.104
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  2.100 /  3.  2.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'drastic_v210_packet_too_small.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
  Duration: 00:00:12.64, start: 0.000000, bitrate: 13387 kb/s
    Stream #0:0(eng): Video: v210 (v210 / 0x30313276), yuv422p10le, 320x240, 132
71 kb/s, 8 fps, 8 tbr, 1000k tbn, 1000k tbc
    Metadata:
      handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
w:320 h:240 pixfmt:yuv422p10le tb:1/1000000 fr:8/1 sar:0/1 sws_param:flags=2
[auto-inserted scaler 0 @ 0x1e03a80] w:320 h:240 fmt:yuv422p10le sar:0/1 -> w:32
0 h:240 fmt:yuv420p sar:0/1 flags:0x4
Output #0, avi, to 'out.avi':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    ISFT            : Lavf54.16.104
    Stream #0:0(eng): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31
, 200 kb/s, 8 tbn, 8 tbc
    Metadata:
      handler_name    : Procedura obs│ugi skrˇtˇw danych Apple
Stream mapping:
  Stream #0:0 -> #0:0 (v210 -> mpeg4)
Press [q] to stop, [?] for help
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
[v210 @ 0x1df2320] packet too small
Error while decoding stream #0:0: Error number -1 occurred
frame=    0 fps=0.0 q=0.0 Lsize=       6kB time=00:00:00.00 bitrate=   0.0kbits/
s
video:0kB audio:0kB subtitle:0 global headers:0kB muxing overhead inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters i
f used)

#1555 WebM: Silent track not taken into account if followed by a noisy track undetermined defect Jul 18, 2012

(issue 2445) I will upload a webm sample that plays different with Firefox and ffplay - both ffmpeg and ffplay ignore the initial silence.

$ ffmpeg -i res_silence_then_sound.webm -qscale 2 out.avi
ffmpeg version N-42605-g5784a46 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 18 2012 20:29:06 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs --enable-x11grab --enable-libass
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 41.100 / 54. 41.100
  libavformat    54. 17.100 / 54. 17.100
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  2.100 /  3.  2.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, matroska,webm, from 'res_silence_then_sound.webm':
  Metadata:
    creation_time   : 2010-12-24 06:39:05
  Duration: 00:00:35.58, start: 0.000000, bitrate: 1105 kb/s
    Stream #0:0: Video: vp8, yuv420p, 640x352, SAR 1:1 DAR 20:11, 25 fps, 25 tbr, 1k tbn, 1k tbc
    Stream #0:1: Audio: vorbis, 48000 Hz, stereo, s16
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.17.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 640x352 [SAR 1:1 DAR 20:11], q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16
Stream mapping:
  Stream #0:0 -> #0:0 (vp8 -> mpeg4)
  Stream #0:1 -> #0:1 (vorbis -> libmp3lame)
Press [q] to stop, [?] for help
frame=  858 fps= 90 q=2.0 Lsize=    6666kB time=00:00:35.52 bitrate=1537.3kbits/s
video:6123kB audio:477kB subtitle:0 global headers:0kB muxing overhead 0.995196%
[libmp3lame @ 0x90c2a80] 1 frames left in que on closing

out.avi is broken / severe A/V desync.


#1558 Artefacts and wrong duration when decoding a (possibly damaged) matroska file avformat defect Jul 19, 2012

(issue 384) http://samples.ffmpeg.org/ffmpeg-bugs/roundup/issue384/ FFmpeg is unable to decode a matroska sample that is played fine by vlc.

$ ffmpeg -i matroska_crash.mkv
ffmpeg version N-42619-g6b7849e Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 19 2012 08:58:35 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs --enable-x11grab --enable-libass
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 41.100 / 54. 41.100
  libavformat    54. 17.100 / 54. 17.100
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  2.100 /  3.  2.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[matroska,webm @ 0x90764e0] Unknown entry 0x6E1F
[matroska,webm @ 0x90764e0] Unknown entry 0x48B2
[matroska,webm @ 0x90764e0] Read error at pos. 2376 (0x948)
[matroska,webm @ 0x90764e0] Unknown entry 0x81
[matroska,webm @ 0x90764e0] Read error at pos. 192 (0xc0)
[matroska,webm @ 0x90764e0] Unknown entry 0x82
[matroska,webm @ 0x90764e0] Unknown entry 0x67C9
    Last message repeated 1 times
[matroska,webm @ 0x90764e0] Unknown entry 0x82
[matroska,webm @ 0x90764e0] Could not find codec parameters for stream 1 (Audio: mp3, 48000 Hz, 2 channels, s16): unspecified sample size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x90764e0] Could not find codec parameters for stream 3 (Audio: mp3, 48000 Hz, 2 channels, s16): unspecified sample size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x90764e0] Could not find codec parameters for stream 5 (Audio: mp3, 48000 Hz, 2 channels, s16): unspecified sample size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[matroska,webm @ 0x90764e0] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #0.1 : stereo
Guessed Channel Layout for  Input Stream #0.3 : stereo
Guessed Channel Layout for  Input Stream #0.5 : stereo
Input #0, matroska,webm, from 'matroska_crash.mkv':
  Metadata:
    creation_time   : 2005-07-28 20:39:44
  Duration: N/A, start: 0.000000, bitrate: N/A
    Chapter #0.0: start 0.000000, end 15.000000
    Metadata:
      title           : Introduction
    Chapter #0.1: start 15.000000, end 30.000000
    Metadata:
      title           : Developpement
    Chapter #0.2: start 30.000000, end 45.200000
    Metadata:
      title           : Conclusion
    Stream #0:0(eng): Video: mpeg4 (DX50 / 0x30355844), yuv420p, 720x400, SAR 1:1 DAR 9:5, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
    Stream #0:1(eng): Audio: mp3, 48000 Hz, stereo, s16 (default)
    Stream #0:2(eng): Video: mpeg4 (DX50 / 0x30355844), yuv420p, 720x400, SAR 1:1 DAR 9:5, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
    Stream #0:3(eng): Audio: mp3, 48000 Hz, stereo, s16 (default)
    Stream #0:4(eng): Video: mpeg4 (DX50 / 0x30355844), yuv420p, 720x400, SAR 1:1 DAR 9:5, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
    Stream #0:5(eng): Audio: mp3, 48000 Hz, stereo, s16 (default)
At least one output file must be specified

#1559 cannot seek in .m4a file avformat defect Jul 19, 2012

(issue 1952) I will upload a m4a sample that cannot be seeked with ffplay, ffmpeg and mplayer -demuxer lavf.

$ ffmpeg -i Nic\ Chagall\ -\ Get\ The\ Kicks\ Podcast\ 001.m4a
ffmpeg version N-42619-g6b7849e Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 19 2012 08:58:35 with gcc 4.3.2
  configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame --enable-libtheora --extra-ldflags=-lm --enable-libvpx --enable-libxavs --enable-x11grab --enable-libass
  libavutil      51. 65.100 / 51. 65.100
  libavcodec     54. 41.100 / 54. 41.100
  libavformat    54. 17.100 / 54. 17.100
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  2.100 /  3.  2.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[png @ 0x909f560] Missing png signature
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90764e0] max_analyze_duration 5000000 reached at 5015510
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90764e0] decoding for stream 4 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x90764e0] Could not find codec parameters for stream 4 (Video: png): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Nic Chagall - Get The Kicks Podcast 001.m4a':
  Metadata:
    major_brand     : M4A
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 1940-02-17 09:46:08
    title           : Nic Chagall - Get The Kicks Podcast 001
    artist          : Nic Chagall
    album           : Nic Chagall - Get The Kicks
    encoder         : Podcast Maker 1.4.0 by Lemonz Dream
    description     : Episode 001
    synopsis        : Get The Kicks is broadcast live on ah.fm every fourth Monday of the month.
                    :
                    : For more info, visit www.nicchagall.de
    genre           : Podcast
    gapless_playback: 0
    date            : 2009-10-04T13:54:28Z
    season_number   : 0
    episode_sort    : 0
    media_type      : 0
  Duration: 01:00:16.55, start: 0.000000, bitrate: 131 kb/s
    Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 129 kb/s
    Metadata:
      creation_time   : 1940-02-17 09:46:08
      handler_name    : ?Apple Alias Data Handler
    Stream #0:1(eng): Subtitle: mov_text (text / 0x74786574)
    Metadata:
      creation_time   : 1940-02-17 09:46:08
      handler_name    : ?Apple Alias Data Handler
    Stream #0:2(eng): Video: mjpeg (jpeg / 0x6765706A), yuvj444p, 600x600 [SAR 1:1 DAR 1:1], 0 kb/s, SAR 40:37 DAR 40:37, 0k fps, 0k tbr, 44100 tbn, 44100 tbc
    Metadata:
      creation_time   : 1940-02-17 09:46:08
      handler_name    : ?Apple Alias Data Handler
    Stream #0:3(eng): Subtitle: mov_text (tx3g / 0x67337874)
    Metadata:
      creation_time   : 1940-02-17 09:46:08
      handler_name    : ?Apple Alias Data Handler
    Stream #0:4: Video: png, 90k tbr, 90k tbn, 90k tbc
At least one output file must be specified

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