LinuxQuestions.org
Help answer threads with 0 replies.
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


Closed Thread
  Search this Thread
Old 06-26-2005, 11:48 PM   #1
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
repeat mode in mplayer


I've done a million google searches for this but i dont understand what the result pages are saying. How do i configure mplayer to repeat playback? thanks.
 
Old 06-27-2005, 02:49 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
use the -loop option
 
Old 06-27-2005, 04:08 AM   #3
sudhasmyle
Member
 
Registered: Nov 2004
Distribution: RedHat
Posts: 37

Rep: Reputation: 15
HI,
You can use -l option or press the space bar key at the end.

The best solution is configure with GUI mode while installing then you can do it simply just check the loop option.
 
Old 06-27-2005, 06:58 AM   #4
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Original Poster
Rep: Reputation: 30
could either of you tell me where to find this loop option? are you saying i have to recompile mplayer in order to get the loop playback feature?
 
Old 06-27-2005, 02:56 PM   #5
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Original Poster
Rep: Reputation: 30
bump
 
Old 06-27-2005, 03:20 PM   #6
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
You can involk loop from the command line with either "mplayer" or "gmplayer"

mplayer -loop 3 ~/my_video.mpg
gmplayer -loop 3 ~/my_video.mpg

3=number of times to loop

You can also use "PgDown" to restart current video playing manually. You could probably add the loop option in the mplayer.conf file but not sure if it would work. Probably better to just start manually from command line or make a script.

KC
 
Old 08-02-2005, 06:31 AM   #7
soupy
Member
 
Registered: Aug 2004
Posts: 40

Rep: Reputation: 15
loop playback

ok, i had to post a reply, because i've just tried the -loop option. i rtfm'd and thought i should be able to just add the line:

-loop 0

to the config file in ~/.mplayer but every time i try ti run mplayer with this in the config file, i get the error msg:

Option -loop needs a parameter at line 2

dunno what this means or how to fix it, but as cool as mplayer is, i'm sure there's a way to get it to loop playback, there's just gotta be.
 
Old 08-02-2005, 12:58 PM   #8
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
The only parameter -loop has in a number...

mplayer -loop 0 my_file.mp3

works fine and play's my_file continuous, however, it may be an option that mplayer will not use in the config file because it, (loop), may be looking for a filename before mplayer passes it...

You may be able to pass the -loop 0 option to a playlist, however, this would do basically the same thing...

KC
 
Old 12-05-2005, 02:22 PM   #9
sekhonp
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 1
looping and always on top

Here's what does the job in my /etc/mplayer/mplayer.conf

ontop="1"
loop="0"
 
1 members found this post helpful.
  


Closed Thread


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 to loop or repeat video in MPlayer GUI? Trey2501 Linux - Software 3 08-29-2015 06:46 PM
Mplayer Widnows on Top repeat gherikill Linux - Software 5 09-08-2005 01:43 PM
mplayer on text mode Kopesh Linux - Software 2 05-23-2005 12:41 PM
MPlayer - Not a repeat question inescapeableus Linux - Software 5 09-21-2004 12:18 AM
No repeat/loop option in mplayer? VinTSS Linux - Newbie 3 01-15-2004 05:33 AM

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

All times are GMT -5. The time now is 09:53 PM.

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
Open Source Consulting | Domain Registration