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
  #11  
Old 04-08-2013, 10:21 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Customized rtmpdump binaries with patch file


i have seen some people claiming that certain url's working with old builds but not new one's. this is due to the changed behavior of url parsing in official git repository. for example if you have passed following url to rtmpdump it will behave differently after this commit.

Code:
-r "rtmp://host/first/second/third/fourth"
old app will parse the app as first/second and playpath as third/fourth while after this commit app will be parsed as first/second/third and playpath as fourth invalidating the previously working command.

you can overcome this problem in two ways:
1. specify app and playpath using separate commands (-a|--app) and (-y|--playpath) respectively.
2. in my builds you can also use // as app and playpath separator.

Code:
-r "rtmp://host/first/second//third/fourth"
Reply With Quote
  #12  
Old 04-08-2013, 10:21 AM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by KSV View Post
i have tried it few times and it works every time. maybe your localized server having issues. try with IP 124.40.42.172.
With your server it doesn't work at all.
Code:
rtmpdump -v -r "rtmp://124.40.42.172/live/Flash_li
ve_KTO_TV@27823" -W "http://www.ktotv.com/templates/ktotv/swf/player.swf" | vlc -
RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

Last edited by karlo2105 : 04-08-2013 at 11:25 AM.
Reply With Quote
  #13  
Old 04-08-2013, 10:36 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by karlo2105 View Post
With your server it doesn't work at all.
use following command to access it directly with IP.

Code:
rtmpdump -v -r "rtmp://124.40.42.172:80/live/Flash_live_KTO_TV@27823" -W "http://www.ktotv.com/templates/ktotv/swf/player.swf" -t "rtmp://cp99495.live.edgefcs.net:80/live" -o Test.flv
Code:
RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:   audiocodecid            2.00
INFO:   audiodatarate           0.00
INFO:   canseektoend            FALSE
INFO:   creationdate            Mon Apr 08 14:37:19 2013
INFO:   duration                0.00
INFO:   framerate               25.00
INFO:   height                  450.00
INFO:   lastkeyframetimestamp   0.00
INFO:   lasttimestamp           0.00
INFO:   metadatacreator         On2 Flix SDK for Dshow_2.7.4.0
INFO:   On2                     Technologies
INFO:   profile                 VP6-E
INFO:   videocodecid            4.00
INFO:   videodatarate           0.00
INFO:   width                   800.00
521.433 kB / 10.47 sec
Your second stream is also working fine for me.
Reply With Quote
  #14  
Old 04-08-2013, 11:00 AM
karlo2105 karlo2105 is offline
Senior Member
 
Join Date: Sep 2011
Posts: 318
karlo2105 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


It's working great with -t parameter added even with original server.
Thanks very much KSV.
Reply With Quote
  #15  
Old 04-08-2013, 10:58 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by karlo2105 View Post
It's working great with -t parameter added even with original server.
'-t' switch doesn't do anything magical. probably it was a temporary glitch on your side.
Reply With Quote
  #16  
Old 04-09-2013, 08:41 AM
dindi dindi is offline
Junior Member
 
Join Date: Mar 2013
Posts: 1
dindi is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


How about BUFX - realtime download on some servers...
Isn't possible to download with real speed on servers based on Flash Media Server 3?

Majority of sites runnin FMS is needed to use -v mode and sometimes videos are downloaded with lag between Video/Sound.
Reply With Quote
  #17  
Old 04-09-2013, 09:54 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by dindi View Post
How about BUFX - realtime download on some servers...
Isn't possible to download with real speed on servers based on Flash Media Server 3?

Majority of sites runnin FMS is needed to use -v mode and sometimes videos are downloaded with lag between Video/Sound.
i don't quite understand what you wanna say but it has been resolved long ago.

Code:
--realtime|-R           Don't attempt to speed up download via the Pause/Unpause BUFX hack
Reply With Quote
  #18  
Old 04-09-2013, 09:25 PM
lorus lorus is offline
Junior Member
 
Join Date: Apr 2013
Posts: 7
lorus is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


I have some trouble with a stream. The capturing seems to start but it captures only 0.01sec and then the process hangs / doesn't captures anything more ...

Code:
C:\Users\media\Desktop\rtmp>rtmpdump -r "rtmp://xxx:1936/streams" -a "streams" -f "WIN 11,6,602,180" -W "http://xxx/xxx/xxx.swf" -p "http://xxx" -y "xxx" -o "xxx" 
RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   presetname              Custom
INFO:   creationdate            Tue Apr 09 21:36:10 2013
INFO:   videodevice             AVerMedia BDA Analog Capture Secondary [1]
INFO:   framerate               60.00
INFO:   width                   720.00
INFO:   height                  400.00
INFO:   videocodecid            avc1
INFO:   videodatarate           1500.00
INFO:   avclevel                32.00
INFO:   avcprofile              66.00
INFO:   videokeyframe_frequency 10.00
INFO:   audiodevice             AVerMedia BDA Analog Capture Secondary [1]
INFO:   audiosamplerate         44100.00
INFO:   audiochannels           2.00
INFO:   audioinputvolume        75.00
INFO:   audiocodecid            mp4a
INFO:   audiodatarate           96.00

0.660 kB / 0.00 sec
289.526 kB / 0.00 sec
673.945 kB / 0.00 sec
1078.496 kB / 0.00 sec
INFO: Metadata:
INFO:   presetname              Custom
INFO:   creationdate            Tue Apr 09 21:36:10 2013
INFO:   videodevice             AVerMedia BDA Analog Capture Secondary [1]
INFO:   framerate               60.00
INFO:   width                   720.00
INFO:   height                  400.00
INFO:   videocodecid            avc1
INFO:   videodatarate           1500.00
INFO:   avclevel                32.00
INFO:   avcprofile              66.00
INFO:   videokeyframe_frequency 10.00
INFO:   audiodevice             AVerMedia BDA Analog Capture Secondary [1]
INFO:   audiosamplerate         44100.00
INFO:   audiochannels           2.00
INFO:   audioinputvolume        75.00
INFO:   audiocodecid            mp4a
INFO:   audiodatarate           96.00

1203.780 kB / 0.01 sec
INFO: Metadata:
INFO:   presetname              Custom
INFO:   creationdate            Tue Apr 09 21:36:10 2013
INFO:   videodevice             AVerMedia BDA Analog Capture Secondary [1]
INFO:   framerate               60.00
INFO:   width                   720.00
INFO:   height                  400.00
INFO:   videocodecid            avc1
INFO:   videodatarate           1500.00
INFO:   avclevel                32.00
INFO:   avcprofile              66.00
INFO:   videokeyframe_frequency 10.00
INFO:   audiodevice             AVerMedia BDA Analog Capture Secondary [1]
INFO:   audiosamplerate         44100.00
INFO:   audiochannels           2.00
INFO:   audioinputvolume        75.00
INFO:   audiocodecid            mp4a
INFO:   audiodatarate           96.00

Last edited by lorus : 04-10-2013 at 08:47 AM.
Reply With Quote
  #19  
Old 04-09-2013, 10:41 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by lorus View Post
I have some trouble with a stream. The capturing seems to start but it captures only 0.01sec and then the process hangs / doesn't captures anything more ...
Try adding -v (--live) switch.
Reply With Quote
  #20  
Old 04-10-2013, 08:23 AM
anon069 anon069 is offline
Junior Member
 
Join Date: Feb 2011
Posts: 23
anon069 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Thank you KSV for your effort and for adding those patches, one of which has fixed my previous problem. It is definitely appreciated. If only I had a tenth of the understanding that you have!

a69
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 07:46 AM.


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