Created
July 17, 2019 18:49
-
-
Save djismgaming/09e6ebd576c53f12111b15a4e9cfaf0e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i "inputfile" -vf 'format=nv12,hwupload' -map 0:0 -map 0:1 -threads 2 -aspect 16:9 -y -f matroska -acodec copy -b:v 12500k -vcodec h264_vaapi "output file" | |
| #for script | |
| ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i "$1" -vf 'format=nv12,hwupload' -map 0:0 -map 0:1 -threads 2 -aspect 16:9 -y -f matroska -acodec copy -b:v 12500k -vcodec h264_vaapi "$1_video" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment