LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-15-2003, 11:43 AM   #1
zexter
Member
 
Registered: Oct 2003
Location: Saint Louis, Missouri
Distribution: Mandrake 10 Official
Posts: 210

Rep: Reputation: 30
last mplayer question (for now)


ok i got mplayer workin thru command line, but how do i get it to repeat? so when i watch those lil 20 sec clips i can have it repeating!?


thanks
 
Old 11-15-2003, 11:47 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
From man mplayer:

-loop <number>
Loops movie playback <number> times. 0 means forever.
 
Old 11-15-2003, 12:25 PM   #3
zexter
Member
 
Registered: Oct 2003
Location: Saint Louis, Missouri
Distribution: Mandrake 10 Official
Posts: 210

Original Poster
Rep: Reputation: 30
well to play mpgs thru command line i do 'mplayer /home/zexter/movies/1.mpg'


so where do i put in the loop code?
 
Old 11-15-2003, 12:40 PM   #4
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
this is just a guess
mplayer -loop 0 /home/zexter/movies/1.mpg
mplayer -loop0 /home/zexter/movies/1.mpg
 
Old 11-15-2003, 12:41 PM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
It's all in the manpages, but to get you started here are some examples:

Play 5 times
mplayer -loop 5 some.movie

Mirror
mplayer -vf mirror some.movie

Scale ( to 512xYYY original ragio is maintained)
mplayer -vf scale -zoom -xy 512 some.movie

The mirror and/or scale example only work with certain video output drivers (see manpage)
To play with a different video output driver:
mplayer -vo <driver> some.movie

Use mplayer -vo help to see available video output drivers.

All can be combined:
mplayer -vo gl2 -vf mirror,scale -zoom -xy 512 -vf lavcdeint -vf eq=8 some.movie

2 new options in the above example:
-vf lavcdeint => deinterlace
-vf eg=8 => adjust brightness

If you want to change some default settings edit your ~/.mplayer/config file.

Hope this gets you going.

Last edited by druuna; 11-15-2003 at 12:45 PM.
 
  


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
Mplayer Question Whiteghost Linux - Software 3 10-11-2005 04:09 PM
Mplayer question.... Hammett Linux - Software 2 05-22-2004 03:12 PM
Question about mplayer vame87 Linux - General 10 08-27-2003 11:20 AM
Mplayer question gsmonk Linux - Software 5 03-08-2003 06:31 PM
Ok MPlayer question again digital bots Slackware 1 04-14-2002 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration