bino-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bino-list] Possible to use two v4l2 inputs?


From: Martin Lambers
Subject: Re: [Bino-list] Possible to use two v4l2 inputs?
Date: Sat, 7 Apr 2012 12:58:08 +0200

Hi Goetz!

On Fri, 06 Apr 2012 14:23:58 -0600, Götz Dapp wrote:
> >>>>> It should be possible to open the video devices from the command
> >>>>> line: $ bino --device-frame-size=800x600 /dev/video0 /dev/video1
> >>>>>
> >>>>> If this works for you, I'll change the GUI dialog to allow this,
> >>>>> too.
> >>
> >> thanks, that's what I suspected. I compiled bino last night and the
> >> two input work! The resolution is limited to 800x600, I suspect
> >> that's because of bandwidth issues. Do you know if ffmpeg supports
> >> controlling the input data type / chroma, i.e. MJPG, which the
> >> camera can run natively? When I use cvlc and set the v4l2-chroma
> >> to MJPG it supports two cameras as 1280x800.
> > This seems to be supported by FFmpeg, but I'm not sure how to use
> > it. Can you add the following to line 815 in src/media_object.cpp?
> > 'av_dict_set(&iparams, "input_format", "mjpeg", 0);'
> > (Or apply the attached patch.)
> >
> > Does this work?
> >
> > If so, I can add a command line and GUI option "request mjpeg
> > format" or similar.
> >
> Works like a charm! Sweet! Thanks so much!

The latest version now has an option --device-format to request MJPEG
format, and the GUI "Open device" dialog was improved to allow opening
two devices and requesting MJPEG format.

Can you test this?

Best regards,
Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]