Marc Kurtz
September 1st, 2005, 09:10 AM
I have been searching for a step-by-step guide to performing 60i-to-60p-to-24p 40% slow-motion. Barry's DVX book and numerous other posts and articles talk about this, but don't really tell you how to do it. The www.100fps.com finally gave me the guidance I needed to figure the process out, but the page is a bit cluttered so I wanted to write my own step-by-step guide. Here we go!
Abstract:
This method will take 60fps interlaced footage and turn it into 60fps progressive footage, turning fields into frames in the process, for use in a 24fps timeline to achieve fluid 40% slow-motion.
Theory:
The DVX allows for recording video at 60 fields per second (called 60i or 60fps interlaced). What this means is that it actually captures 60 fields per second to tape, but each "field" consists of half a frame. Each field is missing every other horizontal line of resolution. We can however "fill-in" the missing information by taking "guesses" at to what should go in these lines by examining the lines of resolution that do exist, and this creates 60 full-frames per second. There are many methods of guessing how to fill in the missing lines of resolution - some better than others - but all will result in some loss of resolution from true 30fps progressive recording (which captures only at 30fps, but captures a full frame, not fields). So we lose a little image quality, but we get video that is 60 frames per second, which is full-frame double-speed video. We can then slow down this footage to get perfectly smooth 40% slow-motion in a 24fps video (40% of original speed - so this is slighly slower than half-speed!). No jerky, stroby slow-motion video - if done right it looks great!!
Tools needed:
Virtualdub - www.virtualdub.org
Avisynth - www.avisynth.org
DV Codec - many available - do a google search. Here is a link for the panasonic DV codec - http://www.free-codecs.com/Panasonic_DV_Codec_download.htm
Instructions
(note, there are some sub-bullets, like "5a", as intermediate steps to verify that you have done all the previous steps correctly)
1. Shoot your footage in 60i (interlaced) mode on your camera.
2. Capture the video to your computer using your normal method. Additionally virtualdub can capture video, but I haven't tested it (I used Adobe Premiere to capture). I named the captured file "60interlaced.avi"
3. Install all software - virtualdub, avisynth, DV codec. The DV codec can be usually installed by right-clicking on an ".inf" included with the codec and selecting "Install". Sometimes you have to double click on a ".reg" file, and then copy the DLL file to c:\windows\system32
4. In the directory that you saved your captured file, create a text file called "script.avs". In that file place the following lines:
AVISource("60interlaced.avi")
separatefields
5. Open virtualdub. Go to the File menu, then select "Open video file". Open the "script.avs" file created earlier. You should see your video in the virtualdub window. There are two video windows in virtualdub - the left is the source video, and the right is the output video.
5a. To verify that you have a 60fps file, go to the File menu and select "File Information". The framerate should be 60fps (or 59.xxx). And the number of frames should be double the number of frames if you just opened the AVI directly.
6. Go to the Video menu and select "Filters". In the dialog that appears, click "Add". Then click on "Field Bob", and OK. Then the "field bob" options dialog appears. You can experiment with these options, and depending on the video material, choose the options that appear the best for you - if you aren't sure, just use "Normal". Click OK to get back to the filters dialog.
7. Again click on "Add" to add another video filter. Select "Resize" and then click OK. Then the "resize" options dialog appears. In the new width field enter "720", and in the new height field enter "576". Then click OK twice to get back to the main virtualdub window.
7a. The video should now be properly sized, and in the output window of virtualdub (the video on the right) the image should have interlacing artifacts removed (no black lines)
8. Go to the File menu and select "Save as AVI". Virtualdub will now create a new AVI file that is 60fps progressive.
8a. Open the new file in a video player - it should now place twice as fast!
9. Drop this new 60p file into your NLE program on a 24fps timeline. I do this in Adobe Premiere. After dropping it in the timeline, right click the video clip and select "Speed/Duration". In the dialog, set "Speed" to 40%. I also had to right-click the clip and select "Field Options", and then uncheck "Frame Blend Speed Changes" for the final movie to appear smooth.
10. Export your movie from the NLE, and run it in your media player. You should have SMOOTH slow motion - no jerky, stroby motion - but it will be at a lower resolution, but it may not be noticable unless it is side-by-side with non-interlaced footage.
10a. This can also be done in a 30fps timeline. Just change your speed to 50% instead of 40% in your NLE.
There are a TON of variations to this process. Probably a lot of them will produce slightly-better results. Experiment! See what you come up with. Post suggestions here! Please only on-topic to this method.
Comments? Are screenshots necessary? Something need better explanation?
Abstract:
This method will take 60fps interlaced footage and turn it into 60fps progressive footage, turning fields into frames in the process, for use in a 24fps timeline to achieve fluid 40% slow-motion.
Theory:
The DVX allows for recording video at 60 fields per second (called 60i or 60fps interlaced). What this means is that it actually captures 60 fields per second to tape, but each "field" consists of half a frame. Each field is missing every other horizontal line of resolution. We can however "fill-in" the missing information by taking "guesses" at to what should go in these lines by examining the lines of resolution that do exist, and this creates 60 full-frames per second. There are many methods of guessing how to fill in the missing lines of resolution - some better than others - but all will result in some loss of resolution from true 30fps progressive recording (which captures only at 30fps, but captures a full frame, not fields). So we lose a little image quality, but we get video that is 60 frames per second, which is full-frame double-speed video. We can then slow down this footage to get perfectly smooth 40% slow-motion in a 24fps video (40% of original speed - so this is slighly slower than half-speed!). No jerky, stroby slow-motion video - if done right it looks great!!
Tools needed:
Virtualdub - www.virtualdub.org
Avisynth - www.avisynth.org
DV Codec - many available - do a google search. Here is a link for the panasonic DV codec - http://www.free-codecs.com/Panasonic_DV_Codec_download.htm
Instructions
(note, there are some sub-bullets, like "5a", as intermediate steps to verify that you have done all the previous steps correctly)
1. Shoot your footage in 60i (interlaced) mode on your camera.
2. Capture the video to your computer using your normal method. Additionally virtualdub can capture video, but I haven't tested it (I used Adobe Premiere to capture). I named the captured file "60interlaced.avi"
3. Install all software - virtualdub, avisynth, DV codec. The DV codec can be usually installed by right-clicking on an ".inf" included with the codec and selecting "Install". Sometimes you have to double click on a ".reg" file, and then copy the DLL file to c:\windows\system32
4. In the directory that you saved your captured file, create a text file called "script.avs". In that file place the following lines:
AVISource("60interlaced.avi")
separatefields
5. Open virtualdub. Go to the File menu, then select "Open video file". Open the "script.avs" file created earlier. You should see your video in the virtualdub window. There are two video windows in virtualdub - the left is the source video, and the right is the output video.
5a. To verify that you have a 60fps file, go to the File menu and select "File Information". The framerate should be 60fps (or 59.xxx). And the number of frames should be double the number of frames if you just opened the AVI directly.
6. Go to the Video menu and select "Filters". In the dialog that appears, click "Add". Then click on "Field Bob", and OK. Then the "field bob" options dialog appears. You can experiment with these options, and depending on the video material, choose the options that appear the best for you - if you aren't sure, just use "Normal". Click OK to get back to the filters dialog.
7. Again click on "Add" to add another video filter. Select "Resize" and then click OK. Then the "resize" options dialog appears. In the new width field enter "720", and in the new height field enter "576". Then click OK twice to get back to the main virtualdub window.
7a. The video should now be properly sized, and in the output window of virtualdub (the video on the right) the image should have interlacing artifacts removed (no black lines)
8. Go to the File menu and select "Save as AVI". Virtualdub will now create a new AVI file that is 60fps progressive.
8a. Open the new file in a video player - it should now place twice as fast!
9. Drop this new 60p file into your NLE program on a 24fps timeline. I do this in Adobe Premiere. After dropping it in the timeline, right click the video clip and select "Speed/Duration". In the dialog, set "Speed" to 40%. I also had to right-click the clip and select "Field Options", and then uncheck "Frame Blend Speed Changes" for the final movie to appear smooth.
10. Export your movie from the NLE, and run it in your media player. You should have SMOOTH slow motion - no jerky, stroby motion - but it will be at a lower resolution, but it may not be noticable unless it is side-by-side with non-interlaced footage.
10a. This can also be done in a 30fps timeline. Just change your speed to 50% instead of 40% in your NLE.
There are a TON of variations to this process. Probably a lot of them will produce slightly-better results. Experiment! See what you come up with. Post suggestions here! Please only on-topic to this method.
Comments? Are screenshots necessary? Something need better explanation?