PDA

View Full Version : Capturing Men's Journal Video


silverx
08-10-2012, 09:14 PM
The video is on this page http://www.thepostgame.com/blog/training-day/201207/exercises-make-trainers-cringe. I'm downloading the one called Deadlift - under Exercise 3.

With wireshark I get this:
NetStream.Unpause.Notify..description..:Unpausing 211755171/211755171_921541548001_Deadlift-2.mp4...details../211755171/211755171_921541548001_Deadlift-2.mp4..clientid...oAAXkDxA...E..........onStatus.. ...........level...status..code...NetStream.Play.S tart..description..@Started playing 211755171/211755171_921541548001_Deadlift-2.mp4...details../211755171/211755171_921541548001_Deadlift-2.mp4..clientid...oAAXkDxA...E..........|RtmpSampl eAccess....E

Whereas with Net Transport I get:
http://ma156-r.analytics.edgesuite.net/9.gif?a=C~b=9c1e67f75e9bf1686~c=64346106F1CB1C6F6A E2CAFD17FA6ED09C029535~d=F51FF62F0F1F08E3B8D0B2660 9A388951FA1A61B~e=9~f=R~g=1~h=1.2~i=1.1~k=63B96F39 D3765A69B24A6C1D5A68CC3EDE3968A5~am=D~_ac=ds/rtmp/ondemand/&mp4:211755171/211755171_921540901001_Deadlift-2.mp4&1344657600000&460f0929fc887f3b013a29825466f4ff~ag=www.thepostgam e.com~al=Windows%207~ax=O~dx=0.043~en=ds/rtmp/ondemand/&mp4:211755171/211755171_92154~_tt=Deadlift~_cd_1557=211755171~cm =LIMELIGHT~m=PS~v=0~w=1604363~aa=brightcove.fcod.l lnwd.net~ab=a500/e1/uds/rtmp/ondemand/&mp4:211755171/211755171_921540901001_Deadlift-2.mp4&1344657600000&460f0929fc887f3b013a29825466f4ff~ad=1935~ae=rtmp~a f=http://admin.brightcove.com/[[IMPORT]]/79423.analytics.edgekey.net/csma/brightcove/BrightcoveCSMALoader.swf?pluginPath=http://79423.analytics.edgekey.net/csma/plugin/csma.swf&configPath=http://ma156-r.analytics.edgekey.net/config/beacon-1686.xml~ai=Mozilla/5.0%20(Windows%20NT%206.1;%20WOW64)%20AppleWebKit/537.1%20(KHTML,%20like%20Gecko)%20Chrome/21.0.1180.75%20Safari/537.1~aj=11,3,31,225~ak=Flash_PlugIn~an=0~ao=76~ap =76~aq=127060~ar=0~as=29.9700~at=Netscape~au=621*6 17~av=640*360~_aw=rtmp://brightcove.fcod.llnwd.net/a500/e1/uds/rtmp/ondemand/&mp4:211755171/211755171_921540901001_Deadlift-2.mp4&1344657600000&460f0929fc887f3b013a29825466f4ff~ay=csma-2.3.24:brightcoveLoader-1.0.21~az=1.1~ba=900000~bb=68.142.77.113~ta=113014 ~tb=00~td=0~tx=129~ty=0~tz=2~xa=Stream.Switched~tf =0~te=0~_cd_1759=brightcove.fcod.llnwd.net~hdx=44. 058~qoe=0.0125

Please notice that the name ending in Deadlife-2.mp4 also comes up in Net Transport.

However neither Wireshark nor NT yield the full path.

This is what's got me all confused and that's why I'm on this forum.

Also, RTMP, I think, is the protocol. So I know I'm gonna have to use rtmpdump, right?

So, in short, how do I download this video before it gets taken down? :)

Thank you in advance.

svnpenn
08-10-2012, 10:30 PM
$ rtmpdump -r "rtmp://brightcove-06.fcod.llnwd.net:1935/a500/e1/uds/rtmp/ondema
nd?videoId=921495801001&lineUpId=&pubId=211755171&playerId=1052472049001&affili
ateId=" -a "a500/e1/uds/rtmp/ondemand?videoId=921495801001&lineUpId=&pubId=2117
55171&playerId=1052472049001&affiliateId=" -f "WIN 11,3,300,257" -W "http://adm
in.brightcove.com/viewer/us20120810.1250/federatedVideo/BrightcovePlayer.swf?ui
d=1344659120928" -p "http://www.thepostgame.com/blog/training-day/201207/exerci
ses-make-trainers-cringe" -C B:0 -C S:'mp4:211755171/211755171_921540870001_Dea
dlift-2.mp4&1344664800000&8b5d96ed183d20f710667c83fc762455' -y "mp4:211755171/2
11755171_921540870001_Deadlift-2.mp4?videoId=921495801001&lineUpId=&pubId=21175
5171&playerId=1052472049001&affiliateId=" -o 211755171_921540870001_Deadlift-2.
flv
RTMPDump v2.4-35-ge0056c5
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 127.06
INFO: moovPosition 48.00
INFO: width 1280.00
INFO: height 720.00
INFO: videocodecid avc1
INFO: audiocodecid mp4a
INFO: avcprofile 100.00
INFO: avclevel 31.00
INFO: aacaot 2.00
INFO: videoframerate 29.97
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: tags:
INFO: ©too Lavf52.92.0
INFO: trackinfo:
INFO: length 380800.00
INFO: timescale 2997.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 5602304.00
INFO: timescale 44100.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype mp4a
26798.036 kB / 127.03 sec (99.9%)
Download complete

silverx
08-10-2012, 11:42 PM
Thanks! I can't get it to work but thank you anyway for responding so fast to my question.

My Windows 7 command prompt doesn't like the digits ('1344664800000') it says:
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
'1344664800000' is not recognized as an internal or external command, operable program or batch file.
'8b5d96ed183d20f710667c83fc762455'' is not recognized as an internal or external command,operable program or batch file.

You think maybe the single quotes are the problem?

So how do you come up with such a long, monstrous command with so many command options and values? Does a piece of software you have generate it for you?

Thanks again.

svnpenn
08-11-2012, 12:02 AM
You think maybe the single quotes are the problem?

I ran the command through Bash. If you are using cmd.exe then yes you will need to use double quotes to comply with rules of that interpreter.

So how do you come up with such a long, monstrous command with so many command options and values? Does a piece of software you have generate it for you?

I use a script rtmp-host.sh; however if you know the host (in this case brightcove-06.fcod.llnwd.net) you can simply add line to hosts file

127.0.0.1 brightcove-06.fcod.llnwd.net

then run rtmpsrv.exe and restart the video. Once video starts it will dump the command. You will then need to restore hosts file, and run RtmpDump command. Caution; the dumped command in this case will not work as is because the quotes mentioned above are missing. I had to add them. Final note: depending on the server some of the arguments are optional; in extreme cases you can leave off -a, -f, -W, -p, -C, -y and the command will still work.

silverx
08-11-2012, 05:00 AM
So in a Windows environment what do you use in place of a hosts file?

Do you know of any good websites with tutorials where you are taught how to download streaming videos in several different scenarios not just thepostgame.com site? 'Cause I've heard that you have to do things differently depending on the site, right?