[FFmpeg-devel] avformat: QuickTime Sample Description Table 'corruption' with ACLR atom.

Michael Niedermayer michaelni at gmx.at
Fri Feb 13 16:06:44 CET 2015

On Fri, Feb 13, 2015 at 02:43:13PM +0000, Kevin Wheatley wrote:
> Hi,
> currently when writing ACLR atoms to .mov's there is a 'corruption'
> caused by the function mov_write_avid_tag() writing an additional 4
> bytes of zero's. this is potentially then followed by other atoms colr
> and pasp. Looking at the specifications it appears this 4 bytes is
> supposed to occur at the end of the stsd if at all, as it is optional.
> I'm working on a patch to fix the 'corruption' but wondered how to
> handle the optional terminator:
> 1) Don't write one ever
> 2) Write one if requested by adding a flag to -movflags stdsterminator
> 3) Write one by default, add a 'nostdsterminator' flag (needs a better name)
> 4) always write one.
> I'm favouring 2 or 3

what difference does the terminator make ?
does it improve compatibility with other software ?

> Currently I've done option 1 see
> https://github.com/KevinJW/FFmpeg/compare/mov_dnxhd_stsd_corruption
> Thanks
> Kevin
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150213/52c4437a/attachment.asc>

More information about the ffmpeg-devel mailing list