Questions tagged [rtmp]

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

22 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
3 votes
1 answer
1k 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
1 vote
0 answers
190 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
1 vote
0 answers
690 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
  • 11
1 vote
1 answer
531 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
409 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
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
1 vote
0 answers
454 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
0 votes
0 answers
4 views

How to view Audio and Video of an on-going RTMP stream?

I have looked, and may be missing this question if it already has been asked. It is possible to view the video/audio (or audio alone) in a RTMP stream. The workflow goes as follows: Video Encoder ->...
Matthew Day's user avatar
0 votes
0 answers
51 views

RTMP Stream in to MS Teams Seldom Works

I'm attempting to send an RTMP stream from my encoder (Wirecast or OBS) to an MS Teams Town Hall event. The Town Hall event has RTMP-in turned on. However, when I start streaming from my encoder, ...
watkipet's user avatar
  • 145
0 votes
0 answers
27 views

ffmpeg broken pipeline error when push stream to rtmp server

I was trying to push stream to a rtmp server. firstly, I use OBS with default settings, it works ok. then I decide to use ffmpeg to do it. below is the command I use. ./ffmpeg -re -stream_loop -1 -i ...
tsang's user avatar
  • 1
0 votes
0 answers
16 views

FPV-Camera Input in Black and White / losses Color on conversion with FFMPEG

so we're working on our end-of-school project and it's an FPV-Drone with an Analogue Camera on it. Plan is to send the video feed to a Raspberry Pi running an RTMP-Server from where a Phone-...
LyffLyff's user avatar
0 votes
0 answers
49 views

When I attempt to live a video in an infinite loop using the ffmpeg command, it automatically terminates after

When attempting to continuously loop a video using the ffmpeg command with the following syntax: ffmpeg -re -stream_loop -1 -i abc.mp4 -c copy -f flv rtmps://abc.xyz/..... I encounter an issue where ...
Isteyak Ali's user avatar
0 votes
0 answers
33 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
33 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
0 answers
300 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
0 votes
1 answer
770 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
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
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
0 votes
0 answers
317 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
0 answers
129 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