All Questions

Filter by
Sorted by
Tagged with
167
votes
1answer
226k views

How can I crop a video with ffmpeg?

I have an MP4 file of a screen recording that I need to crop down. How can I accomplish this without using expensive tools like Adobe Premier or Final Cut? I prefer ffmpeg because I have used it ...
51
votes
12answers
4k views

Good open source Video Editors?

Sure, I could Google and find random software. But I rather have the opinion of users that have had hands-on with any open source video editors. So if you've used one that you like or know of any, ...
49
votes
4answers
108k views

Repeat/loop Input Video with ffmpeg?

I just want to loop a mp4 video with ffmpeg and keep the current settings and codec. For example if input.mp4 is 0:10 long, and I would want to loop it 4 times so output.mp4 is 0:40 long, how could I ...
31
votes
6answers
36k views

How do I turn audio into video (that is, show the waveforms in a video)?

I have to create a video. Part of it involves "showing" a radio interview. Rather than just having a black screen and listening to the audio, I'd like to have a varying waveform on the screen and a ...
31
votes
7answers
5k views

Create a DIY Green Screen / Chroma Key

What are some good resources for people attempting to setup their own green/blue screen, light, record and pull a quality key from it? Particularly on a low budget, or with materials that aren't ...
29
votes
1answer
65k views

Add an image overlay in front of video using ffmpeg

I have many videos and I need to put an image in front of them for about 5 seconds, but adding it manually and rendering it each time would take really long, so I am asking if it is possible to do so ...
27
votes
5answers
33k views

How to get FFMPEG to join non-sequential image files? (skip by 3s)

I have a bunch of images, that follow this pattern. 0001.png 0004.png 0007.png 0010.png 0013.png 0016.png 0019.png ... They're in the correct order, but FFMPEG ignores anything after the first file, ...
26
votes
4answers
29k views

How does YouTube encode my uploads and what codec should I use to upload?

Related to What codecs/formats are appropriate for full motion video recording for youtube? I'm wondering exactly how I can expect Youtube to handle my videos. I know they have a rather zealous ...
26
votes
1answer
22k views

Can I use FFMPEG in a commercial product [closed]

Not sure if I am correct posting my question here and I will of course delete this question if appropriate. I have a c# desktop app using FFMPEG I have a web service using FFMPEG. I sell both ...
24
votes
4answers
5k views

What factors are important for DSLR lenses for shooting video?

I'm about to upgrade my DSLR camera from a Canon XSi (450D) to either a Canon 7D or T3i (600D). I'm largely interested in the video features of the camera. I have several mid/high-end lenses that I ...
21
votes
3answers
85k views

How to encode a video at 30 FPS from images taken at 7 FPS

I have no knowledge whatsoever about video encoding, I have an application written in OpenGL and I am saving the frames it generated into png images. The frames from my app are at 7 FPS and I am ...
20
votes
4answers
55k views

How to losslessly encode a jpg image sequence to a video in ffmpeg?

I have a large set of jpgs that I want to convert to a video losslessly (or, at the very least, very close to losslessly as long as the encoding time isn't much higher than otherwise). Naively, I ...
20
votes
7answers
3k views

Does version control have a part in the video production workflow?

I'm a software developer and I'm also interested in photography (for four years) and video production (for a few months only). ■ In software development, there is an important rule every developer ...
19
votes
1answer
65k views

How do I change frame size, preserving width (using ffmpeg)?

I'm new to this StackExchange site, and to using the FFmpeg encoder. I have a video that is 720x480 (3:2) that I would like to change to 720x406 (16:9) to match the other videos I have for a site. I ...
19
votes
4answers
18k views

Render srt subtitles to video?

I have subtitles in .srt file format, and I need to render them on top of video file (prefereably mp4). I have tried handbrake and mediacoder so far, with no luck. What should I do?
18
votes
7answers
2k views

Are there any mathematical advantages for higher sampling rates?

Given that most people can't hear so many frequencies above 20kHz anyways, I've never understood the exact arguments for using sampling rates above 48kHz. At 48kHz, I understand that it is easier to ...
18
votes
4answers
3k views

Why do weathermen and amateurs use green screens when professional movie makers use blue screens?

I've seen a lot of "low budget" green screen setups. However, when I watch things about professional filmmaking, it seems everyone is using blue screens instead. (e.g. I've seen Industrial Light and ...
18
votes
2answers
16k views

MP4 / h.264 patent issues?

I know this is not a legal forum but I'm assuming this is a daily issue for most people on this site since h.264 video (AVC / MPEG4 part10) is so ubiquitous (and there is a legal tag here). I've read ...
18
votes
2answers
25k views

ffmpeg Color Correction: Gamma, Brightness and Saturation

How is ffmpeg used with a video filter circa 2017 to adjust gamma/contrast, brightness and saturation? Stack Exchange resources that are a few years old point to the filter mp=eq2=, but it seems to ...
18
votes
4answers
39k views

How can I convert .MTS file (AVCHD) to .mp4 by ffmpeg without re-encoding H264 video stream?

Note: I posted same question to stackoverflow a short time before, when I have not found this comunity yet. I repost this since the question is more suitable to this community. 1. What I tried I ...
17
votes
3answers
22k views

How to fade in/out a video/audio clip with unknown duration?

I'm working on a project where I'm using ffmpeg to batch convert some video files, and adding fade in/out effects at the head and tail of each clip. I've been using this bit of code to add the fade/...
16
votes
5answers
20k views

How to encode Apple ProRes on Windows or Linux?

Is it also possible to encode video with Apple ProRes on Windows and Linux?
16
votes
5answers
23k views

Why does the color red always appear pixelated on TV and videos on the PC?

I hope this isn't off-topic. While technically about video production, it's not about a problem I am having. Have you ever noticed on TV how the color red is always noticeably pixelated? It's the ...
16
votes
2answers
35k views

How to downsample 4k to 1080p using ffmpeg while maintaining the quality?

I have some 4K 3840x2160 footage in MP4 format that I need to bring down to 1080p. I tried running ffmpeg -i orig.mp4 -vf scale=1920:1080 smaller.mp4 but the result is very poor quality, with the ...
16
votes
5answers
33k views

Non-Monotonous DTS on concat (ffmpeg)

After running this command ffmpeg -f concat -i mylist.txt -c copy output.mp4 - I'm getting corrupted output.mp4 file and this message: ffmpeg -f concat -i mylist.txt -c copy output.mp4 ffmpeg version ...
15
votes
3answers
45k views

Encode settings for HTML5 background video

I want to create a website with a HTML5 video background. I have a short 1080p mp4 clip that I want to use (20s). I intend to run the video in a letterbox format (5:2 ish), full screen behind the ...
15
votes
6answers
60k views

Adobe Premiere Pro CC - Crop a video and export at the exact cropped size

I have a video that has 4 up-down-left-right black borders of different sizes. I want to get rid of these black borders so the exported file has the exact size of the cropped area. To do this, I ...
15
votes
2answers
18k views

How to concatenate clips from the same video with ffmpeg

I have a long video with different scenes in it. I want to extract and concatenate 2 scenes from the video (that do not start on an I-frame) using ffmpeg 2.1.4. For argument, say I want 5 seconds ...
15
votes
1answer
451 views

What is this strange second camera?

I don't know is this is the correct place to ask this but ... I've watched several "making of" of current movies and noticed a thing i cannot explain. What is this strange "secondary" camera you ...
15
votes
2answers
517 views

Why filmmaking with DSLR?

Adding video feature to digital camera was for their popular applications, as unprofessional users wanted to have both photography and videography at the same time. Professional cameras were ...
15
votes
7answers
2k views

What Beginner Video Editing Software Should I Use?

Specifically, I need to edit HD video on Windows 7. I need a software solution which can zoom, pan and insert text. Also, I will need to adjust the scale of video clips and composite multiple video ...
14
votes
2answers
63k views

Fix bad files and streams with ffmpeg so VLC and other players would not crash

It happened me many times that I could end up in corrupted video files: video downloaded from official sources but with torrent and for some reason not all the pieces are there in .mkv, .ts or .mp4 ...
14
votes
3answers
12k views

H.264 or VP9 for encoding for YouTube?

I make short films which I distribute through YouTube. I know YouTube uses VP9 for streaming, but YouTube still recommends uploading with h.264. It makes more sense to me to upload in as similar a ...
14
votes
3answers
33k views

Adobe Premiere - Restore Audio to A/V Clip After Deleting

Say I add a bunch of Audio/Video clips to a sequence, then delete all the audio (Alt-select it and delete); I work on it for some time, close Premiere, re-open.. etc., Is there any way to restore the ...
13
votes
2answers
77k views

How do I set up and use ffmpeg in Windows?

I understand that ffmpeg is a powerful tool for video file conversions. I see online in many places people suggesting it for solutions or getting help in how to use it. The problem is I don't even ...
13
votes
4answers
16k views

Stabilizing GoPro videos

When I watched videos on GoPro's youtube profile, they seem to me almost perfectly stable. And when I attached my action cam to helmet and tried to record during skiing, the video was very shaky. I ...
12
votes
7answers
13k views

Is there a way to pause and resume FFmpeg encoding?

I record a few hours of video footage every day, which I set in queue for encoding with ffmpeg. I use the veryslow preset with x265, so a single hour of video may take up to 20 hours or more to encode....
12
votes
2answers
1k views

What's the difference between an Engineer and a Producer?

People seem to be making a point of the distinction of the role of Engineer and Producer. What's the difference?
12
votes
5answers
16k views

Convert a 60 fps video to a 24 (film) video - is it possible?

This may not be as simple a problem as it may seem at first, so read carefully. When I set my (Canon 60D, but this doesn't really matter at all) camera to record at 24 fps (I think it's actually 23....
11
votes
3answers
50k views

Why processor is “better” for encoding than GPU?

I was reading this article and I saw that a CPU is better for video compression than a GPU. The article only says that happens because the processor can handle more complex algorithms than the GPU, ...
11
votes
2answers
30k views

ffmpeg drawtext filter - create transparent background with text

I am currently working with the drawtext filter. So far I have only been successful with drawtext option configurations to use the right font and place the text horizontally centered. How could i get ...
11
votes
3answers
33k views

How do I write up a shot list?

I am writing a script for a short movie. How do I write a shooting script? Is it needed? What is the difference between a script and a shooting script?
11
votes
2answers
7k views

How can I stitch together several m2ts video files into one large file?

I have recorded several community theater productions with a Panasonic TM900 camera. The settings on the camera were to record at 1080p @ 60 FPS. However, I noticed that the camera produces several ...
11
votes
2answers
9k views

Why does all timecode start at 1 hour? (01:00:00:00)

Is there a reason timecode in Final Cut 7 and timecode in Pro Tools starts at the 1 hour mark? eg. 01:00:00:00? As opposed to all zeros? Some old broadcast standard that I don't know about?
11
votes
6answers
10k views

Are there only a few standard video frame rates?

In modern digital video, can a video file be marked with any arbitrary frame rate? Or are only a few specific frame rates widely supported? By "modern" I mean software players like Quicktime, VLC, ...
11
votes
1answer
9k views

ffmpeg: explicitly tag h.264 as bt.601, rather than leaving unspecified?

I want to tag video as explicitly bt.601, rather than "unspecified". I know players typically choose bt.601 as the default for videos less than 1280 pixels wide, but I want to make it explicit that ...
11
votes
5answers
142k views

How can I merge/link two video clips in Premiere?

Every time I search this problem in Google the only options are how to link audio clips to video or how to sync audio to video clips. I need to combine/link/merge a picture to a video clip, so that ...
11
votes
1answer
2k views

Is it possible in FFMPEG to change scale over time?

Ok, so using the overlay filter, one can change the x/y location of a video over time by using the "t" variable. For example, overlay=x='if(gte(t,2), -w+(t-2)*20, NAN)':y=0 can be used to start ...
10
votes
3answers
113k views

How to Create a High Quality, Small File Size .mp4 from .mov

Recently, I helped a friend produce a short zombie comedy. He has now asked me to add it to the film's website as a digital download. I'm not having issues with the digital download. My issue is how ...
10
votes
2answers
42k views

How to use ffprobe to obtain certain information about mp4/h.264 files

I am but a lowly PHP developer that has been tasked with retrieving some basic information about 100's of thousands of video files. I've had some luck using ffmpeg extracting the video bitrate, video ...

15 30 50 per page