1 选择声道
使用smplayer播放一个rmvb文件时出现了中韩2种声音,工具栏上面有个stereo mode改了之后还是没有反应。查了网上,有人说用mplayer -stereo 2/1/0 也不行,可能这种方法只适用与mkv文件。
后来发现用一下方法解决:
左声道:
mplayer -af channels=1:1:1
右声道:
mplayer -af channels=1:1
看了下man,还真是复杂:
channels=nch[:nr:from1:to1:from2:to2:from3:to3:...]
Can be used for adding, removing, routing and copying audio
channels. If only is given the default routing is used,
it works as follows: If the number of output channels is bigger
than the number of input channels empty channels are inserted
(except mixing from mono to stereo, then the mono channel is re‐
peated in both of the output channels). If the number of output
channels is smaller than the number of input channels the ex‐
ceeding channels are truncated.
number of output channels (1-6)
number of routes (1-6)
Pairs of numbers between 0 and 5 that define where to
route each channel.
EXAMPLE:
mplayer -af channels=4:4:0:1:1:0:2:2:3:3 media.avi
Would change the number of channels to 4 and set up 4
routes that swap channel 0 and channel 1 and leave chan‐
nel 2 and 3 intact. Observe that if media containing
two channels was played back, channels 2 and 3 would
contain silence but 0 and 1 would still be swapped.
mplayer -af channels=6:4:0:0:0:1:0:2:0:3 media.avi
Would change the number of channels to 6 and set up 4
routes that copy channel 0 to channels 0 to 3. Channel
4 and 5 will contain silence.
反正我是没看懂,太专业了。暂且先用着吧
2, 播放mkv时死机
以前不会的,后来不知何时一播放720p的mkv时就开始死机,搜了下,发现新版本的mplayer要去掉xv标记
echo "media-video/mplayer -xv" >> /etc/portage/package.use
|
3, 字体问题
类如以下这种问题
Selected font is not scalable. Using ppem=15. 0 43% 154% 9.0% 112 0
FT_Set_Pixel_Sizes failed.
Wrong bounding box, width <= 0 !
无法准备好字幕字体。
|
解决方法是:设置/etc/mplayer/mplayer.conf中的fontconfig=0
4,中文字幕乱码
做了第3步之后,又出现新的问题,就是中文字幕都变成了乱码,解决方法是:
设置在.mplayer/config中加入
subcp=cp936
阅读(5949) | 评论(0) | 转发(0) |