Archive for March, 2010

Create a DVD Tutorial. Part 5

This post begins from from here: Create a DVD tutorial in case you are lost.

In this post series I talk about mastering a DVD from various DVD sources.

In this post I take you through using Virtual Dub, a free video editing package, to crop the video, add fade effects and save out your new video.

Step 4 Virtual Dub (Trim the videos and apply simple video editing)

Here’s where things get interesting. In this step you will get to edit your video using this powerful software. It is quite complex software and there is lots and lots of functions waiting for you. I’d highly advise spending some time playing with this package and explore the features. This guide gives some very basic loading and saving instructions, along with cropping and adding a blended fade to/from black effect. Hopefully this will get you started on your adventure of creating your perfect masterpiece!

Ill break this tutorial down to smaller steps as there is quite a lot to do

  1. Open the application (harder than it sounds)
  2. Open a video
  3. Set a Selection and Crop the video
  4. Add a fade to / from black effect
  5. Set video compression type
  6. Save the edited file

Step 1: Open the application.

Firstly, Download and install VirtualDub from http://www.virtualdub.org/. I found that this package installed the files to the hard drive, but never installed a short cut to the start menu. If you can’t find VirtualDub in the start menu, you’ll have to find the VirtualDub.exe file in the installed folder. To do this, use windows explorer (Press Windows Key + E, or click on the “Computer” Icon on the start menu (“My Computer” for Windows XP). Navigate to the installation directory (Something Like C:\Program files (x86)\Virtual Dub. (Remove the x86 for 32 bit versions of windows) VirtualDub.exe should be in that folder. In my case, I installed the software to C:\DVDEDITING so I could find it easily from the C:\ root folder.

When you open the application, you will be presented with an empty window, with a horizontal scroll bar at the bottom with buttons. This is your default view with the play bar to show your progress through a playing video.

Step 1: locate the VirtualDub.exe application file in your computer if necessary

Step 1: VirtualDub applciation newly opened

Step 2: Open a Video.

Step 2: An opened video showing 2 video screens and horizontal scroll bar at the bottom

Go to File then click Open Video. Then navigate to your AVI videos you created in the previous step You can have one video open at a time. So in my case, I had to do all my editing to one file before saving, and opening the next one.

When you open a video, you will see 2 video boxes appear. These are the pre-edit (left) and post-edit (right) boxes. They show the video before any editing has been done and what the final effect will be. For justnow they will be exactly the same as no editing has been done yet, but you will see the differences after doing the black fade effects later on.

These can be re-sized by clicking on the corner of each frame and dragging to any size or ratio. These boxes are for your own reference and the ratios and sizes on screen have no effect on the final file output.

Have a go at dragging the horizontal scroll bar to navigate through the length of the video. The numbers mark the frame numbers of the video, and you can play/stop using the buttons at the bottom (stop and play are at the bottom left)

Step 3: Set a selection and crop the video.

Amanda sang only for a section of the video so I had to crop out another singer in the video. To do this I marked the video by dropping start and end points, Then I cropped the selection to leave only what I selected.

Step 3 – Making a selection: Set a start point

To drop the Start point, select where you want to begin the crop using the horizontal scroll bar. For extra precision, I used play and stop to get to the exact moment. Click Edit, Set selection start to drop the start point. Alternatively press the HOME button on the keyboard. Moving the Position on the video will reveal the dropped point (black triangle and thin line as shown in the screen shot above) Leave an extra second of video if you can. This will be useful to overlay the fade in effect in the next step.

Step 3 – Making a selection: Set an end point

To drop the End point, select where you want to end using the horizontal scroll bar. In my case, the end point was the end of the video. Click Edit, Set selection end to drop the end point. Or press the END button on the keyboard. As you can see in the screen shot, this will show a bright bar across the horizontal scroll bar. This is your selection.

Step 3 – Crop the selection

Finally to Crop, click Edit, crop to selection. Notice the before and after in the screen shots. The Bright selection bar has dissappeared and the frame numbers across the horizontal scroll bar have decreased. This was our previous selection of video. The rest has been discarded, keeping the part you want.

Well done! Selecting parts of the video is an important step for copying, cutting, pasting and otherwise editing your videos. With these tools you can change the order of videos, trim(crop) and splice in different videos to make a combined video.

Step 4. Fade To / From Black.

After I cropped the video in the previous step, I saw that the video began abruptly with the scene and Amanda was about to sing. When playing this as a DVD track, this would look disjointed, especially if it was playing on from a previous track. What was needed was a Fade in to ease the transition. This means starting with a totally black picture, and blending in the video over a short time (1-2 seconds)

First, use the horizontal scroll bar at the bottom of the window to go to where you want the fade to happen. In my case, I wanted a fade in from the beginning so I went to the very start of the video. If I wanted it at the end, I’d scroll to about 2 seconds from the end of the video.

Step 4 – Fade to/from black: Add the brightness filter

Step 4 – Fade to/from black: Set the [B] to blend

Next add a brightness/contrast filter to your video. To do this, bring up the video filters dialogue box by clicking on Video, Filters (or pressing CTRL+F). Click on the “Add…” button and select “brightness/contrast” in the next dialogue box. Click OK and you will then be asked about details for this filter. Select Brightness to full Black (move the top slider to the far left) and click OK. This means a filter will be applied throughout the whole video making it completely black. However only a small section of the video needs this, so a blend is needed. Click on the “Blend” button at the bottom right. The brightness/contrast Filter entry on the window should now have a [B] shown next to the tick box on the left. This shows that this filter will be Blended.

Step 4 – Fade to/from black: Showing the curve editor on screen

Now the filter is added, it needs to be blended correctly. Pull up the curve window by clicking View, Curve Editor. On the main window a new panel will be shown above the horizontal scroll bar at the bottom. Resize the two video windows if they cover it up.

The red line in the centre represents the currently selected frame using the horizontal scroll bar. You may notice the frame numbers on the Curve Editor window aren’t the same as horizontal scroll bar. In my case (on the picture) I’m at frame 0, the very start of the video at the bottom, but on the curve editor I’m between frames 11060 and 11065. This is because this is the original frame numbers, before I started cropping earlier. This isn’t a problem, just be aware of it.

Step 4 – Fade to/from black: Points on the curve

The next step is to add points into the curve. The curve represents the strength of the filter throughout time. I want a starting fade from black. This means I want to start at 100% strength (completely black) and then gradually lessen the strength so it ends at 0% strength (back to normal video) and keep it that way for the rest of the video. I need 2 points in the curve; a start point and end point. Move the mouse to the red vertical line, hold the left shift button (the mouse pointer icon should change to a mouse with a + icon next to it) then click the left mouse button. Next, move the mouse along about 20 frames worth to the right and drop another point. This will now show a horizontal line connecting both points and the sides of the screen. The line indicates the strength of the filter during the whole video, it just stays the same either side of the points.

The points can be moved about by hovering over them and dragging with the mouse. Make sure the Left point is as high as it will go at the start point of the video (where the red line is). Then ensure the right point is as low as possible 20 frames or so to the right. This provides the blend from black to normal video across those blends.

Step 4 – Fade to/from black: Looking at the output through time. The right video is darker

To see the result, move the horizontal scroll bar position through the start of the video and look at the video screens. The left video should always be the same, but the right one will be different brightness at different frames. You can also see it in action by pressing the play button. You can also use the mouse wheel to scroll, this gives much better precision between frames.

For a video that needs a fade to black at the end, just make sure the markers are at the right place (i.e. at the end) and begins at the bottom, then moves up to the top to make it black

Step 5. Set video compression type

Step 5 – Select the video compression…

The next stage is to specify the output format. This is important because a compressed format is required to have reasonable file sizes. When I first saved, I used uncompressed avi. The output file size for a 15 minute video was over 20 Gigabytes, bigger than a DVD’s size. It might be possible to save a file that size, but I found problems loading it back in again with software later on, so I had to return to this stage to save it as a smaller file.

Bring up the Video Compression dialogue box by clicking on Video, Compression, or press CTRL + P. On the dialogue box, click on “Xvid MPEG-4 Codec” Next click on configure to bring up the controls for this particular selection. There are loads of controls, but for justnow just move the slider control to the far left for “1 (maximum quality)” Click OK on both windows to close.

Step 5 – Options for video compression

There are loads of settings for types of compression, and quality controls within each one. These result in different file sizes and different quality of video. Generally speaking, the lower the quality, the small the file size. For something like a youtube video, you might get away with a low quality because file size is important. For a DVD however, it would need quality. Take the time to find out what quality and settings are good for your purpose.

Step 6. Saving the file

With your new video edits and compression type entered, all thats needed now is to save your work. Click on File, Save as AVI… or press F7 to save your file in the usual way. Save this as a meaningful file name because this will be the file that will be used to build your DVD image. I called mine “Amanda track 1 FINAL.avi”

This is a complex piece of software and it takes a fair amount of work to get the effects you want but there are lots of cool effects to choose from and with enough practise you can master using the program to do exactly what you want. You’ve done well to get this far!

Tags: , , ,

1 Comment

Create a DVD Tutorial. Part 4

This post begins from from here: Create a DVD tutorial in case you are lost.

In this post series I talk about mastering a DVD from various DVD sources.

This post talks about taking the ripped DVD files (VOB files, created in the previous step) and converting them to .AVI format for use in the video editor in the next step

Step 3. ConvertVobToAvi (Convert the DVD files to more usable file formats)

This software (http://www.convertvobtoavi.com/) does exactly as the name says. The file format created using DVD Decrypter in the previous step created a .VOB file. This needs to be converted to .AVI file to be read in the editing application (next step)

After downloading, installing and loading the application, click open in the “Source VOB File” section (at the top of the window) and locate the VOB file that you created earlier for your DVD track.

Next select the output format and ratio size. Select XVID and 4:3 for just now. Notice you could also make different formats (even for PSP) and widescreen (16:9) if you feel like experimenting.

Click Convert. You will then be asked for the destination folder. I put this in C:\TEMP but you can put it on your desktop folder so you dont lose it. After selecting the folder the conversion will begin.

You can see the progression of the file as shown on the bottom screen shot, but I found that it took 3-4 minutes longer after the progression bar had reached the top before the SAVING SUCCESS message popped up.

I did this with all 3 VOB files (the DVD tracks I ripped earlier) to produce 3 AVI files.

My source video was 4:3 and I used XVID because I know its an open-source codec. I would recommend using these as defaults but if your source DVD is widescreen or a different ratio, then you can change to suit.

Tags: , , , ,

1 Comment

Create a DVD Tutorial. Part 3

This post begins from from here: Create a DVD tutorial in case you are lost.

In this post series I talk about mastering a DVD from various DVD sources.

This post talks about using DVD Decryper to rip a DVD’s tracks to the computer.

Step 2 Using DVD Decrypter to rip the tracks.

If you haven’t done so already, download DVD Decrypter (http://www.dvddecrypter.org.uk/) Even though it says that development has stopped, the download file is still available.

To get the selected DVD tracks on to the hard drive, I used this software on each DVD. When I loaded in a DVD, it listed the tracks at the right of the screen with tick boxes to select which tracks and chapters you wanted to copy. A track contains many chapters and its impossible to see how long each chapter is using this software. It is possible to rip by chapter, but because I didnt know which ones to tick, I just selected them all from one track.

The next step is to choose the destination folder. This is shown on the left part of the window (see the picture) and there is a small folder icon to select a folder to save to. In this case I just put it to C:\Temp folder.

The next step is to click the big DVD/Hard drive icon at the bottom left. This starts the program with the settings given. The bottom snapshot shows what the window now looks like. It rips the selected DVD tracks to file. This process takes a few minutes, and at the end you will have files in the C:\Temp folder. These are the ripped dvd videos.

There are lots of settings to be played about with in this program but I found just doing the simple actions of choosing what to rip, where to put it and click to start was all the options I needed for this purpose. If you feel adventureous you could have a look in all the menus and see what tweaks can be done.

Tags: , , ,

No Comments

Create a DVD Tutorial. Part 2

This post begins from from here: Create a DVD tutorial in case you are lost.

In this post series I talk about mastering a DVD from various DVD sources.

This post talks about using VLC to view a DVD.

Step 1. Find what to rip

Amanda and I watched all 3 DVDs to find out what tracks she wanted to have in her own DVD. The following selections were made:

DVD 1, track 2

DVD 2, track 2 from start till 09:21

DVD 3, track 2 from 8:00 until the end.

I used software called VLC to view the DVD on the computer and see what I needed to get. VLC is a freeware media player for Windows and Linux (http://www.videolan.org/vlc/) I’d highly recommend using this as a default media player for anything, as it can handle just about any media file. It also changes the screen ratio size, can do subtitles, multi audio tracks and loads of other things. I prefer this one to others in that its a very small and quick player (much much quicker and smaller than Microsoft’s Windows Media Player) To play a dvd, click media->open disk and select the DVD drive. This will play the menu of the DVD and you can select the options, or use track skip to select the DVD scenes.

The standard play, track change and volume controls are available at the bottom of the window. The time elapsed is also available to find the times to start the video from. I use this as my standard media player, not just for looking at DVDs. Its features, effeciency, compatibility and ease of use is hard to beat.

In the next part I will talk about step 2, ripping the selected tracks to the computer using DVD Decrypter

DVDtutorial 01 VLC

DVDtutorial 01 VLC

Tags: , , ,

No Comments

Create a DVD Tutorial. Part 1

This is a tutorial post about how to create a video DVD on your computer to play in a standard DVD player. I use only free software or shareware, on Windows. There are a lot of steps, but its easy enough to do and I have provided links to all the software I used. In future posts I will also provide step-by-step guides on the usage of each piece of software to get the job done. You dont need to have a degree in computing to do this; if you can log on to a website and read this text, you can help out a friend and create their wedding DVD, without being charged hundreds of pounds for a company to do exactly the same work.

2 years ago my girlfriend Amanda asked me to help her make a DVD of her opera singing. She had 3 DVDs of her in various concerts but she wanted to have one single DVD of just her. This would be her DVD that she can copy and send out to other people as a CV.

I finally got round to doing it a few weeks ago and I’d like to share what I did. I used all free software and shareware. I admit that I am technologically aware (read: geek) but ripping, mastering and burning DVDs was not part of my repertoire so this required some learning to be able to achieve this. If this is something you would like to do, keep reading! It doesn’t matter if you don’t yet know how to do these things or don’t have the right software. If you can read this page right now, and download a podcast (or any other file) to the desktop, you can make a DVD. I’ll provide step by step instructions on how to do it, and all the software you need.

Last summer I attended a wedding of a close friend and he mentioned later on that he was charged a rather obscene amount for someone to video the wedding and create DVDs of the day. The sorts of skills involved in recording and DVD-mastering aren’t impossible to learn (as I found out) it just takes time to learn how to do all the processes. And it considering it can be done on standard PC hardware, its really a no brainer to spend the time learning and doing, its easy, accessible and costs a lot less. The skills you learn can be easily applied again and again. Maybe you could offer to record a friend’s wedding or recital and make distributable DVDs for them.

There are commercial software packages such as Sony Vegas that presumably do everything I needed in one package, but the software costs between £25 – £350 depending on the edition. Besides, I looked upon this as a challenge to get dirty with file formats and converting video streams and hopefully learn a little bit about creating DVDs. I wanted find out exactly what was happening in my computer, down to the files used and what processes were occurring. It turns out that it isn’t really that complex, but it just takes time to discover what you need for each process.

The DVDs I used as input contained no copyright protection, and Amanda holds the copyrights to her own singing. The purpose of these DVDs is to promote Amanda as a professional singer and they would not be sold for any money. With that in mind, I didn’t deal with any copyrighted or copy-protected video so I didn’t use any bypassing of copy-protection. The end DVD was about 30 minutes in length.

This is going to be quite a long post, so Ill break it down to different entries. Think of this one as the overview. Ill go into the specific steps for each program later on.

I’ve mentioned a few applications, they may not be the latest versions, but for me they were light-weight, reasonably easy to use and didn’t cost me a penny. This should allow you to give this a shot without any financial investment. Who knows, you might even enjoy it! At least, you will get a feel for the different applications which you might like. For example, I now use VLC media player and WinRAR as my default applications instead of Windows Media Player or WinZip now. To me they are far faster and have greater functionality. Have fun!

Materials:

Amanda gave me the following source material:

3 standard DVDs containing her singing (about 10 minutes out of 50 minutes in each DVD)

Link to her website with pictures and CV.

Required Output:

The requested goal was to have a final DVD, playable in standard DVD players, using only clips of her from the other DVDs. There should be a scene selector to choose between scenes just like a standard DVD. Finally, if possible, have information pages containing her CV in text and showing a link to her website.

Tools:

These are the software packages in the order that I used. They are all free (with the exception of WinRAR which is a shareware version) and I’ve provided links to download for each one. Most of these I found on source forge website (http://sourceforge.net/) which lists loads of open source applications.

  1. VLC. (Review the content) (http://www.videolan.org/vlc/)

    This free media player plays most major formats, including playing from DVD as well as files on the computer. I used this to review the content on the source DVDs to get the track numbers and times within tracks to use.

  2. DVD Decrypter (Rip the Required DVD content to computer) (http://www.dvddecrypter.org.uk/)

    This software rips the DVD, track at a time, to files on the computer. Using the times and tracks information I collected in the previous step, I copied full tracks on to the computer.

  3. ConvertVobToAvi.com (Convert the DVD files to more usable file formats) (http://www.convertvobtoavi.com/)

    The DVD files needed to be converted to a different format so they could be modified using a video editor package. This package took in the DVD file and coverted to a file format suitable for editing by the next package..

  4. VirtualDub (Trim the videos and apply simple video editing) (http://www.virtualdub.org/)

    I used this package to trim the videos where required, and add fade to black and fade from black effects.

  5. DVDStyler (Create the DVD structure menus and order the videos) (http://www.dvdstyler.de/)

    This software was used to create the final DVD master. The final content was saved as a DVD image file so it could be burned to DVD later. In this I arranged the videos in sequence and created a simple DVD menu system to navigate. This software created the final DVD image in .iso format.

  6. WinRAR (Test the DVD image on computer) (http://www.rarlab.com/)

    The DVD image file could be read within the computer as a DVD. I used this software to extract the single iso file to its DVD files which I sent to the desktop. I then used VLC again to play the files as if it was a DVD. This saved the time of having to burn first.

  7. BwgBurn (Burn the DVD image to a final DVD-R) (http://bwgburn.sourceforge.net/)

    The final stage was to burn the DVD image file to an actual DVD. This could then be played or tested on a real DVD player.

I have Windows Vista on an Intel Quad Core Desktop computer with 2GB of memory and 500Gb free hard drive space. All the software runs on Windows Vista and should be fine with Windows XP and Windows 7. I believe you could get most of the software for Linux as well (if you couldn’t get the exact same applications, there will be equivalent ones available)

It is technically possible to master the DVD image on a netbook with no internal DVD drive (by obtaining the source videos from the internet or from a USB stick) but I wouldnt advise it as the CPUs in netbooks are generally quite slow, it would take much longer to do all the steps. In my opinion netbooks are great for typing and surfing on the move, but thats about it.

There are quite a few stages and complexities to someone who doesn’t know much about video editing. If things like folders, files, video streams, AVIs, MP3s and XVID scare you, then keep reading. This tutorial has been written exactly for you!

The total process time for me took about 2 hours, including the time waited for the computer to actually do the work as well as downloading and installing the software itself. Remember, I started off not knowing how to do most of the things I will mention in this tutorial.

The best way to learn is to experiment with all the different parts. I know however that it can be quite daunting, especially if theres loads of different buttons and don’t seem to have any intuitive process to use them. The next blog entries will include step by step instructions on what I did for each step I mentioned earlier. Why not begin by getting the software and having a play about with it yourself?

Tags: , , , , , , ,

1 Comment