ItamarP
ItamarP

Reputation: 13

ffmpeg - How to configure ref param for h264_nvenc encoder

I'm trying to configure and replace libx264 encoder with h264_nvenc NVIDIA encoder. I want to replace the parameter -x264-params ref=4 with it's parallel nvenc parameter. I used ffmpeg -hide_banner -h encoder=h264_nvenc to see all available options but couldn't find any proper replacement. Any advice?

Upvotes: 1

Views: 1615

Answers (1)

the kamilz
the kamilz

Reputation: 1988

It looks like in the latest ffmpeg source they added dpb_size parameter and it somewhat directly infulences refs parameter internally. Give it a shot.

Upvotes: 2

Related Questions