]> git.sesse.net Git - ffmpeg/commit
avformat/mxfenc: prefer to use the configured metadata
authorLimin Wang <lance.lmwang@gmail.com>
Tue, 2 Feb 2021 12:41:22 +0000 (20:41 +0800)
committerLimin Wang <lance.lmwang@gmail.com>
Fri, 5 Feb 2021 01:27:06 +0000 (09:27 +0800)
commit81c462ad95f143837a6a21126117515577f0977b
tree6b464011cdd9db5feb2fde78f7911996374d8c03
parent9605307e7854ac4941ae4e7400b997612fa6712c
avformat/mxfenc: prefer to use the configured metadata

The metadata company_name, product_name, product_version from input
file will be deleted to avoid overwriting information
Please to test with below commands:
./ffmpeg -i ../fate-suite/mxf/Sony-00001.mxf -c:v copy -c:a copy out.mxf
and
./ffmpeg -i ../fate-suite/mxf/Sony-00001.mxf -c:v copy -c:a copy \
        -metadata company_name="xxx" \
        -metadata product_name="xxx" \
        -metadata product_version="xxx" \
        out.mxf

Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
fftools/ffmpeg_opt.c
libavformat/mxfenc.c