2023-08-27, 11:22 PM
(2023-08-27, 10:50 PM)bitmap Wrote: All I did here was add de-interlacing with yadif; the recommended mode is 1, which is "send field" and will double the framerate for content. This can be problematic for films, so you can run mode 0 (which is one frame only and should preserve framerate). You can also try the auto leveling filter if you're interested, but I've never played with it before and my understanding is that what it does is just stretch luminance levels in the input media. Some folks also recommend decomb when ripping DVDs (which is how Handbrake generally recommends doing deinterlacing).
Thanks a bunch! I will probably add more options and rework it a bit. After tonight, I'm off the rest of the week so I'll have plenty of time.
1) Instead of reading the current directory from within the script, require the file name be passed in. Allows for something like a find command to work through a nested folder structure and to place the output within that nested folder structure.
2) Add logic to switch deinterlacing on and off. Probably based on the output from ffprobe.
3) Get dynamic cropping working.