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 > Audio stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 10-31-2010, 04:09 AM
KoryLifyddhb KoryLifyddhb is offline
Junior Member
 
Join Date: Oct 2010
Posts: 3
KoryLifyddhb is on a distinguished road
Default

rtmpdump is not compatible with MySpace?


Hi,
I tried to used rtmpdump (Windows one) to download song from MySpace.
I performed following steps:
1. Run rtmpsrv.exe
2. Redirected all traffic for port 1935 to localhost.
3. Open http://www.myspace.com/diagonalleyband
4. rtmpsrv.exe returned following error:

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 8
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

Command line follows:

rtmpdump -r "rtmpe://l3fms-music02.myspacecdn.com:1935/myspace-music02" -a "myspace-music02" -f "WIN 10,1,85,3" -W "http://lads.myspacecdn.com/videos/MSMusicPlayer.swf" -p "http://www.myspace.com/diagonalleyband" -C O:1 -C O:0 -y "mp3:183/std_a648310a02ce4981b971b1a296d5a301" -o std_a648310a02ce4981b971b1a296d5a301.flv

I tried multiple times with different songs, however, this error persists.
Is there any way to download MySpace music with rtmpdump now?
Reply With Quote
  #2  
Old 11-02-2010, 04:57 PM
placebo placebo is offline
Moderator - exTerminator
 
Join Date: Aug 2010
Posts: 477
placebo is on a distinguished road
Default

Re: rtmpdump is not compatible with MySpace?


the correct command on a winxp-sp3 machine is:
Code:
rtmpdump -r "rtmpe://l3fms-music02.myspacecdn.com:1935/myspace-music02" -a "myspace-music02" -f "WIN 10,1,82,76" -W "http://lads.myspacecdn.com/videos/MSMusicPlayer.swf" -p "http://www.myspace.com/diagonalleyband" -C O:1 -C O:0 -y "mp3:25/std_ddcb5c6f3989c63d68d9b780b18ae261" -o std_ddcb5c6f3989c63d68d9b780b18ae261.flv
see screenshot:


i've uploaded the original file too for you to test and compare thanks.
ButterBeers and OWLS (8mins04secs).zip

you can extract the mp3 file with any good tool. i recommend FLVExtract.

(btw, there are more user-friendly ways to download myspace songs or videos. try GetFLV, for example!)

Last edited by placebo : 11-02-2010 at 06:12 PM.
Reply With Quote
  #3  
Old 11-03-2010, 02:33 AM
Stream Recorder
 
Posts: n/a
Default

Re: rtmpdump is not compatible with MySpace?


Quote:
Originally Posted by placebo View Post
btw, there are more user-friendly ways to download myspace songs or videos.
using rtmpdump with Replay Media Catcher is user-friendly too:
http://stream-recorder.com/forum/sho...58&postcount=7
Reply With Quote
  #4  
Old 11-03-2010, 03:24 AM
placebo placebo is offline
Moderator - exTerminator
 
Join Date: Aug 2010
Posts: 477
placebo is on a distinguished road
Default

Re: rtmpdump is not compatible with MySpace?


rtmpdump can be combined/integrated with Replay Media Catcher. but it is a challenge to make it work smoothly because the command for rtmpdump is extremely long (a long line, a single command) and RMC4 has problems handling such etc ...

it is more convenient to use GUI downloaders which are entirely based on rtmpdump, for example blader.exe (CJB). StreamTransport works too with myspace but i am not sure it ST is based on rtmpdump.
Reply With Quote
  #5  
Old 11-06-2010, 11:23 AM
KoryLifyddhb KoryLifyddhb is offline
Junior Member
 
Join Date: Oct 2010
Posts: 3
KoryLifyddhb is on a distinguished road
Default

Re: rtmpdump is not compatible with MySpace?


Thanks, people! It works now. So, the key for success was to use another flash version string in "-f" parameter.
Reply With Quote
  #6  
Old 11-06-2010, 02:37 PM
placebo placebo is offline
Moderator - exTerminator
 
Join Date: Aug 2010
Posts: 477
placebo is on a distinguished road
Default

Re: rtmpdump is not compatible with MySpace?


Quote:
Originally Posted by KoryLifyddhb View Post
Thanks, people! It works now. So, the key for success was to use another flash version string in "-f" parameter.
hi. nope. the key to success was the editing back of your hosts file. for the rmtpsrv to work, you must edit the hosts file (, which you did!). then you press Ctrl+C to interrupt everything. and edit the hosts file back to its original state. finally the rtmpdump command (copy/paste the full single line) works.

anyway. congrats!
Reply With Quote
  #7  
Old 11-07-2010, 01:19 AM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Re: rtmpdump is not compatible with MySpace?


Unix shell script for downloading music from MySpace with rtmpdump

Code:
#!/bin/bash --
echo "MySpace music downloader by 360percents"

if [ -z "$1" ]; then
	echo "";echo "Usage: `basename $0` [url]";echo "";
	exit
fi

type -P rtmpdump &>/dev/null || {
	read -n1 -p "I need a program called rtmpdump, do you wan to install it now? (y/n) "
	echo
	[[ $REPLY = [yY] ]] && sudo apt-get install rtmpdump || { echo "You didn't answer yes, or installation failed. Install it manually. Exiting...";}
	>&2; exit 1; }

echo "[+] Requesting $1"
page=`wget -L "$1" --quiet --user-agent="Mozilla" -O -`
userid=`echo "$page" | grep 'userID' | sed -e 's/.*userID=//' -e 's/".*//' | uniq`
artistid=`echo "$page" | grep 'artid' | sed -e 's/.*artid=//' -e 's/&.*//' | uniq`
echo "[+] Requesting XML playlist"
link="http://musicservices.myspace.com/Modules/MusicServices/Services/MusicPlayerService.ashx?action=getArtistPlaylist&artistId=$artistid&artistUserId=$userid"
xml=`wget --quiet -L "$link" --user-agent="Mozilla" -O -`
songs=`echo "$xml" | tr ">" "\n" | grep 'songId' | tr ' ' "\n" | grep 'songId' | cut -d '"' -f 2`
songcount=`echo "$songs" | wc -l`
echo "[+] Found $songcount songs."

for i in `seq 1 $songcount`
do
songid=`echo "$songs" | sed -n "$i"p`
link="http://musicservices.myspace.com/Modules/MusicServices/Services/MusicPlayerService.ashx?action=getSong&ptype=4&sample=0&songId=$songid"
songpage=`wget -L "$link" --quiet --user-agent="Mozilla" -O -`
title=`echo "$songpage" | tr "<" "\n" | grep 'title' | tr ">" "\n" | grep -v 'title' | sed -e '/^$/d' | sort -u`
rtmp=`echo "$songpage" | tr "<" "\n" | tr ">" "\n" | grep 'rtmp://' | uniq`
echo "Downloading $title..."
rtmpdump -r "$rtmp" -o "$title.flv" -q
done
Reply With Quote
  #8  
Old 12-04-2010, 04:22 AM
dansrfe dansrfe is offline
Junior Member
 
Join Date: Dec 2010
Posts: 2
dansrfe is on a distinguished road
Default

Re: rtmpdump is not compatible with MySpace?


hi guys i just got ubuntu and when running the shell script via:

sh myspacedownloader.sh

it gives me an error of Syntax error: word unexpected (expecting "do")

personally I would really appreciate if someone could tell me how to get this done in windows xp sp3 since that is what i use.

thanks

this is the link i want to download from:
Code:
http://www.myspace.com/yiruma/music/songs/river-flows-in-you-23016885
Reply With Quote
  #9  
Old 12-04-2010, 11:24 PM
dansrfe dansrfe is offline
Junior Member
 
Join Date: Dec 2010
Posts: 2
dansrfe is on a distinguished road
Default

Re: rtmpdump is not compatible with MySpace?


Can anyone list the detailed instructions via placebo's and KoryLifyddhb's method?
Reply With Quote
  #10  
Old 12-05-2010, 03:07 AM
placebo placebo is offline
Moderator - exTerminator
 
Join Date: Aug 2010
Posts: 477
placebo is on a distinguished road
Default

Re: rtmpdump is not compatible with MySpace?


hi, your hosts file should look like this (edit and save it!):

~~~~~~~~~~~snip~~~~~~~~~~
# 127.0.0.1 localhost
127.0.0.1 l3fms-music01.myspacecdn.com

~~~~~~~~~~~snap~~~~~~~~~~

then start rtmpsrv.exe, then goto your webpage, then play the §$%&! song, then check your command window. then press Alt+C (or Alt+X or etc.) to interrupt the rtmpsrv process. then your hosts file should look like this (edit and save it!):

~~~~~~~~~~~snip~~~~~~~~~~
127.0.0.1 localhost
# 127.0.0.1 l3fms-music01.myspacecdn.com

~~~~~~~~~~~snap~~~~~~~~~~

then copy/paste the full command to a new command line and run it, see screenshot. rtmpdump.exe will download your file. the following screenshot is self-explanatory, it shows everything.


take the flv file and, from it, extract the mp3 file with FLVExtract. you will see that the mp3 file is encoded in 96kbps and uses LAME3.96. well, that's what my mp3 tools report.

"Clouded topics"? .. guess why we write in this cloudy way! (myspace staff, emusic staff, thumbplay staff, zune staff, etc. .. they ALL read our topics and threads which are easily found with google search; so i better be careful what to disclose and what not)

Yiruma? wtf??! Another yiruma request or example or case, and i will ignore. i *ate yiruma music
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 06:56 AM.


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