[FFmpeg-devel] [PATCH] lavf/matroska: expose stream encoding as global side-data

Hendrik Leppkes h.leppkes at gmail.com
Tue Sep 13 10:23:39 EEST 2016


On Tue, Sep 13, 2016 at 4:45 AM, Rodger Combs <rodger.combs at gmail.com> wrote:
> Some demuxers can't handle Matroska compression, so this lets API users
> check if a file uses it and determine whether those players will fail.
>
> Currently only exports the first encoding; the format technically supports
> multiple, but I can't find an example of this and lavf doesn't support it.


I'm not really a fan of having a global side data thats specific to
one format, and not even useful beyond conveying information to a user
(which a log message could do). Can't you just export a string in
metadata or something? That way it ends up self-contained in matroska.

- Hendrik


More information about the ffmpeg-devel mailing list