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

[Feature Request] Add option for video codec h264_qsv

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

I found that Kdenlive cannot recognise video codec h264_qsv
(but this is actually contained in the FFmpeg package)
(and it provides a parameter named -global_quality for crf)

Could any great developer add support to this video codec?
or provide more flexibility on render script,
such as grant the user-defined the codecs.

Thank you very much ^-^ !
whiskerp
Registered Member
Posts
4
Karma
1
Hi, I have managed to render H264 and HEVC (H265) using the Intel 620 QSV acceleration on Kdenlive on Windows 10 as follows:

1) I am using the current version of KdenLive (20.04.1)
2) Install Kdenlive and also install Shotcut v200412
3) In settings... Configure Kdenlive.. Environment point the ffmpeg and melt as follows:
C:/Program Files/Shotcut/ffmpeg.exe
C:/Program Files/Shotcut/ffplay.exe
C:/Program Files/Shotcut/ffprobe.exe
C:/Program Files/Shotcut/share/mlt/profiles
C:/Program Files/Shotcut/qmelt.exe
4) Create Custom Render scripts like:
H265:
f=mp4 movflags=+faststart init_hw_device=qsv:hw filter_hw_device=hw vf='hwupload=extra_hw_frames=64,format=qsv' global_quality=%quality hwaccel=qsv vcodec=hevc_qsv preset=veryslow progressive=1 g=15 bf=2 acodec=aac ab=%audiobitrate+'k'
H264:
f=mp4 movflags=+faststart init_hw_device=qsv:hw filter_hw_device=hw vf='hwupload=extra_hw_frames=64,format=qsv' global_quality=%quality hwaccel=qsv vcodec=h264_qsv preset=veryslow progressive=1 g=15 bf=2 acodec=aac ab=%audiobitrate+'k'
5) Select "Bypass codec verification" in the Kdenlive general configuration.

This cuts a 90 minute 264 render down to 20 mins on my Dell 5500 laptop, and a 2 hour HEVC down to 30 mins.

The Shotcut version of melt/qmelt and ffmpeg libraries support the QSV accelerated Codecs.

I'm sure the kdenlive developers could easily provide the necessary support?
charliebellow
Registered Member
Posts
1
Karma
0
I have the same problem. I can't work with h.264 and h265 files, it says that OpenEncodeSessionEX has failed and that h.264 NVENC files are not supported. "
User avatar
stephenesseenyne
Registered Member
Posts
22
Karma
0
OS
Nice one, @WhiskerP

Update

There is some activity with the GPU, around 0.4%.

I've decided, and it works for me, to edit with Kdenlive and export with Shotcut seeing as the .kdenlive opens like an .mlt file in Shotcut. A little trimming before exporting and it's good to go.


Bookmarks



Who is online

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