Hardware accelerated MP4 video conversion with ffmpeg.

This commit is contained in:
giomba 2022-12-01 22:07:10 +01:00
parent cb070f4873
commit 63daf2a21b
1 changed files with 6 additions and 0 deletions

6
ffmpeg.md Normal file
View File

@ -0,0 +1,6 @@
# ffmpeg
- Hardware accelerated MP4 video conversion
```
ffmpeg -i input_video.webm -vaapi_device /dev/dri/renderD128 -vcodec h264_vaapi -vf format='nv12|vaapi,hwupload' output_video.mp4
```