I have a problem using LibVLC (with java using jvlc) with media having accent in their path.
Actually, all accentuated characters seems to be removed when interpreted by LibVLC. For exemple, trying to play: C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaoké Bouba karaoke.mp4 result in the following error message:
Code: Select all
[0x5ab2a7c] main input debug: Creating an input for 'karaok Bouba karaoke.mp4'
[0x5ab2a7c] main input debug: thread (input) created at priority 1 (../.././src/input/input.c:230)
[0x5ab2a7c] main input debug: thread started
[0x5ab2a7c] main input debug: using timeshift granularity of 50 MBytes
[0x5ab2a7c] main input debug: using timeshift path 'C:\DOCUME~1\Tom\LOCALS~1\Temp'
[0x5ab2a7c] main input debug: `C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaok Bouba karaoke.mp4' gives access `' demux `' path `C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaok Bouba karaoke.mp4'
[0x5ab2a7c] main input debug: creating demux: access='' demux='' path='C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaok Bouba karaoke.mp4'
[0x5abc60c] main demux debug: looking for access_demux module: 3 candidates
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaok Bouba karaoke.mp4 with libdvdcss.
libdvdread: Can't open C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaok Bouba karaoke.mp4 for reading
[0x5abc60c] dvdnav demux warning: cannot open dvdnav
[0x5abc60c] main demux debug: TIMER module_need() : 49.734 ms - Total 49.734 ms / 1 intvls (Avg 49.734 ms)
[0x5ab2a7c] main input debug: creating access '' path='C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaok Bouba karaoke.mp4'
[0x5abcd64] main access debug: looking for access module: 4 candidates
[0x5abcd64] access_file access debug: opening file `C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaok Bouba karaoke.mp4'
[0x5abcd64] access_file access error: cannot open file C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaok Bouba karaoke.mp4 (No such file or directory)
[0x5abcd64] main access error: File reading failed
[0x5abcd64] main access error: VLC could not open the file "C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaok Bouba karaoke.mp4".
[0x5abcd64] cdda access debug: trying .cue file: C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaok Bouba karaoke.cue
[0x5abcd64] cdda access debug: could not find .cue file
[0x5abcd64] cdda access warning: could not open C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaok Bouba karaoke.mp4
[0x5abcd64] main access debug: TIMER module_need() : 13.490 ms - Total 13.490 ms / 1 intvls (Avg 13.490 ms)
[0x5ab2a7c] main input error: open of `C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaok Bouba karaoke.mp4' failed: no suitable access module
[0x5ab2a7c] main input error: Your input can't be opened
[0x5ab2a7c] main input error: VLC is unable to open the MRL 'C:\Documents and Settings\Tom\workspace\VODPlayer\TMP\PLAYBUFFER\karaok Bouba karaoke.mp4'. Check the log for details.
[0x5ab2a7c] main input debug: thread ended
As you can see, in the path returned by vlc, the "é" character of "karaoké" has been removed, wich explains that file could not be found
I do not think this problem is linked to the java frontend as I've verified the java library I use to communicate with LibVLC (jna library) correctly transmit the accentuated character to the C code (see my other post on the forum
viewtopic.php?f=32&t=56939&p=218855#p218855 for details)
So is there any argument I could give to vlc to allow it to play media with accents in there path? (I've already tried the "-http-charset=ISO-8859-1" option bu it do not solve the problem
)