08-07-2017, 12:36 PM
|
Member
|
|
Join Date: Dec 2015
Posts: 72
|
|
Re: how can i download m4a format in gaana
Quote:
Originally Posted by j_cool
streamlink syntax should look like this, but does not matter in this case.
streamlink.exe --http-header %header% hls://%url% best
I get 403-forbidden with streamlink, youtube-dl, and ffmpeg.
Yelloworanges's url works so it has something to do with url.
http://h.saavncdn.com/017/SONY_88644...01_001_320.mp3
Code:
ffmpeg -i http://h.saavncdn.com/017/SONY_886446600017_01_001_320.mp3 -c copy test.mp3
Code:
ffmpeg version 3.3.1 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Input #0, mp3, from 'http://h.saavncdn.com/017/SONY_886446600017_01_001_320.mp3':
Metadata:
encoder : Lavf57.51.102
Duration: 00:03:50.14, start: 0.025057, bitrate: 320 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
Metadata:
encoder : Lavc57.60
Output #0, mp3, to 'test.mp3':
Metadata:
TSSE : Lavf57.71.100
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
Metadata:
encoder : Lavc57.60
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 8991kB time=00:03:50.08 bitrate= 320.1kbits/s speed= 44x
video:0kB audio:8990kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.011830%
|
Thanks once again jcool.
Yes yelloworanges's url method worked for almost all except a few albums such as this -
https://www.saavn.com/s/album/hindi/...2/vm3VwLlXnTI_
Not sure if something is different for this on server end or our end? It would be greatly appreicated if you can give it a go. Thanks man.
|