View Single Post
  #1  
Old 05-21-2018, 05:31 AM
ragex ragex is offline
Junior Member
 
Join Date: Mar 2013
Posts: 22
ragex is on a distinguished road
Default

Rtmpdump with Sock4/5


Hey Guys,

I'm trying to sort something out and might need to ask for some help.
I'm using rtmpdump to pull a 10 second stream using sock4/5.
But I don't want to record the full 10 seconds. I just wanna record enough data to make a single screenshot of the flv. Maybe only 1 second.
The problem with using socks it don't seem to work very well. It records the full 10 sec. instead of quit after 2 seconds.

Take a look at the command and see if you have some suggestions.


Code:
rtmpdump -B 2.0 --timeout 2 -S 103.0.0.1:1234 -r "rtmp://somesite.com/live/livestream" -a "live/livestream" -f "WIN 16,0,0,235" -W "http://somesite.com/public.swf" -C S:PREVIEW --live -y "livestream" -o file.flv
Reply With Quote