[FFmpeg-user] How to select GPU in a multi GPU system

Budi budikusasi at gmail.com
Fri Jul 8 04:05:37 EEST 2022

How can just do a crop/trim video MP4, after update, now ffmpeg take
so longer, many more process

$ ffmpeg -i "b.mp4" -to 0:2:20  a.mp4

used to do it nicely done in few seconds

Also what different it and ffmpeg4.4 seen in most Linux repo?

Please help out

On 7/8/22, Thomas Volkert <silvo at gmx.net> wrote:
> Hi,
> Am 05.07.2022 um 02:06 schrieb DopeLabs:
>> hello,
>> how does one select which GPU to use for hardware acceleration when more
>> than 1 GPU is installed in the system?
>> some searching seemed to hint at using the -gpu option but it looks like
>> that option has been deprecated? the option does not appear in the man
>> pages or on the documentation pages on the ffmpeg website. trying to use
>> the option seems to fail.
>> thank you
>> $ ffmpeg -i test.mov -c:v h264_videotoolbox -gpu 1 test.mp4
> It looks like you try this on macOS. The OS API there doesn't support to
> select the GPU explicitly. It hides the GPU selection completely as
> internal magic.
> Best regards,
> Thomas.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list