View Single Post
  #1  
Old 03-13-2017, 05:28 AM
sinanksu sinanksu is offline
Junior Member
 
Join Date: Feb 2017
Posts: 18
sinanksu is on a distinguished road
Default

RTMPDump query to ffmpeg query? (nginx rtmp module)


Hi,

I want to reflect a live broadcast from rtmp in the same way as "nginx rtmp module".

I ran that live broadcast with the following rtmpdump query. I installed an Ubuntu server. Then I installed the nginx rtmp module. This module has ffmpeg in the examples.

How do I write the rtmpdump question on fmmeg?

Successful rtmpdump query:

Quote:
rtmpdump -r "rtmpe://xx.xx.xx.xx/xlive" -a "xlive" -f "WIN 23,0,0,162" -s "http://xxxx.com/Player.swf" -w "5aaaa32059cba7xxxxxxxxxxx" -x "585534" -p "http://xxxxxxxxxxxx.com/viewer?game=1" -C S:client -C S:3.1.0.10 -C S:en --live -y "raw:472237" -o "2017blablabla.flv"

Quote:

rtmp {
server {
listen 1935;
chunk_size 4096;

application live {
live on;
record off;
exec ffmpeg -i "rtmpe://xx.xx.xx.xx/xlive" -a "xlive" -f "WIN 23,0,0,162" -s "http://xxxx.com/Player.swf" -w "5aaaa32059cba7xxxxxxxxxxx" -x "585534" -p "http://xxxxxxxxxxxx.com/viewer?game=1" -C S:client -C S:3.1.0.10 -C S:en --live -y "raw:472237";
}
application live360p {
live on;
record off;
}
}
}
Thank you
Reply With Quote