The type of 'Title of the content' should be "\xa9nam"(type begin with
\xa9 means the following text is defined to be international text) not
"name"(which means 'Name of object').
And when we try to decode mov header, we recognize "\xa9nam" as title
in mov_read_udta_string(mov.c)

Signed-off-by: Wang Chuan <[email protected]>
---
 libavformat/movenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 4c868919ae..c4dcb41fbb 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -3375,7 +3375,7 @@ static int mov_write_track_udta_tag(AVIOContext *pb, MOVMuxContext *mov,
         return ret;
      if (mov->mode & (MODE_MP4|MODE_MOV))
-        mov_write_track_metadata(pb_buf, st, "name", "title");
+        mov_write_track_metadata(pb_buf, st, "\xa9nam", "title");
      if (mov->mode & MODE_MP4) {
         if ((ret = mov_write_track_kinds(pb_buf, st)) < 0)
--
2.29.2

_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to