[FFmpeg-devel] [PATCH 3/3] lavf/matroskadec: export chained segment chapter metadata.

Nicolas George george at nsup.org
Sat Feb 28 11:34:37 CET 2015


Le nonidi 9 ventôse, an CCXXIII, wm4 a écrit :
> At the very least, you should check the ordered chapter flag. If it's
> not set, the segment uid is supposed to be ignored. You need to export
> the edition IDs.

The spec does not seem to state so. I will wait to have a sample where that
makes a difference to see if there is anything to do.

>		   You need to handle editions at all, and they have
> weird interactions with ordered chapters.
> 
> (Handling of editions complicate the thing somewhat, but if lavf
> doesn't include it, I'm not interested in all this work, since my
> player's mkv demuxer handles it just fine.)

I will wait to have a sample where this is relevant.

> There should be a fast way to probe a file whether it's a Matroska file
> with a uid that matches a required segment.

This has nothing to do with the scope of this patch.

> Also it would be nice if it wouldn't abuse metadata for this, or if
> libavformat at least had a mechanism to separate real metadata and file
> tags.

There is something there indeed. As a lightweight change, I can think of
this: use namespace prefixes: lavf.segment_uid (like lavfi.ebur128).

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150228/b023bd7b/attachment.asc>


More information about the ffmpeg-devel mailing list