{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/1678","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/1678/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/1678/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/1678/events","html_url":"https://github.com/mpv-player/mpv/issues/1678","id":60868819,"number":1678,"title":"Prefetch audio data in af?","user":{"login":"xylosper","id":4363181,"avatar_url":"https://avatars.githubusercontent.com/u/4363181?v=3","gravatar_id":"","url":"https://api.github.com/users/xylosper","html_url":"https://github.com/xylosper","followers_url":"https://api.github.com/users/xylosper/followers","following_url":"https://api.github.com/users/xylosper/following{/other_user}","gists_url":"https://api.github.com/users/xylosper/gists{/gist_id}","starred_url":"https://api.github.com/users/xylosper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xylosper/subscriptions","organizations_url":"https://api.github.com/users/xylosper/orgs","repos_url":"https://api.github.com/users/xylosper/repos","events_url":"https://api.github.com/users/xylosper/events{/privacy}","received_events_url":"https://api.github.com/users/xylosper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-12T18:17:13Z","updated_at":"2015-03-12T18:18:27Z","closed_at":null,"body":"I'm trying to apply C++ library DynamicAudioNormalizer from http://muldersoft.com/docs/dyauno_readme.html but it requires looking ahead data about several seconds to find local gain factor.\r\nI tried filter_out() and it works fine sometimes but also it causes out of sync of audio/video often.\r\n\r\nvf can prefetch video frames by returing true in using needs_input().\r\nIs it possible for af to prefetch audio data for looking ahead?\r\nIf not, can I expect it could be implemented?"},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/78554099","html_url":"https://github.com/mpv-player/mpv/issues/1678#issuecomment-78554099","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/1678","id":78554099,"user":{"login":"wm4","id":1387750,"avatar_url":"https://avatars.githubusercontent.com/u/1387750?v=3","gravatar_id":"","url":"https://api.github.com/users/wm4","html_url":"https://github.com/wm4","followers_url":"https://api.github.com/users/wm4/followers","following_url":"https://api.github.com/users/wm4/following{/other_user}","gists_url":"https://api.github.com/users/wm4/gists{/gist_id}","starred_url":"https://api.github.com/users/wm4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wm4/subscriptions","organizations_url":"https://api.github.com/users/wm4/orgs","repos_url":"https://api.github.com/users/wm4/repos","events_url":"https://api.github.com/users/wm4/events{/privacy}","received_events_url":"https://api.github.com/users/wm4/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T18:18:27Z","updated_at":"2015-03-12T18:18:27Z","body":"Currently you need to set ``af->delay``. I'm also planning for changing it to use per-frame timestamps, but haven't realized this yet."}}