[MPlayer-dev-eng] [PATCH] [RFC] fringe formats
Diego Biurrun
diego at biurrun.de
Fri Nov 17 12:51:49 CET 2006
Here is a patch that adds support for a few more fringe formats through
libavformat. Unfortunately they don't quite work yet. Here's a short
list of the issues.
ffwc3:
http://samples.mplayerhq.hu/game-formats/wc3-mve/
Works fine in ffplay, MPlayer produces a black video. Could be a
swscaler issue, the palette filter gets inserted.
ffidcin:
http://samples.mplayerhq.hu/game-formats/idcin/
Same, but a dark shadow of the video appears on the screen.
ffinterplay:
http://samples.mplayerhq.hu/game-formats/interplay-mve/
ffplay has heavy artifacting, MPlayer black video, xine is fine.
ffvqa:
http://samples.mplayerhq.hu/game-formats/vqa/
xine plays some, MPlayer and ffplay no samples.
ffwc4, ffxandpcm:
http://samples.mplayerhq.hu/game-formats/wc4-xan/
I think Mike added support for the DLL for this to xine some time ago,
but it doesn't work in my version. MPlayer crashes on the video.
ffplay and xine play the audio, MPlayer interprets it as PCM.
ffsoldpcm:
http://samples.mplayerhq.hu/game-formats/sol/
ffplay plays it fine, xine fails, MPlayer misdetects it as PCM.
Diego
-------------- next part --------------
Index: etc/codecs.conf
===================================================================
--- etc/codecs.conf (revision 20979)
+++ etc/codecs.conf (working copy)
@@ -1946,7 +1946,47 @@
dll "dsicinvideo"
out BGR8
+videocodec ffwc3
+ info "FFmpeg XAN wc3"
+ status buggy
+ fourcc WC3V ; internal MPlayer FourCC
+ driver ffmpeg
+ dll "xan_wc3"
+ out BGR8
+videocodec ffwc4
+ info "FFmpeg XAN wc4"
+ status buggy
+ fourcc Xxan
+ driver ffmpeg
+ dll "xan_wc4"
+ out BGR8
+
+videocodec ffidcin
+ info "FFmpeg idcinvideo"
+ status buggy
+ fourcc IDCI ; internal MPlayer FourCC
+ driver ffmpeg
+ dll "idcinvideo"
+ out BGR8
+
+videocodec ffinterplay
+ info "FFmpeg Interplay Video"
+ status buggy
+ fourcc INPV ; internal MPlayer FourCC
+ driver ffmpeg
+ dll "interplayvideo"
+ out BGR8
+
+videocodec ffvqa
+ info "FFmpeg VQA Video"
+ status buggy
+ fourcc VQAV ; internal MPlayer FourCC
+ driver ffmpeg
+ dll "vqavideo"
+ out BGR8
+
+
; raw formats: (now RGB formats are autodetected)
; these raw codecs are used mostly by TV input
@@ -2485,6 +2525,20 @@
driver ffmpeg
dll adpcm_ea
+audiocodec ffxandpcm
+ info "FFmpeg XAN DPCM audio"
+ status buggy
+ fourcc XAND ; internal MPlayer FourCC
+ driver ffmpeg
+ dll xan_dpcm
+
+audiocodec ffsoldpcm
+ info "FFmpeg Sierra DPCM audio"
+ status buggy
+ fourcc SOL0 ; internal MPlayer FourCC
+ driver ffmpeg
+ dll sol_dpcm
+
audiocodec libdv
info "raw DV audio decoder (libdv)"
status working
Index: libmpdemux/demux_lavf.c
===================================================================
--- libmpdemux/demux_lavf.c (revision 20979)
+++ libmpdemux/demux_lavf.c (working copy)
@@ -81,17 +81,22 @@
{ CODEC_ID_PCM_S8, MKTAG('t', 'w', 'o', 's')},
{ CODEC_ID_ROQ_DPCM, MKTAG('R', 'o', 'Q', 'A')},
{ CODEC_ID_SHORTEN, MKTAG('s', 'h', 'r', 'n')},
+ { CODEC_ID_SOL_DPCM, MKTAG('S', 'O', 'L', '0')},
{ CODEC_ID_TTA, MKTAG('T', 'T', 'A', '1')},
{ CODEC_ID_WAVPACK, MKTAG('W', 'V', 'P', 'K')},
+ { CODEC_ID_XAN_DPCM, MKTAG('X', 'A', 'N', 'D')},
{ 0, 0 },
};
const CodecTag mp_bmp_tags[] = {
{ CODEC_ID_DSICINVIDEO, MKTAG('D', 'C', 'I', 'V')},
{ CODEC_ID_FLIC, MKTAG('F', 'L', 'I', 'C')},
+ { CODEC_ID_IDCIN, MKTAG('I', 'D', 'C', 'I')},
+ { CODEC_ID_INTERPLAY_VIDEO, MKTAG('I', 'N', 'P', 'V')},
{ CODEC_ID_ROQ, MKTAG('R', 'o', 'Q', 'V')},
{ CODEC_ID_TIERTEXSEQVIDEO, MKTAG('T', 'S', 'E', 'Q')},
{ CODEC_ID_VMDVIDEO, MKTAG('V', 'M', 'D', 'V')},
+ { CODEC_ID_WS_VQA, MKTAG('V', 'Q', 'A', 'V')},
{ CODEC_ID_XAN_WC3, MKTAG('W', 'C', '3', 'V')},
{ 0, 0 },
};
More information about the MPlayer-dev-eng
mailing list