如何配置mplayer始终使用VDPAU?

我刚刚学会了如何使用mplayer从命令行使用-vc ffh264vdpau开关来利用VDPAU。

如何在我的.mplayer/config文件中设置该配置,这样每次我想看文件时都不必记住那个长标志?

为什么不在〜/ .mplayer / config文件中放置要尝试的video输出和编解码器列表? 如:

 ################## # video settings # ################## # Specify default video driver (see -vo help for a list). vo=vdpau ############ # Profiles # ############ # The options declared as part of profiles override global default settings, # but only take effect when the profile is active. [vo.vdpau] vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau, # Most video filters do not work with vdpau. vf-clr=yes 

1每个设置中的尾随逗号告诉mplayer在必要时回退到标准编解码器