FFmpeg-trac
Threads by month
- ----- 2026 -----
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
February 2024
- 1 participants
- 376 discussions
#10469(undetermined:new): non-existing PPS 0 referenced after ffmpeg segment (HLS) encoding
by FFmpeg 02 May '25
by FFmpeg 02 May '25
02 May '25
#10469: non-existing PPS 0 referenced after ffmpeg segment (HLS) encoding
-------------------------------------+-------------------------------------
Reporter: maxjh | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
I'm using ffmpeg to convert files to HLS format and found one file that
looks corrupted after convert.
How to reproduce:
{{{
% ffmpeg -i https://storage.googleapis.com/lp-us-catalyst-vod-
com/hls/80c9ui6jg4q82rvj/video -c:a copy -c:v copy -f hls -hls_list_size 0
-hls_playlist_type vod -hls_segment_type mpegts -hls_time 10 -y index.m3u8
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/6.0-with-options_1
--enable-shared --cc=clang --host-cflags= --host-ldflags= --enable-gpl
--enable-libaom --enable-libdav1d --enable-libmp3lame --enable-libopus
--enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-libx264 --enable-libx265 --enable-libfontconfig --enable-
libfreetype --enable-frei0r --enable-libass --enable-demuxer=dash
--enable-opencl --enable-audiotoolbox --enable-videotoolbox --enable-neon
--disable-htmlpages --enable-libfdk-aac --enable-nonfree
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'https://storage.googleapis.com
/lp-us-catalyst-vod-com/hls/80c9ui6jg4q82rvj/video':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf60.3.100
Duration: 00:16:27.43, start: 0.000000, bitrate: 2140 kb/s
Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661),
yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 1944 kb/s,
30 fps, 30 tbr, 90k tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1[0x2](und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 184 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
Output #0, hls, to 'index.m3u8':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf60.3.100
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv,
bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1944 kb/s, 30
fps, 30 tbr, 90k tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo,
fltp, 184 kb/s (default)
Metadata:
handler_name : SoundHandler
vendor_id : [0][0][0][0]
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[hls @ 0x155606f60] Opening 'index0.ts' for writing4 bitrate=N/A speed=
20x /s speed=N/A
[hls @ 0x155606f60] Opening 'index1.ts' for writing3 bitrate=N/A
speed=19.7x
[hls @ 0x155606f60] Opening 'index2.ts' for writing1 bitrate=N/A
speed=19.5x
[hls @ 0x155606f60] Opening 'index3.ts' for writing4 bitrate=N/A speed=
19x
...
}}}
% ffprobe -loglevel error -show_format -show_streams -print_format json
index1.ts
{
[h264 @ 0x13b704b40] non-existing SPS 0 referenced in buffering period
[h264 @ 0x13b704b40] non-existing PPS 0 referenced
[h264 @ 0x13b704b40] non-existing SPS 0 referenced in buffering period
[h264 @ 0x13b704b40] non-existing PPS 0 referenced
[h264 @ 0x13b704b40] decode_slice_header error
[h264 @ 0x13b704b40] no frame!
[h264 @ 0x13b704b40] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x13b704b40] decode_slice_header error
[h264 @ 0x13b704b40] no frame!
[h264 @ 0x13b704b40] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x13b704b40] decode_slice_header error
[h264 @ 0x13b704b40] no frame!
[h264 @ 0x13b704b40] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x13b704b40] decode_slice_header error
[h264 @ 0x13b704b40] no frame!
[h264 @ 0x13b704b40] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x13b704b40] decode_slice_header error
[h264 @ 0x13b704b40] no frame!
[h264 @ 0x13b704b40] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x13b704b40] decode_slice_header error
[h264 @ 0x13b704b40] no frame!
[h264 @ 0x13b704b40] non-existing PPS 0 referenced
...
{{{
ffmpeg -version
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/6.0-with-options_1
--enable-shared --cc=clang --host-cflags= --host-ldflags= --enable-gpl
--enable-libaom --enable-libdav1d --enable-libmp3lame --enable-libopus
--enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-libx264 --enable-libx265 --enable-libfontconfig --enable-
libfreetype --enable-frei0r --enable-libass --enable-demuxer=dash
--enable-opencl --enable-audiotoolbox --enable-videotoolbox --enable-neon
--disable-htmlpages --enable-libfdk-aac --enable-nonfree
libavutil 58. 2.100 / 58. 2.100
libavcodec 60. 3.100 / 60. 3.100
libavformat 60. 3.100 / 60. 3.100
libavdevice 60. 1.100 / 60. 1.100
libavfilter 9. 3.100 / 9. 3.100
libswscale 7. 1.100 / 7. 1.100
libswresample 4. 10.100 / 4. 10.100
libpostproc 57. 1.100 / 57. 1.100
}}}
When trying to play back index1.ts I'm only able to hear audio, the video
seems to have been corrupted.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10469>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
5
30 Apr '25
#10806: Heap-use-after-free in av_expr_free (libavutil/eval.c:361)
-------------------------------------+-------------------------------------
Reporter: Bachir | Type: defect
Bendrissou |
Status: new | Priority: important
Component: avutil | Version: git-
Keywords: error, | master
corrupted, bugs, memory | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
==== Summary of the bug:
While attempting to apply a two-pass video encoding to a small mp4 video,
we encountered a heap-use-after-free memory error in file:
libavutil/eval.c, line: 361.
==== How to reproduce:
The bug is reproducible on the latest commit be4fcf027b.
The following builds ffmpeg:
{{{#!bash
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --disable-asm --toolchain=gcc-asan --disable-ffplay --disable-
ffprobe
make
}}}
Next, run the first pass that generates a log file, which is required by
the ffmpeg two-pass video encoding command:
{{{#!bash
./ffmpeg_g -y -v 9 -loglevel 99 -i small_movie.mp4 -pass 1
small_movie_out.mp4
}}}
The video file "small_movie.mp4" is attached.
Next, run the ffmpeg command:
{{{#!bash
./ffmpeg_g -y -v 9 -loglevel 99 -i small_movie.mp4 -pass 2
small_movie_out.mp4
}}}
Options `-v 9 -loglevel 99` are optional and were only added to produce
verbose logs.
==== Console output:
{{{
ffmpeg version N-113344-gbe4fcf027b Copyright (c) 2000-2024 the FFmpeg
developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --disable-asm --toolchain=gcc-asan --disable-ffplay
--disable-ffprobe
libavutil 58. 36.101 / 58. 36.101
libavcodec 60. 37.100 / 60. 37.100
libavformat 60. 20.100 / 60. 20.100
libavdevice 60. 4.100 / 60. 4.100
libavfilter 9. 17.100 / 9. 17.100
libswscale 7. 6.100 / 7. 6.100
libswresample 4. 13.100 / 4. 13.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files)
with argument '1'.
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 output url with argument 'input.mp4'.
Reading option '-pass' ... matched as option 'pass' (select the pass
number (1 to 3)) with argument '2'.
Reading option 'small_movie_out.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url input.mp4.
Successfully parsed a group of options.
Opening an input file: input.mp4.
[AVFormatContext @ 0x617000000080] Opening 'input.mp4' for reading
[file @ 0x60c000000280] Setting default whitelist 'file,crypto,data'
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:1267
Probing mp3 score:1 size:1267
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] Format mov,mp4,m4a,3gp,3g2,mj2
probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'ftyp' parent:'root' sz:
24 8 1267
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] ISO: File Type Major Brand:
mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'free' parent:'root' sz: 8
32 1267
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'mdat' parent:'root' sz:
405 40 1267
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'moov' parent:'root' sz:
830 445 1267
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'mvhd' parent:'moov' sz:
108 8 822
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] time scale = 90000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'trak' parent:'moov' sz:
714 116 822
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'tkhd' parent:'trak' sz:
92 8 706
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'mdia' parent:'trak' sz:
614 100 706
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'idhd' parent:'mdia' sz:
32 8 606
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'hdlr' parent:'mdia' sz:
52 40 606
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] ctype=[0][0][0][0]
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stype=vide
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'minf' parent:'mdia' sz:
522 92 606
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'vmhd' parent:'minf' sz:
20 8 514
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'dinf' parent:'minf' sz:
36 28 514
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'dref' parent:'dinf' sz:
28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] Unknown dref type 0x206c7275
size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'stbl' parent:'minf' sz:
458 64 514
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'stsd' parent:'stbl' sz:
162 8 450
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] size=146 4CC=avc1 codec_type=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'avcC' parent:'stsd' sz:
60 8 60
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'stts' parent:'stbl' sz:
24 170 450
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] track[0].stts.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] sample_count=12,
sample_duration=1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'ctts' parent:'stbl' sz:
96 194 450
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] track[0].ctts.entries = 10
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] count=1, duration=1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] count=1, duration=3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] count=2, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] count=1, duration=4
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] count=1, duration=1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] count=1, duration=-1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] count=1, duration=3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] count=2, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] count=1, duration=-1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] dts shift 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'stsc' parent:'stbl' sz:
52 290 450
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] track[0].stsc.entries = 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'stsz' parent:'stbl' sz:
68 342 450
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] sample_size = 0 sample_count =
12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'stco' parent:'stbl' sz:
28 410 450
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] type:'stss' parent:'stbl' sz:
20 438 450
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] keyframe_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stream 0, timescale not set
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] AVIndex stream 0, sample 0,
offset 28, dts -1, size 124, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] AVIndex stream 0, sample 1,
offset a4, dts 0, size 64, distance 1, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] AVIndex stream 0, sample 2,
offset e4, dts 1, size 25, distance 2, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] AVIndex stream 0, sample 3,
offset fd, dts 2, size 25, distance 3, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] AVIndex stream 0, sample 4,
offset 116, dts 3, size 24, distance 4, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] AVIndex stream 0, sample 5,
offset 12e, dts 4, size 21, distance 5, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] AVIndex stream 0, sample 6,
offset 143, dts 5, size 21, distance 6, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] AVIndex stream 0, sample 7,
offset 158, dts 6, size 21, distance 7, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] AVIndex stream 0, sample 8,
offset 16d, dts 7, size 25, distance 8, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] AVIndex stream 0, sample 9,
offset 186, dts 8, size 21, distance 9, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] AVIndex stream 0, sample 10,
offset 19b, dts 9, size 21, distance 10, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] AVIndex stream 0, sample 11,
offset 1b0, dts 10, size 5, distance 11, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] Setting codecpar->delay to 2
for stream st: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] on_parse_exit_offset=1267
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] Before
avformat_find_stream_info() pos: 1267 bytes read:1267 seeks:0 nb_streams:1
[h264 @ 0x619000000080] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x619000000080] Decoding VUI
[h264 @ 0x619000000080] nal_unit_type: 8(PPS), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stream 0, sample 0, dts -11
[h264 @ 0x619000000080] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x619000000080] Decoding VUI
[h264 @ 0x619000000080] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x619000000080] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x619000000080] Format yuv420p chosen by get_format().
[h264 @ 0x619000000080] Reinit context to 48x144, pix_fmt: yuv420p
[h264 @ 0x619000000080] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stream 0: start_time:
1.11111e-05 duration: NOPTS
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] format: start_time: 1.1e-05
duration: NOPTS (estimate from bit rate) bitrate=0 kb/s
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] After
avformat_find_stream_info() pos: 164 bytes read:1267 seeks:0 frames:1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
Metadata:
major_brand : mp42
minor_version : 19529854
compatible_brands: mp42isom
creation_time : 2014-11-14T07:34:24.000000Z
Duration: N/A, start: 0.000011, bitrate: N/A
Stream #0:0[0x1], 1, 1/90000: Video: h264 (High), 1 reference frame
(avc1 / 0x31637661), yuv420p(tv, smpte170m, progressive, left), 48x144
[SAR 1:1 DAR 1:3], 0/1, 90k fps, 90k tbr, 90k tbn (default)
Metadata:
handler_name : Video Media Handler
vendor_id : [0][0][0][0]
encoder : AVC Coding
Successfully opened the file.
Parsing a group of options: output url small_movie_out.mp4.
Applying option pass (select the pass number (1 to 3)) with argument 2.
Successfully parsed a group of options.
Opening an output file: small_movie_out.mp4.
[out#0/mp4 @ 0x611000000b80] No explicit maps, mapping streams
automatically...
[vost#0:0/mpeg4 @ 0x617000000780] Created video stream from input stream
0:0
[file @ 0x60d000001080] Setting default whitelist 'file,crypto,data'
[AVIOContext @ 0x612000000c40] Statistics: 666494 bytes read, 0 seeks
detected 4 logical cores
[h264 @ 0x619000001980] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x619000001980] Decoding VUI
[h264 @ 0x619000001980] nal_unit_type: 8(PPS), nal_ref_idc: 3
[file @ 0x60d000001700] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
[vost#0:0/mpeg4 @ 0x617000000780] Starting thread...
[vf#0:0 @ 0x60e0000002e0] Starting thread...
[vist#0:0/h264 @ 0x613000000ac0] Starting thread...
[in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x612000000040] Starting thread...
Press [q] to stop, [?] for help
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stream 0, sample 1, dts 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stream 0, sample 2, dts 11
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stream 0, sample 3, dts 22
[h264 @ 0x619000001980] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x619000001980] Format yuv420p chosen by get_format().
[h264 @ 0x619000001980] Reinit context to 48x144, pix_fmt: yuv420p
[h264 @ 0x619000001980] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stream 0, sample 4, dts 33
[h264 @ 0x619000001e80] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x619000001e80] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
[h264 @ 0x619000001e80] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stream 0, sample 5, dts 44
[h264 @ 0x619000002380] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x619000002380] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 0
[h264 @ 0x619000002880] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x619000002880] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stream 0, sample 6, dts 56
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stream 0, sample 7, dts 67
[h264 @ 0x619000002d80] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x619000002d80] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
[h264 @ 0x619000001980] nal_unit_type: 15(Subset SPS), nal_ref_idc: 0
[h264 @ 0x619000001980] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
[h264 @ 0x619000001980] Unknown NAL code: 15 (11 bits)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stream 0, sample 8, dts 78
[h264 @ 0x619000001e80] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x619000001e80] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stream 0, sample 9, dts 89
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x617000000080] stream 0, sample 10, dts 100
[h264 @ 0x619000002380] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x619000002380] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 0
[h264 @ 0x619000002880] nal_unit_type: 9(AUD), nal_ref_idc: 0
[h264 @ 0x619000002880] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
[graph 0 input from stream 0:0 @ 0x610000038140] Setting 'video_size' to
value '48x144'
[graph 0 input from stream 0:0 @ 0x610000038140] Setting 'pix_fmt' to
value '0'
[graph 0 input from stream 0:0 @ 0x610000038140] Setting 'time_base' to
value '1/90000'
[graph 0 input from stream 0:0 @ 0x610000038140] Setting 'pixel_aspect' to
value '1/1'
[graph 0 input from stream 0:0 @ 0x610000038140] Setting 'colorspace' to
value 'smpte170m'
[graph 0 input from stream 0:0 @ 0x610000038140] Setting 'range' to value
'tv'
[graph 0 input from stream 0:0 @ 0x610000038140] Setting 'frame_rate' to
value '90000/1'
[graph 0 input from stream 0:0 @ 0x610000038140] w:48 h:144 pixfmt:yuv420p
tb:1/90000 fr:90000/1 sar:1/1 csp:smpte170m range:tv
[format @ 0x610000038340] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x609000024800] query_formats: 4 queried, 9 merged, 0
already done, 0 delayed
[vost#0:0/mpeg4 @ 0x617000000780] *** 5460 dup!
[mpeg4 @ 0x619000001480] intra_quant_bias = 0 inter_quant_bias = -64
[mpeg4 @ 0x619000001480] requested bitrate is too low
=================================================================
==4110427==ERROR: AddressSanitizer: heap-use-after-free on address
0x60800001c440 at pc 0x55acbc0fef0d bp 0x7f69c9024a20 sp 0x7f69c9024a10
READ of size 8 at 0x60800001c440 thread T7 (vf#0:0)
#0 0x55acbc0fef0c in av_expr_free libavutil/eval.c:361
#1 0x55acb9964d81 in ff_rate_control_uninit
libavcodec/ratecontrol.c:686
#2 0x55acb9950ba9 in ff_mpv_encode_end libavcodec/mpegvideo_enc.c:991
#3 0x55acb98fe2f0 in avcodec_close libavcodec/avcodec.c:452
#4 0x55acba612e63 in avcodec_open2 libavcodec/avcodec.c:380
#5 0x55acb9a3b132 in enc_open fftools/ffmpeg_enc.c:319
#6 0x55acb9a94f90 in enc_open fftools/ffmpeg_sched.c:1462
#7 0x55acb9a94f90 in send_to_enc fftools/ffmpeg_sched.c:1571
#8 0x55acb9a94f90 in sch_filter_send fftools/ffmpeg_sched.c:2154
#9 0x55acb9a4597c in fg_output_frame fftools/ffmpeg_filter.c:2303
#10 0x55acb9a4876c in fg_output_step fftools/ffmpeg_filter.c:2406
#11 0x55acb9a4876c in read_frames fftools/ffmpeg_filter.c:2467
#12 0x55acb9a512de in read_frames fftools/ffmpeg_filter.c:2423
#13 0x55acb9a512de in filter_thread fftools/ffmpeg_filter.c:2879
#14 0x55acb9a8adb8 in task_wrapper fftools/ffmpeg_sched.c:2200
#15 0x7f69cfb8eac2 (/lib/x86_64-linux-gnu/libc.so.6+0x94ac2)
#16 0x7f69cfc2084f (/lib/x86_64-linux-gnu/libc.so.6+0x12684f)
0x60800001c440 is located 32 bytes inside of 72-byte region
[0x60800001c420,0x60800001c468)
freed by thread T7 (vf#0:0) here:
#0 0x7f69cfeda537 in __interceptor_free
../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:127
#1 0x55acbc0fee0e in av_expr_free libavutil/eval.c:366
#2 0x55acbc792057 (/home/bb1222/ffmpeg-asan/ffmpeg_g+0x341c057)
previously allocated by thread T7 (vf#0:0) here:
#0 0x7f69cfedb57c in __interceptor_posix_memalign
../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:226
#1 0x55acbc12a78c in av_malloc libavutil/mem.c:105
Thread T7 (vf#0:0) created by T0 here:
#0 0x7f69cfe7e685 in __interceptor_pthread_create
../../../../src/libsanitizer/asan/asan_interceptors.cpp:216
#1 0x55acb9a88ad9 in task_start fftools/ffmpeg_sched.c:403
SUMMARY: AddressSanitizer: heap-use-after-free libavutil/eval.c:361 in
av_expr_free
Shadow bytes around the buggy address:
0x0c107fffb830: fa fa fa fa 00 00 00 00 00 00 00 00 00 fa fa fa
0x0c107fffb840: fa fa fa fa 00 00 00 00 00 00 00 00 00 fa fa fa
0x0c107fffb850: fa fa fa fa 00 00 00 00 00 00 00 00 00 fa fa fa
0x0c107fffb860: fa fa fa fa fd fd fd fd fd fd fd fd fd fa fa fa
0x0c107fffb870: fa fa fa fa fd fd fd fd fd fd fd fd fd fa fa fa
=>0x0c107fffb880: fa fa fa fa fd fd fd fd[fd]fd fd fd fd fa fa fa
0x0c107fffb890: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fa fa
0x0c107fffb8a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c107fffb8b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c107fffb8c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c107fffb8d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
Shadow gap: cc
==4110427==ABORTING
}}}
==== Environment:
{{{
ffmpeg version N-113344-gbe4fcf027b
gcc 11.4.0
Ubuntu 22.04.2
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10806>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
2
#10843(ffmpeg:new): A -shortest-video option that acts just like -shortest but ignores audio
by FFmpeg 26 Apr '25
by FFmpeg 26 Apr '25
26 Apr '25
#10843: A -shortest-video option that acts just like -shortest but ignores audio
-------------------------------------+-------------------------------------
Reporter: Florian | Type:
| enhancement
Status: new | Priority: minor
Component: ffmpeg | Version:
Keywords: shortest, | unspecified
duration, -t | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Anyone who exported a final project with video+audio ready to then encode
with ffmpeg, they don't want the audio to extend the last frame of video.
Yet they cannot use **-shortest** because this would make the audio trim
the video if shorter.
A good solution to that problem would be a **-shortest-video** option
which would act exactly like **-shortest** but would only look at the
video inputs.
Also, this is probalby extremely simple to implement since you already
have -shortest
Thanks!
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10843>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
2
17 Apr '25
#5283: Add bitstream filter to remove Closed Captions from h264
---------------------------------------+---------------------------------
Reporter: cehoyos | Owner:
Type: enhancement | Status: new
Priority: wish | Component: avcodec
Version: git-master | Keywords: h264 cc
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
---------------------------------------+---------------------------------
http://thread.gmane.org/gmane.comp.video.ffmpeg.user/61438/focus=61440
The sample from ticket #2885 contains Closed Captions, FFmpeg does not
allow to remove them without reencoding.
{{{
$ ffmpeg -i transformers.ts -vcodec copy out.h264
ffmpeg version N-78869-gdd2ea5c Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 27.101 / 57. 27.101
libavformat 57. 27.102 / 57. 27.102
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 38.100 / 6. 38.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mpegts, from 'transformers.ts':
Duration: 00:01:59.29, start: 0.578456, bitrate: 9015 kb/s
Program 1
Stream #0:0[0x1e1]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuvj420p(pc), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps,
29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1e2]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz,
5.1(side), fltp, 384 kb/s
Output #0, h264, to 'out.h264':
Metadata:
encoder : Lavf57.27.102
Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuvj420p, 1920x1080
[SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 3575 fps=0.0 q=-1.0 Lsize= 118242kB time=00:01:59.25
bitrate=8122.6kbits/s speed= 580x
video:118291kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
{{{
$ ffmpeg -i out.h264
ffmpeg version N-78869-gdd2ea5c Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 27.101 / 57. 27.101
libavformat 57. 27.102 / 57. 27.102
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 38.100 / 6. 38.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0x3a8c280] Stream #0: not enough frames to estimate rate; consider
increasing probesize
Input #0, h264, from 'out.h264':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: h264 (High), yuvj420p(pc), 1920x1080 [SAR 1:1 DAR
16:9], Closed Captions, 29.97 fps, 29.97 tbr, 1200k tbn, 59.94 tbc
At least one output file must be specified
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5283>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
10
#8948: CUDA decoder fails on certain files.
-------------------------------------+-------------------------------------
Reporter: ericbg | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug: When I try to use a CUDA decoder on a specific file, I
end up getting an error "Using more than 32 (42) decode surfaces might
cause nvdec to fail." and then it won't use CUDA to process the file.. The
number in the brackets seems to be "29 + threads"; for example, I have a
12-thread Ryzen 3600 and when I don't specify threads it says 42 (for some
reason internally 'threads' is set to 13 even though I don't have that
many?), when I try `-threads 4` it says 33, and when I try `-threads 3` it
just works! This is where the error is from:
https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/nvdec.c#L401.
The problem is also file-specific; after I re-enc the file, it works just
fine without any fiddling.
Computer: Ryzen 3600, Nvidia 1660Ti, Windows 10 Pro N.
How to reproduce:
{{{
ffmpeg started on 2020-10-26 at 20:41:31
Report written to "ffmpeg-20201026-204131.log"
Log level: 99
Command line:
"C:\\Program Files\\ffmpeg\\bin\\ffmpeg.exe" -v 9 -loglevel 99 -hwaccel
cuda -i example.mp4 out.mp4 -report
ffmpeg version 2020-10-21-git-289e964873-full_build-www.gyan.dev Copyright
(c) 2000-2020 the FFmpeg developers
built with gcc 10.2.0 (Rev3, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-
w32threads --disable-autodetect --enable-fontconfig --enable-iconv
--enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-
libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq
--enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2
--enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid
--enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass
--enable-frei0r --enable-libfreetype --enable-libfribidi --enable-
libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-
llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc
--enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang
--enable-vulkan --enable-libcdio --enable-libgme --enable-libmodplug
--enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame
--enable-libshine --enable-libtheora --enable-libtwol libavutil 56.
60.100 / 56. 60.100
libavcodec 58.111.101 / 58.111.101
libavformat 58. 62.100 / 58. 62.100
libavdevice 58. 11.102 / 58. 11.102
libavfilter 7. 88.100 / 7. 88.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument '99'.
Reading option '-hwaccel' ... matched as option 'hwaccel' (use HW
accelerated decoding) with argument 'cuda'.
Reading option '-i' ... matched as input url with argument 'example.mp4'.
Reading option 'out.mp4' ... matched as output url.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option loglevel (set logging level) with argument 99.
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url example.mp4.
Applying option hwaccel (use HW accelerated decoding) with argument cuda.
Successfully parsed a group of options.
Opening an input file: example.mp4.
[NULL @ 000001b20ddeee40] Opening 'example.mp4' for reading
[file @ 000001b20ddefdc0] Setting default whitelist 'file,crypto,data'
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048
Probing mp3 score:1 size:2048
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] Format
mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'ftyp' parent:'root' sz:
32 8 191110
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] ISO: File Type Major Brand:
isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'free' parent:'root' sz:
8 40 191110
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'mdat' parent:'root' sz:
189162 48 191110
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'moov' parent:'root' sz:
1908 189210 191110
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'mvhd' parent:'moov' sz:
108 8 1900
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] time scale = 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'trak' parent:'moov' sz:
771 116 1900
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'tkhd' parent:'trak' sz:
92 8 763
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'edts' parent:'trak' sz:
36 100 763
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'elst' parent:'edts' sz:
28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] track[0].edit_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] duration=1000 time=0
rate=1.000000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'mdia' parent:'trak' sz:
635 136 763
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'mdhd' parent:'mdia' sz:
32 8 627
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'hdlr' parent:'mdia' sz:
48 40 627
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] ctype=[0][0][0][0]
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stype=vide
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'minf' parent:'mdia' sz:
547 88 627
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'vmhd' parent:'minf' sz:
20 8 539
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'dinf' parent:'minf' sz:
36 28 539
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'dref' parent:'dinf' sz:
28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] Unknown dref type 0x206c7275
size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'stbl' parent:'minf' sz:
483 64 539
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'stsd' parent:'stbl' sz:
159 8 475
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] size=143 4CC=avc1
codec_type=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'avcC' parent:'stsd' sz:
37 8 57
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'btrt' parent:'stsd' sz:
20 45 57
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'stts' parent:'stbl' sz:
24 167 475
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] track[0].stts.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] sample_count=25,
sample_duration=1200
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'stss' parent:'stbl' sz:
28 191 475
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] keyframe_count = 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'stsc' parent:'stbl' sz:
28 219 475
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] track[0].stsc.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'stsz' parent:'stbl' sz:
120 247 475
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] sample_size = 0 sample_count
= 25
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'stco' parent:'stbl' sz:
116 367 475
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 0,
offset 30, dts 0, size 496, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 1,
offset 2ec, dts 1200, size 2289, distance 1, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 2,
offset ca7, dts 2400, size 97, distance 2, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 3,
offset e2b, dts 3600, size 299, distance 3, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 4,
offset 1042, dts 4800, size 175, distance 4, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 5,
offset 1270, dts 6000, size 79702, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 6,
offset 14b13, dts 7200, size 79697, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 7,
offset 28364, dts 8400, size 242, distance 1, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 8,
offset 2852c, dts 9600, size 105, distance 2, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 9,
offset 28718, dts 10800, size 1368, distance 3, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 10,
offset 28d18, dts 12000, size 107, distance 4, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 11,
offset 28e1e, dts 13200, size 106, distance 5, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 12,
offset 28f21, dts 14400, size 130, distance 6, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 13,
offset 290ff, dts 15600, size 167, distance 7, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 14,
offset 29270, dts 16800, size 104, distance 8, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 15,
offset 2938d, dts 18000, size 157, distance 9, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 16,
offset 294e1, dts 19200, size 147, distance 10, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 17,
offset 296df, dts 20400, size 103, distance 11, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 18,
offset 297e7, dts 21600, size 155, distance 12, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 19,
offset 2992f, dts 22800, size 155, distance 13, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 20,
offset 29a6b, dts 24000, size 16845, distance 14, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 21,
offset 2dd90, dts 25200, size 104, distance 15, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 22,
offset 2de9f, dts 26400, size 106, distance 16, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 23,
offset 2dfc1, dts 27600, size 104, distance 17, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 0, sample 24,
offset 2e0e2, dts 28800, size 117, distance 18, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] Processing st: 0, edit list 0
- media time: 0, duration: 30000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'trak' parent:'moov' sz:
923 887 1900
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'tkhd' parent:'trak' sz:
92 8 915
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'edts' parent:'trak' sz:
36 100 915
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'elst' parent:'edts' sz:
28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] track[1].edit_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] duration=1024 time=0
rate=1.000000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'mdia' parent:'trak' sz:
787 136 915
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'mdhd' parent:'mdia' sz:
32 8 779
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'hdlr' parent:'mdia' sz:
42 40 779
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] ctype=[0][0][0][0]
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stype=soun
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'minf' parent:'mdia' sz:
705 82 779
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'smhd' parent:'minf' sz:
16 8 697
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'dinf' parent:'minf' sz:
36 24 697
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'dref' parent:'dinf' sz:
28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] Unknown dref type 0x206c7275
size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'stbl' parent:'minf' sz:
645 60 697
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'stsd' parent:'stbl' sz:
123 8 637
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] size=107 4CC=mp4a
codec_type=1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] audio channels 2
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] version =0, isom =1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'esds' parent:'stsd' sz:
51 8 71
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] MPEG-4 description: tag=0x03
len=34
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] MPEG-4 description: tag=0x04
len=20
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] esds object type id 0x40
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] MPEG-4 description: tag=0x05
len=2
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] Specific MPEG-4 header len=2
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] mp4a config channels 1 obj 2
ext obj 0 sample rate 32000 ext sample rate 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'btrt' parent:'stsd' sz:
20 59 71
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'stts' parent:'stbl' sz:
24 131 637
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] track[1].stts.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] sample_count=32,
sample_duration=1024
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'stsc' parent:'stbl' sz:
172 155 637
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] track[1].stsc.entries = 13
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'stsz' parent:'stbl' sz:
148 327 637
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] sample_size = 0 sample_count
= 32
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'stco' parent:'stbl' sz:
116 475 637
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'sgpd' parent:'stbl' sz:
26 591 637
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'sbgp' parent:'stbl' sz:
28 617 637
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 0,
offset 220, dts 0, size 23, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 1,
offset 237, dts 1024, size 181, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 2,
offset bdd, dts 2048, size 202, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 3,
offset d08, dts 3072, size 291, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 4,
offset f56, dts 4096, size 236, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 5,
offset 10f1, dts 5120, size 197, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 6,
offset 11b6, dts 6144, size 186, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 7,
offset 149c6, dts 7168, size 333, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 8,
offset 28264, dts 8192, size 256, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 9,
offset 28456, dts 9216, size 214, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 10,
offset 28595, dts 10240, size 207, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 11,
offset 28664, dts 11264, size 180, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 12,
offset 28c70, dts 12288, size 168, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 13,
offset 28d83, dts 13312, size 155, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 14,
offset 28e88, dts 14336, size 153, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 15,
offset 28fa3, dts 15360, size 168, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 16,
offset 2904b, dts 16384, size 180, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 17,
offset 291a6, dts 17408, size 202, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 18,
offset 292d8, dts 18432, size 181, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 19,
offset 2942a, dts 19456, size 183, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 20,
offset 29574, dts 20480, size 187, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 21,
offset 2962f, dts 21504, size 176, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 22,
offset 29746, dts 22528, size 161, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 23,
offset 29882, dts 23552, size 173, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 24,
offset 299ca, dts 24576, size 161, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 25,
offset 2dc38, dts 25600, size 171, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 26,
offset 2dce3, dts 26624, size 173, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 27,
offset 2ddf8, dts 27648, size 167, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 28,
offset 2df09, dts 28672, size 184, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 29,
offset 2e029, dts 29696, size 185, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 30,
offset 2e157, dts 30720, size 212, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] AVIndex stream 1, sample 31,
offset 2e22b, dts 31744, size 231, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] Processing st: 1, edit list 0
- media time: 0, duration: 32768
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'udta' parent:'moov' sz:
98 1810 1900
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'meta' parent:'udta' sz:
90 8 90
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'hdlr' parent:'meta' sz:
33 8 78
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] ctype=[0][0][0][0]
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stype=mdir
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'ilst' parent:'meta' sz:
45 41 78
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] type:'[169]too' parent:'ilst'
sz: 37 8 37
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] on_parse_exit_offset=191110
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] Before
avformat_find_stream_info() pos: 191110 bytes read:34676 seeks:1
nb_streams:2
[h264 @ 000001b20ddf0bc0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 000001b20ddf0bc0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 0, dts 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 0, dts 0
[h264 @ 000001b20ddf0bc0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 000001b20ddf0bc0] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 000001b20ddf0bc0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 000001b20ddf0bc0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 000001b20ddf0bc0] Format yuv420p chosen by get_format().
[h264 @ 000001b20ddf0bc0] Reinit context to 1920x1088, pix_fmt: yuv420p
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 1, dts 40000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 0, dts 0
[aac @ 000001b20ddf68c0] skip whole frame, skip left: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0: start_time: 0
duration: 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1: start_time: 0
duration: 1.024
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] format: start_time: 0
duration: 1.024 (estimate from stream) bitrate=1493 kb/s
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] After
avformat_find_stream_info() pos: 567 bytes read:67444 seeks:2 frames:2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'example.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.62.100
Duration: 00:00:01.02, start: 0.000000, bitrate: 1493 kb/s
Stream #0:0(und), 1, 1/30000: Video: h264 (High), 1 reference frame
(avc1 / 0x31637661), yuv420p, 1920x1080 (1920x1088), 0/1, 1464 kb/s, 25
fps, 25 tbr, 30k tbn, 60k tbc (default)
Metadata:
handler_name : H.264/AVC video
Stream #0:1(und), 1, 1/32000: Audio: aac (LC) (mp4a / 0x6134706D),
32000 Hz, mono, fltp, 47 kb/s (default)
Metadata:
handler_name : AAC audio
Successfully opened the file.
Parsing a group of options: output url out.mp4.
Successfully parsed a group of options.
Opening an output file: out.mp4.
[file @ 000001b20de0f300] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
[AVHWDeviceContext @ 000001b20e7003c0] Loaded lib: nvcuda.dll
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuInit
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuDeviceGetCount
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuDeviceGet
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuDeviceGetAttribute
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuDeviceGetName
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuDeviceComputeCapability
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuCtxCreate_v2
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuCtxSetLimit
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuCtxPushCurrent_v2
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuCtxPopCurrent_v2
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuCtxDestroy_v2
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuMemAlloc_v2
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuMemAllocPitch_v2
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuMemsetD8Async
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuMemFree_v2
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuMemcpy2D_v2
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuMemcpy2DAsync_v2
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuGetErrorName
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuGetErrorString
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuCtxGetDevice
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuDevicePrimaryCtxRetain
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuDevicePrimaryCtxRelease
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuDevicePrimaryCtxSetFlags
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuDevicePrimaryCtxGetState
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuDevicePrimaryCtxReset
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuStreamCreate
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuStreamQuery
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuStreamSynchronize
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuStreamDestroy_v2
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuStreamAddCallback
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuEventCreate
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuEventDestroy_v2
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuEventSynchronize
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuEventQuery
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuEventRecord
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuLaunchKernel
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuLinkCreate
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuLinkAddData
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuLinkComplete
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuLinkDestroy
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuModuleLoadData
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuModuleUnload
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuModuleGetFunction
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuTexObjectCreate
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuTexObjectDestroy
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuGLGetDevices_v2
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuGraphicsGLRegisterImage
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuGraphicsUnregisterResource
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuGraphicsMapResources
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuGraphicsUnmapResources
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuGraphicsSubResourceGetMappedArray
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuDeviceGetUuid
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuImportExternalMemory
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuDestroyExternalMemory
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuExternalMemoryGetMappedBuffer
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuExternalMemoryGetMappedMipmappedArray
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuMipmappedArrayGetLevel
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym: cuMipmappedArrayDestroy
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuImportExternalSemaphore
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuDestroyExternalSemaphore
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuSignalExternalSemaphoresAsync
[AVHWDeviceContext @ 000001b20e7003c0] Loaded sym:
cuWaitExternalSemaphoresAsync
[AVHWDeviceContext @ 000001b20e7003c0] Calling cu->cuInit(0)
[AVHWDeviceContext @ 000001b20e7003c0] Calling
cu->cuDeviceGet(&hwctx->internal->cuda_device, device_idx)
[AVHWDeviceContext @ 000001b20e7003c0] Calling
cu->cuCtxCreate(&hwctx->cuda_ctx, desired_flags,
hwctx->internal->cuda_device)
[AVHWDeviceContext @ 000001b20e7003c0] Calling cu->cuCtxPopCurrent(&dummy)
detected 12 logical cores
[h264 @ 000001b20e2b99c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 000001b20e2b99c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
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
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20e2b99c0] nal_unit_type: 7(SPS), nal_ref_idc: 3
[aac @ 000001b20e6ff4c0] skip whole frame, skip left: 0
[h264 @ 000001b20e2b99c0] nal_unit_type: 8(PPS), nal_ref_idc: 3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20e2b99c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 1, dts 40000
[h264 @ 000001b20e2b99c0] nal_unit_type: 5(IDR), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 1, dts 32000
[h264 @ 000001b20e2b99c0] Format cuda chosen by get_format().
[h264 @ 000001b20e2b99c0] Format cuda requires hwaccel initialisation.
[h264 @ 000001b20e2b99c0] Loaded lib: nvcuvid.dll
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidGetDecoderCaps
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidCreateDecoder
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidDestroyDecoder
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidDecodePicture
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidGetDecodeStatus
[graph_1_in_0_1 @ 000001b20e6fe540] Setting 'time_base' to value '1/32000'
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidReconfigureDecoder
[graph_1_in_0_1 @ 000001b20e6fe540] Setting 'sample_rate' to value '32000'
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidMapVideoFrame64
[graph_1_in_0_1 @ 000001b20e6fe540] Setting 'sample_fmt' to value 'fltp'
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidUnmapVideoFrame64
[graph_1_in_0_1 @ 000001b20e6fe540] Setting 'channel_layout' to value
'0x4'
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidCtxLockCreate
[graph_1_in_0_1 @ 000001b20e6fe540] tb:1/32000 samplefmt:fltp
samplerate:32000 chlayout:0x4
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidCtxLockDestroy
[format_out_0_1 @ 000001b20e6fe740] Setting 'sample_fmts' to value 'fltp'
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidCtxLock
[format_out_0_1 @ 000001b20e6fe740] Setting 'sample_rates' to value
'96000|88200|64000|48000|44100|32000|24000|22050|16000|12000|11025|8000|7350'
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidCtxUnlock
[AVFilterGraph @ 000001b20e276880] query_formats: 4 queried, 9 merged, 0
already done, 0 delayed
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidCreateVideoSource
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidCreateVideoSourceW
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidDestroyVideoSource
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidSetVideoSourceState
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidGetVideoSourceState
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 1, dts 40000
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidGetSourceVideoFormat
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 2, dts 64000
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidGetSourceAudioFormat
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidCreateVideoParser
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidParseVideoData
[h264 @ 000001b20e2b99c0] Loaded sym: cuvidDestroyVideoParser
[h264 @ 000001b20e2b99c0] Calling
decoder->cudl->cuCtxPushCurrent(decoder->cuda_ctx)
[h264 @ 000001b20e2b99c0] Calling
decoder->cvdl->cuvidGetDecoderCaps(&caps)
[h264 @ 000001b20e2b99c0] NVDEC capabilities:
[h264 @ 000001b20e2b99c0] format supported: yes, max_mb_count: 65536
[h264 @ 000001b20e2b99c0] min_width: 48, max_width: 4096
[h264 @ 000001b20e2b99c0] min_height: 16, max_height: 4096
[h264 @ 000001b20e2b99c0] Calling
decoder->cvdl->cuvidCreateDecoder(&decoder->decoder, params)
[h264 @ 000001b20e2b99c0]
decoder->cvdl->cuvidCreateDecoder(&decoder->decoder, params) failed ->
CUDA_ERROR_INVALID_VALUE: invalid argument
[h264 @ 000001b20e2b99c0] Calling decoder->cudl->cuCtxPopCurrent(&dummy)
[h264 @ 000001b20e2b99c0] Using more than 32 (42) decode surfaces might
cause nvdec to fail.
[h264 @ 000001b20e2b99c0] Try lowering the amount of threads. Using 13
right now.
[h264 @ 000001b20e2b99c0] Failed setup for format cuda: hwaccel
initialisation returned error.
[h264 @ 000001b20e2b99c0] Format cuda not usable, retrying get_format()
without it.
[h264 @ 000001b20e2b99c0] Format yuv420p chosen by get_format().
[h264 @ 000001b20e2b99c0] Reinit context to 1920x1088, pix_fmt: yuv420p
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20de61980] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 2, dts 80000
[h264 @ 000001b20de61980] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 2, dts 64000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 2, dts 80000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 3, dts 96000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20e2ba8c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 3
[h264 @ 000001b20e2ba8c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 3, dts
120000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 3, dts 96000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 3, dts
120000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 4, dts
128000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20de15b00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 4, dts
160000
[h264 @ 000001b20de15b00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 4, dts
128000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 4, dts
160000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 5, dts
160000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20de16380] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 5, dts
200000
[h264 @ 000001b20de16380] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 5, dts
160000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 5, dts
200000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 6, dts
192000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 5, dts
200000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 7, dts
224000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 6, dts
240000
[h264 @ 000001b20e7aef80] nal_unit_type: 7(SPS), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 7, dts
224000
[h264 @ 000001b20e7aef80] nal_unit_type: 8(PPS), nal_ref_idc: 3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20e7aef80] nal_unit_type: 5(IDR), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 6, dts
240000
[h264 @ 000001b20e7aef80] nal_unit_type: 5(IDR), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 8, dts
256000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20e7ae680] nal_unit_type: 7(SPS), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 7, dts
280000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 8, dts
256000
[h264 @ 000001b20e7ae680] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 000001b20e7ae680] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 000001b20e7ae680] nal_unit_type: 5(IDR), nal_ref_idc: 3
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 7, dts
280000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 9, dts
288000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20e7acb00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 8, dts
320000
[h264 @ 000001b20e7acb00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 9, dts
288000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 8, dts
320000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 10, dts
320000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20e7aeb00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 9, dts
360000
[h264 @ 000001b20e7aeb00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 10, dts
320000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 9, dts
360000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 11, dts
352000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 9, dts
360000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 12, dts
384000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20e7af400] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 10, dts
400000
[h264 @ 000001b20e7af400] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 12, dts
384000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 10, dts
400000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 13, dts
416000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20e7af8c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 11, dts
440000
[h264 @ 000001b20e7af8c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 13, dts
416000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 11, dts
440000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 14, dts
448000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[h264 @ 000001b20e7ac680] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 12, dts
480000
[h264 @ 000001b20e7ac680] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 14, dts
448000
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 12, dts
480000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 15, dts
480000
[h264 @ 000001b20e7acf80] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 000001b20e7acf80] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[graph 0 input from stream 0:0 @ 000001b20e6fc400] Setting 'video_size' to
value '1920x1080'
[graph 0 input from stream 0:0 @ 000001b20e6fc400] Setting 'pix_fmt' to
value '0'
[graph 0 input from stream 0:0 @ 000001b20e6fc400] Setting 'time_base' to
value '1/30000'
[graph 0 input from stream 0:0 @ 000001b20e6fc400] Setting 'pixel_aspect'
to value '0/1'
[graph 0 input from stream 0:0 @ 000001b20e6fc400] Setting 'frame_rate' to
value '25/1'
[graph 0 input from stream 0:0 @ 000001b20e6fc400] w:1920 h:1080
pixfmt:yuv420p tb:1/30000 fr:25/1 sar:0/1
[format @ 000001b2205ee940] Setting 'pix_fmts' to value
'yuv420p|yuvj420p|yuv422p|yuvj422p|yuv444p|yuvj444p|nv12|nv16|nv21|yuv420p10le|yuv422p10le|yuv444p10le|nv20le|gray|gray10le'
[AVFilterGraph @ 000001b20de634c0] query_formats: 4 queried, 3 merged, 0
already done, 0 delayed
[libx264 @ 000001b20de0d280] using mv_range_thread = 24
[libx264 @ 000001b20de0d280] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001b20de0d280] profile High, level 4.0, 4:2:0, 8-bit
[libx264 @ 000001b20de0d280] 264 - core 161 r3018 db0d417 - H.264/MPEG-4
AVC codec - Copyleft 2003-2020 - 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=18
lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'out.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.62.100
Stream #0:0(und), 0, 1/12800: Video: h264 (libx264), 1 reference frame
(avc1 / 0x31637661), yuv420p, 1920x1080, 0/1, q=-1--1, 25 fps, 12800 tbn,
25 tbc (default)
Metadata:
handler_name : H.264/AVC video
encoder : Lavc58.111.101 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Stream #0:1(und), 0, 1/32000: Audio: aac (LC) (mp4a / 0x6134706D),
32000 Hz, mono, fltp, delay 1024, 69 kb/s (default)
Metadata:
handler_name : AAC audio
encoder : Lavc58.111.101 aac
Clipping frame in rate conversion by 0.000008
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 13, dts
520000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 15, dts
480000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 13, dts
520000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 16, dts
512000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 13, dts
520000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 17, dts
544000
[h264 @ 000001b20e2b99c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 000001b20e2b99c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 14, dts
560000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 17, dts
544000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 14, dts
560000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 18, dts
576000
[h264 @ 000001b20de61980] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 000001b20de61980] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 15, dts
600000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 18, dts
576000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 15, dts
600000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 19, dts
608000
[h264 @ 000001b20e2ba8c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 000001b20e2ba8c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 16, dts
640000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 19, dts
608000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 16, dts
640000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 20, dts
640000
[h264 @ 000001b20de15b00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 000001b20de15b00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 17, dts
680000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 20, dts
640000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 17, dts
680000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 21, dts
672000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 17, dts
680000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 22, dts
704000
[h264 @ 000001b20de16380] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 000001b20de16380] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 18, dts
720000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 22, dts
704000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 18, dts
720000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 23, dts
736000
[h264 @ 000001b20e7aef80] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 000001b20e7aef80] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 19, dts
760000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 23, dts
736000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 19, dts
760000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 24, dts
768000
[h264 @ 000001b20e7ae680] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 000001b20e7ae680] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 20, dts
800000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 24, dts
768000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 20, dts
800000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 25, dts
800000
[h264 @ 000001b20e7acb00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
[h264 @ 000001b20e7acb00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 2
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 21, dts
840000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 25, dts
800000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 21, dts
840000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 26, dts
832000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 21, dts
840000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 27, dts
864000
[h264 @ 000001b20e7aeb00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 000001b20e7aeb00] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 22, dts
880000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 27, dts
864000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 22, dts
880000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 28, dts
896000
[h264 @ 000001b20e7af400] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 000001b20e7af400] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 23, dts
920000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 28, dts
896000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 23, dts
920000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 29, dts
928000
[h264 @ 000001b20e7af8c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 000001b20e7af8c0] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 24, dts
960000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 29, dts
928000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 0, sample 24, dts
960000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 30, dts
960000
[h264 @ 000001b20e7ac680] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
[h264 @ 000001b20e7ac680] nal_unit_type: 1(Coded slice of a non-IDR
picture), nal_ref_idc: 1
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 30, dts
960000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001b20ddeee40] stream 1, sample 31, dts
992000
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[out_0_0 @ 000001b2205ee840] EOF on sink link out_0_0:default.
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:1] (this is harmless
if it occurs once at the start per stream)
[out_0_1 @ 000001b20e6fe640] EOF on sink link out_0_1:default.
No more output streams to write to, finishing.
[libx264 @ 000001b20de0d280] scene cut at 5 Icost:4846789 Pcost:4779942
ratio:0.0138 bias:0.0250 gop:5 (imb:7684 pmb:104)
[libx264 @ 000001b20de0d280] frame= 0 QP=1.86 NAL=3 Slice:I Poc:0
I:8160 P:0 SKIP:0 size=439 bytes
[libx264 @ 000001b20de0d280] frame= 1 QP=26.46 NAL=2 Slice:P Poc:8
I:127 P:0 SKIP:8033 size=1287 bytes
[libx264 @ 000001b20de0d280] frame= 2 QP=22.05 NAL=2 Slice:B Poc:4 I:0
P:29 SKIP:8130 size=141 bytes
[libx264 @ 000001b20de0d280] frame= 3 QP=13.00 NAL=0 Slice:B Poc:2 I:0
P:23 SKIP:8137 size=83 bytes
[libx264 @ 000001b20de0d280] frame= 4 QP=13.00 NAL=0 Slice:B Poc:6 I:0
P:7 SKIP:8153 size=79 bytes
[libx264 @ 000001b20de0d280] frame= 5 QP=13.43 NAL=2 Slice:I Poc:10
I:8160 P:0 SKIP:0 size=63511 bytes
[libx264 @ 000001b20de0d280] frame= 6 QP=16.42 NAL=2 Slice:P Poc:18
I:2724 P:292 SKIP:5144 size=2631 bytes
[libx264 @ 000001b20de0d280] frame= 7 QP=12.84 NAL=2 Slice:B Poc:14
I:77 P:2476 SKIP:5607 size=1859 bytes
[libx264 @ 000001b20de0d280] frame= 8 QP=18.86 NAL=0 Slice:B Poc:12 I:0
P:251 SKIP:7909 size=253 bytes
[libx264 @ 000001b20de0d280] frame= 9 QP=13.83 NAL=0 Slice:B Poc:16 I:2
P:2340 SKIP:5818 size=1020 bytes
[libx264 @ 000001b20de0d280] frame= 10 QP=17.11 NAL=2 Slice:P Poc:26
I:27 P:35 SKIP:8098 size=253 bytes
[libx264 @ 000001b20de0d280] frame= 11 QP=31.00 NAL=2 Slice:B Poc:22
I:17 P:89 SKIP:8054 size=177 bytes
[libx264 @ 000001b20de0d280] frame= 12 QP=33.00 NAL=0 Slice:B Poc:20 I:1
P:55 SKIP:8104 size=109 bytes
[libx264 @ 000001b20de0d280] frame= 13 QP=33.00 NAL=0 Slice:B Poc:24 I:2
P:45 SKIP:8112 size=111 bytes
[libx264 @ 000001b20de0d280] frame= 14 QP=16.14 NAL=2 Slice:P Poc:34 I:7
P:14 SKIP:8139 size=163 bytes
[libx264 @ 000001b20de0d280] frame= 15 QP=31.00 NAL=2 Slice:B Poc:30 I:8
P:69 SKIP:8083 size=149 bytes
[libx264 @ 000001b20de0d280] frame= 16 QP=33.00 NAL=0 Slice:B Poc:28 I:1
P:34 SKIP:8125 size=98 bytes
[libx264 @ 000001b20de0d280] frame= 17 QP=33.00 NAL=0 Slice:B Poc:32 I:1
P:35 SKIP:8124 size=96 bytes
[libx264 @ 000001b20de0d280] frame= 18 QP=20.82 NAL=2 Slice:P Poc:42
I:1484 P:187 SKIP:6489 size=11796 bytes
[libx264 @ 000001b20de0d280] frame= 19 QP=21.91 NAL=2 Slice:B Poc:38
I:21 P:582 SKIP:7557 size=406 bytes
[libx264 @ 000001b20de0d280] frame= 20 QP=33.00 NAL=0 Slice:B Poc:36 I:2
P:99 SKIP:8059 size=150 bytes
[libx264 @ 000001b20de0d280] frame= 21 QP=29.77 NAL=0 Slice:B Poc:40 I:3
P:691 SKIP:7466 size=532 bytes
[libx264 @ 000001b20de0d280] frame= 22 QP=17.81 NAL=2 Slice:P Poc:48
I:18 P:100 SKIP:8042 size=250 bytes
[libx264 @ 000001b20de0d280] frame= 23 QP=32.00 NAL=2 Slice:B Poc:44 I:2
P:244 SKIP:7914 size=320 bytes
[libx264 @ 000001b20de0d280] frame= 24 QP=33.00 NAL=0 Slice:B Poc:46 I:0
P:93 SKIP:8067 size=160 bytes
Not writing 'clli' atom. No content light level info.
Not writing 'mdcv' atom. Missing mastering metadata.
frame= 25 fps=0.0 q=-1.0 Lsize= 95kB time=00:00:01.02 bitrate=
759.6kbits/s speed=3.07x
video:85kB audio:8kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 2.287073%
Input file #0 (example.mp4):
Input stream #0:0 (video): 25 packets read (183077 bytes); 25 frames
decoded;
Input stream #0:1 (audio): 32 packets read (6077 bytes); 31 frames
decoded (31744 samples);
Total: 57 packets (189154 bytes) demuxed
Output file #0 (out.mp4):
Output stream #0:0 (video): 25 frames encoded; 25 packets muxed (86763
bytes);
Output stream #0:1 (audio): 31 frames encoded (31744 samples); 32
packets muxed (8293 bytes);
Total: 57 packets (95056 bytes) muxed
56 frames successfully decoded, 0 decoding errors
[AVHWDeviceContext @ 000001b20e7003c0] Calling
cu->cuCtxDestroy(hwctx->cuda_ctx)
[AVIOContext @ 000001b20e2b6d00] Statistics: 2 seeks, 4 writeouts
[libx264 @ 000001b20de0d280] frame I:2 Avg QP: 7.64 size: 31975
[libx264 @ 000001b20de0d280] frame P:6 Avg QP:19.13 size: 2730
[libx264 @ 000001b20de0d280] frame B:17 Avg QP:25.72 size: 338
[libx264 @ 000001b20de0d280] consecutive B-frames: 8.0% 0.0% 12.0% 80.0%
[libx264 @ 000001b20de0d280] mb I I16..4: 78.5% 13.2% 8.4%
[libx264 @ 000001b20de0d280] mb P I16..4: 1.9% 6.2% 0.8% P16..4:
1.1% 0.1% 0.1% 0.0% 0.0% skip:89.8%
[libx264 @ 000001b20de0d280] mb B I16..4: 0.1% 0.0% 0.0% B16..8:
2.2% 0.0% 0.0% direct: 3.0% skip:94.7% L0:50.3% L1:49.7% BI: 0.0%
[libx264 @ 000001b20de0d280] 8x8 transform intra:25.2% inter:49.8%
[libx264 @ 000001b20de0d280] coded y,uvDC,uvAC intra: 7.5% 1.4% 0.6%
inter: 0.1% 2.3% 0.0%
[libx264 @ 000001b20de0d280] i16 v,h,dc,p: 92% 7% 1% 0%
[libx264 @ 000001b20de0d280] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 42% 5% 50%
0% 0% 0% 0% 0% 1%
[libx264 @ 000001b20de0d280] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 50% 17% 13%
3% 3% 4% 3% 4% 3%
[libx264 @ 000001b20de0d280] i8c dc,h,v,p: 93% 5% 2% 0%
[libx264 @ 000001b20de0d280] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 000001b20de0d280] ref P L0: 86.6% 7.8% 5.6%
[libx264 @ 000001b20de0d280] ref B L0: 87.9% 11.9% 0.3%
[libx264 @ 000001b20de0d280] ref B L1: 97.2% 2.8%
[libx264 @ 000001b20de0d280] kb/s:688.58
[aac @ 000001b20de0ed40] Qavg: 31871.598
[AVIOContext @ 000001b20ddf8040] Statistics: 225738 bytes read, 2 seeks
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8948>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
14
#6763: swscale: Out-of-bounds memory accesses
---------------------------------+---------------------------------------
Reporter: Gramner | Type: defect
Status: new | Priority: normal
Component: swscale | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+---------------------------------------
Many assembly functions in swscale will read past the end of their input
buffers which causes segfaults and/or bus errors if the buffer happens to
be located near the end of a memory page and the next page is invalid.
Aligning input buffers isn't even enough for formats like RGB24 (and
requiring alignment would be a bad idea anyway since it wouldn't work with
memory-mapped input files for example).
Using swscale with x264 CLI seems to be a fairly consistent way to trigger
such out-of-bounds crashes. This command line for example will cause
segfaults in ff_rgb24ToY_avx():
./x264 -o /dev/null --input-csp rgb --input-res 512x512 <any_input_file>
If asm is disabled in swscale the problem goes away.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6763>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
6
#8343: h261dec doesn't mark keyframes
----------------------------------+----------------------------------
Reporter: Lastique | Type: defect
Status: new | Priority: normal
Component: avcodec | Version: 4.2
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+----------------------------------
h261dec does not set AVFrame::key_frame field on keyframes. As a side
effect, frame skipping except keyframes doesn't work (all frames are
skipped).
In H.261, keyframes are normally indicated by the Freeze Picture Release
bit in the Picture Header of a frame, but h261dec ignores that bit.
h261enc behavior is to set that bit on keyframes.
The problem was discovered in a client application that uses ffmpeg
through its C API. I'm not sure if it can be reproduced through command
line.
Attached is a patch that fixes the problem. The patch has been posted on
ffmpeg-devel:
https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2019-October/252145.html
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8343>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
12
#4489: mkv cropping
-------------------------------------+-------------------------------------
Reporter: cehoyos | Owner:
Type: | Status: new
enhancement | Component:
Priority: wish | undetermined
Version: git- | Keywords: videolan
master | mkv cropping
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
-------------------------------------+-------------------------------------
(videolan ticket 13982)
I will attach a sample that has cropping defined in its mkv headers.
{{{
$ ffmpeg -i Matroska\ Crop_cut.mkv
ffmpeg version N-71483-g8768f8f Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 54. 22.101 / 54. 22.101
libavcodec 56. 34.100 / 56. 34.100
libavformat 56. 30.100 / 56. 30.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 14.100 / 5. 14.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, matroska,webm, from 'Matroska Crop_cut.mkv':
Metadata:
encoder : libebml v1.2.2 + libmatroska v1.3.0
creation_time : 2012-08-03 22:48:21
Duration: 00:03:42.12, start: 0.000000, bitrate: 92 kb/s
Stream #0:0(eng): Audio: aac (LC), 44100 Hz, stereo, fltp (default)
Stream #0:1: Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9],
29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
At least one output file must be specified
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4489>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
7
#5641: Support WebVTT according to MKV specs
-------------------------------------+-------------------------------------
Reporter: RiCON | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-
Keywords: webvtt | master
matroska | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
FFmpeg supports the D_WEBVTT/SUBTITLES flavor following WebM specs
(http://www.webmproject.org/docs/container/) but not the recent
S_TEXT/WEBVTT flavor added to Matroska spec
(https://matroska.org/technical/specs/codecid/index.html) likely close to
it being added to mkvtoolnix in
https://github.com/mbunkus/mkvtoolnix/commit/c0c8ea01 .
It should probably also be changed to mux WebVTT tracks as S_TEXT/WEBVTT,
at least to Matroska so mkvtoolnix recognizes the track as valid
subtitles.
{{{
ffmpeg -i cut-vtt.mkv
ffmpeg version N-80317-gff53b66-g9da27fb+1 Copyright (c) 2000-2016 the
FFmpeg developers
built with gcc 5.4.0 (Rev1, Built by MSYS2 project)
configuration: --enable-libx264 --enable-libvpx --enable-libopus
--disable-postproc --disable-doc --disable-demuxer=asf --disable-ffplay
--enable-gpl --disable-debug
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 46.100 / 57. 46.100
libavformat 57. 38.100 / 57. 38.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.101 / 6. 46.101
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
[matroska,webm @ 000000038f2d1c60] Unknown/unsupported AVCodecID
S_TEXT/WEBVTT.
[matroska,webm @ 000000038f2d1c60] Could not find codec parameters for
stream 3 (Subtitle: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, matroska,webm, from 'cut-vtt.mkv':
Metadata:
encoder : libebml v1.3.3 + libmatroska v1.4.4
creation_time : 2016-06-14 12:56:53
Duration: 00:00:11.28, start: 0.000000, bitrate: 352 kb/s
Stream #0:0: Video: vp9 (Profile 2), yuv420p10le(tv), 1280x720, SAR
1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)
Metadata:
BPS : 291322
BPS-eng : 291322
DURATION : 00:00:09.760000000
DURATION-eng : 00:00:09.760000000
NUMBER_OF_FRAMES: 234
NUMBER_OF_FRAMES-eng: 234
NUMBER_OF_BYTES : 355414
NUMBER_OF_BYTES-eng: 355414
_STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-06-14 12:56:53
_STATISTICS_WRITING_DATE_UTC-eng: 2016-06-14 12:56:53
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp (default) (forced)
Metadata:
BPS : 107013
BPS-eng : 107013
DURATION : 00:00:09.758000000
DURATION-eng : 00:00:09.758000000
NUMBER_OF_FRAMES: 488
NUMBER_OF_FRAMES-eng: 488
NUMBER_OF_BYTES : 130530
NUMBER_OF_BYTES-eng: 130530
_STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-06-14 12:56:53
_STATISTICS_WRITING_DATE_UTC-eng: 2016-06-14 12:56:53
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Subtitle: webvtt
Metadata:
title : FFmpeg
BPS : 163
BPS-eng : 163
DURATION : 00:00:10.300000000
DURATION-eng : 00:00:10.300000000
NUMBER_OF_FRAMES: 5
NUMBER_OF_FRAMES-eng: 5
NUMBER_OF_BYTES : 211
NUMBER_OF_BYTES-eng: 211
_STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-06-14 12:56:53
_STATISTICS_WRITING_DATE_UTC-eng: 2016-06-14 12:56:53
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:3: Subtitle: none (default)
Metadata:
title : mkvmerge
BPS : 0
BPS-eng : 0
DURATION : 00:00:00.000000000
DURATION-eng : 00:00:00.000000000
NUMBER_OF_FRAMES: 0
NUMBER_OF_FRAMES-eng: 0
NUMBER_OF_BYTES : 0
NUMBER_OF_BYTES-eng: 0
_STATISTICS_WRITING_APP: mkvmerge v9.2.0 ('Photograph') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.2.0 ('Photograph') 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-06-14 12:56:53
_STATISTICS_WRITING_DATE_UTC-eng: 2016-06-14 12:56:53
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
At least one output file must be specified
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5641>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
7
06 Apr '25
#6949: No support for multiple values in ID3v2.4 tags.
-------------------------------------+-------------------------------------
Reporter: | Type: defect
escapereality | Priority: normal
Status: new | Version:
Component: | unspecified
undetermined | Blocked By:
Keywords: ID3 FFprobe | Reproduced by developer: 0
libavformat |
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Altough ''FFmpeg'' states that it has support for ID3v2.4 tags, there is
one thing I can't get to work properly.
The [http://id3.org/id3v2.4.0-frames ID3v2.4 specifications] state the
following:
''There may only be one text information frame of its kind in an
tag. All text information frames supports multiple strings, stored
as a null separated list, where null is represented by the
termination code for the character encoding.''
When I separate the values in a tag with NULL-characters, the values
should all be recognized (following the ID3v2.4 specs). However, when I
use ''FFprobe'', it only shows the first value. For example
[http://mutagen.readthedocs.io/en/latest/man/mid3v2.html mid3v2] shows the
tags correctly.
[[BR]]
Below is (a snippet of) the output of both ''mid3v2'' and ''FFprobe'' with
an example file. The '''TCON''' (genre) and '''TPE1''' (artist) contain
multiple values.
''mid3v2:''
{{{
mid3v2 --list 01_Infinite_\(Original_Mix\).mp3
IDv2 tag info for 01_Infinite_(Original_Mix).mp3
TALB=Infinite
TBPM=150
TCON=Hardstyle / Test / Example / Hard Dance
TDRC=2017
TIT2=Infinite (Original Mix)
TPE1=B-Front / Second Artist Example
TPE2=B-Front
TPUB=Roughstate
}}}
''FFmpeg:''
{{{
ffprobe 01_Infinite_\(Original_Mix\).mp3
Input #0, mp3, from '01_Infinite_(Original_Mix).mp3':
Metadata:
title : Infinite (Original Mix)
artist : B-Front
album : Infinite
date : 2017
genre : Hardstyle
TBPM : 150
album_artist : B-Front
publisher : Roughstate
}}}
----
'''Verbose console output FFprobe'''
{{{
ffprobe started on 2018-01-07 at 03:20:14
Report written to "ffprobe-20180107-032014.log"
Command line:
ffprobe -report "01_Infinite_(Original_Mix).mp3"
ffprobe version 3.4.1 Copyright (c) 2007-2017 the FFmpeg developers
built with gcc 7.2.1 (GCC) 20171128
configuration: --prefix=/usr --disable-debug --disable-static --disable-
stripping --enable-avisynth --enable-avresample --enable-fontconfig
--enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass
--enable-libbluray --enable-libfreetype --enable-libfribidi --enable-
libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame
--enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex
--enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab
--enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid
--enable-shared --enable-version3
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
[NULL @ 0x55a2b5dcdb20] Opening '01_Infinite_(Original_Mix).mp3' for
reading
[file @ 0x55a2b5dce520] Setting default whitelist 'file,crypto'
[mp3 @ 0x55a2b5dcdb20] Format mp3 probed with size=131072 and score=51
id3v2 ver:4 flags:00 len:108428
[mp3 @ 0x55a2b5dcdb20] pad 576 1211
[mp3 @ 0x55a2b5dcdb20] Skipping 0 bytes of junk at 109482.
[mp3 @ 0x55a2b5dcdb20] Before avformat_find_stream_info() pos: 109482
bytes read:131072 seeks:0 nb_streams:2
[mjpeg @ 0x55a2b5dd2480] marker=d8 avail_size_in_buf=94699
[mjpeg @ 0x55a2b5dd2480] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x55a2b5dd2480] marker=e0 avail_size_in_buf=94697
[mjpeg @ 0x55a2b5dd2480] marker parser used 16 bytes (128 bits)
[mjpeg @ 0x55a2b5dd2480] marker=db avail_size_in_buf=94679
[mjpeg @ 0x55a2b5dd2480] index=0
[mjpeg @ 0x55a2b5dd2480] qscale[0]: 0
[mjpeg @ 0x55a2b5dd2480] marker parser used 67 bytes (536 bits)
[mjpeg @ 0x55a2b5dd2480] marker=db avail_size_in_buf=94610
[mjpeg @ 0x55a2b5dd2480] index=1
[mjpeg @ 0x55a2b5dd2480] qscale[1]: 1
[mjpeg @ 0x55a2b5dd2480] marker parser used 67 bytes (536 bits)
[mjpeg @ 0x55a2b5dd2480] marker=c0 avail_size_in_buf=94541
[mjpeg @ 0x55a2b5dd2480] Changing bps from 0 to 8
[mjpeg @ 0x55a2b5dd2480] sof0: picture: 600x600
[mjpeg @ 0x55a2b5dd2480] component 0 2:2 id: 0 quant:0
[mjpeg @ 0x55a2b5dd2480] component 1 1:1 id: 1 quant:1
[mjpeg @ 0x55a2b5dd2480] component 2 1:1 id: 2 quant:1
[mjpeg @ 0x55a2b5dd2480] pix fmt id 22111100
[mjpeg @ 0x55a2b5dd2480] marker parser used 17 bytes (136 bits)
[mjpeg @ 0x55a2b5dd2480] marker=c4 avail_size_in_buf=94522
[mjpeg @ 0x55a2b5dd2480] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x55a2b5dd2480] marker=c4 avail_size_in_buf=94489
[mjpeg @ 0x55a2b5dd2480] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x55a2b5dd2480] marker=c4 avail_size_in_buf=94397
[mjpeg @ 0x55a2b5dd2480] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x55a2b5dd2480] marker=c4 avail_size_in_buf=94367
[mjpeg @ 0x55a2b5dd2480] marker parser used 0 bytes (0 bits)
[mjpeg @ 0x55a2b5dd2480] escaping removed 318 bytes
[mjpeg @ 0x55a2b5dd2480] marker=da avail_size_in_buf=94314
[mjpeg @ 0x55a2b5dd2480] marker parser used 93996 bytes (751968 bits)
[mjpeg @ 0x55a2b5dd2480] marker=d9 avail_size_in_buf=0
[mjpeg @ 0x55a2b5dd2480] decode frame unused 0 bytes
[mp3 @ 0x55a2b5dcdb20] demuxer injecting skip 1105 / discard 0
[mp3 @ 0x55a2b5dd1620] skip 1105 / discard 0 samples due to side data
[mp3 @ 0x55a2b5dd1620] skip 1105/1152 samples
[mp3 @ 0x55a2b5dcdb20] All info found
[mp3 @ 0x55a2b5dcdb20] After avformat_find_stream_info() pos: 162730 bytes
read:163840 seeks:0 frames:51
Input #0, mp3, from '01_Infinite_(Original_Mix).mp3':
Metadata:
title : Infinite (Original Mix)
artist : B-Front
track : 1
album : Infinite
date : 2017
genre : Hardstyle
compilation : 0
TBPM : 150
album_artist : B-Front
publisher : Roughstate
R128_ALBUM_GAIN : 0
R128_TRACK_GAIN : 0
CATALOGNUMBER : ROUGH082
REPLAYGAIN_ALBUM_PEAK: 1.000000
REPLAYGAIN_TRACK_PEAK: 1.000000
REPLAYGAIN_ALBUM_GAIN: -13.24 dB
REPLAYGAIN_TRACK_GAIN: -13.24 dB
iTunNORM : 0000525E 0000525E 0000CDEC 0000CDEC 00000000
00000000 00008000 00008000 00000000 00000000
Duration: 00:05:00.64, start: 0.025056, bitrate: 322 kb/s
Stream #0:0, 50, 1/14112000: Audio: mp3, 44100 Hz, stereo, s16p, 320
kb/s
Metadata:
encoder : Lavf
Side data:
replaygain: track gain - -13.240000, track peak - 0.000023, album
gain - -13.240000, album peak - 0.000023,
Stream #0:1, 1, 1/90000: Video: mjpeg, yuvj420p(pc,
bt470bg/unknown/unknown), 600x600 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k
tbc
Metadata:
comment : Cover (front)
[AVIOContext @ 0x55a2b5dd6900] Statistics: 163840 bytes read, 0 seeks
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6949>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
12