Re: Video capturing

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

 



05.07.18 16:52, Nicolas Dufresne пише:
> Le jeudi 05 juillet 2018 à 16:35 +0300, Oleh Kravchenko a écrit :
> 
> And do you get the same with GStreamer ?
> gst-launch-1.0 v4l2src device=/dev/video1 norm=PAL ! videoconvert ! autovideosink

Doesn't work:

$ v4l2-ctl -d /dev/video2 --all
Driver Info (not using libv4l2):
        Driver name   : cx231xx
        Card type     : Astrometa T2hybrid
        Bus info      : usb-0000:01:00.0-7
        Driver version: 4.16.18
        Capabilities  : 0x85200011
                Video Capture
                VBI Capture
                Read/Write
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps   : 0x05200001
                Video Capture
                Read/Write
                Streaming
                Extended Pix Format
Priority: 2
Video input : 1 (Composite1: no signal, no hsync lock.)
Video Standard = 0x000000ff
        PAL-B/B1/G/H/I/D/D1/K
Format Video Capture:
        Width/Height      : 720/576
        Pixel Format      : 'YUYV'
        Field             : Interlaced
        Bytes per Line    : 1440
        Size Image        : 829440
        Colorspace        : SMPTE 170M
        Transfer Function : Default
        YCbCr Encoding    : Default
        Quantization      : Default
        Flags             : 
Crop Capability Video Capture:
        Bounds      : Left 0, Top 0, Width 720, Height 576
        Default     : Left 0, Top 0, Width 720, Height 576
        Pixel Aspect: 54/59
Streaming Parameters Video Capture:
        Frames per second: 25.000 (25/1)
        Read buffers     : 2

User Controls

                     brightness (int)    : min=0 max=255 step=1 default=128 value=128 flags=slider
                       contrast (int)    : min=0 max=127 step=1 default=64 value=64 flags=slider
                     saturation (int)    : min=0 max=127 step=1 default=64 value=64 flags=slider
                            hue (int)    : min=-128 max=127 step=1 default=0 value=0 flags=slider
                         volume (int)    : min=0 max=65535 step=655 default=60928 value=60928 flags=slider
                        balance (int)    : min=0 max=65535 step=655 default=32768 value=32768 flags=slider
                           bass (int)    : min=0 max=65535 step=655 default=32768 value=32768 flags=slider
                         treble (int)    : min=0 max=65535 step=655 default=32768 value=32768 flags=slider
                           mute (bool)   : default=0 value=1


$ gst-launch-1.0 v4l2src device=/dev/video2 norm=PAL ! videoconvert ! autovideosink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to get setting of tuner 0 on device '/dev/video2'.
Additional debug info:
/tmp/portage/media-plugins/gst-plugins-v4l2-1.12.4/work/gst-plugins-good-1.12.4/sys/v4l2/v4l2_calls.c(190): gst_v4l2_fill_lists (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Inappropriate ioctl for device
Setting pipeline to NULL ...
Freeing pipeline ...

-- 
Best regards,
Oleh Kravchenko


Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux