Questions tagged [rtmp]

RTMP is an internet protocol for streaming audio, video and data over the internet.

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

How to inject video into a live stream?

When you have two or more live streams, and you want the ability to toggle between the two, such as switching to camera 2's feed on the main screen, how do you do that and what do you need to ...
espeed's user avatar
  • 101
0 votes
0 answers
19 views

Hide overlayed/embedded rtmp stream when rtmp input is having connection issues or is reconnecting

I am running ffmpeg like this, to overlay a picture with a video (but could be also a video and a video of course): ffmpeg -loop 1 -i /tmp/bild.jpg -i rtmp://127.0.0.1:1935/other/stream -...
M. Schmidt's user avatar
0 votes
1 answer
134 views

Video delay when transcoding from an nginx-rtmp-module RTMP stream

I am using the nginx-rtmp-module for accepting RTMP streams and then publishing them locally for transcoding with FFmpeg. After a recording is made, there is an observable freeze in the video for the ...
michaeljdennis's user avatar
0 votes
0 answers
232 views

FFMPEG RTMP stream Non-monotonous DTS in output stream 0:1

Running into a wee issue here. I'm trying to use an rtmp stream as an input and then outputting it to twitch. ffmpeg -re -i rtmp://localhost:1935/live/ -f flv -c:v libx264 -c:a aac rtmp://mad01....
Tweeno's user avatar
  • 1
1 vote
0 answers
165 views

routing rtmp ect streams via ffmpeg+python is it possible?

Is it possible to solve this problem using ffmpeg+python 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
1 answer
712 views

Combine mp4 video and a RTMP stream into 1 RTMP output stream via ffmpeg

I need a ffmpeg command to first feed a mp4 video into a RTMP output stream, then followed by a RTMP input subsequently; what should be the parameters to get it working?
Jason Lin's user avatar
1 vote
1 answer
770 views

Monitor FFMPEG Rtmp live stream with FFPLAY pipe

I have wrestled with this for hours and can not figure out how to pipe this to ffplay so that i can monitor it. google searches and searches on here and stack overflow come up empty ffmpeg -...
hammer head down's user avatar
0 votes
0 answers
1k views

Infinite loop RTMP Stream Using FFmpeg or Equivalent

I'm trying to do an infinite loop RTMP stream on a CentOS 7 server and it seems like FFmpeg would be the best way to accomplish that. However, I cannot seem to coax FFmpeg into doing it despite ...
Timothy R. Butler's user avatar
0 votes
1 answer
1k views

NDI vs RTSP/RTMP in PTZOptics cameras

I am working on building a live streaming system for my church and have settled on using PTZOptics cameras for the project. Our AV dealer wanted to set them up with SDI connections and then go through ...
Shawn N.'s user avatar
0 votes
0 answers
631 views

Streaming video file to YouTube Live with FFmpeg - Automatically resume after crash?

ffmpeg -re -i [FILENAME] -codec copy -f flv rtmp://a.rtmp.youtube.com/live2/[STREAM KEY] I'm able to use this command to stream a video file to YouTube Live without re-encoding. If FFmpeg crashes for ...
Ash Raj's user avatar
1 vote
1 answer
3k views

FFmpeg rtmp listen not working correctly: Connection Refused

Im trying to convert rtmp into an HLS stream using ffmpeg as the rtmp server. In the docs they mention that providing -listen 1 makes ffmpeg act as an rtmp server yet the behaviour is very weird. ...
Antwan van Houdt's user avatar
2 votes
1 answer
5k views

ffmpeg rtmp server connection issues

I am trying to stream using ffmpeg rtmp using, ffmpeg -i out2.mp4 -c:v copy -c:a aac -listen 1 -ar 44100 -ab 64000 -f flv rtmp://localhost/live The process starts but nothing is happening after ...
Pals's user avatar
  • 21
1 vote
1 answer
498 views

Network Stream reloading in a loop (Nginx/RTMP Streaming Server)

As the generic title suggests, I do not know exactly how to explain my problem, neither do I know what could cause it. Hopefully this ends up to be the right place looking for help, as I do not find ...
randmin's user avatar
  • 111
1 vote
0 answers
357 views

Switch between HLS input streams to output a new HLS stream

I'm trying to generate a HLS stream from an input of N (in this example 2) HLS streams but I cannot figure out the right settings to get the PTS values right. My streams can be represented this way : ...
Le G's user avatar
  • 111
1 vote
2 answers
4k views

Combining two live RTMP streams into another RTMP stream, synchronization issues (with FFMPEG)

I'm trying to combine (side by side) two live video streams coming over RTMP, using the following ffmpeg command: ffmpeg -i "rtmp://first" -i "rtmp://first" -filter_complex "[0v][1v]xstack=inputs=2:...
Evk's user avatar
  • 11
0 votes
1 answer
686 views

OBS RTMP to Web player

Good morning, I'm biiiiig newbie and I struggle to understand one thing I want to stream video with e.g OBS, it supports RTMP, so I'm setting up RTMP server. It works fine, I'm able to watch it via ...
Axelly's user avatar
  • 103
0 votes
0 answers
2k views

FFmpeg to RTMP streaming stucks after few seconds

I'm trying to stream to online service via FFmpeg. All my test commands works fine with restream.io preview and with local rtmp server viewer. My OBS setup works fine too (same resolution, server and ...
350D's user avatar
  • 51
1 vote
1 answer
5k views

Adding date/time information on video for ffmpeg

I am using FFmpeg for live streaming with RTMP to YouTube. My ffmpeg command is like this: ffmpeg -ar 44100 -ac 2 -f alsa -i plughw:1,0 -f v4l2 -codec:v h264 -framerate 30 \ -video_size 1920x1080 -...
Paul's user avatar
  • 11
5 votes
1 answer
46k views

RTMP server using ffmpeg

I'd like to use a Teradek Cube connected to a broadcast camera to push to a server running ffmpeg with an open RTMP port, and have ffmpeg re-stream that feed to a decoder using RTMP or RTSP. ...
WarmTaunTaun's user avatar
0 votes
0 answers
306 views

Reduce CPU usage when downscaling HD>SD>Low on the same codec (H264)

I'm using ffmpeg over 3 years now mainly I'm doing live broadcasting on my site , currently I'm preparing to do 5 livebroadcast on the same time using my VPS server CPU E3-1240 v5 OpenVZ Since I'm ...
Salem F's user avatar
  • 131
0 votes
1 answer
2k views

FFmpeg - One input, two outputs each one w/ different complex_filter - Map error?

I use a Decklink to capture video and ffmpeg to stream it to a localhost rtmp server (low compression, HD) and to a remote CDN (high compression, low resolution). I have used this command with success ...
Renato Romano's user avatar
1 vote
0 answers
2k views

GStreamer: RTMP to RTP

I want to streaming RTMP signal to RTP(multicast, mpegts container) via GStreamer. As I understand, I need to perform the following actions (please correct me if I wrong): Demuxing RTMP stream ...
Ivan Kolesnikov's user avatar
0 votes
2 answers
246 views

Live Streaming Video Camera?

Are there any video cameras (recording over 30 minutes of footage length) that have live streaming services (RTMP) built-in to the camera? I know there are a ton of cameras with YouTube (etc.) ...
Michael Yaeger's user avatar
3 votes
1 answer
941 views

Switching between multiple m3u8 playlist

In a live stream setup, I have 2 cameras and each one sends RTMP stream to one different application which is on my Nginx-RTMP server. On the browser I am using Videojs Hls plugin. Now my question ...
formatkaka's user avatar
4 votes
1 answer
6k views

RTSP to RTMP converting fails after specific time only when IP camera enters night mode

I have bought a cheap IP camera Escam QF002 producing output in RTSP. I'd like to secure it with RTMP or HLS stream served by nginx with nginx-rtmp-module. For this I'd copy the video stream (h264) ...
mjktfw's user avatar
  • 191
0 votes
1 answer
789 views

Stream using HLS as source fails

So my problem is this: I have a main process that is using as source bmdcapture, that process is creating a set of 4 different streams using HLS, so the command is something like this (showing only ...
AbrahamSustaita's user avatar
1 vote
1 answer
5k views

How do I playout rtmp stream to SDI (Decklink Studio 4K) using FFMPEG command?we are using Windows 7 operating system

ffmpeg -re -i rtmp://server/live/streamname \ -c:v rawvideo -pix_fmt uyvy422 -vf scale=720x576 \ -c:a pcm_s16le -ar 48000 -ac 2 \ -f nut - | /bmd/bmdplay -C 0 -m 2 -f pipe:0 Kindly share the exact ...
Kishore Karmakar's user avatar
3 votes
2 answers
20k views

Infinite Video Loop in Ffmpeg?

Is there a way to infinitely loop a video in ffmpeg for a livestream? I've been looking around and can see it was possible to use "loop 1" but it appears that is no longer working. This is what I'm ...
spacer GIF's user avatar
4 votes
2 answers
3k views

Browser-based non-webrtc webcam capture

I have a small hobby project based on live streaming. My streaming server likes RTMP. Currently, the broadcasters use native solutions like OBS, FFmpeg or VLC for publishing webcam and mic input to my ...
galactocalypse's user avatar
2 votes
1 answer
273 views

How can I avoid Quicktime Vulnerability with h.264 encoded MP4 files?

I posted this earlier on SuperUser, but realized that this is likely the more appropriate forum for my question. We have several thousand very large MP4 files that have been encoded over the past ...
GDP's user avatar
  • 332
2 votes
1 answer
850 views

Is there a buffer caching application that preloads streaming video?

I'm trying to find out if there's already a application in existence or a way to preload (cache/ buffer) couple minutes ahead of live streaming media e.g. live stream onine TV, rtmp protocol etc.. in ...
Irvy's user avatar
  • 21
1 vote
0 answers
453 views

How actually RTMP work

I'm not a video expert but what I understand about RTMP that it work in the following manner : Video Source -> MP4 Container -> FLV Container -> RTMP Container -> Propagate through internet -> RTMP ...
Vipul Purohit's user avatar
4 votes
0 answers
3k views

Getting FFMPEG to stream video+audio through RTMP

Can someone help me with this: The video streams fine but I can't hear any audio. I just hear random click sounds. Please help: ffmpeg -f video4linux2 -channel 1 -i /dev/video0 -f alsa -i plughw:2,0 ...
Josh's user avatar
  • 141
0 votes
0 answers
128 views

Problems while implementing RTMPT server

I'm working on the RTMPT server. Seems, that all done correctly, tcpdump's logs shows no difference with Red5. Flash Flowplayer successfully passes handshake, creates and starts stream, initializes ...
Yurij's user avatar
  • 101
0 votes
0 answers
4k views

Stream a dynamic playlist to a RTMP server

My goal is to stream a dynamic playlist of video to Twitch. The problem is while I stream a file, I don't know which will be the next until the end of the current one. My playlist is a very simple ...
Nikkau's user avatar
  • 101
4 votes
3 answers
10k views

How to do a video live stream through a VPS?

I've been looking at a million resources and I can't find a definitive answer to this. I'm looking to do a small scale (max 50 viewers possibly), low quality live video stream, with nothing but my ...
takosuke's user avatar
  • 173
2 votes
5 answers
26k views

How to configure crtmpserver for live streaming?

This is what I would like to do. A Linux laptop has a webcam connected to it and captures video and audio in real time The laptop sends the live video and audio stream to another Linux server which ...
kynnysmatto's user avatar
1 vote
1 answer
5k views

flv rtmp url for video-js

I cannot get the code right in video-js player when wanting play rtmp url flv file. Does anyone know what it should be? I've tried following a number of examples at the blog reference site for video-...
cea's user avatar
  • 155
3 votes
2 answers
4k views

How do I set up an RTMP stream server and URL endpoint?

I've got a Haivision Barracuda, which can stream RTMP to a URL (secured by username/password) set in its interface, but have very little experience of streaming video. What software do I need (Windows ...
Iain Hallam's user avatar
1 vote
6 answers
14k views

Is there a way to capture RTMP-stream and output it to SDI?

Is there any way to capture an RTMP stream and output it to SDI? Here is my situation: We specialize in producing local sports for web streaming. Occasionally we are asked to deliver a stream to a ...
Ievgenii Larin's user avatar