Convert AVI to MP4 with HandBrake: Quality, Motion and Audio
Make a compatible MP4 from an AVI without overlooking interlacing, display shape, sound or the difference between encoding and remuxing.
HandBrake can convert a readable AVI to MP4: open the source, choose a suitable preset, confirm Summary > Format > MP4, and encode to a new filename. For a normal playback copy, I'd choose H.264 video with AAC audio because the receiving player is more likely to support that combination. Old camera AVIs need a closer look at interlacing, picture shape and sound before you process a collection. HandBrake re-encodes video and doesn't create AVI output; a container-only change needs the remux route below.
Decide whether you need a new encode
AVI and MP4 describe containers, not the video compression inside them. An AVI that a player rejects might contain unsupported video, unsupported audio, or a stream that would work in another wrapper. Changing the extension doesn't change any of those things.
HandBrake lists AVI among its supported camera and computer source formats, but the scan still has to recognize and decode the particular file. Use a new encode when the receiving device needs different codecs, a smaller picture, deinterlacing or a smaller delivery copy. If the streams already meet its requirements and you want them unchanged, skip to remuxing. Keep the original either way: a delivery MP4 isn't a substitute for an untouched capture or camera master.
To identify the streams, open the AVI in HandBrake and inspect the scan section of Activity Log. Note the detected video codec, audio codec, dimensions and frame rate before comparing them with the receiver's requirements. If the scan fails, a media-information utility can help identify the file; don't guess its contents from the extension.
Convert one AVI before starting a collection
- Open Source. Choose the AVI or drag it into HandBrake. Let the scan finish. Check the selected title, duration and full range so you don't encode only part of the recording. If no valid title appears, use the source-failure checks first.
- Choose the preset before changing settings. General > Fast 1080p30 is a practical starting point when up to 1080p and a 30 fps ceiling suit the receiver. It uses MP4, H.264 and AAC stereo. For standard-definition camera video, keep the source's useful resolution; the preset name isn't an instruction to upscale it.
- Confirm the MP4 container and video encoder. Set Summary > Format to MP4, then check Video > Video Encoder. H.264 (x264) is the compatibility route used here. A different encoder may produce a valid MP4 that your older television can't play.
- Inspect Dimensions and Filters. Keep the intended display shape, correct unwanted cropping, and decide whether the source needs deinterlacing. A progressive AVI screen recording and an interlaced tape capture shouldn't automatically get identical filtering.
- Check Video timing and Audio. Keep the recorded motion unless the receiver requires a conversion. Select the wanted source soundtrack, AAC and the appropriate mixdown. Check additional tracks and subtitles deliberately; the preset doesn't promise to retain everything.
- Encode a preview. Open Preview, choose a starting position and duration, then select Live Preview on Mac, the play button in Linux's Video Preview, or Encode Preview on Windows. Include a moving subject and speech. Check another section if a tape changes recording mode or the picture changes substantially.
- Save a separate full copy. Set a new destination folder and filename ending in
.mp4. Choose Start, or Start Encode on Windows. Play the finished file on the actual receiving device, including the beginning and end, before adding more files to the queue.

The official preset table identifies the codec and resolution/frame-rate limits; the Preview controls encode a short section so you can compare the result before a long job. A still preview is useful for cropping. The encoded sample is needed to judge motion, compression and synchronization.
Choose quality by the source, not the AVI extension
For x264, start with the preset's Constant Quality setting and compare a sample. HandBrake recommends RF 18–22 for 480p/576p and RF 20–24 for 1080p as starting ranges for x264 and x265. Lower RF means higher quality and generally more data with those encoders. It doesn't make an ordinary encode lossless.
For a standard-definition family recording, I'd begin within the SD range and inspect faces, fine edges and camera movement on the display where it will be watched. Lower RF if compression damages those areas. Raise it in small steps if the picture is acceptable but the file is too large. Don't copy the number unchanged to another encoder: x264, x265, AV1 and hardware quality scales aren't interchangeable.
Noise and grain consume bitrate. Strong denoising can make an old recording smoother and smaller while erasing detail you wanted to retain. Leave that decision separate from the first conversion. Keep the original if restoration or another edit may follow.
| Source or requirement | Starting decision | What to verify |
|---|---|---|
| 480/576-line camera recording | H.264, an SD quality starting range, no unnecessary upscaling. | Display shape, interlacing, crop and tape-mode changes. |
| Progressive HD AVI | A preset whose resolution and timing ceilings retain the wanted picture. | Compression in movement and whether filters are needed. |
| Small upload allowance | A bitrate budget when a size target matters. | Duration, audio contribution and actual final bytes. |
| Streams must remain unchanged | Compatible remux with another tool. | Both the MP4 muxer and receiver support the existing codecs. |
A 480p preset can produce a larger file than a 1080p preset because the presets can use different quality values and encoder settings, and the input itself may remain SD in both cases. Constant Quality allocates data according to the picture; two AVIs encoded with one preset needn't have matching bitrates or sizes. Compare the complete settings and source complexity before blaming the resolution label. For a hard upload limit, use the bitrate and file-size workflow rather than expecting RF to deliver an exact number of megabytes.
Keep the right shape and the wanted edges
On Dimensions, compare the preview with the original. A tape capture can use non-square pixels, so stored width and height don't always describe the intended display shape. Leave Anamorphic > Automatic as the starting point; the resizing guidance recommends it and explains the Resolution Limit and Allow Upscaling controls.
Keep Allow Upscaling off for a normal copy of an old recording. Enlarging the pixel grid doesn't recover missing camera detail. Don't force independent width and height values to turn a 4:3 recording into 16:9. Confirm that people and circular objects keep the right proportions in the encoded copy.
Automatic cropping estimates black borders. If it removes wanted picture, select Custom and set the affected crop values yourself; use zero on all edges when the full stored frame should remain. Check more than one scene, particularly with dark openings, dates near the edge or changing borders. Some captures have unwanted edge noise, but removing it is an editorial crop decision, not a requirement to discard every border.
Remove combing while keeping the motion you need
Combing appears as horizontal teeth on moving edges. HandBrake's Deinterlace filters address that problem; Detelecine serves the different task of reversing telecine. Don't enable every filter because the source is old.
The General presets provide a useful decomb starting point. Inspect Filters after choosing the preset: with Fast 1080p30, Interlace Detection is Default and Deinterlace is Decomb. Detection limits filtering to frames identified as combed. If movement still has teeth, compare a short Bwdif or Yadif encode. On known progressive material, leave deinterlacing off when it isn't needed. Other preset families can start with different filter choices.

For genuinely interlaced camera motion, Bob is another choice when you want to retain the separate field moments. In HandBrake 1.11.2, Bob deinterlacing doubles the frame rate: a 25-frame interlaced source can become 50 progressive frames per second, and 29.97 can become 59.94. Select Bwdif with its Bob preset for that route and choose a video frame-rate limit that allows the resulting rate. A 30 fps peak would discard the extra motion. Confirm the source cadence and the receiver's 50/59.94 fps support before choosing it; Bob also trades some perceived resolution for motion preservation.
Set timing for the receiver
For a progressive source whose timing the receiver accepts, Same as Source with Variable Frame Rate avoids a frame-rate conversion. A numeric rate with Peak Framerate imposes a ceiling. Constant Framerate conforms the whole result to one rate and is useful when an editor or device specifically requires it.
Don't force a 25 fps recording to 30 merely because the chosen preset ends in 30. That name can describe a peak rather than a fixed output rate. When you've selected Bob, review timing together with the filter choice as described above. When an editor demands CFR, choose its required rate and inspect motion and synchronization in the full copy. CFR isn't a universal repair for bad sound.
Check the soundtrack, especially across tape changes
Open Audio and inspect the actual source-track list. For a simple stereo MP4, select the wanted track and AAC with a stereo mixdown. If another language or a second camera track matters, add and inspect it explicitly. HandBrake's saved audio defaults are selection rules, not a fixed list of tracks; sources with no language tags may need Unknown or Any for automatic selection.

Audio passthrough copies a supported format. If Auto Passthru can't copy a track, HandBrake uses a valid fallback encoder when one is available. With the fallback set to None, HandBrake drops the track. Choose AAC explicitly when you need AAC in the MP4, then check the codec and channel layout.
When the MP4 loses sound, compare the same position in the original and read the Activity Log. Listen beyond the first minute. A MiniDV conversion report described slow, crackling audio after a scene change; that user traced it to mixed 12-bit/16-bit recording sections in the capture and resolved it by capturing the sections separately. That's a specific source problem, not evidence that every AVI sync issue needs the same repair. If a fault starts exactly at a tape-mode change, investigate the capture around that point before repeatedly changing the video frame rate.
Use a remux only when the existing streams fit
HandBrake always converts video. Choosing the same video codec doesn't turn it into a copy operation. A remux can retain the encoded streams, but it won't repair an incompatible codec, deinterlace a picture or make a large camera stream substantially smaller.
For a graphical route, add the AVI to Shutter Encoder, choose Rewrap and .mp4, set a separate output location, then Start function. Its Rewrap function requires a compatible codec/container combination. Verify the result in the destination player; successful creation of an MP4 doesn't establish that player's codec support.
This FFmpeg command pattern is a documented alternative for compatible streams. It copies the first moving video stream and any audio streams to a new MP4 without re-encoding. Uppercase V excludes attached pictures and thumbnails:
ffmpeg -n -i "input.avi" -map 0:V:0 -map "0:a?" -c copy "output.mp4"
Streamcopy retains the encoded packets; -n refuses to overwrite an existing destination. This example omits subtitle and data streams and doesn't promise preservation of every AVI property. If the muxer rejects a stream or the receiver can't decode it, choose an appropriate encode instead. A different wrapper alone doesn't turn a DV capture into broadly compatible H.264 video.
If scanning, playback or a batch goes wrong
| Problem | First check | Next action |
|---|---|---|
| No valid source or scan stops | Complete local file, playback of the original, scan errors. | Use a clean copy or re-export from the capturing application when the file is incomplete; inspect the reported codec failure. |
| Picture looks stretched or cropped | Display aspect, anamorphic setting and all crop edges. | Restore the intended shape and wanted picture before changing quality. |
| Combing or reduced motion | Interlaced source, chosen filter and frame-rate ceiling. | Compare deinterlacing samples; allow Bob's higher rate only when appropriate. |
| Silent, distorted or drifting audio | Selected track, source playback at the fault and output audio support. | Correct selection or encoding; inspect recording-mode changes and the log. |
| MP4 works on a computer but not the TV | TV codec/profile, dimensions, timing and audio requirements. | Encode to that specification; don't assume an MP4 extension is sufficient. |
The Activity Log records scanning and encoding details. Use the reported failure in the error troubleshooting workflow; reinstalling the application or lowering RF won't repair an incomplete source. An M4V filename is a separate matter: HandBrake's MP4 and M4V use the same container, so check filename preferences and the receiver's accepted extension.
For a collection, add each configured AVI with Add to Queue, open the next source and repeat, then open Queue and start the jobs. The queue workflow also accepts a folder of single-title video files. To include nested folders, use the recursive scan control for your platform before opening the parent folder. On Windows, the Add to Queue drop-down has Add All and Add Selection; on Mac use File > Add Titles to Queue, and on Linux Queue > Add Multiple. Use bulk addition only after the representative copy is right and the settings fit the selected files.
Give each output a unique destination. Check each file's track selection and any changes in resolution, timing or interlacing; queued settings need to be correct for that job, not just for the last file displayed. Review a short sample at mode changes rather than assuming the first clip represents every tape.
If you need the reverse direction, stop here: the output formats are MP4, MOV, MKV and WebM, with no AVI output. Use an AVI-capable tool with the exact device specification for video codec, resolution, timing and audio. Renaming this MP4 to AVI doesn't supply that conversion.


