Hallo liebe Community,
ich hoffe, dass ich hier bei euch mit meiner Frage richtig bin, da für mich ffmpeg noch rechtes Neuland darstellt, obwohl ich
mittlerweile schon Bescheid weiß, wie man mittels entsprechender Codezeilen in diesem Programm Videos bearbeten kann.
Es ginge mir nun um folgende Sache.
Ich würde sehr gerne eine Video und Audiospur verlustfrei zusammenfügen, was ich auch mittels ffmpeg hinbekam.
Ich würde dies allerdings nun gerne mittels DXVA2 erledigen und fand hierzu folgende englische Beschreibung (siehe unten).
Obwohl ich jedoch der englischen Sprache mächtig bin, fehlt mir noch schlichtweg das nötige Verständnis, diese Beschreibung auch umzusetzen.
Ich verstehe weder was ein dxva2ap.h header ist, noch ein MinGW.
Ich wäre jedem dafür dankbar, der es mir auf etwas einfacherer Weise erklären könnte, wie ich DXVA2 per FFmpeg zum Laufen bekommen könnte.
Einen herzlichen Dank im Voraus dafür.
------------------------------------------------------------
DXVA2
Direct-X Video Acceleration API, developed by Microsoft (supports Windows and XBox360).
Several decoders are currently supported, in particular H.264, MPEG-2, VC-1 and WMV 3.
DXVA2 hardware acceleration only works on Windows. In order to build FFmpeg with DXVA2 support, you need to install the dxva2api.h header.
For MinGW this can be done by downloading the header maintained by VLC and installing it in the include path (for example in /usr/include/
).
For MinGW64, dxva2api.h
is provided by default. One way to install mingw-w64 is through a pacman
repository, and can be installed using one of the two following commands, depending on the architecture:
To enable DXVA2, use the --enable-dxva2
ffmpeg configure switch.
To test decoding, use the following command: