gpu detection #39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Automatically detect if we can use GPU to reencode the video
We could use the command :
ffmpeg -benchmark -f lavfi -i testsrc2=size=1920x1080:rate=60 \ -t 5 -c:v libx264 -f null -and replacing thelibx264with the encoder with wanna test (note that libx264 and so on are non-free so on some systems, they are not present)After, we just check the return code and if != 0, encoder isn't supported!
introduced in
1eac169d00