Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #21  
Old 06-01-2011, 08:41 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: change the code of of rtmpsrv, rtmpdump to run with the --live parameter by defau


@ KSV
As with the CBS website in the previous post (from chap Location: Ukraine).
This 60 Minutes clip also gives a 'false positive' live flag.
__http://www.cbsnews.com/video/watch/?id=7316962n

Quote:
RTMP Server v2.3 SVN-r569a
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
INFO: Live Flag : -2000

rtmpdump -r "rtmp://cnetmedia.fcod.llnwd.net:1935/a3706/d1?ovpfv=1.1" -a "a3706/d1?ovpfv=1.1" -f "LNX 10,1,102,64" -W "http://cnettv.cnet.com/[[IMPORT]]/vidtech.cbsinteractive.com/player/2_8_0/CBSI_PLAYER.swf" -p "http://www.cbsnews.com/video/watch/?id=7316962n" --live -C Z: -y "mp4:media/2011/02/03/60_sadatrewind_0203_598.m4v" -o 60_sadatrewind_0203_598.flv
It downloads OK only if I run the command without the --live switch.

Last edited by bat999 : 06-02-2011 at 05:29 AM.
Reply With Quote
  #22  
Old 06-02-2011, 10:57 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: change the code of of rtmpsrv, rtmpdump to run with the --live parameter by defau


Quote:
Originally Posted by placebo View Post
the common user doesnt need the patch, or do we need it? it's for information purposes only, isnt it?
patch is not required for windows users because package binaries are already compiled with it.

i have fixed detection of live flag. I also fixed another problem when batch file is directly used and rtmpdump parameters contain % symbol e.g %2F %2D etc.. in that case window was replacing % symbols resulting in non working batch file. now i am escaping these symbols with %, means %2F will be stored as %%2F so it can be used from within batch file. if you are copying batch file command to use on console you should replace %% with % or command may not work properly.

Package
Code:
http://www.mediafire.com/file/k0srlw30jn2ttvc/rtmpdump-2.3.zip
Patch:
Code:
http://pastebin.com/E7W8vKqB
for patch users, if you have applied any of my previous patch it would be better to revert to r569 and then apply this patch.

Last edited by KSV : 06-02-2011 at 11:31 AM. Reason: posted wrong files
Reply With Quote
  #23  
Old 06-02-2011, 12:20 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: change the code of of rtmpsrv, rtmpdump to run with the --live parameter by defau


Quote:
Originally Posted by KSV View Post
for patch users, if you have applied any of my previous patch it would be better to revert to r569 and then apply this patch.
@ KSV
Hi
I've modified the rtmpsrv.c file by changing the 4 lines from your latest patch that deal with the live flag.
Then re-compiled.
It seems to have cured the 'false positive' issue for that 60 Minutes clip.
Thanks.

Quote:
RTMPDump v2.3 SVN-r569b
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Live : No
rtmpdump -r "rtmp://cnetmedia.fcod.llnwd.net:1935/a3706/d1?ovpfv=1.1" -a "a3706/d1?ovpfv=1.1" -f "LNX 10,1,102,64" -W "http://cnettv.cnet.com/[[IMPORT]]/vidtech.cbsinteractive.com/player/2_8_0/CBSI_PLAYER.swf" -p "http://www.cbsnews.com/video/watch/?id=7316962n" -C Z: -y "mp4:media/2011/02/03/60_sadatrewind_0203_598.m4v" -o 60_sadatrewind_0203_598.flv
Reply With Quote
Reply Post New Thread
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:29 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons