Not sure this is the right forum - please move it if not
I have a JVC camcorder and I want to essentially archive/reformat the videos from it so they’re safe & useable.
The camera records onto SD card. Every time you press the record button it creates two new files a .MOD file with the video & a .MOI with info in it. The files are named 001.MOD/001.MOI up to 00F.MOD/00F.MOI (hexadecimal). The MOD files are mpeg video+audio which I believe are DVD standard, possibly.
I found sdcopy.py (http://m0sia.ru/files/sdcopy.py) which copies the .MOD files to yyyy-mm-dd hh:mm.MPG by reading the .MOI files, I modded it a bit to cover the fact that two video files could have the same date & time to the minute (two 20 second clips both recorded on the same date at 10:50am for eg).
The camcorder records in 16:9, but when I play the files (.MOD or the .MPG) in a computer video player, it plays them at 4:3 (looks squished) & I need to tell the player the aspect ratio manually.
What I want to do is transcode all these short clips into one video file (one per month or per ‘event’ eg birthday) that I can play on the computer & maybe burn some to DVD.
I’d like the transcoded clips to be played in order by date & time, play at the correct aspect ratio, and not lose too much information in the process.
I’ve tried so far:
#concat all files for Oct 2011 to one mpg file
mencoder -forceidx -oac copy -ovc copy 2011-10-* -o 2011-10.mpg
#transcode that to an avi, and tell it the aspect ratio
ffmpeg -i 2011-10.mpg -sameq -aspect 16:9 2011-09.avi
Seems OK at first, but upon inspection the avi is out of sync: the audio leads the video by ~20 seconds!! and there are big square artifacts in the video.
I tried correcting the audio by
mencoder 2011-10.avi -oac copy -ovc copy -delay -20 -o 2011-10_fixed.avi
Sync is better after that, but the duration of the movie is now 20 seconds shorter. Am I losing video?
Does anyone have a better idea of how to do this? Am I making it too complicated? What I want is to just have fewer video files by joining ones that go together, and then keep them in a decent enough format that I can watch them again in 30 years. The last is important to me because most of them are of the first two years of my son’s life. Do not want to jeff them up!
Any suggestions are really appreciated!
Any suggestions for a good place to keep all these videos safe from fire/theft/hard drive failure/optical disc degradation etc for a long time also appreciated!