Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
Re: I will be happy to helpthe download works perfect, if u want u can check this again |
#12
|
|||
|
|||
Re: I will be happy to helpHi,
ffmpeg dosent work for me too.I use this version... Code:
ffmpeg-20170921-183fd30-win32-static Code:
rtmp server requested close rtmp://185.102.218.67:80/C15//C15_720P.stream: Unknown error occurred greetz |
#13
|
|||
|
|||
Quote:
|
#14
|
|||
|
|||
Re: I will be happy to help |
#15
|
|||
|
|||
Quote:
|
#16
|
|||
|
|||
Re: I will be happy to help |
#17
|
|||
|
|||
Re: I will be happy to helpHi again,
ok it works using FFMPEG but you need to use a right version of FFMPEG.Download this version below... Code:
ffmpeg-3.3.4-win32-static.zip or ffmpeg-3.4-win32-static.zip Code:
ffmpeg -i "rtmp://185.102.218.67:80/C15/C15_720P.stream" -c:v copy -c:a copy -f mpegts - | C:\Programme\VideoLAN\VLC\vlc.exe - or ffmpeg -i "rtmp://185.102.218.67:80/C15/C15_720P.stream" -c:v copy -c:a copy output.mp4 greetz |
#18
|
|||
|
|||
Re: I will be happy to helpThis is magic.
When I try the last version compiled with librtmp, 3.3.3 it fails playing the stream. Ones without librtmp play the stream. This is actually the latest one and plays the stream as well: ffmpeg-20171109-723b6ba-win32-static.zip |
#19
|
|||
|
|||
Re: I will be happy to helpHi again,
I have test that stream again with rtmpdump and other internet player who support rtmp streaming but they all fail too (except the original player hdwplayer). Strange is if you check the debug that you get no error to invoke before getting the "close" to invoke.Rtmpdump calls close and thats it = over & out.If you check now same using VLC player direct with that stream url (where it works) in Wireshark then you see same = Handshake / Close but after that comes next _result invoke.So VLC dosent close after calling it.Seems that it handles the Close else than librtmp does. greetz |
#20
|
|||
|
|||
Re: I will be happy to helpHi guys,
today I did debug rtmpdump more in detail and found out the problem why it is not working with that stream and also how to fix this problem to force rtmpdump to work. The problem is that the server send a close object information right after the first _result object and rtmpdump does handle it as close and does quit but the stream server does send after that go on and send the second _result object followed by next onStatus.No idea why the stream server does send this fake "close" back but maybe its really a simple trick to tell rtmpdump & Co here is nothing get guys. Normaly before close will send a _error object but not in this case so that the reason I did wonder to check out what it is. Solution: We just need to handle that close answer from server of this stream. Function: RTMP_ReadPacket or RTMP_ClientPacket. In the returned AMF Body after calling that function you can check for the AMF type string (0x02) / AMF lenght 5 and the string name. Code:
02 00 05 63 6c 6f 73 65 ...close Code:
00408980=<rtmpdump.RTMP_ReadPacket> Stack: $ ==> > 0022BC88 $+4 > 0022B860 <--- $ ==> 0022B860 00011400 $+4 0022B864 00000003 $+8 0022B868 00000000 $+C 0022B86C 00000000 $+10 0022B870 00000012 $+14 0022B874 00000012 $+18 0022B878 00000000 $+1C 0022B87C 0032698A <---- 0032698A 02 00 05 63 6C 6F 73 65 00 00 ...close.. Nice or?So I cant compile a new rtmpdump version and just unpacked and patched rtmpdump file itself to check it out whether it works correctly.Maybe if someone can compile a new rtmpdump / librtmp with that patch (make it more advanced or add new extra command to bypass close AMF if server did send etc something like this you know). greetz |
Tags: help broadcast |
Thread Tools | |
Display Modes | |
|
|