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 > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 06-11-2011, 07:49 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Question

[SOLVED]Problem with RTMPDump and moshcam.com.


Hi
I used to be able to download from moshcam.com using rtmpdump.
But when I try now, it's not working any more.
Errors like this:-

Quote:
WARNING: No application or playpath in URL!
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 8

These are two examples:-
___http://www.moshcam.com/the-pretenders/enmore-theatre-849.aspx#
___http://www.moshcam.com/propagandhi/metro-theatre-495.aspx

I've tried using RTMPDump-v2.3 and also RTMPDump-v2.3 r569, but no joy.

I can download the files in Windows using CooJah + Blader.

But is there a way to use RTMPDump with this website?

Last edited by bat999 : 06-12-2011 at 09:18 AM.
Reply With Quote
  #2  
Old 06-12-2011, 02:43 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Problem with RTMPDump and moshcam.com (RTMPE)


They have switched to RTMPE type 9 handshake. currently rtmpdump doesn't support it.
Reply With Quote
  #3  
Old 06-12-2011, 05:15 AM
Stream Recorder
 
Posts: n/a
Default

Re: Problem with RTMPDump and moshcam.com (RTMPE)


This is interesting because CooJah + Blader uses rtmpdump as well.
Reply With Quote
  #4  
Old 06-12-2011, 06:17 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Problem with RTMPDump and moshcam.com (RTMPE)


I have added the parameters directly to blader from same command line which fails with rtmpdump and was able to download the video. so it means it supports the new handshake.

Code:
url: rtmpe://streaming.moshcam.com
app:
flashVer: WIN 10,3,181,14
swfUrl: http://www.moshcam.com/chooktv/modules/Container.swf
pageUrl: http://www.moshcam.com/propagandhi/metro-theatre-495.aspx
playPath: mp4:Propaghandi_1502009_m_Moshcam_H264_700k_CBR_WS_Stereo.mp4
however bat999's output suggests that server is responding with RTMPE type 8 handshake which AFAIK is supported by rtmpdump but it's little weird that it's not working with this video.
Reply With Quote
  #5  
Old 06-12-2011, 06:47 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Problem with RTMPDump and moshcam.com (RTMPE)


I investigated it further. it is actually using Type 8 handshake. it's a bug in later versions of rtmpdump. same command works fine with older versions of rtmpdump.
Reply With Quote
  #6  
Old 06-12-2011, 06:51 AM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: Problem with RTMPDump and moshcam.com (RTMPE)


Thanks KSV.

Is there a fix for the bug?
Which earlier version will work for moshcam?
Reply With Quote
  #7  
Old 06-12-2011, 07:39 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Problem with RTMPDump and moshcam.com (RTMPE)


This change was made in r562.

Code:
------------------------------------------------------------------------
r563 | hyc | 2011-03-22 20:43:18 +0530 (Tue, 22 Mar 2011) | 2 lines

Fix prev commit

------------------------------------------------------------------------
r562 | hyc | 2011-03-20 05:02:53 +0530 (Sun, 20 Mar 2011) | 2 lines

Drop back on the handshake version, avoid rtmpe 9
affected code:
Code:
/* 	  clientsig[4] = 128;
	  clientsig[6] = 3; */
	  clientsig[4] = 9;
	  clientsig[6] = 0x7c;
reverting those values will fix the problem with current server but may create problems with other servers requesting Type 9 handshake.
Reply With Quote
  #8  
Old 06-12-2011, 08:35 AM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: Problem with RTMPDump and moshcam.com (RTMPE)


Hi KSV
Like you said, earlier versions of RTMPDump do work OK.

Using v2.3 with Linux or Windows (Wine) both the Pretenders and Propaghandi files download OK.
Using v2.3 r569 with Linux or Windows (Wine) results in errors:-
Quote:
WARNING: No application or playpath in URL!
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
These were the commands used:- __http://pastebin.com/eAjBMWDx

I agree, reverting the values may create other problems.
Probably nobody will look into it any deeper.
So I'll keep both versions of RTMPDump available on my system.
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 11:13 PM.


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