[FFmpeg-devel] [PATCH 1/5] riff: add ISMP/timecode tag.
Clément Bœsch
ubitux at gmail.com
Mon Jun 4 13:30:56 CEST 2012
From: Clément Bœsch <clement.boesch at smartjog.com>
---
doc/ffprobe.texi | 2 +-
doc/general.texi | 1 +
libavformat/riff.c | 3 ++-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi
index f5fdb5b..2a0b172 100644
--- a/doc/ffprobe.texi
+++ b/doc/ffprobe.texi
@@ -410,7 +410,7 @@ MOV timecode is extracted from tmcd track, so is available in the tmcd
stream metadata (@option{-show_streams}, see @var{TAG:timecode}).
@item
-DV and GXF timecodes are available in format metadata
+DV, GXF and AVI timecodes are available in format metadata
(@option{-show_format}, see @var{TAG:timecode}).
@end itemize
diff --git a/doc/general.texi b/doc/general.texi
index 876a0f3..756fe3b 100644
--- a/doc/general.texi
+++ b/doc/general.texi
@@ -889,6 +889,7 @@ performance on systems without hardware floating point support).
@multitable @columnfractions .4 .1 .1
@item Codec/format @tab Read @tab Write
+ at item AVI @tab X @tab X
@item DV @tab X @tab X
@item GXF @tab X @tab X
@item MOV @tab X @tab
diff --git a/libavformat/riff.c b/libavformat/riff.c
index 1266f8b..0dc9d4f 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -388,6 +388,7 @@ const AVMetadataConv ff_riff_info_conv[] = {
{ "IPRD", "album" },
{ "IPRT", "track" },
{ "ISFT", "encoder" },
+ { "ISMP", "timecode" },
{ "ITCH", "encoded_by"},
{ 0 },
};
@@ -395,7 +396,7 @@ const AVMetadataConv ff_riff_info_conv[] = {
const char ff_riff_tags[][5] = {
"IARL", "IART", "ICMS", "ICMT", "ICOP", "ICRD", "ICRP", "IDIM", "IDPI",
"IENG", "IGNR", "IKEY", "ILGT", "ILNG", "IMED", "INAM", "IPLT", "IPRD",
- "IPRT", "ISBJ", "ISFT", "ISHP", "ISRC", "ISRF", "ITCH",
+ "IPRT", "ISBJ", "ISFT", "ISHP", "ISMP", "ISRC", "ISRF", "ITCH",
{0}
};
--
1.7.10
More information about the ffmpeg-devel
mailing list