<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Thanks for reply! I could compile CinGG with cuda, I used debian's package nvidia-cuda-sdk to compile ffmpeg and CinGG too, but cuda samples is needed too (basically, helper_cuda.h and few more). Debian use /usr/lib/cuda for libs and /usr/bin for nvcc, so I must to create a symbolic to /usr/lib/cuda/bin/nvcc (export variable path was not sufficient, compilation procces search nvcc un CUDA_PATH/bin/nvcc) that's all.</p>
<p><br /></p>
<p>My original question was: Can I pass some imput parameters to ffmpeg in render process? And I ask this again. Why? Becase <span>ffmpeg </span><span>-hwaccel cuvid can enconder x264 at 13,7x and without this parameter, just 2.5x. And at the moment, x264 is sufficient for me.</span></p>
<p><span>Thanks a lot! Sincerelly.</span></p>
<p><br /></p>
<p><span>Sergio</span></p>
<p>El 2020-04-10 01:21, Phyllis Smith escribió:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<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;"> </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.</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;"> </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;"> </div>
<div class="gmail_default" style="font-size: small;">Please feel free to ask specific questions.  gg</div>
<div class="gmail_default" style="font-size: small;"> </div>
</div>
<br />
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Thu, Apr 9, 2020 at 7:14 PM <<a href="mailto:sergiogomez@tostado.com.ar">sergiogomez@tostado.com.ar</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; 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" rel="noopener noreferrer">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 "ffmpeg <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">Cin@lists.cinelerra-gg.org</a><br /> <a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" target="_blank" rel="noopener noreferrer">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a></blockquote>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
</blockquote>
<p><br /></p>

</body></html>