[FFmpeg-devel] [PATCH 12/12] avformat/nutenc: Fix repeating headers

Michael Niedermayer michael at niedermayer.cc
Mon Nov 9 02:06:25 EET 2020


On Thu, May 07, 2020 at 06:05:01PM +0200, Andreas Rheinhardt wrote:
> Michael Niedermayer:
> > On Tue, May 05, 2020 at 04:16:57PM +0200, Andreas Rheinhardt wrote:
[...]
> > 
> >> I am also unsure why the size difference between successive headers
> >> grows exponentially.
> > 
> > I think i dont understand what you say here.
> > The size of each header should not grow exponentially relativly to the
> > previous
> > 
> I did not mean the size of the header, but the position/offsets of the
> headers. I specifically meant this line:
> if (1LL << (20 + 3 * nut->header_count) <= avio_tell(bc))
> which in its current form that the first repeated header will be written
> after 16 TiB, then another one after 128 TiB (i.e. after further 112
> TiB) and so on.

The intend here was to write the redundant set of headers after maybe a mb

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

"Nothing to hide" only works if the folks in power share the values of
you and everyone you know entirely and always will -- Tom Scott

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201109/af4e8950/attachment.sig>


More information about the ffmpeg-devel mailing list