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
102 views

Seeing huge latency using FFMPEG to send RTMPS

Seeing huge latency when running FFMPEG to (re)stream camera RTSP stream into RTMPS. Running the same command using RTMP works fine without any latency. Below are the commands used in our testing. ...
Lipphei Adam's user avatar
0 votes
0 answers
199 views

av_interleaved_write_frame(): Connection reset by peer

When streaming live video to a streaming provider who utilizes FFmpeg, the stream is temporarily stopped, and the encoder logs the following: user.err ffpublish[1:0]: av_interleaved_write_frame(): ...
apro's user avatar
  • 1
0 votes
0 answers
382 views

A proper way to convert rtsp to rtmp with ffmpeg

I have a code that streams NVR camera to youtube. This code is done not by me and I don't completely understand what each option does ffmpeg -rtsp_transport tcp -i "rtsp://stream:Stream123@192....
viter.alex's user avatar
1 vote
1 answer
552 views

How do I use FFmpeg and OpenAI Whisper to transcribe a RTMP stream?

I have been able to use FFmpeg with OpenAI Whisper to transcribe an audio file to text. What I would like to do is, instead of using a pre-recorded file, stream an RTMP feed into FFmpeg in order to ...
Point Clear Media's user avatar
0 votes
0 answers
101 views

ffmpeg with rtmp source and v4l2 loopback output: no stop after losing source after Ubuntu 20.04 to 22.04 upgrade

Over the last few years, my IP security cameras were converted into /dev/videoX loopback devices by ffmpeg, then processed further with motion and other tools on Ubuntu 20.04 LTS. An example command ...
takbal's user avatar
  • 1
1 vote
1 answer
53 views

routing rtmp ect streams

Is it possible to solve this problem using ffmpeg+pyhton or in conjunction with another solution. I need a server solution, so Vmix, obs, etc are not suitable. ( eg: I have two (and/or more) streams ...
ilia FILIPPOV 's user avatar
0 votes
0 answers
176 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 ...
SyndicatorBBB's user avatar
0 votes
1 answer
152 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. ...
akrsum's user avatar
  • 1
0 votes
0 answers
685 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&...
HD TV's user avatar
  • 1
0 votes
0 answers
335 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 -...
John Herazo's user avatar
0 votes
0 answers
39 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 -...
John Herazo's user avatar
0 votes
1 answer
524 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 ...
SHERLOV's user avatar
1 vote
1 answer
1k 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 ...
Mikhail Babushkin's user avatar
3 votes
1 answer
1k 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 (...
Ryan's user avatar
  • 33
0 votes
0 answers
459 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 -...
Tarepanda's user avatar
2 votes
0 answers
538 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 ...
Michał's user avatar
  • 21
0 votes
1 answer
3k 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 ...
eKrajnak's user avatar
1 vote
0 answers
631 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 ...
geekdan97's user avatar
2 votes
1 answer
710 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 -...
Jason Lin's user avatar
1 vote
0 answers
201 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 ...
Maurício Giordano's user avatar
1 vote
0 answers
200 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 ...
TLM's user avatar
  • 11
3 votes
0 answers
425 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 ...
Ram's user avatar
  • 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; ...
ROODAY's user avatar
  • 233
-1 votes
1 answer
42 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 ...
Blake Bell's user avatar
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 ...
Dhiyaaul Auliyaa's user avatar
3 votes
0 answers
991 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/...
Peter Patel's user avatar
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 ...
willowen100's user avatar
1 vote
0 answers
915 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 ...
Nck80's user avatar
  • 11
1 vote
0 answers
2k 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 ...
Rafael Faria's user avatar
0 votes
1 answer
887 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; ...
Deex's user avatar
  • 175
0 votes
1 answer
1k 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://...
Pat-rice's user avatar
  • 171
0 votes
1 answer
1k 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)...
Reza Torkaman Ahmadi's user avatar
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 ...
John Moffitt's user avatar
0 votes
0 answers
556 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 ...
CasualDemon's user avatar
1 vote
2 answers
6k 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/...
Islem Boussetta's user avatar
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 ...
dragos_kai's user avatar
2 votes
1 answer
3k 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 ...
Chris's user avatar
  • 21
1 vote
1 answer
846 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 ...
Néstor's user avatar
  • 11
2 votes
3 answers
5k 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" \ -...
dhruv shah's user avatar
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 ...
Marko's user avatar
  • 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 ...
tommy61157's user avatar
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 ...
c0wtschpotato's user avatar
1 vote
1 answer
4k 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 ...
hans gerte's user avatar
0 votes
1 answer
776 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 ...
Jeankowkow's user avatar
0 votes
1 answer
9k 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 ...
yantor's user avatar
  • 1
3 votes
0 answers
8k 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: ...
Ngoral's user avatar
  • 131
2 votes
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="...
user6326558's user avatar
1 vote
0 answers
401 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 ...
Andrei Kim's user avatar
3 votes
1 answer
18k 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\...
Dustin's user avatar
  • 837
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 ...
Vico's user avatar
  • 276