[MPlayer-users] Re: New Mplayer Release???

Martin Grim mgrim at freeler.nl
Thu Jul 10 21:55:47 CEST 2003


Hi,

> > c) of the -slave option together with a test program (the test program
> >    structure?) (test_program | mplayer -slave somefile.mpg).

> Such progam just need to print command on it's stdout.

I've tried this. My test_program wrote "pause" to stdout every 5 seconds. Thus, 
I expected mplayer to play first 5 seconds of "somefile.mpg", then to halt for 
5 seconds, then to play 5 seconds of "somefile.mpg" again. 

Unfortunately, this was not what happened: mplayer kept playing and paused only 
once (after 23 seconds).

I retried this with "seek 10 type=2" and then "seek 30 type=2". Thus, first 
(after initial wait to let mplayer start and cashe the mpg) jump to the 
position of 10 seconds. Again, after a little wait, jump to position af 30 
seconds.

This test failed as well. I've checked the documentation and the bug reports, 
but I could not find any hints. I'm quite sure of my test_program (tested this 
with another proggy which took data from stdin and wrote this to a file: all 
was well). So, where is the error? Do I expect something of MPEG2 files which 
it cannot or is something wrong with mplayer?

Regards,

Martin




More information about the MPlayer-users mailing list