[XviD-devel] decoding without output

Stephan Assmus superstippi at gmx.de
Wed Jul 11 10:54:55 CEST 2007


Hi all,

is there a way to decode the stream in order to advance the decoder state 
to a certain picture as fast as possible while skipping any decoding steps 
not necessary for that? I want to know this for seeking. Assuming this 
situation:

     Keyframe A                            Keyframe B
.....|.....................................|..............
           *1                    *2

I have decoded and displayed all frames since keyframe A until position 1. 
Now I want to get to position 2 as fast as possible without displaying 
anything. So anything that the decoder would do to display pictures can be 
skipped, while anything it needs to do and keep track of to finally start 
outputting frames again from position 2 should be done.

Can I put the decoder into such a "fast forward" mode?

Best regards,
-Stephan


More information about the XviD-devel mailing list