Mplayer: Difference between revisions

From DrewWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
====Xvmc For mpeg2/DVD only====
====Xvmc For mpeg2/DVD only====
Setup Xvmc - http://www.mythtv.org/wiki/index.php/XvMC
Setup Xvmc - http://www.mythtv.org/wiki/index.php/XvMC
<pre>mplayer -vo xvmc -vc ffmpeg12mc -dvd://1</pre>
<syntaxhighlight lang=bash>
mplayer -vo xvmc -vc ffmpeg12mc -dvd://1
</syntaxhighlight>
 
====VDPAU For h264/AVC, VC-1/WMV3, and Mpeg1/2 ====
====VDPAU For h264/AVC, VC-1/WMV3, and Mpeg1/2 ====
Setup VDPAU - http://www.nvnews.net/vbulletin/forumdisplay.php?f=14
Setup VDPAU - http://www.nvnews.net/vbulletin/forumdisplay.php?f=14
<syntaxhighlight lang=bash>
./mplayer -vc ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau -vo vdpau some_file.avi
./mplayer -vc ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau -vo vdpau some_file.avi
 
</syntaxhighlight>


==DVD Related==
==DVD Related==
====Run DVD copied to hard drive====
====Run DVD copied to hard drive====
<pre>mplayer -dvd-device /mnt/raid5/drew/video_to_encode/futurama_beast_billion_backs/ dvd://</pre>
<syntaxhighlight lang=bash>
mplayer -dvd-device /mnt/raid5/drew/video_to_encode/futurama_beast_billion_backs/ dvd://
</syntaxhighlight>
 
====Force Different Language====
====Force Different Language====
<pre>mplayer -alang en</pre>
<syntaxhighlight lang=bash>
mplayer -alang en
</syntaxhighlight>
 
or
or
<pre>mplayer -aid 128</pre>
<syntaxhighlight lang=bash>
 
mplayer -aid 128
</syntaxhighlight>


==Different X Server==
==Different X Server==
<pre>mplayer -display :1</pre>
<syntaxhighlight lang=bash>
 
mplayer -display :1
</syntaxhighlight>


==Audio Output==
==Audio Output==
<pre>mplayer -ao alsa:device=hw=0.0</pre>
<syntaxhighlight lang=bash>mplayer -ao alsa:device=hw=0.0
<pre>mplayer -ao oss</pre>
mplayer -ao oss
</syntaxhighlight>

Latest revision as of 01:19, 25 January 2018

Video Acceleration / Video decoder offload to GPU

Xvmc For mpeg2/DVD only

Setup Xvmc - http://www.mythtv.org/wiki/index.php/XvMC

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

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

Setup VDPAU - http://www.nvnews.net/vbulletin/forumdisplay.php?f=14

./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
mplayer -ao oss