Combine Time Lapses with standard DV – Avidemux and Sony Vegas

I’ve just gone trough some hoops to import a time lapse video made in Avidemux into my standard DV project in Sony Vegas. My first issue was to find a suitable video format and the second to get the size of the time lapse video to match the size of the DV format. I’ll go through all steps in an example project below. I’ll use a time lapse with 14 stills and a DV project (PAL, 720×576, 4:3) with one clip.

Sequence the filenames
Avidemux is a bit picky that the file names of the images are in a sequence. I use ReNamer to automatically serialize the images.

I use ReNamer to serialize file names
I use ReNamer to serialize file names

Making the time lapse video in Avidemux
Even though Sony Vegas can import still images I prefer Avidemux for my time lapses.

Open the first image in Avidemux and make sure all frames are visible in the video. Since I’m going to export the video to Sony Vegas I want to use a format that preserves as much quality as possible. I chose Huffyuv.

Select the frame rate you want. I choose 5 fps.

My time lapse images are in 640 x 480 px and my DV stream is in 720 x 576. I’ll resize the images to 768 x 576 px, then I crop 24 px on each side to get a 720 x 576 px image.

Scale the time lapse images in Avidemux
Scale the time lapse images in Avidemux

Save your time lapse video to avi.

To be able to play the video (in Windows Media Player) I had to install a codec for Huffyuv. I installed the latest ffdshow and selected to install Huffyuv only. I also had to enable Huffyuv in ffdshows VFW configuration utility.

Enable the correct codec
Compare the black border in the preview window with the next screenshot

Now you should be able to play the file in Windows Media Player and it’s time to import the video to Sony Vegas!

Import to Sony Vegas and fix the size problem
I start by just adding my two files to Vegas and preview them. I can see a black border around my time lapse file. I fiddeled around quite a while with this. I tried to resize the time lapse in Event Pan/Crop -tool but could only get that to work if I dissabled Maintain aspect ration.

Compare the black border in the preview window with the next screenshot
Compare the black border in the preview window with the next screenshot
See the black border on the left and right hand side in the preview window. Time lapse video has wrong pixel aspect ratio.
See the black border on the left and right hand side in the preview window. Time lapse video has wrong pixel aspect ratio.

Finally I found out that the pixel aspect ratio differs from my DV file and my time lapse file. On the DV file it’s set to 1,0926 (PAL DV) and on the time lapse it’s set to 1,0000 (Square). I changed it by right clicking on the media, select properties and it’s in the media tab.

Media properties for DV file
Media properties for DV file
Media properties for time lapse file
Media properties for time lapse file

You are done!

Big thanks fo LoRd_Mulder and DarkZell666 in the Avidemux forum for helping me out!

Publicerat av

Ola

Mångsysslande doer & klätterentusiast. Jag driver varumärket Sten & bloggen Klätterbilder. Jag konsultar inom IT & Marknadsföring samt undervisar inom webb på Folkuniversitetet. Jag älskar att fota. /// Doer & climbing enthusiast. I run the climbing brand Sten & the blog Klätterbilder. Consulting with IT & marketing & teaching at Folkuniversitetet. I love to take pictures.