>On Sat, 2008-04-12 at 14:46 -0500, Carl Karsten wrote: >> In trying to grab a frame every 30 seconds (or every 900 frames - close >> enough) >> I see tc spending time 'skipping frames' - any way to get it to seek ahead >> some number of bytes or something? (close, even for wide values of close, >> would >> be fine) > >Not really; one of fundamental assumptions behind the design of >transcode is that the source is a stream of data; so, seek is not >allowed (in general). > >We'll see how (and when) relax this assumption in future releases.
I'll add that part of the reason "skipping" takes so long is because the old module format combines the demultiplexing (required for skipping) and decoding (not required and much slower) into a single step. When we move the input side to NMS, skipping should go much, much faster. That said, NMS could probably use a seek_to_frame() method for demultiplexors that could do an instant seek if the input source and file format supported it. --Andrew Church [EMAIL PROTECTED] http://achurch.org/