[FFmpeg-user] telecine pattern 5555 - Judder-free, 60 FPS telecine (?)

Mark Filipak markfilipak.windows+ffmpeg at gmail.com
Sat Apr 11 16:05:39 EEST 2020

On 04/11/2020 08:05 AM, Carl Eugen Hoyos wrote:
> Am Di., 31. März 2020 um 19:53 Uhr schrieb Mark Filipak
> <markfilipak.windows+ffmpeg at gmail.com>:
> Mark:
> Since dbc5c0c1, you can use the following filter chain:
> fps=24000/1001,setparams=field_mode=prog,telecine=pattern=5,yadif=deint=interlaced
> For everybody else: All developers seem to agree that this will not
> help as expected,
> please use with care.

Thanks, Carl Eugen. Actually, for my test animation, I don't see any difference between this:
and this:
'telecine=pattern=5' (with no further filtering).

I've investigated maybe a dozen different approaches to decombing the combed frames. I'm currently 
testing 'smartblur=luma_radius=2' in this:
ffmpeg -i IN -filter_complex "%TELECINE%,%PSELECT%,%CSELECT%,%INTERLEAVE%" %ENCODE% OUT
   TELECINE = telecine=pattern=5,split[A][B]
    CFRAMES = bitor(eq(mod(n+1\,10)\,3)\,eq(mod(n+1\,10)\,8))
    PSELECT = [A]select='not(%CFRAMES%)'[C]
    CSELECT = [B]select='%CFRAMES%',smartblur=luma_radius=2[D]
INTERLEAVE = [C][D]interleave
     ENCODE = -map 0 -c:v libx264 -crf 20 -c:a copy -c:s copy

'smartblur=luma_radius=2' applied solely to the combed frames (CFRAMES), looks pretty good for an 
animation, but I need to lower the luma of the even field lines by about 30%. If you can give me a 
clue how to do that, I'd be very grateful because digging it out on my own would take hours.

After that, I'll test 'smartblur=luma_radius=2' with a variety of movies. I have several that are 
excellent telecine judder examples: particular parts of "2001, A Space Odyssey", "Blackhat", and 
"Once Upon A Time In America".


More information about the ffmpeg-user mailing list