Convert YouTube DASH audio (youtube-dl) to m4a (AAC DL)
No, you need a second conversion step.
The problem is that for YouTube DASH, the MP4 container's ftyp
has the "major brand" set to dash
instead of m4a
. This is the correct approach for DASH streaming, but Winamp is too old to recognize it (and many other programs are).
Now, what would be a reasonable suggestion is to create a feature request for youtube-dl to add post-processing support for ffmpeg to convert the major brand of the MP4 container to something more compatible. But at the moment, such a thing does not exist.
Or, file a bug report for Winamp to include decoding support for dash
brands. Since it's likely to rely on a third-party decoder plugin, this probably means raising a bug report somewhere else, too.
youtube-dl 2015.01.23.4 and newer will automatically correct the header of the m4a file if ffmpeg is present on the system.
Source: youtube-dl
: Youtube m4a files downloaded with --extract-audio can't play in some players
All you have to do is to add the path to the directory containing the ffmpeg binary to your system path variable (like so in Windows 7):
Or use the --ffmpeg-location <path to ffmpeg binary or its containing directory>
command line argument when calling youtube-dl, to allow youtube-dl through ffmpeg to automatically correct this.