diff options
author | Dan Armak <danarmak@gentoo.org> | 2001-09-23 18:59:56 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2001-09-23 18:59:56 +0000 |
commit | f106a458e5d8c09c49ff1e25842918f690338173 (patch) | |
tree | 6d1886905ad5e8f66aed157c72195cd7619e316a /incoming | |
parent | new version from gentoo-ebuild (diff) | |
download | gentoo-2-f106a458e5d8c09c49ff1e25842918f690338173.tar.gz gentoo-2-f106a458e5d8c09c49ff1e25842918f690338173.tar.bz2 gentoo-2-f106a458e5d8c09c49ff1e25842918f690338173.zip |
new incoming
Diffstat (limited to 'incoming')
-rw-r--r-- | incoming/mplayer/files/codecs.conf | 486 | ||||
-rw-r--r-- | incoming/mplayer/files/mplayer | 14 | ||||
-rw-r--r-- | incoming/mplayer/files/mplayer.conf | 100 | ||||
-rw-r--r-- | incoming/mplayer/mplayer-0.18_pre-r1.ebuild | 143 | ||||
-rw-r--r-- | incoming/w32codecs-0.18.ebuild | 18 |
5 files changed, 761 insertions, 0 deletions
diff --git a/incoming/mplayer/files/codecs.conf b/incoming/mplayer/files/codecs.conf new file mode 100644 index 000000000000..dc2cd611290f --- /dev/null +++ b/incoming/mplayer/files/codecs.conf @@ -0,0 +1,486 @@ +; Default codecs config file. It replaces the old codecs.c file! + +;============================================================================= +; VIDEO CODECS +;============================================================================= + +; =============== Win32/libmpeg2/ProjectMayo MPEG CODECS ===================== + +videocodec u263 + info "UB Video H.263+ Decoder" + comment "added by Juanjo" + status working + fourcc 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 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 + 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 mpeg12 + info "MPEG 1 or 2" + comment "with postprocessing" + status working + format 0x10000001 + driver libmpeg2 + dll "libmpeg2" + out YV12 + +videocodec mpeg4 + info "Microsoft MPEG-4 v1/v2" + status working +; comment "No postprocessing" + fourcc MPG4,mpg4 + fourcc MP42,mp42 + fourcc DIV2 mp42 + driver vfw + dll "mpg4c32.dll" + out YUY2 yuvhack + out BGR32,BGR24,BGR15 + +videocodec mpeg4ds + info "Microsoft MPEG-4 v1/v2" + status working +; comment "with postprocessing" + fourcc DIV2,div2 mp42 + 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 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 + driver vfw + dll "divxc32.dll" + out YUY2 yuvhack + out BGR32,BGR24,BGR15 + +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 + format 0x4 + driver odivx + dll "opendivx decore" + out YV12 + +; =============== FFMPEG MPEG CODECS ========================= + +videocodec ffdivx + info "FFmpeg 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 + driver ffmpeg + dll msmpeg4 + out YV12 + +videocodec ffodivx + info "FFmpeg OpenDivX" + status working + fourcc DIVX,divx + fourcc DIV1,div1 divx + fourcc MP4S,mp4s ; ISO MPEG-4 Video V1 + format 0x4 + driver ffmpeg + dll opendivx + out YV12 + +videocodec ffmpeg12 + info "FFmpeg-1" + status working + format 0x10000001 + driver ffmpeg + dll "mpeg1video" + out YV12 + + +; ============== OTHER STUFF ======================= + + +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,I420 + 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 + out YUY2 + out BGR32,BGR24,BGR15 + +videocodec indeo4 + info "Intel Indeo 4.1" + status working +; comment "upside-down" + fourcc IV41,iv41 + driver vfw + dll "ir41_32.dll" + out BGR24,BGR15 + +videocodec indeo3 + info "Intel Indeo 3.1/3.2" + status buggy + 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 cvid + info "Cinepak Video" + status working + fourcc cvid + driver vfw + dll "iccvid.dll" +; out YUY2 +; out UYVY + out BGR24,BGR15 + +videocodec cram + info "Microsoft Video 1" + status working + fourcc cram,CRAM,MSVC + driver vfw + dll "msvidc32.dll" + out BGR24,BGR15 + +videocodec vcr2 + info "ATI VCR-2" + status crashing + comment "segfault" + fourcc VCR2 + driver vfw + dll "ativcr2.dll" + out YUY2 + out BGR32,BGR24,BGR15 + +videocodec i263 + info "I263" + status working + fourcc I263,i263,I420,i420 + driver vfw + dll "i263_32.drv" +; out I420 + out YUY2 + out BGR32,BGR24,BGR15 + +videocodec mjpeg + info "Motion JPEG" + status working + fourcc MJPG + driver vfw + dll "mcmjpg32.dll" +; dll "m3jpeg32.dll" + out YUY2 + out UYVY + out BGR32,BGR24,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 wmv8 + info "Windows Media Video 8" + status crashing + comment "Floating point exception" + 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 ap41 + info "AngelPotion Definitive V1" ; yet another stolen stuff + comment "using the DivX ;-) codec" + status working + fourcc AP41 div3 + driver dshow + dll "divx_c32.ax" ; no need to use apmpg4v1.dll + guid 0x82CCd3E0, 0xF71A, 0x11D0, 0x9f, 0xe5, 0x00, 0x60, 0x97, 0x78, 0xaa, 0xaa + out YUY2 + out BGR32,BGR24,BGR16,BGR15 + +videocodec tm20 + info "TrueMotion 2.0" + status crashing + comment "segfault in the DLL" + fourcc TM20 + driver dshow + dll "tm20dec.ax" + guid 0x4cb63e61, 0xc611, 0x11D0, 0x83, 0xaa, 0x00, 0x00, 0x92, 0x90, 0x01, 0x84 +; out UYVY + out YUY2 + out BGR32,BGR24,BGR16,BGR15 + +videocodec dv + info "Sony Digital Video (DV)" + status working + fourcc DVSD 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 morgands + info "Morgan MJPEG" + status crashing + fourcc MJPG mjpg + driver dshow + dll "M3JPEGdec.ax" + guid 0x6988b440, 0x8352, 0x11d3, 0x9b, 0xda, 0xca, 0x86, 0x73, 0x7c, 0x71, 0x68 + out YUY2 + out BGR32,BGR24,BGR16,BGR15 + +videocodec huffyuv + info "HuffYUV" + status buggy + comment "YUY2 _or_ 24/32bpp only (depending on file encoding)" + fourcc HFYU + driver vfw + dll "huffyuv.dll" + out YUY2 flip,noflip +; out UYVY flip + out BGR32,BGR24 flip + +videocodec mszh + info "AVImszh" + status crashing + comment "calls RegEnumValueA()" + fourcc MSZH + driver vfw + dll "avimszh.dll" + out YUY2 + out BGR32,BGR24,BGR15 + +videocodec zlib + info "AVIzlib" + status crashing + comment "calls RegEnumValueA()" + fourcc ZLIB + driver vfw + dll "avizlib.dll" + out YUY2 + out BGR32,BGR24,BGR15 + +videocodec mwv1 + info "Motion Wavelets" + status crashing + comment "decompressquery failed" + fourcc MWV1 + driver vfw + dll "icmw_32.dll" +; out YV12 + out YUY2 + out BGR32,BGR24,BGR15 + + +videocodec m261 + info "M261" + status untested + fourcc m261,M261 + driver vfw + dll "msh261.drv" + out BGR32,BGR24,BGR15 + +videocodec asv2 + info "ASUS V2" + status buggy + comment "rgb upside down, yuv ok" + fourcc ASV2 + driver vfw + dll "asusasv2.dll" +; out YVYU + out UYVY + out BGR32,BGR24,BGR15 flip + +videocodec asv1 + info "ASUS V1" + status buggy + comment "rgb upside down, yuv ok" + fourcc ASV1 + driver vfw + dll "asusasvd.dll" +; out YVYU + out UYVY + out BGR32,BGR24,BGR15 flip + +;============================================================================= +; AUDIO CODECS +;============================================================================= + +audiocodec pcm + info "Uncompressed PCM" + status working + format 0x1 +;;;; 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 msadpcm + info "MS ADPCM" + status working + format 0x2 + driver acm + dll "msadp32.acm" + +; now mp3lib is stable enough!? +audiocodec mp3 + info "MPEG layer-2, layer-3" + status working + comment "Optimized to AMD 3Dnow!" + format 0x50 + format 0x55 + driver mp3lib + dll "mp3lib (mpglib)" + flags seekable + +audiocodec mp3acm + info "MPEG layer-3" + status working + comment "Optimized to Intel MMX/SSE, conflicts with security kernel patches" + format 0x55 + driver acm + dll "l3codeca.acm" + flags seekable + +audiocodec imaadpcm + 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 "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 + driver alaw + dll "ulaw" + +audiocodec dvdpcm + info "Uncompressed DVD PCM" + status working + format 0x10001 + driver dvdpcm + dll "uncompressed" + +audiocodec ac3 + info "AC3" + status working + format 0x2000 + driver libac3 + dll "libac3" + +audiocodec voxware + info "VoxWare" + status working ; audio is bubbling + 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 crashing + comment "DS: cannot connect Output pin" + 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 untested + format 0x401 +; driver gebasz diff --git a/incoming/mplayer/files/mplayer b/incoming/mplayer/files/mplayer new file mode 100644 index 000000000000..d7f130a26893 --- /dev/null +++ b/incoming/mplayer/files/mplayer @@ -0,0 +1,14 @@ +#!/bin/sh + +mplayerbin=`which mplayer-bin` + +if [ ! -d ~/.mplayer ] ; then + mkdir ~/.mplayer +fi + +if [ ! -f ~/.mplayer/codecs.conf ] ; then + cp /etc/codecs.conf ~/.mplayer/codecs.conf +fi + +$mplayerbin $@ + diff --git a/incoming/mplayer/files/mplayer.conf b/incoming/mplayer/files/mplayer.conf new file mode 100644 index 000000000000..676d36bdb34e --- /dev/null +++ b/incoming/mplayer/files/mplayer.conf @@ -0,0 +1,100 @@ +## +## MPlayer config file +## +## This file can be copied to /etc/mplayer.conf and/or ~/.mplayer/config . +## If both exist, the ~/.mplayer/config's settings override the +## /etc/mplayer.conf ones. And, of course command line overrides all. +## The options are the same as in the command line, but they can be specified +## more flexibly here. See below. +## + +vo=sdl # To specify default video driver (see -vo help for + # list) + +ao=sdl # To specify default audio driver (see -ao help for + # list) + +fs=no # Enlarges movie window to your desktop's size. + # Used by drivers: all + +vm=no # Tries to change to a different videomode + # Used by drivers: dga2, x11, sdl + +#bpp=16 # Force changing display depth. + # Valid settings are: 0, 15, 16, 24, 32 + # may need 'vm=yes' too. + # Used by drivers: fbdev, dga2, svga + +zoom=no # Enable software scaling (powerful CPU needed) + # Used by drivers: svga, aalib + +# x=800 # scale movie to <x> pixels width +# y=600 # scale movie to <y> pixels height + +## +## Multiple languages are available :) +## +## Hungarian igen nem +## English yes no +## German ja nein +## Spanish si no +## Binary 1 0 +## +## You can also use spaces and/or tabs. +## + +sound = 1 +nosound = no +mixer = /dev/mixer +master = no # no : set PCM volume yes : set MASTER volume + +## +## resample the fonts' alphamap +## 0 plain white fonts +## 0.75 very narrow black outline (default) +## 1 narrow black outline +## 10 bold black outline +## + +ffactor = 0.75 + +## +## FBdev driver: specify your monitor's timings, so resolutions +## can be autodetected. +## (see for example /etc/X11/XF86Config for timings!) +## ** CAUTION! IF YOUR DISPLAY DOESN'T SUPPORT AUTOMATICALLY TURNING OFF WHEN +## OVERDRIVED (AND EVEN IF IT DOES), THIS MAY CAUSE DAMAGE TO YOUR DISPLAY! +## WE AREN'T RESPONSIBLE, IT'S YOUR DECISION! ** +## +## k, K : means multiply by 1000 +## m, M : means multiply by 1.000.000 +## + + +## NB!! Edit this to your config .... works here, but wont work for all (: +fb = /dev/fb0 # framebuffer device to use +fbmode = 800x600-70 # use this mode (read from fb.modes!) +fbmodeconfig = /etc/fb.modes # the fb.modes file +monitor_hfreq = 30k-70k # horizontal frequency range +monitor_vfreq = 50-130 # vertical frequency range +#monitor_dotclock = 30M-300M # dotclock (or pixelclock) range + +## +## SDL driver +## + +# vo = sdl # use SDL video driver by default +# ao = sdl # use SDL audio driver by default +# sdl = aalib # specify driver to use (for ex.: aalib, dga, fbdev...) +#noxv = yes # whether to use XVideo hardware acceleration or not +forcexv = yes # force XVideo even if not detected +# sdla = esd # use SDL's ESD audio driver by default + +# nodshow # disable usage of DirectShow video codecs + +## +## You can also include other configfiles +## Specify full path! +## + +# include = /home/gabucino/.mplayer/savage4.conf diff --git a/incoming/mplayer/mplayer-0.18_pre-r1.ebuild b/incoming/mplayer/mplayer-0.18_pre-r1.ebuild new file mode 100644 index 000000000000..271a56c4bebb --- /dev/null +++ b/incoming/mplayer/mplayer-0.18_pre-r1.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Bruce A. Locke <blocke@shivan.org> +# /home/cvsroot/gentoo-x86/media-video/mplayer/mplayer-0.18_pre-r1.ebuild,v 1.5 2001/09/22 19:05:23 azarah Exp + + +MY_P="MPlayer-0.18pre" +S=${WORKDIR}/${MY_P}? +DESCRIPTION="Media Player for Linux" +SRC_URI="http://mp.dev.hu/MPlayer/releases/${MY_P}.tgz" +HOMEPAGE="http://mplayer.sourceforge.net" + +DEPEND="opengl? ( media-libs/mesa ) sdl? ( media-libs/libsdl ) \ + ggi? ( media-libs/libggi ) svga? ( media-libs/svgalib ) \ + X? ( virtual/x11 ) esd? ( media-sound/esound ) \ + alsa? ( media-libs/alsa-lib ) \ + dev-lang/nasm media-libs/w32codecs" + +RDEPEND="$DEPEND" + + +src_compile() { + + local myconf + + if [ -z "`use nls`" ] ; then + myconf="${myconf} --disable-nls" + fi + + if [ -z "`use opengl`" ] ; then + myconf="${myconf} --disable-gl" + fi + + if [ -z "`use sdl`" ] ; then + myconf="${myconf} --disable-sdl" + fi + + if [ -z "`use ggi`" ] ; then + myconf="${myconf} --disable-ggi" + fi + + if [ -z "`use mmx`" ] ; then + myconf="${myconf} --disable-mmx --disable-mmx2" + fi + + if [ -z "`use 3dnow`" ] ; then + myconf="${myconf} --disable-3dnow --disable-3dnowex" + fi + + if [ -z "`use sse`" ] ; then + myconf="${myconf} --disable-sse" + fi + + if [ -z "`use svga`" ] ; then + myconf="${myconf} --disable-svga" + fi + + if [ -z "`use X`" ] ; then + myconf="${myconf} --disable-x11 --disable-xv" + myprefix="/usr" + fi + + if [ -z "`use oss`" ] ; then + myconf="${myconf} --disable-ossaudio" + fi + + if [ -z "`use alsa`" ] ; then + myconf="${myconf} --disable-alsa" + fi + + if [ -z "`use esd`" ] ; then + myconf="${myconf} --disable-esd" + fi + + ./configure --mandir=/usr/share/man --prefix=/usr --host=${CHOST} ${myconf} || die + + make OPTFLAGS="${CFLAGS}" all || die + +} + +src_install() { + make prefix=${D}/usr/share BINDIR=${D}/usr/bin install || die + + rm DOCS/*.1 + dodoc DOCS/* + + # Install a wrapper for mplayer to handle the codecs.conf + mv ${D}/usr/bin/mplayer ${D}/usr/bin/mplayer-bin + cp ${FILESDIR}/mplayer ${D}/usr/bin/mplayer + chown root.root ${D}/usr/bin/mplayer + chmod 755 ${D}/usr/bin/mplayer + + # Try to get a basic mplayer.conf going + local video + local audio + + # Just incase we dont get a valid config + video="sdl" + audio="sdl" + + # Try to get a usuable -vo config + if [ -n "`use X`" ] ; then + if [ -n "`use sdl`" ] ; then + video="sdl" + + elif [ -n "`use ggi`" ] ; then + video="ggi" + + elif [ -n "`use opengl`" ] ; then + video="gl" + + else + video="x11" + fi + else + if [ -n "`use fbcon`" ] ; then + video="fbdev" + + elif [ -n "`use svga`" ] ; then + video="svga" + fi + fi + + # Try to get a usable -ao config + if [ -n "`use sdl`" ] ; then + audio="sdl" + + elif [ -n "`use alsa`" ] ; then + audio="alsa5" + + elif [ -n "`use oss`" ] ; then + audio="oss" + fi + + sed -e "s/vo=sdl/vo=${video}/" -e "s/ao=sdl/ao=${audio}/" ${FILESDIR}/mplayer.conf >mplayer.conf + + dodir /etc + cp mplayer.conf ${D}/etc/mplayer.conf + cp ${FILESDIR}/codecs.conf ${D}/etc/codecs.conf + chmod 644 ${FILESDIR}/codecs.conf ${D}/etc/codecs.conf + +} + diff --git a/incoming/w32codecs-0.18.ebuild b/incoming/w32codecs-0.18.ebuild new file mode 100644 index 000000000000..760ffb4c7504 --- /dev/null +++ b/incoming/w32codecs-0.18.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Martin Schlemmer <azarah@saintmail.net> + +S=${WORKDIR} +DESCRIPTION="Win32 binary codecs for MPlayer and maybe avifile as well." +SRC_URI="ftp://ftp.mplayerhq.hu/MPlayer/releases/w32codec.zip" +HOMEPAGE="http://www.mplayerhq.hu/" + +DEPEND="" + +src_install () { + cd ${S} + + dodir /usr/lib/win32 + cp ${S}/* ${D}/usr/lib/win32 +} + |