FAQ  •  Register  •  Login

More sophisticated caching

<<

kot

User avatar

DLNA master

Posts: 104

Joined: Sat Jan 08, 2011 5:36 pm

Post Tue Mar 29, 2011 4:40 am

More sophisticated caching

I think, the caching can be improved by:
  • Allowing to specify multiple directories — so that the temporary files can be spread out across multiple disks.
  • Splitting output into chunks of, say, 10 minutes each — I think, ffmpeg can do that...
Combined these would not only allow for better space and I/O utilization, it will also let serviio delete the earlier chunks — those, that are, say, more than 20 minutes behind of what is currently being sent to the player...
FreeBSD port of Serviio is now in the tree. Please, try using it and share your experience.
<<

OMEN

User avatar

Serviio newbie

Posts: 8

Joined: Sun Mar 27, 2011 7:33 am

Post Tue Mar 29, 2011 7:18 am

Re: More sophisticated caching

Agree with kot
+1

Wanna it too.
Sony BDV-E970W | Samsung LE-46C750R2 | Windows XP
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Mar 29, 2011 8:55 am

Re: More sophisticated caching

deleting the files early would disable rewinding further than those 20 minutes and it you stop and play the file again you'd have to start transcoding again.
<<

OMEN

User avatar

Serviio newbie

Posts: 8

Joined: Sun Mar 27, 2011 7:33 am

Post Tue Mar 29, 2011 9:03 am

Re: More sophisticated caching

and is it ever possible to stop or pause ffmpeg from transcoding when I stop playing video?
Sony BDV-E970W | Samsung LE-46C750R2 | Windows XP
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Mar 29, 2011 9:03 am

Re: More sophisticated caching

No, and even not advisable as someone else might be watching it at the same time on your second TV
<<

kot

User avatar

DLNA master

Posts: 104

Joined: Sat Jan 08, 2011 5:36 pm

Post Tue Mar 29, 2011 6:27 pm

Re: More sophisticated caching

zip wrote:deleting the files early would disable rewinding further than those 20 minutes and it you stop and play the file again you'd have to start transcoding again.

By splitting the files into chunks, it will be possible to delete some of the chunks — if, for example, there is a shortage of space...

Yet another benefit may be in helping the filesystem's caching — right now reading the middle of a huge file and sending it to the player competes for the cache-memory and the disk IO with the ffmpeg writing at the end of it... Some large slow disks may not like this.

No, and even not advisable as someone else might be watching it at the same time on your second TV

Serviio would know about that — and will avoid deleting the file, that anybody is currently watching or watched within the last whatever minutes...
FreeBSD port of Serviio is now in the tree. Please, try using it and share your experience.

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 21 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.