Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#31
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileQuote:
|
#32
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileIt looks like newer rtmpsrv is giving a very similar error to older rtmpsuck.
http://pastebin.com/tWJEYA28 |
#33
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileQuote:
change following in rtmpsrv.c and try: countAMF: Code:
len += 2; if (p->p_name.av_val) len += p->p_name.av_len + 1; if((p->p_type == AMF_ECMA_ARRAY) || (p->p_type == AMF_STRICT_ARRAY)) p->p_type = AMF_OBJECT; switch(p->p_type) { case AMF_BOOLEAN: Code:
argv[ac].av_val = ptr; if (p->p_name.av_val) *ptr++ = 'N'; if((p->p_type == AMF_ECMA_ARRAY) || (p->p_type == AMF_STRICT_ARRAY)) p->p_type = AMF_OBJECT; *ptr++ = opt[p->p_type]; *ptr++ = ':'; if (p->p_name.av_val) |
#34
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileThat's completely gets rid of the invalid AMF data, but for some reason it still errors out on RTMPDump:
https://dl.dropboxusercontent.com/u/...tmpsrv-log.txt The thing I always noticed between the older and newer RTMPSrvs I had was when 2011-07-11 was recording it always claimed the AMF Data was "-C 0:0 -C 0:1" such as I seen from your fix, but the original ones from this thread claim they got the strange chars I mentioned before. |
#35
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileThat's not the problem with rtmpdump. rtmpdump tries to connect with their sever on detected port (1935) and server disconnects the connection. it's also the reason why rtmpsuck doesn't work on this site. after disconnection their flash client switches to another port (probably 80 or 443) which is not redirected to rtmpsrv or rtmpsuck by default (check RTMPDumpHelper options). try after changing the port from 1935 to 80 or 443. it's better to use wireshark in this case to know which protocol (RTMPT ?) and port is being used.
|
#36
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileQuote:
http://www.cnn.com/video/data/3.0/vi...eam1/index.xml You can tell it seems to mention rtmpe first and that's the protocol uses in the older version but I do see an rtmpte URL also in that XML but Wireshark claims rtmpte is not in use by default. |
#37
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileQuote:
|
#38
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileFirst post updated with new fixes.
|
#39
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileTY.
Only thing that confuses me then after you looked at this issue is how the older rtmpdump involked by rtmpsrv is actually able to download from the stream. What would the older one have the newer one doesn't, is the question. |
#40
|
|||
|
|||
Re: Customized rtmpdump binaries with patch fileQuote:
are you suggesting that older version of rtmpdump is able to download while newer one isn't. there is one more thing we can try. post the debug log of older and newer rtmpdump. rtmpsrv doesn't matter because after the above fix both generates proper command line. introduction of those array types have caused many regressions. |
Tags: binaries, binary, patch, patches, rtmpdump, rtmpsrv, rtmpsuck |
Thread Tools | |
Display Modes | |
|
|