Log in

View Full Version : Transcoding and instant seek


resle
27th June 2007, 11:28
Hi, I am a total newbie to encoding/transcoding.

I am batch transcoding some movies from the FRAPS proprietary codec to Xvid, using Mencoder. The final AVI file I obtain so, has serious problems on seek operations: I can't just jump to any point of the movie - doing that results in a lag of several seconds. That doesn't happen with the original file.

I've been told to try indexing the avi, so I used the -idx and -forceidx switches in mencoder, but nothing changed. Any hints?

Thanks in advance,

- andrea

Guest
27th June 2007, 12:32
You need more frequent keyframes.

resle
27th June 2007, 13:14
Excellent... but how? :) Can't find anything about forcing a certain keyframe frequency in Mencoder..

buzzqw
27th June 2007, 13:22
min_key_interval=<value> (two pass only)

minimum interval between keyframes (default: 0)

max_key_interval=<value>

maximum interval between keyframes (default: 10*fps)

BHH

resle
28th June 2007, 09:01
Thanks a lot! With this, I'm done.

- andrea