-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi there,
I'm facing an issue with the MPV UI lagging when playing low FPS videos with video-sync=audio. However, this issue doesn't occur when using video-sync=display-resample. I want to set video-sync=audio only when it's necessary (only when skipsilence is working).
Currently, I've adjusted my mpv.conf with a condition profile like this:
# If the UI feels sluggish/slow while playing video
# [Credit] https://github.com/tomasklaen/uosc
video-sync=display-resample
[auto-skipsilence-videosync]
profile-cond=get("user-data/skipsilence/working") # change from enabled to working
profile-restore=copy-equal
video-sync=audioHowever, I'm not sure where to place the following lines in the Lua script:
mp.set_property_bool("user-data/skipsilence/working", false) --when skipslience is not working
mp.set_property_bool("user-data/skipsilence/working", true) --when skipslience is not workingAny guidance on where to put these would be greatly appreciated!
Thanks in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels