<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">GG writes:</div><div class="gmail_default" style="font-size:small">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.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">To use the hw for transcodes is not exactly straight forward from the command line.  For example, vdpau is decode only.<br></div><div class="gmail_default" style="font-size:small">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.</div><div class="gmail_default" style="font-size:small">It is a good idea to load, vainfo, vdpauinfo.  See "hardware acceleration" in the "Performance andTips" chapter 19 of CinelerraGG_Manual.pdf on the website.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">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.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Please feel free to ask specific questions.  gg<br></div><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 9, 2020 at 7:14 PM <<a href="mailto:sergiogomez@tostado.com.ar">sergiogomez@tostado.com.ar</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi all. I'm a debian user, but today I compiled ffmpeg (why?) with hardware acceleration (based on <a href="https://developer.nvidia.com/ffmpeg" target="_blank">https://developer.nvidia.com/ffmpeg</a> )</p>
<p>I want to use this ffmpeg version to encode (rendering) in CinGG. It's possible without --with-cuda option in CinGG compilation? </p>
<p>I can use "ffmpg <span>-hwaccel cuvid " in console to transcode, but those are input parameters, not just output options.</span></p>
<p>Thaks all</p>
<p><br></p>
<p>Sergio</p>

</div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div></div>