I shot several videos during our family trip to Universal Studio Singapore and Legoland on my D7000. Nikon D7000 saves video on MOV format file, but I would like to keep them as MP4 files to match our smartphones videos from Note 2 and LG G2.
Here is how I converted Nikon D7000 MOV to MP4 on my Ubuntu 15.04:
apt-get install ffmpeg ffmpeg -i DSC_2041.MOV -vcodec libx264 -strict -2 -pix_fmt yuv420p result.mp4
Once I knew that it worked, result.mp4 was playable and looked alright, then I did it in batch:
find . -type f -name '*.MOV' -exec ffmpeg -i {} -vcodec libx264 -strict -2 -pix_fmt yuv420p {}.mp4 \;
I may have installed something else prior to installing ffmpeg, I don’t remember if any, so I guess next time just make sure that you can install ffmpeg and probably read the error messages if error occurred during conversion, such as missing libraries or unknown formats.
I’m old. I tend to forget things already ^^. This type of task is easy to do and searchable, you can Google them and you will get so many references. But I guess it would be easier when you can find them in your own notebook.
That is all.
I usually use Handbrake. Much easier.