[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:software:mplayer [2012/10/20 00:07 (UTC)] – aschyiel | howtos:software:mplayer [2012/10/20 00:27 (UTC)] – aschyiel | ||
---|---|---|---|
Line 5: | Line 5: | ||
== What is mplayer? == | == What is mplayer? == | ||
- | Basically, mplayer is a command-line movie player packaged into most slackware installations | + | Basically, mplayer is a command-line movie player packaged into most slackware installations; It happens to work like a champ with music files in addition to watching movies. |
Because mplayer doesn' | Because mplayer doesn' | ||
Line 25: | Line 25: | ||
* spacebar - Toggles pause/play. | * spacebar - Toggles pause/play. | ||
* return - Next track. | * return - Next track. | ||
+ | * ctrl+c - Escape/ | ||
== Gotchas == | == Gotchas == | ||
Line 31: | Line 32: | ||
== Playlists == | == Playlists == | ||
You can also tell mplayer to play tracks from a playlist. | You can also tell mplayer to play tracks from a playlist. | ||
- | Below are some examples: | + | |
+ | First you need to create a playlist file. | ||
< | < | ||
+ | $ find . -type f -iname *.mp3 > my_list.txt | ||
</ | </ | ||
+ | |||
+ | And then you can take the playlist and feed it into mplayer. | ||
< | < | ||
- | $ mplayer | + | $ mplayer |
</ | </ | ||
+ | |||
+ | If you're feeling frisky, you can also tell mplayer to shuffle your playlist as well. | ||
+ | < | ||
+ | $ mplayer -shuffle -playlist my_list.txt | ||
+ | </ | ||
+ | |||
+ | === Example Playlist Demonstration === | ||
+ | |||
+ | The below terminal output demonstrates mplayer playlists in action. | ||
+ | |||
+ | < | ||
+ | [ roach@sepsis: | ||
+ | [ roach@sepsis: | ||
+ | MPlayer 20101218-4.5.1 (C) 2000-2010 MPlayer Team | ||
+ | |||
+ | Playing SchoolyardHeroes/ | ||
+ | Audio only file format detected. | ||
+ | Clip info: | ||
+ | | ||
+ | | ||
+ | | ||
+ | Year: 2007 | ||
+ | | ||
+ | | ||
+ | | ||
+ | ========================================================================== | ||
+ | Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 | ||
+ | AUDIO: 44100 Hz, 2 ch, s16le, 256.0 kbit/18.14% (ratio: 32000-> | ||
+ | Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) | ||
+ | ========================================================================== | ||
+ | AO: [oss] 44100Hz 2ch s16le (2 bytes per sample) | ||
+ | Video: no video | ||
+ | Starting playback... | ||
+ | A: 20.8 (20.8) of 189.0 (03: | ||
+ | |||
+ | </ | ||
+ | |||
+ | Note: The above example' | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | |||
+ |