Page 2 of 2
Re: Cache Video/Picture Thumbnails
Posted: Wed Jun 12, 2013 9:47 am
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
Re: Cache Video/Picture Thumbnails
Posted: Wed Jun 12, 2013 7:05 pm
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?
Re: Cache Video/Picture Thumbnails
Posted: Fri Jun 14, 2013 7:53 pm
by SubJunk
I think the speed gain will be significant enough to be worth it