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.

ffmpeg nvidia cuda turbomodus
#1
Hallo,   

mit dieser Option: -hwaccel cuda -hwaccel_output_format cuda
wird eine NVIDIA GPU auf turbo geschaltet,
Kannst Du diese Option für ffmpeg nvenc nvidia in hybrid erweitern?


So starte ich ffmpeg im Turbomodus:


ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i "/home/ede/Videos/Katalog.ts" -map 0:0 -map 0:1 -threads 16 -aspect 16:9 -y -f mpeg -acodec copy -vcodec hevc_nvenc "/home/ede/Videos/Katalog.mpg4"


MfG
Edgar Schrader
Reply
#2
Kein Turbo, was die Option macht ist, sie aktiviert nvdec und wenn auch ein nvenc verwendet wird (und kein filtering was dazwischen funkt), wird nur auf dem NV-Chip gearbeitet, was das ganze beschleunigt.

Werde mal darüber nachdenken.
Nebenbei: '-f mpeg' und 'mpg4' als Dateiendung erzeugt einen mpeg-2 program stream container. Warum erstellt du den so etwas?

Cu Selur
Reply
#3
Besten Dank für die schnelle Antwort.
Stimmt mit dem mpg4 habe mich vertippt,
mkv wäre natürlich besser.

MfG
Edgar
Reply
#4
Hab Dir eine PM mit nem Link zu einer dev Version geschickt, bei der Du unter "Config->Input->Decoding->Use gpu for decoding->Method" auch 'cuda' auswählen kann. Wenn die Option aktiv ist, wird der Dekodingaufruf in FFmpeg um '-hwaccel cuda -hwaccel_output_format cuda' erweitert.

Cu Selur
Reply
#5
Quote:Stimmt mit dem mpg4 habe mich vertippt,
mkv wäre natürlich besser.
dann sollte da "-f mpeg" auch weg. Wink

Cu Selur
Reply
#6
Hallo,

die dev Version läuft bei mir nicht.

ede@ede-B350GT5:~/Downloads/hybrid$ ./Hybrid
Detected '/home/ede/Downloads/hybrid/misc.ini',...
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Abgebrochen (Speicherabzug geschrieben)
Reply
#7
Welche Hybrid Version hast Du den vorher verwendet?
Der 'xcb' Fehler weist auf irgendein Problem mit entweder vnc oder irgendwelchen qt Bibliotheken hin.
Konnte das Problem bis dato noch nie nachstellen, ein user hatte mal berichtet, dass ein entfernen der Qt Biblitoheken.
-> keine wirkliche Ahnung was da das Problem ist
Da Du auch 0-Info zu der Linux Version gesagt hast die Du nutzt,...

Cu Selur
Reply
#8
rev 2022.03.20.1 unter linux mint 20.3 cinnamon
Reply
#9
Hmm, hätte eigentlich erwartet, dass es unter Debian basierten Systemen das Problem nicht geben sollte.
Hattest Du den 'Hybrid Linux64bit (with base tools and most dependencies)'-Download oder den 'Hybrid Linux64bit' download verwendet?
Werde mal noch ne dev Version des 'Hybrid Linux64bit (with base tools and most dependencies)'-download erzeugen, vielleicht fixed das das Problem. Wenn ich den Download fertig habe schick ich nen Link, dauert aber etwas, weil ich alle Tools neu bauen muss. Smile

Cu Selur
Reply
#10
eventl alte configs löschen?
aber welche?
und wo?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)