Yes, that's exactly my point. You won't use the same ffmpeg command to convert a full hd wmv than you'd use to convert a 640x480 avi. That's why i created the DB like
filename | input_type | input_resolution | input_aspectratio
Then i grouped them like wmv-1920, wmv-1280, wmv-640-to-720 and then created the commands creating the best results (maybe a 1280 mp4 for all videos >= 1280 and a 640 mp4 for all videos regardless of the resolution, as a single/first for the small ones, and as a secondary low quality for the HD files). Also you've to check if the input is 4:3, 16:9, 2,35:1, etc. and maybe add bars on the top or side (if you need the final video to have a specific resolution).
|