[已经解决,方法见回复]mplayer刚开机时由声音,一会儿再打开文件就没有声音了?

Totem,mplayer,sopcast,realplayer,bmp
回复
starskywolf
帖子: 27
注册时间: 2007-07-31 16:13
送出感谢: 0
接收感谢: 0

[已经解决,方法见回复]mplayer刚开机时由声音,一会儿再打开文件就没有声音了?

#1

帖子 starskywolf » 2007-08-17 21:49

mplayer刚开机时由声音,一会儿再打开文件就没有声音了?

请教? Confused Confused Confused Confused Confused Confused Confused Confused
上次由 starskywolf 在 2007-08-24 10:41,总共编辑 2 次。
starskywolf
帖子: 27
注册时间: 2007-07-31 16:13
送出感谢: 0
接收感谢: 0

#2

帖子 starskywolf » 2007-08-19 17:54

没有人来看呢?
今天开机后我又试着打开.mp3竟然一点声音不出了。

哎,“运命唯所系,循环不可寻”。。
wkt
帖子: 849
注册时间: 2006-09-07 22:51
送出感谢: 0
接收感谢: 0
联系:

#3

帖子 wkt » 2007-08-19 18:23

信息也太少了!
你开了其它播放器吗?
mplayer是自己编译的吗?
starskywolf
帖子: 27
注册时间: 2007-07-31 16:13
送出感谢: 0
接收感谢: 0

#4

帖子 starskywolf » 2007-08-23 20:45

不是自己编译的,直接sudo apt-get install mplayer 装的。

输出如下:
starskywolf@starskywolf-laptop:~$ mplayer -vo null 憨豆先生的假期.rmvb
MPlayer 2:1.0~rc1-0ubuntu9.1 (C) 2000-2006 MPlayer Team
CPU: Genuine Intel(R) CPU T2250 @ 1.73GHz (Family: 6, Model: 14, S
tepping: 8)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing 憨豆先生的假期.rmvb.
REAL file format detected.
Stream description: Audio Stream
Stream mimetype: audio/x-pn-realaudio
Stream description: Video Stream
Stream mimetype: video/x-pn-realvideo
Stream mimetype: logical-fileinfo
VIDEO: [RV40] 672x352 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
name: mvs-bean
author: XIAOXAO
copyright: zj169.net
comment:
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
Selected video codec: [rv3040] vfm: realvid (Linux RealPlayer 10 RV30/40 deco
der)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.1 kbit/4.54% (ratio: 8010->176400)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
==========================================================================
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
AO: [sdl] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 672 x 352 (preferred colorspace: Planar I420)
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is 1.91:1 - prescaling to correct movie aspect.
VO: [null] 672x352 => 672x352 Planar I420
A: 21.6 V: 21.6 A-V: -0.009 ct: -0.158 518/518 17% 0% 1.6% 1 0
Exiting... (Quit)
starskywolf
帖子: 27
注册时间: 2007-07-31 16:13
送出感谢: 0
接收感谢: 0

#5

帖子 starskywolf » 2007-08-24 10:37

[第一步]首先把mplayer卸载
sudo apt-get remove mplayer
[第二步]增加软件源,因为官方源里已经没有mplayer了。
在“应用程序-附件-终端”里输入:
代码:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup

sudo gedit /etc/apt/sources.list

#Mirror.lupaworld.com 源
deb http://mirror.lupaworld.com/ubuntu feisty main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu feisty-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu feisty-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty-backports main restricted universe multiverse
#cn99.com 源
deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
然后在终端里输入
引用:
sudo apt-get update

sudo apt-get dist-upgrade

然后“系统-系统管理-软件源-第三方软件-Add..”

在文本框里把
deb http://mirror.lupaworld.com/ubuntu feisty main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu feisty-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu feisty-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu feisty-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
烤进去
[第三步]
sudo apt-get install mplayer mozilla-mplayer totem-xine libxine-extracodecs
完成就ok了。


不过就是声音太小。。。。正在想办法。
cctgwxd
帖子: 24
注册时间: 2007-08-24 19:39
送出感谢: 0
接收感谢: 0

#6

帖子 cctgwxd » 2007-08-30 14:31

我的也是,开机是有声音,MP3播放时没声音,不知道怎么回事,装了好多解码的还是这样,急阿
回复

回到 “影音多媒体”