[FFmpeg-devel] [PATCH] movenc: support GPMF track (gpmd) remuxing

Clément Bœsch u at pkh.me
Fri Jul 21 16:55:13 EEST 2017

On Fri, Jul 21, 2017 at 02:21:23PM +0100, Derek Buitenhuis wrote:
> On 7/21/2017 9:30 AM, Clément Bœsch wrote:
> > +    avio_wb16(pb, 1); /* Data-reference index */
> Why is this whole atom hardcoded (i.e. with is '1').

It's basically the same layout for every stsd sample description. Check
the other tags that extend that layout, the also have that data ref idx to
1. I think I copied from the rtp code, but it's the same for the other as
well. This gpmd atom just extends the stsd sample description with a
reserved 32-bit value.

Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170721/49cf4fe8/attachment.sig>

More information about the ffmpeg-devel mailing list