This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

NVEnc (ffmpeg) crasht beim h264 encoding
#2
Hmm, bei 'NVEnc (FFmpeg)' werden keine checks bzgl. Sinnigkeit der Paramter gemacht, da ffmpeg anders als NVEncC keine Möglichkeit gibt zu sehen was die GPU unterstützt, bin also nicht verwundert, das da was nicht geht. Smile


7: lossless
Aktuell verwendet hybrid
  • "1-pass constant quantizer"
    -rc constqp -qp <QUANTIZER> -2pass 0
  • "1-pass constant quality"
    -rc vbr_hq -cq <QUALITY> -b:v 0k -2pass 0
  • "1-pass variable bitrate"
    -rc vbr -2pass 0 -b:v <BITRATE>
  • "1-pass constant bitrate"
    -rc cbr -2pass 0 -b:v <BITRATE>
  • "1-pass variable bitrate (2pass optimization)"
    -rc vbr_hq 1 -2pass 1 -b:v <BITRATE>

Wenn ich den Fehler lese:
Quote:Presets P1 to P7 are not supported with older 2 Pass RC Modes(CBR_HQ, VBR_HQ) and cbr lowdelay.
Frage ich mich:
a. gibt es nen neue 2 Pass RC Modes ? (die Presets machen ja eigentlich immer Sinn,..)
b. reichte es dann einfach das preset bei '1-pass variable bitrate (2pass optimization)' weg zu lassen?
Wenn Du Deinen Aufruf:
"/home/user/.hybrid-bin/ffmpeg" -y -noautorotate -nostdin -threads 8 -i "/media/b3_HOME/Downloads/test.mkv" -map 0:0 -an -sn -vf  scale=in_range=tv:out_range=tv -pix_fmt yuv420p -vsync 0 -vcodec h264_nvenc -preset 1 -profile:v 2 -level 0 -rc vbr_hq -2pass 1 -qmin 0 -qmax 51 -b:v 9000k -spatial-aq 1 -aq-strength 4 -rc-lookahead 32 -surfaces 42 -no-scenecut 1 -refs 4 -nonref_p 1 -strict_gop 0 -bf 4 -g 30 -b_adapt:v 0 -maxrate:v 14M -bufsize:v 9M -bsf:v h264_mp4toannexb -metadata encoding_tool="Hybrid 2021.08.23.1" "/media/b2_TMP/tmp/test_2021-09-21@15_27_18_3010_04.264"
ohne '-preset 1', verwendest, klappt er dann?

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: NVEnc (ffmpeg) crasht beim h264 encoding - by Selur - 21.09.2021, 18:26

Forum Jump:


Users browsing this thread: 1 Guest(s)