[MPlayer-users] Modify mplayer source to not exit at end of file

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Aug 17 19:40:39 CEST 2010


On Tue, Aug 17, 2010 at 11:26:46AM +0200, Stefan Sassenberg wrote:
> Am 17.08.10 11:11, schrieb Oliver Seitz:
> >Am 17.08.2010 11:02, schrieb Stephen Mollett:
> >>Hi,
> >>
> >>On Mon, 16 August, 2010 23:27:44, James Board<jpboard2 at yahoo.com> wrote:
> >>>When I reach the end of a file by seeking forward past the end of the
> >>>file,
> >>>mplayer exits,
> >>>or when using a playlist, it moves to the next file. Can I somehow tell
> >>>mplayer to not exit
> >>>at the end of the file?
> >>
> >>I think the '-idle' command line option should do what you want. As it
> >>says in
> >>the man page, it's most useful in slave mode, when mplayer will wait
> >>around
> >>until you feed it more slave commands.
> >
> >It is right, mplayer will not exit at the end of a file or at the end of
> >a playlist when you use the -idle switch.
> >
> >I think, however, it will still move to the next playlist item when
> >seeking past the end of a file, so it's only half the problem solved.
> >
> If you apologize me joining this thread there's another point. When
> I'm recording a stream with -dumpstream and jump beyond the end of
> the stream I'd like to just continue playing the stream. To pause
> would be ok, though.

-demuxer lavf should work, as should (with different behaviour) -loop 0.


More information about the MPlayer-users mailing list