Hi,
I'm using VfW for opening an AVI file with multiple (2) internal streams. One of the streams is a compressed video stream.
I want to copy a short segment of the stream as-is without re-compressing.
I managed to use CreateEditableStream()
and EditStreamPaste()
to extract and copy the relevant part of the stream, but when I use AVISave()
with the new (editable) stream, the result is an uncompressed video of the segment I wanted.
I can probably add the relevant (re-)compression options, but is there a way to do this without re-compressing the stream?
Is there a way to make a direct copy of the compressed stream?
Thanks,Adi