You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
movenc: Write the make and model metadata keys for mov style files
These are essential allowing QuickTime to keep detecting content as slow-motion - this allows preserving them on stream copy. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -2192,6 +2192,8 @@ static int mov_write_udta_tag(AVIOContext *pb, MOVMuxContext *mov,
|
|||||||
mov_write_string_metadata(s, pb_buf, "\251des", "comment", 0);
|
mov_write_string_metadata(s, pb_buf, "\251des", "comment", 0);
|
||||||
mov_write_string_metadata(s, pb_buf, "\251gen", "genre", 0);
|
mov_write_string_metadata(s, pb_buf, "\251gen", "genre", 0);
|
||||||
mov_write_string_metadata(s, pb_buf, "\251cpy", "copyright", 0);
|
mov_write_string_metadata(s, pb_buf, "\251cpy", "copyright", 0);
|
||||||
|
mov_write_string_metadata(s, pb_buf, "\251mak", "make", 0);
|
||||||
|
mov_write_string_metadata(s, pb_buf, "\251mod", "model", 0);
|
||||||
} else {
|
} else {
|
||||||
/* iTunes meta data */
|
/* iTunes meta data */
|
||||||
mov_write_meta_tag(pb_buf, mov, s);
|
mov_write_meta_tag(pb_buf, mov, s);
|
||||||
|
Reference in New Issue
Block a user