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
0 votes
0 answers
39 views

(FFMPEG ) How to stream video file (WITHOUT AUDIO) with audio coming from the desktop (from playing songs in the browser)

I have a mp4 file and I want to stream it with ffmpeg to youtube. I am able to do it when using anullsrc so that I tell youtube those videos has no sound and it works okay. But I do want audio, I just ...
0 votes
1 answer
42 views

How to broadcast video to Vimeo stably by using ffmpeg?

I'm trying to broadcast video to Vimeo by using ffmpeg to broadcast from headless linux. Seemingly I can broadcast and video has no problem, but when I see analyzer, receiving bitrate is not stable. ...
  • 1
0 votes
0 answers
121 views

yt-dlp playlist re-stream FFMPEG constantly dropping

yt-dlp "https://www.youtube.com/playlist?list=PL63F0C78739B09958" --exec "ffmpeg -i {} -vcodec libx264 -c:a aac -b:a 160k -crf 23 -preset fast -f flv rtmp://127.0.0.1:1935/live/mytv10&...
  • 1
0 votes
0 answers
131 views

Streaming to multiple RTMP ffmpeg

I have this line to stream using a source to two outputs but im getting a signal for the first rtmp server but nothing for the second, what im doing wrong? ffmpeg -reconnect_at_eof 1 -...
0 votes
0 answers
27 views

How to stream adding a logo a scaling

I have this command line, ffmpeg -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect 1 -reconnect_delay_max 4 -i hello.mp4 -i logo.png -filter_complex "overlay=10:10" -vf scale=1024:576 -...
0 votes
1 answer
227 views

How do I secure my hls link so that no other site will use it

I made a streaming server using Nginx RTMP. I installed it and tested it and it works fine but when I broadcast and use the m3u8 link on my site, I find that some sites can take it and put it there ...
0 votes
0 answers
54 views

RTMP speed vlue never reaches 1 (100%), streamign fail in short time

i am trying streaming rtpm using ffmpeg but i have few problems. FPS has never reach 25fps, only 21 for example. So stream stopping and in short time (couple minutes) buffer overflow. Ffmpeg is ...
1 vote
1 answer
319 views

How can i set port for ffmpeg's output rtmp stream?

Can i set different ports for output rtmp streams using ffmpeg? For example, ffmpeg -listen 1 -i rtmp://server0:port/live/key -c copy -f flv rtmp://server1/live/key -f flv rtmp://server2/live/key I ...
3 votes
1 answer
313 views

How do I disable SSL/TLS certificate verification in ffmpeg?

I was going to write out a long drawn-out question with tons of details about my circumstance, but figured even though questions are usually much more detailed on here, this one is pretty simple (...
0 votes
0 answers
281 views

Nginx RTMP to Telegram not working through Stunnel

I already tried to find an answer but couldn't find anything on this board or on Google. I followed a guide on YouTube on how to set up a Nginx server on my old MacBook Pro to stream a RTMP video from ...
  • 1
0 votes
0 answers
233 views

FFMPEG desktop capture randomly stops streaming to RTMP endpoint. Why?

I am using the following FFMPEG command for desktop streaming to an RTMP endpoint: ffmpeg.exe -report -fflags nobuffer -framerate 30 -use_wallclock_as_timestamps 1 -f gdigrab -thread_queue_size 256 -...
1 vote
0 answers
310 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 ...
  • 11
0 votes
1 answer
2k 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
0 answers
574 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 ...
1 vote
1 answer
356 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 -...
1 vote
0 answers
183 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
0 answers
149 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 ...
  • 11
3 votes
0 answers
335 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 ...
  • 31
1 vote
2 answers
2k 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; ...
  • 211
-1 votes
1 answer
37 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
1 answer
1k 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
0 answers
673 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
1 answer
2k 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
0 answers
778 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 ...
  • 11
1 vote
0 answers
1k 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
1 answer
693 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; ...
  • 175
0 votes
1 answer
920 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://...
  • 161
0 votes
1 answer
841 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
1 answer
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
0 answers
544 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
2 answers
5k 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
1 answer
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 ...
2 votes
1 answer
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 ...
  • 21
1 vote
1 answer
781 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 ...
  • 11
1 vote
3 answers
4k 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
1 answer
2k 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 ...
  • 101
0 votes
1 answer
3k 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
0 answers
1k 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
1 answer
3k 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
1 answer
713 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
1 answer
8k 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 ...
  • 1
2 votes
0 answers
7k 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: ...
  • 121
1 vote
1 answer
3k 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
0 answers
348 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
1 answer
17k 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\...
  • 807
1 vote
2 answers
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 ...
  • 266
0 votes
1 answer
807 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
1 answer
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; ...
3 votes
0 answers
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:...
  • 439
1 vote
1 answer
571 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 ...