Questions tagged [rtmp]

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

Filter by
Sorted by
Tagged with
4
votes
2answers
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 ...
0
votes
0answers
14 views

Video/audio unsynced after transcoding live rtmp video translation

Currently, I'm trying to create a live streaming service for internal purposes of my company; The scenario of work is pretty simple: We are receiving the RTMP stream from the user(over the internet) ...
1
vote
1answer
280 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 ...
0
votes
1answer
2k 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 -...
0
votes
1answer
68 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?
1
vote
1answer
1k 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 ...
0
votes
0answers
27 views

Preserve png transparency when adding a png onto rtmp stream via ffmpeg

I want to add a logo (png file with transparency) on top of my rtmp stream, i tried it with following command (adding -c:v prores_ks which is supposed to support alpha channel), but don't see any ...
1
vote
1answer
269 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 -...
0
votes
0answers
23 views

how to find if a rtsp stream is h264 or not?

I am using GStreamer to save videos coming from RTSP. I use the RTSP URL provided by the CCTV manufacturer to get the stream. The DVR says it supports h264. I am able to save the video file. I use ...
0
votes
1answer
380 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 ...
0
votes
0answers
22 views

Youtube livestream stops receiving video from time to time (ffmpeg)

I have ip cam, raspberry pi with ffmpeg on board and I am trying to do 24/7 youtube livestream. I have set up a service that start ffmpeg on boot. It receives rtsp stream from camera and sends it to ...
0
votes
0answers
254 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 ...
1
vote
1answer
1k 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. ...
0
votes
0answers
242 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 ...
1
vote
2answers
3k 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:...
2
votes
5answers
25k 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 ...
0
votes
1answer
578 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 ...
1
vote
0answers
160 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 : ...
0
votes
0answers
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 ...
1
vote
1answer
4k 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 ...
4
votes
0answers
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 ...
3
votes
2answers
15k 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 ...
3
votes
1answer
29k 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. ...
0
votes
0answers
220 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 ...
0
votes
1answer
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 ...
1
vote
0answers
1k 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 ...
1
vote
6answers
12k 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 ...
0
votes
2answers
232 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.) ...
4
votes
1answer
5k 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) ...
2
votes
0answers
696 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 ...
2
votes
1answer
255 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 ...
0
votes
1answer
667 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 ...
2
votes
1answer
801 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 ...
1
vote
0answers
445 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 ...
1
vote
1answer
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-...
0
votes
0answers
114 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 ...
4
votes
2answers
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 ...
0
votes
0answers
3k 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 ...
3
votes
2answers
3k 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 ...