[PD] [OT] get video stream with pdgst from XIMEA camera

Jack jack at rybn.org
Mon Aug 26 19:06:25 CEST 2013


Hello,

The answer about v4l2 driver for xiQ camera from Ximea :

Dear Mr.Jack,

Based on information of our linux implementation specialist we are not
planning implementation of v4l2 because it is quite complicated task and
there are no big potential from current customers.

Probably gstreamer interface would be simpler for implementation, but
unfortunately also this interface is not in our plan pipeline.

Best regards


    Hello,

    I have a xiQ camera and test it on my Ubuntu. It works well with
streamViewer provided by your staff.
    But for a lot of people working under linux platform like me, it
would be very nice to use v4l2 driver. This is free/open and a standard
on linux.
    Are you working on this solution (to make v4l2 driver for your xiQ
USB3.0 camera) ?
    Best!
    ++

    Jack


For peole interested in the xiQ cameras : Ximea API/Gstreamer have
worked during more 24 hours without problem on my computer (Ubuntu
12.04, kernel 3.8, gstreamer 0.10).
I run into trouble (i get a crash after more or less 2 hours) when i
tried to modify the code to get Gstreamer working with
v4l2sink/v4l2loopback/[pix_video], but my skill in C++ are to bad to get
things stable...
++

Jack



Le 23/08/2013 12:17, Jack a écrit :
>
> Hello,
>
> Le 22/08/2013 21:03, IOhannes zmölnig a écrit :
> > On 08/22/2013 08:40 PM, Jack wrote:
> >>
> >> $ cat /sys/devices/virtual/video4linux/video1/format
> >> GREY?30:1280x1024 at 30
> >>
> >> I expect 60 fps.
> >> If i set :
> >> $ v4l2-ctl -d /dev/video1 -p 60
> >> or
> >> $ v4l2-ctl -d /dev/video1 -p 1
> >> It doesn't change anything.
> >> Do you know if there is a possibility to get this frame rate (60 fps) ?
> >> Is it a limitation using videoloopback ?
>
> > no.
> > v4l2loopback does not know nor care about frames or formats.
> > it simply passes the frames from one application to another. there is no
> > colorspace-conversion of resampling or the like involved.
> OK.
>
>
>
> > it's gstreamer that doesn't set the framerate correctly.
>
> > you could force it by running:
> >  $ echo "@60" | sudo tee /sys/devices/virtual/video4linux/video1/format
>
> > in practice i don't think that this framerate setting will do much.
> Yes, it doesn't change anything.
>
>
>
> >> For info, i get 60 fps when I use the application streamViewer.
>
> > how do you know?
> It is written in the top window border : "Acquisition [ cptured: 2854,
> skipped: 1, fps : 61.40 ]"
> Seeing the video capture in the Gem window, i guess it is at 60 fps.
> So, in this case, information about framerate return by :
> $ v4l2-ctl --all -d /dev/video1
> or
> $ cat /sys/devices/virtual/video4linux/video1/format
> is incorrect.
> Thank you for your help IOhannes, now I can get the stream from a
> XIMEA camera in Gem.
> Do you think, it will be much better/faster/stable to get a v4l2
> driver from XIMEA than to use a pipe with gstreamer/v4l2loopback ?
> ++
>
> Jack
>
>
>
>
> > fdsmard
> > IOhannes
>
>
>
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130826/03a4b958/attachment-0001.htm>


More information about the Pd-list mailing list