VLM differences GUI-wx vs telnet+http in parsing and dshow
Posted: 24 Mar 2006 12:34
Hello,
I work with win32 nightlies - vlc-0.8.5-test1-20060322-0132, WinXP SP2, IE 6.
I found several bugs:
1. I would like setup mosaic from webcams by http intf. There is a problem, that http intf crashes vlc on loading png fake file, while command line setup fake-file works.
2. VLC http mosaic intf is not usable with IE6 - add INPUT and set position in mosaic don´t work (IE )
3. There is a difference in parsing VLM scripts (I guess). I mentioned here, that VLM from GUI-wx (win32) is not able to load or run vlm batch scripts from a file (...C:\ in path...).
I run mosaic from command line by
I tried to add --extraintf http:rc:wx and the message before crash was error in vlm file. So there is a difference in usage vlm.conf files between wx GUI and telnet+http.
My mosaic VLM conf is
4. There is a difference in usage of dshow devices between VLC (command line, GUI) and VLM (telnet, http).
In VLC GUI "Video device name" menu I can see
Default
None
MSI Star Cam 370i No1
MSI Star Cam 370i No2
MSI Star Cam 370i No3
as I renamed FriendlyName thanks to garthb76 patch. I can watch video from webcam 1, 2 or 3. I can also use command line to open dshow device of required webcam
If I try to PLAY element kamera1 from http or telnet VLM interface, it is not able to use specific webcam. It is only able to open (default?) dshow:// It doesn´t consider what is written after dshow:// and in setup kamera2 option dshow-vdev="qwert" too.
The message is "dshow://:dshow-vdev="MSI Star Cam 370i No1" succesfully opened", but it is not truth.
Here are the messages about trying to PLAY webcam No2
I can click PLAY whatever webcan I want, but only the default one is opened and no other. So VLM commands are not able to use specific dshow device
If somebody with Direct Show knowledge has time or desire to fix this problems...
Thank you
Albert
I work with win32 nightlies - vlc-0.8.5-test1-20060322-0132, WinXP SP2, IE 6.
I found several bugs:
1. I would like setup mosaic from webcams by http intf. There is a problem, that http intf crashes vlc on loading png fake file, while command line setup fake-file works.
2. VLC http mosaic intf is not usable with IE6 - add INPUT and set position in mosaic don´t work (IE )
3. There is a difference in parsing VLM scripts (I guess). I mentioned here, that VLM from GUI-wx (win32) is not able to load or run vlm batch scripts from a file (...C:\ in path...).
I run mosaic from command line by
Code: Select all
vlc -I telnet --extraintf http:rc --vlm-conf mosaic3x2full.vlm
--fake-file 960x480.png --color --mosaic-rows 2 --mosaic-cols 3 --mosaic-width 960 --mosaic-height 480 --mosaic-hborder --mosaic-vborder --mosaic-position 1 --mosaic-keep-picture --mosaic-order 1,2,3,4,5,6
My mosaic VLM conf is
Code: Select all
new kamera1 broadcast enabled
setup kamera1 input dshow://:dshow-vdev="MSI Star Cam 370i No1":dshow-adev="none":dshow-size="":dshow-caching=200:dshow-chroma="":dshow-fps=0.000000
setup kamera1 option dshow-adev="none"
setup kamera1 option dshow-size="320x240"
# because in-line parametres don´t work
setup kamera1 output #duplicate{dst=mosaic-bridge{id=1,width=320,height=240}}
new kamera2 broadcast enabled
setup kamera2 input dshow://:dshow-vdev="MSI Star Cam 370i No2":dshow-adev="none":dshow-size="":dshow-caching=200:dshow-chroma="":dshow-fps=0.000000
setup kamera2 option dshow-adev="none"
setup kamera2 option dshow-size="320x240"
setup kamera2 output #duplicate{dst=mosaic-bridge{id=2,width=320,height=240}}
new kamera3 broadcast enabled
setup kamera3 input c:\\pracovni\\Bear.wmv
setup kamera3 output
#duplicate{dst=mosaic-bridge{id=3,width=320,height=240},select=video}
...
new bg broadcast enabled
setup bg input fake:
setup bg option sub-filter=mosaic
setup bg output #bridge-in{delay=400,id-offset=100}:display
control bg play
In VLC GUI "Video device name" menu I can see
Default
None
MSI Star Cam 370i No1
MSI Star Cam 370i No2
MSI Star Cam 370i No3
as I renamed FriendlyName thanks to garthb76 patch. I can watch video from webcam 1, 2 or 3. I can also use command line to open dshow device of required webcam
Code: Select all
vlc -vvv -I rc --extraintf wx dshow://:dshow-vdev="MSI Star Cam 370i No3" :dshow-adev="none" :dshow-size="320x240" :dshow-caching=1000 --sout=#duplicate{dst=display}
The message is "dshow://:dshow-vdev="MSI Star Cam 370i No1" succesfully opened", but it is not truth.
Here are the messages about trying to PLAY webcam No2
Code: Select all
[00000288] rc interface: VLC media player - version 0.8.5-test1-20060322-0132 Ja
nus - (c) 1996-2006 the VideoLAN team
[00000288] rc interface:
Warning: if you can't access the GUI anymore, open a dos command box, go to the
directory where you installed VLC and run "vlc -I wxwin"
Remote control interface initialized, `h' for help
[00000292] main interface: creating vlm
[00000292] telnet interface: Using the VLM interface plugin...
[00000292] telnet interface: Telnet interface started on interface 4212
[00000364] [Media: kamera1] dshow demuxer error: can't use device: "none", unsupported device type
[00000364] [Media: kamera1] dshow demuxer error: can't open audio
[00000386] [Media: kamera2] dshow demuxer error: can't open video
[00000386] [Media: kamera2] dshow demuxer error: can't use device: "none", unsupported device type
[00000386] [Media: kamera2] dshow demuxer error: can't open audio
[00000387] [Media: kamera2] dshow access error: can't open video
[00000387] [Media: kamera2] dshow access error: can't use device: "none", unsupported device type
[00000387] [Media: kamera2] dshow access error: can't open audio
[00000382] [Media: kamera2] main input error: no suitable access module for `dshow://:dshow-vdev="MSI Star Cam 370i No2":dshow-adev="none":dshow-size="":dshow-c
aching=200:dshow-chroma="":dshow-fps=0.000000'
If somebody with Direct Show knowledge has time or desire to fix this problems...
Thank you
Albert