Replies: 1 comment 2 replies
-
I do not think IIRC that lavfi metadata is converted to mpv metadata... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I develop a desktop music player using libmpv and I would like to make use of the metadata from the
astats
filter to create a peak meter. I have tried prependingastats=metadata=1
to myaf
fliter list which is applied usingmpv_set_property
(I also have equalizer af filters and those are working properly). I then try to observe the peak property withmpv_observe_property(mpv, 0 /*userdata*/, "af-metadata/lavfi.astats.Overall.Peak_level", MPV_FORMAT_DOUBLE)
but I am not getting any property change events. Observing a different property like "time_pos" is working.I am not sure what I am doing wrong. Basically trying to do what was described in #2645 but unfortunately there's no sample code in that issue once the original reporter got it working.
Beta Was this translation helpful? Give feedback.
All reactions