filepath and vlc0.8.5

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
Mimiru
Blank Cone
Blank Cone
Posts: 80
Joined: 22 Jun 2006 16:36

filepath and vlc0.8.5

Postby Mimiru » 25 Jul 2006 21:08

Hi,

I'm under linux ...... and I'm using the telnet interface of vlc ......

My problem is that vlc cannot read files like :

"/var/vidéos/rep\ with\ space/myvideoñ.mpeg"

please ....... don't tell me that the telnet interface of vlc is unable to accept those paths.

help

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

Postby dionoea » 26 Jul 2006 23:57

Could you paste a full example command which you are trying to use ?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Mimiru
Blank Cone
Blank Cone
Posts: 80
Joined: 22 Jun 2006 16:36

Postby Mimiru » 27 Jul 2006 01:02

sure,

Platform : Debian sid with vlc 0.8.5

here is the line that I use (without the --daemon because the log system does not work at all .... even the syslog option does not work) :

Code: Select all

vlc --intf telnet -vvv --rtsp-host 0.0.0.0:5554 --logmode syslog --network-synchronisation --ttl 1 --sout-all --sout-keep
I'll pass for the messages of vlc boot ;)

Then I connect to the telnet interface and type this to create a "broadcast" channel on a multicast ip :

Code: Select all

> new CanalNumerico broadcast mux mp2t output #standard{mux=ts,access=udp,dst=239.255.1.1,sap,name="CanalNumerico"} > setup CanalNumerico input '/var/vod/CanalNumerico/Nuéva carpeta/Videoñ.mpg' > setup CanalNumerico enabled > control CanalNumerico play
And here is the output of vlc :

Code: Select all

[00000283] [Medio: CanalNumerico] main input debug: waiting for thread completion [00000283] [Medio: CanalNumerico] main input debug: thread 2752510896 (input) created at priority 0 (input/input.c:261) [00000283] [Medio: CanalNumerico] main input debug: creating statistics handler [00000285] [Medio: CanalNumerico] main stream output debug: stream=`standard' [00000286] [Medio: CanalNumerico] main private debug: looking for sout stream module: 1 candidate [00000286] [Medio: CanalNumerico] main private debug: set sout option: sout-standard-mux to ts [00000286] [Medio: CanalNumerico] main private debug: set sout option: sout-standard-access to udp [00000286] [Medio: CanalNumerico] main private debug: set sout option: sout-standard-dst to 239.255.1.1 [00000286] [Medio: CanalNumerico] main private debug: set sout option: sout-standard-sap to (null) [00000286] [Medio: CanalNumerico] main private debug: set sout option: sout-standard-name to CanalNumerico [00000286] [Medio: CanalNumerico] stream_out_standard private debug: creating `udp/ts://239.255.1.1' [00000286] [Medio: CanalNumerico] stream_out_standard private debug: extension is 1 [00000286] [Medio: CanalNumerico] stream_out_standard private debug: extension -> mux=(null) [00000286] [Medio: CanalNumerico] stream_out_standard private debug: using `udp/ts://239.255.1.1' [00000288] [Medio: CanalNumerico] main private debug: looking for sout access module: 1 candidate [00000288] [Medio: CanalNumerico] main private debug: net: connecting to 239.255.1.1 port 1234 [00000290] [Medio: CanalNumerico] main private debug: thread 2744122288 (sout write thread) created at priority 0 (udp.c:268) [00000288] [Medio: CanalNumerico] access_output_udp private debug: udp access output opened(239.255.1.1:1234) [00000288] [Medio: CanalNumerico] main private debug: using sout access module "access_output_udp" [00000286] [Medio: CanalNumerico] stream_out_standard private debug: access opened [00000291] [Medio: CanalNumerico] main private debug: looking for sout mux module: 1 candidate [00000291] [Medio: CanalNumerico] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000 [00000291] [Medio: CanalNumerico] main private debug: using sout mux module "mux_ts" [00000285] [Medio: CanalNumerico] main stream output debug: muxer support adding stream at any time [00000286] [Medio: CanalNumerico] stream_out_standard private debug: mux opened [00000286] [Medio: CanalNumerico] stream_out_standard private: SAP Enabled [00000285] [Medio: CanalNumerico] main stream output debug: No announce handler found, creating one [00000285] [Medio: CanalNumerico] main stream output debug: creation done [00000292] main announce handler debug: registering announce [00000293] main private debug: thread 2735733680 (sap handler) created at priority 0 (stream_output/sap.c:124) [00000292] main announce handler debug: thread created, 0 sessions [00000292] main announce handler debug: creating SAP announce handler [00000292] main announce handler debug: adding SAP session [00000293] main private debug: using SAP address: 239.255.255.255 [00000293] main private debug: net: connecting to 239.255.255.255 port 9875 [00000293] main private debug: Generated SDP (157 bytes): v=0 o=- 1154000744955689 2989 IN IP4 192.168.0.10 s=CanalNumerico t=0 0 c=IN IP4 239.255.1.1/1 m=video 1234 udp 33 a=tool:vlc 0.8.5 a=type:broadcast [00000293] main private debug: 1 addresses, 1 sessions [00000286] [Medio: CanalNumerico] main private debug: using sout stream module "stream_out_standard" [00000283] [Medio: CanalNumerico] main input debug: `/var/vod/CanalNumerico/Nu?va carpeta/Video?.mpg' gives access `' demux `' path `/var/vod/CanalNumerico/Nu?va carpeta/Video?.mpg' [00000283] [Medio: CanalNumerico] main input debug: creating demux: access='' demux='' path='/var/vod/CanalNumerico/Nu?va carpeta/Video?.mpg' [00000294] [Medio: CanalNumerico] main demuxer debug: looking for access_demux module: 2 candidates libdvdnav: Using dvdnav version 0.1.9 from http://dvd.sf.net libdvdread: Using libdvdcss version 1.2.9 for DVD access libdvdread: Can't stat /var/vod/CanalNumerico/Nuéva carpeta/Videoñ.mpg No existe el fichero o el directorio libdvdnav: vm: faild to open/read the DVD [00000294] [Medio: CanalNumerico] dvdnav demuxer warning: cannot open dvdnav [00000283] [Medio: CanalNumerico] main input debug: creating access '' path='/var/vod/CanalNumerico/Nu?va carpeta/Video?.mpg' [00000297] [Medio: CanalNumerico] main access debug: looking for access2 module: 5 candidates [00000297] [Medio: CanalNumerico] vcdx access warning: Can't get file status for /var/vod/CanalNumerico/Nu?va carpeta/Video?.mpg: No existe el fichero o el directorio [00000297] [Medio: CanalNumerico] access_file access warning: /var/vod/CanalNumerico/Nu?va carpeta/Video?.mpg: No existe el fichero o el directorio [00000297] [Medio: CanalNumerico] cdda access warning: could not open /var/vod/CanalNumerico/Nu?va carpeta/Video?.mpg [00000283] [Medio: CanalNumerico] main input debug: creating access '' path='/var/vod/CanalNumerico/Nu?va carpeta/Video?.mpg' [00000304] [Medio: CanalNumerico] main access debug: looking for access2 module: 5 candidates [00000304] [Medio: CanalNumerico] vcdx access warning: Can't get file status for /var/vod/CanalNumerico/Nu?va carpeta/Video?.mpg: No existe el fichero o el directorio [00000304] [Medio: CanalNumerico] access_file access warning: /var/vod/CanalNumerico/Nu?va carpeta/Video?.mpg: No existe el fichero o el directorio [00000304] [Medio: CanalNumerico] cdda access warning: could not open /var/vod/CanalNumerico/Nu?va carpeta/Video?.mpg [00000283] [Medio: CanalNumerico] main input error: no suitable access module for `/var/vod/CanalNumerico/Nu?va carpeta/Video?.mpg' [00000286] main private debug: destroying chain... (name=standard) [00000292] main announce handler debug: unregistering announce [00000293] main private debug: removing SAP announce 0x8325748 [00000293] main private debug: 0 announcements remaining [00000291] main private debug: removing module "mux_ts" [00000290] access_output_udp private debug: packet has been sent too late (1154000744662932) [00000290] main private debug: thread 2744122288 joined (udp.c:316) [00000288] access_output_udp private debug: udp access output closed [00000288] main private debug: removing module "access_output_udp" [00000286] main private debug: removing module "stream_out_standard" [00000286] main private debug: destroying chain done [00000283] [Medio: CanalNumerico] main input debug: thread 2752510896 joined (input/input.c:399)
I play with escape character, with filename encoding etc etc .... nothing

without the folder "Nuéva carpeta" I've found a trick ......... I tell linux to store the filename in UTF-8 in a Latin-1 system .... weird char appears in the linux filesys ...... but vlc accept files with accent with this trick. without that, it doesn't accept the file ......

self compiled vlc or vlc thru debian-unstable : the same

Mimiru
Blank Cone
Blank Cone
Posts: 80
Joined: 22 Jun 2006 16:36

Postby Mimiru » 28 Jul 2006 22:11

:( no one has this trouble under linux and telnet interface ?

Mimiru
Blank Cone
Blank Cone
Posts: 80
Joined: 22 Jun 2006 16:36

Postby Mimiru » 29 Jul 2006 19:42

no one has used VLC under linux with the telnet interface and intend to load a file witch the path has space and accent ?

Mimiru
Blank Cone
Blank Cone
Posts: 80
Joined: 22 Jun 2006 16:36

Postby Mimiru » 31 Jul 2006 20:01

Please answer :(

Mimiru
Blank Cone
Blank Cone
Posts: 80
Joined: 22 Jun 2006 16:36

Postby Mimiru » 02 Aug 2006 15:47

Well, for all of those who are browsing for a solution for that case (witch is an obvious case in a worldwide project) ........ it seems there isn't any solutions.

So, instead of trying to solve the problem, I suggest to avoid it by forcing the filesystem to use "us-ascii" (or the ascii of 7 bits) for the file/folder names.

By using that stinky trick, you avoid any accent or special caracter to be stored ...... and will be replaced by a generic caracter (like "_").

It can be done thru the locales ..... or/and via samba.

Of course, this trick works only for roman alphabet systems.


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 29 guests