LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-07-2002, 01:16 AM   #1
enzo250gto
Member
 
Registered: Oct 2001
Location: Tokyo, Japan
Distribution: Slackware
Posts: 105

Rep: Reputation: 15
mplayer playlist


I just did a search for this, and could not find the answer in the document file. How do you create a playlist for mplayer? I don't use the gui. I always type it in Eterm to run a file but would like a playlist so I can play the whole list or jump to files much quicker than typing them in everytime. Thanks.
 
Old 09-07-2002, 01:32 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I just was reading the docs on mplayer's site and found this:
Quote:
MPlayer utilizes a complex playtree. It consists of global options written as first (for example mplayer -vfm 5), and options written after filenames, that apply only to the given filename/URL/whatever (for example mplayer -vfm 5 movie1.avi movie2.avi -vfm 4).
You can group filenames/URLs together using { and }. It's useful with option -loop: mplayer { 1.avi -loop 2 2.avi } -loop 3 will play files in this order: 1 1 2 1 1 2 1 1 2
Head on over to The DOCS page and click on USAGE. There is alot of info there, some of it talks about playlist playing.

Cool
 
Old 09-07-2002, 01:40 AM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
It also would appear that after reading a few messages from the mailing list archives that the -playlist would be the command to use.

Try:
mplayer -playlist help OR
mplayer -playlist

It's not supported in certain versions, so you may need to get the latest (or even CVS) version to have it work.

Here's a link to the conv:
http://mplayerhq.hu/pipermail/mplaye...ly/018743.html

Cool
 
Old 09-07-2002, 01:41 AM   #4
enzo250gto
Member
 
Registered: Oct 2001
Location: Tokyo, Japan
Distribution: Slackware
Posts: 105

Original Poster
Rep: Reputation: 15
I have that with the DOCS in the download. I read the entire part on usage and did not see it. I'll relook. Did you get this from section 3 or 5?
 
Old 09-07-2002, 01:48 AM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Got me, I just read the whole damn thing Looks like the easiest way is to use the find feature on your browser and look for "playlist". I am now trying to read the mail lists. Here's another mail with a good idea:
http://mplayerhq.hu/pipermail/mplaye...ry/009958.html

Cool
 
Old 09-07-2002, 01:54 AM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
One other thing on playlists.

The list must only have 1 file per line, for example:
pico /home/user/myplaylist
/path/to/file/file.avi
/path/to/file/file/file.mpg
/path/to/file/file.avi
CTRL X
Y
Would give you 1 example of a playlist called "myplaylist". Now to run this thing:
mplayer -vo xv -playlist /home/user/myplaylist

And then using the controls from the DOCS:
Quote:
Keyboard controls from terminal:
<- or -> seek backward/forward 10 seconds
up or down seek backward/forward 1 minute
pgup/pgdown seek backward/forward 10 minutes
< or > seek backward/forward in playlist
Cool
 
Old 09-07-2002, 02:11 AM   #7
enzo250gto
Member
 
Registered: Oct 2001
Location: Tokyo, Japan
Distribution: Slackware
Posts: 105

Original Poster
Rep: Reputation: 15
MasterC,
I'll give this a shot. Not sure how you extracted all of that from the DOCS. I searched from the beginning for every occurance of "playlist" and I didn't come up with much. Could Emacs create a list of files with their path? I have over 1000 music videos and typing them out would take eons.
 
Old 09-07-2002, 02:15 AM   #8
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I also read some mails from the mail list archives.

You could do something like:
locate *.avi

And then highlight and paste (with middle button, or both buttons depending on your setup) into Emacs or whatever text editor you want. This would have the path to all the files, and you wouldn't have to type each one.

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do you create a playlist for mplayer Four Linux - Newbie 3 11-27-2005 07:42 PM
mplayer playlist zeus_iit Linux - Newbie 1 04-02-2005 06:10 PM
using mplayer with .asx without -playlist? Would be useful for mplayer plug-in pierrethibault Linux - Software 1 02-18-2005 08:12 AM
Playlist Problem on MPlayer... miclem Linux - Newbie 0 01-17-2005 06:53 AM
mplayer playlist or script help gotcha Linux - Software 0 09-02-2004 08:08 AM


All times are GMT -5. The time now is 11:38 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration