Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
From RTMPDUMP to FFMPEG, the flow is frozen in 5 seconds.Hi,
I am getting a live stream in raw format with rtmpdump. Then I broadcast this live broadcast via rtmp with ffpeg. But the live broadcast continues to freeze for 5 seconds. 5 seconds playing 1 second freezing, 5 seconds playing 1 second freezing, 5 seconds playing 1 second freezing. This is how the live broadcast progresses. I searched, but I could not find a solution. My current code. Quote:
|
#2
|
|||
|
|||
Re: From RTMPDUMP to FFMPEG, the flow is frozen in 5 seconds.Any ideas?
|
#3
|
|||
|
|||
Re: From RTMPDUMP to FFMPEG, the flow is frozen in 5 seconds.Hi,
Code:
--swfhash|-w hexstring SHA256 hash of the decompressed SWF file (32 bytes) Code:
url: http://flowplayer.blacktrash.org/flowplayer-3.2.18.swf ctim: Wed, 26 Apr 2017 16:20:12 GMT date: Fri, 21 Aug 2015 21:46:43 GMT size: 0003e1de hash: 87a5f556a8b9e1861aea553cb1e1ab635c5a687ea0d59cc2acb8e32495478c0e Code:
-r "rtmpe://93.189.57.254/xlive" -a "xlive" -s "http://sportstream365.com/swf/VideoPlayer.swf" -w "5aaaa32059cba732636c28519b2ce34a3568f1058a8bd02d6a932643554ccbb4" -x "585534" -p "http://sportstream365.com/" -C S:client -C S:3.1.0.10 -C S:en --live -y "raw:571195" greetz |
#4
|
|||
|
|||
Re: From RTMPDUMP to FFMPEG, the flow is frozen in 5 seconds.Hi troller12,
Thank you for your reply. But the flow is not stopping. The flow is not interrupted. Continues. It only freezes sometimes (with a 5 second pause). The broadcast continues after 1 second of freezing. All the values about SportStream365 are the same as you already wrote. I'm broadcasting, no problem. The problem is that the live broadcast is frozen. |
#5
|
|||
|
|||
Re: From RTMPDUMP to FFMPEG, the flow is frozen in 5 seconds.Hi,
so do you get this freeze problem also without to re-stream with ffmpeg?Original stream does run ok and your re-stream only makes trouble yes?So you could try to use --realtime|-R paramter for rtmpdump.So on the other hand you could try to check out whether the re-stream only stops / continue if you do play / watch the re-stream.Just record the re-stream without to watch it and check whether the recorded file also did stop / continue or not.Maybe its just a player issue only.Check whether the recorded file does jump (missing some seconds) or not.If the recorded file is ok and same like original live stream then it should be any player issue (I think so). So did you try the same with any other streams from other sites,just to check whether you get same trouble too? greetz |
#6
|
|||
|
|||
Re: From RTMPDUMP to FFMPEG, the flow is frozen in 5 seconds.I already use the -r parameter. (Rtmpdump -r rtmp: // xxx) There's nothing wrong with saving the video file and playing it. No freezing. It works fine. But rtmp freezes when you play live on flash player. |
#7
|
|||
|
|||
Re: From RTMPDUMP to FFMPEG, the flow is frozen in 5 seconds.Quote:
Hi, about sportstream365, how did you calculate the size? I guess that it's changed something, because before i was able do download from that site... they changed SWF (http://sportstream365.com/getZone/Vi...portstream.swf) but i guess that i do something wrong with hash (using openssl) and with size (using JPEXS). This was what worked to me until last week Quote:
|
#8
|
|||
|
|||
Re: From RTMPDUMP to FFMPEG, the flow is frozen in 5 seconds.Hi,
you have to use new swf link / hash / size to get it working again. Code:
-s "http://sportstream365.com/getZone/VideoPlayerSportstream.swf" -w "D42335EE990A4841D741C40525FD316E9FF96188FA062F68403104463405B4F3" -x "575927" greetz |
#9
|
|||
|
|||
Re: From RTMPDUMP to FFMPEG, the flow is frozen in 5 seconds.Quote:
|
#10
|
|||
|
|||
Re: From RTMPDUMP to FFMPEG, the flow is frozen in 5 seconds.C?´ng ty Di??ch thu????t Master Service chuy??n nghiệp trong lÄ©nh vá»±c dịch t?*i liệu tiá??ng H?*n vá»? phim truy???€n hi?€nh sang tiá??ng Việt v?* ng?°á»?c lá??i, Dịch tiá??ng H?*n Quá?*n 7, Dịch c?´ng chứng tiá??ng H?*n trá»?n bá»™.
Theo khá??o s??t từ ph??ng marketing c?´ng ty Master Service, dịch thuá?*t tiá??ng H?*n Ä‘ang lu?´n l?* từ kh??a c?? l?°á»?t t?¬m kiá??m nhiá»?u nhá??t tr??n Google Search. Th?´ng th?°á»?ng há?±ng tuá?§n ch??ng t?´i ho?*n tá??t Ä‘?°á»?c tr??n 16 dá»± ??n dịch tiá??ng Ph??p vá»›i h??n 600 trang vÄ?n bá??n Ä‘?°á»?c xá»* l??. C??c lÄ©nh vá»±c của ch??ng t?´i bao gồm:
Danh s??ch t?*i liệu c?? thá»? dịch c?´ng chứng tiá??ng H?*n:
Dịch thuá?*t Master Service – VÄ?n ph??ng Ä‘á??i diện tá??i Việt Nam Ä?T: (+84) 6678 3414 – (+84) 6678 3015 – Hotline: (+84) 934 453 303 Website: www.dichthuatmaster.com E-mail: contact@master-service.asia |
Tags: ffmpeg, rtmpdump |
Thread Tools | |
Display Modes | |
|
|