[FFmpeg-trac] #2522(undetermined:new): Give ffmpeg (better) mp4 chapter editing support

FFmpeg trac at avcodec.org
Tue Apr 30 23:47:10 CEST 2013


#2522: Give ffmpeg (better) mp4 chapter editing support
-------------------------------------+-------------------------------------
             Reporter:  otters       |                     Type:
               Status:  new          |  enhancement
            Component:               |                 Priority:  normal
  undetermined                       |                  Version:  1.2
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2522>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list