Problem with vlm file syntax

*nix specific usage questions
Mix112
New Cone
New Cone
Posts: 3
Joined: 19 Jul 2014 17:25

Problem with vlm file syntax

Postby Mix112 » 19 Jul 2014 17:34

Hey guys!

I am messing around several hours now with vlm file problem.

My goal is to stream dvb-t channels with vlc and config is in vlm file.

I run it like this:

Code: Select all

cvlc -vvv --extraintf telnet --vlm-conf dvbstream.vlm
But i get error "Unknown command":

Code: Select all

[0x828c520] main vlm daemon error: Load error on line 9: access=http,mux=ts,dst=0.0.0.0:8080/etv},select=program=1,dst=std{: Unknown VLM command [0x82788f0] main libvlc warning: error while loading the configuration file
Entire output:

Code: Select all

mikk@Mikk-server:~$ cvlc -vvv --extraintf telnet --vlm-conf dvbstream.vlm VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c) [0x82788f0] main libvlc debug: VLC media player - 2.0.6 Twoflower [0x82788f0] main libvlc debug: Copyright © 1996-2013 VLC authors and VideoLAN [0x82788f0] main libvlc debug: revision 2.0.6-0-gbe9623c [0x82788f0] main libvlc debug: configured with ./configure '--enable-static' '--build=i486-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--sysconfdir=/etc' '--with-binary-version=dmo2' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libproxy' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-oss' '--enable-pulse' '--enable-qt4' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smb' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-dxva2' '--disable-gnomevfs' '--disable-goom' '--disable-portaudio' '--disable-projectm' '--disable-sqlite' '--disable-telx' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv' '--enable-libva' '--enable-linsys' '--enable-pvr' '--enable-udev' '--enable-v4l2' 'build_alias=i486-linux-gnu' 'CC=ccache cc' 'CXX=ccache g++' [0x82788f0] main libvlc debug: searching plug-in modules [0x82788f0] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat [0x82788f0] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins' [0x82788f0] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat [0x82788f0] main libvlc debug: plug-ins loaded: 390 modules [0x82788f0] main libvlc debug: opening config file (/home/mikk/.config/vlc/vlcrc) [0x82788f0] main libvlc debug: translation test: code is "C" [0x82788f0] main libvlc debug: CPU has capabilities MMX 3DNow! MMXEXT SSE SSE2 SSE3 FPU [0x82788f0] main libvlc debug: looking for memcpy module: 4 candidates [0x82788f0] main libvlc debug: using memcpy module "memcpymmxext" [0x83d31d0] main input debug: Creating an input for 'Media Library' [0x83d31d0] main input debug: Input is a meta file: disabling unneeded options [0x83d31d0] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x83d31d0] main input debug: `file/xspf-open:///home/mikk/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/mikk/.local/share/vlc/ml.xspf' [0x83d31d0] main input debug: creating demux: access='file' demux='xspf-open' location='/home/mikk/.local/share/vlc/ml.xspf' file='/home/mikk/.local/share/vlc/ml.xspf' [0x828b438] main demux debug: looking for access_demux module: 3 candidates [0x828b438] main demux debug: no access_demux module matching "file" could be loaded [0x828b438] main demux debug: TIMER module_need() : 1.127 ms - Total 1.127 ms / 1 intvls (Avg 1.127 ms) [0x83d31d0] main input debug: creating access 'file' location='/home/mikk/.local/share/vlc/ml.xspf', path='/home/mikk/.local/share/vlc/ml.xspf' [0x828bb08] main access debug: looking for access module: 2 candidates [0x828bb08] filesystem access debug: opening file `/home/mikk/.local/share/vlc/ml.xspf' [0x828bb08] main access debug: using access module "filesystem" [0x828bb08] main access debug: TIMER module_need() : 0.477 ms - Total 0.477 ms / 1 intvls (Avg 0.477 ms) [0x828c1f8] main stream debug: Using stream method for AStream* [0x828c1f8] main stream debug: starting pre-buffering [0x828c1f8] main stream debug: received first data after 0 ms [0x828c1f8] main stream debug: pre-buffering done 296 bytes in 0s - 11117 KiB/s [0x828c600] main stream debug: looking for stream_filter module: 7 candidates [0x828c600] main stream debug: no stream_filter module matching "any" could be loaded [0x828c600] main stream debug: TIMER module_need() : 1.078 ms - Total 1.078 ms / 1 intvls (Avg 1.078 ms) [0x828c600] main stream debug: looking for stream_filter module: 1 candidate [0x828c600] main stream debug: using stream_filter module "stream_filter_record" [0x828c600] main stream debug: TIMER module_need() : 0.264 ms - Total 0.264 ms / 1 intvls (Avg 0.264 ms) [0x83d31d0] main input debug: creating demux: access='file' demux='xspf-open' location='/home/mikk/.local/share/vlc/ml.xspf' file='/home/mikk/.local/share/vlc/ml.xspf' [0x830db68] main demux debug: looking for demux module: 1 candidate [0x830db68] playlist demux debug: using XSPF playlist reader [0x830db68] main demux debug: using demux module "playlist" [0x830db68] main demux debug: TIMER module_need() : 0.333 ms - Total 0.333 ms / 1 intvls (Avg 0.333 ms) [0x830e050] main demux meta debug: looking for meta reader module: 2 candidates [0x830e050] lua demux meta debug: Trying Lua scripts in /home/mikk/.local/share/vlc/lua/meta/reader [0x830e050] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x830e050] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x830e050] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x830e050] main demux meta debug: no meta reader module matching "any" could be loaded [0x830e050] main demux meta debug: TIMER module_need() : 5.118 ms - Total 5.118 ms / 1 intvls (Avg 5.118 ms) [0x83d31d0] main input debug: `file/xspf-open:///home/mikk/.local/share/vlc/ml.xspf' successfully opened [0x8303500] main xml reader debug: looking for xml reader module: 1 candidate [0x8303500] main xml reader debug: using xml reader module "xml" [0x8303500] main xml reader debug: TIMER module_need() : 1.427 ms - Total 1.427 ms / 1 intvls (Avg 1.427 ms) [0x830db68] playlist demux debug: parsed 0 tracks successfully [0x83d31d0] main input debug: EOF reached [0x830db68] main demux debug: removing module "playlist" [0x828c600] main stream debug: removing module "stream_filter_record" [0x828bb08] main access debug: removing module "filesystem" [0x83d31d0] main input debug: TIMER input launching for 'Media Library' : 9.419 ms - Total 9.419 ms / 1 intvls (Avg 9.419 ms) [0x82788f0] main libvlc debug: creating VLM [0x82788f0] main libvlc debug: loading VLM configuration [0x82788f0] main libvlc debug: load dvbstream.vlm [0x828c520] main vlm daemon debug: creating access 'file' location='/home/mikk/dvbstream.vlm', path='/home/mikk/dvbstream.vlm' [0x828bb08] main access debug: looking for access module: 2 candidates [0x828bb08] filesystem access debug: opening file `/home/mikk/dvbstream.vlm' [0x828bb08] main access debug: using access module "filesystem" [0x828bb08] main access debug: TIMER module_need() : 0.611 ms - Total 0.611 ms / 1 intvls (Avg 0.611 ms) [0x83d3c78] main stream debug: Using stream method for AStream* [0x83d3c78] main stream debug: starting pre-buffering [0x83d3c78] main stream debug: received first data after 0 ms [0x83d3c78] main stream debug: pre-buffering done 571 bytes in 0s - 3742 KiB/s [0x828bb08] main access debug: removing module "filesystem" [0x828c520] main vlm daemon error: Load error on line 9: access=http,mux=ts,dst=0.0.0.0:8080/etv},select=program=1,dst=std{: Unknown VLM command [0x82788f0] main libvlc warning: error while loading the configuration file [0x83d3c78] main interface debug: looking for interface module: 1 candidate [0x83d3c78] [telnet] lua interface debug: Found lua interface script: /usr/lib/vlc/lua/intf/telnet.luac [0x83d3c78] [telnet] lua interface debug: Setting config variable: config={telnet={host='telnet://localhost:4212',password='******'}} [0x83d3c78] [telnet] main interface debug: using interface module "lua" [0x83d3c78] [telnet] main interface debug: TIMER module_need() : 1.487 ms - Total 1.487 ms / 1 intvls (Avg 1.487 ms) [0x8303238] main interface debug: looking for interface module: 1 candidate [0x8303238] main interface debug: using interface module "hotkeys" [0x8303238] main interface debug: TIMER module_need() : 1.017 ms - Total 1.017 ms / 1 intvls (Avg 1.017 ms) [0x8303768] main interface debug: looking for interface module: 1 candidate [0x8303768] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 [0x8303768] main interface debug: no interface module matching "inhibit,none" could be loaded [0x8303768] main interface debug: TIMER module_need() : 0.976 ms - Total 0.976 ms / 1 intvls (Avg 0.976 ms) [0x8303768] main interface error: no suitable interface module [0x8303768] main interface debug: looking for interface module: 0 candidates [0x8303768] main interface debug: no interface module matched "globalhotkeys,none" [0x8303768] main interface debug: TIMER module_need() : 0.398 ms - Total 0.398 ms / 1 intvls (Avg 0.398 ms) [0x8303768] main interface error: no suitable interface module [0x82788f0] main libvlc error: interface "globalhotkeys,none" initialization failed [0x8308cf8] main interface debug: looking for interface module: 1 candidate [0x8308cf8] dummy interface: using the dummy interface module... [0x8308cf8] main interface debug: using interface module "dummy" [0x8308cf8] main interface debug: TIMER module_need() : 2.809 ms - Total 2.809 ms / 1 intvls (Avg 2.809 ms) [0x83d3c78] [telnet] lua interface: Listening on host "telnet://localhost:4212". [0x83d3c78] [telnet] main interface debug: net: listening to localhost port 4212
And my dvbstream.vlm:

Code: Select all

new dvbt1 broadcast enabled setup dvbt1 input "dvb-t://" setup dvbt1 option dvb-adapter=0 setup dvbt1 option dvb-frequency=530000000 setup dvbt1 option dvb-bandwidth=8 setup dvbt1 option programs=1,41,43,2 setup dvbt1 option ts-es-id-pid setup dvbt1 output #duplicate{dst=std{ access=http,mux=ts,dst=0.0.0.0:8080/etv},select="program=1",dst=std{ access=http,mux=ts,dst=0.0.0.0:8080/etv2},select="program=2",dst=std{ access=http,mux=ts,dst=0.0.0.0:8080/kanal2},select="program=41",dst=std{ access=http,mux=ts,dst=0.0.0.0:8080/tv3},select="program=43"} control dvbt1 play

Its propably somekind of syntax error wich i cant figure out, any help is very appreaciated. :oops:



EDIT: Sorry for wrong section :oops:

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Problem with vlm file syntax

Postby Sébastien Escudier » 19 Jul 2014 22:54

remove the end of lines, line 9 and after


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

Who is online

Users browsing this forum: No registered users and 35 guests