vlm: setup option ?

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
Albert
Cone that earned his stripes
Cone that earned his stripes
Posts: 102
Joined: 15 Mar 2006 08:17

vlm: setup option ?

Postby Albert » 16 Mar 2006 17:21

Hello,
I would like to ask how to use "option" in vlm scripts. I need to start multiple webcams from 1 vlm file with unique marq and same time sub-filter for all.

Theoretically

Code: Select all

#1 new cam1 broadcast enabled setup cam1 input dshow://:dshow-adev="none":dshow-vdev="MSI Star Cam 370i":dshow-caching=1000 setup cam1 option dshow-size=320x240 setup cam1 option sub-filter=time:marq setup cam1 option time-position=9 setup cam1 option marq-marquee="cam1" setup cam1 output #transcode{vcodec=DIV3,.... #2 new cam2 broadcast enabled setup cam2 input dshow://... ... setup cam2 option marq-marquee="cam2" ... control cam1 play control cam2 play
but it doesn´t work. Setup options dshow-size and option sub-filter=time:marq work, but options marq-marquee and time-position don´t. Values from general saved preferences are used instead.
It seems they are equal in command line, but not in vlm script.
Thanks for any hint.
Albert

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

Postby dionoea » 16 Mar 2006 18:20

options which work on command line with the :option=value syntax will work in VLM. Those which only work with the --option=value syntax won't.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Videoman
Blank Cone
Blank Cone
Posts: 21
Joined: 03 Feb 2006 16:58

Postby Videoman » 17 Mar 2006 05:47

Albert, does your configuration work?
What I know is that VLC does not work on devices in same device name.

Albert
Cone that earned his stripes
Cone that earned his stripes
Posts: 102
Joined: 15 Mar 2006 08:17

Postby Albert » 17 Mar 2006 10:23

Hello,
It is a pity that I can´t run only one VLC and one VLM script. Are you plannig support for this for future versions?

I suppose that I have tu run several batch files with --options and so several VLCs :-(

Videoman:
there is a patch from garthb76
viewtopic.php?t=16319

Albert
Cone that earned his stripes
Cone that earned his stripes
Posts: 102
Joined: 15 Mar 2006 08:17

multiple identical dshow devices and win regedit.exe

Postby Albert » 18 Mar 2006 10:31

Hello Videoman,
I had not enough time to answer:
I have not tested this properly, but in WinME and 2 devices it seems to work.
Thanks to garthb76's patch (viewtopic.php?t=16319) I have a build, which shows me dshow DevicePaths: that is a very long sequence of characters and it is not comfortable to operate with them.
So I have another solution: I found the sequence with regedit.exe in Windows registers and I renamed FriendlyName to something unique (e.g. "StarCam 370i no1" etc). You can find your devices in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\ ...characters....\Device Parameters
or you can wait for a dshow VLC guru ;-)
I am not able to humanize garthb76's patch, so I use original VLC and altered windows.
Albert

edited 23.3.2006
Now I can say: this works :D
I have 3 MSI StarCam 370i No1 + No2 + No3 in the VLC dshow dialog.
Garthb76´patched vlc shows me DevicePath e.g.

Code: Select all

\\?\usb#vid_0c45&pid_60c0&mi_00#7&288bdd37&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
which I find in registers (the 2nd hit) and in sub-key change FriendlyName.
Works under WinXP SP2 and vlc-0.8.5-test1-20060322-0132
Albert
Last edited by Albert on 23 Mar 2006 15:00, edited 1 time in total.

Videoman
Blank Cone
Blank Cone
Posts: 21
Joined: 03 Feb 2006 16:58

Postby Videoman » 20 Mar 2006 02:31

Thanks

:wink:

Albert
Cone that earned his stripes
Cone that earned his stripes
Posts: 102
Joined: 15 Mar 2006 08:17

Postby Albert » 20 Mar 2006 12:26

Hello,
options which work on command line with the :option=value syntax will work in VLM. Those which only work with the --option=value syntax won't.
VLM:
setup cam1 option dshow-size=320x240 works but
...:dshow-size=320x240:... from GUI command line doesn´t.
Albert


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 41 guests