LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mplayer click one file after another (https://www.linuxquestions.org/questions/linux-software-2/mplayer-click-one-file-after-another-36026/)

jang 11-20-2002 10:31 PM

mplayer click one file after another
 
Is is possible to click one file after another in mplayer, just like windows? While playing a file, I clicked on another one, and I always get the error -vo device error. I have to close the original mplayer before I can choose another one. Even after doing that, I have to reconfigure my -vo device before I can have my sound back.

Please help

MasterC 11-21-2002 01:19 AM

Not quite sure what you mean "click"? When I use mplayer, I type:
mplayer -vo xv /path/to/file/filename.avi

Or, after I set my preferences in ~/.mplayer/config with:
vo=xv

Then I just have to type:
mplayer /path/to/file/filename.avi

So if you mean "how do I set the vo device" well then, there ya go ;)

If not, what did you mean?

Cool

jang 11-21-2002 02:28 AM

I mean while a file is playing, can I just click on another file and have mplayer immediately play that file instead, without having to close mplayer before clicking on a second file. As it is right now, while playing a file, I have to close mplayer before clicking on another file, otherwise, before playing the second file, a video output error will occur. When I press ok, the sounds will be muted, and I will have to reset video out to right driver before sound returns.

0x0001 11-21-2002 10:44 AM

click? waddaya mean click? you are using linux, get prepared to use the keyboard.:D

Na seriously, this sounds like you use the GUI. The mplayer gui is very alpha, drop it. You can also specifiy multiple files by using the console command and even switch between those.

$mplayer a.avi b.avi c.mpg

will start mplayer an plays a.avi. now you can switch with > forward in you're "playlist" and with < you can go backwards.

jang 11-21-2002 07:00 PM

I forgot to mention that I am, as you said, using GUI. I guess I would have to use console if I want more performance. Thanks for your advice.


All times are GMT -5. The time now is 06:01 PM.