-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request - Please consider using m4a suffix for downloaded "--extract-audio" aac files. #240
Comments
EDIT |
--extract-audio extracts the aac audio from the mp4 A/V file. |
You can now specify Unless there is a significant advantage of the mp4 container, I'm reluctant to adopt it as the default though. |
Yes, this is OK. youtube-dl -t -f 5 --extract-audio http://www.youtube.com/watch?v=RdopMqrftXs youtube-dl -t -f 43 --extract-audio http://www.youtube.com/watch?v=RdopMqrftXs youtube-dl -t -f 18 --extract-audio http://www.youtube.com/watch?v=RdopMqrftXs And for aac wrapped in mp4 (MPEG-4 Part 14) container with m4a suffix, use the "audio-format" option. All of them without transcoding. m4a is suitable for iPods. Thanks. :-) |
Hi. (Commenting here rather than opening a new issue). Philipp, there's two advantages to saving mp4 audio in a
Workaround |
My two cents: I recall having chosen "aac" over "m4a" as the default format back in my days because my cellphone could play aac files but not m4a ones even if the codec is AAC after all. |
Makes sense. Today's ipod is the converse - it will play |
Ok, we'll switch to m4a in the next release and see if anyone objects. |
[pull] master from ytdl-org:master
Hi
I've been using the "--extract-audio" feature.
It seems to do a good job. It extracts the audio without transcoding. That's fine.
When I run command:-
youtube-dl -F http://www.youtube.com/watch?v=RdopMqrftXs
It tells me:-
Available formats:
34 : flv [360x640]
18 : mp4 [360x640]
43 : webm [360x640]
5 : flv [240x400]
When I use command:-
youtube-dl -t -f 5 --extract-audio http://www.youtube.com/watch?v=RdopMqrftXs
It downloads file:- The_Beatles_-_Let_It_Be-RdopMqrftXs.mp3
When I use command:-
youtube-dl -t -f 43 --extract-audio http://www.youtube.com/watch?v=RdopMqrftXs
It downloads file:- The_Beatles_-_Let_It_Be-RdopMqrftXs.ogg
These are both OK.
But when I use command:-
youtube-dl -t -f 18 --extract-audio http://www.youtube.com/watch?v=RdopMqrftXs
It downloads file:- The_Beatles_-_Let_It_Be-RdopMqrftXs.aac
Would it not be better if the downloaded aac file was muxed in mp4 container - so that the file suffix is m4a, not aac?
I think that FFmpeg can do this job.
If you agree that m4a is more suitable than aac, it might need to be applied to the "audio-format FORMAT" option also.
--audio-format FORMAT "best", "aac", "vorbis" or "mp3"; best by default
Thanks.
The text was updated successfully, but these errors were encountered: