{"issue":{"created_at":"2011-12-02T18:43:08Z","state":"closed","updated_at":"2011-12-02T19:00:19Z","comments":1,"user":{"gravatar_id":"81f0e7401aa74d140e4b253c7dd52bb4","id":640761,"url":"https://api.github.com/users/bat999","avatar_url":"https://secure.gravatar.com/avatar/81f0e7401aa74d140e4b253c7dd52bb4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"bat999"},"body":"Hi\r\nI've been using the \"--extract-audio\" feature.\r\nIt seems to do a good job. It extracts the audio without transcoding. That's fine.\r\n\r\nWhen I run command:-\r\nyoutube-dl -F http://www.youtube.com/watch?v=RdopMqrftXs\r\nIt tells me:-\r\n\r\nAvailable formats:\r\n34\t:\tflv\t[360x640]\r\n18\t:\tmp4\t[360x640]\r\n43\t:\twebm\t[360x640]\r\n5\t:\tflv\t[240x400]\r\n\r\nWhen I use command:-\r\nyoutube-dl -t -f 5 --extract-audio http://www.youtube.com/watch?v=RdopMqrftXs\r\nIt downloads file:- The_Beatles_-_Let_It_Be-RdopMqrftXs.mp3\r\n\r\nWhen I use command:-\r\nyoutube-dl -t -f 43 --extract-audio http://www.youtube.com/watch?v=RdopMqrftXs\r\nIt downloads file:- The_Beatles_-_Let_It_Be-RdopMqrftXs.ogg\r\n\r\nThese are both OK.\r\n\r\nBut when I use command:-\r\nyoutube-dl -t -f 18 --extract-audio http://www.youtube.com/watch?v=RdopMqrftXs\r\nIt downloads file:- The_Beatles_-_Let_It_Be-RdopMqrftXs.aac\r\n\r\nWould it not be better if the downloaded aac file was muxed in mp4 container - so that the file suffix is m4a, not aac?\r\nI think that FFmpeg can do this job.\r\n\r\nIf you agree that m4a is more suitable than aac, it might need to be applied to the \"audio-format FORMAT\" option also.\r\n--audio-format FORMAT    \"best\", \"aac\", \"vorbis\" or \"mp3\"; best by default\r\n\r\nThanks.","assignee":null,"number":240,"id":2431580,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Request - Please consider using m4a suffix for downloaded \"--extract-audio\" aac files.","closed_at":"2011-12-02T19:00:19Z","html_url":"https://github.com/rg3/youtube-dl/issues/240","url":"https://api.github.com/repos/rg3/youtube-dl/issues/240","milestone":null},"action":"created","comment":{"created_at":"2011-12-02T19:00:18Z","updated_at":"2011-12-02T19:00:18Z","user":{"gravatar_id":"81f0e7401aa74d140e4b253c7dd52bb4","id":640761,"url":"https://api.github.com/users/bat999","avatar_url":"https://secure.gravatar.com/avatar/81f0e7401aa74d140e4b253c7dd52bb4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"bat999"},"body":"EDIT\r\nI've just tried muxing the TheBeatles aac into m4a with FFmpeg.\r\nIt needs \"-absf aac_adtstoasc\".\r\nLike this:-\r\nffmpeg -i filename.aac -vn -acodec copy -absf aac_adtstoasc filename.m4a\r\n","id":2994212,"url":"https://api.github.com/repos/rg3/youtube-dl/issues/comments/2994212"}}