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

MLT/vaapi Assistance Needed

Tags: None
(comma "," separated)
cgeek
Registered Member
Posts
2
Karma
0

MLT/vaapi Assistance Needed

Thu May 23, 2019 6:23 pm
Hey all. Long time Kdenlive user (2016-present) and I'm having a problem.

I have GPU acceleration turned on in Settings, and that seems to work OK.
I have a custom MP4 profile:
Code: Select all
properties=x264-medium f=mp4 vcodec=h264_vaapi acodec=aac g=120 crf=%quality ab=%audiobitrate+'k'


As you can see, I am attempting to use VA-API hardware acceleration to speed up render times.
When I have
Code: Select all
vcodec=h264_vaapi
set, there is little CPU usage and some GPU usage. The resulting file only has audio, but no video.
When I have
Code: Select all
vcodec=libx264
set, there is lots of CPU usage and some GPU usage. The resulting file has both audio and video.

How do I configure my profile so I can use VA-API hardware acceleration for rendering AND get a file with video and audio?

Thanks in advance.
User avatar
pappl
Registered Member
Posts
22
Karma
0

Re: MLT/vaapi Assistance Needed

Tue May 28, 2019 1:49 pm
Try this:

Code: Select all
vaapi_device=/dev/dri/renderD128 vf='format=nv12,hwupload' properties=x264-medium f=mp4 vcodec=h264_vaapi threads=4 real_time=-1 preset=faster acodec=aac g=120 crf=%quality ab=%audiobitrate+'k'


Video Quality options set to: 15,20,28,32,45
Audio Quality options set to: 320,256,192,128

If you have more than 4 cpu threads (inkl. hyperthreading) then adjust
Code: Select all
threads=



pappl


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]