Page 1 of 1

VLC couldn't opening a file if path includes Cyrilic symbols

Posted: 12 May 2010 16:13
by heaven87
If I click on a video file when VLC is not running, it starts and playing the file normally. But, when I click on a next file while VLC already playing the first (or if I run VLC manually and click on video file) — I've get an error message.
VLC could not opening the file: http://img442.imageshack.us/img442/7905/83468297.png

In console I see this messages:

Code: Select all

Warning: input_item_SetURI("/mnt/media/Видео/Scrubs/Season 8/Scrubs.8x01.rus.eng.DVDrip.othfilm.ru.avi"): file path instead of URL. input_SplitMRL("/mnt/media/Видео/Scrubs/Season 8/Scrubs.8x01.rus.eng.DVDrip.othfilm.ru.avi"): not a valid URI! libdvdnav: Using dvdnav version 4.1.3 libdvdread: Using libdvdcss version 1.2.10 for DVD access libdvdread: Can't stat /mnt/media/??????????/Scrubs/Season 8/Scrubs.8x01.rus.eng.DVDrip.othfilm.ru.avi Нет такого файла или каталога //There is no such file or folder libdvdnav: vm: failed to open/read the DVD input_SplitMRL("/mnt/media/Видео/Scrubs/Season 8/Scrubs.8x01.rus.eng.DVDrip.othfilm.ru.avi"): not a valid URI!
Drag and drop works as expected.

Re: VLC couldn't opening a file from the Dolphin file manage

Posted: 12 May 2010 19:23
by Rémi Denis-Courmont
Smells like a problem with the command used by Dolphin to start VLC. Can't really analyze the problem without that.

Re: VLC couldn't opening a file from the Dolphin file manage

Posted: 13 May 2010 09:45
by heaven87
I've checked, it happens even if VLC has been launched from console. When I run VLC from console thus "vlc /mnt/media/Видео/Scrubs/Season\ 8/Scrubs.8x01.avi" — it works. Then I try to open a next file from an another console "vlc /mnt/media/Видео/Scrubs/Season\ 8/Scrubs.8x02.avi" and as result I've got the same error.

If I launch VLC (does not matter how) and move to the folder, where is the file that I need and run VLC like that "vlc Scrubs.8x01.avi" — I've got segmentation fault:

Code: Select all

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffb2a61710 (LWP 14721)] 0x00007ffff71db292 in strlen () from /lib/libc.so.6 (gdb) bt #0 0x00007ffff71db292 in strlen () from /lib/libc.so.6 #1 0x00007ffff71dafd6 in strdup () from /lib/libc.so.6 #2 0x00007fffd2e5888a in Open () from /usr/lib/vlc/plugins/access/libvcd_plugin.so #3 0x00007ffff7966345 in module_need () from /usr/lib/libvlccore.so.5 #4 0x00007ffff791a139 in __access_New () from /usr/lib/libvlccore.so.5 #5 0x00007ffff792efd7 in InputSourceInit () from /usr/lib/libvlccore.so.5 #6 0x00007ffff793033a in Init () from /usr/lib/libvlccore.so.5 #7 0x00007ffff7933a75 in Run () from /usr/lib/libvlccore.so.5 #8 0x00007ffff796bb84 in thread_entry () from /usr/lib/libvlccore.so.5 #9 0x00007ffff76c697a in start_thread () from /lib/libpthread.so.0 #10 0x00007ffff722e01d in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? ()

Re: VLC couldn't opening a file from the Dolphin file manage

Posted: 15 May 2010 16:20
by heaven87
The first error happens only if Cyrillic symbols are using in the file path. The second is independent of this.

Re: VLC couldn't opening a file if path includes Cyrilic sym

Posted: 28 May 2010 17:14
by heaven87
Happens even if I try open it trough ktorrent — http://img31.imageshack.us/img31/3728/106l.png, but drag and drop from dolphin works well.

Re: VLC couldn't opening a file if path includes Cyrilic sym

Posted: 28 May 2010 18:35
by Makarov
Тоже люблю Бэар Гриллса смотреть =)

Re: VLC couldn't opening a file if path includes Cyrilic sym

Posted: 29 May 2010 09:31
by Rémi Denis-Courmont
Remove the VCD plugin. Your backtrace is incomplete so we cannot use it.

Re: VLC couldn't opening a file if path includes Cyrilic sym

Posted: 01 Jun 2010 15:04
by heaven87
Your backtrace is incomplete so we cannot use it.
Hello, how I can make a complete backtrace?

Re: VLC couldn't opening a file if path includes Cyrilic sym

Posted: 01 Jun 2010 16:54
by Rémi Denis-Courmont
I think this is already fixed, and had nothing to do with cyrillic

Re: VLC couldn't opening a file if path includes Cyrilic sym

Posted: 01 Jun 2010 20:02
by heaven87
I've rebuild VLC from git just now and problem still here. The first file always opens well (when VLC not running yet), and error occur only when I clicked on the next files when VLC already running. In error message I can see that cyrillic symbols in the file path are replaced by question marks:

Code: Select all

Чтение файла не удалось: //Failed reading the file VLC не может открыть файл "/mnt/media/??????????/Scrubs/Season 6/scrubs.s06.e10.dvdrip.rus.eng.avi". //VLC can not open the file
But this error does not occur if I copy these few files to "/home/heaven/Desktop" or to another location, where path will not contain cyrillic, and then try to open them by clicking.

Re: VLC couldn't opening a file if path includes Cyrilic sym

Posted: 01 Jun 2010 20:04
by heaven87
Тоже люблю Бэар Гриллса смотреть =)
А той же ошибки не возникает? :)

Re: VLC couldn't opening a file if path includes Cyrilic sym

Posted: 02 Jun 2010 00:31
by Makarov
Возникает похожая. viewtopic.php?f=34&t=76969

Re: VLC couldn't opening a file if path includes Cyrilic sym

Posted: 10 Jun 2010 08:24
by heaven87
Forgot to clarify, only one copy of VLC must be allowed in settings. Just in case.