two auto profiles overlap #14062
-
mpv version: mpv-x86_64-20240505-git-c4b6d0d Sorry for the issue, but my question is simple; and you guys are the best place to ask In my MPV.conf I have two auto profiles:
the goal is for [hdr] to load when playing hdr video, and [hdrImages] to load only when opening avif (and jxr) HDR images in the future. The current behavior is both [hdr] and [hdrImages] get loaded when opening a HDR .AVIF image, causing target-peak and tone-mapping to get inherited from [hdr] -- something I don't want -- I'd like [hdrImages] to have essentially no "post-processing" -- just display the image I know I can add a bunch of extension checks to the [HDR] profile, similar to how [hdrImages] checks if a file is a .avif file -- but I'm hoping to avoid that. I was wondering if there is a flag I can add to [hdrImages] so it ignores mpv.conf or the [hdr] auto profile Thanks guys! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
I think I found a hacky workaround, basically for [HDR] I check if container_fps is >1
this way [hdr] loads only when playing back hdr video, and [hdrImages] loads only when opening hdr images I'm keeping this open incase there is a more "elegant"/"proper" way of handling things |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
thanks a lot man, I spent a while googling, asking chatgpt, etc -- this is probably the best solution. I really appreciate it. Here are the auto-profiles I ended up making.
|
Beta Was this translation helpful? Give feedback.
-
You may want to use |
Beta Was this translation helpful? Give feedback.
-
Should we not try to hardware decode images? I can hardware decode at least at least baseline jpgs with vaapi (but not progressive ones) but it doesn't make any visible difference. |
Beta Was this translation helpful? Give feedback.
p['current-tracks/video/image'] == false