Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] mplayer EOF (was: Re: Any need for gszap?)



On Fri, 02 Jan 2004 00:43:37 +0100
Nico <nsabbi@tiscali.it> wrote:

> what EOF? can you explain please?

Excuse me if I step in the middle of this thread with something a little
different.

I would like to know if there is a way to avoid an EOF condition
in mplayer when reading from a file.

For example
  szap -r canale5
  cat /dev/dvb/adapter0/dvr0 >my_program.ts
then, after some minutes (with cat still running)
  mplayer my_program.ts
so I can see the time shifted program
and pause/jump forward/jump backward
but if I want to switch to "live" I can't just skip forward a few times
because if there are 56 minutes (which I have no way to know exactly) in the
file and I'm playing at 52, a +10 min skip will quit mplayer (end of file).

If mplayer is reading from a pipe it just blocks when he needs data,
it would be nice if something similar could be achieved for file
playback too, with a flag to enable "tail -f" behavior.

I can kind of workaround the problem with pipes, tail -f and other
tricks but it appears too complicated for such a simple thing.

Bye. Ciao.
-- 
   Roberto Ragusa    r.ragusa at libero.it


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index