====== Deinterlacing ======
* [[https://github.com/kfrn/ffmpeg-things/blob/master/deinterlacing.md]]
* [[https://100fps.com/]]
==== HandBrake ====
* [[HandBrake]]
* [[https://handbrake.fr/docs/en/latest/cli/command-line-reference.html|HandBrake Command Line Reference]]
I use ''bob'' video filter to deinterlace the video. On [[Jellyfin]] there is horrible stutter if I don't set the framerate. Since it is sometimes sending half a field as a frame anyway, I go ahead and double it for everything.
Note that passing ''--bwdif'' and ''--bwdif=bob'' will use different "modes". HandBrake documentation doesn't explain what the difference is, but setting ''bob'' directly has worked on all my content, so I use it by default.
HandBrakeCLI -i /dev/sr0 --bwdif=bob -cfr -r 59.94 -o dvd_track.mkv
==== ffmpeg ====
* [[https://ffmpeg.org/ffmpeg-filters.html#bwdif-1|ffmpeg bwdif video filter documentation]]
* [[https://ffmpeg.org/ffmpeg-filters.html#yadif-1|ffmpeg yadif video filter documentation]]
* [[https://ffmpeg.org/ffmpeg-filters.html#estdif|ffmpeg estdif video filter documentation]]
When using [[ffmpeg]] to rip and deinterlace DVDs, I prefer the ''bwdif'' filter. It's fast, and includes what ''yadif'' does. I've never had any problems with it.
Version 7.1 supports accessing DVDs directly using ''dvdvideo'' protocol.
ffmpeg -f 'dvdvideo' -i '/dev/sr0' -vf 'bwdif' 'dvd_track.mkv'