view etc/codecs.conf @ 5801:81fee5d61ddb

add headers detection for mpdvdkit
author pontscho
date Tue, 23 Apr 2002 16:29:13 +0000
parents b86b20b29439
children 4febd266489c
line wrap: on
line source

;=============================================================================
;  Default codecs config file. It replaces the old codecs.c file!
;  Before editing this file, please read DOCS/tech/codecs.conf.txt !
;=============================================================================

;=============================================================================
;                   VIDEO CODECS
;=============================================================================

; mpeg 1/2 decoding:
; Note: mpegpes is preferred for hw decoders:

videocodec mpegpes
  info "Mpeg PES output (.mpg or Dxr3/DVB card)"
  comment "for hardware decoding"
  status working
  format 0x10000001  ; mpeg 1
  format 0x10000002  ; mpeg 2
  driver mpegpes
  dll "mpegpes"
  out MPES

videocodec mpeg12
  info "MPEG 1 or 2"
  comment "with postprocessing"
  status working
  format 0x10000001  ; mpeg 1
  format 0x10000002  ; mpeg 2
  driver libmpeg2
  dll "libmpeg2"
  out YV12,I420,IYUV

videocodec ffmpeg12
  info "FFmpeg-1"
  status working
  format 0x10000001  ; mpeg 1
  format 0x10000002  ; mpeg 2
  fourcc mpg1,mpg2
  fourcc PIM1
  driver ffmpeg
  dll "mpegvideo"
  out YV12,I420,IYUV

; we have only native opensource codecs for these:

videocodec nuv
  info "NuppelVideo"
  status working
  fourcc NUV1
  driver nuv
  out I420,IYUV

videocodec mpng
  info "mPNG codec"
  status working
  comment "Gray scaled PNG with Alpha channel not supported"
  fourcc mpng,MPNG
  driver mpng
  out BGR32,BGR24

videocodec fli
  info "Autodesk FLI/FLC Animation"
  status working
  comment "FLIC is an internal MPlayer FOURCC"
  fourcc FLIC
  driver fli
  out BGR32,BGR24

videocodec qtrle
  info "Quicktime Animation (RLE)"
  status working
  format 0x20656C72 ; "rle "
  driver qtrle
  out BGR32,BGR24

videocodec qtrpza
  info "Quicktime Apple Video"
  status working
  fourcc rpza,azpr
  driver qtrpza
  out BGR32,BGR24,BGR15

videocodec qtsmc
  info "Apple Graphics (SMC) codec"
  status working
  format 0x20636d73 ; "smc "
  driver qtsmc
  out BGR32,BGR24

videocodec cyuv
  info "Creative YUV (native codec)"
  status working
  fourcc cyuv,CYUV
  driver cyuv
  out YUY2
  out UYVY

videocodec msrle
  info "Microsoft RLE"
  status working
  format 0x1
  format 0x2
  driver msrle
  out BGR32,BGR24,BGR16,BGR15

videocodec roqvideo
  info "Id RoQ File Video Decoder"
  status buggy
  comment "RoQV is an internal MPlayer FOURCC"
  fourcc RoQV
  driver roqvideo
  out YV12

; prefer native codecs over win32?
; the win32 codecs probably are (better) optimized and support direct
; rendering, so this may be not the best idea...

;WIN32:

videocodec cram
  info "Microsoft Video 1"
  comment "Input bpp = output bpp (8bpp is only supported by vo_ggi)"
  status working
  fourcc cram,CRAM CRAM
  fourcc msvc,MSVC CRAM
  fourcc wham,WHAM CRAM
  driver vfw
  dll "msvidc32.dll"
  out BGR8,BGR15,BGR24

videocodec cvidvfw
  info "Cinepak Video"
  status working
  fourcc cvid
  driver vfw
  dll "iccvid.dll"
;  out YUY2
;  out UYVY
  out BGR24,BGR15

videocodec huffyuv
  info "HuffYUV"
  status working
  fourcc HFYU
  driver vfw
  dll "huffyuv.dll"
  out YUY2 flip,noflip
;  out UYVY flip
  out BGR32,BGR24 flip

;NATIVE:

videocodec video1
  info "Microsoft Video 1 (native codec)"
  status working
  fourcc cram,CRAM
  fourcc msvc,MSVC
  fourcc wham,WHAM
  driver msvidc
  out BGR32,BGR24

videocodec cvid
  info "Cinepak Video (native codec)"
  status working
  fourcc cvid,CVID
  driver cinepak
  out YV12,I420,IYUV
  out YUY2
  out BGR32,BGR24

videocodec mphuffyuv
  info "HuffYUV (native codec)"
  status working
  fourcc HFYU
  driver huffyuv
  out YUY2
  out BGR32,BGR24

;XAnim (slow):

videocodec cvidxa
  info "Radius Cinepak Video"
  status working
  fourcc cvid
  driver xanim
  dll "vid_cvid.xa"
  out YV12,IYUV,I420

videocodec cyuvxa
  info "Creative CYUV"
  status untested
  fourcc CYUV,cyuv
  driver xanim
  dll "vid_cyuv.xa"
  out YV12,IYUV,I420

; time to decide what to do with the mpeg4/divx variants...
; ff* is fastest...

videocodec ffdivx
  info "FFmpeg DivX ;-) (MS MPEG-4 v3)"
  status working
  fourcc MPG3,mpg3 div3
  fourcc MP43,mp43 div3   ; M$ MPEG4 v3   (fourcc mapping to div3)
  fourcc DIV5,div5 div3   ; DivX 3.20 
  fourcc DIV6,div6 div4   ;   -||-
  fourcc DIV3,div3,DIV4,div4
  fourcc AP41 div3	  ; AngelPotion stuff
  driver ffmpeg
  dll msmpeg4
  out YV12,I420,IYUV
  
videocodec ffmp42
  info "FFmpeg M$ MPEG-4 v2"
  status working
  fourcc DIV2,div2 mp42
  fourcc MP42 mp42
  driver ffmpeg
  dll msmpeg4v2
  out YV12,I420,IYUV

videocodec ffodivx
  info "FFmpeg MPEG-4"
  status working
  fourcc DIVX,divx
  fourcc DIV1,div1 divx
  fourcc MP4S,mp4s	; ISO MPEG-4 Video V1
  fourcc xvid,XVID,XviD
  fourcc DX50
  fourcc mp4v
  format 0x4
  driver ffmpeg
  dll mpeg4 ;opendivx
  out YV12,I420,IYUV

; divx4 does direct render, and is native on linux

videocodec odivx
  info "OpenDivX (MPEG-4 v2)"
  comment "with postprocessing"
  status working
  fourcc DIVX,divx
  fourcc DIV1,div1 divx
;  fourcc MP4S,mp4s	; ISO MPEG-4 Video V1
  fourcc MP43,mp43,DIV3,div3,DIV4,div4 DIV3  ; for DivX4Linux only!
  fourcc AP41 DIV3	  ; AngelPotion stuff
  fourcc xvid,XVID,XviD
  fourcc DX50
  format 0x4
  driver odivx
  dll "opendivx decore"
  out YV12,I420,IYUV

videocodec divx4
  info "DivX4Linux (MPEG-4 v2,v3)"
  comment "with postprocessing"
  status working
  fourcc DIVX,divx
  fourcc DIV1,div1 divx
;  fourcc MP4S,mp4s	; ISO MPEG-4 Video V1
  fourcc MP43,mp43,DIV3,div3,DIV4,div4 DIV3  ; for DivX4Linux only!
  fourcc AP41 DIV3	  ; AngelPotion stuff
  fourcc xvid,XVID,XviD
  fourcc DX50
  format 0x4
  driver divx4
  dll "libdivxdecore.0"
;  out I420 ; planar direct rendering
  out YUY2
  out UYVY
  out BGR32,BGR24,BGR16,BGR15

; is divx4vfw stable enough, working everywhere and faster than divxds?

videocodec divx4vfw
  info "DivX4Windows-VFW (DivX 3.x, DivX4)"
  status buggy
  comment "sig11 with -framedrop"
  fourcc DIVX,divx        ; opendivx / divx4
  fourcc DIV1,div1 divx
;  fourcc MP4S,mp4s	  ; ISO MPEG-4 Video V1
  fourcc MP43,mp43,DIV3,div3,DIV4,div4 DIV3  ; for DivX4Linux only!
  fourcc AP41 DIV3	  ; AngelPotion stuff
  format 0x4
  driver vfw
  dll "divx.dll"
;  out YV12   ; buggy
  out YUY2
  out BGR32,BGR24,BGR15

; the original ones...  prefer DShow for postprocessing:

videocodec divxds
  info "DivX ;-) (MS MPEG-4 v3)"
  comment "with postprocessing"
  status working
  fourcc MP43,mp43 div3   ; fourcc mapping to div3
  fourcc DIV5,div5 div3
  fourcc DIV6,div6 div4
  fourcc DIV3,div3,DIV4,div4
  fourcc AP41 div3	  ; AngelPotion stuff
  driver dshow
  dll "divx_c32.ax"
  guid 0x82CCd3E0, 0xF71A, 0x11D0, 0x9f, 0xe5, 0x00, 0x60, 0x97, 0x78, 0xaa, 0xaa
;  out YV12
  out YUY2
  out BGR32,BGR24,BGR16,BGR15

videocodec divx
  info "DivX ;-) (MS MPEG-4 v3)"
  status working
  fourcc MP43,mp43 div3   ; M$ MPEG4 v3   (fourcc mapping to div3)
  fourcc DIV5,div5 div3   ; DivX 3.20 
  fourcc DIV6,div6 div4   ;   -||-
  fourcc DIV3,div3,DIV4,div4
  fourcc AP41 div3	  ; AngelPotion stuff
  driver vfw
  dll "divxc32.dll"
  out YUY2 yuvhack
  out BGR32,BGR24,BGR15
  
; hmm. we should check, maybe these are/will be playable with libavcodec:

videocodec mpeg4ds
  info "Microsoft MPEG-4 v1/v2"
  status working
  comment "with postprocessing"
  fourcc DIV2,div2 mp42
  fourcc MP4S,mp4s	; ISO MPEG-4 Video V1
  fourcc MPG4,mpg4
  fourcc MP42,mp42
  driver dshow
  dll "mpg4ds32.ax"
  guid 0x82CCD3E0, 0xF71A, 0x11D0, 0x9F, 0xE5, 0x00, 0x60, 0x97, 0x78, 0xEA, 0x66
  out YUY2
  out BGR32,BGR24,BGR16,BGR15

videocodec mpeg4
  info "Microsoft MPEG-4 v1/v2"
  status working
  fourcc MPG4,mpg4
  fourcc MP42,mp42
  fourcc DIV2 mp42
  driver vfw
  dll "mpg4c32.dll"
  out YUY2 yuvhack
  out BGR32,BGR24,BGR15

videocodec wmv8
  info "Windows Media Video 8"
  status working
  fourcc WMV2
  driver dshow
  dll "wmv8ds32.ax"
  guid 0x521fb373, 0x7654, 0x49f2, 0xbd, 0xb1, 0x0c, 0x6e, 0x66, 0x60, 0x71, 0x4f
  out YUY2
  out BGR32,BGR24,BGR16,BGR15

videocodec wmv7
  info "Windows Media Video 7"
  status working
  fourcc WMV1
  driver dshow
  dll "wmvds32.ax"
  guid 0x4facbba1, 0xffd8, 0x4cd7, 0x82, 0x28, 0x61, 0xe2, 0xf6, 0x5c, 0xb1, 0xae
;  out I420
  out YUY2
  out BGR32,BGR24,BGR16,BGR15

videocodec ubmp4
  info "UB Video MPEG 4"
  status buggy
  fourcc UMP4
  driver vfw
  dll "ubvmp4d.dll"
  out I420
  out UYVY


; mjpegs:
; Notes: m3jpeg+mjpeg are mmx optimized. avid is very stable but slow.
; ijpg only decodes jpeg images (no mjpg), and slow. ffmjpeg is buggy.

videocodec m3jpeg
  info "Morgan Motion JPEG Codec"
  status working
  fourcc MJPG
  fourcc mjpa,mjpb,mjpg MJPG  ; MOV files
  fourcc dmb1 MJPG            ; MJPEG by Matrox Rainbow Runner
  driver vfw
  dll "m3jpeg32.dll"
  out YUY2
  out UYVY
  out BGR32,BGR24,BGR15

videocodec mjpeg
  info "MainConcept Motion JPEG"
  status working
  fourcc MJPG
  fourcc mjpa,mjpb,mjpg MJPG  ; MOV files
  fourcc AVRn,AVDJ MJPG ; AVID
  driver vfw
  dll "mcmjpg32.dll"
  out YUY2
  out UYVY
  out BGR32,BGR24,BGR15

videocodec avid
  info "AVID"
  status working
  fourcc AVRn
  fourcc AVDJ AVRn
  fourcc MJPG,mjpg AVRn
  driver vfw
  dll "AvidAVICodec.dll"
  out BGR24 flip

videocodec LEAD
  info "LEAD (M)Jpeg"
  status working
  comment "supports interlaced MJPEG"
  fourcc MJPG
  fourcc jpeg MJPG
  driver vfw
  dll "LCodcCMP.dll"
  out BGR24,BGR15

videocodec ijpg
  info "IJPG codec"
  status working
  fourcc ijpg,IJPG
  fourcc jpeg       ; MOV Photo Jpeg
  fourcc AVRn,AVDJ  ; AVID
  driver ijpg
  out BGR24,BGR8

videocodec ffmjpeg
  info "FFmpeg MJPEG decoder"
  status working
  fourcc MJPG,mjpg
;  fourcc AVRn
  fourcc jpeg ; photo-jpeg
  driver ffmpeg
  dll mjpeg
  out YUY2  ; queryed (conversion from yuv422p)
  out YV12,I420,IYUV

videocodec m3jpegds
  info "Morgan MJPEG"
  status crashing
  fourcc MJPG mjpg
  fourcc mjpa,mjpb,mjpg mjpg  ; MOV files
  fourcc dmb1 mjpg            ; MJPEG by Matrox Rainbow Runner
  driver dshow
  dll "m3jpegdec.ax"
  guid 0x6988b440, 0x8352, 0x11d3, 0x9b, 0xda, 0xca, 0x86, 0x73, 0x7c, 0x71, 0x68
  out YUY2
  out UYVY
  out BGR32,BGR24,BGR16,BGR15

videocodec pegasusm
  info "Pegasus Motion JPEG"
  status buggy
  fourcc MJPG
  driver vfw
;  dll "pvmjpg20.dll"	; v2.0
  dll "pvmjpg21.dll"	; v2.1
  out BGR24 flip

videocodec pegasusl
  info "Pegasus Lossless JPEG"
  status buggy
  fourcc JPGL
  fourcc MJPG JPGL
  driver vfw
  dll "pvljpg20.dll"
  out BGR24 flip

videocodec pegasusmwv
  info "Pegasus Motion Wavelet 2000"
  status buggy
  fourcc PVW2
  driver vfw
  dll "pvwv220.dll"
  out BGR24 flip

; h263: - I don't know. comments?

videocodec vivo
  info "Vivo H.263"
  status working
  fourcc VIVO,vivo vivo
  fourcc viv1,viv2 vivo
  driver vfw
  dll "ivvideo.dll"
  out BGR32,BGR24,BGR15 flip
  in BGR24

videocodec u263
  info "UB Video H.263+ Decoder"
  comment "added by Juanjo"
  status working
  fourcc U263
  fourcc vivo,VIVO U263
  fourcc viv1 U263
  driver dshow
  dll "ubv263d+.ax"
  guid 0x00af1181, 0x6ebb, 0x11d4, 0x9d, 0x5a, 0x00, 0x50, 0x04, 0x79, 0x6c, 0xc0
;  out I420 flip
;  out YVYU flip,noflip
;  out YV12 flip
;  out UYVY flip,noflip
;  out YUY2 flip
  out BGR24 flip

videocodec i263
  info "I263"
  status working
  fourcc I263,i263,I420,i420
  fourcc vivo,VIVO I263
  fourcc viv1 I263
  driver vfw
  dll "i263_32.drv"
;  out I420
  out YUY2
  out BGR32,BGR24,BGR15

videocodec ffi263
  info "FFmpeg I263 decoder"
  status working
  fourcc I263,i263
  driver ffmpeg
  dll h263i
  out YV12,I420,IYUV

videocodec ffh263
  info "FFmpeg H263+ decoder"
  status working
  fourcc H263,U263,h263
  fourcc viv1 h263
  driver ffmpeg
  dll h263
  out YV12,I420,IYUV

videocodec h263xa
  info "CCITT H.263"
  status working
  fourcc H263,h263
  fourcc viv1 H263
  fourcc VIVO,vivo H263
  driver xanim
  dll "vid_h263.xa"
  out YV12,IYUV,I420

videocodec h261xa
  info "CCITT H.261"
  status untested
  fourcc H261,h261
  driver xanim
  dll "vid_h261.xa"
  out YV12,IYUV,I420

videocodec m261
  info "M261"
  status untested
  fourcc m261,M261
  driver vfw
  dll "msh261.drv"
  out BGR32,BGR24,BGR15

; indeo:
; Note: indeo 3 is buggy, both xanim (bad decoding) and VfW (not work with DR)
; Prefer win32 ones, they are faster, and 4/5 can DR. for fallback, there are
; Xanim codecs, they provide YV12, useful for YUV display or encoding.

videocodec indeo5ds
  info "Intel Indeo 5"
  status working
  fourcc IV50,iv50
  driver dshow
  dll "ir50_32.dll"
  guid 0x30355649, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71
  out YV12
  out YUY2
  out BGR32,BGR24,BGR16,BGR15

videocodec indeo5
  info "Intel Indeo 5"
  status working
  fourcc IV50,iv50
  driver vfw
  dll "ir50_32.dll"
;  out YV12,I420   ; flickering
  out YUY2
  out BGR32,BGR24,BGR15

videocodec indeo4
  info "Intel Indeo 4.1"
  status working
  fourcc IV41,iv41
  driver vfw
  dll "ir41_32.dll"
  out BGR24,BGR15

videocodec indeo3
  info "Intel Indeo 3.1/3.2"
  status working
  comment "upside-down with some vo drivers, (no yuv)"
  fourcc IV31,iv31
  fourcc IV32,iv32
  driver vfw
  dll "ir32_32.dll"
  out BGR24,BGR15 flip

videocodec indeo5xa
  info "Intel Indeo 5"
  status working
  fourcc IV50,iv50
  driver xanim
  dll "vid_iv50.xa"
  out YV12,IYUV,I420

videocodec indeo4xa
  info "Intel Indeo 4.1"
  status working
  fourcc IV41,iv41
  driver xanim
  dll "vid_iv41.xa"
  out YV12,IYUV,I420

videocodec indeo3xa
  info "Intel Indeo 3.1/3.2"
  status working
  fourcc IV31,iv31
  fourcc IV32,iv32
  driver xanim
  dll "vid_iv32.xa"
  out YV12,IYUV,I420

; DV:  qdv is more stable...  (native libdv support coming soon)

videocodec qdv
  info "Sony Digital Video (DV)"
  status working
  fourcc DVSD,dvsd,dvcp dvsd
;  fourcc "dvc " dvsd
  driver dshow
  dll "qdv.dll"
  guid 0xB1B77C00, 0xC3E4, 0x11CF, 0xAF, 0x79, 0x00, 0xAA, 0x00, 0xB6, 0x7A, 0x42
  out YUY2
  out UYVY
  out BGR32,BGR24,BGR16,BGR15

videocodec mcdv
  info "MainConcept DV Codec"
  status working
  fourcc DVSD,dvsd,dvcp dvsd		# dvcp stands for PAL DV in mov
  fourcc "dvc " dvsd
  driver vfw
  dll "mcdvd_32.dll"
  out YUY2
  out UYVY
  out BGR32,BGR24,BGR15

; 3ivx:

videocodec 3ivXxa
  info "3ivX Delta 3.5"
  status working
  fourcc 3IV1
  driver xanim
  dll "vid_3ivX.xa"
  out YV12,IYUV,I420

videocodec 3ivX
  info "3ivX Delta 3.5"
  status crashing
  fourcc 3IV1
  driver dshow
  dll "3ivxdmo.dll"
  guid 0x0E6772C0, 0xDD80, 0x11D4, 0xB5, 0x8f, 0xA8, 0x6B, 0x66, 0xd0, 0x61, 0x1c
  out YV12
  out YUY2
  out BGR32,BGR24,BGR16,BGR15


; others:

videocodec ffrv10
  info "FFmpeg RV10 decoder"
  status working
  fourcc RV10,rv10
  fourcc RV13,rv13
  driver ffmpeg
  dll rv10
  out YV12,I420,IYUV

videocodec vp3
  info "On2 OpenSource VP3-Codec"
  status working
  comment "For SSE-systems use hacked dll from ftp://mplayerhq.hu/MPlayer/samples/drivers32/"
  fourcc VP30,vp30,VP31,vp31
  driver vfwex
  dll "vp31vfw.dll"
  out YUY2
  out BGR32,BGR24,BGR15

videocodec mwv1
  info "Motion Wavelets"
  status working
  fourcc MWV1
  driver vfw
  dll "icmw_32.dll"
;  out YV12 flip
;  out YUY2 flip
  out BGR32,BGR24,BGR15 flip

videocodec asv2
  info "ASUS V2"
  status working
  fourcc ASV2
  driver vfw
  dll "asusasv2.dll"
  out UYVY
  out BGR32,BGR24,BGR15 flip

videocodec asv1
  info "ASUS V1"
  status working
  fourcc ASV1
  driver vfw
  dll "asusasvd.dll"
  out UYVY
  out BGR32,BGR24,BGR15 flip

videocodec mss1
  info "Windows Screen Video"
  status working
  fourcc MSS1
  driver dshow
  dll "msscds32.ax"
  guid 0x3301a7c4, 0x0a8d, 0x11d4, 0x91, 0x4d, 0x00, 0xc0, 0x4f, 0x61, 0x0d, 0x24
  out BGR32,BGR24,BGR16,BGR15

; CLRVIDDC.DLL needed too, with uppercase
videocodec ucod
  info "UCOD-ClearVideo"
  status working
  fourcc UCOD
  driver vfw
  dll "clrviddd.dll"
  out UYVY
  out BGR32,BGR24,BGR15 flip

videocodec vcr2
  info "ATI VCR-2"
  status working
  fourcc VCR2
  driver vfw
  dll "ativcr2.dll"
  out YV12
  out BGR24

videocodec CJPG
  info "CJPG"
  status untested
  comment "need sample files (this dll is decompression only!)"
  fourcc CJPG
  driver vfw
  dll "CtWbJpg.DLL"
  out YUY2
  out UYVY
  out BGR24,BGR15

; our BGR15->BGR32 is bad or the DLL?
videocodec tm20
  info "TrueMotion 2.0"
  status working
  comment "YUV faulting"
  fourcc TM20
  driver dshow
  dll "tm20dec.ax"
  guid 0x4cb63e61, 0xc611, 0x11D0, 0x83, 0xaa, 0x00, 0x00, 0x92, 0x90, 0x01, 0x84
  out BGR32,BGR24,BGR16


; buggy codecs:  (any volunteers for native rewrite?)

videocodec zlibnative
  info "AVIzlib native"
  status untested
  comment "bpp autodetected"
  fourcc ZLIB
  driver zlib
  dll "libz.so"
  out BGR32,BGR24,BGR16,BGR15,BGR8 flip

videocodec zlib
  info "AVIzlib"
  status working
  comment "24bpp only"
  fourcc ZLIB
  driver vfw
  dll "avizlib.dll"
  out BGR24 flip

videocodec mszh
  info "AVImszh"
  status working
  comment "24bpp only"
  fourcc MSZH
  driver vfw
  dll "avimszh.dll"
;  out YUY2
;  out BGR32,BGR24,BGR15
  out BGR24

videocodec alaris
  info "Alaris VideoGramPiX"
; http://www.alaris.com/movies/toocool.vgm
; Martin Schuster <schuster@ap.univie.ac.at>
  status buggy
  comment "only produces strange patterns"
  fourcc VGPX,VTLP VGPX
  driver vfwex
  dll "vgpix32d.dll"
  out UYVY
  out BGR24


; non-working codecs:

videocodec vcr1
  info "ATI VCR-1"
  status buggy
  fourcc VCR1
  driver vfw
  dll "ativcr1.dll"
  out RGB24 flip

videocodec pim1
  info "PIM1"
  status buggy
  comment "no picture. use ffmpeg12!"
  fourcc PIM1
  driver vfw
  dll "PCLEPIM1.DLL"
  out BGR24 flip
;  out I420
;  out YUY2
;  out BGR32,BGR24,BGR16,BGR15

videocodec qpeg
  info "Q-Team's QPEG (www.q-team.de)"
  status buggy
  comment "BGR8 only!"
  fourcc Q1.0
  fourcc Q1.1
  driver vfw
  dll "qpeg32.dll"
  out BGR8 flip

videocodec rricm
  info "rricm"
  status buggy
  fourcc dmb1
  driver vfw
  dll "rricm.dll"
  out YUY2
  out BGR24 flip

; sample videos: http://www.techsmith.com/products/camtasia/examplevideos.asp
videocodec camtasia
  info "TechSmith Camtasia Screen Codec"
  status buggy
  fourcc TSCC,tscc
  driver vfw
  dll "tsccvid.dll"
  out BGR15 flip

; raw formats:  (now RGB formats are autodetected)

; these raw codecs are used mostly by tv input
; 0x20776172 is used by Quicktime ('raw ')
; 0x0 is used by AVI
; YV12,RGB|32,RGB|24.. is created by MPlayer

videocodec rawrgb32
  info "RAW RGB32"
  status working
  driver raw
  format 0x0
  format 0x20776172
  format 0x52474220
  out RGB32

videocodec rawrgb24
  info "RAW RGB24"
  status working
  driver raw
  format 0x0
  format 0x20776172
  format 0x52474218
  out RGB24

videocodec rawrgb16
  info "RAW RGB16"
  status working
  driver raw
  format 0x0
  format 0x20776172
  format 0x52474210
  out RGB16

videocodec rawbgr24
  info "RAW BGR24"
  status working
  driver raw
  format 0x0
  format 0x20776172
  format 0x42475218
  out BGR24 flip

videocodec rawbgr15
  info "RAW BGR15"
  status working
  driver raw
  format 0x0
  format 0x20776172
  format 0x4247520F
  out BGR15 flip

videocodec rawyuy2
  info "RAW YUY2"
  status working
  driver raw
  format 0x0
  format 0x20776172
  fourcc yuy2,YUY2
  out YUY2

videocodec rawuyvy
  info "RAW UYVY"
  status working
  driver raw
  format 0x0
  format 0x20776172
  fourcc uyvy,UYVY
  out UYVY

videocodec rawyv12
  info "RAW YV12"
  comment "pre-postprocessing support"
  status working
  driver raw
  format 0x0
  format 0x20776172
  fourcc yv12,YV12
  out YV12

videocodec rawi420
  info "RAW I420"
  status working
  driver raw
  format 0x0
  format 0x20776172
  fourcc i420,I420
  out I420

; NULL codec - for testing.

videocodec null
  info "NULL codec (no decoding!)"
  status crashing
  comment "for unknown/unsupported codecs or testing"
  driver null
  out YV12
  out I420
  out YUY2
  out UYVY
  out BGR32,BGR24,BGR16,BGR15

;=============================================================================
;                   AUDIO CODECS
;=============================================================================

audiocodec imaadpcm
  info "IMA ADPCM"
  status working
  format 0x11
  format 0x34616d69  ; "ima4" (MOV files)
  driver imaadpcm

audiocodec msadpcm
  info "MS ADPCM"
  status working
  format 0x2
  driver msadpcm

audiocodec dk4adpcm
  info "Duck DK4 ADPCM (rogue format number)"
  status working
  comment "This format number was used by Duck Corp. but not officially registered with Microsoft"
  format 0x61
  driver imaadpcm

audiocodec dk3adpcm
  info "Duck DK3 ADPCM (rogue format number)"
  status working
  comment "This format number was used by Duck Corp. but not officially registered with Microsoft"
  format 0x62
  driver dk3adpcm

audiocodec roqaudio
  info "Id RoQ File Audio Decoder"
  status working
  comment "RoQA is an internal MPlayer FOURCC"
  fourcc RoQA
  driver roqaudio

audiocodec faad
  info "AAC MPEG2/MPEG4 Audio"
  status working
  comment "Under developemnt by Atmos"
  fourcc mp4a,MP4A
  driver faad

audiocodec pcm
  info "Uncompressed PCM"
  status working
  format 0x1
  format 0x20776172  ; "raw " (MOV files)
  format 0x736f7774  ; "twos" (MOV files)
;;;; these are for hardware support only:  (alaw,ulaw,ima-adpcm,mpeg,ac3)
;  format 0x6
;  format 0x7
;  format 0x11
;  format 0x50
;  format 0x2000
;;;;
  driver pcm
  dll "uncompressed"

audiocodec divx
  info "DivX audio (WMA)"
  status working
  format 0x160
  format 0x161
  driver acm
  dll "divxa32.acm"

audiocodec msadpcmacm
  info "MS ADPCM"
  status working
  format 0x2
  driver acm
  dll "msadp32.acm"

audiocodec mp3
  info "MPEG layer-2, layer-3"
  status working
  comment "Optimized to MMX/SSE/3Dnow!"
  format 0x50
  format 0x55
  format 0x33706d2e  ; ".mp3" CBR/VBR MP3 (MOV files)
  format 0x5500736d  ; "ms\0\x55" older mp3 fcc (MOV files)
  driver mp3lib
  dll "mp3lib (mpglib)"
  flags seekable

;MAD library
audiocodec mad
  info "MAD MPEG layer-2, layer-3"
  status working
  comment "Optimized for ARM, unstable"
  format 0x50
  format 0x55
  format 0x33706d2e  ; ".mp3" CBR/VBR MP3 (MOV files)
  format 0x5500736d  ; "ms\0\x55" older mp3 fcc (MOV files)
  driver libmad
  dll "libmad"
  flags seekable

audiocodec ffmp3
  info "FFmpeg layer-3 audio decoder - integer only"
  status working
  format 0x55
  format 0x33706d2e  ; ".mp3" CBR/VBR MP3 (MOV files)
  format 0x5500736d  ; "ms\0\x55" older mp3 fcc (MOV files)
  driver ffmpeg
  dll "mp3"
  flags seekable

audiocodec ffmp2
  info "FFmpeg layer-12 audio decoder - integer only"
  status working
  format 0x50
  driver ffmpeg
  dll "mp2"
  flags seekable

audiocodec mp3acm
  info "MPEG layer-3"
  status working
  comment "conflicts with security kernel patches"
  format 0x55
  driver acm
  dll "l3codeca.acm"
  flags seekable

audiocodec imaadpcmacm
  info "IMA ADPCM"
  status working
  format 0x11
  driver acm
  dll "imaadp32.acm"
  
audiocodec msgsmacm
  info "MS GSM"
  status working
  format 0x31
  format 0x32
  driver acm
  dll "msnaudio.acm"
;  dll "msgsm32.acm"

audiocodec msgsm
  info "MS GSM"
  status working
  format 0x31
  format 0x32
  driver msgsm
  dll "xa_gsm.c"

audiocodec alaw
  info "aLaw"
  status working
  format 0x6
  driver alaw
  dll "alaw"

audiocodec ulaw
  info "uLaw"
  status working
  format 0x7
  format 0x77616c75  ; "ulaw" (MOV files)
  driver alaw
  dll "ulaw"

audiocodec dvdpcm
  info "Uncompressed DVD PCM"
  status working
  format 0x10001
  driver dvdpcm
  dll "uncompressed"

audiocodec a52
  info "AC3-liba52"
  status working
  format 0x2000
  driver liba52
  dll "liba52"

audiocodec ac3
  info "AC3"
  status working
  format 0x2000
  driver libac3
  dll "libac3"

audiocodec voxware
  info "VoxWare"
  status working
  format 0x75
  driver dshow
  dll "voxmsdec.ax"
  guid 0x73f7a062, 0x8829, 0x11d1, 0xb5, 0x50, 0x00, 0x60, 0x97, 0x24, 0x2d, 0x8d

audiocodec acelp
  info "ACELP.net Sipro Lab Audio Decoder"
  status working
  format 0x130
  driver dshow
  dll "acelpdec.ax"
  guid 0x4009f700, 0xaeba, 0x11d1, 0x83, 0x44, 0x00, 0xc0, 0x4f, 0xb9, 0x2e, 0xb7

audiocodec imc
  info "Intel Music Coder"
  status working
  comment "driver at http://codeczone.virtualave.net/FXIMCAUD.zip"
  format 0x401
  driver acm
  dll "imc32.acm"

audiocodec hwac3
  info "AC3 through SPDIF"
  status working
  format 0x2000
  driver hwac3
  dll "ac3-iec958.c"

audiocodec vorbis
  info "OggVorbis Audio Decoder"
  status working
  comment "OggVorbis driver using libvorbis"
  format 0xFFFE
  driver libvorbis
  dll "libvorbis"
  flags seekable
; acm codec doesn't work, haven't tried zorannt dshow codec
;  driver acm
;  dll "vorbis.acm"

audiocodec vivoaudio
  info "Vivo G.723/Siren Audio Codec"
  status working
  format 0x111       ; vivo g.723
  format 0x112       ; siren
  driver acm
  dll "vivog723.acm"

audiocodec g72x
  info "G.711/G.721/G.723"
  status untested
  comment "does not work yet - just noise :("
  format 0x111	    ; vivo g.723
  format 0x112	    ; vivo siren
  driver g72x
  dll "g72x.c"

audiocodec atrac3
  info "Sony ATRAC3"
  status buggy
  format 0x270
  driver acm
  dll "atrac3.acm"

audiocodec ALF2
; http://www.nctsoft.com/products/NCTALFCD/
; jdp@mail.sonofon.dk
  info "ALF2"
  status working
  format 0x1FC4     ; ALF2
  driver acm
  dll "alf2cd.acm"

audiocodec truespeech
  info "DSP Group TrueSpeech(TM)"
  status working
  format 0x22
  driver acm
  dll "tssoft32.acm"

; rt32dcmp.dll needed too
audiocodec voxwarert24
  info "VoxWare RT24 speech codec"
  status working
  format 0x181c
  driver acm
  dll "nsrt2432.acm"

audiocodec lhacm
  info "Lernout & Hauspie CELP and SBC codecs"
  status working
  format 0x1101 ; CELP
  format 0x1102 ; SBC
  format 0x1103 ; SBC
  format 0x1104 ; SBC
  driver acm
  dll "lhacm.acm"