Speed up FFMpeg Font Cache checking.
Speed up FFMpeg Font Cache checking.
Thank you for the new version!
Is there any way to speed up FFMpeg font cache checking? It takes a minute to finish every time I load UMS, unlike Mencoder, which is almost instantaneous. And I think I don't use FFMpeg at all.
Thanks a lot in advance.
Is there any way to speed up FFMpeg font cache checking? It takes a minute to finish every time I load UMS, unlike Mencoder, which is almost instantaneous. And I think I don't use FFMpeg at all.
Thanks a lot in advance.
Re: Speed up FFMpeg Font Cache checking.
I think its a Lovely "Feature" of MPlayer - Font Cache
fontconfig
If you enable fontconfig, the first run of mplayer can take a while, even 2-3 minutes, because the font cache needs to be created. In the window you can follow fonts that are being parsed. Other runs you will have no delay until you make changes to the font directory.
Please remember to Upload your debug logs!
Universal Media Server Wiki!
"...functionality before beautification..."
Re: Speed up FFMpeg Font Cache checking.
FFmpeg can be compiled with fontconfig support also but I don't believe the shipped binaries have been compiled with it. I'm unsure if that would help with this issue, however, as I have never had this problem with FFmpeg.
Re: Speed up FFMpeg Font Cache checking.
Can't test it right now but I am sure that for mplayer, fontconfig generation was done only once or when new fonts were installed.
I can't say if ffmpeg does the same (once it is created, no other tries) or tries to recreate it every UMS start but it should do it only once.
Are you sure that every restart it is recreated?
I can't say if ffmpeg does the same (once it is created, no other tries) or tries to recreate it every UMS start but it should do it only once.
Are you sure that every restart it is recreated?
Re: Speed up FFMpeg Font Cache checking.
yeah i notice it.. i just never really cared about it.. i thought it was by design.
Please remember to Upload your debug logs!
Universal Media Server Wiki!
"...functionality before beautification..."
Re: Speed up FFMpeg Font Cache checking.
That-s the current behavior, (sloooooowly) recreating cache at every start of UMS, not much of a cache as expectedExSport wrote:tries to recreate it every UMS start but it should do it only once.
-- UMS serving PS3, WDTV, Samsung H6400 + J5500 and Kalemsoft renderers! (no video transcoding but remuxing accepted )
Re: Speed up FFMpeg Font Cache checking.
Ok, so it seems to be a bug. In major UMS updates cache is recreated also in case it exists due to possibility of incompatible,broken or missing cache.
Maybe because of that it is recreated continually also in case job already passed.
Subjunk should answer it as a owner of ffmpeg cache code
Maybe because of that it is recreated continually also in case job already passed.
Subjunk should answer it as a owner of ffmpeg cache code
Re: Speed up FFMpeg Font Cache checking.
It's only created once for me, just like MPlayer. Which operating system are you on?
Re: Speed up FFMpeg Font Cache checking.
W7 x32 Professional, latest Java7 updateSubJunk wrote:It's only created once for me, just like MPlayer. Which operating system are you on?
-- UMS serving PS3, WDTV, Samsung H6400 + J5500 and Kalemsoft renderers! (no video transcoding but remuxing accepted )
Re: Speed up FFMpeg Font Cache checking.
Same as me, but mine gets created only once. Weird. Maybe the cache creation is failing for you