No, as I've stated in my original post, if you remove the subtitles, the video starts as fast as it used to on Leopard.Does this also happen when playing files without subtitles
No, it has nothing to do with the file container. If you open a file without subtitles (avi/mkv/mp4 etc.) it will start playing almost instantly, if you then click [Video->Subtitles->Open Subtitles] and select any SSA subtitle file the video will freeze for approximately 1 minute before it continues playing...and more importantly files which aren't in the MKV container format? (such as MPEG, AVI, MP4, etc.)
I don't know if you're implying that VLC in general recreates the SSA font cache under the Mac, but I would like to point out that this issue is definitely a Snow Leopard only problem... Under Leopard these videos (with subtitles embedded) all start at normal speed on the same copy of VLC. Switch over to Snow Leopard and you have to wait a minute to load the same videos.I guess that is just that VLC on mac recreates the SSA fonts cache over and over.
That is exactly what I was thinking for a while now. I think it is possible that the permissions on a directory has changed on Snow Leopard - a directory VLC uses for its font cache, that would cause VLC to fail saving the font cache, forcing a rebuild every time you open a subtitle file. It could of course be more complicated than this, but it is what I am thinking is the most obvious explanation.Maybe the issue is about the fontcache not being able to be saved...
Yes, that is correct. I have 3 partitions, one for the OS and /Applications, one for my home folder and one for my Bootcamp partition... I've had the same setup in Leopard though, so I don't believe that is the cause of the problem - but that does explain why it sets the directory to /Volumes/Home .It your home folder stored on a volume, which is not the startup disk?
Sorry, you'll have to be a bit more informative on this one... I don't usually debug under the osx environment and know next to nothing about the internals of VLC. Do you have some instructions I can follow?@raziel: do you know how to use strace?
Can you check that a fontconfig cache file is created somewhere?
Examining the file activity on a running VLC (a subtitled file had already been read) process through Instruments, I see the folllowing:Can you check that a fontconfig cache file is created somewhere?
How do the subsequent runs work?No fontcache could be created: the /usr/X11/var/cache/fontconfig mode is 755 for root:wheel. I now realize that the fd returned for the cache files was -1, which I assume means that they failed to be opened (in rw mode), so your hunch about the source of the problem seems correct.
A chmod o+w on the directory let the cache be built (the file ownership for the three files changed from root to my user), so after one last long pause playback was back again to being reasonably instantaneous. I have run Disk Utilities permission repair to see if that fontconfig cache directory should have other settings but it has found nothing to repair.
Fine, both after restarting and with a couple of different soft-subbed MKV files: the fontcache files are checked and there is no access to the fonts directory.How do the subsequent runs work?
Return to “VLC media player for macOS Troubleshooting”
Users browsing this forum: No registered users and 10 guests