Le 22/08/2013 20:23, Jack a écrit :
>
> Le 22/08/2013 19:39, IOhannes m zmölnig a écrit :
> > On 08/22/13 18:40, Jack wrote:
> >>
> >> Le 22/08/2013 18:23, IOhannes m zmölnig a écrit :
> >>> On 08/22/13 18:05, Jack wrote:
> >>>>  When I compile streamViewer.cpp which contains the gstreamer pipe
> >>>> finishing by : v4l2sink device=/dev/video2, i get no error.
> > [...]
> >> $ v4l2-ctl --all -d /dev/video2
> >> Failed to open /dev/video2: No such file or directory
> > [...]
> >> $ cat /sys/devices/virtual/video4linux/video2/format
> >> cat: /sys/devices/virtual/video4linux/video2/format: No such file or
> >> directory
> >>
>
> > it seems that there is no /dev/video2.
> > you should set up your pipeline to write to an existing v4l2 loopback
> > device.
> > then report the output of v4l2-ctl and /sys/devices/... for *that*
> device.
>
> > fgmdsr
> > IOhannes
>
>
>
> > _______________________________________________
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
> Thanks IOhannes,
> I completely forgot to install v4l2loopback.
> Now it is working perfectly.
> Nice ! :)
> ++
>
> Jack
>
>
>
>
>
> _______________________________________________
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list

Now :
$ v4l2-ctl --all -d /dev/video1
Driver Info (not using libv4l2):
    Driver name   : v4l2 loopback
    Card type     : Dummy video device (0x0000)
    Bus info      : v4l2loopback:0
    Driver version: 0.7.0
    Capabilities  : 0x05000001
        Video Capture
        Read/Write
        Streaming
Video input : 0 (loopback: ok)
Video output: 0 (loopback in)
Format Video Capture:
    Width/Height  : 1280/1024
    Pixel Format  : 'GREY'
    Field         : None
    Bytes per Line: 1280
    Size Image    : 1310720
    Colorspace    : SRGB
Format Video Output:
    Width/Height  : 1280/1024
    Pixel Format  : 'GREY'
    Field         : None
    Bytes per Line: 1280
    Size Image    : 1310720
    Colorspace    : SRGB
Streaming Parameters Video Capture:
    Frames per second: 30.000 (30/1)
    Read buffers     : 8
Streaming Parameters Video Output:
    Frames per second: 30.000 (30/1)
    Write buffers    : 8
                    keep_format (bool)   : default=0 value=0
              sustain_framerate (bool)   : default=0 value=0
                        timeout (int)    : min=0 max=100000000 step=1
default=0 value=0
               timeout_image_io (bool)   : default=0 value=0

$ cat /sys/devices/virtual/video4linux/video1/format
GREY?30:1280x1024@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 ?
For info, i get 60 fps when I use the application streamViewer.
++

Jack


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to