Opened 17 months ago
Closed 13 months ago
#10093 closed defect (fixed)
hevc_nvenc not working without "-b_ref_mode disabled" switch on Pascal GPUs
Reported by: | suphamster | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | ffmpeg |
Version: | git-master | Keywords: | NVENC hevc |
Cc: | suphamster | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
How to reproduce: ffmpeg.exe -i test2.webm -c:v hevc_nvenc -b:v 200k -movflags +faststart -preset fast -c:a libopus -vbr on -b:a 40k test2.mp4
% ffmpeg.exe -v 9 -loglevel 99 -i test2.webm -c:v hevc_nvenc -b:v 200k -movflags +faststart -preset fast -c:a libopus -vbr on -b:a 40k test2.mp4 ffmpeg version git-2022-12-04-6c81409-ffmpeg-windows-build-helpers Copyright (c) 2000-2022 the FFmpeg developers built with gcc 10.2.0 (GCC) configuration: --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=ffmpeg-windows-build-helpers --enable-version3 --disable-debug --disable-w32threads --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/runner/work/ffmpeg-autobuild/ffmpeg-autobuild/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --enable-libcaca --enable-gray --enable-libtesseract --enable-fontconfig --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libbs2b --enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libvorbis --enable-libwebp --enable-libzimg --enable-libzvbi --enable-libmysofa --enable-libopenjpeg --enable-libopenh264 --enable-libvmaf --enable-libsrt --enable-libxml2 --enable-opengl --enable-libdav1d --enable-cuda-llvm --enable-libaom --enable-nvenc --enable-nvdec --extra-libs=-lharfbuzz --extra-libs=-lm --extra-libs=-lshlwapi --extra-libs=-lmpg123 --extra-libs=-lpthread --extra-cflags=-DLIBTWOLAME_STATIC --extra-cflags=-DMODPLUG_STATIC --extra-cflags=-DCACA_STATIC --enable-amf --enable-libmfx --enable-gpl --enable-frei0r --enable-librubberband --enable-libvidstab --enable-libx264 --enable-libx265 --enable-avisynth --enable-libaribb24 --enable-libxvid --enable-libdavs2 --enable-libxavs2 --enable-libxavs --extra-cflags='-mtune=generic' --extra-cflags=-O3 --enable-static --disable-shared --prefix=/home/runner/work/ffmpeg-autobuild/ffmpeg-autobuild/ffmpeg-source --enable-nonfree --enable-libfdk-aac --enable-decklink libavutil 57. 43.100 / 57. 43.100 libavcodec 59. 54.100 / 59. 54.100 libavformat 59. 34.102 / 59. 34.102 libavdevice 59. 8.101 / 59. 8.101 libavfilter 8. 51.100 / 8. 51.100 libswscale 6. 8.112 / 6. 8.112 libswresample 4. 9.100 / 4. 9.100 libpostproc 56. 7.100 / 56. 7.100 Splitting the commandline. Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'. Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'. Reading option '-i' ... matched as input url with argument 'test2.webm'. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'hevc_nvenc'. Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '200k'. Reading option '-movflags' ... matched as AVOption 'movflags' with argument '+faststart'. Reading option '-preset' ... matched as AVOption 'preset' with argument 'fast'. Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'libopus'. Reading option '-vbr' ... matched as AVOption 'vbr' with argument 'on'. Reading option '-b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '40k'. Reading option 'test2.mp4' ... matched as output url. Finished splitting the commandline. Parsing a group of options: global . Applying option v (set logging level) with argument 9. Successfully parsed a group of options. Parsing a group of options: input url test2.webm. Successfully parsed a group of options. Opening an input file: test2.webm. [NULL @ 000002258558ef40] Opening 'test2.webm' for reading [file @ 000002258558f500] Setting default whitelist 'file,crypto,data' Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'ftyp' parent:'root' sz: 28 8 4525889 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] ISO: File Type Major Brand: isom [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'moov' parent:'root' sz: 35156 36 4525889 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'mvhd' parent:'moov' sz: 108 8 35148 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] time scale = 1000 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'trak' parent:'moov' sz: 17470 116 35148 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'tkhd' parent:'trak' sz: 92 8 17462 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'edts' parent:'trak' sz: 36 100 17462 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'elst' parent:'edts' sz: 28 8 28 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] track[0].edit_count = 1 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] duration=30197 time=2002 rate=1.000000 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'mdia' parent:'trak' sz: 17334 136 17462 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'mdhd' parent:'mdia' sz: 32 8 17326 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'hdlr' parent:'mdia' sz: 65 40 17326 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] ctype=[0][0][0][0] [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stype=vide [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'minf' parent:'mdia' sz: 17229 105 17326 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'vmhd' parent:'minf' sz: 20 8 17221 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'dinf' parent:'minf' sz: 36 28 17221 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'dref' parent:'dinf' sz: 28 8 28 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'stbl' parent:'minf' sz: 17165 64 17221 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'stsd' parent:'stbl' sz: 2644 8 17157 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] size=2628 4CC=hev1 codec_type=0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'hvcC' parent:'stsd' sz: 2496 8 2542 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'fiel' parent:'stsd' sz: 10 2504 2542 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'pasp' parent:'stsd' sz: 16 2514 2542 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'btrt' parent:'stsd' sz: 20 2530 2542 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'stts' parent:'stbl' sz: 24 2652 17157 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] track[0].stts.entries = 1 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] sample_count=905, sample_duration=1001 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'stss' parent:'stbl' sz: 48 2676 17157 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] keyframe_count = 8 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'sdtp' parent:'stbl' sz: 917 2724 17157 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] track[0].sdtp.entries = 905 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'ctts' parent:'stbl' sz: 6208 3641 17157 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] track[0].ctts.entries = 774 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] Processing st: 1, edit list 0 - media time: 312, duration: 1441104 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] skip 312 audio samples from curr_cts: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'udta' parent:'moov' sz: 244 34912 35148 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'meta' parent:'udta' sz: 236 8 236 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'hdlr' parent:'meta' sz: 33 8 224 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] ctype=[0][0][0][0] [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stype=mdir [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'ilst' parent:'meta' sz: 191 41 224 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'[169]nam' parent:'ilst' sz: 37 8 183 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'[169]ART' parent:'ilst' sz: 43 45 183 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'[169]too' parent:'ilst' sz: 37 88 183 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'[169]cmt' parent:'ilst' sz: 37 125 183 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'[169]gen' parent:'ilst' sz: 29 162 183 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'free' parent:'root' sz: 8 35192 4525889 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] type:'mdat' parent:'root' sz: 4490697 35200 4525889 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] on_parse_exit_offset=35200 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] Before avformat_find_stream_info() pos: 35200 bytes read:65536 seeks:0 nb_streams:2 [hevc @ 0000022585590840] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0 [hevc @ 0000022585590840] Decoding VPS [hevc @ 0000022585590840] Main profile bitstream [hevc @ 0000022585590840] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0 [hevc @ 0000022585590840] Decoding SPS [hevc @ 0000022585590840] Main profile bitstream [hevc @ 0000022585590840] Decoding VUI [hevc @ 0000022585590840] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0 [hevc @ 0000022585590840] Decoding PPS [hevc @ 0000022585590840] nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0 [hevc @ 0000022585590840] Decoding SEI For transform of length 120, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 60, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688 For transform of length 4, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft4_fwd_asm_float_sse2 - type: fft_float, len: 4, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 352 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 120, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 60, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call] fft4_fwd_asm_float_sse2 - type: fft_float, len: 4, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 240, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 120, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688 For transform of length 8, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches: 1: fft8_asm_float_avx - type: fft_float, len: 8, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480 2: fft8_asm_float_sse3 - type: fft_float, len: 8, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 352 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 240, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 120, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call] fft8_asm_float_avx - type: fft_float, len: 8, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 480, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 240, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688 For transform of length 16, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches: 1: fft16_asm_float_fma3 - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512 2: fft16_asm_float_avx - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 480, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 240, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call] fft16_asm_float_fma3 - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 960, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 480, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688 For transform of length 32, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches: 1: fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512 2: fft32_asm_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 960, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 480, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call] fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0, sample 0, dts -66733 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 0, dts -6500 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0, sample 1, dts -33367 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 0, dts -6500 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0, sample 2, dts 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 0, dts -6500 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] demuxer injecting skip 312 / discard 0 [SWR @ 00000225855ea780] Using fltp internally between filters [opus @ 000002258559a880] skip 312 / discard 0 samples due to side data [opus @ 000002258559a880] skip 312/960 samples [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] All info found [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0: start_time: 0 duration: 30.1968 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1: start_time: 0 duration: 30.023 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] format: start_time: 0 duration: 30.1968 (estimate from stream) bitrate=1199 kb/s [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] After avformat_find_stream_info() pos: 36199 bytes read:65536 seeks:0 frames:3 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test2.webm': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2mp41 title : IntroCine.mov artist : VideoProc Converter encoder : Lavf59.30.100 comment : IntroCine.mov genre : Video Duration: 00:00:30.20, start: 0.000000, bitrate: 1199 kb/s Stream #0:0[0x1](eng), 2, 1/30000: Video: hevc (Main), 1 reference frame (hev1 / 0x31766568), yuv420p(tv, progressive, left), 1920x1080 [SAR 1:1 DAR 16:9], 0/1, 1144 kb/s, 29.97 fps, 29.97 tbr, 30k tbn (default) Metadata: handler_name : ?Mainconcept Video Media Handler vendor_id : [0][0][0][0] encoder : Lavc59.42.103 libx265 Stream #0:1[0x2](eng), 1, 1/48000: Audio: opus (Opus / 0x7375704F), 48000 Hz, stereo, fltp, delay 312, 45 kb/s (default) Metadata: handler_name : #Mainconcept MP4 Sound Media Handler vendor_id : [0][0][0][0] Successfully opened the file. Parsing a group of options: output url test2.mp4. Applying option c:v (codec name) with argument hevc_nvenc. Applying option b:v (video bitrate (please use -b:v)) with argument 200k. Applying option c:a (codec name) with argument libopus. Applying option b:a (video bitrate (please use -b:v)) with argument 40k. Successfully parsed a group of options. Opening an output file: test2.mp4. [file @ 000002258561bb00] Setting default whitelist 'file,crypto,data' Successfully opened the file. detected 12 logical cores [hevc @ 00000225857b2a40] nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0 [hevc @ 00000225857b2a40] Decoding VPS [hevc @ 00000225857b2a40] Main profile bitstream [hevc @ 00000225857b2a40] nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0 [hevc @ 00000225857b2a40] Decoding SPS [hevc @ 00000225857b2a40] Main profile bitstream [hevc @ 00000225857b2a40] Decoding VUI [hevc @ 00000225857b2a40] nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0 [hevc @ 00000225857b2a40] Decoding PPS [hevc @ 00000225857b2a40] nal_unit_type: 39(SEI_PREFIX), nuh_layer_id: 0, temporal_id: 0 [hevc @ 00000225857b2a40] Decoding SEI For transform of length 120, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 60, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688 For transform of length 4, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft4_fwd_asm_float_sse2 - type: fft_float, len: 4, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 352 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 120, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 60, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call] fft4_fwd_asm_float_sse2 - type: fft_float, len: 4, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 240, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 120, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688 For transform of length 8, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches: 1: fft8_asm_float_avx - type: fft_float, len: 8, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480 2: fft8_asm_float_sse3 - type: fft_float, len: 8, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 352 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 240, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 120, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call] fft8_asm_float_avx - type: fft_float, len: 8, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 480, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 240, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688 For transform of length 16, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches: 1: fft16_asm_float_fma3 - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512 2: fft16_asm_float_avx - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 480, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 240, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call] fft16_asm_float_fma3 - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] For transform of length 960, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches: 1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544 2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304 3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144 4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112 5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96 6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976 For transform of length 480, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches: 1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688 For transform of length 32, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches: 1: fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512 2: fft32_asm_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480 Transform tree: mdct_inv_float_avx2 - type: mdct_float, len: 960, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only] fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 480, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call] fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call] Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> hevc (hevc_nvenc)) Stream #0:1 -> #0:1 (opus (native) -> opus (libopus)) 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) Last message repeated 1 times [hevc @ 00000225857b2a40] nal_unit_type: 20(IDR_N_LP), nuh_layer_id: 0, temporal_id: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0, sample 2, dts 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 1, dts 13500 [hevc @ 00000225857b2a40] Format yuv420p chosen by get_format(). 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) [hevc @ 000002258561cd40] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0 [SWR @ 0000022585c7f0c0] Using fltp internally between filters [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0, sample 3, dts 33367 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 1, dts 13500 [opus @ 0000022585599500] skip 312 / discard 0 samples due to side data [opus @ 0000022585599500] skip 312/960 samples [hevc @ 00000225857b2a40] Decoded frame with POC 0. [graph_1_in_0_1 @ 00000225868c8c40] Setting 'time_base' to value '1/48000' [graph_1_in_0_1 @ 00000225868c8c40] Setting 'sample_rate' to value '48000' [graph_1_in_0_1 @ 00000225868c8c40] Setting 'sample_fmt' to value 'fltp' [graph_1_in_0_1 @ 00000225868c8c40] Setting 'channel_layout' to value 'stereo' [hevc @ 000002258561cd40] Decoded frame with POC 2. [graph_1_in_0_1 @ 00000225868c8c40] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:stereo [format_out_0_1 @ 0000022586a11180] Setting 'sample_fmts' to value 's16|flt' [format_out_0_1 @ 0000022586a11180] Setting 'sample_rates' to value '48000|24000|16000|12000|8000' [format_out_0_1 @ 0000022586a11180] auto-inserting filter 'auto_aresample_0' between the filter 'Parsed_anull_0' and the filter 'format_out_0_1' [AVFilterGraph @ 00000225860354c0] query_formats: 4 queried, 6 merged, 3 already done, 0 delayed [auto_aresample_0 @ 0000022586a11600] picking flt out of 2 ref:fltp [auto_aresample_0 @ 0000022586a11600] [SWR @ 0000022586a11700] Using fltp internally between filters [auto_aresample_0 @ 0000022586a11600] ch:2 chl:stereo fmt:fltp r:48000Hz -> ch:2 chl:stereo fmt:flt r:48000Hz 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 @ 000002258558ef40] stream 0, sample 3, dts 33367 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 2, dts 33500 [hevc @ 000002258561d400] nal_unit_type: 0(TRAIL_N), nuh_layer_id: 0, temporal_id: 0 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 @ 000002258558ef40] stream 0, sample 4, dts 66733 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 2, dts 33500 [hevc @ 000002258561d400] Output frame with POC 0. 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 @ 000002258558ef40] stream 0, sample 4, dts 66733 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 3, dts 53500 [hevc @ 000002258561ddc0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0 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 @ 000002258558ef40] stream 0, sample 4, dts 66733 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 4, dts 73500 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 @ 000002258558ef40] stream 0, sample 5, dts 100100 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 4, dts 73500 [hevc @ 000002258561ddc0] Output frame with POC 1. [hevc @ 000002258561d400] Decoded frame with POC 1. 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 @ 000002258558ef40] stream 0, sample 5, dts 100100 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 5, dts 93500 [hevc @ 0000022585ad2700] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0 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 @ 000002258558ef40] stream 0, sample 5, dts 100100 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 6, dts 113500 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) [hevc @ 0000022585ad2700] Output frame with POC 2. [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0, sample 6, dts 133467 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 6, dts 113500 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 @ 000002258558ef40] stream 0, sample 6, dts 133467 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 7, dts 133500 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 @ 000002258558ef40] stream 0, sample 7, dts 166833 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 7, dts 133500 [hevc @ 000002258586c200] nal_unit_type: 0(TRAIL_N), nuh_layer_id: 0, temporal_id: 0 [hevc @ 000002258561ddc0] Decoded frame with POC 7. 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) [hevc @ 0000022585ad2700] Decoded frame with POC 5. [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0, sample 7, dts 166833 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 8, dts 153500 [hevc @ 000002258586c200] Output frame with POC 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) [hevc @ 0000022585c34840] nal_unit_type: 0(TRAIL_N), nuh_layer_id: 0, temporal_id: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0, sample 7, dts 166833 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 9, dts 173500 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 @ 000002258558ef40] stream 0, sample 8, dts 200200 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 9, dts 173500 [hevc @ 0000022585c34840] Output frame with POC 4. 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 @ 000002258558ef40] stream 0, sample 8, dts 200200 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 10, dts 193500 [hevc @ 0000022585c35340] nal_unit_type: 0(TRAIL_N), nuh_layer_id: 0, temporal_id: 0 [hevc @ 000002258586c200] Decoded frame with POC 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) [hevc @ 0000022585c34840] Decoded frame with POC 4. [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0, sample 8, dts 200200 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 11, dts 213500 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) [hevc @ 0000022585c35340] Output frame with POC 5. [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0, sample 9, dts 233567 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 11, dts 213500 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 @ 000002258558ef40] stream 0, sample 9, dts 233567 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 12, dts 233500 [hevc @ 0000022585e21b40] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0 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 @ 000002258558ef40] stream 0, sample 9, dts 233567 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 13, dts 253500 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 @ 000002258558ef40] stream 0, sample 10, dts 266933 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 13, dts 253500 [hevc @ 0000022585e21b40] Output frame with POC 6. [hevc @ 0000022585c35340] Decoded frame with POC 6. 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 @ 000002258558ef40] stream 0, sample 10, dts 266933 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 14, dts 273500 [hevc @ 00000225858ad5c0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0 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 @ 000002258558ef40] stream 0, sample 11, dts 300300 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 14, dts 273500 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 @ 000002258558ef40] stream 0, sample 11, dts 300300 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 15, dts 293500 [hevc @ 00000225858ad5c0] Output frame with POC 7. 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) [hevc @ 00000225858ab5c0] nal_unit_type: 0(TRAIL_N), nuh_layer_id: 0, temporal_id: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0, sample 11, dts 300300 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 16, dts 313500 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) [hevc @ 0000022585e21b40] Decoded frame with POC 11. [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0, sample 12, dts 333667 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 16, dts 313500 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 @ 000002258558ef40] stream 0, sample 12, dts 333667 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 17, dts 333500 [hevc @ 00000225858ad5c0] Decoded frame with POC 9. [hevc @ 00000225858ab5c0] Output frame with POC 8. 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 @ 000002258558ef40] stream 0, sample 12, dts 333667 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 18, dts 353500 [hevc @ 00000225858ac9c0] nal_unit_type: 0(TRAIL_N), nuh_layer_id: 0, temporal_id: 0 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 @ 000002258558ef40] stream 0, sample 13, dts 367033 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 18, dts 353500 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) [hevc @ 00000225858ac9c0] Output frame with POC 9. [hevc @ 00000225858ab5c0] Decoded frame with POC 8. [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 0, sample 13, dts 367033 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 19, dts 373500 [hevc @ 00000225858ae1c0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0 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 @ 000002258558ef40] stream 0, sample 14, dts 400400 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 19, dts 373500 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 @ 000002258558ef40] stream 0, sample 14, dts 400400 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 20, dts 393500 [hevc @ 00000225858ac9c0] Decoded frame with POC 10. [hevc @ 00000225858ae1c0] Output frame with POC 10. 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 @ 000002258558ef40] stream 0, sample 14, dts 400400 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 21, dts 413500 [hevc @ 00000225857b2a40] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0 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 @ 000002258558ef40] stream 0, sample 15, dts 433767 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 21, dts 413500 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 @ 000002258558ef40] stream 0, sample 15, dts 433767 [mov,mp4,m4a,3gp,3g2,mj2 @ 000002258558ef40] stream 1, sample 22, dts 433500 [hevc @ 00000225857b2a40] Output frame with POC 11. [hevc @ 000002258561cd40] nal_unit_type: 0(TRAIL_N), nuh_layer_id: 0, temporal_id: 0 [graph 0 input from stream 0:0 @ 0000022586f1e080] Setting 'video_size' to value '1920x1080' [hevc @ 000002258561cd40] Output frame with POC 12. [graph 0 input from stream 0:0 @ 0000022586f1e080] Setting 'pix_fmt' to value '0' [graph 0 input from stream 0:0 @ 0000022586f1e080] Setting 'time_base' to value '1/30000' [hevc @ 00000225858ae1c0] Decoded frame with POC 15. [hevc @ 00000225857b2a40] Decoded frame with POC 13. [graph 0 input from stream 0:0 @ 0000022586f1e080] Setting 'pixel_aspect' to value '1/1' [graph 0 input from stream 0:0 @ 0000022586f1e080] Setting 'frame_rate' to value '30000/1001' [hevc @ 000002258561cd40] Decoded frame with POC 12. [graph 0 input from stream 0:0 @ 0000022586f1e080] w:1920 h:1080 pixfmt:yuv420p tb:1/30000 fr:30000/1001 sar:1/1 [format @ 0000022586f1fb80] Setting 'pix_fmts' to value 'yuv420p|nv12|p010le|yuv444p|p016le|yuv444p16le|bgr0|bgra|rgb0|rgba|x2rgb10le|x2bgr10le|gbrp|gbrp16le|cuda|d3d11' [AVFilterGraph @ 000002258979f100] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed [hevc_nvenc @ 0000022585598380] Loaded lib: nvcuda.dll [hevc_nvenc @ 0000022585598380] Loaded sym: cuInit [hevc_nvenc @ 0000022585598380] Loaded sym: cuDeviceGetCount [hevc_nvenc @ 0000022585598380] Loaded sym: cuDeviceGet [hevc_nvenc @ 0000022585598380] Loaded sym: cuDeviceGetAttribute [hevc_nvenc @ 0000022585598380] Loaded sym: cuDeviceGetName [hevc_nvenc @ 0000022585598380] Loaded sym: cuDeviceComputeCapability [hevc_nvenc @ 0000022585598380] Loaded sym: cuCtxCreate_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuCtxSetLimit [hevc_nvenc @ 0000022585598380] Loaded sym: cuCtxPushCurrent_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuCtxPopCurrent_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuCtxDestroy_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemAlloc_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemAllocPitch_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemAllocManaged [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemsetD8Async [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemFree_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemcpy [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemcpyAsync [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemcpy2D_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemcpy2DAsync_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemcpyHtoD_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemcpyHtoDAsync_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemcpyDtoH_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemcpyDtoHAsync_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemcpyDtoD_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuMemcpyDtoDAsync_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuGetErrorName [hevc_nvenc @ 0000022585598380] Loaded sym: cuGetErrorString [hevc_nvenc @ 0000022585598380] Loaded sym: cuCtxGetDevice [hevc_nvenc @ 0000022585598380] Loaded sym: cuDevicePrimaryCtxRetain [hevc_nvenc @ 0000022585598380] Loaded sym: cuDevicePrimaryCtxRelease [hevc_nvenc @ 0000022585598380] Loaded sym: cuDevicePrimaryCtxSetFlags [hevc_nvenc @ 0000022585598380] Loaded sym: cuDevicePrimaryCtxGetState [hevc_nvenc @ 0000022585598380] Loaded sym: cuDevicePrimaryCtxReset [hevc_nvenc @ 0000022585598380] Loaded sym: cuStreamCreate [hevc_nvenc @ 0000022585598380] Loaded sym: cuStreamQuery [hevc_nvenc @ 0000022585598380] Loaded sym: cuStreamSynchronize [hevc_nvenc @ 0000022585598380] Loaded sym: cuStreamDestroy_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuStreamAddCallback [hevc_nvenc @ 0000022585598380] Loaded sym: cuEventCreate [hevc_nvenc @ 0000022585598380] Loaded sym: cuEventDestroy_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuEventSynchronize [hevc_nvenc @ 0000022585598380] Loaded sym: cuEventQuery [hevc_nvenc @ 0000022585598380] Loaded sym: cuEventRecord [hevc_nvenc @ 0000022585598380] Loaded sym: cuLaunchKernel [hevc_nvenc @ 0000022585598380] Loaded sym: cuLinkCreate [hevc_nvenc @ 0000022585598380] Loaded sym: cuLinkAddData [hevc_nvenc @ 0000022585598380] Loaded sym: cuLinkComplete [hevc_nvenc @ 0000022585598380] Loaded sym: cuLinkDestroy [hevc_nvenc @ 0000022585598380] Loaded sym: cuModuleLoadData [hevc_nvenc @ 0000022585598380] Loaded sym: cuModuleUnload [hevc_nvenc @ 0000022585598380] Loaded sym: cuModuleGetFunction [hevc_nvenc @ 0000022585598380] Loaded sym: cuModuleGetGlobal [hevc_nvenc @ 0000022585598380] Loaded sym: cuTexObjectCreate [hevc_nvenc @ 0000022585598380] Loaded sym: cuTexObjectDestroy [hevc_nvenc @ 0000022585598380] Loaded sym: cuGLGetDevices_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuGraphicsGLRegisterImage [hevc_nvenc @ 0000022585598380] Loaded sym: cuGraphicsUnregisterResource [hevc_nvenc @ 0000022585598380] Loaded sym: cuGraphicsMapResources [hevc_nvenc @ 0000022585598380] Loaded sym: cuGraphicsUnmapResources [hevc_nvenc @ 0000022585598380] Loaded sym: cuGraphicsSubResourceGetMappedArray [hevc_nvenc @ 0000022585598380] Loaded sym: cuGraphicsResourceGetMappedPointer_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuDeviceGetUuid [hevc_nvenc @ 0000022585598380] Loaded sym: cuImportExternalMemory [hevc_nvenc @ 0000022585598380] Loaded sym: cuDestroyExternalMemory [hevc_nvenc @ 0000022585598380] Loaded sym: cuExternalMemoryGetMappedBuffer [hevc_nvenc @ 0000022585598380] Loaded sym: cuExternalMemoryGetMappedMipmappedArray [hevc_nvenc @ 0000022585598380] Loaded sym: cuMipmappedArrayGetLevel [hevc_nvenc @ 0000022585598380] Loaded sym: cuMipmappedArrayDestroy [hevc_nvenc @ 0000022585598380] Loaded sym: cuImportExternalSemaphore [hevc_nvenc @ 0000022585598380] Loaded sym: cuDestroyExternalSemaphore [hevc_nvenc @ 0000022585598380] Loaded sym: cuSignalExternalSemaphoresAsync [hevc_nvenc @ 0000022585598380] Loaded sym: cuWaitExternalSemaphoresAsync [hevc_nvenc @ 0000022585598380] Loaded sym: cuArray3DCreate_v2 [hevc_nvenc @ 0000022585598380] Loaded sym: cuArrayDestroy [hevc_nvenc @ 0000022585598380] Cannot load optional cuEGLStreamProducerConnect [hevc_nvenc @ 0000022585598380] Cannot load optional cuEGLStreamProducerDisconnect [hevc_nvenc @ 0000022585598380] Cannot load optional cuEGLStreamConsumerDisconnect [hevc_nvenc @ 0000022585598380] Cannot load optional cuEGLStreamProducerPresentFrame [hevc_nvenc @ 0000022585598380] Cannot load optional cuEGLStreamProducerReturnFrame [hevc_nvenc @ 0000022585598380] Loaded sym: cuD3D11GetDevice [hevc_nvenc @ 0000022585598380] Loaded sym: cuD3D11GetDevices [hevc_nvenc @ 0000022585598380] Loaded sym: cuGraphicsD3D11RegisterResource [hevc_nvenc @ 0000022585598380] Loaded lib: nvEncodeAPI64.dll [hevc_nvenc @ 0000022585598380] Loaded sym: NvEncodeAPICreateInstance [hevc_nvenc @ 0000022585598380] Loaded sym: NvEncodeAPIGetMaxSupportedVersion [hevc_nvenc @ 0000022585598380] Loaded Nvenc version 12.0 [hevc_nvenc @ 0000022585598380] Nvenc initialized successfully [hevc_nvenc @ 0000022585598380] Calling dl_fn->cuda_dl->cuInit(0) [hevc_nvenc @ 0000022585598380] Calling dl_fn->cuda_dl->cuDeviceGetCount(&nb_devices) [hevc_nvenc @ 0000022585598380] 1 CUDA capable devices found [hevc_nvenc @ 0000022585598380] Calling dl_fn->cuda_dl->cuDeviceGet(&cu_device, idx) [hevc_nvenc @ 0000022585598380] Calling dl_fn->cuda_dl->cuDeviceGetName(name, sizeof(name), cu_device) [hevc_nvenc @ 0000022585598380] Calling dl_fn->cuda_dl->cuDeviceComputeCapability(&major, &minor, cu_device) [hevc_nvenc @ 0000022585598380] [ GPU #0 - < NVIDIA GeForce GTX 1060 6GB > has Compute SM 6.1 ] [hevc_nvenc @ 0000022585598380] Calling dl_fn->cuda_dl->cuCtxCreate(&ctx->cu_context_internal, 0, cu_device) [hevc_nvenc @ 0000022585598380] Calling dl_fn->cuda_dl->cuCtxPopCurrent(&dummy) [hevc_nvenc @ 0000022585598380] B frames as references are not supported [hevc_nvenc @ 0000022585598380] Calling dl_fn->cuda_dl->cuCtxPushCurrent(ctx->cu_context) [hevc_nvenc @ 0000022585598380] Calling dl_fn->cuda_dl->cuCtxPopCurrent(&dummy) [hevc_nvenc @ 0000022585598380] Calling dl_fn->cuda_dl->cuCtxDestroy(ctx->cu_context_internal) [hevc_nvenc @ 0000022585598380] No capable devices found [hevc_nvenc @ 0000022585598380] Nvenc unloaded Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [libopus @ 00000225855abb40] 1 frames left in the queue on closing [AVIOContext @ 00000225855ad7c0] Statistics: 0 bytes written, 0 seeks, 0 writeouts Terminating demuxer thread 0 [AVIOContext @ 000002258558ff80] Statistics: 65536 bytes read, 0 seeks Conversion failed!
Most likely it happened after this commit https://github.com/FFmpeg/FFmpeg/commit/28680e2f41b93b75863720e42397441dfcc29f94#diff-a79a11eb24a3e1add05bf3dadb04c36457c2b0f685eeb56524252ea736b7a43c because I had no problems with ffmpeg builds that was compiled before it.
Change History (3)
follow-up: 2 comment:1 by , 17 months ago
comment:2 by , 17 months ago
Replying to Balling:
Works on Turing.
Because it supports "B frames" while Pascal is not as far as I know.
comment:3 by , 13 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Simple fix in 7a8560cb22dd9f5c54df71af3fef26db9a2a28b0, please verify.
Works on Turing.