Hot answers tagged

19 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 ...
Marware's user avatar
  • 306
5 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 +...
mjktfw's user avatar
  • 191
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 - ...
Gyan's user avatar
  • 32.6k
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.
Duvrai's user avatar
  • 803
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
cub33's user avatar
  • 121
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 ...
Jamie Bruce's 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 ...
hammer head down's 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 ...
Jonny's 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 ...
Dmitriy Chornenkiy's 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 &...
Usamah's 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 ...
Igor Bat's 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 ...
Doug Sillars's 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}': [email protected]: x=7: y=700" should work. See Adding time stamp overlay to video ...
Thor Tomasarson's 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 ...
Jordan Rumph's 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 ...
Gyan's user avatar
  • 32.6k
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 ...
McFlySoHigh's user avatar
  • 2,477
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 ...
Pawel K's 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 ...
Gyan's user avatar
  • 32.6k

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