If you got to this thread, then you probably already know that there is a problem with the JVC Everio. The files are being saved in the .mod format, which is apparently some variation of MPEG2. Nevertheless, in my case, I just changing the file's suffix into .mpeg didn't do the trick. I still got the interlace!
When opening a .mod file using KINO, the software automatically converted the file into .DV file. Here there was no interlace, but the file size doubled itself.
If a .dv file is needed the, I found that using ffmpeg one can easily convert the .mod into .dv:
But this wasn't the right solution for me. I don't need high quality videos, and I was happy with the default results of the JVC. If only I could get rid of the interlace.
ffmpeg -i inputfile.mod -deinterlace -target dv outputfile.dv
After many attempts, I came out with the following code, aiming at converting the .mod files into .mpeg files:
This was satisfying! Nice video/sound quality. BUT, when I uploaded it to YOUTUBE, there was no sound.
ffmpeg -i inputfile.mod -deinterlace -acodec ac3 -ab 384k -b 8900k -s 720x576 -f mpeg outputfile.mpeg
The final version of conversion that I came out with, at least up until now, is:
This conversion maintain a good video/sound quality, and when uploading to YOUTUBE everything is smooth.
ffmpeg -i inputfile.mod -deinterlace -ab 384 -b 8900k -s 720x576 -f mpeg outputfile.mpeg
The last step, with some help of my friend Tobias P. was to automate the procedure. For that Tobias wrote the following Python script:
I have located the file in ~/.gnome2/nautilus-scripts and linked it to /usr/bin; thus I have it in the context menu of nautilus. In addition, this script, enables a batch conversion of the form:
# -*- coding: utf-8 -*-
for infile in sys.argv[1:]:
outfile = os.path.splitext(infile)+".mpeg"
cmd = 'ffmpeg -i "%s" -deinterlace -ab 384k -b 8900k -s 720x576 -f mpeg "%s"' % (infile, outfile)
print "usage: %s FILENAME" % sys.argv
A the moment, this is the solution I am using. If you find it useful - then the pleasure is mine. In case you have some comments, ideas or improvements, I will be happy to know them.