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

Export/render project using h264_vaapi not working

Tags: None
(comma "," separated)
User avatar
dmeszlender
Registered Member
Posts
2
Karma
0
Hello,

I'm trying to export a project using vaapi on my Intel GPU.

Ubuntu 18.04 x64
Dell XPS 13 9360 with Intel 7200U and 8GB RAM
Kdenlive Version 17.12.3

Using vaapi to create proxy clips with
Code: Select all
-vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -i -vf scale_vaapi=960:-2 -c:a aac -c:v h264_vaapi

works with no problems, and there is a high GPU usage and the conversion is much faster than with just the CPU
https://i.imgur.com/IA5c8u1.png

But when I'm trying to export the project with the following profile options, there is no additional GPU usage, and the export takes a long time (over 40 minutes).
Code: Select all
f=mp4 vcodec=h264_vaapi vb=14000k acodec=aac ab=128k

https://i.imgur.com/fwWQOpQ.png

Am I using wrong options in my export profile, do I have to specify the vaapi device like I have to do for the proxy files?

Thanks a lot for taking your time reading this and helping me.

Cheers, David
Merlimau
Registered Member
Posts
986
Karma
8
Should work with Kdenlive 17.04.1:
https://kdenlive.org/en/2017/05/kdenliv ... -released/

Should work in proxy and transcoding, for example: -vaapi_device /dev/dri/renderD128 -hwaccel vaapi -hwaccel_output_format vaapi -i -an -c:v dnxhd Will insert source file name after "-i"

see here: https://cgit.kde.org/kdenlive.git/commi ... 2b5d984811
User avatar
dmeszlender
Registered Member
Posts
2
Karma
0
Hi Merlimau,
thanks for your answer.

I've read that news post, hence why I'm trying to use vaapi.
Like I've wrote, transcoding/creating proxy clips work without any problems with the options I used.

Only rendering the finale project apparently doesn't use the GPU/vaapi.
The news post made it sound like, that we could also use vaapi for rendering the finale project, just like we can use the NVENC chip on Nvidia cards.

... ability to use VAAPI in transcoding and rendering ...


Do I have to use other settings in my export profile, or is it just not possible to use vaapi for that and only for transcoding/creating proxy clips?

Thanks again,
David
Merlimau
Registered Member
Posts
986
Karma
8
Here some interesting mailing-list exchanges:

https://mail.kde.org/pipermail/kdenlive ... 10282.html --> about vaapi

https://mail.kde.org/pipermail/kdenlive ... 10283.html -> about nvenc and slowing up/down render time.

Maybe you get a step further.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]