用Mplayer看mkv和DVD时字幕的问题

前两天下了完美版的friends,是mkv格式的。开始看时居然没有字幕,后来用google搜之,发现是参数没设对,播放时需要加上-sid这个参数

−sid (also see −slang option)

Turns on DVD subtitle displaying. Also, you MUST specify a number which corresponds to a DVD subtitle language (0−31). For the list of available subtitles, use with the −v option and look at the output.

对于完美版的friends来说 -sid 1 英文字幕 -sid 0 中文字幕。如果中文字幕乱码,需要加上

回應

評論查看選項

選擇你喜歡的顯示回應的模式,並點選「儲存設定」,以啟用你所做的改變。

I much prefer xine/xine-ui ov

I much prefer xine/xine-ui over mplayer. For one thing, you cannot fast forward with mplayer. Skipping frames are not very useful in most case. And I am kinda used to xine's keyboard layout. Maybe because it is easier to find out the keyboard shortcuts with xine.

And lately mplayer (marillat build) is not as stable as xine.

Both mplayer and Xine are not friendly on Debian testing

I would say both mplayer and Xine are not friendly on Debian testing.

First, Mplayer is not included as offical debian package (only form marillat build) . It will need to do some command line options to make it work. But it is complicated.

The Debian (Testing) Gnome come with totem-xine which always crash on playing D9 DVD. The worst is that I can not find any document on it. Also not know where I can find decoder plug-in for Totem, but Totem always said no decoder for video.

so, too bad for Debian lover.

kmlhk79

Oh, totem sucked ass when I u

Oh, totem sucked ass when I used it, i.e. about 2 years ago. It still sucks but maybe not so crash happy now a day. I like xine-ui as the front-end to the libxine1. gxine is not matured.gxine was kinda dropped by the upstream for a while. Only recently someone picked up gxine and started working on it again.

My suggestion is to install libxine1, xine-ui and w32codecs (this one is from the marillat site.) and then Voila!

About mplayer, what command l

About mplayer, what command line options? Just edit your /etc/mplayer/mplayer.conf, set vo=xv, ao=esd,alas. Now you have your video output and audio output set to something usable, everything else should just work when you 'mplayer somerip.avi'.

Of course ~/.mplayer/* also works.

Re totem-xine in Debian

For me, totem-xine is no problem.
Totem-xine use the library both xine and mplayer.
So it need not to find any plug-in for itself.
(It is so different if you use totem-gstreamer)
You can just use the mplayer win32 lib installed in /usr/lib/win32, and xine lib.

I can see different kind of formart on totem-xine.

If the debian xine lib not work for you. You can download the orgianl source, compile it, and replace the debian one.

If your no sound when playing

If your no sound when playing video with totem in Debian Sarge, then pls reinstall it.

I got it work after reinstall the totem on my IBM X24 notebook.