{"action":"created","issue":{"url":"https://api.github.com/repos/donmelton/video_transcoding/issues/19","labels_url":"https://api.github.com/repos/donmelton/video_transcoding/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/donmelton/video_transcoding/issues/19/comments","events_url":"https://api.github.com/repos/donmelton/video_transcoding/issues/19/events","html_url":"https://github.com/donmelton/video_transcoding/issues/19","id":83071685,"number":19,"title":"Convert-video does not recognized ffmpeg version on windows","user":{"login":"CallumKerrEdwards","id":12272439,"avatar_url":"https://avatars.githubusercontent.com/u/12272439?v=3","gravatar_id":"","url":"https://api.github.com/users/CallumKerrEdwards","html_url":"https://github.com/CallumKerrEdwards","followers_url":"https://api.github.com/users/CallumKerrEdwards/followers","following_url":"https://api.github.com/users/CallumKerrEdwards/following{/other_user}","gists_url":"https://api.github.com/users/CallumKerrEdwards/gists{/gist_id}","starred_url":"https://api.github.com/users/CallumKerrEdwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CallumKerrEdwards/subscriptions","organizations_url":"https://api.github.com/users/CallumKerrEdwards/orgs","repos_url":"https://api.github.com/users/CallumKerrEdwards/repos","events_url":"https://api.github.com/users/CallumKerrEdwards/events{/privacy}","received_events_url":"https://api.github.com/users/CallumKerrEdwards/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-05-31T11:58:52Z","updated_at":"2015-05-31T17:28:50Z","closed_at":"2015-05-31T17:28:50Z","body":"Kind what the title says really. Realised I had been outputting to MKV rather than MP4, so I tried to use the convert-video tool, but got the following error:\r\n\r\n    convert-video The\\ Imitation\\ Game\\ \\(2014\\).mkv\r\n    ...\r\n    /home/Callum/bin/convert-video: ffmpeg version unknown\r\n\r\n## Environment \r\n\r\n* Script Version: 0.2.6\r\n* Handbrake CLI version: Latest stable version 0.10.1 (2015030800)\r\n* OS: Win7 x64 Service Pack 1\r\n* Cygwin version: 2.0.1(0.287/5/3)\r\n* Ruby version: ruby 2.0.0p598 (2014-11-13) [x86_64-cygwin]\r\n* ffmpeg version N-70348-g9564375"},"comment":{"url":"https://api.github.com/repos/donmelton/video_transcoding/issues/comments/107226071","html_url":"https://github.com/donmelton/video_transcoding/issues/19#issuecomment-107226071","issue_url":"https://api.github.com/repos/donmelton/video_transcoding/issues/19","id":107226071,"user":{"login":"donmelton","id":115488,"avatar_url":"https://avatars.githubusercontent.com/u/115488?v=3","gravatar_id":"","url":"https://api.github.com/users/donmelton","html_url":"https://github.com/donmelton","followers_url":"https://api.github.com/users/donmelton/followers","following_url":"https://api.github.com/users/donmelton/following{/other_user}","gists_url":"https://api.github.com/users/donmelton/gists{/gist_id}","starred_url":"https://api.github.com/users/donmelton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donmelton/subscriptions","organizations_url":"https://api.github.com/users/donmelton/orgs","repos_url":"https://api.github.com/users/donmelton/repos","events_url":"https://api.github.com/users/donmelton/events{/privacy}","received_events_url":"https://api.github.com/users/donmelton/received_events","type":"User","site_admin":false},"created_at":"2015-05-31T17:28:50Z","updated_at":"2015-05-31T17:28:50Z","body":"@CallumKerrEdwards Looking at the \"N-70348-g9564375\" string closer, it looks like this is derived from using the following command on a FFmpeg source tree checked out using Git:\r\n\r\n```\r\ngit describe --tags --match N\r\n```\r\n\r\nWhile that now makes sense, the bad news is that there's no way to compare these \"N\" strings to see if one is older or newer than the other since neither number in the substring is an incremented value. And looking at the FFmpeg source code now, it seems that this isn't the *only* way to format an unreleased or development build of the product.\r\n\r\nSo, unless I want to parse the version numbers of the built-in libraries, e.g. \"libavcodec,\" there's no way for me to reliably tell whether a particular version of FFmpeg is likely to be compatible.\r\n\r\nSince it was relatively easy for you to find an actual release build of FFmpeg, and since no one else has reported this problem yet, I think it's safe to leave the code as is and simply require release builds.\r\n\r\nI'll close this now but feel free to continue commenting.\r\n\r\nAnd thanks so much for finding this issue! When I finally do get around to creating a Wiki for this project, I'll have to add this information to it."}}