[FFmpeg-devel] [PATCH 09/21] libavformat/movenc: support for multiple and client-provided track references

Erkki Seppälä erkki.seppala.ext at nokia.com
Thu Aug 25 14:04:54 EEST 2016


However long this patch is, it is also mostly useless: the standard does 
NOT support multiple distinct tref tags. Instead it supports multiple 
references for one or zero trefs, which is what FFmpeg already supports.

I will introduce a patch that instead just adds the ability to set the 
track reference type and add track references. The side packet API does 
not need to change as far as I can see.

On 08/23/2016 12:03 PM, erkki.seppala.ext at nokia.com wrote:
> From: Erkki Seppälä <erkki.seppala.ext at nokia.com>
> Instead of one track reference, allow multiple. In addition, allow
> client to explicitly add track references with side packet
> AV_PKG_DATA_TRACK_REFERENCES containing AVTrackReferences. MOVTrack's
> track references can be manipulated with helper functions
> ff_mov_*tref*.
> Multiple track references can be useful in particular with timed meta
> data tracks, indicating the track is related to multiple other tracks.
> This information ends up in ISO media file box 'tref' as specified by
> ISO/IEC 14496-12.
> Signed-off-by: Erkki Seppälä <erkki.seppala.ext at nokia.com>
> Signed-off-by: OZOPlayer <OZOPL at nokia.com>

More information about the ffmpeg-devel mailing list