{"action":"created","issue":{"url":"https://api.github.com/repos/lhc70000/iina/issues/1297","repository_url":"https://api.github.com/repos/lhc70000/iina","labels_url":"https://api.github.com/repos/lhc70000/iina/issues/1297/labels{/name}","comments_url":"https://api.github.com/repos/lhc70000/iina/issues/1297/comments","events_url":"https://api.github.com/repos/lhc70000/iina/issues/1297/events","html_url":"https://github.com/lhc70000/iina/issues/1297","id":284933405,"node_id":"MDU6SXNzdWUyODQ5MzM0MDU=","number":1297,"title":"Allow youtube-dl-format-options per video","user":{"login":"KizzyCode","id":13999009,"node_id":"MDQ6VXNlcjEzOTk5MDA5","avatar_url":"https://avatars1.githubusercontent.com/u/13999009?v=4","gravatar_id":"","url":"https://api.github.com/users/KizzyCode","html_url":"https://github.com/KizzyCode","followers_url":"https://api.github.com/users/KizzyCode/followers","following_url":"https://api.github.com/users/KizzyCode/following{/other_user}","gists_url":"https://api.github.com/users/KizzyCode/gists{/gist_id}","starred_url":"https://api.github.com/users/KizzyCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KizzyCode/subscriptions","organizations_url":"https://api.github.com/users/KizzyCode/orgs","repos_url":"https://api.github.com/users/KizzyCode/repos","events_url":"https://api.github.com/users/KizzyCode/events{/privacy}","received_events_url":"https://api.github.com/users/KizzyCode/received_events","type":"User","site_admin":false},"labels":[{"id":512379864,"node_id":"MDU6TGFiZWw1MTIzNzk4NjQ=","url":"https://api.github.com/repos/lhc70000/iina/labels/type:%20feature%20request","name":"type: feature request","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":{"login":"lhc70000","id":8478049,"node_id":"MDQ6VXNlcjg0NzgwNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/8478049?v=4","gravatar_id":"","url":"https://api.github.com/users/lhc70000","html_url":"https://github.com/lhc70000","followers_url":"https://api.github.com/users/lhc70000/followers","following_url":"https://api.github.com/users/lhc70000/following{/other_user}","gists_url":"https://api.github.com/users/lhc70000/gists{/gist_id}","starred_url":"https://api.github.com/users/lhc70000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhc70000/subscriptions","organizations_url":"https://api.github.com/users/lhc70000/orgs","repos_url":"https://api.github.com/users/lhc70000/repos","events_url":"https://api.github.com/users/lhc70000/events{/privacy}","received_events_url":"https://api.github.com/users/lhc70000/received_events","type":"User","site_admin":false},"assignees":[{"login":"lhc70000","id":8478049,"node_id":"MDQ6VXNlcjg0NzgwNDk=","avatar_url":"https://avatars3.githubusercontent.com/u/8478049?v=4","gravatar_id":"","url":"https://api.github.com/users/lhc70000","html_url":"https://github.com/lhc70000","followers_url":"https://api.github.com/users/lhc70000/followers","following_url":"https://api.github.com/users/lhc70000/following{/other_user}","gists_url":"https://api.github.com/users/lhc70000/gists{/gist_id}","starred_url":"https://api.github.com/users/lhc70000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhc70000/subscriptions","organizations_url":"https://api.github.com/users/lhc70000/orgs","repos_url":"https://api.github.com/users/lhc70000/repos","events_url":"https://api.github.com/users/lhc70000/events{/privacy}","received_events_url":"https://api.github.com/users/lhc70000/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-12-28T15:10:54Z","updated_at":"2018-12-19T15:36:25Z","closed_at":null,"author_association":"NONE","body":"<!-- Please use English, if possible. If you really feel the need to use a different language to get your point across, you may add a description in your native language to supplement your report. -->\r\n<!-- Please also try to search for your issue to avoid it being closed as a duplicate. -->\r\n\r\n<!-- Change these to match your system. If you're using a version compiled from source, please mention so here along with the commit you're using. -->\r\n**System and IINA version:**\r\n\r\n- macOS 10.13.2 (17C88)\r\n- IINA 0.0.14.1 Build 55 (mpv 0.27.0)\r\n\r\n**Expected behavior:**\r\nProvide an option to manually select the youtube-dl-format for the current video and save it along with the playback-state.\r\n\r\n<!-- If this is feature request, please use this section to explain the rationale behind your idea and why you believe it would be beneficial. -->\r\n**Actual behavior:**\r\nThe default format for youtube-dl is `format=bestaudio+bestvideo` (even if you don't specify any option).\r\nThis is of course a good default-choice but can also become a problem: sometimes `bestaudio+bestvideo` means we get a 60fps 4K VP9-video – which (at least on most platforms) cannot be hardware decoded. If you have a pretty fast Mac you \"only\" get a very high CPU-load, but on other Macs the video is unplayable.\r\n\r\nI use a MacBook Air 11\" early 2014 so FullHD+60fps+MP4 would be the optimal choice for me.\r\n\r\nTo stream in this format, I currently need to do the following steps:\r\n 1. Run `youtube-dl --list-formats <URL>` to get the available formats and pick the closest matching formats\r\n 2. Go to IINA-settings → Network → youtube-dl → Raw options and enter `format=<closest matching video-format-number>+<closest matching audio-format-number>`\r\n 3. After watching the video remove the entry from step 2 (or you'll get \"Cannot open stream\"-errors because the format probably won't be available for your current URL)"},"comment":{"url":"https://api.github.com/repos/lhc70000/iina/issues/comments/448638187","html_url":"https://github.com/lhc70000/iina/issues/1297#issuecomment-448638187","issue_url":"https://api.github.com/repos/lhc70000/iina/issues/1297","id":448638187,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODYzODE4Nw==","user":{"login":"ivancuric","id":2827047,"node_id":"MDQ6VXNlcjI4MjcwNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/2827047?v=4","gravatar_id":"","url":"https://api.github.com/users/ivancuric","html_url":"https://github.com/ivancuric","followers_url":"https://api.github.com/users/ivancuric/followers","following_url":"https://api.github.com/users/ivancuric/following{/other_user}","gists_url":"https://api.github.com/users/ivancuric/gists{/gist_id}","starred_url":"https://api.github.com/users/ivancuric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivancuric/subscriptions","organizations_url":"https://api.github.com/users/ivancuric/orgs","repos_url":"https://api.github.com/users/ivancuric/repos","events_url":"https://api.github.com/users/ivancuric/events{/privacy}","received_events_url":"https://api.github.com/users/ivancuric/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T15:36:25Z","updated_at":"2018-12-19T15:36:25Z","author_association":"NONE","body":"Thanks. Wasn't confusing them, just wanted something that's not H.264, eg VP9.\r\nI'm still confused on why youtube-dl is reporting `mp4 1280x720   hd720 , avc1.64001F, mp4a.40.2@192k` as best. Gonna post it to their repo tho."}}
{"actor":{"display_login":"ivancuric"}}