Select video input channel

This forum is about all development around libVLC.
FrankvdHulst
New Cone
New Cone
Posts: 2
Joined: 27 Jul 2015 10:47

Select video input channel

Postby FrankvdHulst » 27 Jul 2015 11:03

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

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: Select video input channel

Postby Jean-Baptiste Kempf » 30 Jul 2015 00:06

Can you find it in the preferences of VLC, in the directshow section?
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.

FrankvdHulst
New Cone
New Cone
Posts: 2
Joined: 27 Jul 2015 10:47

Re: Select video input channel

Postby FrankvdHulst » 31 Jul 2015 13:16

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 22 guests