{"action":"opened","issue":{"url":"https://api.github.com/repos/lukasf/FFmpegInterop/issues/14","repository_url":"https://api.github.com/repos/lukasf/FFmpegInterop","labels_url":"https://api.github.com/repos/lukasf/FFmpegInterop/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/lukasf/FFmpegInterop/issues/14/comments","events_url":"https://api.github.com/repos/lukasf/FFmpegInterop/issues/14/events","html_url":"https://github.com/lukasf/FFmpegInterop/issues/14","id":299229303,"number":14,"title":"Suggestions for reducing the number of sample requests","user":{"login":"MouriNaruto","id":10867563,"avatar_url":"https://avatars2.githubusercontent.com/u/10867563?v=4","gravatar_id":"","url":"https://api.github.com/users/MouriNaruto","html_url":"https://github.com/MouriNaruto","followers_url":"https://api.github.com/users/MouriNaruto/followers","following_url":"https://api.github.com/users/MouriNaruto/following{/other_user}","gists_url":"https://api.github.com/users/MouriNaruto/gists{/gist_id}","starred_url":"https://api.github.com/users/MouriNaruto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MouriNaruto/subscriptions","organizations_url":"https://api.github.com/users/MouriNaruto/orgs","repos_url":"https://api.github.com/users/MouriNaruto/repos","events_url":"https://api.github.com/users/MouriNaruto/events{/privacy}","received_events_url":"https://api.github.com/users/MouriNaruto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-22T05:44:23Z","updated_at":"2018-02-22T05:44:23Z","closed_at":null,"author_association":"NONE","body":"I've read the performance report, and if you use Media Foundation directly, you should have up to 5% more performance. (Reduce one copy per requesting.)\r\n\r\nSo, I think I should find another idea to improve this fork.\r\n\r\nWhen I modify the UncompressedAudioSampleProvider class in my repo, I found if I modify it slightly the audio play will stuck.\r\nSo I debug the the AVPacket queue, and I found there wil be more than 3000 AVPackets in the queue if I play my test 4k 120fps 8bit video.\r\n\r\nSo, I have an idea. \r\n\r\nHow about decoding all AVPackets in the queue and make it in one MediaStreamSample.\r\nIt may reduce the request time.\r\n\r\nAlso I read the Microsoft's FFmpegInterop, and I found it will do the similar thing in the audio queue. (But they're just trying to gather up the minimum sampling time.)\r\n\r\nSo, I think you can try it in the audio queue. Also I am thinking that use it in the video queue, will be feasible?\r\n\r\nMouri"}}
{"actor":{"display_login":"MouriNaruto"}}