TubeSum ← Transcribe a video

How to use FFMPEG

Transcribed Jun 15, 2026 Watch on YouTube ↗
Beginner 4 min read For: Beginners who want to learn how to use FFMPEG for multimedia conversion and basic filtering.
715.1K
Views
9.9K
Likes
1.2K
Comments
456
Dislikes
1.5%
📊 Average

AI Summary

FFMPEG is a powerful command-line utility for file format conversion, often used behind the scenes in other software. This guide covers installation, basic conversion, quality control, and useful filters for both audio and video.

[00:00]
FFMPEG Overview

FFMPEG is a command-line utility for file format conversion, often embedded in other software.

[01:39]
Installation

Download the static version from the official site; extract the ffmpeg.exe from the bin folder.

[03:48]
Basic Conversion

Use 'ffmpeg -i input.avi output.mp4' to convert files; FFMPEG detects format by extension.

[05:33]
Quality Control for AVI

Use '-q' flag with a number (lower = higher quality, typical range 20-30).

[06:41]
Quality Control for MP4

Use '-crf' flag instead of '-q' for MP4 files.

[07:10]
Bitrate Control

Specify video bitrate with '-b:v' and audio bitrate with '-b:a' for finer control.

[08:39]
Audio Filters

Volume adjustment: '-af volume=2' doubles volume. Channel remapping fixes mono-to-stereo issues.

[09:47]
Video Filters

Crop: '-vf crop=width:height:x:y'. Scale: '-vf scale=w:h'. Rotate: '-vf rotate=angle_in_radians'.

FFMPEG is a versatile tool for multimedia conversion and processing. This guide covers the basics and some advanced filters, but many more features are available.

Clickbait Check

90% Legit

"Title accurately describes the content: a beginner's guide to using FFMPEG."

Mentioned in this Video

Tutorial Checklist

1 01:39 Download the static version of FFMPEG from the official site.
2 02:27 Extract ffmpeg.exe from the bin folder inside the archive.
3 02:48 Optionally add FFMPEG to PATH for easy access from anywhere.
4 03:48 Open command prompt in the folder with your files (Shift+Right-click).
5 04:23 Run basic conversion: ffmpeg -i input.avi output.mp4
6 05:33 Adjust quality for AVI: add -q 20 (lower number = higher quality).
7 06:41 Adjust quality for MP4: add -crf 23.
8 07:10 Set specific bitrates: -b:v 1000k -b:a 128k.
9 08:39 Apply audio filters: -af volume=2 (doubles volume).
10 09:47 Apply video filters: -vf crop=640:480:0:0, scale=1280:720, rotate=45*PI/180.

Study Flashcards (10)

What does FFMPEG stand for?

easy Click to reveal answer

FFMPEG is a command-line utility for file format conversion.

00:05

What is the basic syntax to convert a file with FFMPEG?

easy Click to reveal answer

ffmpeg -i input.avi output.mp4

04:23

How do you adjust quality for AVI files in FFMPEG?

medium Click to reveal answer

Use the -q flag followed by a number; lower number means higher quality.

06:04

What flag is used for quality control in MP4 files?

medium Click to reveal answer

-crf (constant rate factor).

06:41

How do you specify video bitrate in FFMPEG?

medium Click to reveal answer

Use -b:v followed by the bitrate, e.g., -b:v 1000k.

07:25

How do you double the volume of an audio track using FFMPEG?

medium Click to reveal answer

Add -af volume=2 to the command.

08:46

How do you fix a mono recording that only plays on the left channel?

hard Click to reveal answer

Use channel mapping: -af 'pan=stereo|c0=c0|c1=c0' to copy left channel to both.

09:12

What is the syntax to crop a video to 2/3 of its original size?

hard Click to reveal answer

-vf crop=2/3*in_w:2/3*in_h

10:16

How do you scale a video proportionally to a width of 640 pixels?

medium Click to reveal answer

-vf scale=640:-1 (height auto-calculated).

10:49

How do you rotate a video by 45 degrees clockwise?

hard Click to reveal answer

-vf rotate=45*PI/180

11:11

💡 Key Takeaways

📊

FFMPEG is often used unknowingly

Highlights how FFMPEG is embedded in many other software tools.

00:05
🔧

Conversion by extension

Shows FFMPEG's simplicity: it determines format from the output file extension.

04:54
⚖️

Quantizer quality trade-off

Explains the inverse relationship between quantizer value and quality/size.

05:56
💡

FFMPEG comes with many filters

Demonstrates the extensibility of FFMPEG beyond basic conversion.

08:07
💡

Barely scratched the surface

Emphasizes that FFMPEG has a vast array of features beyond this tutorial.

11:40

✂️ Creator Tools: Viral Hooks

AI-generated clip ideas for Shorts based on the transcript

What is FFMPEG?

45s

Reveals that FFMPEG is a hidden tool used by many apps, sparking curiosity.

▶ Play Clip

Install FFMPEG in 60 Seconds

60s

Quick, actionable installation guide with a pro tip on PATH variable.

▶ Play Clip

Convert AVI to MP4 with One Command

60s

Demonstrates the simplicity of FFMPEG's core function, satisfying instant gratification.

▶ Play Clip

Quality Control: -q vs -crf

60s

Explains a common confusion between AVI and MP4 quality settings, highly practical.

▶ Play Clip

5 Must-Know FFMPEG Filters

60s

Showcases quick fixes for volume, channel, crop, scale, and rotation – very shareable tips.

▶ Play Clip

[00:00] Sometimes in our computing life, we actually

[00:05] we're using a particular piece of software

[00:11] FFMPEG is actually a command line utility

[00:17] And, in that process, it can also do a number

[00:21] Now, because of the license of FFMPEG, it

[00:26] of software, you know, to do its job in the

[00:31] not realize that it's actually there, but

[00:35] So what we're gonna do today is we're not

[00:40] deserves, we're gonna learn how to actually

[00:45] plain, vanilla FFMPEG running on your computer

[00:50] So yeah, I hope this interests you!

[00:52] After learning how to use FFMPEG I've actually

[00:57] many situations, so yeah, I hope you think

[01:00] You're watching another random Wednesday episode

[01:14] Hello and welcome back to another random Wednesday

[01:17] So FFMPEG!

[01:19] A very interesting tool - Let's begin by learning

[01:25] basics, and then to some more interesting

[01:31] Of course, as it turns out, it is much more

[01:36] I said, we'll see it when the time comes.

[01:39] First of course is how do we install this

[01:42] Well, you can find a download link in the

[01:46] download page on the official FFMPEG site.

[01:49] You'll realize right off the bat that things

[01:54] are three different versions of FFMPEG you

[01:57] But, they do tell you that if you've no idea

[02:02] the static version, so that's what we're gonna

[02:05] Basically the idea is the static version contains

[02:12] our purposes is the most convenient!

[02:15] So I would recommend that as well.

[02:17] Go ahead and download the latest version for

[02:23] realize that what you end up with is an archive.

[02:27] Open the archive in an archive manager of

[02:30] If you don't have one you can check out PeaZip,

[02:35] Within the archive, enter the "bin" folder,

[02:40] That's really the only file you need, so extract

[02:46] and we can begin converting!

[02:48] Now, if you intend to use FFMPEG from anywhere

[02:55] save it somewhere important, like in a Program

[03:01] PATH variable.

[03:02] So what you're seeing onscreen right now are

[03:06] I do actually have things set up this way

[03:12] Of course, this step is optional so if you

[03:16] is in the same folder as the video files you

[03:22] With that out of the way, let's move on to

[03:27] files with FFMPEG!

[03:29] Now, previously to this I know I mentioned

[03:35] can also work with images and audio!

[03:38] Basically, well, it's a command line utility

[03:43] what kind of output you want, and it just

[03:47] That's how amazing it is!

[03:48] So, let's actually try a very simple example

[03:55] it from .avi to .mp4.

[03:56] Now, what you're seeing here is a folder in

[04:02] with throughout this video.

[04:03] You can open a command line very quickly on

[04:08] files are selected, then hold down shift,

[04:14] "Open Command Window Here".

[04:17] That's convenient because the command window

[04:21] get started right away.

[04:23] Here's what FFMPEG syntax looks like - You

[04:31] which means "I'm about to specify an input

[04:36] the input file!

[04:38] So what we wanna do here is we wanna convert

[04:42] So simply all you have to do is to actually

[04:47] the file, making sure that the extension is

[04:49] Hit enter, and, well, off it goes!

[04:54] FFMPEG is now converting an AVI file to MP4,

[05:00] filename you gave it.

[05:02] That is how simple FFMPEG actually is, and

[05:07] between different file formats, that's really

[05:11] But well, the time will come when you wanna

[05:16] the command switches start to come in.

[05:19] Probably the first thing that concerns you

[05:24] You would probably want to be able to tweak

[05:29] here works for MP4 and AVI respectively.

[05:33] Let's start with AVI.

[05:35] Now, there is a factor in image compression

[05:41] file quality, and it is linked to how it should

[05:47] bitrate encoding, but we won't go into too

[05:52] Basically, all you need to know is that the

[05:56] The smaller the number, the higher the quality.

[05:59] Of course, the higher the quality, the higher

[06:03] need to work with.

[06:04] To set the quantizer for an output AVI file,

[06:10] you specify the input, and then you type -q,

[06:16] This number is of course the quality setting

[06:19] Numbers between 20 and 30 is common, but if

[06:24] go as low as a single digit.

[06:27] If you want it to be lower quality you can

[06:31] Experiment!

[06:32] You'll be able to see the difference in the

[06:36] Do note that this only works when you're writing

[06:41] If you're doing this for MP4 files, then you'll

[06:48] So instead of -q you'll need to type -crf,

[06:53] I think this exists on a slightly different

[06:59] of that.

[07:00] The values are not necessarily the same!

[07:02] Once again, experiment!

[07:04] You know, look at the file size, look at the

[07:08] it up or down.

[07:10] If you prefer finer control, you can also

[07:16] Now, bitrates work for both audio and video

[07:21] it whether you want to tell it whether you

[07:24] the audio channel.

[07:25] And to specify this, you'll want to enter

[07:31] which stream you want to target.

[07:33] Then, give it a number.

[07:35] For example, if I want the video quality to

[07:41] you can do that.

[07:42] I can even specify both audio and video bitrates

[07:48] bitrates of the two different streams.

[07:51] This is of course only if you want finer control.

[07:53] So yeah, for the vast majority of use cases

[07:59] covers your bases, but let's say we want to

[08:05] filters just for fun!

[08:07] Now, here's the deal - FFMPEG actually comes

[08:13] And they all have various effects on the video

[08:16] What I've done is, through the whole list

[08:20] total of five to go through with you.

[08:23] Two of them are for audio, and the remaining

[08:28] you'd probably do the most often.

[08:30] So yeah, let's take it from the top.

[08:33] We're going slideshow mode again because we've

[08:36] Let's quickly jump through the five filters.

[08:39] First, let's tweak the volume.

[08:42] To do this, simply add the following flag

[08:46] The flag itself says we want to use a filter

[08:51] that we want to call the volume filter, with

[08:56] The number we provide is actually a multiplier.

[08:59] So when we say volume=2, we are actually doubling

[09:03] You can of course use decimal volumes, including

[09:09] Next, channel remapping.

[09:12] Sometimes we accidentally record with a mono

[09:17] to only go to the left channel.

[09:19] We can easily fix this by mapping the audio

[09:24] channels.

[09:26] That's what this command call means!

[09:28] The left channel is 0 and the right channel

[09:31] So what we're doing here is mapping the input

[09:36] then the input left channel to the output

[09:41] that has sound on both sides.

[09:44] Let's move on to the video filters.

[09:47] First cropping.

[09:48] The syntax looks like this.

[09:51] Notice how we say -filter:v because we now

[09:56] We then say crop, and specify up to four parameters.

[10:00] The first two are width and height, which

[10:05] The two remaining parameters are optional,

[10:09] the cropping.

[10:11] If unspecified, the cropping is centered.

[10:14] You can use arithmetic for this as well.

[10:16] For example, this statement means that we

[10:21] size.

[10:22] The variables in_w and in_h are available,

[10:30] Next, video scaling.

[10:33] This looks very similar to the first two parameters

[10:37] Use w and h to set the width and height of

[10:41] You can also arithmetic like with cropping.

[10:44] The variables in_w and in_h are also available

[10:49] In addition, if you'd like proportional scaling,

[10:57] Its value will be determined from the length

[11:01] Finally rotation.

[11:04] Simply say rotate= and specify your angle.

[11:07] Unfortunately your angle needs to be specified

[11:11] Luckily it's not that hard, since you can

[11:15] So the following statement refers to a clockwise

[11:23] The result of this operation looks something

[11:27] And there you have it!

[11:28] We've actually gone through a pretty comprehensive

[11:34] And we've even taken a look at some complex

[11:40] I've barely scratched the surface!

[11:43] Like I said, FFMPEG has a whole host of filters

[11:48] I will include the link in the video description

[11:52] That's all there is for this particular episode,

[11:57] about that, but hopefully you've found this

[12:01] Thank you very much for watching, and until

⚡ Saved you time reading this? Transcribe any YouTube video for free — no signup needed.