[FFmpeg-devel] [PATCH] added possibility to set first to ninth audio language for RIFF taged files (e.g. avi files)
floriandiemer at gmx.net
floriandiemer at gmx.net
Sun Oct 2 17:43:10 EEST 2016
---
According to this page
(http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/RIFF.html#Info)
it is possible
to add language information ("IAS1" (first language) to "IAS9" (ninth
language)) to RIFF tagged files (as RIFF Info Tags).
Programs such as VLC media player or MediaInfo can properly read and
display this information. Allowing to set this tags
with the -metadata option while encoding, would simplify the process.
---
libavformat/riffenc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/riffenc.c b/libavformat/riffenc.c
index 36e6ac7..4b25c06 100644
--- a/libavformat/riffenc.c
+++ b/libavformat/riffenc.c
@@ -304,7 +304,8 @@ void ff_riff_write_info_tag(AVIOContext *pb, const
char *tag, const char *str)
}
static const char riff_tags[][5] = {
- "IARL", "IART", "ICMS", "ICMT", "ICOP", "ICRD", "ICRP", "IDIM", "IDPI",
+ "IARL", "IART", "IAS1", "IAS2", "IAS3", "IAS4", "IAS5", "IAS6", "IAS7",
+ "IAS8", "IAS9", "ICMS", "ICMT", "ICOP", "ICRD", "ICRP", "IDIM", "IDPI",
"IENG", "IGNR", "IKEY", "ILGT", "ILNG", "IMED", "INAM", "IPLT", "IPRD",
"IPRT", "ITRK", "ISBJ", "ISFT", "ISHP", "ISMP", "ISRC", "ISRF", "ITCH",
{ 0 }
--
2.10.0.windows.1
More information about the ffmpeg-devel
mailing list