Questions tagged [rtmp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

Nginx RTMP hls path dynamic

Currently, my hls file path naming with a stream key which I don't like. I want the stream key and his file name to be different. My on_publish call back URL returning a json response like this {'...
user avatar
  • 1
0 votes
0 answers
24 views

What's the ffmpeg command to go live with LinkedIn? Error in the pull function

I have always used ffmpeg command for live stream in Facebook and other servers. Now i have to do it with linkedin, but the same command for facebook doesn't work, i have tried some variations of the ...
user avatar
2 votes
1 answer
659 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 ...
user avatar
  • 85
1 vote
1 answer
903 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 ...
user avatar
1 vote
0 answers
37 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 ...
user avatar
1 vote
1 answer
2k 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....
user avatar
0 votes
1 answer
284 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 ...
user avatar
1 vote
0 answers
997 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:admin@192.168.28.120/ -f flv -c:v ...
user avatar
  • 175
0 votes
0 answers
698 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 ...
user avatar
  • 201
0 votes
1 answer
395 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: ...
user avatar
5 votes
4 answers
11k 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 ...
user avatar
2 votes
0 answers
483 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 { ...
user avatar
  • 229
0 votes
1 answer
537 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 ...
user avatar
0 votes
1 answer
278 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 ...
user avatar
  • 201
0 votes
1 answer
261 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 ...
user avatar
2 votes
1 answer
723 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 ...
user avatar
0 votes
4 answers
12k 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....
user avatar
  • 392
0 votes
1 answer
669 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 ...
user avatar
  • 1
2 votes
1 answer
15k 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. ...
user avatar
  • 105
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 ...
user avatar
  • 105
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 { ...
user avatar
1 vote
2 answers
2k 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 ...
user avatar
0 votes
0 answers
376 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
0 votes
0 answers
949 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 ...
user avatar
4 votes
0 answers
760 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 ...
user avatar
1 vote
1 answer
432 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 ...
user avatar
4 votes
1 answer
8k 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) ...
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 ...
user avatar
4 votes
0 answers
960 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 ...
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/...
user avatar
  • 23
0 votes
1 answer
965 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 ...
user avatar
0 votes
1 answer
5k 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 &...
user avatar
2 votes
1 answer
5k 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 ...
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 ...
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 ...
user avatar
  • 3
2 votes
2 answers
12k 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 ...
user avatar
  • 143
1 vote
0 answers
687 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....
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 ...
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 ...
user avatar
-3 votes
1 answer
440 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 ...
user avatar
  • 123
0 votes
1 answer
500 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 ...
user avatar
0 votes
2 answers
409 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 ...
user avatar
1 vote
1 answer
852 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 ...
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 ...
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 ...
user avatar
  • 111
1 vote
1 answer
606 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 ...
user avatar
  • 113
1 vote
1 answer
412 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
860 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 ...
user avatar