VLC 2.0.6, Win7, Mosaic and CLI won't start (syntax problems
Posted: 11 Jun 2013 16:07
So I've googled quite a bit and tried the http://wiki.videolan.org/Mosaic examples, but they seem to have some settings that linux accepts which Win7 doesn't so I don't understand the syntax nor the errors I get.
I have a total of 6 remote cameras on 2 (remote) locations. On one location I want to play two local streams, while at the HQ I want to play 3 or 4 for now, maybe 6 long term, and I would like a background image replacing the stream if the stream is down. The streams are HTTP with no audio and they work individually, i.e. if I open just one of them in VLC, it works fine. Few of them have the same resolution, I don't know if that matters - meaning do I need to change the transcoding at the source or can I just define it on the mosaic/client-side?
Anyways, here's my CLI command;
In the wiki it has a "telnet" and -I parameters as well. I believe -I removes the gui/window of VLC so I changed that with -vvv. The "telnet" command didn't work as VLC would say;
Anyways, the log from my revised command line gives is as follows;
My mosaic.vlm.conf:
The wiki says that the background image must be the same size as the stream which it probably isn't so I tried without any background at all but the error-log seemed identical to me.
I'm guessing my VLM file is ok-ish, while the problem lies in my command line. If anyone could give me any pointers, that would be great. I've scoured the net for examples and the documentation seems a bit outdated or incorrect (at least for windows) so I'm fumbling in the dark here.
I have a total of 6 remote cameras on 2 (remote) locations. On one location I want to play two local streams, while at the HQ I want to play 3 or 4 for now, maybe 6 long term, and I would like a background image replacing the stream if the stream is down. The streams are HTTP with no audio and they work individually, i.e. if I open just one of them in VLC, it works fine. Few of them have the same resolution, I don't know if that matters - meaning do I need to change the transcoding at the source or can I just define it on the mosaic/client-side?
Anyways, here's my CLI command;
Code: Select all
"c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -vvv --vlm-conf --mosaic-width=360 --mosaic-height=288 --mosaic-keep-picture --mosaic-rows=2 --mosaic-cols=2 --mosaic-position=1 --mosaic-order=1,2,3,4 C:\Users\Tech\Documents\mosaic.vlm.conf
I have installed the telnet-client, but there's obviously a syntax error here. Adding a dash or two just gives me an error message from VLC saying it can't parse the command line options. Also, step 2 in wiki tells me to use the file:// option, but I could never get the command accepted unless I removed file:// and just put the filename in there. Guess that's another linux/windows difference.File reading failed:
VLC could not open the file "C:\\telnet". (%m)
Your input can't be opened:
VLC is unable to open the MRL 'file:///C://telnet'. Check the log for details.
Anyways, the log from my revised command line gives is as follows;
Code: Select all
main debug: processing request item: mosaic.vlm.conf, node: Playlist, skip: 0
main debug: resyncing on mosaic.vlm.conf
main debug: mosaic.vlm.conf is at 0
main debug: starting playback of the new playlist item
main debug: resyncing on mosaic.vlm.conf
main debug: mosaic.vlm.conf is at 0
main debug: creating new input thread
main debug: Creating an input for 'mosaic.vlm.conf'
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Tech\AppData\Local\Temp'
main debug: `file:///C:/Users/Tech/Documents/mosaic.vlm.conf' gives access `file' demux `' path `/C:/Users/Tech/Documents/mosaic.vlm.conf'
main debug: creating demux: access='file' demux='' location='/C:/Users/Tech/Documents/mosaic.vlm.conf' file='C:\Users\Tech\Documents\mosaic.vlm.conf'
main debug: looking for access_demux module: 3 candidates
main debug: no access_demux module matching "file" could be loaded
main debug: TIMER module_need() : 0.833 ms - Total 0.833 ms / 1 intvls (Avg 0.833 ms)
main debug: creating access 'file' location='/C:/Users/Tech/Documents/mosaic.vlm.conf', path='C:\Users\Tech\Documents\mosaic.vlm.conf'
main debug: looking for access module: 3 candidates
filesystem debug: opening file `C:\Users\Tech\Documents\mosaic.vlm.conf'
main debug: using access module "filesystem"
main debug: TIMER module_need() : 0.962 ms - Total 0.962 ms / 1 intvls (Avg 0.962 ms)
main debug: Using stream method for AStream*
main debug: starting pre-buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 1024 bytes in 0s - 5000 KiB/s
main debug: looking for stream_filter module: 4 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 0.471 ms - Total 0.471 ms / 1 intvls (Avg 0.471 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.466 ms - Total 0.466 ms / 1 intvls (Avg 0.466 ms)
main debug: creating demux: access='file' demux='' location='/C:/Users/Tech/Documents/mosaic.vlm.conf' file='C:\Users\Tech\Documents\mosaic.vlm.conf'
main debug: looking for demux module: 55 candidates
ts debug: TS module discarded (lost sync)
mod debug: MOD validation failed (ext=conf)
lua debug: Trying Lua scripts in C:\Users\Tech\AppData\Roaming\vlc\lua\playlist
lua debug: Trying Lua scripts in c:\Program Files (x86)\VideoLAN\VLC\lua\playlist
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\anevia_streams.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\anevia_xml.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\appletrailers.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\bbc_co_uk.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\break.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\canalplus.luac
qt4 debug: IM: Setting an input
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\cue.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\dailymotion.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\extreme.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\france2.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\googlevideo.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\jamendo.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\joox.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\katsomo.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\koreus.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\lelombrik.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\metacafe.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\metachannels.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\mpora.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\pinkbike.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\pluzz.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\rockbox_fm_presets.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\soundcloud.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\vimeo.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\youtube.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\youtube_homepage.luac
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\playlist\zapiks.luac
avcodec debug: trying url: C:\Users\Tech\Documents\mosaic.vlm.conf
avcodec debug: couldn't guess format
vobsub debug: this doesn't seem to be a vobsub file
ps warning: this does not look like an MPEG PS stream, continuing anyway
main debug: using demux module "ps"
main debug: TIMER module_need() : 55.858 ms - Total 55.858 ms / 1 intvls (Avg 55.858 ms)
main debug: looking for a subtitle file in C:\Users\Tech\Documents\
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Users\Tech\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in c:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader
lua debug: Trying Lua playlist script c:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 3.646 ms - Total 3.646 ms / 1 intvls (Avg 3.646 ms)
main debug: `file:///C:/Users/Tech/Documents/mosaic.vlm.conf' successfully opened
ps warning: garbage at input, trying to resync...
main debug: EOF reached
main debug: removing module "ps"
main debug: finished input
main debug: removing module "stream_filter_record"
main debug: removing module "filesystem"
main debug: dead input
main debug: changing item without a request (current 0/1)
main debug: nothing to play
qt4 debug: IM: Deleting the input
main debug: TIMER input launching for 'mosaic.vlm.conf' : 66.561 ms - Total 66.561 ms / 1 intvls (Avg 66.561 ms)
Code: Select all
new channel1 broadcast enabled
setup channel1 input http://172.30.141.106:8080
setup channel1 output #duplicate{dst=mosaic-bridge{id=1,height=144,width=180},select=video,dst=bridge-out{id=1},select=audio}
new channel2 broadcast enabled
setup channel2 input http://172.30.141.119:8080
setup channel2 output #duplicate{dst=mosaic-bridge{id=2,height=144,width=180},select=video,dst=bridge-out{id=2},select=audio}
new channel3 broadcast enabled
setup channel3 input http://172.30.142.140:8080
setup channel3 output #duplicate{dst=mosaic-bridge{id=3,height=144,width=180},select=video,dst=bridge-out{id=3},select=audio}
new background broadcast enabled
setup background input C:\Users\Tech\Documents\simpsons-technical-difficulties1.jpg
setup background output #transcode{sfilter=mosaic,vcodec=mp2v,vb=10000,scale=1}:bridge-in{delay=400,id-offset=100}:standard{access=http,mux=ts,url=172.30.130.132,sap,name="mosaic"}
control background play
control channel1 play
control channel2 play
control channel3 play
I'm guessing my VLM file is ok-ish, while the problem lies in my command line. If anyone could give me any pointers, that would be great. I've scoured the net for examples and the documentation seems a bit outdated or incorrect (at least for windows) so I'm fumbling in the dark here.