[FFmpeg-devel] [PATCH 2/2] flvdec: Add an option for exporting unknown metadata packets as opaque data

Michael Niedermayer michael at niedermayer.cc
Sat Oct 27 21:08:32 EEST 2018


On Thu, Oct 25, 2018 at 03:59:17PM +0300, Martin Storsjö wrote:
> ---
>  libavformat/flv.h    |  1 +
>  libavformat/flvdec.c | 21 +++++++++++++++++----
>  2 files changed, 18 insertions(+), 4 deletions(-)

[...]
> @@ -1290,6 +1302,7 @@ static const AVOption options[] = {
>      { "flv_full_metadata", "Dump full metadata of the onMetadata", OFFSET(dump_full_metadata), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VD },
>      { "flv_ignore_prevtag", "Ignore the Size of previous tag", OFFSET(trust_datasize), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VD },
>      { "missing_streams", "", OFFSET(missing_streams), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 0xFF, VD | AV_OPT_FLAG_EXPORT | AV_OPT_FLAG_READONLY },
> +    { "export_opaque_meta", "", OFFSET(export_opaque_meta), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VD },
>      { NULL }

I think this together with doc/demuxers.texi (which doesnt document this)
is not enough to use this option by a user

also why is this conditional ? is there a disadvantage of always 
exporting this ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181027/ae0f4d1f/attachment.sig>


More information about the ffmpeg-devel mailing list