![]() |
#1 |
Junior Member
Join Date: Nov 2007
Posts: 48
|
Unable to play m4a from YouTube (youtube-dl -f 141)
I used youtube-dl to download the m4a audio from YouTube:
c:\music> youtube-dl -f 141 https://www.youtube.com/watch?v=x6NyQN4hloY The file is saved with an extension of m4a. Unable to play using Winamp v5.666 Build 3516 (x86) - Dec 12 2013 Strangely enough, if I just download the mp4 version (with video), I can play it just fine as an audio. I can also use ffmpeg to re-convert the m4a to another m4a. Then WinAmp plays it fine. Latest version of VLC plays either m4a or mp4 just fine. It is not just this URL, but any m4a I download from YouTube all behave this way when using WinAmp. Below are some diagnostics about the URL in question and downloaded file. c:\music>youtube-dl -F https://www.youtube.com/watch?v=x6NyQN4hloY [youtube] Confirming age [youtube] x6NyQN4hloY: Downloading webpage [youtube] x6NyQN4hloY: Downloading video info webpage [youtube] x6NyQN4hloY: Extracting video information [youtube] x6NyQN4hloY: Downloading DASH manifest [info] Available formats for x6NyQN4hloY: format code extension resolution note 139 m4a audio only DASH audio 55k , audio@ 48k (22050Hz), 21.06MiB (worst) 140 m4a audio only DASH audio 162k , audio@128k (44100Hz), 56.04MiB 141 m4a audio only DASH audio 292k , audio@256k (44100Hz), 111.28MiB 160 mp4 256x144 DASH video 108k , video only, 40.66MiB 133 mp4 426x240 DASH video 225k , video only, 83.60MiB 134 mp4 640x360 DASH video 164k , video only, 22.78MiB 135 mp4 854x480 DASH video 279k , video only, 36.12MiB 136 mp4 1280x720 DASH video 585k , video only, 59.62MiB 17 3gp 176x144 36 3gp 320x240 5 flv 400x240 43 webm 640x360 18 mp4 640x360 22 mp4 1280x720 (best) c:\music>ffmpeg -i "fedde le grand essential mix-x6nyqn4hloy.m4a" ffmpeg version N-61143-g64e4bd7 Copyright (c) 2000-2014 the FFmpeg developers built on Mar 7 2014 00:01:08 with gcc 4.8.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-li bass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopenco re-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidst ab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable -zlib libavutil 52. 66.101 / 52. 66.101 libavcodec 55. 52.102 / 55. 52.102 libavformat 55. 33.101 / 55. 33.101 libavdevice 55. 11.100 / 55. 11.100 libavfilter 4. 3.100 / 4. 3.100 libswscale 2. 5.101 / 2. 5.101 libswresample 0. 18.100 / 0. 18.100 libpostproc 52. 3.100 / 52. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fedde le grand essential mix-x6nyqn4hloy.m4a': Metadata: major_brand : dash minor_version : 0 compatible_brands: iso6mp41 creation_time : 2014-11-05 08:39:44 Duration: 01:01:00.05, start: 0.000000, bitrate: 255 kb/s Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 253 kb/s (default) Metadata: creation_time : 2014-11-05 08:39:44 handler_name : SoundHandler At least one output file must be specified |
![]() |
![]() |
#2 |
Join Date: Sep 2003
Posts: 27,873
|
Winamp doesn't support MPEG DASH.
|
![]() |
![]() |
#3 |
Junior Member
Join Date: Nov 2007
Posts: 48
|
Thanks for educating me.
I figured out I can use ffmpeg to convert MPEG DASH to a clean m4a audio file without affecting the quality. ffmpeg -i input.m4a -vn -c:a copy output.m4a |
![]() |
![]() |
#4 |
Junior Member
Join Date: Nov 2007
Posts: 48
|
I realize Winamp's future is not clear, but if there is further development and public release of the software, I'd like to submit an enhancement to support MPEG DASH audio (m4a) support.
http://superuser.com/questions/83706...to-m4a-aac-dl/ https://github.com/rg3/youtube-dl/issues/1897 |
![]() |
![]() |
#5 |
Join Date: Sep 2003
Posts: 27,873
|
it's already on a possible todo list from prior to the sale (though that means nothing about it actually happening) and if anything, it would be more focused on allowing playback to work rather than video aspects (as video is unlikely to be a pushed feature when the new Winamp is released at some stage in 2015).
as for the comment in the SU post, i will take it on board (though i take offence at the mis-spelling of Winamp and calling it "too old") as something to look into further if i can find some extra time in an already pushed 24 hour day. |
![]() |
![]() |
#6 |
Junior Member
Join Date: Nov 2007
Posts: 48
|
I've made the edits to reflect Winamp as the correct spelling. I think the answerer just meant "too old" to mean that the last build of Winamp (Dec 2013) doesn't have the support... To be fair, he also said other programs do not support MPEG DASH either. Anyway, I'm hoping for a good future for Winamp. I've been a long time user!
![]() |
![]() |
![]() |
#7 |
Forum King
|
I've never had problems with audio files downloaded with http://www.clipconverter.cc/ Infact, I downloaded an audio track from a YouTube video yesterday directly to m4a and I was able to play and convert it in Winamp.
|
![]() |
![]() |
#8 |
Junior Member
Join Date: Nov 2007
Posts: 48
|
The process that clipconverter uses is likely different than process youtube-dl uses.
|
![]() |
![]() |
#9 |
Senior Member
|
|
![]() |
![]() |
#10 | ||
Forum King
|
Quote:
Quote:
It's not the first time I've seen stream-spec data put into a file. I know that the Flash Media Live Encoder would stream and record the stream it sent, bit-for-bit, to the file that had to be repacketized with a command-line utility from Adobe before it could be used on our (only at the time) Windows box or uploaded to Vimeo. |
||
![]() |
![]() |
#11 |
Senior Member
|
DASH is a streaming method, not a codec or sth like that.
When you download the file, you have the full file. Its a normal aac file. |
![]() |
![]() |
#12 |
Join Date: Sep 2003
Posts: 27,873
|
my comment is correct as Winamp doesn't support it and the file which is being generated is different enough to not be able to be processed by Winamp's existing MP4 handling and so it will fail (as covered in the superuser link).
as such, Winamp cannot correctly de-mux the file to be able to get at the actual data inside of the container and that is the main issue irrespective of it containing AAC or whatever, if WInamp cannot process the container correctly then it doesn't matter what is inside it. |
![]() |
![]() |
#13 |
Senior Member
|
If it cant read the containerformat, ok.
But that has absolutely nothing to do with dash ^^ Muxing into MP4 container or demuxing to raw aac file should help winamp to play the file then. |
![]() |
![]() |
#14 |
Join Date: Sep 2003
Posts: 27,873
|
you can have my job and sort it out then.
|
![]() |
![]() |
#15 |
Senior Member
|
hell its a normal file.
and dash is this: http://en.wikipedia.org/wiki/Dynamic...ming_over_HTTP If you download a file, you download all dash parts and mux the dash parts together into in this case the m4a container. Thats how downloaders do it. Thats why for example jdownloader 2 needs ffmpeg for the dash videos of youtube. But I tested out with jdownloader 2 and apparently Winamp can read m4a container. At least the m4a could opened by winamp. And on youtube it was a dash video as well. a raw aac stream works as well. Maybe he downloads it wrong then? edit: Tried his videolink but the video was deleted: http://abload.de/img/unbenannt162hlpgi.png edit2: here mediainfo of a m4a by jdownloader 2. code: |
![]() |
![]() |
#16 |
Late skinner & Moderator
Join Date: May 2003
Location: Argentina
Posts: 1,624
|
*** Thread closed due to spam flood. ***
|
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|