On Wed 14.07.2004 at 06:22:33PM +0200, Dirk Meyer wrote: > > Or extend Thomas' work so that one can simulate one variable-length > > buffer using several fixed-length buffers, which can be linked > > together using fields in the header of each buffer. Mmmmhhh, I have > > to think about this :) > > Maybe use the other ringbuffer patch from Jason Tackaberry?
The problem with ringbuffers is, that they limit the amount of time you can pause the TV. And if you want to have a large rungbuffer, it will take lots of space all the time. The idea you proposed some time ago was imho better: write the data into several small files of fixed size, and remove the files which have already been read. In this case you have timsehift ability with variable shift length (so if your mother calls and speaks for 2 hours, you will not miss half of the show, unlike in the ringbuffer scenario, where the buffer is limited to e.g. 20 min). And you won't use an awful lot of disk space if you don't pause the show at all (remember: 1 hour = 2GB of data in some cases). > > What I could do also is hack the seek function so that you can never > > seek after the end of the file (e.g. checking eof when seeking, and > > doing nothing if a jump would lead us after the end of the movie). This > > means that you cannot anymore quit mplayer by just fast-forwarding (but > > reaching the EOF while playing should work OK). I could also make this > > feature an option of mplayer, so that it would be activated only when > > timeshifting with a growing file (i.e. not using Thomas' timeshift > > buffer), using MPEG PS and TS files. > > That would be cool. An option is what would be best. It avoids some > problems we have right now. Matthieu -- (~._.~) Matthieu Weber - Universit� de Jyv�skyl� (~._.~) ( ? ) email : [EMAIL PROTECTED] ( ? ) ()- -() public key id : 452AE0AD ()- -() (_)-(_) "Humor ist, wenn man trotzdem lacht (Germain Muller)" (_)-(_) ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
