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

How to change bitrate when using HEVC VAAPI Codec?

Tags: hevc, kdenlive, vaapi hevc, kdenlive, vaapi hevc, kdenlive, vaapi
(comma "," separated)
User avatar
pappl
Registered Member
Posts
22
Karma
0
Hi,

i can't change HEVC bitrate when rendering using hevc_vaapi codec.

Code: Select all
f=mp4 movflags=+faststart hwaccel_device=/dev/dri/renderD128 vf='format=nv12,hwupload' c:v=hevc_vaapi vcodec=hevc_vaapi crf=15 threads=4 preset=medium g=12 bf=2 acodec=aac ab=256k


Final video stays at only 4Mbit/s

Code: Select all
f=mp4 movflags=+faststart hwaccel_device=/dev/dri/renderD128 vf='format=nv12,hwupload' c:v=hevc_vaapi vcodec=hevc_vaapi vb=15M threads=4 preset=medium g=12 bf=2 acodec=aac ab=256k


Final video stays at only 4Mbit/s :(

It does work using h264_vaapi codec.

What's the correct parameter for hevc_vaapi codec to change video bitrate?


pappl
Is there
User avatar
pappl
Registered Member
Posts
22
Karma
0
Bitrate change doesn't work.
Tried
vb=10M
b:v=10M
crf=15
crf=30

Found this bug documentation, but no fix:
https://www.mail-archive.com/ffmpeg-trac@avcodec.org/msg45416.html


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]