AMF icon indicating copy to clipboard operation
AMF copied to clipboard

HEVC VFR

Open visuall opened this issue 3 years ago • 3 comments

Hello,

Is there any way to produce VFR HEVC video ? I do not see anything documented.

Best Regards

visuall avatar Jun 06 '22 13:06 visuall

AMF encoder doesn't maintain any timing - it is just a library, it encodes ASAP. And it passes timestamps through. VFR is achieved by timestamps in the container. So unless you want some customized bitrate control policy, VFR can be achieved by the calling app.

MikhailAMD avatar Jun 06 '22 13:06 MikhailAMD

Thanks, I was thinking the same and even implemented such solution. The produced media files are reported as VFR and most of the players ( like VLC, WMP, etc. ) have no issues with them. However some cause video stuttering on Mac OS and iOs at specific positions. I can not really find any pattern or why this could be happening. Same videos encoded with CFR are Ok. VFR seems also Ok but when I use NVENC and not AMD AMF for this. So really confused. Any ideas what can it be ?

visuall avatar Jun 08 '22 12:06 visuall

Did you compare result timestamps in AMD and NV files? If you can share NV and AMD outputs I can ask codec folks to look into differences.

MikhailAMD avatar Jun 08 '22 13:06 MikhailAMD