encoding handycam video

Table of Contents

M2U00047-0001.png

1. what

the sony handycam dcr-sr40 outputs an interlaced 480i video in the .mpg container, a format created in 1993. most standard definition handycams do the same

websites nowadays work best with a deinterlaced h264 or h265 encoded video instead. some won't even process a .mpg video at all

Wikipedia

2. software used

handbrake

mac, windows, linux

free, open source

3. transcoding

download the handbrake preset i made: hd_handycam.json

  • right click the link -> "save link as"

3.1. importing the preset

hit CMD+T and click on "Import" from the dropdown menu

1.png

once you import the hd_handycam.json preset, it should be automatically select from the main Preset dropdown menu in the main screen

3.2. checking everything

drag and drop your videos to handbrake. it'll scan the videos initially and have them available as different titles. make sure hd_candycam preset is selected

2.png

tip
if you want to change a setting in the preset (like changing which folder to export the videos to) you dont have to go through every video and change it manually. it should apply your changes to all the videos you gave handbrake

3.3. adding everything to queue

in the toolbar, click on the Add to Queue dropdown menu and select Add All Titles To Queue

3.png

all of the queued videos are available from the Queue window. from here you can start transcoding

4.png

this preset does not use hardware acceleration, so it may be slow. (2minutes spent encoding for a 30second video on an Apple Silicon M4)

3.4. finished file

6.png

these videos can be shared to youtube, instagram, twitter, etc etc

4. advanced settings

only if you know what you are doing:

4.1. customizing the grain setting

i have a grain tuning for this preset. this leaves the digital noise in-tact without compressing it too much. useful for footage shot indoors / in the dark

grain.png

if youre shooting in a bright scene (daylight, etc) then you probably want to turn this off. leaving the grain setting turned on makes for very big video files.

turn it off through the Video tab -> Encoder Options -> Tune: -> none

4.2. properly deinterlacing the video

handbrake does encode the video as progressive, but it wont properly deinterlace the video until you tell it to.

the main preset i provided doesn't include deinterlacing because they will all soften the image. however if theres a lot of motion then there will be a lot of interlaced artifacts

interlaced.png

Figure 1: still from hd_handycam preset

deinterlaced.png

Figure 2: still from hd_handycam_deinterlace preset

the preset for deinterlaced video is here: hd_handycam_deinterlace.json

Author: Marcelo Mendez

Created: 2025-12-16 Tue 16:57

Validate