subs don't autoload if filename is more than 8 characters

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
fdghfdg

subs don't autoload if filename is more than 8 characters

Postby fdghfdg » 28 Dec 2004 01:18

note: i mean when doubleclicking a file. not when choosing "open file"

for instance:

wimbledon.avi won't load wimbledon.srt

but wimbledo.avi loads wimbledo.srt

sdfsdf

Postby sdfsdf » 28 Dec 2004 01:20

i forgot: i use 0.8.1 and win xp

sdfdsfsd

Postby sdfdsfsd » 28 Dec 2004 10:16

hm but if i remove the space from the folder name all work instead of some so it seems to be some kind of combo

acehole

Fix - Devs take note

Postby acehole » 20 Apr 2005 00:04

Just came across this problem with my flatmate's laptop and fixed it with a little digging.

Turns out if you mess up the file association in the registry slightly when the path to VLC is not short filename compatible (e.g. spaces, long that 8.3 characters, etc.), windows assumes that the program is expecting the short filename version (e.g. blabla~1.avi). This means that vlc is playing "blabla~1.avi" instead of "bla bla bla.avi", hence it is not looking for the subtitle files (e.g. "bla bla bal.idx", "bla bla bla.sub"), only for "blabla~1.idx" etc.

To fix this, go to regedit, and find the reistry key:

Code: Select all

HKEY_CLASSES_ROOT\VLC.avi\shell\Play\command
and change it to include quotes around the path to VLC, e.g. change from:

Code: Select all

C:\Program Files\VideoLAN\VLC\vlc.exe "%1"
to:

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" "%1"
You may need to do this for other file types, e.g.

Code: Select all

HKEY_CLASSES_ROOT\VLC.mpeg\shell\Play\command
Developers, this should be a fairly simple change in the installer if you're not already aware of it. See http://blogs.msdn.com/oldnewthing/archi ... 45072.aspx for more info.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 20 Apr 2005 17:19

I've fixed this (a package should be available with the "upcoming" 0.8.2-test1 version ...)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

acehole

bugzilla

Postby acehole » 20 Apr 2005 23:16

Came across this: http://bugzilla.videolan.org/cgi-bin/bu ... gi?id=1958

Propose resolve as FIXED. (I'm too lazy to register for a bugzilla account and suggest that, sorry! :-) )


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 110 guests