22. Editing: Setting up a Video Project & Exporting Your Video

Moderator: Niotex

Locked
User avatar
Guides
Joined: Fri Oct 13, 2023 7:03 pm
Org Profile

22. Editing: Setting up a Video Project & Exporting Your Video

Post by Guides » Tue May 28, 2024 7:46 pm

A&E's Technical Guides to All Things Audio and Video
22. Editing: Setting up a Video Project & Exporting Your Video
Previous | Index | Next
August 2010

User avatar
Guides
Joined: Fri Oct 13, 2023 7:03 pm
Org Profile

Post by Guides » Tue May 28, 2024 7:46 pm

Setting up a Video Project

Now that you have all your sources prepared, you need to set up a video project. Each program has a different set of options but many of the settings will be similar from program to program.

Before you dive into setting things up you need to make a note of the properties of your sources. We have gone through a lot of preparation stages to get here, so it's worth summarising what you have.


Video Format


This is the basic stuff. Firstly there are the standards NTSC, PAL and NTSC FILM. You should have an idea which one of these your footage is by now.

Then we have the file format standards. Most of you will be editing using Video for Windows. This is sometimes described as Microsoft AVI. DV users, however, will probably be using a special DV profile in their video editor unless they are editing using a Video for Windows DV codec with the DV footage contained in an avi file.


Video Properties


Hoipefully you should know the various properties of your video by now--the resolution, pixel aspect ratio, framerate, all that good stuff. You pretty much just make sure the project settings in your editing program line up with these. One important thing to note is that most editing software has a setting for field order. Since we have made our footage progressive, then you want to make sure that you set it to "no fields" or "progressive" in your application. Otherwise your software might introduce new interlacing into your footage when you insert special effects.


Audio Properties


This will depend on how you sourced your audio:

Wav files ripped from CD:
These should always be 44,100Hz 16bit stereo uncompressed audio.

Wav files decoded from DVDs:
These are likely to be (but are not always) 48,000Hz 16bit stereo uncompressed audio

Wav file converted or captured from an alternate source:
These can have any properties. However, you should make sure that the wav file is uncompressed and make a note of the Sample Rate, Bit Depth and Stereo Channels of your audio. You can find simple info like this in any wave editor or winamp.


So those are the main things you will need to know for before editing your project. Because there is so much different editing software out there, and it keeps changing as new versions get released, it's not really worth going through the trouble of showing how to set things up for specific programs. It shouldn't be too difficult, but if you have trouble, feel free to ask about it on the forums.

I will specifically mention some tips for those of you using Windows Movie Maker though. It would be best if you make your footage 29.97fps and make it fit in a 640x480 frame. If you have widescreen footage then you will want to letterbox. This only applies to those using WMM.

User avatar
Guides
Joined: Fri Oct 13, 2023 7:03 pm
Org Profile

Post by Guides » Tue May 28, 2024 7:46 pm

(edit your video here)

User avatar
Guides
Joined: Fri Oct 13, 2023 7:03 pm
Org Profile

Post by Guides » Tue May 28, 2024 7:46 pm

Exporting Your Video


It's not possible to have explicit exporting settings detailed for every single video editing application on the market, but just like with setting up your application, it should be fairly simple. Here are a couple rules of thumb:

1) Keep your export settings as similar to the project settings as possible.

2) Don't try to compress a distribution copy of your amv from your editing program!
You should export only a LOSSLESS, full quality version of your video. This means you should either use a lossless codec such as UtVideo, or export uncompressed. Some software, such as Premiere, has problems with exporting as anything other than uncompressed. You should also export your audio as a seperate wav file, if possible. Compressing your AMV is a seperate step that will be covered very soon in later pages of this guide.

Those two steps are really the only major things that you need to watch out for. Now, if you are unfortunate enough to be using Windows Movie Maker, it is different enough to require it's own guide:

Windows Movie Maker 2

Otherwise, if you are having trouble, just come and ask on the forums.

User avatar
Guides
Joined: Fri Oct 13, 2023 7:03 pm
Org Profile

Post by Guides » Tue May 28, 2024 7:47 pm

Exporting Video from Windows Movie Maker 2
Spoiler :
Again the limitations of Windows Movie Maker 2 present themselves in their export modes. If WMM2 would allow Video for Window exporting then all would be good in the world. However, this is not the case, so we have to make do with what sparse choices we have.

To export you movie from Windows Movie Maker 2, you need to use the Save Movie Wizard. One thing which is very very important, as I've seen this happen before, is that you need to make a video. The project file that you save when making the video is useless to anyone but yourself. I've seen movie maker project files being hosted on the org by people who didn't upload the right file. Please use the Save Movie Wizard.

When you do, you will first be asked the name of the file and the location to save. Put in something appropriate.

You will eventually get to a page that looks like this where you should choose Other Settings:
Image

The Export Options


There are only two options you would ever want to choose and there is only one option I recommend.

The bad option:
You can choose to export "Video for local playback (2.1 Mbps NTSC)" to make the best .wmv encode that Windows Movie Maker 2 can export. This, in my opinion, is totally sub standard, however, and should only be touched if you really don't care how it turns out as long as people can see it.


The better option:

Choose DV-AVI (NTSC) [or DV-AVI (PAL) if you are editing PAL.]

This will output a DV file. It is lossy, you will lose some quality, so not as good an export option as Huffyuv is in other programs but this is the best WMV2 can do, so you should always use this option if you can.

DV is much bigger than the standard wmv file so you'll need a gig or so for your whole video.

HOWEVER, DV exporting is not in any way perfect with wmm2. It seems that some video filters (such as speedup filters) will not be applied correctly if you export DV and this could severely mess up your video. If this happens, then you may have to just try and use a high quality WMV option :(


Using the DV file:

Microsoft DV is an ok codec, but it has its drawbacks. One of them is that it is a Direct Show codec, which means it cannot be loaded into virtualdub. However, it can be loaded into AVIsynth.

So, in order to make our lives infinitely more simple we are going to do three things:

1)
Make an AVIsynth script file to import the video

2)
Make a Lagarith master of the video, for easier compatibility and stability

3)
Export a wav of the audio stream.

To import DirectShow footage into an avisynth file, use this command:

DirectShowSource("C:\AMVExport\yourDVexport.avi",29.97)

Obviously, you need to change 29.97 to 25 if you have made a PAL DV file.


Saving the video stream:


To make a copy that is easier to use than this DV file, open up VirtualDub and go to the Video menu and choose Fast Recompress. Next select Compression... and choose Lagarith from the list of codecs. When you have that selected then click the Configure button to set up the codec settings.


For the settings uncheck "Enable Null Frames" and set the Mode to YV12.

Now in the File menu choose Save as... (F7)

As usual, choose an appropriate file name, and click save to make your file. This may be a couple gigabytes so make sure you have plenty of space on your drive.

This will create a lossless Lagarith avi file for you to work from and the rest of the guides can be followed exactly as they are. One last thing, however, is to make a wav file of your audio stream.


Exporting the Audio


To export an uncompressed wav from VirtualDub, while you still have it open, just go to file, Save Wav. Simple.

That should be all - you will now be able to follow the rest of the guides exactly as they are and gain as good quality as you can get from Windows Movie Maker 2.

User avatar
Guides
Joined: Fri Oct 13, 2023 7:03 pm
Org Profile

Post by Guides » Tue May 28, 2024 7:51 pm

Post Production

User avatar
Guides
Joined: Fri Oct 13, 2023 7:03 pm
Org Profile

Post by Guides » Tue May 28, 2024 7:51 pm

Video Distributions and Post Production


You've exported your video from your editing package. Good. Of course, if you've done things right you will probably have a file that is several gigabytes in size. You are more than likely eager to compress this to something you can use to put online or send to a convention.... but don't be hasty as there are still a lot of things you should do to prepare your footage for distribution.

In order to post-process footage, we are going to return yet again to Avisynth. This is the best post-processing tool around. Now at this point your file should be an avi, and it should either be uncompressed, or compressed with a lossless codec like UtVideo. What you should do is import avi file into an avisynth script with an AVISource command like this:

AVISource("yourexport.avi")

This should show you your video in it's full resolution glory... it looks great, but it still needs work.

The post production options you choose will depend on what type of distribution you want to encode. Most people will want to make two kinds of distribution encode - one for distribution on the internet and another for distribution to conventions.

As most of the differences will be in how you prepare your avs file, you may want to make two avs files - one for the internet distribution and another for the convention one.

Please make sure you read through every step carefully as each step is important if you want to get the right result.

Now, what exactly still needs to be done?

1)
If your video has any interlacing (and it should NOT, if you followed this guide--if interlacing was introduced when you exported your video then you may want to check over your export settings), you need to remove the interlacing now. The exception is if you are going to keep your video interlaced for display on a television, or if you are sending it to a convention that accepts interlaced videos.

2)
If you are going to be encoding your video for online distribution, you may need to do some cropping and resizing, if you didn't already take care of that earlier.

3)
You can sometimes make your video look significantly nicer by cleaning it up some with AVISynth.

4)
Do you need to encode your video for online distribution, or for a convention, or for both? If you are going for online distribution, then you will probably want to encode your video to H.264.

User avatar
Guides
Joined: Fri Oct 13, 2023 7:03 pm
Org Profile

Post by Guides » Sun Jun 30, 2024 9:50 am

A&E's Technical Guides to All Things Audio and Video
22. Editing: Setting up a Video Project & Exporting Your Video
Previous | Index | Next
August 2010

User avatar
Guides
Joined: Fri Oct 13, 2023 7:03 pm
Org Profile

Post by Guides » Wed Jul 03, 2024 9:40 pm

--- End of Guide ---

Locked

Return to “A&E's Technical Guides”