How to Convert and Resize Videos for Free With FFmpeg
Use free FFmpeg to inspect a video's streams, convert a short clip to MP4, resize video and distinguish stream copying from encoding.
Before you begin
Videos from cameras, phones and editing programs can use different containers, codecs and resolutions. A file with an MP4 extension is not automatically compatible with every device. FFmpeg is a widely used, free, open-source multimedia toolkit that can inspect and transform audio and video through command-line tools. It is extremely powerful, which makes it important to understand command arguments rather than paste a huge unknown script. Start with a short video you own, save the output under a new name and inspect the result before processing an entire library.
1Install FFmpeg from a trusted distribution
Visit ffmpeg.org and review its Download and Documentation pages. Choose a supported package or build for your operating system, and use your platform's documented installation method. Some third-party builds differ in enabled codecs or licensing terms, so check the provider. Open a terminal and verify that the ffmpeg and ffprobe commands work. Keep a short sample video in a separate folder for learning. Avoid feeding personal videos or private client recordings into suspicious online converters just to perform a local operation.
2Inspect the original file before choosing output settings
Run ffprobe on the sample file using the official documentation's supported syntax. The report can identify video codec, audio codec, dimensions, frame rate and other stream information. Write down those properties before changing anything. An MP4 container may hold compatible or incompatible streams for a particular target device, so simply renaming a file extension is not conversion. Check whether the source contains multiple audio tracks or subtitles that must be preserved. If the recording is encrypted or protected by rights management, ordinary conversion may not be available or permitted.
3Make a simple MP4 conversion test
For an ordinary authorized source, a documented pattern is `ffmpeg -i input.mov -c:v libx264 -crf 23 -c:a aac output.mp4`, if the selected build supports those encoders. Replace sample filenames with your own paths and use a unique output filename. The CRF value controls a quality-size trade-off rather than specifying an exact output filesize. Watch for errors and allow time for the process to finish. Do not overwrite the only original video. For large files, test a small segment first so you understand speed and output quality before a long encoding session.
4Resize deliberately and understand aspect ratio
FFmpeg filters can resize video, for example with a scaling expression such as `-vf scale=1280:-2` in a suitable conversion command. The automatic dimension helps preserve the source aspect ratio within the filter's rules, but a tall portrait video will not become a clean landscape composition just because you request a width. Verify pixel dimensions, orientation metadata and crop behavior in the output. Avoid combining multiple conflicting resize options from different tutorials. If you need a square or vertical social-media export, plan how the image will be cropped or padded instead of distorting people and text.
5Compare remuxing, quality and output compatibility
When the existing audio and video codecs are already suitable for the target container, stream copying with `-c copy` can avoid re-encoding. It generally runs much faster but cannot resize or alter the codec. Open the final MP4 in a separate player, inspect the first and last seconds, and listen for audio sync. Check file size and note exactly which settings produced the result. For commercial work, confirm codec and sample licensing obligations. Keep command notes in a harmless text file so the conversion can be repeated consistently later.
Frequently asked questions
Does changing the filename from MOV to MP4 convert the video?
No. The container and embedded streams must be handled correctly; renaming a file extension does not perform conversion.
Will FFmpeg always improve video quality when converting?
No. Re-encoding often introduces some quality loss, and upscaling cannot recreate detail that was never captured.
Official sources and further reading
Interface labels, availability and policies may change. Confirm current details with the relevant service before taking action.