Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
how to stream rtmp to rtmpHello,
I have for example following stream: Code:
"rtmp://stream.smcloud.net/live2/wawa/wawa_720p" -a "live2/eskatv" -f "WIN 11,9,900,170" -W "http://www.eska.tv/thrdparty/flowplayer/flowplayer.rtmp.swf" -p "http://www.eska.tv/player" --live -y "eskatv_360p" Could you kindly check my below command if is correct one? Code:
ffmpeg -re -i "rtmp://stream.smcloud.net/live2/wawa/wawa_720p" -a "live2/eskatv" -f "WIN 11,9,900,170" -W "http://www.eska.tv/thrdparty/flowplayer/flowplayer.rtmp.swf" -p "http://www.eska.tv/player" --live -y "eskatv_360p" -codec copy -f flv rtmp://xxxxxxx Thank you in advance for any suggestion. k |
#2
|
|||
|
|||
Re: how to stream rtmp to rtmphi
you can use livestreamer Code:
livestreamer --player-external-http --player-external-http-port "4546" "rtmp://stream.smcloud.net/live2/wawa/wawa_720p app=live2/eskatv pageUrl=http://www.eska.tv/player live=1 playpath=eskatv_360p" best Code:
http://127.0.0.1:4546/ Code:
http://SERVER-IP:4546/ |
#3
|
|||
|
|||
Re: how to stream rtmp to rtmpThank you bezom,
So if I will use livestreamer with above port in local then can I re-stream within ffmpeg with following command: Code:
ffmpeg -re -i "http://localhost:4546/" -acodec aac -strict -2 -vcodec copy -b:a 128K -preset ultrafast -bufsize 3968k -f flv rtmp://xxxxxxxxxxxxxxxx Code:
ffmpeg -re -i "http://127.0.0.1:4546/" -acodec aac -strict -2 -vcodec copy -b:a 128K -preset ultrafast -bufsize 3968k -f flv rtmp://xxxxxxxxxxxxxxxx Much appreciate your help, k Last edited by Koze : 01-19-2016 at 07:07 PM. Reason: adding code |
#4
|
|||
|
|||
Re: how to stream rtmp to rtmpi don't know but the command with livestreamer re-stream already
|
#5
|
|||
|
|||
Re: how to stream rtmp to rtmpyes I know,
but I would like to re-stream to another server (let's say twitch.tv) Sorry for not being clear with that. Thank you, k |
#6
|
|||
|
|||
Re: how to stream rtmp to rtmpi'm not sure if i understand
if your sever is the debian linux run the livestreamer's command on this server |
#7
|
|||
|
|||
Re: how to stream rtmp to rtmpThanks biezom for your great help.
With your help I was able to re-stream the source using livestreamer and ffmpeg. I was using following command within ffmpeg: Code:
ffmpeg -re -i "http://127.0.0.1:4824/" -acodec aac -strict -2 -vcodec copy -b:v 2000k -b:a 128K -preset ultrafast -bufsize 3968k -f flv rtmp://xxxxxx Code:
[flv @ 0x2619580] Codec for stream 0 does not use global headers but container format requires global headers Code:
frame=197473 fps= 25 q=-1.0 size= 2457396kB t frame=197486 fps= 25 q=-1.0 size= 2457548kB t frame=197499 fps= 25 q=-1.0 size= 2457711kB t [flv @ 0x3626580] Failed to update header wit h correct duration. [flv @ 0x3626580] Failed to update header wit h correct filesize. frame=197500 fps= 25 q=-1.0 Lsize= 2457731kB time=02:11:40.03 bitrate=2548.6kbits/s video:2314517kB audio:133208kB subtitle:0kB o ther streams:0kB global headers:0kB muxing ov erhead: 0.408774% Should I change something within my ffmpeg command? I also noticed that after about 1 h livestream terminal became inactive but streaming continued with ffmpeg. Is that normal? Thank you, k Last edited by Koze : 01-21-2016 at 01:49 PM. Reason: CORRECTION |
#8
|
|||
|
|||
Re: how to stream rtmp to rtmpHello again,
I have tried to re-stream following link using livestreamer and ffmpeg: Code:
http://wtk.live-ext.e96-jw.insyscd.net/lechtv.smil/playlist.m3u8 Could anyone have a look and let me know if I need to change something in my ffmpeg command: Code:
ffmpeg -re -headers 'User-Agent: bar'$'\r\n' -i "http://127.0.0.1:9155/" -acodec aac -bsf:a aac_adtstoasc -strict -2 -vcodec copy -bufsize 3968k -f flv rtmp://stream koze |
Tags: streaming |
Thread Tools | |
Display Modes | |
|
|