Page 1 of 1

Select video input channel

Posted: 27 Jul 2015 11:03
by FrankvdHulst
Hello everybody,

I'm developing a livestream for four cameras in Labview with the use of libvlc. I have variaty of cameras from analog BW to IP cameras. The IP cameras I have no problem with but I have some problems with analog input. I make use of the following video decoder: Conexant CX25858 Video Capture (http://205.175.208.33/products/entry.jsp?id=609) which has 4 input channels.
What I want is to command VLC which of the channels it should select.

In my current code it is possible to obtain multiple channels and see the video however I open every mediaplayer instance with the same commandline: "dshow:// :dshow-vdev=Conexant CX25858 Video Capture :dshow-adev= :live-caching=300". The first instance will take the first input and the second the second input and so on.

But is there a possibility to command the first instance to use the fourth input channel?

I ask this because closing the channels gives problems and causes my code to crash. This problem doesn't exists for the other cameras where I select the specific channels with individual names.
I'm using VLC 2.1.5.
I'm not experienced with VLC, so I hope the information I give is sufficient.

Cheers,
Frank

Re: Select video input channel

Posted: 30 Jul 2015 00:06
by Jean-Baptiste Kempf
Can you find it in the preferences of VLC, in the directshow section?

Re: Select video input channel

Posted: 31 Jul 2015 13:16
by FrankvdHulst
Yes, but if I try to change it will go back to the "-1" value. I might have located the problem. The board on-board which I connect the analog signals to is connected to the IVCME board which has four conexant CX25858 decoders on it (the IVCME board is custom made by IEI). But VLC detects the decoder (CX25858) but only one, and it should detect the individual decoders or the board and I can select 1,2,3,4. The board (IVCME) is delivered with a SDK, so I will try to figure it out with that.

But a second problem can to light. When I close/release the media-player it is crashing, but it only does this when I use the IVCME board, and not with IP or webcams. I think I should try to fix this problem as well with the SDK of the board, and not with VLC.

Thanks for the response Jean-Baptiste.