Hot answers tagged

13 votes
Accepted

RTMP server using ffmpeg

You can use FFmpeg as an RTMP server as following ffmpeg -f flv -listen 1 -i rtmp://localhost:1935/live/app -c copy rtsp://YOUR_RTSP_HOST Notes: -listen 1 makes FFmpeg act as a RTMP server when used ...
user avatar
  • 246
5 votes

Infinite Video Loop in Ffmpeg?

Use ffmpeg -re -stream_loop -1 -i file.flv -c copy -f flv rtmp://x.y.z This option is buggy when the input it is applied to is filtered with another input, like in an overlay. For a single input - ...
user avatar
  • 30k
4 votes
Accepted

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

I've solved the issue by rebuilding the timestamps from scratch with -use_wallclock_as_timestamps 1 and -fflags +genpts. /usr/bin/ffmpeg -use_wallclock_as_timestamps 1 -i "rtsp://${source}" -fflags +...
user avatar
  • 181
3 votes
Accepted

How to do a video live stream through a VPS?

It varies a little from one server to another, but the basic components are an encoder/streaming client on the local client that takes input from the camera and turns it in to a stream that can be ...
user avatar
  • 19.2k
3 votes

How to configure crtmpserver for live streaming?

I'm pretty sure you can use vlc to both stream and restream it. I use vlc to stream all my tv channels to all my devices(rtsp, mp4, html5). Search for vlc media player streaming like https://www....
user avatar
2 votes

How to configure crtmpserver for live streaming?

If you just want a plain RTMP stream, you might look at the nginx-rtmp module which looks quite easier to set up than crtmpserver. Just a general suggestion: H.264 compression is a bit CPU-intensive, ...
user avatar
  • 153
2 votes

How to configure crtmpserver for live streaming?

https://net7mma.codeplex.com has a server and client implementation which is compatible with VLC and was created for exactly the scenario you cite. From the website: This project's goal is to allow ...
user avatar
  • 121
2 votes

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

You can strip most of the metadata off your files using ffmpeg: ffmpeg -i oldfile.mp4 -c copy newfile.mp4 This will copy the first audio and video streams to a new mp4.
user avatar
  • 763
2 votes

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

I got it working by adding -fflags nobuffer -flags low_delay -strict experimental before all the inputs. Got helped reading this thread
user avatar
  • 121
2 votes

How to do a video live stream through a VPS?

There's another free, more lightweight alternative to wowza and red5 - the nginx-rtmp-module, which frees you from messing around with java https://github.com/arut/nginx-rtmp-module/ and here's a ...
user avatar
  • 173
1 vote

Live Streaming Video Camera?

The JVC GY-HM200 has live streaming capabilities - http://pro.jvc.com/prof/attributes/features.jsp?model_id=MDL102319. I've never used that particular model (so have no personal experience of the ...
user avatar
1 vote

Monitor FFMPEG Rtmp live stream with FFPLAY pipe

I think i got it! if anyone wants to clean this up let me know, it does work though as is this is the partial code from the windows batch file: ECHO Type in your stating playlist file ECHO. set /p ...
user avatar
1 vote

NDI vs RTSP/RTMP in PTZOptics cameras

We used RTSP and it works fine. There are a few benefits of NDI (like doing PTZ controls over that protocol) but not worth the price jump for the cameras, in my opinion ($600 to upgrade each camera ...
user avatar
  • 11
1 vote

FFmpeg rtmp listen not working correctly: Connection Refused

Try to use static build of ffmpeg without librtmp. You can download it from the website, or build by yourself. I've got the same problem, but without this lib I could run ffmpeg listener. Also when I ...
user avatar
1 vote

ffmpeg rtmp server connection issues

I followed your instructions. I changed localhost to 127.0.0.1:10000, and I was using input from an rtsp. Here is my command. It worked for me. I was able to get the stream in VLC player. ffmpeg -i &...
user avatar
  • 11
1 vote

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

-vsync parameter Video sync method. 0: Each frame is passed with its timestamp from the demuxer to the muxer 1: Frames will be duplicated and dropped to achieve exactly the requested constant ...
user avatar
1 vote
Accepted

OBS RTMP to Web player

Perhaps you've already discovered a solution, but you need a server that accepts the RTMP stream, and outputs an HLS video stream. You can then use one of many JavaScript players (like video.js) to ...
user avatar
1 vote

Adding date/time information on video for ffmpeg

I think adding: -vf "drawtext=fontfile=/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf: text='%{localtime\:%T}': fontcolor=white@0.8: x=7: y=700" should work. See Adding time stamp overlay to video ...
user avatar
1 vote
Accepted

Stream using HLS as source fails

The reason is because HLS as a source is really just a static file (a bunch of .TS packets). This requires you feed the new ffmpeg process (in your case RTMP) at x1 speed, or real time. You can do ...
user avatar
1 vote

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

As the docs say, you need the Blackmagic DeckLink SDK and you need to configure with the appropriate --extra-cflags and --extra-ldflags. On Windows, you need to run the IDL files through widl ...
user avatar
  • 30k
1 vote

Browser-based non-webrtc webcam capture

If you can afford to buy a used BlackMagic H.264 ProCoder, it's a fantastic device, allowing you to input either a HDMI or HD-SDI signal and push to either RTMP or HTTP via h.264 -- with full control ...
user avatar
  • 2,457
1 vote

Browser-based non-webrtc webcam capture

as an AD.3 you can use HLS or you can use WebRTC with h264 or webm DASH for DASH it somewhat blurry form me (no straight answer for ffmpeg), but as for the HLS this is supported in a straightforward ...
user avatar
  • 121
1 vote

Is there a buffer caching application that preloads streaming video?

Launch VLC. Go to Open Network Stream. After specifying the URL, select Convert in place of Play. Choose Dump raw input. In destination file, specify somefilename.ts. Wait 10 minutes. Launch another ...
user avatar
  • 30k
1 vote

How to configure crtmpserver for live streaming?

It looks like it isn't particularly trivial, however crtmpserver have a tutorial on their wiki here. It looks like you have to configure a lua file and then doing a new cmake of the server. (So very ...
user avatar
  • 19.2k

Only top scored, non community-wiki answers of a minimum length are eligible