View Single Post
  #6  
Old 03-24-2012, 09:09 AM
Bahman Bahman is offline
t.A.T.u.'s fan forever
 
Join Date: Sep 2011
Location: Tehran, Iran
Posts: 381
Bahman is on a distinguished road
Cool

Re: a dumb need help for rtmpdump


I think it's better if you use US proxies or VPNs!! Because:
1. The quality of Videos that are stored in US MTV are far better (HD 1280x720)!!
2. The instruction of MTV.it is a little bit hard!!

Anyway, again Go to the webpage and find "Flash player embedded path":
Code:
http://media.mtvnservices.com/mgid:uma:videolist:mtv.it:688423
Paste the link in browser and then you will be redirected to alternative url:
Code:
http://media.mtvnservices.com/player/prime/mediaplayerprime.1.9.0.swf?uri=mgid:uma:videolist:mtv.it:688423&type=normal&ref=None&geo=IT&group=intl&&CONFIG_URL=http%3a%2f%2fmedia.mtvnservices.com%2fpmt%2fe1%2fplayers%2fmgid%3auma%3avideolist%3amtv.it%3a%2fcontext1%2fconfig.xml%3furi%3dmgid%3auma%3avideolist%3amtv.it%3a688423%26type%3dnormal%26ref%3dNone%26geo%3dIT%26group%3dintl%26
Decode that url and then find CONFIG_URL:
Code:
http://media.mtvnservices.com/player/prime/mediaplayerprime.1.9.0.swf?uri=mgid:uma:videolist:mtv.it:688423&type=normal&ref=None&geo=IT&group=intl&&CONFIG_URL=http://media.mtvnservices.com/pmt/e1/players/mgid:uma:videolist:mtv.it:/context1/config.xml?uri=mgid:uma:videolist:mtv.it:688423&type=normal&ref=None&geo=IT&group=intl&
Paste Config url in browser again, you will see (I've removed unneeded parts):
Code:
<player>
<feed>
http://intl.esperanto.mtvi.com/www/xml/fullepisode.jhtml?uri={uri}&version=as3&keyValues=partner%3Dviral
</feed>
<config>
Add the URI string to that blue highlighted url:
Code:
http://intl.esperanto.mtvi.com/www/xml/fullepisode.jhtml?uri=
+
Code:
mgid:uma:videolist:mtv.it:688423
=
Code:
http://intl.esperanto.mtvi.com/www/xml/fullepisode.jhtml?uri=mgid:uma:videolist:mtv.it:688423
if you have FireFox 11 or Chrome, you can browse that final URL! but with IE, you can't!! If you are insist on opening that on IE, you should use Media RSS reader/Feed Validator!!

Then, You can see the IDs of each part of Vid (the IDs are: 688432, 688433, 688434, 688435)!! but all of them shows only one rtmpe url!! So, Use one of them so as to see it:
Code:
http://intl.esperanto.mtvi.com/www/xml/media/mediaGen.jhtml?uri=mgid:uma:video:mtv.it:688432
Code:
<item startTime="0.040" endTime="190.920">
<rendition cdn="akamai" duration="190" width="384" height="288" type="video/mp4" bitrate="400">
<src>
rtmpe://cp24806.edgefcs.net/ondemand/mtviestor/_!/intlod/it/ontv/my_life_as_liz/it_mylifeasliz_212_384x288_400_m30.mp4
</src>
</rendition>
<rendition cdn="akamai" duration="190" width="448" height="336" type="video/mp4" bitrate="600">
<src>
rtmpe://cp24806.edgefcs.net/ondemand/mtviestor/_!/intlod/it/ontv/my_life_as_liz/it_mylifeasliz_212_448x336_600_m30.mp4
</src>
</rendition>
<rendition cdn="akamai" duration="190" width="480" height="360" type="video/mp4" bitrate="900">
<src>
rtmpe://cp24806.edgefcs.net/ondemand/mtviestor/_!/intlod/it/ontv/my_life_as_liz/it_mylifeasliz_212_480x360_900_m30.mp4
</src>
</rendition>
<rendition cdn="akamai" duration="190" width="576" height="432" type="video/mp4" bitrate="1200">
<src>
rtmpe://cp24806.edgefcs.net/ondemand/mtviestor/_!/intlod/it/ontv/my_life_as_liz/it_mylifeasliz_212_576x432_1200_m30.mp4
</src>
</rendition>
<rendition cdn="akamai" duration="190" width="640" height="480" type="video/mp4" bitrate="1600">
<src>
rtmpe://cp24806.edgefcs.net/ondemand/mtviestor/_!/intlod/it/ontv/my_life_as_liz/it_mylifeasliz_212_640x480_1600_m30.mp4
</src>
</rendition>
As you see, Vids aren't HQ!!

Anyway, rtmpdump pattern script:
Code:
rtmpdump -r "rtmpe://cp24806.edgefcs.net/ondemand/" -a "ondemand/" -W "http://media.mtvnservices.com/player/prime/mediaplayerprime.1.10.8.swf" -y "mp4:mtviestor/_!/intlod/it/ontv/my_life_as_liz/it_mylifeasliz_212_640x480_1600_m30.mp4" -o it_mylifeasliz_212_640x480_1600_m30.flv
Code:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              1267.12
INFO:   moovPosition          36.00
INFO:   width                 640.00
INFO:   height                480.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            77.00
INFO:   avclevel              30.00
INFO:   aacaot                2.00
INFO:   videoframerate        25.00
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                3167900.00
INFO:   timescale             2500.00
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                55878656.00
INFO:   timescale             44100.00
INFO: sampledescription:
INFO:   sampletype            mp4a
INFO:   length                600.00
INFO:   timescale             600.00
INFO: sampledescription:
INFO:   length                600.00
INFO:   timescale             600.00
INFO: sampledescription:
64.062 kB / 0.37 sec (0.0%)
Last thing, I couldn't understand your last question!!!
Reply With Quote