[FFmpeg-devel] [PATCH 3/3] matroska: add support for Opus.

Nicolas George nicolas.george at normalesup.org
Wed Jul 4 16:43:50 CEST 2012


Opus in Matroska is still a draft.

Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
 libavformat/matroska.c |    1 +
 1 file changed, 1 insertion(+)


Makes -c copy work from an Ogg file produced by the reference oggenc.


diff --git a/libavformat/matroska.c b/libavformat/matroska.c
index 52481d7..5e9a6ca 100644
--- a/libavformat/matroska.c
+++ b/libavformat/matroska.c
@@ -31,6 +31,7 @@ const CodecTags ff_mkv_codec_tags[]={
     {"A_MPEG/L2"        , CODEC_ID_MP2},
     {"A_MPEG/L1"        , CODEC_ID_MP2},
     {"A_MPEG/L3"        , CODEC_ID_MP3},
+    {"A_OPUS",            CODEC_ID_OPUS},
     {"A_PCM/FLOAT/IEEE" , CODEC_ID_PCM_F32LE},
     {"A_PCM/FLOAT/IEEE" , CODEC_ID_PCM_F64LE},
     {"A_PCM/INT/BIG"    , CODEC_ID_PCM_S16BE},
-- 
1.7.10



More information about the ffmpeg-devel mailing list