сб, 10 мая 2025 г., 16:20 Andrea paz <[email protected]>:
Andrea, can you test attached patch + this opts file put alongside test 4k HDR video decodable by hardware?
I compiled with the patch and put the opts in .../bin/ffmpeg. I don't think I know what and how to test. I loaded the iPhone13_tonemapping_checker_rev2.mp4 file you had provided. The playback performance is good (even in reverse, with only a few freezes). However, the video card does not activate and the CPU (not particularly busy) does everything. The behavior is the same even removing the opts. Suggestions?
PS: the same is true with the lines for zscale that you asked to put in the manual. Do I have to do an opts on it? How do I text it? I also don't quite understand how the line you report works.
you create file with .opts extension in same folder where your main_media_file.mov located. You name it main_media_file.opts You put test lines there. You might need RADV_PERFTEST=video_decode set before you launch cin. I usually just launch cin path_to_test_media/main_media_file.mov It should pick up .opts file from there. I did not try to put those lines in global decode.opts you also need to set cin to Vulkan decoding (should be already in git).