[Suggestion] Cache Video/Picture Thumbnails

If you have a suggestion for a feature, post it here
User avatar
SubJunk
Lead Developer
Posts: 3706
Joined: Sun May 27, 2012 4:12 pm

Re: Cache Video/Picture Thumbnails

Post by SubJunk »

Yeah I'm not sure what would be the best way to do it. A good thing about storing it in memory is faster fetching, but considering the problems Java seems to have with freeing memory it might be nice to limit memory use when we can. So there are good points for either way. I would be happy with either way. You know me, if a feature works I'm not picky about how :p
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Cache Video/Picture Thumbnails

Post by SharkHunter »

My real question was if it doesn't work right now? We call ffmpeg once to extract all metadata plus the thumb and then we store it all in memory. Once you restart UMS the process would be done again. The thing we can get rid of is the "extra" call to ffmpeg to extract the thumb (after a restart). But I think we'll still need to extract the meta data so how big is the gain to cache the thumbs to disc?
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
User avatar
SubJunk
Lead Developer
Posts: 3706
Joined: Sun May 27, 2012 4:12 pm

Re: Cache Video/Picture Thumbnails

Post by SubJunk »

I think the speed gain will be significant enough to be worth it
Post Reply