How to load cfg files for VLM?

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
tonino
New Cone
New Cone
Posts: 4
Joined: 30 Sep 2006 20:27

How to load cfg files for VLM?

Postby tonino » 30 Sep 2006 20:54

Hi all,

Could anyone please tell me how to load cfg files when using VLM? I have read the tutorial on VLM but I still not understand it.
What I would like to do is to display two encoded videos of the same content: one of high resolution and quality and the second one of lower resolution and quality. The higher resolution should be displayed on PC and the lower resolution streamed to Laptop so that at the same time I have high quality video running on a PC and low quality video on a laptop. I know that this could be achieved with transcoding: I have tried this and it works, but I would like to avoid transcoding. I am running Windows XP with VLC 0.8.5. I have used the following cfg file:

new channel1 broadcast enabled
setup channel1 input D:\test.avi
setup channel1 output #display

new channel2 broadcast enabled
setup channel2 input D:\test_quarter.mpg
setup channel2 output #standard{access=udp,mux=ts,dst=192.168.0.200:1234,name="Channel 2"}

control channel1 play
control channel2 play

and run the command

vlc --vlm -conf="vlmcfg.cfg" -I="telnet"

but it does not work. Could anyone please tell me what I am doing wrong? Have I udestood VLM correctly - can this problem be solved with VLM? I suspect it has something to do with loading of cfg files. Your help would really be much appriciated as I have tried this many times but not succeeded. Thanks in advance.

tonino

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

Postby dionoea » 30 Sep 2006 21:23

Code: Select all

vlc --vlm-conf thefile -I telnet
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

tonino
New Cone
New Cone
Posts: 4
Joined: 30 Sep 2006 20:27

Postby tonino » 30 Sep 2006 22:10

Thanks for your answer.
However I have tried to run the command and it does not work (at least according to my uderstanding). VLC does not run. I thought that the following command should be used for running the telnet interface under windows:

vlc.exe -I="telnet"

When I use this in combination with cfg file then VLC runs but it does not display anything and it shold according to cfg file.

What should happen when I run the command

vlc --vlm-conf thefile -I telnet

Do I still need to connect to VLC through telnet or everything should start broadcasting and playing as specified in cfg file?


Many thanks,

tonino

tonino
New Cone
New Cone
Posts: 4
Joined: 30 Sep 2006 20:27

Postby tonino » 01 Oct 2006 01:11

It seems that I have solved the problem. I should have looked more carefuly on this forum :lol:. It seems that 0.8.5 requires usage of double slash (\\) instead of single (\).

Thanks for the help,

tonino


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 17 guests