[Cin] Testing Nvidia Nvenc encoding

Terje J. Hanssen terjejhanssen at gmail.com
Fri Dec 27 01:10:53 CET 2024




Den 26.12.2024 23:15, skrev Phyllis Smith:
> Here is the AppImage with the latest nvencoders for Nvidia graphics 
> that goes with ffmpeg.
> https://cinelerra-gg.org/download/testing/cin-x86_64_nvencupdate.AppImage
> For comparison, here is the appimage containing the original 
> nvencoders from 2020.
> https://cinelerra-gg.org/download/images/CinGG-20241031-x86_64.AppImage

I've did a quick test with h64_nvenc.mp4 and h265_nvenc.mp4 (w/setting 
format=Not Interlaced)
Both AppImages works with similar fps speeds on my Nvidia GF GTX 960.

>
> I am not sure if encoding with formats h264_nvenc.mp4, h265_nvenc.mp4, 
> or h264_nvenc.qt actually work from an AppImage that was created on a 
> computer that does not have an Nvidea graphics card or its software.  
> But for some reason, I do not think that that matters and it should work.

Yes, nvenc works (as it correspondingly was expected to do with onevpl 
for  Intel qsv/hw).


>
>
> On Thu, Dec 26, 2024 at 2:11 PM Terje J. Hanssen 
> <terjejhanssen at gmail.com> wrote:
>
>
>
>
>     Den 24.12.2024 13:29, skrev Terje J. Hanssen:
>>
>>
>>
>>     Den 24.12.2024 00:58, skrev Phyllis Smith:
>>>     Downloaded latest version of nv-codec-headers release and built
>>>     CinGG with it and no problems here.  Unfortunately the 4
>>>     different computers I attempted to test on did not have the
>>>     correct Nvidia hardware or software. Why? I do not know but will
>>>     try one more later.
>>
>     According to the /Readme
>     /https://github.com/FFmpeg/nv-codec-headers
>
>         /FFmpeg version of headers required to interface with Nvidias
>         codec APIs./
>         /Corresponds to Video Codec SDK version 12.0.16./
>         /Minimum required driver versions:/
>         /Linux: 550.54.14 or newer/
>
>     As shown in my previous post, the legacy (2015) NV-GF GTX 960 runs
>     with the following nv driver version on Slowroll:
>
>         Graphics:
>           Device-1: Intel HD Graphics 530 driver: i915 v: kernel
>           Device-2: NVIDIA GM206 [GeForce GTX 960] driver: nvidia v:
>         550.135
>
>
>
>>     If you want and have a test download, I can give it a try on my
>>     legacy GF GTX 960 SkyLake workstation, to see if your new
>>     AppImage (still) works as previously.
>>
>>>
>>>     On Sat, Dec 21, 2024 at 4:04 PM Andrew Randrianasulu
>>>     <randrianasulu at gmail.com> wrote:
>>>
>>>
>>>
>>>         вс, 22 дек. 2024 г., 01:53 Phyllis Smith
>>>         <phylsmith2017 at gmail.com>:
>>>
>>>             Andrew,
>>>
>>>                 most likely our nv headers drifted from that
>>>                 ffmpeg-7.0/proprietary driver assumes at runtime.
>>>
>>>             I have been wondering about nv-codec-headers as we are at:
>>>             https://github.com/FFmpeg/nv-codec-headers/releases/tag/n10.0.26.0
>>>             but I am unsure about updating to:
>>>             https://github.com/FFmpeg/nv-codec-headers/releases/tag/n12.2.72.0
>>>             because if you look at:
>>>             https://github.com/FFmpeg/nv-codec-headers/releases/
>>>             the release versions go from 12.xx to 8.x and it is
>>>             really weird AND there is no year on the release dates
>>>             but just day and month.
>>>             Since it is such an important part of ffmpeg inside
>>>             CinGG, I am concerned but will at least try the
>>>             12.2.72.0 just to see what it does.
>>>
>>>
>>>         in theory it should give users of new nvidia hardware av1
>>>         encoding ...... but not sure how it will work with older
>>>         drivers and hardware.
>>>
>>>
>>>
>>>
>>>
>>>                 you can try to install something like
>>>                 nv-codec-headers and then add
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20241227/de398dc4/attachment.htm>


More information about the Cin mailing list