Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #11  
Old 06-23-2017, 07:54 AM
iamsumit iamsumit is offline
Member
 
Join Date: Dec 2015
Posts: 72
iamsumit is on a distinguished road
Default

Re: how can i download m4a format in gaana


Quote:
Originally Posted by j_cool View Post
httpfox, urlsnooper, hls stream detector, google: url sniffer, something must show the stream url.

If it is rtmp stream and not on default port, this is how to check range of ports:

http://stream-recorder.com/forum/sho...&postcount=110
Well i tried wireshark on saavn (https://www.saavn.com/s/song/hindi/R...al/BVg,RUFhZQU)
and could not sniff the url. I sense the URL the data sent is encrypted. Any ideas how to sniff its URL?
Thanks.
Reply With Quote
  #12  
Old 06-23-2017, 08:08 AM
iamsumit iamsumit is offline
Member
 
Join Date: Dec 2015
Posts: 72
iamsumit is on a distinguished road
Default

Re: how can i download m4a format in gaana


Quote:
Originally Posted by j_cool View Post
httpfox, urlsnooper, hls stream detector, google: url sniffer, something must show the stream url.

If it is rtmp stream and not on default port, this is how to check range of ports:

http://stream-recorder.com/forum/sho...&postcount=110
this is what the blockable links on ad-blocker gives me -

Code:
https://aa.cf.saavncdn.com/690/TCCD11234_01_002_64.mp3?Expires=1498222671&Signature=VIBmqsToAHDVNi5WUTJv--S9yQIxvBEH1HsAXmfD~B4Dhqjt5ph-8MlePnic~4su-P9IDum5n~EOawMHJ55xVu98Yj0O66jgoOmuOTPG4Od040LMdIDA6XX-N93NZQX19-bzXalHXkLA9NbMolj7jhmW1ghOl1952S20-Km9Hj-zkL1JRgrO1OJ~3YECpcemqKXjF2JePtIhJSIRVpWK8icHA6YVpfHvnBjaPZukBQ99~IGn94evTkvFTePy2gmRO6ZhCSQot1QP9M3CwNI4qJ5qW5CqSmDQ2nr1pqA2dpCYwIPXhPEgKGzdT0RE-coz8FcJK4v2p1Bn6trQ20cI1w__&Key-Pair-Id=APKAJB334VX63D3WJ5ZQ
How to download this?
Reply With Quote
  #13  
Old 06-23-2017, 08:12 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: how can i download m4a format in gaana


You seem to be quicker than me.

I got url with httpfox:

Code:
https://aa.cf.saavncdn.com/017/SONY_886446600017_01_001_64.mp3?Expires=1498223294&Signature=hZ3TsfzaWmgU8rZnRqvqqVv9TeV9qPil7J5HFuESbw28sPycH49qheiP5CY2IgvYfHc3ESM4tYQmtmbMashYxNaOxtDzDIWzglw8fqYpWhsalyw2xIhkxMmQmAZXr8R9PMx3QCMtsOr3IeS~gWngCA6SDRHr--weJSozDY1WU9cm1nBj2M5OwCuKQFLIWLGkBtS2OKJVHSe8KfzStg4EZLt~PedNknz7nn8WCaw98BWdcdmGdi4e-5cZuIFs7OKaTaSWpdvbTAJ-lkdJPQW-mA~q3n0fEEjRliH-Aocgq-PkWQ-A7JKxDGONlCBf-5~qbmzW~svgSc6-2mpbJ321RA__&Key-Pair-Id=APKAJB334VX63D3WJ5ZQ
Maybe sending them cookie stuff back, referer.. changing user agent or asking streamlink team.

sysanin is good with these types of stream, but you have to be quick to see his reply if he replies,
he deletes his replies shortly afterwards.
Reply With Quote
  #14  
Old 06-23-2017, 08:28 AM
iamsumit iamsumit is offline
Member
 
Join Date: Dec 2015
Posts: 72
iamsumit is on a distinguished road
Default

Re: how can i download m4a format in gaana


Oh thanks.

I tried sending a PM to sysanin but he seems to have chosen not to receive PMs.

Any other way i can reach him or any other contact person who can decipher this URL?
Reply With Quote
  #15  
Old 06-23-2017, 08:33 AM
iamsumit iamsumit is offline
Member
 
Join Date: Dec 2015
Posts: 72
iamsumit is on a distinguished road
Default

Re: how can i download m4a format in gaana


I have used referer and user agent before. but in regex format as below. Not sure how i can tailor it to download from a browser or command prompt.

Quote:
<item>
<title>Sky RTMP Token Hard Test Regex</title>
<link>rtmp://185.63.255.60:80/live playpath=$doregex[getplaypath] pageURL=http://rocktv.co/embedo.php?live=$doregex[getplaypath]&vw=620&vh=480 swfUrl=http://p.jwpcdn.com/6/12/jwplayer.flash.swf token=%Zrey(nKa@#Z conn=S:OK swfVfy=1 timeout=15 live=true</link>
<regex>
<name>getplaypath</name>
<expres>fid='(.*?)'<expres>
<page>http://sports4u.tv/embed/sky2.php?width=620&height=480</page>
<referer>http://live.sports4u.tv/channel/sky-sports-2</referer>
<agent>Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16</agent>
<cookieJar></cookieJar>
</regex>
</item>
Reply With Quote
  #16  
Old 06-23-2017, 08:38 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: how can i download m4a format in gaana


using streamlink.

follow my posts on this forum and you'll find how to do it with streamlink.

click on user, Find all posts by ..

This can be done with youtube-dl as well, reading help file how..

https://github.com/streamlink/streamlink/issues
Reply With Quote
  #17  
Old 06-23-2017, 09:20 AM
iamsumit iamsumit is offline
Member
 
Join Date: Dec 2015
Posts: 72
iamsumit is on a distinguished road
Default

Re: how can i download m4a format in gaana


Quote:
Originally Posted by j_cool View Post
using streamlink.

follow my posts on this forum and you'll find how to do it with streamlink.

click on user, Find all posts by ..

This can be done with youtube-dl as well, reading help file how..

https://github.com/streamlink/streamlink/issues
I installed streamlink. I was still livestreamer, which ws an outdated version from which streamlink was forked.

Code:
streamlink.exe --http-header "User-Agent=Mozilla/5.0 (iPad; U; CPU OS 4_2_1 like Mac OS X)" "hlsvariant://https://aa.cf.saavncdn.com/017/SONY_886446600017_01_001_64.mp3?Expires=1498227223&Signature=R-2DfRXUzQ6eUDDS6mI7BTuS~7WB52Xj~kSnTa6Gh0jEr6bY~1yc3Yd9j4w45qeFH1D~TiYAFh5PJ5kKr6T-iJHyrsqD315762UWeByqVxK40RmvQIpT9u-AJRtVRCvNJE~vL58QcUc5Nm-ZJdGvCHXQWUEv53Aa5ZvyMLCE~i~98EFsbk9tMW6TPQyV3vpVjBQl12wVTT30innu1MWEsVhEDkimHX-xeIr8a-m84MVxvrPTg5ppjrXbZEiqQ-z8BLAeC9ZseG~xoU~beRHoj6Q7QoD7TtnuJpzo09sure9y3Sf3QU5R8kNGfmkL8N7iGgG01~i9MxjJgSnmjCKsBg__&Key-Pair-Id=APKAJB334VX63D3WJ5ZQ"
But it says unble to open URL.

Going to read your other posts to see where i am going wrong.
If you see an error/issue in the command, let me know. Thanks.
Reply With Quote
  #18  
Old 06-23-2017, 09:22 AM
Yelloworanges Yelloworanges is offline
Junior Member
 
Join Date: May 2017
Posts: 93
Yelloworanges is on a distinguished road
Default

Re: how can i download m4a format in gaana


Code:
http://h.saavncdn.com/017/SONY_886446600017_01_001_320.mp3
Reply With Quote
  #19  
Old 06-23-2017, 11:10 AM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: how can i download m4a format in gaana


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%
Reply With Quote
  #20  
Old 06-23-2017, 11:16 AM
iamsumit iamsumit is offline
Member
 
Join Date: Dec 2015
Posts: 72
iamsumit is on a distinguished road
Default

Re: how can i download m4a format in gaana


Thank you both of you.

This so very very much appreciated.

Cheers.
Reply With Quote
Reply Post New Thread
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 11:51 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons