Denis Charmet wrote: > So this should be done in the decoder if no duration is provided by the > demux. I'll try that. Better would be to have the demux always provide this duration, wouldn't it? You need information from the MKV layer to handle pre-skip and end-trimming correctly, anyway.