{"action":"created","issue":{"url":"https://api.github.com/repos/flagbug/YoutubeExtractor/issues/246","repository_url":"https://api.github.com/repos/flagbug/YoutubeExtractor","labels_url":"https://api.github.com/repos/flagbug/YoutubeExtractor/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/flagbug/YoutubeExtractor/issues/246/comments","events_url":"https://api.github.com/repos/flagbug/YoutubeExtractor/issues/246/events","html_url":"https://github.com/flagbug/YoutubeExtractor/issues/246","id":221289069,"number":246,"title":"DownloadUrlResolver.GetDownloadUrls returns 22 VideoInfo objects, but none CanExtractAudio == true...","user":{"login":"jphellemons","id":1119134,"avatar_url":"https://avatars0.githubusercontent.com/u/1119134?v=3","gravatar_id":"","url":"https://api.github.com/users/jphellemons","html_url":"https://github.com/jphellemons","followers_url":"https://api.github.com/users/jphellemons/followers","following_url":"https://api.github.com/users/jphellemons/following{/other_user}","gists_url":"https://api.github.com/users/jphellemons/gists{/gist_id}","starred_url":"https://api.github.com/users/jphellemons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jphellemons/subscriptions","organizations_url":"https://api.github.com/users/jphellemons/orgs","repos_url":"https://api.github.com/users/jphellemons/repos","events_url":"https://api.github.com/users/jphellemons/events{/privacy}","received_events_url":"https://api.github.com/users/jphellemons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-12T14:51:52Z","updated_at":"2017-04-13T07:36:15Z","closed_at":null,"body":"perhaps something is changed with the audioextraction? \r\nThis worked before:\r\n\r\n````\r\nVideoInfo video = videoInfos.First(info => info.VideoType == VideoType.Mp4 && info.Resolution == 0);\r\n````\r\n\r\nand this returns null:\r\n\r\n````\r\nVideoInfo video = videoInfos.FirstOrDefault<VideoInfo>(v=> v.CanExtractAudio == true);\r\n````\r\nwhen the videoInfos object contains 22 items from the \"DownloadUrlResolver.GetDownloadUrls\"\r\n\r\ntested it on https://www.youtube.com/watch?v=VaxFIr3GJ-8\r\n"},"comment":{"url":"https://api.github.com/repos/flagbug/YoutubeExtractor/issues/comments/293815652","html_url":"https://github.com/flagbug/YoutubeExtractor/issues/246#issuecomment-293815652","issue_url":"https://api.github.com/repos/flagbug/YoutubeExtractor/issues/246","id":293815652,"user":{"login":"jphellemons","id":1119134,"avatar_url":"https://avatars0.githubusercontent.com/u/1119134?v=3","gravatar_id":"","url":"https://api.github.com/users/jphellemons","html_url":"https://github.com/jphellemons","followers_url":"https://api.github.com/users/jphellemons/followers","following_url":"https://api.github.com/users/jphellemons/following{/other_user}","gists_url":"https://api.github.com/users/jphellemons/gists{/gist_id}","starred_url":"https://api.github.com/users/jphellemons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jphellemons/subscriptions","organizations_url":"https://api.github.com/users/jphellemons/orgs","repos_url":"https://api.github.com/users/jphellemons/repos","events_url":"https://api.github.com/users/jphellemons/events{/privacy}","received_events_url":"https://api.github.com/users/jphellemons/received_events","type":"User","site_admin":false},"created_at":"2017-04-13T07:36:15Z","updated_at":"2017-04-13T07:36:15Z","body":"Sorry to bother you again, but when I ran this:\r\n````\r\nVideoInfo video = videoInfos.Where(i => i.VideoType == VideoType.Mp4 && i.Resolution == 0).OrderByDescending(q => q.AudioBitrate).First();\r\n````\r\nmy video object was not null and had 128bit audio in it. But I got this error thrown at line 68 of FlvFile.cs\r\n````\r\nthrow new AudioExtractionException(\"Invalid input file. Impossible to extract audio track.\");\r\n````\r\nas found on [https://www.heyrick.co.uk/blog/index.php?diary=20160113 ](https://www.heyrick.co.uk/blog/index.php?diary=20160113 )\r\n\r\n> ' FLV files begin \"FLV[\" which is 0x464C5601\r\n>       If (WordA = &H1564C46) Then Files(FileCount).Exten = \"flv\"\r\n\r\nSo that also depends on flash. So perhaps remove the whole audioextraction class and flash references (readme.md) or make the audioextraction take the highest bitrate value of a 0 resolution mp4 file?"}}
{"actor":{"display_login":"jphellemons"}}