# HG changeset patch # User rfelker # Date 1071118062 0 # Node ID ecaf7047b6e8ed0a5088ea05314a867005b31cd3 # Parent f6e35cdf18183ba164ab338fe1f1840bc2c1f2dd Patch from the author, Zoltan Hidvegi: The filmdint filter does not handle NTSC "telecined" 15fps movies where there is a frame break in the middle of every second NTSC frame, it outputs only 15 frames for every 30 input frames, ignoring the io option. You can notice this during encoding such a sequence you will have lots of diplicate frames / skip frames messages. The patch below fixes this. diff -r f6e35cdf1818 -r ecaf7047b6e8 libmpcodecs/vf_filmdint.c --- a/libmpcodecs/vf_filmdint.c Wed Dec 10 21:42:21 2003 +0000 +++ b/libmpcodecs/vf_filmdint.c Thu Dec 11 04:47:42 2003 +0000 @@ -1239,7 +1239,10 @@ } else { if (p->notout >= p->num_fields) dropped_fields += p->num_fields + 2 - breaks; - if (breaks == 2 && p->iosync > -3*p->in_inc) + if (breaks == 1) { + if (p->iosync >= 4*p->in_inc) + show_fields = 6; + } else if (p->iosync > -3*p->in_inc) show_fields = 3; /* odd+even */ } break;