Avidemux Forum

Avidemux => Windows => Topic started by: pulsarstar on June 18, 2021, 03:36:02 PM

Title: CUDA video encoding ?
Post by: pulsarstar on June 18, 2021, 03:36:02 PM
Hi,
From my observation on my pc
When I encode a video Avidemux version 2.7.9 is not using
CUDA video encoding.
Does Avidemux not have this option?
Does it need turning on in the settings?
Thanks.

Title: Re: CUDA video encoding ?
Post by: eumagga0x2a on June 18, 2021, 04:02:35 PM
Avidemux supports NVENC on Windows and Linux via FFmpeg, VA-API (libva) on Linux only (partially direct, partially via FFmpeg) and VideoToolbox on macOS only (via FFmpeg). That's all for now.
Title: Re: CUDA video encoding ?
Post by: pulsarstar on June 18, 2021, 04:22:39 PM
so I would have to set
Video Output to DV (ffmpeg)
This appears to be my only option for (ffmpeg)
OR would I find it else where ?
to activate the use of CUDA video encoding.
Thanks
Title: Re: CUDA video encoding ?
Post by: eumagga0x2a on June 18, 2021, 06:24:34 PM
Quote from: pulsarstar on June 18, 2021, 04:22:39 PMso I would have to set
Video Output to DV (ffmpeg)

No, absolutely not, unless you really need the obsolete DV codec for some specific purposes. Of course, the libavcodec DV encoder performs all computations on the CPU.

To use a HW accelerated encoder (H.264 or HEVC) on a PC with a sufficiently recent NVIDIA graphics card, you need to select either "Nvidia H264" or "Nvidia HEVC" encoder.

Quote from: pulsarstar on June 18, 2021, 04:22:39 PMo activate the use of CUDA video encoding.

Again, there is none. If you wish one, you need to implement it yourself and submit the patch as a pull request for the Avidemux project on GitHub.
Title: Re: CUDA video encoding ?
Post by: pulsarstar on June 18, 2021, 07:31:51 PM
Thank you for your thoughts eumagga0x2a.
Your suggestion works very well.
Cheers