FFmpeg-trac
Threads by month
- ----- 2026 -----
- 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 2022
- 1 participants
- 719 discussions
#9020: http BUFFER_SIZE too small
----------------------------------+---------------------------------------
Reporter: jtojnar | Type: defect
Status: new | Priority: normal
Component: avformat | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+---------------------------------------
Summary of the bug:
When making a HTTP request with a large authorization cookie, the
execution fails with “overlong headers” error.
The limit was increased to 8192 bytes in
https://github.com/FFmpeg/FFmpeg/commit/d29c42974487d5fa0a5c1b05a09da5c5818…
(part of ffmpeg 4.3.1) but that is still not enough for author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.com/"
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.3.0 (GCC)
configuration: --disable-static --prefix=/nix/store
/n77nwda6g2b9iaxxwk8mdzardxzgz7dl-ffmpeg-4.3.1 --arch=x86_64
--target_os=linux --enable-gpl --enable-version3 --enable-shared --enable-
pic --enable-runtime-cpudetect --enable-hardcoded-tables --enable-pthreads
--disable-w32threads --disable-os2threads --enable-network --enable-
pixelutils --enable-ffmpeg --disable-ffplay --enable-ffprobe --enable-
avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-
avresample --enable-avutil --enable-postproc --enable-swresample --enable-
swscale --disable-doc --enable-libass --enable-bzlib --enable-gnutls
--enable-fontconfig --enable-libfreetype --enable-libmp3lame --enable-
iconv --enable-libtheora --enable-libssh --enable-vaapi --enable-libdrm
--enable-vdpau --enable-libvorbis --enable-libvpx --enable-lzma --disable-
opengl --disable-libmfx --disable-libaom --enable-libpulse --enable-sdl2
--enable-libsoxr --enable-libx264 --enable-libxvid --enable-zlib --enable-
libopus --enable-libspeex --enable-libx265 --enable-libdav1d --disable-
debug --enable-optimizations --disable-extra-warnings --disable-stripping
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
[http @ 0x1f7e480] No trailing CRLF found in HTTP header. Adding it.
[http @ 0x1f7e480] overlong headers
http://example.com/: Invalid argument
}}}
I managed to fix it locally by patching ffmpeg with a bigger buffer size
(https://github.com/ytdl-org/youtube-dl/pull/24649#issuecomment-738002126)
but ideally, ffmpeg would use dynamic allocation for the headers.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9020>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
12
#9408: WASAPI Audio Input/Output Support
-------------------------------------+-------------------------------------
Reporter: Brad Isbell | Type:
| enhancement
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
The Windows Audio Session API (WASAPI) is a modern API for audio
playback/capture under Windows. It offers several benefits over the
current DirectShow implementation in FFmpeg:
- [https://docs.microsoft.com/en-us/windows/win32/api/mmreg/ns-mmreg-
waveformatextensible Multi-channel support]
- [https://docs.microsoft.com/en-us/windows/win32/coreaudio/loopback-
recording Loopback capture], for both entire output devices and for
individual streams from applications
- [https://docs.microsoft.com/en-us/windows/win32/api/audioclient/nf-
audioclient-iaudioclient-initialize Low-latency I/O] without the need for
proprietary ASIO
- [https://docs.microsoft.com/en-us/windows/win32/coreaudio/exclusive-
mode-streams Exclusive mode] for further reducing latency
== Sample Usage ==
Capture from multichannel soundcard:
{{{
ffmpeg -f wasapi -ar 96000 -ac 8 -i device="My Multichannel Soundcard" …
}}}
Capture in exclusive mode from soundcard named 'Soundcard':
{{{
ffmpeg -f wasapi -exclusive_mode true -i device="Soundcard" …
}}}
Capture loopback from soundcard named 'Soundcard':
{{{
ffmpeg -f wasapi -i loopback_device="Soundcard" …
}}}
Capture loopback from entire system:
{{{
ffmpeg -f wasapi -i loopback_system=true …
}}}
Capture loopback from app by name or PID:
{{{
ffmpeg -f wasapi -i loopback_application_pid=54321 …
ffmpeg -f wasapi -i loopback_application_name="Skifree" …
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9408>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
6
#6091: support ds2 audio (dss pro audio) file format
-----------------------------------+---------------------------------------
Reporter: vineet156 | Type: enhancement
Status: new | Priority: normal
Component: avformat | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-----------------------------------+---------------------------------------
Summary of the bug: ffmpeg already supports dss audio file decoding.
Please add support for ds2 as well, which is an improved version of dss
and called "dss pro"
How to reproduce:
{{{
ffmpeg started on 2017-01-19 at 04:20:46
Report written to "ffmpeg-20170119-042046.log"
Command line:
../bin/ffmpeg -report -i VoiceRec11.ds2 VoiceRec11.mp3
ffmpeg version N-83132-g9561de4 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
configuration: --prefix=/home/ubuntu/ffmpeg_build --pkg-config-
flags=--static --extra-cflags='-I/home/ubuntu/ffmpeg_build/include
-static' --extra-ldflags='-L/home/ubuntu/ffmpeg_build/lib -static'
--bindir=/home/ubuntu/bin --enable-libmp3lame
libavutil 55. 43.100 / 55. 43.100
libavcodec 57. 73.100 / 57. 73.100
libavformat 57. 62.100 / 57. 62.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 69.100 / 6. 69.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option '-i' ... matched as input url with argument
'VoiceRec11.ds2'.
Reading option 'VoiceRec11.mp3' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url VoiceRec11.ds2.
Successfully parsed a group of options.
Opening an input file: VoiceRec11.ds2.
[file @ 0x3e5db40] Setting default whitelist 'file,crypto'
[AVIOContext @ 0x3e66f60] Statistics: 1048576 bytes read, 0 seeks
VoiceRec11.ds2: Invalid data found when processing input
}}}
A ds2 sample file is attached for testing.
Also making a small donation to the project
thank you,
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6091>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
1
19
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