rtmpdump does not appear to work
Tony Baechler - BATS
bats at batsupport.com
Mon Jun 15 07:16:18 UTC 2015
On 6/14/2015 11:39 PM, MR ZenWiz wrote:
> I'm looking to be able to capture videos that are streamed in RTMP
> format, and there's a tool called rtmpdump (and associates) in the
> Ubuntu repositories. However, it doe snot appear to work properly:
Have you tried ffmpeg (AKA libav-tools) or MPlayer? They should also
support rtmp and might work better for you. Also, you could try youtube-dl.
It's updated very frequently, so it's best to get it directly from
http://yt-dl.org/latest/
>
> $ grabit
> Reload the video page, start the video and watch for the rtmp information
> When the video information appears, type ^C to halt the rtmp server.
> RTMP Server v2.4
> (c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL
>
> Streaming on rtmp://0.0.0.0:1935
> WARNING: Trying different position for client digest!
>
> rtmpdump -r "rtmp://stream.thedepressionsessions.com/cfx/st/" -a
> "cfx/st/" -f "LNX 11,2,202,466" -W
> "http://cdn.thedepressionsessions.com/wp-content/themes/sos-digestion/inc/jwplayer/jwplayer.flash.swf"
> -p "http://thedepressionsessions.com/trudy-scott/" -y
> "mp4:video/Trudy_Scott_Balancing_Brain_Chemistry.mp4" -o
> Trudy_Scott_Balancing_Brain_Chemistry.flv
>
That's probably not going to work. If you carefully look at the above,
you'll see that it's actually a link to the Flash player, but not the actual
vidio. I am not an expert on this, but to me, it looks like the above just
downloads the player code, not the video. It also looks like it's mp4, not
Flash and might not even using rtmp. JPlayer can play all kinds of formats
but I don't know if it even supports rtmp or not. I would look at the
source of the page and see how the site is calling jplayer.flash.swf. I
think there is a way to get it with wget, but I'm not an expert as I said.
I would give youtube-dl a try first.
More information about the ubuntu-users
mailing list