FrameSamplingFilter shows same frame for last 1/2 of frames.
A weird bug that is likely taking place moviepy or ffmpeg.
I ran a movie through FrameSamplingFilter and the last half of the frames were actually the same frame, with different onsets.
When I transcoded the movie clip, the issue went away, leading me to think its a weird issue with the codec.
I think the sense from @qmac is that this is a bug in ffmpeg or moviepy (or reflects the interaction between the two). Will leave it open in case other people run into this, but short of a moviepy fix, there's probably not much we can do.
Yes, and it is worth noting that this issue is completely independent of pliers and the FrameSamplingFilter. This happens when iterating over the frames of the moviepy clip, and seems to be a result of ffmpeg misreading the codec information and moviepy subsequently skipping too many frames as a result of this block of code
@adelavega do you know if this is still a problem?
I'm not sure, it was only an issue with a specific codec. I'll see if I can test on the same file if I can find it...
Looks like it, but not quite as bad. The last 2000 frames were the same out of 20000
Okay, will continue to leave this open. Thanks for checking!