Page 1 of 1

Telnet interface problems with apostrophy (') characters

Posted: 16 Dec 2006 13:39
by gvdbilt
Is there a solution to my problem:
I have set up a VoD solution using a Hauppage MVP, on which I can play transcoded AVI files. The transcoding is done using VLC on a Linux machine started with the telnet interface. Feeding a filename etc. works fine for all filenames, even with spaces in them, but not if the file is contains an apostrophy like in "My friends' wedding.avi". In that case I always get the error "incomplete command".

An example:
> new mvpmc broadcast enabled

> setup mvpmc input '/opt/films/More Day's Light.avi'
Incomplete command : Light.avi'

So VLC recognises the apostrophy and considers it the end of the command. I have tried using double quotes around the filename, but that doesn't help either:
> setup mvpmc input "/opt/films/More Day's Light.avi"
Incomplete command : "/opt/films/More Day's Light.avi"

Or using an escape character on the filename:
> setup mvpmc input '/opt/films/More Day\'s Light.avi'
Incomplete command : Light.avi'

Does anybody have an idea about this one?

I am using VLC 0.8.5 on a Mandriva 2006 system.

Posted: 22 Dec 2006 13:43
by gvdbilt
Nobody any ideas on this?

Posted: 23 Dec 2006 01:28
by Jean-Baptiste Kempf
Use VLC 0.8.6. Does it still happen ?

Posted: 23 Dec 2006 16:21
by gvdbilt
Actually I'm about to open a new thread, because I can't get VLC 0.8.6 run in telnet mode. Well, it compiles allright, but as soon as I ask a film it segfaults on me. It runs fine on the Linux X-windows desktop, but the telnet (VLM) version segfaults right after opening a httpd with no error message in the logfile or on the console.

I'll make a few runs under GDB, see if I can make some sense out of this one. The FFMPEG trunk I got was from last friday, something like 7359, orso. Both FFMPEG and VLC compiled with only the bare configure options, like --enable-pp for FFMPEG.

Posted: 24 Dec 2006 11:35
by gvdbilt
Well, I found that a complete re-compilation where ffmpeg is statically linked does solve the problem. (Took a while to figure out how to get the provided specfile working though......)

I can now use the apostrophy character as long as the whole filename is enclosed in double quotes: "My Friend's Wedding.avi" will play.