23.09.2021, 09:39
Klappt auch ohne '-preset 1' nicht.
Ich schau mir mal das Äquivalent mit aktuellen ffmpeg Optionen an. Da hat sich ja einiges bei ffmpeg geändert.
ffmpeg version git-2021-07-17-c320b78 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --disable-debug --pkg-config-flags=--static --extra-cflags='-O3 -ffunction-sections -fdata-sections -I/home/selur/workspace/HybridDeploy/tools/build/build/libs/include' --extra-ldflags='-Wl,--gc-sections -pthread -L/home/selur/workspace/HybridDeploy/tools/build/build/libs/lib' --ld=g++ --enable-gpl --enable-version3 --disable-ffplay --disable-ffprobe --disable-doc --enable-frei0r --enable-libass --enable-libbluray --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libtheora --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libkvazaar --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-cuvid --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxcb-shape --enable-vaapi --enable-vdpau --enable-openal --enable-libpulse --disable-libjack
libavutil 57. 0.100 / 57. 0.100
libavcodec 59. 3.101 / 59. 3.101
libavformat 59. 4.100 / 59. 4.100
libavdevice 59. 0.100 / 59. 0.100
libavfilter 8. 0.103 / 8. 0.103
libswscale 6. 0.100 / 6. 0.100
libswresample 4. 0.100 / 4. 0.100
libpostproc 56. 0.100 / 56. 0.100
Input #0, matroska,webm, from '/media/b3_HOME/Downloads/test.mkv':
Metadata:
ENCODER : Lavf58.76.100
Duration: 00:43:07.03, start: 0.000000, bitrate: 1506 kb/s
Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv, bt709), 1920x1080, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 1k tbn (default)
Metadata:
DURATION : 00:43:06.966000000
Stream #0:1(eng): Audio: aac (LC), 44100 Hz, stereo, fltp (default)
Metadata:
HANDLER_NAME : ISO Media file produced by Google Inc.
VENDOR_ID : [0][0][0][0]
DURATION : 00:43:07.028000000
Stream mapping:
Stream #0:0 -> #0:0 (vp9 (native) -> h264 (h264_nvenc))
[h264_nvenc @ 0x563404e02bc0] Specified rc mode is deprecated.
[h264_nvenc @ 0x563404e02bc0] Use -rc constqp/cbr/vbr, -tune and -multipass instead.
[h264_nvenc @ 0x563404e02bc0] InitializeEncoder failed: invalid param (8): Presets P1 to P7 are not supported with older 2 Pass RC Modes(CBR_HQ, VBR_HQ) and cbr lowdelay.
Enable NV_ENC_RC_PARAMS::multiPass flag for two pass encoding a
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
Conversion failed!
Ich schau mir mal das Äquivalent mit aktuellen ffmpeg Optionen an. Da hat sich ja einiges bei ffmpeg geändert.