个人工具

“UbuntuHelp:MPlayer”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的9个中间版本)
第2行: 第2行:
 
{{Languages|UbuntuHelp:MPlayer}}
 
{{Languages|UbuntuHelp:MPlayer}}
 
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=mplayer.png
 
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=mplayer.png
'''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 [[UbuntuHelp:MEncoder| MEncoder]]  can be used to encode or transform any audio or video stream that MPlayer can read. See the RestrictedFormats wiki page for instructions for enabling non-free formats in MPlayer and gmplayer. For more information visit the [http://www.mplayerhq.hu/homepage/design7/news.html MPlayer web site].
+
'''MPlayer''' is a powerful and versatile media player that can play all types of free media formats (see the [[UbuntuHelp:FreeFormats|FreeFormats]] page) as well as most 'non-free' media formats. A companion program called [[UbuntuHelp:MEncoder|MEncoder]]  can be used to encode or transform any audio or video stream that MPlayer can read. See the [[UbuntuHelp:Medibuntu|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 [http://www.mplayerhq.hu/homepage/design7/news.html MPlayer web site].
 
=== Installing MPlayer ===
 
=== Installing MPlayer ===
 
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]].
<br>
+
==== 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>>
 
=== 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>
+
<<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>>
 
=== Supported Audio and Video Codecs ===
 
=== Supported Audio and Video Codecs ===
 
* Supported video codecs include:
 
* Supported video codecs include:
** MPEG-1 (VCD) and MPEG-2 (SVCD/DVD/DVB) video
+
* 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)
+
* MPEG-4 SP/ASP (for example, encoded with Div''''''X, Xvi''''''D or FFmpeg MPEG-4)
**** H.264 (MPEG-4 AVC)
+
* H.264 (MPEG-4 AVC)
**** Windows Media Video 7/8/9 (WMV1/2/3)
+
* Windows Media Video 7/8/9 (WMV1/2/3)
**** Real''''''Video 1.0, 2.0 (G2)
+
* Real''''''Video 1.0, 2.0 (G2)
**** Real''''''Video 3.0 (RP8), 4.0 (RP9) (using Real libraries)
+
* Real''''''Video 3.0 (RP8), 4.0 (RP9) (using Real libraries)
**** Sorenson v1/v3 (SVQ1/SVQ3), Cinepak, RPZA and other Quick''''''Time codecs
+
* Sorenson v1/v3 (SVQ1/SVQ3), Cinepak, RPZA and other Quick''''''Time codecs
**** DV video
+
* DV video
**** Intel Indeo 2, 3 (3.1, 3.2)
+
* Intel Indeo 2, 3 (3.1, 3.2)
**** Intel Indeo 4.1 and 5.0 (using x86 DLL or X''''''Anim codecs)
+
* 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)
+
* VIVO 1.0, 2.0, I263 and other H.263(+) variants (using x86 DLL)
**** MJPEG, AVID, VCR2, ASV2 and other hardware formats
+
* MJPEG, AVID, VCR2, ASV2 and other hardware formats
**** FLI/FLC
+
* FLI/FLC
**** Huff''''''YUV
+
* Huff''''''YUV
**** various old simple RLE-like formats
+
* various old simple RLE-like formats
 
* Supported audio codecs include:
 
* Supported audio codecs include:
** MPEG layer 1, 2, and 3 (MP3) audio
+
* MPEG layer 1, 2, and 3 (MP3) audio
*** AC3/A52 (Dolby Digital) audio (software or SP/DIF)
+
* AC3/A52 (Dolby Digital) audio (software or SP/DIF)
**** AAC (MPEG-4 audio)
+
* AAC (MPEG-4 audio)
**** WMA (Div''''''X Audio) v1, v2
+
* WMA (Div''''''X Audio) v1, v2
**** WMA 9 (WMAv3), Voxware audio, ACELP.net etc (using x86 DLLs)
+
* WMA 9 (WMAv3), Voxware audio, ACELP.net etc (using x86 DLLs)
**** Real''''''Audio: SIPRO (using Real libraries)
+
* Real''''''Audio: SIPRO (using Real libraries)
**** Real''''''Audio: DNET, Cooker, ATRAC3 and older codecs
+
* Real''''''Audio: DNET, Cooker, ATRAC3 and older codecs
**** Quick''''''Time: Qclp, Q-Design QDMC/QDM2, MACE 3/6 (using QT libraries), ALAC
+
* Quick''''''Time: Qclp, Q-Design QDMC/QDM2, MACE 3/6 (using QT libraries), ALAC
**** Ogg Vorbis audio
+
* Ogg Vorbis audio
**** VIVO audio (g723, Vivo Siren) (using x86 DLL)
+
* VIVO audio (g723, Vivo Siren) (using x86 DLL)
**** alaw/ulaw, (ms)gsm, pcm, adpcm and other simple old audio formats
+
* alaw/ulaw, (ms)gsm, pcm, adpcm and other simple old audio formats
<br>
+
<<BR>>
 
=== See also ===
 
=== See also ===
 
* [http://www.mplayerhq.hu/DOCS/HTML/en/index.html MPlayer Documentation] at the MPlayer web site
 
* [http://www.mplayerhq.hu/DOCS/HTML/en/index.html MPlayer Documentation] at the MPlayer web site
第46行: 第53行:
 
* [[UbuntuHelp:MEncoder| MEncoder wiki page]]
 
* [[UbuntuHelp:MEncoder| MEncoder wiki page]]
 
* [[UbuntuHelp:MPlayer/CVS| This wiki page]] explains how to install MPlayer from CVS
 
* [[UbuntuHelp:MPlayer/CVS| This wiki page]] explains how to install MPlayer from CVS
<br>
+
<<BR>>
 
----
 
----
[[category:CategoryDocumentation]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月19日 (三) 23:27的最新版本


IconsPage?action=AttachFile&do=get&target=mplayer.png 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

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. <
> 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

<
>