Questions tagged [rtmp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
91 views

Setup a streaming server

I would like to setup a streaming server, with RTMP and HLS protocols (and with Nginx). For that, I have a VPS (running Debian). I succeed to make everything works, but I still have an important ...
GoldFrite's user avatar
1 vote
0 answers
163 views

nginx - rtmp multi-stream just fails to stream to a source randomly

Mind you I talk about stream services here like Youtube, but rtmp streaming is used widely. OS: Debian Testing nginx: 1.22.0-3.1 My issue is that I have a full rtmp config set up for multi-streaming. ...
Apache's user avatar
  • 294
2 votes
1 answer
5k views

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 ...
showkey's user avatar
  • 115
1 vote
1 answer
2k views

Nginx with rtmp module and ffmpeg adaptive stream is not creating master dash manifest

I have a working setup of nginx with the rtmp module working like a charm creating live streams with both dash and hsl. No problem so far. When I try to enable ffmpeg transcoding for adaptive ...
Luis Falcón's user avatar
1 vote
0 answers
106 views

Can I use conditions in NGINX config with RTMP module?

I want to do different actions according to the stream key, like this: application live { if(streamKey = 'stream_key_1') { #action1 push rtmp://xxxxxx1 ...
Zdeněk Musil's user avatar
1 vote
1 answer
3k views

NGINX rtmp to hls setup with video.js buffering

I am trying to setup a streaming server for a local school that runs on their local network. I setup Ubuntu 18.04 on a virtual machine and gave it it's own dedicated 1 Gigabit connection on the server....
Rogerwilcos's user avatar
0 votes
1 answer
568 views

Installing SSL with Certbot on RTMP enabled Nginx Server in Ubuntu

I have a Ubuntu 18.04 OS. I installed rtmp-module for nginx v18.01 and send streams on it. I can access to server with IP and domain name. Indeed I need SSL on this server. But when I install SSL with ...
Mojtaba Karimi's user avatar
1 vote
0 answers
1k views

ffmpeg rtsp to hls streaming choppy and stops automatically

I use ffmpeg + nginx/rtmp to restream video from ip cam to web page. The command I use is: ffmpeg -rtsp_transport tcp -use_wallclock_as_timestamps 1 -i rtsp://admin:[email protected]/ -f flv -c:v ...
xrfang's user avatar
  • 195
0 votes
0 answers
1k views

Split variable $name NGINX server (rtmp-module)

I need to split the $name variable from my nginx conf file. I got a $name that is something like "12345_stream". I need to split this and use the part before "_" (12345) inside the ...
tidpe's user avatar
  • 201
0 votes
1 answer
613 views

RTMP / TCP extra byte in packet?

I'm analyzing the RTMP(Real-Time Messaging Protocol) and found something really weird. In one of the captured packets, the TCP payload length is longer than expected. Here's the packet in Wireshark: ...
Wilson Luniz's user avatar
6 votes
4 answers
17k views

Receiving RTMPS stream on NGINX-RTMP

Standard practice for RTMP is still to have a plain text stream key out on the wires. I want to acccept RTMPS streams from encoders to NGINX however the RTMP module does not yet have RTMPS. I'm not ...
johnsonjp34's user avatar
2 votes
0 answers
577 views

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 { ...
Aaron A's user avatar
  • 239
0 votes
1 answer
852 views

nginx rtmp with no subscribers die after a minute

I have a simple nginx-rtmp running with the following application: rtmp { server { listen 1935; chunk_size 4000; application tv { # enable live streaming ...
Cristian C.'s user avatar
0 votes
1 answer
378 views

Load balancer HTTP & RTMP

I need to set a load balancer on an instance (or more instances, [compute engine]) with http and rtmp. Tried the default load balancers of Google, but they can't get both http and rtmp works :( I've ...
tidpe's user avatar
  • 201
0 votes
1 answer
302 views

How to configure AWS classic load balancer to use AWS SSL for both 80 and 8080?

We are using Nginx-RTMP Streaming and trying to redirect both 80 and 8080 to https. We have tried with redirecting different SSL port in AWS Classic load balancer but its doesn't work. Nginx RTMP ...
bhuva nesh's user avatar
2 votes
1 answer
770 views

Multi-client architecture AWS EC Nginx rtmp server setup with raspberry pi camera as client for live video streaming

Our Approach Set up ngnix rtmp webserver on AWS EC ubuntu 16.04. Successfully completed single client(RPi Camera) streaming. Now we want to send multiple Pi Cameras live Feed on this server which ...
Kush Swarnkar's user avatar
0 votes
4 answers
15k views

stats for nginx rtmp server

I am trying to get stats for nginx as rtmp server, below is my config file, but I'm getting 403 on http://ip:8080/stat.xsl (also tried http://ip/stat.xsl which gives 404 and http://ip:8080/stat/stat....
omega1's user avatar
  • 416
0 votes
1 answer
777 views

Unable to stream to nginx deployed on compute engine from OBS

I have been trying to setup nginx with rtmp module on google compute engine by creating a Debian vm. I have successfully installed and configured nginx to use rtmp module. I am able to get to the ...
Core7s's user avatar
  • 1
3 votes
1 answer
17k views

How to reduce latency with Nginx RTMP streaming server

My Virtual Server is configured with 3GB memory, and 1 core. I'm playing the following mp4 file Sample MP4 Video File through my NGINX RTMP server, as small.mp4. I'm experiencing a latency issue. ...
Ian Arman's user avatar
  • 123
0 votes
0 answers
3k views

No rule to make target 'install'. Stop. Error, when installing Nginx RTMP

I have Ubuntu 18 running on a VPS. I'm attempting to install an Nginx RTMP Server. I'm receiving the following error 'No rule to make target 'install'. Stop. after running the following series of ...
Ian Arman's user avatar
  • 123
1 vote
1 answer
2k views

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 { ...
Maxim Yefremov's user avatar
2 votes
2 answers
3k views

Pushing TCP RTMP live stream through HAProxy

I need some help wrapping my head around this, perhaps I've completely misunderstood this and have gone the wrong way. Is it not possible to forward incoming RTMP streams over HAProxy to a receiving ...
Kārlis K.'s user avatar
0 votes
0 answers
401 views

nginx streaming loadblance

i want to create a loadbalancing system for my streaming server but the problem is that nginx or haproxy both uses proxy and this will make the loadbalance server get overloaded on bandwidth. is there ...
chedlywalid's user avatar
2 votes
1 answer
2k views

Rebuilding Nginx with Extra Modules Using PPA

I am trying to install the RTMP module on Ubuntu 16.04.4 LTS. Here is what I've done... add-apt-repository -y ppa:nginx/stable vim /etc/apt/sources.list.d/nginx-ubuntu-stable-xenial.list # Uncomment ...
user1960364's user avatar
0 votes
0 answers
1k views

Distribute "RTMP to HLS" process on multiple servers

I have configured a simple live streaming service, for a limited broadcaster, according to this schema: actual service configuration There is a "origin" server where I've installed the NGINX and ...
Federico B.'s user avatar
5 votes
0 answers
849 views

NGINX-RTMP Load Test

I use Roman Arutyunyan's NGINX-RTMP module with RTMP as input and HLS as the output. How can I load test it? I want to know how much load the server can handle both from simultaneous streaming and ...
Christian Dimas's user avatar
1 vote
1 answer
462 views

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 ...
Mohammed's user avatar
4 votes
2 answers
9k views

ffmpeg continue listen port

I'm trying to configure restream server, ffmpeg listen on rtmp://ip:port and output to few stream services(youtube, twitch...etc) the problem is when I stop OBS streaming(using this on local pc) ...
Shadowraze's user avatar
3 votes
1 answer
6k views

How to save stream in mp4 format?

By default nginx rtmp module records video stream in .flv format if record option is enabled, but I need .mp4 I found that video can be converted to .mp4 when record has finished with ...
Mike Bohoslavskyi's user avatar
4 votes
0 answers
1k views

HAproxy and nginx RTMP

I am trying to use HAproxy in front of an RTMP nginx server. It does connect but it does not play the video. I have 2 servers: one with nginx using RTMP and another one with HAproxy. This is the ...
miko's user avatar
  • 41
1 vote
2 answers
5k views

Can AWS support RTMP based Live Streaming with CloudFront or CloudFormation

As far as i understand reading all these articles: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-rtmp.html docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/...
KRiSh05's user avatar
  • 23
0 votes
1 answer
1k views

PHP CURL does not support RTMP protocol

I am trying to fetch RTMP url using PHP CURL, but unfortunately php curl says >Protocol "rtmp" not supported or disabled in libcurl I have installed rtmpdump and upgraded CURL to 7.47.1 latest stable ...
Aamir Hussain's user avatar
0 votes
1 answer
6k views

Wowza SSL error PR_END_OF_FILE_ERROR

I have installed the SSL certificate by following https://www.wowza.com/forums/content.php?128-How-to-request-an-SSL-certificate-from-a-certificate-authority The certificate was imported properly &...
serverliving.com's user avatar
4 votes
1 answer
6k views

Nginx-rtmp-module How edge nodes pull streams from multi Master nodes

I have one master ingest server and multiple edge nodes that each pull from the ingest server. But now i have 10000 cameras push streams to master ingest server , i m afraid it can't handle it. So i ...
user3500294's user avatar
2 votes
0 answers
2k views

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 ...
Ben's user avatar
  • 121
0 votes
1 answer
4k views

RTMP load-balancing via HAProxy

I've got a little problem to solve: I need to find a way to load balance, bandwidth-wise, the incoming RTMP streams on my servers. I have 2 RTMP servers (nginx-rtmp), let's call them S1 and S2. The ...
Canard's user avatar
  • 3
2 votes
2 answers
13k views

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 ...
Junaid's user avatar
  • 143
1 vote
0 answers
700 views

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....
Tom's user avatar
  • 141
3 votes
1 answer
6k views

RTMP Proxy Server

I have an application which uses both HTTP (content data) and RTMP (video streams) for communications. An nginx server is configured for load balancing and proxying incoming client requests. It works ...
Vivek's user avatar
  • 66
0 votes
1 answer
2k views

Block rtmp and make it retry on port 80 via iptables

We have a proxy filtering connections but some sites use RTMP, which runs on port 1935. This cannot go through the proxy as proxies are port 80 only. As far as I know if RTMP fails, it will retry on ...
user avatar
2 votes
1 answer
2k views

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 ...
user221359's user avatar
-3 votes
1 answer
473 views

Bandwidth requirement to live broadcast an event on the internet [closed]

I am assigned on project to live broadcast an event on the internet which may have 50,000 user s. This will be a broadcast so all users will see same live video. My query is what would be my bandwidth ...
Nawaz's user avatar
  • 123
0 votes
1 answer
512 views

Reasonable file size for streaming video? [closed]

I currently have some video files ranging from 2 - 3 hours that I'd like to stream over RTMP/HLS. I'm wondering if there are any best practices to ensure smooth streaming, for example: Is there a ...
GhostCode's user avatar
0 votes
2 answers
583 views

Safely run two versions of Nginx

I'm running a webserver and streaming video server on the same ubuntu box. I have the resources on the box to handle everything and in time will probably use two boxes but I don't want the overhead of ...
Andrew Grothe's user avatar
1 vote
1 answer
904 views

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 ...
BurnerGR's user avatar
2 votes
1 answer
5k views

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 ...
sajad's user avatar
  • 123
0 votes
1 answer
2k views

Capturing network traffic (rtmp) between VMs or using loopback in the same VM using wireshark

I need to to capture RTMP traffic between two virtual machines (server and client) or atleast have the server and client on the same machine and capture the traffic. I am able to capture the traffic ...
ssn's user avatar
  • 111
1 vote
1 answer
607 views

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 ...
lmojzis's user avatar
  • 113
1 vote
1 answer
419 views

What sound formats mod_rtmp supports?

Does mod_rtmp (freeswitch module) supports all sound formats FLV does? Or some limitations exist?
user avatar
0 votes
1 answer
869 views

Anyone using RTMP on CloudFront? I can't specify a crossdomain.xml file

I'm using a streaming distribution on CloudFront to serve media via RTMP. Obviously I want to restrict the crossdomain.xml file but CloudFront is only serving it's default one. The docs give ...
Daniel Elmore's user avatar