[MPlayer-dev-eng] [PATCH] add support for tak format

Xidorn Quan quanxunzhen at gmail.com
Mon Oct 8 13:06:12 CEST 2012


Hi,

FFmpeg starts supporting TAK format today, and this trival patch add
TAK support for mplayer.

Regards,
Xidorn Quan
-------------- next part --------------
Index: etc/codecs.conf
===================================================================
--- etc/codecs.conf	(revision 35233)
+++ etc/codecs.conf	(working copy)
@@ -5840,3 +5840,10 @@
   driver ffmpeg
   dll "wavesynth"
 
+audiocodec fftak
+  info "FFmpeg TAK"
+  status working
+  fourcc "TAK " ; internal MPlayer FourCC
+  driver ffmpeg
+  dll "tak"
+
Index: libmpdemux/mp_taglists.c
===================================================================
--- libmpdemux/mp_taglists.c	(revision 35233)
+++ libmpdemux/mp_taglists.c	(working copy)
@@ -118,6 +118,7 @@
     { CODEC_ID_MP2,               0x50},
     { CODEC_ID_MPEG2VIDEO,        MKTAG('M', 'P', 'G', '2')},
     { CODEC_ID_TRUEHD,            MKTAG('T', 'R', 'H', 'D')},
+    { AV_CODEC_ID_TAK,            MKTAG('T', 'A', 'K', ' ')},
     { 0, 0 },
 };
 
Index: libmpdemux/extension.c
===================================================================
--- libmpdemux/extension.c	(revision 35233)
+++ libmpdemux/extension.c	(working copy)
@@ -84,6 +84,7 @@
         { "mac", DEMUXER_TYPE_LAVF },
         { "str", DEMUXER_TYPE_LAVF },
         { "cdg", DEMUXER_TYPE_LAVF },
+        { "tak", DEMUXER_TYPE_LAVF },
 
 // At least the following are hacks against broken autodetection
 // that should not be there


More information about the MPlayer-dev-eng mailing list