[Cin] ffmpeg - cuda
phylsmith2017 at gmail.com
Fri Apr 10 06:21:35 CEST 2020
There are 3 classes of hw accel in cinelerra via ffmpeg. vaapi, vdpau, and
cuda. The generic hw interface of ffmpeg is use to select hw decoding
using the selected preference in the
settings->preferences->performance->use hw device popup menu. The
decode_activate operation attempts to decode the first hw frame, and if the
initialization fails then the sw decoder is used as a fallback. The normal
3rd party build will configure and build a current version of ffmpeg with a
few patches that provide improved operation. I would recommend using it.
The standard cmdline versions of ffmpeg and ffprobe are built into the
thirdparty build directory for ffmpeg with the normal static library builds.
To use the hw for transcodes is not exactly straight forward from the
command line. For example, vdpau is decode only.
There are free and non-free versions, and the non-free versions are not in
the 3rd party build. There is a vaapi transcode src code example in
ffmpeg-4.2/doc/examples/vaapi_transcode.c. It probably only works with a
limited set of codec formats.
It is a good idea to load, vainfo, vdpauinfo. See "hardware acceleration"
in the "Performance andTips" chapter 19 of CinelerraGG_Manual.pdf on the
Various nvidia codecs require non free api library interfaces. The
implementation may require at least a certain version of nvidia software or
library baselines before it can work properly. I would have to study the
exact problem you are trying to solve, and the code support before it can
be determined if the library can do the problem you wish to solve.
Please feel free to ask specific questions. gg
On Thu, Apr 9, 2020 at 7:14 PM <sergiogomez at tostado.com.ar> wrote:
> Hi all. I'm a debian user, but today I compiled ffmpeg (why?) with
> hardware acceleration (based on https://developer.nvidia.com/ffmpeg )
> I want to use this ffmpeg version to encode (rendering) in CinGG. It's
> possible without --with-cuda option in CinGG compilation?
> I can use "ffmpg -hwaccel cuvid " in console to transcode, but those are
> input parameters, not just output options.
> Thaks all
> Cin mailing list
> Cin at lists.cinelerra-gg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cin