LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1067|回复: 2

mplayer play rmvb file don't have video

[复制链接]
发表于 2007-10-5 05:06:40 | 显示全部楼层 |阅读模式
1.Here is my USE.
USE="3dnow 3dnowext X a52 aac aalib acpi alsa apm avi berkdb bindist bonobo bzip2 cjk crypt cscope dga dri dvd encode esd firefox ftp gd gdbm gif gnome gtk icq imlib ipv6 java javascript jikes jpeg libg++ libwww mad matroska mikmod mmx mng motif mp3 mpeg mplayer multilib ncurses nls nptl odbc ogg opengl oss pam pdf perl png python quicktime readline samba sdl spell sse sse2 ssl svg svga theora tcpd truetype unicode usb vorbis xml xv xvid zlib"

2.Here I execute mplayer.
$ mplayer 246.rmvb
MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team
CPU: AMD Sempron(tm) Processor 3000+ (Family: 15, Model: 79, Stepping: 2)
MMX2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing 246.rmvb.
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
[real] Audio stream found, -aid 0
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
[real] Video stream found, -vid 1
Stream mimetype: logical-fileinfo
VIDEO:  [RV40]  640x480  24bpp  21.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
name: 246
author: ������ZHU
copyright: www.zmpig.com
comment:
Opening video filter: [screenshot]
==========================================================================
Requested video codec family [rv3040] (vfm=realvid) not available.
Enable it at compilation.
Requested video codec family [rv3040win] (vfm=realvid) not available.
Enable it at compilation.
Requested video codec family [rv40] (vfm=realvid) not available.
Enable it at compilation.
Requested video codec family [rv40win] (vfm=realvid) not available.
Enable it at compilation.
Requested video codec family [rv40mac] (vfm=realvid) not available.
Enable it at compilation.
Cannot find codec matching selected -vo and video format 0x30345652.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

3.What I have done.
My system is amd64.There is no win32codes,but there is essential-amd64.The readme in it said I can put them to /usr/lib/codecs or /usr/lib/win32.
I do,but the mplayer still can not find.
So if I know the path where mplayer to find,I can put essential to there to try.

These are what I can provide.Please help me.
 楼主| 发表于 2007-10-5 05:22:27 | 显示全部楼层

amd64codecs-20061203.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/amd64codecs/amd64codecs-20061203.ebuild,v 1.5 2007/07/02 15:07:12 peper Exp $

inherit multilib

DESCRIPTION="64-bit binary codecs for video and audio playback support"
SRC_URI="mirror://mplayer/releases/codecs/essential-amd64-${PV}.tar.bz2"
HOMEPAGE="http://www.mplayerhq.hu/"
LICENSE="as-is"
SLOT="0"
KEYWORDS="-* amd64"
S="${WORKDIR}/essential-amd64-${PV}"
RESTRICT="strip"

src_install() {
cd ${S}

# see #83221
insopts -m0644

dodir /usr/$(get_libdir)/codecs
insinto /usr/$(get_libdir)/codecs
doins *.so

dodoc README

dodir /etc/revdep-rebuild
cat - > "${D}/etc/revdep-rebuild/50amd64codecs" <
SEARCH_DIRS_MASK="/usr/$(get_libdir)/codecs"
EOF
}

This is what I have searched in google.
but I don't know how to do.
What is the .ebuild do?
回复 支持 反对

使用道具 举报

发表于 2007-10-5 12:50:27 | 显示全部楼层
since your english is very well, there is really no point to ask question here.
just go to http://forums.gentoo.org
if you want to figure out what an ebuild file does, check
http://devmanual.gentoo.org

btw, i have answered you on forums.g.o
https://forums.gentoo.org/viewtopic-p-4330619.html#4330619
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表