Linux video: Difference between revisions

From miki
Jump to navigation Jump to search
(New page: == MPlayer== * Some tutorials ** http://www.linuxtutorialblog.com/post/tutorial-playing-around-with-mplayer * To '''play a file''': <pre>% mplayer <SOMEFILE></pre> * Handy '''keyboard sho...)
 
Line 1: Line 1:
== MPlayer==
== MPlayer==


'''External links'''
* Some tutorials

** http://www.linuxtutorialblog.com/post/tutorial-playing-around-with-mplayer
* http://www.linuxtutorialblog.com/post/tutorial-playing-around-with-mplayer
* To '''play a file''':

<pre>% mplayer <SOMEFILE></pre>

* Handy '''keyboard shortcuts''' during playback:
'''Playing video files'''
** Forward/Backward 10 seconds: ''Left arrow'' / ''Right arrow''

** Forward/Backward 1 minutes: ''Down arrow'' / ''Up arrow''
'''MPlayer''' plays video files. Many video formats are supported. To play a file:
** Forward/Backward 10 minutes: ''Page Down'' / ''Page Up''
<source lang="bash">mplayer <SOMEFILE></source>
* To play a file with '''scale factor''' (here 2)

<pre>% mplayer -xy 2 <SOMEFILE></pre>
Here a short summary of keyboard shortcuts that can be used during playback:
{| class="wikitable"
! Key !! Function
|-
|{{kbname|Left}} {{kbname|Right}}||Forward / backward 10 seconds
|-
|{{kbname|Down}} {{kbname|Up}}||Forward / backward 1 minutes
|-
|{{kbname|PgDn}} {{kbname|PgUp}}||Forward / backward 10 minutes
|}

Some frequently-used options:
<source lang="bash">
mplayer -xy 2 <SOMEFILE> # Plays a file with a scale factor of 2
</source>


'''Playing DVD's'''

Here some handy examples. '''Mplayer''' can also be used to play dvd files directly from the harddisk. Check <code>man mplayer</code> for more examples.

<source lang="bash">
mplayer dvd://1 # Quick start playing dvd from dvd-reader
mplayer dvd://5-7 # Only plays titles 5 to 7
mplayer dvd://1 -dvd-device /path/to/directory/ # Play DVD title 1 from a directory with VOB files
</source>

Revision as of 19:58, 26 July 2010

MPlayer

External links


Playing video files

MPlayer plays video files. Many video formats are supported. To play a file:

mplayer <SOMEFILE>

Here a short summary of keyboard shortcuts that can be used during playback:

Key Function
Left Right Forward / backward 10 seconds
Down Up Forward / backward 1 minutes
PgDn PgUp Forward / backward 10 minutes

Some frequently-used options:

mplayer -xy 2 <SOMEFILE>       # Plays a file with a scale factor of 2


Playing DVD's

Here some handy examples. Mplayer can also be used to play dvd files directly from the harddisk. Check man mplayer for more examples.

mplayer dvd://1                                  # Quick start playing dvd from dvd-reader
mplayer dvd://5-7                                # Only plays titles 5 to 7
mplayer dvd://1 -dvd-device /path/to/directory/  # Play DVD title 1 from a directory with VOB files