I have a lot of video files of my family. I'am on Windows and the video formats are different:
Video files:
DVD directories contain:
Files in DVD directories were recorded with a DVD recorder and then copied from the DVD to my computer hard disk.
Let say the above directory D:\ffmpeg
is my work directory for ffmpeg
. Which means all video files are stored there.
My wish is to convert each file to mp4
and mkv
(for test purpose). For example the input file test.avi
should give two output files test.mp4
and test.mkv
. The output files should have the same properties as the input files. Important for me are screen size, aspect ratio and frame rate. Video and audio quality should stay nearly the same, so that the difference is imperceptible. The audio codec should only fullfill the audio quality an can be for example aac
, mp3
, flac
or vorbis
. I don't know if ffmpeg
can take the audio/video quality (kb per s) settings from the source files for the output files. The video codec should be h.265
, if even possible. The menus of DVD (if present) files should be dropped and the DVD source files should be merged to one output file.
Till now I never worked with ffmpeg
. I only read about current common audio/video codecs and video file formats. Why I wish to go this way? Many gui video editing programs are overloaded and expensive. Free gui programs maybe can't do such things. The important thing is with options of ffmpeg
I have the full control of what will be done.
By the way all deletable metadata in the output files should be deleted.
So, now I downloaded the ffmpeg
binary from here, copied it to the above directory and need to type something like this:
ffmpeg [--option1 ... --optionN] [source files list in the current directory] [output files list]
Is it possible to solve my task with only one run? If not, I naturally welcome a solution for each file format or something different, if it make more sense. You are naturally free to suggest other useful option settings for ffmpeg
, if it would help in general to solve this task.
I hope I described the task clear enough. If not, let me know it.
Please don't answer with "Read the ffmpeg
manual"
or "Use the program xyz
instead".
Thank you for your help and effort in advance!
ffmpeg
. Why? Because I didn't have any experience in this area. I know thatffmpeg
is very wide used and that ist the reason for my decision. I hoped to reseive an answer (for this for me very important task, because I have a lot of valuable videos of my family and friends, which now consume a lot of hard disk memory and are outdated formats/codecs/containers) which I can study (all the options and the command line using). The main difficulty for me is I don't know which options I have to use for which video format.