PDA

View Full Version : Need help with example to rip this particular rtmpe


anorak
02-12-2012, 08:59 PM
Hi,

Can you please help me with the rtmpdump parameters to get the stream from http://content.bitsontherun.com/previews/LYsFIAEe-dmeh3UTQ ?

This should contain the information about the stream:
<rss version="2.0" xmlns:jwplayer="http://developer.longtailvideo.com/trac/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>75793_START_00000.split.1.m2ts</title>
<description>None</description>
<link>http://content.bitsontherun.com/previews/LYsFIAEe-dmeh3UTQ</link>

<item>
<title>75793_START_00000.split.1.m2ts</title>
<pubDate>Mon, 31 Oct 2011 16:50:38 -0000</pubDate>
<description></description>

<media:group>
<media:content bitrate="10130" url="conversions/F4G1kbrr/videos/LYsFIAEe-107241.mp4?eee6cc8084bc02b30964434688d6269a2256881 fa011dd7e81ba513c334e1c442591fe63dfc180c749f62fb5f 92489e86a1d690ed07cb25c6b9948cfb4c6532a26d9712dd8e d51e0286f6aa591df2b357778bfbdd12a0ca948fa34d3d1860 1d66fa23f4088c44ed1cfea1fe883c654" width="1080"></media:content>
<media:content bitrate="3170" url="conversions/F4G1kbrr/videos/LYsFIAEe-107239.mp4?eee6cc8084bc02b30964434688d6269a2256881 fa011dd7e81ba513c334e1c442591fe63dfc180c749f62fb5f 92489e86a1d690ed07cb25c6b9948cfb4c6532a26d9712dd8e d51e0286f6aa591df2b357778bfbdd12a0ca948fa34d3d1860 1d66fa23f4088c44ed1cfed17e883c654" width="480"></media:content>
<media:content bitrate="1870" url="conversions/F4G1kbrr/videos/LYsFIAEe-107238.mp4?eee6cc8084bc02b30964434688d6269a2256881 fa011dd7e81ba513c334e1c442591fe63dfc180c749f62fb5f 92489e86a1d690ed07cb25c6b9948cfb4c6532a26d9712dd8e d51e0286f6aa591df2b357778bfbdd12a0ca948fa34d3d1860 1d66fa23f4088c44ed1cfed16e883c654" width="320"></media:content>
</media:group>
<jwplayer:provider>rtmp</jwplayer:provider>
<jwplayer:duration>29.51</jwplayer:duration>
<jwplayer:streamer>rtmpe://fms.413C.edgecastcdn.net/00413C/content/</jwplayer:streamer>
<jwplayer:image>http://thumbs.bitsontherun.com/LYsFIAEe-720.jpg</jwplayer:image>
<jwplayer:playlist.image>http://thumbs.bitsontherun.com/LYsFIAEe-120.jpg</jwplayer:playlist.image>
<jwplayer:mediaid>LYsFIAEe</jwplayer:mediaid>
</item>
</channel>
</rss>

hasomaso
02-12-2012, 10:21 PM
Hi,

Can you please help me with the rtmpdump parameters to get the stream from http://content.bitsontherun.com/previews/LYsFIAEe-dmeh3UTQ ?

This should contain the information about the stream:
<rss version="2.0" xmlns:jwplayer="http://developer.longtailvideo.com/trac/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>75793_START_00000.split.1.m2ts</title>
<description>None</description>
<link>http://content.bitsontherun.com/previews/LYsFIAEe-dmeh3UTQ</link>

<item>
<title>75793_START_00000.split.1.m2ts</title>
<pubDate>Mon, 31 Oct 2011 16:50:38 -0000</pubDate>
<description></description>

<media:group>
<media:content bitrate="10130" url="conversions/F4G1kbrr/videos/LYsFIAEe-107241.mp4?eee6cc8084bc02b30964434688d6269a2256881 fa011dd7e81ba513c334e1c442591fe63dfc180c749f62fb5f 92489e86a1d690ed07cb25c6b9948cfb4c6532a26d9712dd8e d51e0286f6aa591df2b357778bfbdd12a0ca948fa34d3d1860 1d66fa23f4088c44ed1cfea1fe883c654" width="1080"></media:content>
<media:content bitrate="3170" url="conversions/F4G1kbrr/videos/LYsFIAEe-107239.mp4?eee6cc8084bc02b30964434688d6269a2256881 fa011dd7e81ba513c334e1c442591fe63dfc180c749f62fb5f 92489e86a1d690ed07cb25c6b9948cfb4c6532a26d9712dd8e d51e0286f6aa591df2b357778bfbdd12a0ca948fa34d3d1860 1d66fa23f4088c44ed1cfed17e883c654" width="480"></media:content>
<media:content bitrate="1870" url="conversions/F4G1kbrr/videos/LYsFIAEe-107238.mp4?eee6cc8084bc02b30964434688d6269a2256881 fa011dd7e81ba513c334e1c442591fe63dfc180c749f62fb5f 92489e86a1d690ed07cb25c6b9948cfb4c6532a26d9712dd8e d51e0286f6aa591df2b357778bfbdd12a0ca948fa34d3d1860 1d66fa23f4088c44ed1cfed16e883c654" width="320"></media:content>
</media:group>
<jwplayer:provider>rtmp</jwplayer:provider>
<jwplayer:duration>29.51</jwplayer:duration>
<jwplayer:streamer>rtmpe://fms.413C.edgecastcdn.net/00413C/content/</jwplayer:streamer>
<jwplayer:image>http://thumbs.bitsontherun.com/LYsFIAEe-720.jpg</jwplayer:image>
<jwplayer:playlist.image>http://thumbs.bitsontherun.com/LYsFIAEe-120.jpg</jwplayer:playlist.image>
<jwplayer:mediaid>LYsFIAEe</jwplayer:mediaid>
</item>
</channel>
</rss>


rtmpdump -r "rtmpe://fms.413C.edgecastcdn.net/00413C/content/" -a "00413C/content/" -f "WIN 11,1,102,55" -W "http://d2ciznq2rtdp7k.cloudfront.net/player-12953.swf" -p "http://content.bitsontherun.com/previews/LYsFIAEe-dmeh3UTQ" -y "mp4:conversions/F4G1kbrr/videos/LYsFIAEe-107239.mp4?eee6cc8084bc02b30964434688d6269a2256881 fa011dd7e81ba513c334d184c6529a35f033241179f48221b0 6529a0a1098f4b1917ab0cc06df2582cb7c2900ac4281826f0 490835eeeb8800a2ae5042e76eff84bd55240c64d2f21ff18e 2c23b94eeaf7309bd3b903d0ce0da251e" -o LYsFIAEe-107239.flv

KSV
02-12-2012, 10:35 PM
have you even tried anything? anyway

replace your_auth_token with your current auth token from xml file in following command line.
rtmpdump -r "rtmpe://fms.413C.edgecastcdn.net/00413C/content/" -a "00413C/content/" -f "WIN 11,1,102,55" -W "http://d2ciznq2rtdp7k.cloudfront.net/player-12953.swf" -p "http://content.bitsontherun.com/previews/LYsFIAEe-dmeh3UTQ" -y "mp4:conversions/F4G1kbrr/videos/LYsFIAEe-107241.mp4?your_auth_token" -o LYsFIAEe-107241.flv

RTMPDump v2.4 GIT-2011-12-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 8
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 29.51
INFO: moovPosition 40.00
INFO: width 1080.00
INFO: height 608.00
INFO: videocodecid avc1
INFO: audiocodecid mp4a
INFO: avcprofile 66.00
INFO: avclevel 32.00
INFO: aacaot 2.00
INFO: videoframerate 29.99
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: tags:
INFO: ©too Lavf52.84.0
INFO: trackinfo:
INFO: length 1770769.00
INFO: timescale 60000.00
INFO: language und
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 1295360.00
INFO: timescale 44100.00
INFO: language und
INFO: sampledescription:
INFO: sampletype mp4a
19350.991 kB / 15.18 sec (51.4%)

anorak
02-12-2012, 11:09 PM
Thanks KSV and hasomaso. You guys are amazing :)
Yes, I did try to get the stream but I was missing -a, -f and -W.

Eric C.
02-13-2012, 09:58 AM
Didn't want to make a new thread, but I'm having problems with this url
rtmpt://c14005-o.f.core.cdn.streamfarm.net/14005dgcom/ondemand/3916ebstd/ebstd/2012/02/13/zh/ebstd_2012-02-13_196719_000.mp4

I'm working with Linux. A simple "rtmdump -r" doesn't work but I suspect something more complicated does. I care more about the process of getting the working rtmdump command than the command itself, so a link to a tutorial will be fine

Thank you

Bahman
02-13-2012, 10:34 AM
you need sth like this?
rtmpdump -r "rtmp://c14005-o.f.core.cdn.streamfarm.net/14005dgcom" -a "14005dgcom/" -y "mp4:ondemand/3916ebstd/ebstd/2012/02/13/zh/ebstd_2012-02-13_196719_000.mp4" -o "ebstd_2012-02-13_196719_000.flv"
RTMPDump v2.4 GIT-2011-12-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: client signature does not match!
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 125.02
INFO: moovPosition 28.00
INFO: audiocodecid mp4a
INFO: width 512.00
INFO: height 288.00
INFO: videocodecid avc1
INFO: avcprofile 100.00
INFO: avclevel 21.00
INFO: aacaot 2.00
INFO: audiosamplerate 44100.00
INFO: audiochannels 1.00
INFO: videoframerate 25.00
INFO: trackinfo:
INFO: length 5513216.00
INFO: timescale 44100.00
INFO: language und
INFO: sampledescription:
INFO: sampletype mp4a
INFO: length 3125000.00
INFO: timescale 25000.00
INFO: language und
INFO: sampledescription:
INFO: sampletype avc1
51.771 kB / 1.02 sec (0.8%)

Eric C.
02-13-2012, 10:38 AM
you need sth like this?
rtmpdump -r "rtmp://c14005-o.f.core.cdn.streamfarm.net/14005dgcom" -a "14005dgcom/" -y "mp4:ondemand/3916ebstd/ebstd/2012/02/13/zh/ebstd_2012-02-13_196719_000.mp4" -o "ebstd_2012-02-13_196719_000.flv"

Now I'm getting
ERROR: RTMP_Connect0, failed to connect socket. 111 (Connection refused)

Bahman
02-13-2012, 11:09 AM
As you see, the script is OK!! That error is because of your internet connection or your rtmpdump version!!

Eric C.
02-13-2012, 11:24 AM
Had to change the port with -c
Works now

Thank you very much