Friday, May 22, 2009

Skip every other frame with mencoder

Recently I sped up a video by dropping every other frame. Here's how to do it with mencoder: multiply the original video's framerate by 2, then specify the same fps as the original for the output fps. So mencoder starts by "playing" the original video at 2x speed, then has to drop every other frame to work with the "lower" frame rate:

mencoder -fps 60 -ofps 30 -ovc lavc -oac copy in.avi -o out.avi


bathmate said...

it really very good.
I love it !
I like it !
thanks :)- .


Marcel Pol said...

Thanks, I searched for this. It's so simple in the end, but hard to just figure out.