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
7 votes
Accepted

Can continuous video capture damage my DSLR?

It depends on the camera. Digital sensors such as those used in DSLRs produce heat as they capture images. The main issue with extended video capture is the accumulation of heat in the sensor. If ...
user avatar
  • 19.2k
7 votes

Use Streaming Online Video/Live As Source In OBS Studio

This would be possible using OBS's BrowserSource. First, find the embed code for the stream (in YouTube you can click "Share" and then "Embed"). Find the src="" and copy the URL that's inside the ...
user avatar
6 votes

How to display static image if the input stream ends using ffmpeg?

TL;DR : Nothing simple. Both solutions use a relay, and it's not suitable for real production. Actually, you only have two possibilities, and both are ugly. There is absolutely no open-source ...
user avatar
6 votes

Is there an existing video format that records per-frame metadata?

If the frame-rate is not too high and you can associate a frame with a precise timestamp then the easiest would be to add the metadata as textual subtitles. The other option is to mux the metadata as ...
user avatar
  • 486
6 votes
Accepted

Convert mkv to mp4 (or webM) with the output file viewable in the process

This is possible for MP4, with a caveat. The command below will generate a fragmented MP4, which you can view in a browser while the conversion is taking place. However, only the fragments completely ...
user avatar
  • 30.3k
6 votes
Accepted

It is better to have more B-frames or more P-frame for video streaming?

"Q: Is it better to have more B-frames or more P-frame for video streaming?". From: https://en.wikipedia.org/wiki/Video_compression_picture_types The three major picture types used in the ...
user avatar
  • 847
5 votes
Accepted

Encoding videos for MPEG-DASH

I would get as far away from EE as possible. Using the x264 tool, and mp4box, you can convert and segment out the files which are ready to be streamed to any dash compatible players. Especially since ...
user avatar
  • 111
5 votes

Can continuous video capture damage my DSLR?

With the Sony alpha 5000 camera specifically, you will run into trouble trying to do continuous video capture (10 hours or more). It will stop recording after 29min and 50seconds and then you will ...
user avatar
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 +...
user avatar
  • 191
4 votes
Accepted

What's the minimum software for reliably live-streaming a conference?

The minimum software is hardware. You want specialized hardware for doing top quality live streaming encoding reliably. You could use something like the Black Magic ATEM television studio which ...
user avatar
  • 19.2k
4 votes
Accepted

How to prevent users from downloading videos?

Unfortunately, no, that's the entire reason DRM exists. It is a bit like trying to prevent someone from recording an on-air broadcast. When you send video data over the internet to someone's player, ...
user avatar
  • 19.2k
4 votes
Accepted

Questions on workflow: 12G-SDI to 500Mbps to RTSP stream

I've worked through a similar project over the last 6 months, and performed more tests than I can keep track of now. So this is a little fresh for me. With your questions: 4K camera -> capture ...
user avatar
  • 172
4 votes

Digital TV SCTE 35 signal

To determine if a channel has SCTE-35, you will need to have the Program Map Table (PMT) recorded. From the PMT, you should be able to find the Packet Identifiers (PIDs) of all of the streams ...
user avatar
3 votes

Creating text graphics from a data feed

The obligatory ffmpeg answer (not a very good one, other answers still needed): You could feed your video through ffmpeg -vf drawtext=textfile=onscreen.txt:reload=1 With whatever other drawtext ...
user avatar
  • 2,640
3 votes
Accepted

FFMpeg and HLS, videos need to load in their entirety before they start playing

So it turns out after a lot of research that this is the desired behaviour for Apple's AVPlayer component. Basically, my Internet is so slow here where I live, the component waits until the video has ...
user avatar
3 votes
Accepted

Does youtube store different video files for different bit rate?

Does youtube store different video files for different bit rate? Yes is the technique called "resampling" ? No Does youtube make live resampling for every user ? No All this things happens ...
user avatar
  • 1,020
3 votes

Combine video and audio TS segments coming from HLS stream

You can use tsMuxer to add the audio stream from one .ts file into the .ts file containing the video or vice versa. This is called muxing and doesn't affect the quality of the audio or video in any ...
user avatar
  • 7,119
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
3 votes
Accepted

Can video be composited for live streaming?

The answer is yes, video can be composited fast enough to be streamed live. The tool that does this is called a switcher. Typically a switcher introduces a single frame delay from input to ...
user avatar
3 votes

How to set up a Livestream from SJ4000 Wifi?

You have two choices... The wireless way: SJ4000 WiFi has a built-in RTSP streaming server, supporting one client at a time with a limited resolution at 640x360. This can be viewed locally by ...
user avatar
3 votes
Accepted

Proper command to remux mpeg-ts to mp4 with FFmpeg?

Unless you know you have a specific need to preserve timestamps, there's no need to use -copyts. MPEG-TS, being a format, used for remote viewing, will have some start time offset, by default, to ...
user avatar
  • 30.3k
3 votes
Accepted

OBS Studio: desktop audio falls out of sync

So with everything I've tried I'm not sure if I messed anything up, but.... Turning off "Use device timestamps" in the properties of "desktop audio" fixed the problem.
user avatar
  • 141
3 votes

stream with ffserver without encode-decode

FFmpeg, by default, uses ffserver's conf file to set encoding parameters. Add -override_ffserver to the ffmpeg command to prevent that.
user avatar
  • 30.3k
3 votes

ffmpeg - live stream into a browser video tag (localhost only)

I think that the issue is the video tag. The video tag does not support live streaming directly, see this question on SO. Specifically: A. This answer for a technical description of what you want ...
user avatar
  • 106
3 votes

How to skip/minimize encoding workload in OBS?

If you're streaming, OBS will re-encode the output each time. You can stream and record to disk at the same time, However, there's no way to "replay" that data directly to YouTube, it must ...
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 to *stream* audio over multiple scenes in Flash?

I faced a similar problem with a music video. Multiple scenes trying to keep every thing lined up and some lip scync toward the end. Had a hell of a time trying to get it all to match up with the ...
user avatar
2 votes

How to link an audio mp3 file created on soundcloud to your Youtube account

You may want to reupload the file to Youtube. Convert the audio file (preferably your original, uncompressed file) to video with avconv -loop 1 -i cover.jpg -i original-track.wav -tune stillimage -r ...
user avatar
  • 121

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