Opened 9 years ago

Closed 9 years ago

#4036 closed defect (duplicate)

Sample MKV file can't be input-seeked

Reported by: Ridley Combs Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: mkv
Cc: rodger.combs@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

When transcoding this file, the -ss option seems to have no effect. From a quick step through in a debugger, it seems as if the avformat_seek_file call in ffmpeg_opt.c proceeds as usual, so I'm not sure what goes wrong.
Seeking works (though it works slowly) when neither -c copy nor -copyts is used, as the trim filters function normally.

$ ffmpeg -copyts -ss 10 -i ~/Dropbox/Public/clip.mkv -sn -vcodec libx264 -acodec aac -strict -2 -y -loglevel debug out.mkv
ffmpeg version N-66911-g917f86f Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct 15 2014 18:37:14 with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
  configuration: --extra-cflags='-march=native' --enable-optimizations --disable-stripping --enable-debug --enable-libx265 --enable-gpl --enable-libopus --enable-version3 --enable-nonfree --enable-postproc --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-gnutls --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --prefix=/usr/local --enable-static --enable-shared --enable-avresample --enable-vda --enable-opencl --enable-libzvbi --cc=clang --disable-indev=avfoundation
  libavutil      54. 10.100 / 54. 10.100
  libavcodec     56.  8.100 / 56.  8.100
  libavformat    56.  9.100 / 56.  9.100
  libavdevice    56.  1.100 / 56.  1.100
  libavfilter     5.  1.106 /  5.  1.106
  libavresample   2.  1.  0 /  2.  1.  0
  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 '-copyts' ... matched as option 'copyts' (copy timestamps) with argument '1'.
Reading option '-ss' ... matched as option 'ss' (set the start time offset) with argument '10'.
Reading option '-i' ... matched as input file with argument '/Users/11rcombs/Dropbox/Public/clip.mkv'.
Reading option '-sn' ... matched as option 'sn' (disable subtitle) with argument '1'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'libx264'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'aac'.
Reading option '-strict' ...Routing option strict to both codec and muxer layer
 matched as AVOption 'strict' with argument '-2'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option 'out.mkv' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option copyts (copy timestamps) with argument 1.
Applying option y (overwrite output files) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file /Users/11rcombs/Dropbox/Public/clip.mkv.
Applying option ss (set the start time offset) with argument 10.
Successfully parsed a group of options.
Opening an input file: /Users/11rcombs/Dropbox/Public/clip.mkv.
[matroska,webm @ 0x7faac280da00] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
st:1 removing common factor 1000000 from timebase
st:2 removing common factor 1000000 from timebase
[matroska,webm @ 0x7faac280da00] Before avformat_find_stream_info() pos: 3747050 bytes read:3763100 seeks:0
[h264 @ 0x7faac3800000] no picture 
[matroska,webm @ 0x7faac280da00] All info found
[matroska,webm @ 0x7faac280da00] After avformat_find_stream_info() pos: 5251774 bytes read:5254331 seeks:0 frames:12
Input #0, matroska,webm, from '/Users/11rcombs/Dropbox/Public/clip.mkv':
  Metadata:
    encoder         : libebml v1.2.2 + libmatroska v1.3.0
    creation_time   : 2012-04-03 00:07:48
  Duration: 00:24:46.00, start: 0.000000, bitrate: 169 kb/s
    Chapter #0:0: start 0.000000, end 90.000000
    Metadata:
      title           : OP
    Chapter #0:1: start 90.000000, end 737.000000
    Metadata:
      title           : Part A
    Chapter #0:2: start 737.000000, end 746.500000
    Metadata:
      title           : Intermission
    Chapter #0:3: start 746.500000, end 1377.000000
    Metadata:
      title           : Part B
    Chapter #0:4: start 1377.000000, end 1466.000000
    Metadata:
      title           : ED
    Chapter #0:5: start 1466.000000, end 1486.000000
    Metadata:
      title           : Preview
    Stream #0:0, 4, 1/1000: Video: h264 (High 10), yuv420p10le(left), 1280x720 [SAR 1:1 DAR 16:9], 1001/48000, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1, 8, 1/1000: Audio: aac, 48000 Hz, stereo, fltp (default)
    Stream #0:2, 0, 1/1000: Subtitle: ass (default)
    Stream #0:3, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : aprifa.ttf
      mimetype        : application/x-truetype-font
    Stream #0:4, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : benguiatgothicctt.ttf
      mimetype        : application/x-truetype-font
    Stream #0:5, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : blokletters-viltstift-fxd.ttf
      mimetype        : application/x-truetype-font
    Stream #0:6, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : chinacat_0_PL_0.ttf
      mimetype        : application/x-truetype-font
    Stream #0:7, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : FromWhereYouAre.ttf
      mimetype        : application/x-truetype-font
    Stream #0:8, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : GraffitiPaintBrush.ttf
      mimetype        : application/x-truetype-font
    Stream #0:9, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : itc_goudy_sans--lte52939.ttf
      mimetype        : application/x-truetype-font
    Stream #0:10, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : itc_goudy_sans--lte52940.ttf
      mimetype        : application/x-truetype-font
    Stream #0:11, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : tahoma_1.ttf
      mimetype        : application/x-truetype-font
    Stream #0:12, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : tahomabd.ttf
      mimetype        : application/x-truetype-font
    Stream #0:13, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : alien5.ttf
      mimetype        : application/x-truetype-font
    Stream #0:14, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : ANNA___.otf
      mimetype        : application/x-truetype-font
    Stream #0:15, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : aprifa.ttf
      mimetype        : application/x-truetype-font
    Stream #0:16, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : arial.ttf
      mimetype        : application/x-truetype-font
    Stream #0:17, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : benguiatgothicctt.ttf
      mimetype        : application/x-truetype-font
    Stream #0:18, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : blokletters-viltstift-fxd.ttf
      mimetype        : application/x-truetype-font
    Stream #0:19, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : Brady Bunch.ttf
      mimetype        : application/x-truetype-font
    Stream #0:20, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : brlnsr.ttf
      mimetype        : application/x-truetype-font
    Stream #0:21, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : corbel.ttf
      mimetype        : application/x-truetype-font
    Stream #0:22, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : FromWhereYouAre.ttf
      mimetype        : application/x-truetype-font
    Stream #0:23, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : icedeart.ttf
      mimetype        : application/x-truetype-font
    Stream #0:24, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : KudosBlackSSK.ttf
      mimetype        : application/x-truetype-font
    Stream #0:25, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : linkin.ttf
      mimetype        : application/x-truetype-font
    Stream #0:26, 0, 1/90000: Attachment: ttf
    Metadata:
      filename        : scar6.ttf
      mimetype        : application/x-truetype-font
Successfully opened the file.
Parsing a group of options: output file out.mkv.
Applying option sn (disable subtitle) with argument 1.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument libx264.
Applying option acodec (force audio codec ('copy' to copy stream)) with argument aac.
Successfully parsed a group of options.
Opening an output file: out.mkv.
Successfully opened the file.
detected 8 logical cores
[graph 0 input from stream 0:0 @ 0x7faac25222a0] Setting 'video_size' to value '1280x720'
[graph 0 input from stream 0:0 @ 0x7faac25222a0] Setting 'pix_fmt' to value '72'
[graph 0 input from stream 0:0 @ 0x7faac25222a0] Setting 'time_base' to value '1/1000'
[graph 0 input from stream 0:0 @ 0x7faac25222a0] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0x7faac25222a0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x7faac25222a0] Setting 'frame_rate' to value '24000/1001'
[graph 0 input from stream 0:0 @ 0x7faac25222a0] w:1280 h:720 pixfmt:yuv420p10le tb:1/1000 fr:24000/1001 sar:1/1 sws_param:flags=2
[format @ 0x7faac2522d20] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16]
[format @ 0x7faac2522d20] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16'
[auto-inserted scaler 0 @ 0x7faac2521e80] Setting 'flags' to value '0x4'
[auto-inserted scaler 0 @ 0x7faac2521e80] w:iw h:ih flags:'0x4' interl:0
[format @ 0x7faac2522d20] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0x7faac2523380] query_formats: 5 queried, 3 merged, 1 already done, 0 delayed
[auto-inserted scaler 0 @ 0x7faac2521e80] picking yuv420p out of 7 ref:yuv420p10le alpha:0
[auto-inserted scaler 0 @ 0x7faac2521e80] w:1280 h:720 fmt:yuv420p10le sar:1/1 -> w:1280 h:720 fmt:yuv420p sar:1/1 flags:0x4
[graph 1 input from stream 0:1 @ 0x7faac2601560] Setting 'time_base' to value '1/48000'
[graph 1 input from stream 0:1 @ 0x7faac2601560] Setting 'sample_rate' to value '48000'
[graph 1 input from stream 0:1 @ 0x7faac2601560] Setting 'sample_fmt' to value 'fltp'
[graph 1 input from stream 0:1 @ 0x7faac2601560] Setting 'channel_layout' to value '0x3'
[graph 1 input from stream 0:1 @ 0x7faac2601560] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x3
[audio format for output stream 0:1 @ 0x7faac2601ea0] Setting 'sample_fmts' to value 'fltp'
[audio format for output stream 0:1 @ 0x7faac2601ea0] Setting 'sample_rates' to value '96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
[AVFilterGraph @ 0x7faac2525fc0] query_formats: 5 queried, 12 merged, 0 already done, 0 delayed
[libx264 @ 0x7faac2817200] using mv_range_thread = 24
[libx264 @ 0x7faac2817200] using SAR=1/1
[libx264 @ 0x7faac2817200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x7faac2817200] profile High, level 3.1
[libx264 @ 0x7faac2817200] 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=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to 'out.mkv':
  Metadata:
    encoder         : Lavf56.9.100
    Chapter #0:0: start 0.000000, end 90.000000
    Metadata:
      title           : OP
    Chapter #0:1: start 90.000000, end 737.000000
    Metadata:
      title           : Part A
    Chapter #0:2: start 737.000000, end 746.500000
    Metadata:
      title           : Intermission
    Chapter #0:3: start 746.500000, end 1377.000000
    Metadata:
      title           : Part B
    Chapter #0:4: start 1377.000000, end 1466.000000
    Metadata:
      title           : ED
    Chapter #0:5: start 1466.000000, end 1486.000000
    Metadata:
      title           : Preview
    Stream #0:0, 0, 1/1000: Video: h264 (libx264) (H264 / 0x34363248), yuv420p(left), 1280x720 [SAR 1:1 DAR 16:9], 1001/24000, q=-1--1, 23.98 fps, 1k tbn, 23.98 tbc (default)
    Metadata:
      encoder         : Lavc56.8.100 libx264
    Stream #0:1, 0, 1/1000: Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      encoder         : Lavc56.8.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
[h264 @ 0x7faac392e400] no picture 
[h264 @ 0x7faac392f000] no picture 
[libx264 @ 0x7faac2817200] frame=   0 QP=22.27 NAL=3 Slice:I Poc:0   I:3600 P:0    SKIP:0    size=29264 bytes
[matroska @ 0x7faac2816600] Writing block at offset 1166, size 29954, pts 83, dts 0, duration 42, flags 128
[libx264 @ 0x7faac2817200] frame=   1 QP=23.09 NAL=2 Slice:P Poc:6   I:242  P:1682 SKIP:1676 size=6958 bytes
[matroska @ 0x7faac2816600] Writing block at offset 31129, size 6958, pts 208, dts 41, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame=   2 QP=24.99 NAL=2 Slice:B Poc:4   I:2    P:996  SKIP:2580 size=2152 bytes
[matroska @ 0x7faac2816600] Writing block at offset 38094, size 21, pts 62, dts 62, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 38121, size 2152, pts 166, dts 83, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame=   3 QP=23.99 NAL=0 Slice:B Poc:2   I:0    P:1247 SKIP:2337 size=2292 bytes
[matroska @ 0x7faac2816600] Writing block at offset 40280, size 6, pts 83, dts 83, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 40292, size 6, pts 104, dts 104, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 40304, size 2292, pts 125, dts 125, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame=   4 QP=23.95 NAL=2 Slice:P Poc:10  I:879  P:2379 SKIP:342  size=10610 bytes
[matroska @ 0x7faac2816600] Writing block at offset 42603, size 6, pts 126, dts 126, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 42615, size 6, pts 147, dts 147, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 42627, size 10610, pts 292, dts 166, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame=   5 QP=24.15 NAL=0 Slice:B Poc:8   I:29   P:1596 SKIP:1957 size=3800 bytes
[matroska @ 0x7faac2816600] Writing block at offset 53244, size 6, pts 168, dts 168, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 53256, size 6, pts 189, dts 189, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 53268, size 3800, pts 250, dts 208, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame=   6 QP=24.17 NAL=2 Slice:P Poc:12  I:2208 P:1336 SKIP:56   size=13759 bytes
[matroska @ 0x7faac2816600] Writing block at offset 57075, size 6, pts 211, dts 211, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 57087, size 6, pts 232, dts 232, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 57099, size 13759, pts 333, dts 250, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame=   7 QP=24.18 NAL=2 Slice:P Poc:14  I:3096 P:495  SKIP:9    size=16257 bytes
[matroska @ 0x7faac2816600] Writing block at offset 70865, size 6, pts 254, dts 254, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 70877, size 6, pts 275, dts 275, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 70889, size 16257, pts 375, dts 292, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame=   8 QP=24.01 NAL=2 Slice:P Poc:16  I:2084 P:1392 SKIP:124  size=12247 bytes
[matroska @ 0x7faac2816600] Writing block at offset 87153, size 6, pts 296, dts 296, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 87165, size 6, pts 318, dts 318, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 87177, size 12247, pts 417, dts 333, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame=   9 QP=23.47 NAL=2 Slice:P Poc:18  I:1793 P:1709 SKIP:98   size=13390 bytes
[matroska @ 0x7faac2816600] Writing block at offset 99431, size 6, pts 339, dts 339, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 99443, size 6, pts 360, dts 360, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 99455, size 13390, pts 458, dts 375, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame=  10 QP=23.46 NAL=2 Slice:P Poc:20  I:358  P:2186 SKIP:1056 size=7434 bytes
[matroska @ 0x7faac2816600] Writing block at offset 112852, size 6, pts 382, dts 382, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 112864, size 6, pts 403, dts 403, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 112876, size 7434, pts 500, dts 417, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame=  11 QP=23.24 NAL=2 Slice:P Poc:24  I:867  P:2316 SKIP:417  size=11964 bytes
[matroska @ 0x7faac2816600] Writing block at offset 120317, size 6, pts 424, dts 424, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 120329, size 6, pts 445, dts 445, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 120341, size 11964, pts 584, dts 458, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame=  12 QP=24.75 NAL=0 Slice:B Poc:22  I:15   P:874  SKIP:2701 size=2335 bytes
[matroska @ 0x7faac2816600] Writing block at offset 132312, size 6, pts 467, dts 467, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 132324, size 6, pts 488, dts 488, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 132336, size 2335, pts 542, dts 500, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame=  13 QP=23.49 NAL=2 Slice:P Poc:28  I:830  P:2315 SKIP:455  size=11454 bytes
[matroska @ 0x7faac2816600] Writing block at offset 134678, size 6, pts 509, dts 509, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 134690, size 6, pts 530, dts 530, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 134702, size 11454, pts 667, dts 542, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame=  14 QP=25.25 NAL=0 Slice:B Poc:26  I:3    P:756  SKIP:2832 size=1941 bytes
[matroska @ 0x7faac2816600] Writing block at offset 146163, size 6, pts 552, dts 552, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 146175, size 6, pts 573, dts 573, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 146187, size 1941, pts 625, dts 584, duration 42, flags 0

[CLIPPED]

[libx264 @ 0x7faac2817200] frame= 736 QP=22.25 NAL=2 Slice:P Poc:2   I:419  P:878  SKIP:2303 size=6453 bytes
[matroska @ 0x7faac2816600] Writing block at offset 9358223, size 324, pts 30675, dts 30675, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9358554, size 365, pts 30696, dts 30696, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9358926, size 6453, pts 30780, dts 30697, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame= 737 QP=22.87 NAL=2 Slice:P Poc:4   I:260  P:843  SKIP:2497 size=4845 bytes
[matroska @ 0x7faac2816600] Writing block at offset 9365386, size 317, pts 30717, dts 30717, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9365710, size 4845, pts 30822, dts 30739, duration 42, flags 0
[libx264 @ 0x7faac2817200] frame= 738 QP=22.93 NAL=2 Slice:P Poc:6   I:108  P:716  SKIP:2776 size=2324 bytes
[matroska @ 0x7faac2816600] Writing block at offset 9370562, size 333, pts 30739, dts 30739, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9370902, size 377, pts 30760, dts 30760, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9371286, size 2324, pts 30864, dts 30780, duration 42, flags 0
[matroska @ 0x7faac2816600] Writing block at offset 9373617, size 372, pts 30782, dts 30782, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9373996, size 336, pts 30803, dts 30803, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9374339, size 296, pts 30824, dts 30824, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9374642, size 350, pts 30846, dts 30846, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9374999, size 368, pts 30867, dts 30867, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9375374, size 347, pts 30888, dts 30888, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9375728, size 327, pts 30910, dts 30910, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9376062, size 362, pts 30931, dts 30931, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9376431, size 330, pts 30952, dts 30952, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9376768, size 340, pts 30973, dts 30973, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9377115, size 315, pts 30995, dts 30995, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9377437, size 376, pts 31016, dts 31016, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9377820, size 320, pts 31037, dts 31037, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9378147, size 328, pts 31058, dts 31058, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9378482, size 360, pts 31080, dts 31080, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9378849, size 349, pts 31101, dts 31101, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9379205, size 350, pts 31123, dts 31123, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9379562, size 363, pts 31144, dts 31144, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9379932, size 342, pts 31165, dts 31165, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9380281, size 304, pts 31187, dts 31187, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9380592, size 331, pts 31208, dts 31208, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9380930, size 346, pts 31229, dts 31229, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9381283, size 334, pts 31251, dts 31251, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9381624, size 369, pts 31272, dts 31272, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9382000, size 350, pts 31294, dts 31294, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9382357, size 339, pts 31315, dts 31315, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9382703, size 305, pts 31336, dts 31336, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9383015, size 379, pts 31358, dts 31358, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9383401, size 350, pts 31379, dts 31379, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9383758, size 333, pts 31400, dts 31400, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9384098, size 334, pts 31422, dts 31422, duration 21, flags 128
[matroska @ 0x7faac2816600] Writing block at offset 9384439, size 315, pts 31443, dts 31443, duration 21, flags 128
[matroska @ 0x7faac2816600] end duration = 31464
frame=  739 fps= 53 q=-1.0 Lsize=    9165kB time=00:00:31.38 bitrate=2392.5kbits/s    
video:8661kB audio:487kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.185382%
Input file #0 (/Users/11rcombs/Dropbox/Public/clip.mkv):
  Input stream #0:0 (video): 749 packets read (13685210 bytes); 740 frames decoded; 
  Input stream #0:1 (audio): 1471 packets read (1014381 bytes); 1471 frames decoded (1506304 samples); 
  Input stream #0:2 (subtitle): 0 packets read (0 bytes); 
  Input stream #0:3 (attachment): 0 packets read (0 bytes); 
  Input stream #0:4 (attachment): 0 packets read (0 bytes); 
  Input stream #0:5 (attachment): 0 packets read (0 bytes); 
  Input stream #0:6 (attachment): 0 packets read (0 bytes); 
  Input stream #0:7 (attachment): 0 packets read (0 bytes); 
  Input stream #0:8 (attachment): 0 packets read (0 bytes); 
  Input stream #0:9 (attachment): 0 packets read (0 bytes); 
  Input stream #0:10 (attachment): 0 packets read (0 bytes); 
  Input stream #0:11 (attachment): 0 packets read (0 bytes); 
  Input stream #0:12 (attachment): 0 packets read (0 bytes); 
  Input stream #0:13 (attachment): 0 packets read (0 bytes); 
  Input stream #0:14 (attachment): 0 packets read (0 bytes); 
  Input stream #0:15 (attachment): 0 packets read (0 bytes); 
  Input stream #0:16 (attachment): 0 packets read (0 bytes); 
  Input stream #0:17 (attachment): 0 packets read (0 bytes); 
  Input stream #0:18 (attachment): 0 packets read (0 bytes); 
  Input stream #0:19 (attachment): 0 packets read (0 bytes); 
  Input stream #0:20 (attachment): 0 packets read (0 bytes); 
  Input stream #0:21 (attachment): 0 packets read (0 bytes); 
  Input stream #0:22 (attachment): 0 packets read (0 bytes); 
  Input stream #0:23 (attachment): 0 packets read (0 bytes); 
  Input stream #0:24 (attachment): 0 packets read (0 bytes); 
  Input stream #0:25 (attachment): 0 packets read (0 bytes); 
  Input stream #0:26 (attachment): 0 packets read (0 bytes); 
  Total: 2220 packets (14699591 bytes) demuxed
Output file #0 (out.mkv):
  Output stream #0:0 (video): 739 frames encoded; 739 packets muxed (8868496 bytes); 
  Output stream #0:1 (audio): 1471 frames encoded (1506304 samples); 1472 packets muxed (499168 bytes); 
  Total: 2211 packets (9367664 bytes) muxed
2221 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x7faac2525840] Statistics: 104 seeks, 1595 writeouts
[libx264 @ 0x7faac2817200] frame I:30    Avg QP:20.61  size: 45900
[libx264 @ 0x7faac2817200] frame P:415   Avg QP:23.70  size: 16546
[libx264 @ 0x7faac2817200] frame B:294   Avg QP:25.14  size:  2123
[libx264 @ 0x7faac2817200] consecutive B-frames: 41.1% 13.5% 11.8% 33.6%
[libx264 @ 0x7faac2817200] mb I  I16..4: 29.6% 51.4% 19.1%
[libx264 @ 0x7faac2817200] mb P  I16..4:  7.9% 17.9%  3.3%  P16..4: 26.8%  8.7%  4.5%  0.0%  0.0%    skip:30.9%
[libx264 @ 0x7faac2817200] mb B  I16..4:  0.1%  0.1%  0.0%  B16..8: 27.6%  2.0%  0.4%  direct: 0.5%  skip:69.4%  L0:36.4% L1:58.8% BI: 4.8%
[libx264 @ 0x7faac2817200] 8x8 transform intra:59.5% inter:73.9%
[libx264 @ 0x7faac2817200] coded y,uvDC,uvAC intra: 42.0% 65.5% 30.8% inter: 10.0% 14.0% 1.8%
[libx264 @ 0x7faac2817200] i16 v,h,dc,p: 37% 17%  5% 41%
[libx264 @ 0x7faac2817200] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 33% 15% 20%  5%  5%  5%  5%  7%  5%
[libx264 @ 0x7faac2817200] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 17% 18%  8%  7%  6%  6%  7%  5%
[libx264 @ 0x7faac2817200] i8c dc,h,v,p: 49% 17% 23% 11%
[libx264 @ 0x7faac2817200] Weighted P-Frames: Y:6.0% UV:5.3%
[libx264 @ 0x7faac2817200] ref P L0: 66.2% 13.6% 13.2%  6.9%  0.1%
[libx264 @ 0x7faac2817200] ref B L0: 89.1%  8.5%  2.3%
[libx264 @ 0x7faac2817200] ref B L1: 95.9%  4.1%
[libx264 @ 0x7faac2817200] kb/s:2301.65
[AVIOContext @ 0x7faac2523620] Statistics: 20325594 bytes read, 1 seeks

Change History (3)

comment:1 by Carl Eugen Hoyos, 9 years ago

Keywords: mkv added; matroska removed
Priority: importantnormal

Is this a regression?

For future tickets: Please use -vcodec mpeg4 instead of -vcodec libx264, this can make reproducing the ticket much easier.

comment:2 by Carl Eugen Hoyos, 9 years ago

What's the difference to ticket #3934?

comment:3 by Ridley Combs, 9 years ago

Resolution: duplicate
Status: newclosed

Oh, hah, I'd completely forgotten about that one; yeah, looks like the same issue. So, we have another file that reproduces the issue now.

Note: See TracTickets for help on using tickets.