<div dir="auto"><div><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">сб, 10 мая 2025 г., 16:20 Andrea paz <<a href="mailto:gamberucci.andrea@gmail.com">gamberucci.andrea@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>> Andrea, can you test attached patch +  this opts file put alongside<br>
>> test 4k HDR video  decodable by hardware?<br>
<br>
I compiled with the patch and put the opts in .../bin/ffmpeg.<br>
I don't think I know what and how to test. I loaded the<br>
iPhone13_tonemapping_checker_rev2.mp4 file you had provided. The<br>
playback performance is good (even in reverse, with only a few<br>
freezes). However, the video card does not activate and the CPU (not<br>
particularly busy) does everything. The behavior is the same even<br>
removing the opts. Suggestions?<br>
<br>
PS: the same is true with the lines for zscale that you asked to put<br>
in the manual. Do I have to do an opts on it? How do I text it?<br>
I also don't quite understand how the line you report works.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">you create file with .opts extension in same folder where your main_media_file.mov located.</div><div dir="auto"><br></div><div dir="auto">You name it main_media_file.opts</div><div dir="auto"><br></div><div dir="auto">You put test lines there.</div><div dir="auto"><br></div><div dir="auto">You might need </div><div dir="auto"><br></div><div dir="auto">RADV_PERFTEST=video_decode set before you launch cin. I usually just launch cin path_to_test_media/main_media_file.mov </div><div dir="auto">It should pick up .opts file from there.</div><div dir="auto"><br></div><div dir="auto">I did not try to put those lines in global decode.opts</div><div dir="auto"><br></div><div dir="auto">you also need to set cin to Vulkan decoding (should be already in git).</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>