[FFmpeg-user] Trying to remember how I did this.....

Laine llee040 at sbcglobal.net
Wed Oct 4 11:43:16 EEST 2023

> On Oct 4, 2023, at 2:34 AM, Mark Dm <markosjal at gmail.com> wrote:
> Its NOT Telecine. It is Digital Video 8 video at 27.97 FPS
> I am looking specifically for the setting that derives the 59.94FPS from
> the 27.97 FPS source with such beauty and without deinterlace.

Oh, you mean 29.97 FPS? If you still have any of the transcoding output from before, it’s easy to verify that it wasn't telecine also by stepping through frame by frame. If you keep the 29.97 frame rate when transcoding telecine, you’ll normally get every 4th progressive frame duplicated. I say that because only a very small relative number of NTSC DVDs I’ve transcoded have been "not telecine". Transcoding telecine without pullup normally looks fine until you see a passage of slow, smooth horizontal panning. Then it’s like getting slapped in the face 6 times per second. But only you know what you have. You can specify your frame rate without pullup, I think, with something like "-r 59.94”. I’m sure you'd wan’t to adapt for your hardware for speed, but I’ve successfully upscaled progressive 29.97 FPS video with:

ffmpeg -i input.ts -vf scale=-1:1440:flags=neighbor -r 59.94 -c:v libx264 -preset slow -crf 18  -b:v 2600k output.mp4

For my hardware (Mac Silicon), I dressed it up a little:

ffmpeg -analyzeduration 100M -probesize 100M -loglevel error -stats -i  input.ts -map 0:0 -filter:v scale=-1:1440:flags=neighbor -c:v h264_videotoolbox -b:v 2600k -color_primaries:v bt709 -color_trc:v bt709 -colorspace:v bt709 -metadata:s:v title= -disposition:v default -map 0:1 -c:a:0 copy -metadata:s:a:0 title= -disposition:a:0 default -sn -metadata:g title= -movflags disable_chpl output.mp4

L. Lee

More information about the ffmpeg-user mailing list