Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

Capturing Men's Journal Video

(http://stream-recorder.com/forum/showthread.php?t=13389)

silverx 08-10-2012 09:14 PM

Capturing Men's Journal Video


 
The video is on this page http://www.thepostgame.com/blog/trai...rainers-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.n...rightcove.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&460f0929fc887f3b013a29825466f4 ff~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

Re: Capturing Men's Journal Video


 
Code:

$ 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

Re: Capturing Men's Journal Video


 
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

Re: Capturing Men's Journal Video


 
Quote:

Originally Posted by silverx
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.

Quote:

Originally Posted by silverx
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

Code:

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

Re: Capturing Men's Journal Video


 
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?


All times are GMT -6. The time now is 08:44 AM.