This forum has been archived. All content is frozen. Please use KDE Discuss instead.

create new rendering profile - new vcodec=libnvenc

Tags: None
(comma "," separated)
agubarkov
Registered Member
Posts
2
Karma
0
I've just compiled a new experimental ffmpeg with NVENC to offload H.264 encoding to an nvidia GPU (kepler or later). (patch from Brainiarc7, worked ok for ffmpeg-2.5.4).

When I try to create a new rendering profile with vcodec=libnvenc, kdenlive 0.9.10 complains about unsupported codec and does not allow to use a new profile. If I create a script and add vcode=libnvenc to the script, rendering completes successfully using my GPU.

Can I change kdenlive to allow libnvenc codec by changing a config file?

Thanks
Anton.
vpinon
KDE Developer
Posts
708
Karma
6
OS
You should rebuild MLT against new libavcodec...
But then I don't know if MLT passes the codec directly or not, if it needs changes to handle nvenc?
Let us know ;-)
agubarkov
Registered Member
Posts
2
Karma
0
I'm on Gentoo distro. When I rebuild ffmpeg, all packages that use it are rebuilt by a package manager automatically - i.e. MLT does accept vcodec=libnvenc. Here is the render script snippet I used to test it. I added vcodec=libnvenc vb=8000k by hand. The render finished successfully taking 6 times less CPU time than using x264.

Code: Select all
PARAMETERS="-pid:19812 in=16351 out=66831 $MELT atsc_1080i_50 avformat - $SOURCE $TARGET vcodec=libnvenc vb=8000k progressive=1 g=120 crf=20 ab=160k threads=6 real_time=-1"
$RENDERER $PARAMETERS


So, I recon that only the kdenlive render dialog is the problem.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient