Mplayer: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
(New page: ==Video Acceleration / Video decoder offload to GPU== ====Xvmc For mpeg2/DVD only==== <pre>mplayer -vo xvmc -vc ffmpeg12mc -dvd://1 -alang en -ao alsa:device=hw=0.0</pre> ====VDPAU For h26...)
 
No edit summary
Line 1: Line 1:
==Video Acceleration / Video decoder offload to GPU==
==Video Acceleration / Video decoder offload to GPU==
====Xvmc For mpeg2/DVD only====
====Xvmc For mpeg2/DVD only====
<pre>mplayer -vo xvmc -vc ffmpeg12mc -dvd://1 -alang en -ao alsa:device=hw=0.0</pre>
<pre>mplayer -vo xvmc -vc ffmpeg12mc -dvd://1</pre>
====VDPAU For h264/AVC, VC-1/WMV3, and Mpeg1/2 ====
====VDPAU For h264/AVC, VC-1/WMV3, and Mpeg1/2 ====
./mplayer -vc ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau -vo vdpau some_file.avi
./mplayer -vc ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau -vo vdpau some_file.avi
Line 17: Line 17:
==Different X Server==
==Different X Server==
mplayer -display :1
mplayer -display :1
==Audio Output==
<pre>mplayer -ao alsa:device=hw=0.0</pre>

Revision as of 11:20, 14 December 2008

Video Acceleration / Video decoder offload to GPU

Xvmc For mpeg2/DVD only

mplayer -vo xvmc -vc ffmpeg12mc -dvd://1

VDPAU For h264/AVC, VC-1/WMV3, and Mpeg1/2

./mplayer -vc ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau -vo vdpau some_file.avi


DVD Related

Run DVD copied to hard drive

mplayer -dvd-device /mnt/raid5/drew/video_to_encode/futurama_beast_billion_backs/ dvd://

Force Different Language

mplayer -alang en

or

mplayer -aid 128


Different X Server

mplayer -display :1


Audio Output

mplayer -ao alsa:device=hw=0.0