You are not logged in.

#1 2010-05-26 07:13:57

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

MPlayer closes at End of File

Hello guys,

MPlayer's normal behaviour is to exist the playback when it reaches the End of File. This is a bit annoying, especially when I watch or listen to a stream and MPlayer exists completely because the system is buffering not fast enough due to my slow internet connection.

How can I configure MPlayer that it stops at EOF, waits until buffering continued to some percent, and then play it again.

I hope it is clear what I'm trying to achieve though. tongue

Best regards

Offline

#2 2010-05-26 07:20:57

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: MPlayer closes at End of File

What about -idle?

Offline

#3 2010-05-26 08:27:05

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: MPlayer closes at End of File

Also, for streams, try the to set the -cache option to something higher than normal.

Ogion


(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant

Offline

#4 2010-05-26 08:33:33

davvil
Member
Registered: 2008-05-06
Posts: 165

Re: MPlayer closes at End of File

There is also a -loop option. For streams it may be useful.

Offline

#5 2010-05-26 09:32:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MPlayer closes at End of File

Offline

#6 2010-05-27 06:20:49

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: MPlayer closes at End of File

Hello guys,

I looked into all of you propositions but none of them suits to my need.

Simply all I want is that MPlayer still continues to buffer when I pause the playback. The current behaviour is that it stops buffering after I pause it and when I play it again only plays until it reaches EOF - not surprisingly since it hadn't buffered in the background.

Regards

Last edited by orschiro (2010-05-27 06:21:26)

Offline

#7 2010-05-27 09:14:57

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: MPlayer closes at End of File

Look at the bug report and update your system.

Offline

#8 2010-05-27 10:53:25

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: MPlayer closes at End of File

Do I understand the bug report right that it's currently only fixed in the svn version?

I updated the regular version from the official repos but without any change yet.

Regards

Offline

#9 2010-05-27 10:59:29

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: MPlayer closes at End of File

@orschiro we had downgraded to mplayer 31147-2 and a simple pacman -Syu will bring it.


Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2010-05-27 11:06:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: MPlayer closes at End of File

For me adding '-loop 0' would work too - if the stream ends, mplayer automatically tries to reconnect so I get a second or two silence and than the music plays again.

Offline

Board footer

Powered by FluxBB