[FFmpeg-trac] #6016(ffmpeg:new): Persistent Subtitle Stream
FFmpeg
trac at avcodec.org
Tue Dec 13 00:23:17 EET 2016
#6016: Persistent Subtitle Stream
-----------------------------------+--------------------------------------
Reporter: mayka | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: git-master
Keywords: subtitles | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-----------------------------------+--------------------------------------
'''Summary of the bug: Video file has persistent subtitle stream that
cannot be removed'''
There is a bug present up to the latest snapshot of ffmpeg as of 12/10/16
that will not allow me to remove an empty subtitle stream from my video
files. The sample file I used is an mp4 and has the following streams:
{{{
Chapter #0:0: start 0.000000, end 1.000000
Metadata:
title : Chapter 01
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 28 kb/s, 23.98 fps, 23.98 tbr, 16k tbn,
47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 256 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:2(eng): Data: bin_data (text / 0x74786574), 0 kb/s
Metadata:
handler_name : SubtitleHandler
}}}
I have tried the following commands to try to remove the subtitle stream,
and none of them work:
{{{
ffmpeg -i persistant-subtitle-stream.mp4 -sn -vcodec copy -acodec copy
output.mp4
ffmpeg -i persistant-subtitle-stream.mp4 -sn -c copy output.mp4
ffmpeg -i persistant-subtitle-stream.mp4 -map 0:0 -c:v copy -map 0:1 -c:a
copy output.mp4
}}}
I think the subtitle stream is somehow related to the metadata, because if
I run the following command on my input file, the subtitle stream is also
removed (but then if I run ffmpeg on the resultant output file, it does
kick up an error about missing chapter metadata [Referenced QT chapter
track not found]):
{{{
ffmpeg -i persistant-subtitle-stream.mp4 -c:v copy -c:a copy -map_metadata
-1 output.mp4
}}}
This is not a fix for me because I need to keep chapter information.
Some googling finally led me to this bug report, which is listed as
closed, but the issue the OP describes has definitely ''not'' been fixed:
[https://trac.ffmpeg.org/ticket/3668]
Based on the information in that ticket, however, I downloaded the newest
64-bit static binary of the ffmpeg 2.0.* branch available at
[https://ffmpeg.zeranoe.com/builds/win64/static] (which happens to be
2.0.2) and ran the following command on my file and it ''did'' remove the
subtitle stream, without deleting chapter information!
{{{
ffmpeg -i persistant-subtitle-stream.mp4 -sn -vcodec copy -acodec copy
output.mp4
}}}
This is the resulting output file after running that command with ffmpeg
2.0.2:
{{{
ffmpeg -i output_2-0-2.mp4
ffmpeg version N-82833-gedb4f5d Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-
bzlib --enable-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. 43.100 / 55. 43.100
libavcodec 57. 67.100 / 57. 67.100
libavformat 57. 59.100 / 57. 59.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 68.100 / 6. 68.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output_2-0-2.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.12.100
Duration: 00:00:01.05, start: 0.000000, bitrate: 296 kb/s
Chapter #0:0: start 0.021000, end 1.046000
Metadata:
title : Chapter 01
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1920x1080 [SAR 1:1 DAR 16:9], 28 kb/s, 23.98 fps, 23.98 tbr, 16k tbn,
47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 250 kb/s (default)
Metadata:
handler_name : SoundHandler
At least one output file must be specified
}}}
So you can see that it was able to retain chapter information while also
removing the offending subtitle stream.
I then downloaded the static binary for 2.1 and tried the same command,
and the subtitle stream was ''not'' removed, so clearly this is an bug
originating in the 2.1 branch onward, up to the most recent snapshot
build.
Here is the full output of the command I used to try to remove subtitles
with the newest snapshot of ffmpeg:
{{{
ffmpeg -i persistant-subtitle-stream.mp4 -sn -vcodec copy -acodec copy
-report output.mp4
ffmpeg version N-82833-gedb4f5d Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-
bzlib --enable-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. 43.100 / 55. 43.100
libavcodec 57. 67.100 / 57. 67.100
libavformat 57. 59.100 / 57. 59.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 68.100 / 6. 68.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
Splitting the commandline.
Reading option '-i' ... matched as input url with argument 'persistant-
subtitle-stream.mp4'.
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 'copy'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec
('copy' to copy stream)) with argument 'copy'.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option 'output.mp4' ... 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 persistant-subtitle-stream.mp4.
Successfully parsed a group of options.
Opening an input file: persistant-subtitle-stream.mp4.
[file @ 0000000000e03ec0] Setting default whitelist 'file,crypto'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] Format
mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] ISO: File Type Major Brand:
isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] Unknown dref type
0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] Offset DTS by
ctts[0].duration: 667
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] Processing st: 0, edit list 0
- media time: 667, duration: 16688
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
0 @ 0, ctts: 667, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
667 @ 1, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
1339 @ 2, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
1995 @ 3, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
2667 @ 3, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
3339 @ 3, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
4011 @ 4, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
4667 @ 5, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
5339 @ 5, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
6011 @ 6, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
6667 @ 7, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
7339 @ 7, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
8011 @ 7, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
8683 @ 8, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
9339 @ 9, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
10011 @ 9, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
10683 @ 10, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
11339 @ 11, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
12011 @ 11, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
12683 @ 12, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
13339 @ 13, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
14011 @ 13, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
14683 @ 13, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
15355 @ 14, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] shifted frame pts, curr_cts:
16011 @ 15, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] Unknown dref type
0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] Processing st: 1, edit list 0
- media time: 1024, duration: 48096
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] drop a frame at curr_cts: 0 @
0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] Unknown dref type
0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] Processing st: 2, edit list 0
- media time: 0, duration: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 23.500000 0.019035
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 23.500000 0.019035
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 23.583333 0.012983
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 23.583333 0.012983
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 23.666667 0.008090
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 23.666667 0.008090
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 23.750000 0.004353
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 23.750000 0.004353
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 23.833333 0.001775
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 23.833333 0.001775
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 23.916667 0.000354
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 24.000000 0.000091
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 24.083333 0.000985
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 24.083333 0.000985
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 24.166667 0.003037
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 24.166667 0.003037
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 24.250000 0.006246
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 24.250000 0.006246
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 24.333333 0.010613
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 24.333333 0.010613
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 24.416667 0.016138
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 24.416667 0.016138
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 48.000000 0.000363
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 120.000000 0.002267
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 240.000000 0.009067
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 23.976024 0.000048
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] rfps: 47.952048 0.000191
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] Before
avformat_find_stream_info() pos: 39360 bytes read:72128 seeks:2
nb_streams:3
[h264 @ 0000000000e14d00] nal_unit_type: 7, nal_ref_idc: 1
[h264 @ 0000000000e14d00] nal_unit_type: 8, nal_ref_idc: 1
[h264 @ 0000000000e14d00] nal_unit_type: 7, nal_ref_idc: 1
[h264 @ 0000000000e14d00] nal_unit_type: 8, nal_ref_idc: 1
[h264 @ 0000000000e14d00] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 0000000000e14d00] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 0000000000e14d00] nal_unit_type: 6, nal_ref_idc: 0
[h264 @ 0000000000e14d00] nal_unit_type: 5, nal_ref_idc: 1
[h264 @ 0000000000e14d00] ct_type:1 pic_struct:0
[h264 @ 0000000000e14d00] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000000000e14d00] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] demuxer injecting skip 1024 /
discard 0
[aac @ 0000000000e07c00] skip 1024 / discard 0 samples due to side data
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000000e034c0] After
avformat_find_stream_info() pos: 1577 bytes read:104896 seeks:3 frames:2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'persistant-subtitle-stream.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.56.100
Duration: 00:00:01.04, start: 0.000000, bitrate: 301 kb/s
Chapter #0:0: start 0.000000, end 1.000000
Metadata:
title : Chapter 01
Stream #0:0(und), 1, 1/16000: Video: h264 (High) (avc1 / 0x31637661),
yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 28 kb/s, 23.98 fps, 23.98 tbr, 16k
tbn, 47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und), 1, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D),
48000 Hz, stereo, fltp, 256 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:2(eng), 0, 1/1000: Data: bin_data (text / 0x74786574), 0
kb/s
Metadata:
handler_name : SubtitleHandler
Successfully opened the file.
Parsing a group of options: output url output.mp4.
Applying option sn (disable subtitle) with argument 1.
Applying option vcodec (force video codec ('copy' to copy stream)) with
argument copy.
Applying option acodec (force audio codec ('copy' to copy stream)) with
argument copy.
Successfully parsed a group of options.
Opening an output file: output.mp4.
[file @ 0000000000f7d140] Setting default whitelist 'file,crypto'
Successfully opened the file.
Output #0, mp4, to 'output.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.59.100
Chapter #0:0: start 0.000000, end 1.000000
Metadata:
title : Chapter 01
Stream #0:0(und), 0, 1/16000: Video: h264 (High) ([33][0][0][0] /
0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 28 kb/s, 23.98
fps, 23.98 tbr, 16k tbn, 16k tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und), 0, 1/48000: Audio: aac (LC) ([64][0][0][0] /
0x0040), 48000 Hz, stereo, fltp, 256 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
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)
cur_dts is invalid (this is harmless if it occurs once at the start per
stream)
No more output streams to write to, finishing.
frame= 25 fps=0.0 q=-1.0 Lsize= 38kB time=00:00:00.98 bitrate=
320.9kbits/s speed= 140x
video:4kB audio:32kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 7.842761%
Input file #0 (persistant-subtitle-stream.mp4):
Input stream #0:0 (video): 25 packets read (3714 bytes);
Input stream #0:1 (audio): 48 packets read (32791 bytes);
Input stream #0:2 (data): 0 packets read (0 bytes);
Total: 73 packets (36505 bytes) demuxed
Output file #0 (output.mp4):
Output stream #0:0 (video): 25 packets muxed (3714 bytes);
Output stream #0:1 (audio): 48 packets muxed (32791 bytes);
Total: 73 packets (36505 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0000000000e04ea0] Statistics: 86 seeks, 139 writeouts
[AVIOContext @ 0000000000f77680] Statistics: 111416 bytes read, 3 seeks
}}}
And here is the full, uncut console output provided by ffmpeg -v 9
-loglevel 99 for my input file:
{{{
D:\>ffmpeg -v 9 -loglevel 99 -i persistant-subtitle-stream.mp4
ffmpeg version N-82833-gedb4f5d Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-
bzlib --enable-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. 43.100 / 55. 43.100
libavcodec 57. 67.100 / 57. 67.100
libavformat 57. 59.100 / 57. 59.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 68.100 / 6. 68.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.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 'persistant-
subtitle-stream.mp4'.
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 persistant-subtitle-stream.mp4.
Successfully parsed a group of options.
Opening an input file: persistant-subtitle-stream.mp4.
[file @ 0000000002612560] Setting default whitelist 'file,crypto'
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048
Probing mp3 score:1 size:2048
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] Format
mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 70797466 'ftyp'
parent:'root' sz: 32 8 39360
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] ISO: File Type Major Brand:
isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 65657266 'free'
parent:'root' sz: 8 40 39360
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 7461646d 'mdat'
parent:'root' sz: 36514 48 39360
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 766f6f6d 'moov'
parent:'root' sz: 2806 36562 39360
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6468766d 'mvhd'
parent:'moov' sz: 108 8 2798
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] time scale = 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6b617274 'trak'
parent:'moov' sz: 1209 116 2798
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 64686b74 'tkhd'
parent:'trak' sz: 92 8 1201
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 73746465 'edts'
parent:'trak' sz: 36 100 1201
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 74736c65 'elst'
parent:'edts' sz: 28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] track[0].edit_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] duration=1043 time=667
rate=1.000000
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 66657274 'tref'
parent:'trak' sz: 20 136 1201
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 70616863 'chap'
parent:'tref' sz: 12 8 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6169646d 'mdia'
parent:'trak' sz: 1053 156 1201
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6468646d 'mdhd'
parent:'mdia' sz: 32 8 1045
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 726c6468 'hdlr'
parent:'mdia' sz: 45 40 1045
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] ctype= (0x00000000)
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stype= vide
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 666e696d 'minf'
parent:'mdia' sz: 968 85 1045
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 64686d76 'vmhd'
parent:'minf' sz: 20 8 960
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 666e6964 'dinf'
parent:'minf' sz: 36 28 960
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 66657264 'dref'
parent:'dinf' sz: 28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type url size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] Unknown dref type
0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6c627473 'stbl'
parent:'minf' sz: 904 64 960
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 64737473 'stsd'
parent:'stbl' sz: 320 8 896
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] size=304 4CC= avc1/0x31637661
codec_type=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 43637661 'avcC'
parent:'stsd' sz: 202 8 218
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 70736170 'pasp'
parent:'stsd' sz: 16 210 218
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 73747473 'stts'
parent:'stbl' sz: 144 328 896
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] track[0].stts.entries = 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=1,
sample_duration=667
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=1,
sample_duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=1,
sample_duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=3,
sample_duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=1,
sample_duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=2,
sample_duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=1,
sample_duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=3,
sample_duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=1,
sample_duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=2,
sample_duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=1,
sample_duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=2,
sample_duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=1,
sample_duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=3,
sample_duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=1,
sample_duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=1,
sample_duration=667
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 73737473 'stss'
parent:'stbl' sz: 24 472 896
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] keyframe_count = 2
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 73747463 'ctts'
parent:'stbl' sz: 144 496 896
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] track[0].ctts.entries = 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=1, duration=667
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=1, duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=1, duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=3, duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=1, duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=2, duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=1, duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=3, duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=1, duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=2, duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=1, duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=2, duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=1, duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=3, duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=1, duration=656
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] count=1, duration=672
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] dts shift 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 63737473 'stsc'
parent:'stbl' sz: 28 640 896
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] track[0].stsc.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 7a737473 'stsz'
parent:'stbl' sz: 120 668 896
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_size = 0 sample_count
= 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6f637473 'stco'
parent:'stbl' sz: 116 788 896
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 0,
offset 48, dts 0, size 822, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 1,
offset 629, dts 667, size 91, distance 1, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 2,
offset bd9, dts 1339, size 90, distance 2, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 3,
offset 1189, dts 1995, size 90, distance 3, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 4,
offset 1738, dts 2667, size 90, distance 4, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 5,
offset 1ce7, dts 3339, size 90, distance 5, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 6,
offset 2297, dts 4011, size 90, distance 6, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 7,
offset 2846, dts 4667, size 90, distance 7, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 8,
offset 2df5, dts 5339, size 90, distance 8, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 9,
offset 33a5, dts 6011, size 90, distance 9, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 10,
offset 3954, dts 6667, size 90, distance 10, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 11,
offset 3f03, dts 7339, size 90, distance 11, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 12,
offset 44b3, dts 8011, size 90, distance 12, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 13,
offset 4a62, dts 8683, size 90, distance 13, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 14,
offset 5011, dts 9339, size 90, distance 14, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 15,
offset 55c1, dts 10011, size 90, distance 15, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 16,
offset 5b70, dts 10683, size 90, distance 16, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 17,
offset 611f, dts 11339, size 90, distance 17, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 18,
offset 66cf, dts 12011, size 90, distance 18, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 19,
offset 6c7e, dts 12683, size 90, distance 19, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 20,
offset 722d, dts 13339, size 821, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 21,
offset 7ab8, dts 14011, size 90, distance 1, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 22,
offset 8067, dts 14683, size 90, distance 2, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 23,
offset 8616, dts 15355, size 90, distance 3, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 0, sample 24,
offset 891b, dts 16011, size 90, distance 4, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] Offset DTS by
ctts[0].duration: 667
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] Processing st: 0, edit list 0
- media time: 667, duration: 16688
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
0 @ 0, ctts: 667, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
667 @ 1, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
1339 @ 2, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
1995 @ 3, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
2667 @ 3, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
3339 @ 3, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
4011 @ 4, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
4667 @ 5, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
5339 @ 5, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
6011 @ 6, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
6667 @ 7, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
7339 @ 7, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
8011 @ 7, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
8683 @ 8, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
9339 @ 9, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
10011 @ 9, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
10683 @ 10, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
11339 @ 11, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
12011 @ 11, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
12683 @ 12, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
13339 @ 13, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
14011 @ 13, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
14683 @ 13, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
15355 @ 14, ctts: 656, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] shifted frame pts, curr_cts:
16011 @ 15, ctts: 672, ctts_count: 16
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6b617274 'trak'
parent:'moov' sz: 828 1325 2798
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 64686b74 'tkhd'
parent:'trak' sz: 92 8 820
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 73746465 'edts'
parent:'trak' sz: 36 100 820
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 74736c65 'elst'
parent:'edts' sz: 28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] track[1].edit_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] duration=1002 time=1024
rate=1.000000
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 66657274 'tref'
parent:'trak' sz: 20 136 820
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 70616863 'chap'
parent:'tref' sz: 12 8 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6169646d 'mdia'
parent:'trak' sz: 672 156 820
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6468646d 'mdhd'
parent:'mdia' sz: 32 8 664
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 726c6468 'hdlr'
parent:'mdia' sz: 45 40 664
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] ctype= (0x00000000)
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stype= soun
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 666e696d 'minf'
parent:'mdia' sz: 587 85 664
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 64686d73 'smhd'
parent:'minf' sz: 16 8 579
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 666e6964 'dinf'
parent:'minf' sz: 36 24 579
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 66657264 'dref'
parent:'dinf' sz: 28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type url size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] Unknown dref type
0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6c627473 'stbl'
parent:'minf' sz: 527 60 579
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 64737473 'stsd'
parent:'stbl' sz: 103 8 519
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] size=87 4CC= mp4a/0x6134706d
codec_type=1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] audio channels 2
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] version =0, isom =1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 73647365 'esds'
parent:'stsd' sz: 51 8 51
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] MPEG-4 description: tag=0x03
len=34
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] MPEG-4 description: tag=0x04
len=20
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] esds object type id 0x40
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] MPEG-4 description: tag=0x05
len=2
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] Specific MPEG-4 header len=2
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] mp4a config channels 2 obj 2
ext obj 0 sample rate 48000 ext sample rate 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 73747473 'stts'
parent:'stbl' sz: 24 111 519
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] track[1].stts.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=48,
sample_duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 63737473 'stsc'
parent:'stbl' sz: 64 135 519
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] track[1].stsc.entries = 4
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 7a737473 'stsz'
parent:'stbl' sz: 212 199 519
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_size = 0 sample_count
= 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6f637473 'stco'
parent:'stbl' sz: 116 411 519
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 0,
offset 37e, dts 0, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 1,
offset 684, dts 1024, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 2,
offset 92f, dts 2048, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 3,
offset c33, dts 3072, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 4,
offset ede, dts 4096, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 5,
offset 11e3, dts 5120, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 6,
offset 148d, dts 6144, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 7,
offset 1792, dts 7168, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 8,
offset 1a3d, dts 8192, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 9,
offset 1d41, dts 9216, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 10,
offset 1fec, dts 10240, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 11,
offset 22f1, dts 11264, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 12,
offset 259b, dts 12288, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 13,
offset 28a0, dts 13312, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 14,
offset 2b4b, dts 14336, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 15,
offset 2e4f, dts 15360, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 16,
offset 30fa, dts 16384, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 17,
offset 33ff, dts 17408, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 18,
offset 36a9, dts 18432, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 19,
offset 39ae, dts 19456, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 20,
offset 3c59, dts 20480, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 21,
offset 3f5d, dts 21504, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 22,
offset 4208, dts 22528, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 23,
offset 450d, dts 23552, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 24,
offset 47b7, dts 24576, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 25,
offset 4abc, dts 25600, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 26,
offset 4d67, dts 26624, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 27,
offset 506b, dts 27648, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 28,
offset 5316, dts 28672, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 29,
offset 561b, dts 29696, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 30,
offset 58c5, dts 30720, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 31,
offset 5bca, dts 31744, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 32,
offset 5e75, dts 32768, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 33,
offset 6179, dts 33792, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 34,
offset 6424, dts 34816, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 35,
offset 6729, dts 35840, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 36,
offset 69d3, dts 36864, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 37,
offset 6cd8, dts 37888, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 38,
offset 6f83, dts 38912, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 39,
offset 7562, dts 39936, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 40,
offset 780d, dts 40960, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 41,
offset 7b12, dts 41984, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 42,
offset 7dbc, dts 43008, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 43,
offset 80c1, dts 44032, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 44,
offset 836c, dts 45056, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 45,
offset 8670, dts 46080, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 46,
offset 8975, dts 47104, size 683, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 1, sample 47,
offset 8c20, dts 48128, size 682, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] Processing st: 1, edit list 0
- media time: 1024, duration: 48096
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] drop a frame at curr_cts: 0 @
0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6b617274 'trak'
parent:'moov' sz: 519 2153 2798
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 64686b74 'tkhd'
parent:'trak' sz: 92 8 511
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 73746465 'edts'
parent:'trak' sz: 36 100 511
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 74736c65 'elst'
parent:'edts' sz: 28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] track[2].edit_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] duration=1000 time=0
rate=1.000000
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6169646d 'mdia'
parent:'trak' sz: 383 136 511
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6468646d 'mdhd'
parent:'mdia' sz: 32 8 375
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 726c6468 'hdlr'
parent:'mdia' sz: 48 40 375
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] ctype= (0x00000000)
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stype= text
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 666e696d 'minf'
parent:'mdia' sz: 295 88 375
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 64686d67 'gmhd'
parent:'minf' sz: 76 8 287
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 666e6964 'dinf'
parent:'minf' sz: 36 84 287
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 66657264 'dref'
parent:'dinf' sz: 28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type url size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] Unknown dref type
0x08206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6c627473 'stbl'
parent:'minf' sz: 175 120 287
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 64737473 'stsd'
parent:'stbl' sz: 75 8 167
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] size=59 4CC= text/0x74786574
codec_type=3
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 73747473 'stts'
parent:'stbl' sz: 24 83 167
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] track[2].stts.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_count=1,
sample_duration=1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 63737473 'stsc'
parent:'stbl' sz: 28 107 167
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] track[2].stsc.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 7a737473 'stsz'
parent:'stbl' sz: 20 135 167
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] sample_size = 24 sample_count
= 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6f637473 'stco'
parent:'stbl' sz: 20 155 167
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] AVIndex stream 2, sample 0,
offset 30, dts 0, size 24, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] Processing st: 2, edit list 0
- media time: 0, duration: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 61746475 'udta'
parent:'moov' sz: 134 2672 2798
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6174656d 'meta'
parent:'udta' sz: 90 8 126
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 726c6468 'hdlr'
parent:'meta' sz: 33 8 78
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] ctype= (0x00000000)
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stype= mdir
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 74736c69 'ilst'
parent:'meta' sz: 45 41 78
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6f6f74a9 '⌐too'
parent:'ilst' sz: 37 8 37
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] lang " " tag "encoder"
value "Lavf57.56.100" atom "⌐too" 27 13
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] type: 6c706863 'chpl'
parent:'udta' sz: 36 98 126
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] on_parse_exit_offset=39360
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 23.500000 0.019035
Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 23.583333 0.012983
Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 23.666667 0.008090
Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 23.750000 0.004353
Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 23.833333 0.001775
Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 23.916667 0.000354
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 24.000000 0.000091
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 24.083333 0.000985
Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 24.166667 0.003037
Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 24.250000 0.006246
Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 24.333333 0.010613
Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 24.416667 0.016138
Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 48.000000 0.000363
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 120.000000 0.002267
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 240.000000 0.009067
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 23.976024 0.000048
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] rfps: 47.952048 0.000191
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] Before
avformat_find_stream_info() pos: 39360 bytes read:72128 seeks:2
nb_streams:3
[h264 @ 0000000002624220] nal_unit_type: 7, nal_ref_idc: 1
[h264 @ 0000000002624220] nal_unit_type: 8, nal_ref_idc: 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stream 0, sample 0, dts
-41688
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stream 1, sample 0, dts
-21333
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stream 2, sample 0, dts 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stream 0, sample 0, dts
-41688
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stream 1, sample 0, dts
-21333
[h264 @ 0000000002624220] nal_unit_type: 7, nal_ref_idc: 1
[h264 @ 0000000002624220] nal_unit_type: 8, nal_ref_idc: 1
[h264 @ 0000000002624220] nal_unit_type: 6, nal_ref_idc: 0
Last message repeated 2 times
[h264 @ 0000000002624220] nal_unit_type: 5, nal_ref_idc: 1
[h264 @ 0000000002624220] ct_type:1 pic_struct:0
[h264 @ 0000000002624220] Reinit context to 1920x1088, pix_fmt: yuv420p
[h264 @ 0000000002624220] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stream 0, sample 1, dts 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stream 1, sample 0, dts
-21333
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] demuxer injecting skip 1024 /
discard 0
[aac @ 00000000026165c0] skip 1024 / discard 0 samples due to side data
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stream 0: start_time: 0.000
duration: 1.043
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stream 1: start_time: 0.000
duration: 1.002
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] stream 2: start_time: 0.000
duration: 1.043
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] format: start_time: 0.000
duration: 1.043 bitrate=301 kb/s
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006d68a0] After
avformat_find_stream_info() pos: 1577 bytes read:104896 seeks:3 frames:2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'persistant-subtitle-stream.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.56.100
Duration: 00:00:01.04, start: 0.000000, bitrate: 301 kb/s
Chapter #0:0: start 0.000000, end 1.000000
Metadata:
title : Chapter 01
Stream #0:0(und), 1, 1/16000: Video: h264 (High), 1 reference frame
(avc1 / 0x31637661), yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR
16:9], 0/1, 28 kb/s, 23.98 fps, 23.98 tbr, 16k tbn, 47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und), 1, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D),
48000 Hz, stereo, fltp, 256 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:2(eng), 0, 1/1000: Data: bin_data (text / 0x74786574), 0/1,
0 kb/s
Metadata:
handler_name : SubtitleHandler
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 000000000261b3e0] Statistics: 104896 bytes read, 3 seeks
}}}
Incidentally, running ffprobe on the input file also kicks up the
following error regarding the subtitle stream:
{{{
Unsupported codec with id 100359 for input stream 2
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6016>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list