[Ffmpeg-devel] [PATCH] new mov_read_packet, mov_read_seek

Baptiste Coudurier baptiste.coudurier
Fri Jul 7 12:28:38 CEST 2006


Here is a new mov_read_packet and mov_read_seek functions. That should
fix seek in non interleaved mov, demux correctly adpcm.
It computes pkt->duration, mainly for stream copy, to later compute
stts in muxing, since it cannot be done anywhere else (AAC for example)

Finally, I removed the old obsolete messy code, is it fine ?

It does not yet support edit list. Im working on it though. Just have a
few questions, Im wondering if we really should not demux those "not
displayed packets", I would be more in favor for setting a flag that
mention that the packet must not be displayed, for 2 reasons:
- If the start time requested is not a key frame, it will not be decoded
- It would be useful to transcode those packets but keeps the edit list
if you later want to re-edit the file.

What do you guys familiar with mov think about it ?

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mov_build_index.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060707/d29b8b68/attachment.asc>

More information about the ffmpeg-devel mailing list