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

How to get rtmp from website

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

Koze 09-22-2015 11:44 PM

How to get rtmp from website


 
Can someone help me to get rtmp from this website:
http://tv-trwam.pl/na-zywo

Thank you for your help

koze

peterpan 09-23-2015 01:43 AM

Re: How to get rtmp from website


 
found this: http://trwamtv.live.e55-po.insyscd.n.../playlist.m3u8

Koze 09-23-2015 12:55 PM

Re: How to get rtmp from website


 
Quote:

Originally Posted by peterpan (Post 80027)

Is any way I can re stream this channel within ffmpeg?
I know how to do it with rtmp but I am not sure if it is possible with playlist.m3u8

Any info much appreciated.

thanks

offthecuff 09-27-2015 02:52 PM

Re: How to get rtmp from website


 
Code:

#EXTM3U
#EXTINF:-1,trwamtv
http://trwamtv.live.e55-po.insyscd.net/trwamtv.smil/chunklist_b950000.m3u8


Koze 09-27-2015 11:42 PM

Re: How to get rtmp from website


 
Quote:

Originally Posted by offthecuff (Post 80154)
Code:

#EXTM3U
#EXTINF:-1,trwamtv
http://trwamtv.live.e55-po.insyscd.net/trwamtv.smil/chunklist_b950000.m3u8


Thank you.

I am using ffmpeg windows version with following bat command:
Code:

ffmpeg -re -i http://trwamtv.live.e55-po.insyscd.net/trwamtv.smil/playlist.m3u8 -acodec aac -strict -2 -vcodec libx264 -f flv rtmp://live.xxx/tv/a[[/xyxyxyxyxyx
Video starts to play but after 60 seconds stops with following log:
Code:

frame= 4472 fps= 24 q=28.0 size=  12271kB time=00:02:58.88 bitrate= 562.0kbits/
frame= 4480 fps= 24 q=28.0 size=  12316kB time=00:02:59.22 bitrate= 563.0kbits/
frame= 4489 fps= 24 q=28.0 size=  12367kB time=00:02:59.60 bitrate= 564.1kbits/
frame= 4497 fps= 24 q=28.0 size=  12429kB time=00:02:59.92 bitrate= 565.9kbits/
skipping 1 segments ahead, expired from playlists
[http @ 052ee1a0] No trailing CRLF found in HTTP header.
frame= 4499 fps= 24 q=28.0 size=  12443kB time=00:02:59.98 bitrate= 566.3kbits/
frame= 4499 fps= 24 q=28.0 size=  12443kB time=00:02:59.98 bitrate= 566.3kbits/
frame= 4499 fps= 24 q=28.0 size=  12443kB time=00:02:59.98 bitrate= 566.3kbits/
frame= 4499 fps= 24 q=28.0 size=  12443kB time=00:02:59.98 bitrate= 566.3kbits/
frame= 4499 fps= 24 q=28.0 size=  12443kB time=00:02:59.98 bitrate= 566.3kbits/
frame= 4499 fps= 24 q=28.0 size=  12443kB time=00:02:59.98 bitrate= 566.3kbits/
frame= 4499 fps= 24 q=28.0 size=  12443kB time=00:02:59.98 bitrate= 566.3kbits/
frame= 4499 fps= 24 q=28.0 size=  12443kB time=00:02:59.98 bitrate= 566.3kbits/
frame= 4499 fps= 24 q=28.0 size=  12443kB time=00:02:59.98 bitrate= 566.3kbits/
frame= 4499 fps= 24 q=28.0 size=  12443kB time=00:02:59.98 bitrate= 566.3kbits/
frame= 4505 fps= 24 q=28.0 size=  12497kB time=00:03:10.22 bitrate= 538.2kbits/
WriteN, RTMP send error 10053 (136 bytes)
WriteN, RTMP send error 10053 (55 bytes)
WriteN, RTMP send error 10038 (42 bytes)
av_interleaved_write_frame(): Operation not permitted
[flv @ 02c63860] Failed to update header with correct duration.
[flv @ 02c63860] Failed to update header with correct filesize.
frame= 4506 fps= 23 q=28.0 Lsize=  12507kB time=00:03:10.31 bitrate= 538.4kbits
/s
video:9462kB audio:2822kB subtitle:0kB other streams:0kB global headers:0kB muxi
ng overhead: 1.815607%
[libx264 @ 052b9120] frame I:24    Avg QP:16.65  size: 26077
[libx264 @ 052b9120] frame P:1295  Avg QP:19.75  size:  5275
[libx264 @ 052b9120] frame B:3187  Avg QP:25.24  size:  779
[libx264 @ 052b9120] consecutive B-frames:  4.6%  2.4%  2.6% 90.4%
[libx264 @ 052b9120] mb I  I16..4: 28.5% 46.8% 24.8%
[libx264 @ 052b9120] mb P  I16..4:  1.3%  1.3%  0.5%  P16..4: 35.6% 10.5%  4.9%
 0.0%  0.0%    skip:45.9%
[libx264 @ 052b9120] mb B  I16..4:  0.1%  0.0%  0.0%  B16..8: 23.9%  0.8%  0.1%
 direct: 0.4%  skip:74.6%  L0:39.6% L1:58.0% BI: 2.5%
[libx264 @ 052b9120] 8x8 transform intra:42.9% inter:71.3%
[libx264 @ 052b9120] coded y,uvDC,uvAC intra: 44.7% 49.0% 13.0% inter: 4.6% 6.3%
 0.0%
[libx264 @ 052b9120] i16 v,h,dc,p: 16% 39% 14% 31%
[libx264 @ 052b9120] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18% 26% 30%  3%  4%  4%  5%
 4%  5%
[libx264 @ 052b9120] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 29% 18%  4%  5%  5%  6%
 4%  4%
[libx264 @ 052b9120] i8c dc,h,v,p: 59% 21% 17%  3%
[libx264 @ 052b9120] Weighted P-Frames: Y:0.1% UV:0.1%
[libx264 @ 052b9120] ref P L0: 67.0%  7.2% 19.0%  6.8%  0.0%
[libx264 @ 052b9120] ref B L0: 89.0%  9.6%  1.4%
[libx264 @ 052b9120] ref B L1: 94.4%  5.6%
[libx264 @ 052b9120] kb/s:417.97
Conversion failed!

Any idea where is the problem?
Looks like: No trailing CRLF found in HTTP header.


Thank you in advance,

Koze


All times are GMT -6. The time now is 05:29 AM.