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.

VAAPI-Encoding (Linux/Arch)
#7
"arch" hat hier tatsächlich die Eigenart, die Device-Zuornung nach einem Reboot zu ändern. Mal ist es "/dev/dri/renderD128" bei nächsten Reboot ist es "/dev/dri/renderD128". Weiß der Deibel warum.
Deswegen hab ich in meinem ffmpeg-Script einfach eine primitive Abfrage eingebaut:
for var in 128 129 130 do   vainfo --display drm --device /dev/dri/renderD$var &>/dev/null     if [ $? -eq 0 ]       then         devi=$var         break     fi done
Ist ja unwarscheinlich das jemand mehr als 3 Grafikkarten im Rechner hat. Und es fängt immer mit "128" an.
Klappt natürlich nur mit INTEL-Device.

Wie wäre es denn wenn der User die kompletten Encoding-settings selbst in einem Hybrid-custom-encoder eintragen könnte, per Kommandozeile ?

Nur so ne Idee.
Reply


Messages In This Thread
VAAPI-Encoding (Linux/Arch) - by ggrub08 - 30.07.2018, 22:23
RE: VAAPI-Encoding (Linux/Arch) - by Selur - 31.07.2018, 05:36
RE: VAAPI-Encoding (Linux/Arch) - by ggrub08 - 31.07.2018, 10:27
RE: VAAPI-Encoding (Linux/Arch) - by Selur - 31.07.2018, 17:33
RE: VAAPI-Encoding (Linux/Arch) - by ggrub08 - 31.07.2018, 21:21
RE: VAAPI-Encoding (Linux/Arch) - by Selur - 01.08.2018, 05:16
RE: VAAPI-Encoding (Linux/Arch) - by ggrub08 - 04.08.2018, 13:51
RE: VAAPI-Encoding (Linux/Arch) - by Selur - 04.08.2018, 15:28
RE: VAAPI-Encoding (Linux/Arch) - by ggrub08 - 04.08.2018, 17:00
RE: VAAPI-Encoding (Linux/Arch) - by Selur - 04.08.2018, 17:36
RE: VAAPI-Encoding (Linux/Arch) - by Selur - 05.08.2018, 09:26
RE: VAAPI-Encoding (Linux/Arch) - by Selur - 05.08.2018, 10:13
RE: VAAPI-Encoding (Linux/Arch) - by ggrub08 - 05.08.2018, 14:59
RE: VAAPI-Encoding (Linux/Arch) - by Selur - 05.08.2018, 15:36
RE: VAAPI-Encoding (Linux/Arch) - by ggrub08 - 07.08.2018, 14:48
RE: VAAPI-Encoding (Linux/Arch) - by Selur - 07.08.2018, 17:13

Forum Jump:


Users browsing this thread: 1 Guest(s)