{"action":"created","issue":{"url":"https://api.github.com/repos/xat/castnow/issues/44","labels_url":"https://api.github.com/repos/xat/castnow/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/xat/castnow/issues/44/comments","events_url":"https://api.github.com/repos/xat/castnow/issues/44/events","html_url":"https://github.com/xat/castnow/issues/44","id":52738355,"number":44,"title":"No audio for AC3 codec","user":{"login":"auchenberg","id":173559,"avatar_url":"https://avatars.githubusercontent.com/u/173559?v=3","gravatar_id":"","url":"https://api.github.com/users/auchenberg","html_url":"https://github.com/auchenberg","followers_url":"https://api.github.com/users/auchenberg/followers","following_url":"https://api.github.com/users/auchenberg/following{/other_user}","gists_url":"https://api.github.com/users/auchenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/auchenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/auchenberg/subscriptions","organizations_url":"https://api.github.com/users/auchenberg/orgs","repos_url":"https://api.github.com/users/auchenberg/repos","events_url":"https://api.github.com/users/auchenberg/events{/privacy}","received_events_url":"https://api.github.com/users/auchenberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-12-23T12:55:25Z","updated_at":"2015-01-14T19:39:41Z","closed_at":null,"body":"Chromium doesn't support AC3, which means that MP4/MKV files with AC3 codec will be played with no audio. This can be solved by piping the file through ffmpeg using the ``acodec libmp3lame`` param, as Chrome supports MP3.\r\n\r\n**Suggestion:**\r\nDetect audio codec in local file, and start the local file using ``--tomp4 --ffmpeg-acodec libmp3lame``\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/xat/castnow/issues/comments/69977490","html_url":"https://github.com/xat/castnow/issues/44#issuecomment-69977490","issue_url":"https://api.github.com/repos/xat/castnow/issues/44","id":69977490,"user":{"login":"xat","id":182512,"avatar_url":"https://avatars.githubusercontent.com/u/182512?v=3","gravatar_id":"","url":"https://api.github.com/users/xat","html_url":"https://github.com/xat","followers_url":"https://api.github.com/users/xat/followers","following_url":"https://api.github.com/users/xat/following{/other_user}","gists_url":"https://api.github.com/users/xat/gists{/gist_id}","starred_url":"https://api.github.com/users/xat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xat/subscriptions","organizations_url":"https://api.github.com/users/xat/orgs","repos_url":"https://api.github.com/users/xat/repos","events_url":"https://api.github.com/users/xat/events{/privacy}","received_events_url":"https://api.github.com/users/xat/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T19:39:41Z","updated_at":"2015-01-14T19:39:41Z","body":"@parshap Really nice research!\r\nNo, I didn't know all of that :-)\r\n\r\nSome limitation I found is that HTTPS URLs will only work with some special compile-time-configuration (\"https protocol not found, recompile with openssl or gnutls enabled.\"). \r\nSo I guess the conclusion is that ffprobe will work for most users on URLs if the webserver supports Range-Requests and it's not an HTTPS URL. We could just pass in all URLs and localfiles into ffprobe and if ffprobe returns with meta information about that URL/file we are able to make a decision how and if it needs to be transcoded. If ffprobe returns with an error we would just send that file to chromecast and the user will see by himself if it can be played or not."}}