Questions tagged [rtmp]

RTMP (Real Time Messaging Protocol) is a protocol developed by Macromedia for streaming audio, video and data to internet for the Flash player.

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

FFmpeg Infinite loop when probing stream

So, seems like ffmpeg is stuck in some kind of infinite loop when trying to probing stream 1. This happens only for one specific provider. I never see input/output in logs like for other streams. I ...
0
votes
0answers
258 views

FFmpeg RTMP streaming, always fills up camera real-time buffer no matter what I do

I'm working on a small project where I run FFmpeg in the background with two DirectShow inputs, one being a screen capture (UScreenCapture) and the other being a webcam. Streaming starts well, but ...
0
votes
1answer
544 views

FFMPEG transcoding failing on cur_dts is invalid

I'm transcoding RTMP input from NGINX ingesting server to UDP TS stream h264 & mp2 with ffmpeg and SW enconder libx264. From time to time, transcoding process hang on the initialization and don't ...
1
vote
0answers
502 views

NGINX RTMP stream with Hamachi

In summary, I builded a NGINX server on my Raspberry PI 4 to stream to my cousin when we are doing a multiStream on Twitch (Did this because I found nothing free that can stream 1080p60). In others ...
0
votes
0answers
209 views

Cheaply converting RTMP to/from SRT/WebRTC

I'm running a Raspberry Pi and am investigating converting an RTMP-encoded stream into SRT/WebRTC for transport over an unstable connection. Basically, my architecture like this I control the green ...
0
votes
0answers
344 views

ffmpeg v.4.3.1 reconnect RTMP

In older version there are some options for ffmpeg, that keeps process up while some network troubles appears. Like -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 4. But ...
1
vote
1answer
184 views

Error in multi streaming output to RTMP

I intend to create multiple stream output - 1 to RTMP and the other as mp4 file as below: /var/lib/snapd/snap/bin/ffmpeg -i rtmp://127.0.0.1:1935/live/$key -i /home/apache/logo.png -f image2 -loop 1 -...
0
votes
0answers
153 views

Audio-Video Delay When Fetching From NGINX-RTMP live-Mode

We get an RTSP-stream and mix it together with line-in over pulseaudio. This looks something like: ffmpeg \ -use_wallclock_as_timestamps 1 -fflags +genpts \ -max_delay 2000000 -...
0
votes
0answers
26 views

FFMPEG RTMP to HLS Conversion Is Really Slow

I have an RTMP server that is outputting a stream as such: ffmpeg -re -i https://somefile.mp4 -maxrate 5M -crf 24 -bufsize 6000k -c:v libx264 -preset superfast -tune zerolatency -strict -2 -c:a aac -...
1
vote
0answers
70 views

Building server that spawns ffmpeg instances to stream mp4 files to RTMP

We are building a server that streams a mp4 file to any RTMP server (Facebook, Twitch) and we might have several streams running at the same time. We plan to have up to 1080p 30fps videos ~ 5000 ...
1
vote
0answers
68 views

looking to improve qaulity for video output

For the last 5 years I have been streaming a live stream 24/7 from a streaming studio which requires low latency rtmp output to a web based player client. I am using vMix to capture my sdi signal from ...
2
votes
0answers
166 views

How to preserve 360 degree video metadata such as spherical information while ffmpeg transcoding

My objective is Live streaming 360 degree video using nginx, nginx-rtmp and ffmpeg. HLS Streaming as such working but while streaming 360 degree video, spherical data is lost at client side and 360 ...
1
vote
1answer
823 views

ffmpeg inside nginx-rtmp module doesn't work when scaling video

So I setup an nginx RTMP server using this rtmp module. Below is my nginx.conf that I made following this guide. rtmp { server { listen 1935; chunk_size 4096; ...
-1
votes
1answer
33 views

When RTMP is phased out, what will social media companies use for ingesting streams?

From what I've read RTMP is the best low latency solution for sending streams and other current technologies are designed for P2P streaming (WebRTC) and consuming streams (HLS & Dash) (Dash I need ...
2
votes
1answer
707 views

Reload nginx RTMP config file without restarting nginx

My scenario is: I have an nginx server that is used to forward RTMP live stream to YouTube. I would like to add some additional destinations in the config file (nginx.conf), while the livestream is ...
2
votes
0answers
424 views

Nginx RTMP to HLS issue

I am trying to figure out the issue when pushing to RTMP which has HLS turned on. Below is the command I am using: ffmpeg -i hls.m3u8.url -vcodec: copy -acodec libfdk_aac - -f flv rtmp://serverurl/...
0
votes
0answers
939 views

RTMP Port Forwarding

I have a working nginx RTMP server (works 100% perfectly on LAN), but I can't connect to it via WAN. I opened a port over TCP/UDP and it works (used https://www.portchecktool.com/ for this), but I can'...
0
votes
1answer
1k views

How to use variables in NGINX RTMP and what do they do?

I've been trying to get my head around how the variables work specifically $name and $app. What are the benefits of using variables within a multi-stream and multiple stream qualities? This is the ...
1
vote
0answers
620 views

Stream multiple RTMP IP Cameras with OBS and ffmpeg

I created a streaming server using Nginx and the RMTP module on a VPS running CentOS 7. I am trying to stream multiple IP cameras using OBS for broadcasting the stream. My question is how to create ...
1
vote
0answers
897 views

FFMPEG is losing connection when relay streaming with m3u8 to rtmp even with reconnection flag

I'm trying to get streaming from mixer using api and relay to youtube rtmp I did that but it is losing connection. it streams for almost 3 minutes and connection drops on server or local commands ...
0
votes
1answer
469 views

ffmpeg- Multiple Outputs in NGINX RTMP

I would like to compress down a live video and send it two different RTMP Server at once via ffmpeg without pushing it to two local outputs. My Code looks like live on; meta copy; ...
0
votes
1answer
558 views

Ffmpeg Tee muxer not displaying video stream

I'm trying to send an rtmp stream to wowza with the tee muxer. Then I'm reading the stream from wowza in HLS. When running this command it works: ffmpeg -re -i myVideo.mp4 -c copy -f flv 'rtmp://...
0
votes
1answer
629 views

Stream from an image to RTMP for specific duration

Is there any solution to stream an image like a video to rtmp server with ffmpeg. But with difference that it should be played for specific duration. For example show an image on rtmp server (youtube)...
1
vote
1answer
2k views

Option for FFmpeg to include streams not present at start

I'd like to set up FFmpeg to receive an RTMP stream. Eventually I will be transcoding the Audio and Video, using the mpegts format type, and making the output a UDP multicast. But for now, this is ...
0
votes
0answers
485 views

Raspberry Pi pauses randomly while using OMX hardware acclerated encoding

I am streaming RTMP via ffmpeg (also happens with avconv) on a raspberry pi and it randomly stops working after a few hours. Using the nginx-rtmp-module as the server. There are no ffmpeg or avconv ...
1
vote
2answers
4k views

Live Streaming over rtmps using FFMPEG

Facebook has deprecated rtmp for Live API. My question now is how to use ffmpeg to stream live over rmtps? Here is my last command. ffmpeg -re -i 'https://sample-videos.com/video123/mp4/480/...
2
votes
1answer
4k views

Setting up a nginx RTMP server. I have everything working minus Facebook Live

Hi all I am trying to set up a new RTMP server, using the directions found at https://obsproject.com/forum/resources/how-to-set-up-your-own-private-rtmp-server-using-nginx.50/ and am running into an ...
1
vote
1answer
2k views

Send output to multiple destinations

I'm really new on ffmpeg and have a question where I cannot find a solution. I really hope that somebody from you could help me with that. On one server I receive a 1080p stream, with ffmpeg I create ...
1
vote
1answer
679 views

Receiving streams from two RTP stream sources, stacking them and sending to RTMP

I have two RTP sources (they will be more in the future, but I am starting with these two), sent from two different source in a Janus server. Each input has video and audio, which received at a ...
1
vote
3answers
3k views

Restreaming hls stream to rtmp stream using ffmpeg

I am trying to re-stream an hls stream to rtmp stream using ffmpeg : as example : ffmpeg -loglevel debug -re \ -i "https://hddn01.skylinewebcams.com/live.m3u8?a=c6kekc4h116t1m5jbtei273bq0" \ -...
0
votes
1answer
1k views

Publish over RTMP stream over HTTP as simple as possible

I'm looking for simple free/open source server software that would allow me to do this: Publish video stream over RTMP from local computer behind NAT, to server (Linux). Server should serve that ...
0
votes
1answer
2k views

RTMP to HLS conversion frame rate issues with ffmpeg/nginx

Currently, I'm pushing a RTMP stream to nginx 1.15.3 running on Ubuntu 18.04 LTS from a raspberry pi 3 camera (which seems to be working well on its own, I can pull the stream with no issues on VLC ...
2
votes
0answers
947 views

Nginx RTMP variables for push

Im trying to setup a nginx server to push an incoming stream to different streaming platforms for me and some friends. the problem to this is, that one of these platforms changes streamkey on every ...
1
vote
1answer
2k views

ffmpeg restreaming to nginx, connection refused

New to ffmpeg and read a dozen of guides and howto, but still can't get it to work. I have a Tvheadend server that receives channels from DVB, the channels work without any problem, but I need to ...
0
votes
1answer
577 views

Stream a video from FFmpeg to Wowza with subtitles

I need to stream a video with subtitles from FFmpeg to a Wowza server. What stream protocol and video format can I use? I was using the FLV video format on a RTMP stream but I think it does not ...
0
votes
1answer
7k views

Capturing and processing a live RTMP stream

I'm trying to download a live stream (not a file) coming from a live camera feed available at the following website: http://www.dot.ca.gov/video/. I used Wireshark for sniffing the TCP packets and ...
2
votes
0answers
6k views

Non-monotonous DTS with igndts flag

I am working with rtmp streams, and I know for sure, timestamps there wouldn't be monotonous. So, I added lots of flags to make sure, that would'n be a problem, but it still is. The command I use is: ...
1
vote
1answer
2k views

ffmpeg streaming to rtmp at 30fps

I am trying to stream my desktop to facebook rtmp server using screen-capture-recorder: ffmpeg -re -rtbufsize 256M -f dshow -i audio="Mikrofon (Realtek Audio)" -rtbufsize 256M -f dshow -i audio="...
1
vote
0answers
289 views

Bitrate data on RTMP stream

When I check the RTMP stream with ffprobe and rtmpdump, Some streams are show the audio and video bitrate data. But some others not. What cause this happen? And, I'm using the wowza as the origin ...
3
votes
1answer
15k views

Streaming to multiple RTMP servers with ffmpeg with minimal resources

Using OBS and ffmpeg, I'm attempting to stream to both Facebook and Twitch at the same time. My current setup works, however the issue is it's a tad resource hungry. FACEBOOK_KEY="123?ds=1\&s_l=1\...
1
vote
2answers
3k views

Relaying a stream from OBS to multiple sites at once

I've searching a lot about this on OBS Studio forums, but the only answer I've got was: "Use restream.io". The problem is restream charges for Facebook relay, and I can't rent this service at this ...
0
votes
1answer
723 views

Download videos from below link using rtmp

I am a Data Science enthusiast.I am trying to download cs109 harvard videos because it is hard to watch with endless buffering. Below is the link for first lecture: https://matterhorn.dce.harvard.edu/...
0
votes
1answer
4k views

ffmpeg exec command not running in nginx rtmp

I am using nginx and rtmp module to stream live hls and mpeg-dash. here is my rtmp command in nginx .conf rtmp { server { listen 1936; application mypull { live on ; meta copy; ...
2
votes
0answers
4k views

How to record rtmp stream with ffmpeg

There are certain streams (not live) I wan't to save for later. rtmpdump works: rtmpdump --rtmp=rtmp://vod-bonanza.gss.dr.dk/bonanza/mp4:bonanza/08-03-2008/40322_720x540x1400K.mp4 --playpath=mp4:...
1
vote
1answer
498 views

FPS drop in FFMPEG streaming processes to FB from production server

I have made a rails app that can stream live videos to facebook rtmp server and deployed it on AWS. I have used nginx as web server. The major problem that I am encountering after viewing log files of ...
0
votes
0answers
552 views

How could I remotely upload rtmp Video to Google Drive?

I have rtmp link for an online video similar to: rtmp://video2.website.com/flv/RTPFiles&file=/folder/video_file_123.flv How could I remotely upload the video to Google Drive? — (without ...
1
vote
1answer
380 views

Rtmpdumper throwing error

I am trying to download these videos for my exams from a site, but I keep getting: RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license:...
1
vote
1answer
1k views

How to download RTMP stream from Stanford Math?

I would like to download the Tadashi Tokieda lectue https://mrc.stanford.edu/content/science-sheet-paper-0 inspecting the page, I discovered the following <script type="text/javascript"> ...
0
votes
1answer
1k views

Randomly no video with same ffmpeg command

Here is command: ffmpeg -i rtmp://localhost/myapp/obs -c:a libfdk_aac -b:a 32k -c:v libx264 -f flv rtmp://localhost/hls/obs_low My RTMP server records all published streams, so I can view them all. ...
1
vote
0answers
2k views

FFMPEG receive stream from pipe via netcat fails

I am trying to receive a stream via netcat and pipe it to FFMPEG and then output to a file, but I am getting an error. The most basic command I tried was: $ nc -l -p 1935 | ffmpeg -v debug -y -f ...