Many questions: First of all, why is the source code of ffmpeg so poorly documented? Is there already a possibility to seek in videostreams framebased or packetbase? E.g. give me packet nr. 4394. Is there some variable where the number of packets of a stream gets stored an can be retrieved? Greetings A.Gallus