Telnet interface problems with apostrophy (') characters

*nix specific usage questions
gvdbilt
Blank Cone
Blank Cone
Posts: 16
Joined: 24 Sep 2006 21:31
Location: Netherlands

Telnet interface problems with apostrophy (') characters

Postby gvdbilt » 16 Dec 2006 13:39

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.
A waste is a terrible thing to mind.

gvdbilt
Blank Cone
Blank Cone
Posts: 16
Joined: 24 Sep 2006 21:31
Location: Netherlands

Postby gvdbilt » 22 Dec 2006 13:43

Nobody any ideas on this?
A waste is a terrible thing to mind.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 23 Dec 2006 01:28

Use VLC 0.8.6. Does it still happen ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

gvdbilt
Blank Cone
Blank Cone
Posts: 16
Joined: 24 Sep 2006 21:31
Location: Netherlands

Postby gvdbilt » 23 Dec 2006 16:21

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.
A waste is a terrible thing to mind.

gvdbilt
Blank Cone
Blank Cone
Posts: 16
Joined: 24 Sep 2006 21:31
Location: Netherlands

Postby gvdbilt » 24 Dec 2006 11:35

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.
A waste is a terrible thing to mind.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests