Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Customized rtmpdump binaries with patch file

(http://stream-recorder.com/forum/showthread.php?t=16103)

KSV 06-11-2013 02:38 AM

Re: Customized rtmpdump binaries with patch file


 
Changes:
Code:

1. updated support for webvideocore.net servers
They have changed the security system a little bit. now every little detail of rtmp connection is checked to make sure only flash client can connect to their servers. most of the changes can be emulated via already existing switches but one detail required new patch.

Detected command:
Code:

rtmpdump -r "rtmp://vod4.webvideocore.net/live/" -a "live/" -f "WIN 11,6,602,180" -W "http://play.webvideocore.net/player3.swf" -p "http://www.wideopen.dk/info/_Video_on_Demand_191l2.aspx" --live -y "f_67ab4383a8c32007a78e1545e626e991.flv" -o "2013-05-29_09-56-50_f_67ab4383a8c32007a78e1545e626e991.flv"
you need to remove the -v (--live) switch and add following switches to command line to download it with latest binaries.
Code:

--tcUrl "rtmp://vod4.webvideocore.net/live/" -R --buffer 2000

KSV 06-11-2013 02:44 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by paxo (Post 62458)
Latest KSV-rtmpdump causes an "Access denied" error in some US based servers. The latest version sends two bytes less in the connect packet than the previous one (sizes 495 vs 497.)

can you verify this again with latest binaries? size difference is only due to missing last slash in app and tcUrl parameter.

paxo 06-16-2013 04:05 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by KSV (Post 62494)
can you verify this again with latest binaries? size difference is only due to missing last slash in app and tcUrl parameter.

Thanks for the clarification but, yes, the bug exists in the latest binaries posted.

KSV 06-17-2013 03:26 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by paxo (Post 62545)
Thanks for the clarification but, yes, the bug exists in the latest binaries posted.

i have uploaded new binaries. it should fix the regression. parse_url function isn't that great in some situations. it's better to supply app and playpath as explicit parameters.

paxo 06-17-2013 07:23 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by KSV (Post 62556)
i have uploaded new binaries. it should fix the regression. parse_url function isn't that great in some situations. it's better to supply app and playpath as explicit parameters.

Yep, the new version works as expected. I do note however your suggestion to use explicit app and playpath in the future. Thanks again!

PS: This forum has stability issues. Please consider having a specific RSS feed or something with the changelog and the link to updated binaries.

Luiz Prestez 06-17-2013 01:58 PM

Re: Customized rtmpdump binaries with patch file


 
KSV, you can help me to capture a video rtmpt the url of the video is
Code:

http://v3.webcasters.com.br/visualizador.aspx?CodTransmissao=141063
and address rtmpt this is
Code:

rtmpt://200.177.228.68:80/CursoForum_CursoForum_OD_Wowza?ticket=000000816647&id=38880699&crc=320094200&codTransmissao=mp4:92606_21.mp4
you can use any email and any name, the video is free.

The rtmpdump gave me the result:

Code:

C:\Documents and Settings\Administrador>rtmpdump -v -r "rtmpt://200.177.228.68:80/CursoForum_CursoForum_OD_Wowza?ticket=000000816647&id=38880699&crc=320094200&codTransmissao=mp4:92606_21.mp4" -W "http:
//v3.webcasters.com.br/flashplayer/jwplayer6/jwplayer.flash.swf" -o teste30
RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: rtmp server requested close


RedPenguin 06-17-2013 09:54 PM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by paxo (Post 62458)
Latest KSV-rtmpdump causes an "Access denied" error in some US based servers. The latest version sends two bytes less in the connect packet than the previous one (sizes 495 vs 497.)

Debug of the previous working version (compiled in February if I remember correctly):

Thank you so very much paxo for posting this. I was having this exact same issue and was wondering what was going on. I was attempting to watch The Late Show in the Free Cable plugin using my compiled librtmp.so.0 for the RasPi and it kept erroring out unless I used the default one, which is no good being KSV fixes so many sites.

hasomaso 06-18-2013 08:31 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by Luiz Prestez (Post 62567)
KSV, you can help me to capture a video rtmpt the url of the video is "http://v3.webcasters.com.br/visualizador.aspx?CodTransmissao=141063" and address rtmpt this is "rtmpt://200.177.228.68:80/CursoForum_CursoForum_OD_Wowza?ticket=000000816647 &id=38880699&crc=320094200&codTransmissao=mp4:9260 6_21.mp4", you can use any email and any name, the video is free.

The rtmpdump gave me the result:


C:\Documents and Settings\Administrador>rtmpdump -v -r "rtmpt://200.177.228.68:80/CursoForum_CursoForum_OD_Wowza?ticket=000000816647 &id=38880699&crc=320094200&codTransmissao=mp4:9260 6_21.mp4" -W "http:
//v3.webcasters.com.br/flashplayer/jwplayer6/jwplayer.flash.swf" -o teste30
RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: rtmp server requested close


the stream using a token, add in your parameter this and test again

Code:

-T "36QXq4W@GSBV^teR"

InterdimensionalCow 06-25-2013 05:17 AM

Re: Customized rtmpdump binaries with patch file


 
Would anyone be able to determine if Livestream.com support requires an update? It may be my connection, but when attempting to download, even the newest RTMPDump from the topic post ended downloads prematurely. I was attempting to download a pre-recorded stream/video from the site, having formatted my code similarly the code I found here here. My apologies for not being very versed, but since --resume/-e was giving me an error about not finding a keyframe, I was afraid there might be a skip in the recording between the attempts (although not exactly practical to watch the entire video to see).

Code:

64874.194 kB / 1678.36 sec (51.9%)
ERROR: WriteN, RTMP send error 10053 (42 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 67423
65003.075 kB / 1680.56 sec (52.0%)
Download may be incomplete (downloaded about 52.00%), try resuming

What leads me to believe RTMPDump might need a support update is, when looking up the specific errors given, I found that people have solved it before by updating RTMPDump. It seems random where it stops recording, mainly dependent on download speed. My internet wasn't fairing well earlier, so it consistently stopped around 3%. When my internet picked back up, it would stop around 50%.

Edit:
Code:

73693.020 kB / 1912.44 sec (59.1%)
ERROR: WriteN, RTMP send error 10053 (42 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 66077
73693.810 kB / 1912.44 sec (59.1%)
Download may be incomplete (downloaded about 59.10%), try resuming


jhb50 07-06-2013 10:56 AM

Re: Customized rtmpdump binaries with patch file


 
Probably a bad format url but since you have not posted it ....


All times are GMT -6. The time now is 12:27 PM.