Hi, This patch enables writing of user comment metadata to mxf files. Any metadata key prefixed with "comment_" will get written as a user comment. In avid media composer the value will show up in the bin in a column with the name of the key (minus the "comment_" prefix ofcourse). The tag values are also written in utf16le to match the same behavour as avid.
example usage: ffmpeg -y -f lavfi -i "testsrc=size=1920x1080:rate=23.97" -frames:v 50 \ -metadata comment_example=value \ -vcodec dnxhd -pix_fmt yuv422p -vb 36M -f mxf_opatom out.mxf The tests needed to be update because of the new local tags added to the primer pack. Mark Reid (1): libavformat/mxfenc: write user comment metadata libavformat/mxfenc.c | 66 +++++++++++++++++++++++++++++++++++++++++++++-- tests/ref/lavf/mxf | 6 ++--- tests/ref/lavf/mxf_d10 | 2 +- tests/ref/lavf/mxf_opatom | 2 +- 4 files changed, 69 insertions(+), 7 deletions(-) -- 2.2.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel