特殊:Badtitle/NS100:MPlayer:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的1个中间版本) | |||
第6行: | 第6行: | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=apt.png '''Ubuntu 6.06 LTS (Dapper Drake) and later''' | https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=apt.png '''Ubuntu 6.06 LTS (Dapper Drake) and later''' | ||
Beginning with Ubuntu 6.06 Dapper Drake, you no longer need to match your CPU to the proper MPlayer package. <<BR>> Simply install the '''mplayer''' package from the [[UbuntuHelp:AddingRepositoriesHowto| Multiverse repository]]. | Beginning with Ubuntu 6.06 Dapper Drake, you no longer need to match your CPU to the proper MPlayer package. <<BR>> Simply install the '''mplayer''' package from the [[UbuntuHelp:AddingRepositoriesHowto| Multiverse repository]]. | ||
==== Error opening/initializing the selected video_out (-vo) device ==== | |||
If you encounter this problem, you much likley have desktop effects activated, and OpenGL runs your desktop. To change the selected vo device, right click anywhere on the mplayer control window (where the play and pause buttons etc are). Select "precerences", then "Video"-tab and change driver to "gl2". Restart mplayer and see if it helps. You can try different drivers to get better performance. | |||
<<BR>> | <<BR>> | ||
=== Streaming Video === | === Streaming Video === | ||
'''MPlayer''' provides excellent streaming video support for Mozilla, Firefox, Epiphany and Konqueror. To enable support for streaming media install the package '''mozilla-mplayer'''. | '''MPlayer''' provides excellent streaming video support for Mozilla, Firefox, Epiphany and Konqueror. To enable support for streaming media install the package '''mozilla-mplayer'''. | ||
'''[Edgy / Feisty]''' Firefox prefers the '''totem-mozilla''' plugin over '''mozilla-mplayer''', so you will need to remove the package '''totem-mozilla''' to enable the mplayer plugin. | '''[Edgy / Feisty]''' Firefox prefers the '''totem-mozilla''' plugin over '''mozilla-mplayer''', so you will need to remove the package '''totem-mozilla''' to enable the mplayer plugin. | ||
<<BR>> | |||
=== Tips Tricks & Techniques === | |||
==== Audio Video Syncing on FLV files ==== | |||
*To correct problems of audio and video being out of sync, edit or create the file '''~/.mplayer/config'''. Then add this text as a line anywhere in the file: | |||
'''mc=0''' | |||
<<BR>> | <<BR>> | ||
=== Supported Audio and Video Codecs === | === Supported Audio and Video Codecs === |
2010年5月19日 (三) 23:27的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/MPlayer }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/af | • {{#if: UbuntuHelp:MPlayer|Afrikaans| [[::MPlayer/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/ar | • {{#if: UbuntuHelp:MPlayer|العربية| [[::MPlayer/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/az | • {{#if: UbuntuHelp:MPlayer|azərbaycanca| [[::MPlayer/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/bcc | • {{#if: UbuntuHelp:MPlayer|جهلسری بلوچی| [[::MPlayer/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/bg | • {{#if: UbuntuHelp:MPlayer|български| [[::MPlayer/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/br | • {{#if: UbuntuHelp:MPlayer|brezhoneg| [[::MPlayer/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/ca | • {{#if: UbuntuHelp:MPlayer|català| [[::MPlayer/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/cs | • {{#if: UbuntuHelp:MPlayer|čeština| [[::MPlayer/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/de | • {{#if: UbuntuHelp:MPlayer|Deutsch| [[::MPlayer/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/el | • {{#if: UbuntuHelp:MPlayer|Ελληνικά| [[::MPlayer/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/es | • {{#if: UbuntuHelp:MPlayer|español| [[::MPlayer/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/fa | • {{#if: UbuntuHelp:MPlayer|فارسی| [[::MPlayer/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/fi | • {{#if: UbuntuHelp:MPlayer|suomi| [[::MPlayer/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/fr | • {{#if: UbuntuHelp:MPlayer|français| [[::MPlayer/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/gu | • {{#if: UbuntuHelp:MPlayer|ગુજરાતી| [[::MPlayer/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/he | • {{#if: UbuntuHelp:MPlayer|עברית| [[::MPlayer/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/hu | • {{#if: UbuntuHelp:MPlayer|magyar| [[::MPlayer/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/id | • {{#if: UbuntuHelp:MPlayer|Bahasa Indonesia| [[::MPlayer/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/it | • {{#if: UbuntuHelp:MPlayer|italiano| [[::MPlayer/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/ja | • {{#if: UbuntuHelp:MPlayer|日本語| [[::MPlayer/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/ko | • {{#if: UbuntuHelp:MPlayer|한국어| [[::MPlayer/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/ksh | • {{#if: UbuntuHelp:MPlayer|Ripoarisch| [[::MPlayer/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/mr | • {{#if: UbuntuHelp:MPlayer|मराठी| [[::MPlayer/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/ms | • {{#if: UbuntuHelp:MPlayer|Bahasa Melayu| [[::MPlayer/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/nl | • {{#if: UbuntuHelp:MPlayer|Nederlands| [[::MPlayer/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/no | • {{#if: UbuntuHelp:MPlayer|norsk| [[::MPlayer/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/oc | • {{#if: UbuntuHelp:MPlayer|occitan| [[::MPlayer/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/pl | • {{#if: UbuntuHelp:MPlayer|polski| [[::MPlayer/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/pt | • {{#if: UbuntuHelp:MPlayer|português| [[::MPlayer/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/ro | • {{#if: UbuntuHelp:MPlayer|română| [[::MPlayer/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/ru | • {{#if: UbuntuHelp:MPlayer|русский| [[::MPlayer/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/si | • {{#if: UbuntuHelp:MPlayer|සිංහල| [[::MPlayer/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/sq | • {{#if: UbuntuHelp:MPlayer|shqip| [[::MPlayer/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/sr | • {{#if: UbuntuHelp:MPlayer|српски / srpski| [[::MPlayer/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/sv | • {{#if: UbuntuHelp:MPlayer|svenska| [[::MPlayer/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/th | • {{#if: UbuntuHelp:MPlayer|ไทย| [[::MPlayer/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/tr | • {{#if: UbuntuHelp:MPlayer|Türkçe| [[::MPlayer/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/vi | • {{#if: UbuntuHelp:MPlayer|Tiếng Việt| [[::MPlayer/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/yue | • {{#if: UbuntuHelp:MPlayer|粵語| [[::MPlayer/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/zh | • {{#if: UbuntuHelp:MPlayer|中文| [[::MPlayer/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/zh-hans | • {{#if: UbuntuHelp:MPlayer|中文(简体)| [[::MPlayer/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MPlayer | UbuntuHelp:MPlayer | {{#if: | :}}MPlayer}}/zh-hant | • {{#if: UbuntuHelp:MPlayer|中文(繁體)| [[::MPlayer/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:MPlayer|:MPlayer|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :MPlayer/zh | | {{#ifexist: MPlayer/zh | | {{#ifeq: {{#titleparts:MPlayer|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:MPlayer|1|-1|}} | zh | | }}
MPlayer is a powerful and versatile media player that can play all types of free media formats (see the FreeFormats page) as well as most 'non-free' media formats. A companion program called MEncoder can be used to encode or transform any audio or video stream that MPlayer can read. See the Medibuntu wiki page for instructions about enabling support for encrypted DVD playback and non-native media formats in MPlayer and gmplayer. For more information visit the MPlayer web site.
Installing MPlayer
Ubuntu 6.06 LTS (Dapper Drake) and later
Beginning with Ubuntu 6.06 Dapper Drake, you no longer need to match your CPU to the proper MPlayer package. <
> Simply install the mplayer package from the Multiverse repository.
Error opening/initializing the selected video_out (-vo) device
If you encounter this problem, you much likley have desktop effects activated, and OpenGL runs your desktop. To change the selected vo device, right click anywhere on the mplayer control window (where the play and pause buttons etc are). Select "precerences", then "Video"-tab and change driver to "gl2". Restart mplayer and see if it helps. You can try different drivers to get better performance.
<
>
Streaming Video
MPlayer provides excellent streaming video support for Mozilla, Firefox, Epiphany and Konqueror. To enable support for streaming media install the package mozilla-mplayer.
[Edgy / Feisty] Firefox prefers the totem-mozilla plugin over mozilla-mplayer, so you will need to remove the package totem-mozilla to enable the mplayer plugin.
<
>
Tips Tricks & Techniques
Audio Video Syncing on FLV files
- To correct problems of audio and video being out of sync, edit or create the file ~/.mplayer/config. Then add this text as a line anywhere in the file:
mc=0
<
>
Supported Audio and Video Codecs
- Supported video codecs include:
- MPEG-1 (VCD) and MPEG-2 (SVCD/DVD/DVB) video
- MPEG-4 SP/ASP (for example, encoded with Div'X, Xvi'D or FFmpeg MPEG-4)
- H.264 (MPEG-4 AVC)
- Windows Media Video 7/8/9 (WMV1/2/3)
- Real'Video 1.0, 2.0 (G2)
- Real'Video 3.0 (RP8), 4.0 (RP9) (using Real libraries)
- Sorenson v1/v3 (SVQ1/SVQ3), Cinepak, RPZA and other Quick'Time codecs
- DV video
- Intel Indeo 2, 3 (3.1, 3.2)
- Intel Indeo 4.1 and 5.0 (using x86 DLL or X'Anim codecs)
- VIVO 1.0, 2.0, I263 and other H.263(+) variants (using x86 DLL)
- MJPEG, AVID, VCR2, ASV2 and other hardware formats
- FLI/FLC
- Huff'YUV
- various old simple RLE-like formats
- Supported audio codecs include:
- MPEG layer 1, 2, and 3 (MP3) audio
- AC3/A52 (Dolby Digital) audio (software or SP/DIF)
- AAC (MPEG-4 audio)
- WMA (Div'X Audio) v1, v2
- WMA 9 (WMAv3), Voxware audio, ACELP.net etc (using x86 DLLs)
- Real'Audio: SIPRO (using Real libraries)
- Real'Audio: DNET, Cooker, ATRAC3 and older codecs
- Quick'Time: Qclp, Q-Design QDMC/QDM2, MACE 3/6 (using QT libraries), ALAC
- Ogg Vorbis audio
- VIVO audio (g723, Vivo Siren) (using x86 DLL)
- alaw/ulaw, (ms)gsm, pcm, adpcm and other simple old audio formats
<
>
See also
- MPlayer Documentation at the MPlayer web site
- Video Transcoding Wiki
- MEncoder wiki page
- This wiki page explains how to install MPlayer from CVS
<
>