Questions tagged [rtmp]

62 questions
2
votes
0 answers

Restart ffmpeg process streaming rtmp video if it fails using shell script

We use ffmpeg to forward streams live. Often due to unknown reasons or due to the stream stopping temporarily the command stops running in the background. What's the best way to monitor and continue to retry the ffmpeg command in an infinite…
Ben
  • 121
  • 5
2
votes
2 answers

Auto scale RTMP live streams (NGINX-RTMP)

I am using Nginx-rtmp-module for live streaming. It works perfectly for 40-50 cameras on a single machine (AWS EC2 C3-large). But if i have more than 100 streams, how can I scale my servers to meet the requirement ? I have tried using ELB but it…
Junaid
  • 143
  • 1
  • 1
  • 6
2
votes
1 answer

How to create a RTMP server on linux (Gentoo)

I am trying to create a RTMP server to stream video files from my Linux server to the internet/network. I have been able to successfully use ffmpeg to stream to other RTMP servers like youtube, but how do I go about hosting my own on my RTMP server…
user221359
  • 21
  • 3
2
votes
1 answer

ffmpeg simple RTMP streaming

I am trying to launch up a rtmp transcoder server using ffmpeg; that receives udp MPEG-TS streams as input, transcodes it; and generates an rtmp output to a URL, that can be accessed by users to receive and play the rtmp stream. All these are…
sajad
  • 123
  • 2
  • 7
2
votes
2 answers

Why do we get TCP disconnects when using AWS Elastic Load Balancer?

We are running our servers on AWS EC2 instances. The servers have to provide HTTP on port 80 and RTMP (TCP) on port 1935. Running a single instance works fine. But as soon as I use Elastic Load Balancing to balance the load between two EC2 instances…
Jan Deinhard
  • 2,383
  • 5
  • 26
  • 33
2
votes
1 answer

unknown directive "rtmp" in /etc/nginx/nginx.conf

My os info: uname -a Linux vultr 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64 GNU/Linux I have installed module libnginx-mod-rtmp with command apt install libnginx-mod-rtmp You can see the output info: Created symlink…
showkey
  • 115
  • 1
  • 4
  • 19
2
votes
0 answers

nginx dynamically changing config for rtmp

I'm using the RTMP module to push out an rtmp stream and i'm looking for ways I can dynamically pass in variables that can be used in the push stream. For example: application live { live on; record off; #Youtube …
Aaron A
  • 239
  • 2
  • 14
1
vote
1 answer

nginx cpu consumption for ssl termination with rtmp stream

Here is my nginx config file user nginx; worker_processes auto; error_log /var/log/nginx/error.log error; pid /var/run/nginx.pid; events { worker_connections 1024; } stream { server { listen *:443 ssl; …
Maxim Yefremov
  • 271
  • 1
  • 3
  • 17
1
vote
1 answer

how to run 10 process and montring it

i have about 10-15 FFmpeg Process for streaming server like this: ffmpeg -i "http://ip/play/a03i" -vcodec copy -acodec copy -f flv "rtmp://ip:80/APP/Name" am use the Nginx-rtmp module to run it using the exec_static Directive but i can't…
Mohammed
  • 11
  • 2
1
vote
2 answers

Can AWS support RTMP based Live Streaming with CloudFront or CloudFormation

As far as i understand reading all these…
KRiSh05
  • 23
  • 1
  • 5
1
vote
0 answers

Video Streaming through RTMP

I need to convert as RTSP live monitering URL rtsp://mylocation.4545 to RTMP url rtmp://127.0.0.1:1935/live/livestream1 Iam using following command through ffmpeg in centos ffmpeg -i "rtsp://127.0.0.1.4545/live" -f flv -r 25 -s 640x480 -an…
Tom
  • 141
  • 10
1
vote
1 answer

RTMP edge server?

I need a simple RTMP proxy, which listen for an incomming live RTMP stream (from Wirecast), and relay that to end users. I don't need any re-transcoding. I fail to find any suitable software after googling and testing for hours, can someone point me…
BurnerGR
  • 61
  • 1
  • 4
1
vote
1 answer

Restreaming video from XSplit to multiple JustinTV/TwitchTV channels in different resolutions and bitrates

I have a really simple question but the answer may be a little more complex I guess. Okay. Let's go. I have an Application called Xsplit Broadcaster (http://www.xsplit.com/). It supports streaming video through RTMP. Now what I want to do is this: …
lmojzis
  • 113
  • 5
1
vote
1 answer

What sound formats mod_rtmp supports?

Does mod_rtmp (freeswitch module) supports all sound formats FLV does? Or some limitations exist?
user102132
1
vote
2 answers

Re-streaming RTMP stream

I have a set of local RTMP stream servers in my network, but I want them to be reachable outside. The bandwidth is too narrow to serve multiple clients on the streamservers of my network, so the idea is to pull the local RTMP streams on a computer…
friedkiwi
  • 282
  • 3
  • 15