Bug Report Bt878 no video capture resolution

quetzalin

New Member
Hello, i've got an IDS FALCONquattro PCI card wich has 4 independent analog video capture inputs.

The problem is i can't set the capture resolution on OBS; i don't get the option on the video capture properties so it defaults to 320x240 and the card admits up to 720x576 (PAL), see the next screenshot

3CRmYOq.png


v4l2-ctl --all
Code:
Driver Info (not using libv4l2):
    Driver name   : bttv
    Card type     : BT878 video (IDS Eagle)
    Bus info      : PCI:0000:06:01.0
    Driver version: 4.4.6
    Capabilities  : 0x85200015
        Video Capture
        Video Overlay
        VBI Capture
        Read/Write
        Streaming
        Extended Pix Format
        Device Capabilities
    Device Caps   : 0x05200005
        Video Capture
        Video Overlay
        Read/Write
        Streaming
        Extended Pix Format
Priority: 2
Video input : 0 (Composite0: ok)
Video Standard = 0x000000ff
    PAL-B/B1/G/H/I/D/D1/K
Format Video Capture:
    Width/Height      : 320/240
    Pixel Format      : 'BGR3'
    Field             : Interlaced
    Bytes per Line    : 960
    Size Image        : 230400
    Colorspace        : SMPTE 170M
    Transfer Function : Default
    YCbCr Encoding    : Default
    Quantization      : Default
    Flags             :
Format Video Overlay:
    Left/Top    : 0/0
    Width/Height: 320/240
    Field       : Interlaced
    Chroma Key  : 0x00000000
    Global Alpha: 0x00
    Clip Count  : 0
    Clip Bitmap : Yes, 0 bits of 76800 are set
Framebuffer Format:
    Capability    : Clipping List
    Flags         : Primary Graphics Surface
    Width         : 0
    Height        : 0
    Pixel Format  : ''
    Bytes per Line: 0
    Size image    : 0
    Colorspace    : Default
Crop Capability Invalid:
    Bounds      : Left 68, Top 16, Width 1063, Height 608
    Default     : Left 186, Top 46, Width 924, Height 576
    Pixel Aspect: 1135/944
Crop: Left 186, Top 46, Width 924, Height 576
Streaming Parameters Video Capture:
    Frames per second: 25.000 (25/1)
    Read buffers     : 16

User Controls

                     brightness (int)    : min=0 max=65280 step=256 default=32768 value=32768 flags=slider
                       contrast (int)    : min=0 max=65408 step=128 default=27648 value=27648 flags=slider
                     saturation (int)    : min=0 max=65408 step=128 default=32768 value=32768 flags=slider
                            hue (int)    : min=0 max=65280 step=256 default=32768 value=32768 flags=slider
                           mute (bool)   : default=0 value=0
                     chroma_agc (bool)   : default=0 value=0
                   color_killer (bool)   : default=0 value=0
                    comb_filter (bool)   : default=0 value=0
                      auto_mute (bool)   : default=1 value=1
         luma_decimation_filter (bool)   : default=0 value=0
                      agc_crush (bool)   : default=1 value=1
                       vcr_hack (bool)   : default=0 value=0
               whitecrush_lower (int)    : min=0 max=255 step=1 default=127 value=127
               whitecrush_upper (int)    : min=0 max=255 step=1 default=207 value=207
                       uv_ratio (int)    : min=0 max=100 step=1 default=50 value=50
                full_luma_range (bool)   : default=0 value=0
                         coring (int)    : min=0 max=3 step=1 default=0 value=0

v4l2-ctl --list-formats
Code:
ioctl: VIDIOC_ENUM_FMT
    Index       : 0
    Type        : Video Capture
    Pixel Format: 'GREY'
    Name        : 8-bit Greyscale

    Index       : 1
    Type        : Video Capture
    Pixel Format: 'HI24'
    Name        : 8-bit Dithered RGB (BTTV)

    Index       : 2
    Type        : Video Capture
    Pixel Format: 'RGBO'
    Name        : 16-bit A/XRGB 1-5-5-5

    Index       : 3
    Type        : Video Capture
    Pixel Format: 'RGBQ'
    Name        : 16-bit A/XRGB 1-5-5-5 BE

    Index       : 4
    Type        : Video Capture
    Pixel Format: 'RGBP'
    Name        : 16-bit RGB 5-6-5

    Index       : 5
    Type        : Video Capture
    Pixel Format: 'RGBR'
    Name        : 16-bit RGB 5-6-5 BE

    Index       : 6
    Type        : Video Capture
    Pixel Format: 'BGR3'
    Name        : 24-bit BGR 8-8-8

    Index       : 7
    Type        : Video Capture
    Pixel Format: 'BGR4'
    Name        : 32-bit BGRA/X 8-8-8-8

    Index       : 8
    Type        : Video Capture
    Pixel Format: 'RGB4'
    Name        : 32-bit A/XRGB 8-8-8-8

    Index       : 9
    Type        : Video Capture
    Pixel Format: 'YUYV'
    Name        : YUYV 4:2:2

    Index       : 10
    Type        : Video Capture
    Pixel Format: 'UYVY'
    Name        : UYVY 4:2:2

    Index       : 11
    Type        : Video Capture
    Pixel Format: '422P'
    Name        : Planar YVU 4:2:2

    Index       : 12
    Type        : Video Capture
    Pixel Format: 'YU12'
    Name        : Planar YUV 4:2:0

    Index       : 13
    Type        : Video Capture
    Pixel Format: 'YV12'
    Name        : Planar YVU 4:2:0

    Index       : 14
    Type        : Video Capture
    Pixel Format: '411P'
    Name        : Planar YUV 4:1:1

    Index       : 15
    Type        : Video Capture
    Pixel Format: 'YUV9'
    Name        : Planar YUV 4:1:0

    Index       : 16
    Type        : Video Capture
    Pixel Format: 'YVU9'
    Name        : Planar YVU 4:1:0
 

Attachments

  • 2016-07-05 10-34-01.txt
    9.8 KB · Views: 34

leonhard

Developer
Have you tried all available pixelformats? The higher resolution might not be available with all of them, or in the worst case it might only work with a pixelformat not supported by OBS.
 

quetzalin

New Member
Have you tried all available pixelformats? The higher resolution might not be available with all of them, or in the worst case it might only work with a pixelformat not supported by OBS.

I did and it is still the same, the option to select the video resolution doesn't show.

I can configure the resolution with v4l2-ctl tho, before i run OBS, is the workaround i'm using until there is a solution:

Code:
v4l2-ctl –d /dev/video0 –set-fmt-video=width=720,height=576,pixelformat=YUYV
v4l2-ctl –d /dev/video1 –set-fmt-video=width=720,height=576,pixelformat=YUYV
...
 
Top