The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
0answers
11 views

Dynamic Name Configuration in Nginx RTMP Streaming

We are streaming videos using NGINX-RTMP Streaming. Recording name needs to be set manually instead of showing device name while uploading in server recordings folder. Example: Once recording ...
0
votes
0answers
21 views

append new segments to the previous m3u8 file

Is it possible to append new ts segments to the end of the previous m3u8 file? In case when a conversion was in progress and has been interrupted and now we want to continue that. Thanks.
0
votes
0answers
10 views

STunnel4 not working for rtmps push

I am trying to setup RTMPS Restreaming server in the cloud using Nginx with RTMP Module and Stunnel4. I was able to successfully setup RTMP module with Nginx and whenever I have to stream, I restore ...
0
votes
0answers
14 views

Streaming RTMP via nginx-rtmp-module requires several attempts to connect when viewing the stream

I'm using OBS to stream to an nginx-based RTMP server using the excellent nginx-rtmp-module. Viewers are connecting to view the stream via the MPC-HC player and the normal URL rtmp://example.com:...
0
votes
1answer
32 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://...
0
votes
1answer
83 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)...
0
votes
0answers
114 views

nginx-rtmp pull and push

So, I'm trying to set up an Nginx server which will be used to pull data from an RTMP link and push into another RTMP link. Since I have no idea with Nginx I wrote something like this and as expected ...
0
votes
1answer
87 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
0answers
192 views

Nginx RTMP, how to define $app and $name

One point that I don't understand in Nginx RTMP module is $name and $app directives. You can see directives described here but not sure how they are defined in nginx. Let's assume we have a RTMP ...
0
votes
0answers
189 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 ...
0
votes
0answers
44 views

Combining/Merge existing mp4 file to incoming stream buffer(RTMP)

So What i want to do when i start streaming through OBS studio i want the stream to be attached to my existing mystream.mp4 file. Right now it is overwriting old mystream.mp4 /usr/bin/ffmpeg -y -...
0
votes
0answers
156 views

Using an AWS server to pull, transcode and push a RTSP to RTMP video stream

I need advice on setting up AWS to push-transcode-pull a video stream. I tried to setup an AWS box with an image for a "VXG Video Server" but it didn't work out. Turns out that what I wanted to do ...
0
votes
1answer
425 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/...
0
votes
0answers
353 views

Nginx rtmps issues using ffmpeg could not find any errors works with regular rtmp

Facebook is on May 1st switching to rtmps only for streaming.. I stream on multiple platforms but run through two rtmp servers.. One server is down in my basement that processes Facebook separate then ...
0
votes
1answer
970 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 ...
0
votes
0answers
56 views

it's possible use RTMP variables on nginx environment?

I want to know if it's possible use a rtmp url like this: rtmp://server.com/live/user and get variables inside like: rtmp{ server{ application live{ if($name = 'user'){ set $strmUrl "...
0
votes
1answer
409 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 ...
0
votes
0answers
43 views

Record rtmp stream to multi flv files

I'm currently write rtmp server to receive rtmp stream, then record to multi flv file, segment base on time. Example: 1 minute -> 1 flv file, 2m -> 2 flv file... Problem: only the first flv file is ...
1
vote
0answers
509 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 ...
0
votes
0answers
339 views

Redirect RTMP connections from one server to another

I'm setting up a server for loading balancer between servers (Transcoders). I have many transcoding servers and i want balance between those servres by php algorithm to selecte witch server respond to ...
0
votes
0answers
372 views

ffmpeg loop audio over rtmp stream

How can I loop audio.mp3 as background audio of an rtmp stream? I'm can stream a webcam (just video) to rtmp with like this... ffmpeg -f v4l2 -codec:v h264 -framerate 24 -video_size 1920x1080 -i /...
0
votes
0answers
223 views

Wowza: UDP over private IP to RTMP stream

I have a UDP stream to a server udp://xxx.xxx.xxx.xxx:4500/live/stream I have a Wowza Streaming engine running on the target server. I need to restream the UDP stream to an RTMP stream. This is on AWS....
0
votes
1answer
768 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" -bufsize ...
0
votes
1answer
493 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 ...
0
votes
1answer
691 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
0answers
413 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 ...
0
votes
1answer
844 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
1answer
256 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
1answer
4k 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 ...
2
votes
0answers
3k 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: ...
0
votes
1answer
744 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
0answers
256 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
1answer
6k 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\...
0
votes
2answers
2k 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 ...
0
votes
1answer
538 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
1answer
2k 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; ...
2
votes
0answers
3k 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:...
1
vote
1answer
287 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 ...
0
votes
0answers
349 views

How could I remotely upload rtmp Video to Google Drive?

I have rtmp link for an online video similar to: rtmp://video2.website.com/flv/RTPFiles&file=/folder/video_file_123.flv How could I remotely upload the video to Google Drive? — (without ...
1
vote
1answer
311 views

Rtmpdumper throwing error

I am trying to download these videos for my exams from a site, but I keep getting: RTMPDump v2.4 GIT-2015-12-14 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license:...
1
vote
1answer
1k views

How to download RTMP stream from Stanford Math?

I would like to download the Tadashi Tokieda lectue https://mrc.stanford.edu/content/science-sheet-paper-0 inspecting the page, I discovered the following <script type="text/javascript"> ...
0
votes
1answer
710 views

Randomly no video with same ffmpeg command

Here is command: ffmpeg -i rtmp://localhost/myapp/obs -c:a libfdk_aac -b:a 32k -c:v libx264 -f flv rtmp://localhost/hls/obs_low My RTMP server records all published streams, so I can view them all. ...
1
vote
0answers
1k views

FFMPEG receive stream from pipe via netcat fails

I am trying to receive a stream via netcat and pipe it to FFMPEG and then output to a file, but I am getting an error. The most basic command I tried was: $ nc -l -p 1935 | ffmpeg -v debug -y -f ...
2
votes
2answers
596 views

How to record RTMPT stream which keeps disconnecting with VLC?

I am using VLC to record this stream: rtmpt://164.100.169.57/livepkgr/lok However, the stream stop abruptly after a few minutes of recording in VLC (never lasting more than 12 minutes). On the ...
0
votes
1answer
1k views

Challenging RTMP stream

I can't figure out how to download this RTMP stream. I got all the info here extracted from Firefox: netstreambasepath=http://streamin.to/embed-stx1jx4ysd5a-828x480.html id=vplayer file=...
0
votes
1answer
6k views

NGINX / RTMP / HLS live stream on Raspberry pi (Debian 8.4)

Debian 8.4 / Raspbian 8.0 Nginx 1.9.15 ffmpeg 2.6.8 (server side) / avconv 11.6-6:11.6-1~deb8u1+rpi1 (camera collect) . Avconv is a FFMPEG fork, it does work fine on raspbian. Flow schema cam-1 : ...
1
vote
0answers
326 views

VLC intermittently not findind video from RTMP stream

I've got an nginx-rtmp box that I use for RTMP streaming. Watching these streams via flash player on a webpage works perfectly, but in VLC I have serious issues either natively or with RTMPdump. By ...
0
votes
1answer
6k views

Make ffmpeg loop video indefinitely while streaming

Is it possible to make ffmpeg loop an input file infinite times copying its video and audio and streaming it to a RTMP server (nginx with rtmp module). I am trying to create an animated video which ...
0
votes
1answer
1k views

Standby/Offline stream image with ffmpeg/nginx RTMP

Is there a way to script NGINX RTMP to show a Offline/Standby video or static image when there is no incoming streams to rebroadcast? The idea is that when there is no incoming RTMP streams (ffmpeg, ...
1
vote
1answer
1k views

Transcode RTMP Live stream to multiple clients

I regularly follow livestreams on the website picarto.tv. The website uses RTMP for streaming, and therefore requires flash to show the video source. Many (mobile/embedded) devices don't have flash ...