Open satyamer14i opened 6 years ago
Download m4a audio only files from adaptive_dash_fmt , then use ffmpeg to convert it locally.
YouTube does indeed deliver other audio (and video) formats, here an example output of all available formats from "youtube-dl -F [someURL]":
format code | extension | resolution | note |
---|---|---|---|
249 | webm | audio only | DASH audio 55k , opus @ 50k, 1.47MiB |
250 | webm | audio only | DASH audio 79k , opus @ 70k, 2.00MiB |
140 | m4a | audio only | DASH audio 127k , m4a_dash container, mp4a.40.2@128k, 3.70MiB |
171 | webm | audio only | DASH audio 132k , vorbis@128k, 3.54MiB |
251 | webm | audio only | DASH audio 156k , opus @160k, 3.96MiB |
160 | mp4 | 256x144 | 144p 112k , avc1.4d400c, 24fps, video only, 2.2MiB |
278 | webm | 256x144 | 144p 190k , webm container, vp9, 12fps, video only, 2.82MiB |
133 | mp4 | 426x240 | 240p 244k , avc1.4d4015, 24fps, video only, 3.5MiB |
242 | webm | 426x240 | 240p 274k , vp9, 24fps, video only, 5.39MiB |
243 | webm | 640x360 | 60p 514k , vp9, 24fps, video only, 9.62MiB |
134 | mp4 | 640x360 | 360p 648k , avc1.4d401e, 24fps, video only, 9.1MiB |
244 | webm | 854x480 | 480p 880k , vp9, 24fps, video only, 16.35MiB |
135 | mp4 | 854x480 | 480p 1189k , avc1.4d401e, 24fps, video only, 19.02MiB |
247 | webm | 1280x720 | 720p 1688k , vp9, 24fps, video only, 30.86MiB |
136 | mp4 | 1280x720 | 720p 2354k , avc1.4d401f, 24fps, video only, 34.61MiB |
248 | webm | 1920x1080 | 1080p 3078k , vp9, 24fps, video only, 58.09MiB |
137 | mp4 | 1920x1080 | 1080p 4429k , avc1.640028, 24fps, video only, 6.57MiB |
17 | 3gp | 176x144 | small , mp4v.20.3, mp4a.40.2@ 24k |
36 | 3gp | 320x180 | small , mp4v.20.3, mp4a.40.2 |
43 | webm | 640x360 | medium , vp8.0, vorbis@128k |
18 | mp4 | 640x360 | medium , avc1.42001E, mp4a.40.2@ 96k |
22 | mp4 | 1280x720 | hd720 , avc1.64001F, mp4a.40.2@192k (best) |
I'm unable to locate exactly what I have to do in order to download the mp3 file. I read and noticed that you have to first download m4a and then do local conversio. But how to download m4a? Thanks in advance