Kdenlive and MLT nvenc enabled
Evert Vorster
evorster at gmail.com
Thu Apr 20 00:44:36 UTC 2017
Hi there.
I also transcode a lot of older video to x265 on my nVidia GTX 960 using
nvenc, and using the ffmpeg and the hardware encoder does make about an
order of magnitude difference on framerate during encoding.
To achieve this on Arch, I had to install ffmpeg-nvenc from aur, and have
the right hardware, of course.
I believe that mlt should pass through ffmpeg options, so if ffmpeg
supports it, mlt should too, without the need to recompile. Unfortunately I
am now far away from home, and my linux is running in a virtual machine and
I won't be able to test it for a couple of weeks. In Arch, at least,
mlt-git optionally depends on ffmpeg-nvenc, so in the worst case you might
have to recompile that, too.
Once the foundation is in place, it should be simple enough to have
kdenlive allow libnvenc in the rendering profiles. File a bug report saying
that kdenlive does not support all the encoders that mlt supports, and
point to the thread above. Be warned that you will have to do a lot of
troubleshooting on your own if using libnvenc breaks things for you. You
can even follow the same actions and generate a script from kdenlive, and
modify the encoder yourself and see if it works for you.
Kind regards,
Evert Vorster
On 19 April 2017 at 13:51, ricciolo9 . <luca.ricciolo at gmail.com> wrote:
> Hi guys. I compiled ffmpeg with the nvenc enabled to encode h264 and h265
> videos using my nvidia gtx 1060 card.
> I have a huge difference in transcoding 10x more. From 20/22 fps using
> libx264 I passed to about 220/230 fps using nvenc.
> Ok my Cpu is only an i5 750 and for my pc the GPU makes the difference.
> Now I use a profile on kdenlive for transcode and resize the proxy clip
> using ffmpeg nvenc enable with an improvement of more than 2x vs my CPU
> with libx264.
>
> So I ask at the MLT mailing list if I can use this encoding power in
> rendering using MLT. Maybe compiling it with the ffmpeg nvenc enabled.
> And they found this 2015 discussion.
>
> https://forum.kde.org/viewtopic.php?f=272&t=125304#p330864
>
> It seems that someone compiled MLT with nvenc enabled on ffmpeg and works.
> But the render dialogue of the Kdenlive doesn't permit the libnvenc
> option.
>
> They talk about an improvement of 6x on MLT using nvenc. On 2015 doesn't
> exists my nvidia gtx 1060 and I don't know the CPU and the GPU used on the
> test but could be always a very good improvement.
>
> Someone tried to use a compiled MLT version with nvenc on Kdenlive?
>
> Thanks.
>
--
Evert Vorster
Isometrix Acquistion Superchief
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdenlive/attachments/20170420/b4c32369/attachment.html>
More information about the kdenlive
mailing list