Capture device from virtual camera devices

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Phil2k
New Cone
New Cone
Posts: 5
Joined: 21 Feb 2009 04:01
VLC version: 0.9.8a Grishenko
Operating System: Windows XP,Vista
Location: Bucharest/Romania
Contact:

Capture device from virtual camera devices

Postby Phil2k » 21 Feb 2009 16:43

Hi,
I have a problem with capturing the device and at least displaying it:
The colours are messed up ( red and blue are switched ).

This is happening when I capture de device from Splitcam ( http://www.splitcamera.com ), or TrackerCam ( http://www.trackercam.com/TCamWeb/tcaminfo.htm ).
I tryed everything from the FAQ of VLC ( http://wiki.videolan.org/WindowsFAQ-0.9 ... _output.3F ), but it didn't worked:
- I disabled the option "Overlay video output" from Tools->Preferences->Video
- I tryed each Video Output Module ( DirectX, DirectX 3D, OpenGL, VideoMemory & Windows GDI video ), enabling and dissabling on each their options (ex.DirectX: Use Hardware YUV-RGB conversions, ... ).

I even tryed to switch the Windows display colors depth from 32 to 16 bits ( like one sayed from this forum ).
It seems that nothing worked :(

I tryed on 3 different computers ( 2 with Windows XP, 1 with Windows Vista ), with 3 web cameras ( Hercules Deluxe, Logitech Sphere & Creative PD1030 ).

The problem occurs only, when I use a virtual device for capturing ...
Also it seems that when I stream it, not only to display it, the colors are messed up ( green-gray faces, red & blue replaced ) :(

Please give me and advice, because I need a solution to play the camera localy and in the same time to stream it.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Capture device from virtual camera devices

Postby Jean-Baptiste Kempf » 21 Feb 2009 18:54

try to force the chroma to RV24
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Phil2k
New Cone
New Cone
Posts: 5
Joined: 21 Feb 2009 04:01
VLC version: 0.9.8a Grishenko
Operating System: Windows XP,Vista
Location: Bucharest/Romania
Contact:

Re: Capture device from virtual camera devices

Postby Phil2k » 21 Feb 2009 19:06

try to force the chroma to RV24
Nothing changed ... same problem with colors messed up :(

The paramaters that I use for VLC (0.9.8a Grishenko):

Code: Select all

dshow:// :dshow-vdev="SplitCam Capture" :dshow-adev="" :dshow-caching=200 :dshow-size="320x240" :dshow-chroma="RV24" :dshow-fps=30 :no-dshow-config :no-dshow-tuner :file-caching=10 :sout=#transcode{vcodec=mp4v,vb=800,scale=1}:duplicate{dst=std{access=mmsh,mux=asf,dst=:1234}}

Phil2k
New Cone
New Cone
Posts: 5
Joined: 21 Feb 2009 04:01
VLC version: 0.9.8a Grishenko
Operating System: Windows XP,Vista
Location: Bucharest/Romania
Contact:

Re: Capture device from virtual camera devices

Postby Phil2k » 21 Feb 2009 21:57

The people from SplitCamera forum also didn't find a solution:

http://www.splitcamera.com/forum/viewtopic.php?t=3117

My assumption it's that the problem might be between WDM of SplitCam and the VLC ...
I found out that some people had the same problem but with the video-source from a file, not a capture-device :( Might be a bug in VLC ?

basos
Blank Cone
Blank Cone
Posts: 24
Joined: 17 Jul 2008 14:19

Re: Capture device from virtual camera devices

Postby basos » 21 Feb 2009 23:10

Hello, this time im trying to rework some issues with the dshow plugin.
One of them is the observed inconsistency for chroma/width/height values setup in vlc configuration panels and the ones that are used indeed from the inderlying direct show video capture filter. What im saying is that these parameters that are set from vlc are NOT the same as the capture video filter takes into account. [This might not be true for all capture filters. That's for investigation. I'm talking about tuner/composite-in capture pci modules]

So, why don't you try to open the divice with dshow-config enabled and try to setup yr device chroma(or fourcc) from the video filter panels that should open.

Please post the number and especially the content of the direct show panels shown as well as if you had a success with any combination of parameters.

basos

Phil2k
New Cone
New Cone
Posts: 5
Joined: 21 Feb 2009 04:01
VLC version: 0.9.8a Grishenko
Operating System: Windows XP,Vista
Location: Bucharest/Romania
Contact:

Qua

Postby Phil2k » 21 Feb 2009 23:51

So, why don't you try to open the divice with dshow-config enabled and try to setup yr device chroma(or fourcc) from the video filter panels that should open.

Please post the number and especially the content of the direct show panels shown as well as if you had a success with any combination of parameters.
basos
Sorry basos, but still doesn't work.
Indead it shows me a panel with Proprieties of device ( SplitCam Capture ):

- Video Standard: NTSC_M, PAL_B, PAL_D, PAL_M & PAL_N
- VCR Input
- Output Enable.


When I select NTSC_M or PAL_B I can set some later values:
Video Format:
- Frame Rate: 30.000
- Color Space / Compresion: RGB 24
( only this it's shown to be selected :( )
- Output Size: 320x240...
Compresion:
- I Frame Interval: 15
- P Frame Interval: 3
- Quality: 0.500


With PAL_D, PAL_M & PAL_N, I can't select/change nothing from above.

It's there a way that I can "trick" this chroma and make WDM of SplitCam "kiss" with VLC ?

basos
Blank Cone
Blank Cone
Posts: 24
Joined: 17 Jul 2008 14:19

Re: Capture device from virtual camera devices

Postby basos » 22 Feb 2009 01:18

Thanks for the reply.

Yes that's what i was talking about. In my system (with capture card) only in some Video standards (PAL_B is one of them) the next panel with video format spits. But in my case color space has more options.
When you say "only this it's shown to be selected " you mean that there aren't any other choices available ? If this is the case then things might be difficult. As another try, set the vlc fourcc to the same value as direct show input filter (e.g. rgb24)

Anyway i'll investigate if there are other conflicts with chroma selection mess.

Phil2k
New Cone
New Cone
Posts: 5
Joined: 21 Feb 2009 04:01
VLC version: 0.9.8a Grishenko
Operating System: Windows XP,Vista
Location: Bucharest/Romania
Contact:

Re: Capture device from virtual camera devices

Postby Phil2k » 22 Feb 2009 18:05

Yes that's what i was talking about. In my system (with capture card) only in some Video standards (PAL_B is one of them) the next panel with video format spits. But in my case color space has more options.
When you say "only this it's shown to be selected " you mean that there aren't any other choices available ? If this is the case then things might be difficult. As another try, set the vlc fourcc to the same value as direct show input filter (e.g. rgb24)
Anyway i'll investigate if there are other conflicts with chroma selection mess.
Yes, in "Color Space / Compression", it's a drop-down menu, but with only one option to select: RGB 24.
What are you refering by "vlc fourcc" ?
By "direct show input filter" I assume you mean: in Open Capture Device menu -> Advanced options -> Video Input Chroma format. But there I tryed some values, and the only one that VLC accepts, it's "RV24" :(

Btw... can you please see that you have the same problem or not, by installing a SplitCam for your capture device and see that you have the same problem or not ?

basos
Blank Cone
Blank Cone
Posts: 24
Joined: 17 Jul 2008 14:19

Re: Capture device from virtual camera devices

Postby basos » 26 Feb 2009 04:55

Hello, i found sthing.
https://trac.videolan.org/vlc/ticket/2546

It seems that the problem is in some vlc chroma convertions.
We are testing ...


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 45 guests