[MPlayer-users] repeat a-b
wolfgang_a_h at gmx.at
wolfgang_a_h at gmx.at
Tue Jul 10 03:04:11 CEST 2007
Hi all,
as I did not receive a single reaction to my post about 2 weeks ago I try it once again - I'm really curious why the repeat function does not work for real media files. Moreover, the repeat function could be working more seamlessly, see below.
=== Original post ===
Hi all,
I found the following in the list when googling for a similar problem:
-------------------------
[MPlayer-users] how to enable repeat a-b function?
Giacomo Comes comes at naic.edu
Mon Nov 13 15:58:01 CET 2006
Previous message: [MPlayer-users] how to enable repeat a-b function?
Next message: [MPlayer-users] Bind F11 to fullscreen
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, Nov 13, 2006 at 08:16:46AM -0200, Leonardo B. Oliveira wrote:
> Hello everyone,
>
> I'd like to know if it is possible to enable the function
> "repeat a-b" (to repeat the period bwt a and b) in mplayer . In
> my opinion, mplayer is the best player, but it lacks this
> helpful feature. Any help will be much appreciated.
>
-ss start -endpos end -loop 0 -fixed-vo
Giacomo
------------------------------------------
Nope, does not work that way for me for rm (real media) files.
If I do it that way (e.g. -ss 00:47:00 -endpos 00:47:10 -loop 0 -fixed-vo) mplayer just spits out "starting playback" repeatedly, without showing the 10 secs I'd like to repeat (empty output window).
I tried following the example in the man page:
(...)
When used in conjunction with -ss option, -endpos time will shift forward by seconds specified with -ss.
EXAMPLE:
(...)
-ss 10 -endpos 56
Stop at 1 minute 6 seconds.
(...)
it does not work either - mplayer immediately ends playback with "Exiting... (End of file)" (shortly opening the playback window).
The -ss option alone works flawlessly.
It seems to work with some of the other formats (I did not try all of them...;o). But still the behaviour is not very desirable, because there is quite a large pause at the beginning of each loop (presumably the search time).
What I would need is a seamless repitition of a configurable portion of the media file and an option to specify how often to do it (perhaps something like "-repeat 00:00:10-00:00:15x4" or the like), perhaps with caching of the snippet to make it work seamlessly.
If this would work just during normal playback it would be perfect, e.g. play the first 30 secs, then repeat the next 10 secs four times, play again for 15 secs, repeat the next 5 secs once and then continue till the end:
mplayer -repeat 00:00:30-00:00:40x4,00:00:55-00:01:00 mediafile
The option format is of course debatable ;o) "x0" could e.g. mean "repeat forever" etc.
More information about the MPlayer-users
mailing list