The Open Code Project

Making DVDs from JVC Everio MOD files using Ubuntu, WinFF, Avidemux, and DeVeDe

August 24th,2009 by Allan Bogh

I purchased the JVC Everio hard disk camcorder with the intention of quickly copying the movie files from it and burning them to a DVD. Since I use Ubuntu and since the camera automatically detected as a USB hard drive, I did not install the supplied software, opting for open source applications instead.

The JVC Everio is a nice little video camera which has good video quality and a deep digital zoom. The camera records the video to an internal hard drive offering up to 70 hours of recording, or about 7 at high quality (60GB model). This is interesting because the battery only lasts for 1 hour 20 minutes, but that's easy to work with.

The camera stores individual videos whenever the record button is pressed to record and then pressed again to stop. The next video file is created when the record button is pressed again. The files are stored in MOD format with MPEG-2 PS compression and Dolby Digital 2 channel audio.

After connecting the camera to the computer with a USB cord, the MOD files must be copied off the camera. After copying the files from the camera you can disconnect it and erase the files (or erase them after everything is finished).

Using WinFF (in Synaptic install WinFF , linux-restricted-modules and ubuntu-restricted-extras for MPEG -2 compatibility) press the Add button to select the MOD files you want to convert to MPG. In the Ouput Details section select "DVD", or whatever works for you, then select NTSC DVD HQ (16:9) for the Device Preset. This will produce a file that is nearly 100% of the original quality. Choose an output folder that's different from the folder where you MOD files are located (this can be a subfolder).

For the additional options section, you only need to modify the Video Settings tab. Modify your video size to 720x480 so that your TV can display it properly (you can also choose 1920x1080 if you have the HD version). Set your aspect ratio at 16:9, unless you've set your camera to 4:3 using the camera menu system.

Check 2 pass for better quality images during fast motion sequences (this slows down conversion but improves overall quality). Also check Deinterlace to make the video appear normal. You can deinterlace the video now or by using DeVeDe later.

WinFF settings for the JVC Everio

Once these files have been converted to MPG files and placed in your new directory you can remove the MOD files from your computer. Alternatively, keep them for a while until you complete the process.

Your converted folder will now list the movies as MOV001.mpg though MOVFFF.mpg. In order to quickly import these files to Avidemux so it can join them together, they must be in numerical order using the decimal system, not hexadecimal notation.

The following script will rename all files in the folder that start with MOV and end with the .mpg extension. This will rename the files to the decimal equivalent so that they can be easily imported to Avidemux. Make sure that this script is contained within the converted video folder.
 

#!/bin/bash

for file in `ls *.mpg`
do
    number=${file#*V}    #last 3 should be "000-fff"
    number=${number%.*}
    number=`echo "ibase=16;obase=A;${number}" | bc`
    echo "Converting ${file} to MOV${number}.mpg"
    mv -f ${file} "MOV${number}.mpg"
done

#for renumbering the new files for easy
#avidemux processing
#the following numbers the files 1-n
#pardon the weird coding method, it's a hack job
currNum=1
for file in `ls -v *.mpg`
do     
    tempNum=$currNum
    if [ "$tempNum" -lt 10 ]; then
        tempNum=`echo 000${tempNum}`
    elif [ "$tempNum" -lt 100 ];	then
        tempNum=`echo 00${tempNum}`
    elif [ "$tempNum" -lt 1000 ];	then
        tempNum=`echo 0${tempNum}`
    fi
    echo "Converting ${file} to MOV_${tempNum}.mpg"    
    mv -f ${file} "MOV_${tempNum}.mpg"
    currNum=`echo $((currNum+1))`
done


Again, make sure this script is in the converted video folder. You can execute it by typing:
 

~/Videos/Video Camera/Converted$ sh EverioNamesHexToDec.sh


Now that the files are in numerical order using the decimal system, you can import them into Avidemux.

Open Avidemux and click the Open button. Select the first file in your series (probably called MOV1.mpg now). A popup will ask you if you would like to index it. Press Yes for indexing. A new dialog will ask you to import the other files. Press Yes to import all files.

Using Avidemux you can add some special effects and perform some video surgery, but I just want to export the merged video to a new MPEG file. If you really want to tweak the video compression then you can play around with the Video, Audio, and Format settings in the left-hand column. I chose to set the Video and Audio to Copy and AVI for the format. To save the video press File > Save > Save Video (Ctrl-s). Type in a filename, like "MyVideo.mpg" and press save.

Avidemux settings for the JVC Everio imported files

Now that you have the final version of the merged MPEG you can write it to a disk. In order to do this you can use DeVeDe. When you open DeVeDe select the "Video DVD" option. This brings up a disk structure window. The following pictures illustrate how I would make my DVD file.

Press the Add button on the Structure window.

DeVeDe structure window

Select your video file and expand the Advanced options menu. Click the Video format tab and choose 16:9 for the correct aspect ratio.

DeVeDe file properties

In the Video options tab select "Scale picture" to eliminate the black lines. This will allow HDTVs to show the video at full screen. This step is kind of optional since you've already selected the 16:9 aspect ratio, but it's better to be safe.

DeVeDe file properties video options

In the Audio tab select the "Create DVD with 5.1 channel sound" option. This will give your 2.1 dolby digital video the effect of having 5.1 channels. You can play around with this, but it seems to make the audio clear on TVs with and without sound systems.

DeVeDe file properties audio

Press OK to save your options and return to the structure window.

In your Titles section you can rename the title of the video. This title will be displayed if you choose to show the DVD menu. If you don't want the DVD menu to display then click the "Menu options" button and select the "Jump to the first title at startup" option.

In the Advanced options for the disc structure window, select "Create an ISO or BIN/CUE image, ready to burn to a disc". Then click the Forward button. A new folder will be created with the name you choose in the next window. This is where some temporary files will be made and finally the ISO file to write to the disk.

When the ISO file is created and DeVeDe is finished you can right-click on the ISO and select the Write to disk option.

Comments (5)


2009-08-22 15:45:03dave wickett
mate i just want to say a big thank you i have a jvc gz-mg334hek & have been looking for something to play & convert mod files with no luck till i come across this website i downloaded Aiseesoft Total Video Converter for windows that does the same but no where near as good i did not want to use windows as i do not like it so to have this on ubuntu is wicked & its all so simple & easy to follow what you have put so a big thank you again.
dave

2009-11-12 17:38:20sdfsf
Software that may help you a lot on video conversions is MOD to DVD Converter for Mac (http://www.aimersoft-mac.com/articles/how-to-convert-mod-to-dvd-on-mac.html), which can easily convert JVC .MOD files to DVD on Mac without losing quality.

2009-12-17 03:01:37KAS
HELLO, I have tried to burn dvd on my computer, and that was absolutely impossible!
I have just found this web, and I can see that sb.had the same problem as me!
I dont know anything about comp.and etc.so can you simply tell me how to transfer movies from my camcorder to my computer and then burn dvd.What cable do I need?is it USB.
I completely dont know what to do, but the software from jvc is useless!
I would appreciate it if You could help me.
thanks kas

2009-12-22 20:51:54Allan Bogh - http://www.opencodeproject.com
You will need a cable with a mini-B USB connection on one end and a standard type A USB plug on the other end. This cable is the same as the power cable for Playstation remotes, digital cameras, and some phones. If you have a digital camera lying around then you might also have one of these cables. In this picture you will need a cable with the second from the left and the last on the right connectors.

2009-12-27 21:13:09Joel - http://www.joel-llamaduck.blogspot.com/
Thanks! This is awesome. I just got a JVC camera for christmas and I love it. Now I love it even more. Thanks!

:

:

:


: formatting help
Close

Formatting instructions:

You can use <a> tags but everything else will be stripped and your comment will look funny.

I swear, don't use html except the <a> tag or else some random star will supernova. Remember, we have a star right next to us, so don't try it.

This isn't bbcode either so don't use it. That is all.