|
发表于 2009-7-9 19:40:27
|
显示全部楼层
Post by billkof;2004783
fedora11的mplayer好像优先用ffmpeg解码,而不会去用w32codecs,怎么样指定解码器呢?
错误如下
mplayer chap01.avi
MPlayer 29092-4.4.0 (C) 2000-2009 MPlayer Team
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 chap01.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [tscc] 800x600 16bpp 15.000 fps 49.9 kbps ( 6.1 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat 10
Selected video codec: [ffcamtasia] vfm: ffmpeg (FFmpeg TechSmith Camtasia Screen Codec)
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 8000 Hz, 2 ch, u8, 128.0 kbit/100.00% (ratio: 16000->16000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
[pulse] working around probably broken pause functionality,
see http://www.pulseaudio.org/ticket/440
AO: [pulse] 8000Hz 2ch u8 (1 bytes per sample)
Starting playback...
Unsupported PixelFormat 10
Unsupported PixelFormat 10
VDec: vo config request - 800 x 600 (preferred colorspace: Unknown 0x0000)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Unsupported PixelFormat 10
Unsupported PixelFormat 10
VDec: vo config request - 800 x 600 (preferred colorspace: Unknown 0x0000)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
FATAL: Could not initialize video filters (-vf) or video output (-vo).
Exiting... (End of file)
man mplayer
解码/过滤器选项
-ac <[-|+]编解码器1,[-|+]编解码器2,...[,]>
按 照在 codecs.conf 中音频编解码器的名称, 指定使用它们的优先级列表。编解码器名称前使用 "-" 表示忽略
它。编解码器名称前使用 "+" 表示锁定它, 这有可能会崩溃! 如果列表尾有 "," MPlayer 使用没有列出的编解
码器作为后备。
注意: 可用的编解码器其完整列表请参见 -ac help。
示例:
-ac mp3acm
锁定 l3codeca.acm MP3 编解码器。
-ac mad,
先尝试 libmad, 其它作为后备。
-ac hwac3,a52,
先尝试通过硬件解码AC-3, 然后是软件AC-3, 最后是其它。
-ac hwdts,
先尝试通过硬件解码DTS, 然后是其它。
-ac -ffmp3,
跳过 FFmpeg 的 MP3 编解码器。 |
|