v4l2apps and result

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

 



Hi all,

I was looking around in the v4l2apps directory and played a little bit
with the tools.

I ran driver-test and saw an error:
QUERYBUF: ERROR: VIDIOC_S_FMT said buffer should have 460800 size, but
received 462848 from QUERYBUF!

Can somebody explain please what this means and if it needs to be fixed?

Regards,

Wouter

./driver-test
driver=saa7134, card=AVerMedia A169 B, bus=PCI:0000:06:00.0,
version=0.2.14, capabilities=CAPTURE OVERLAY VBI_
CAPTURE TUNER READWRITE STREAMING
STANDARD: index=0, id=0x000000ff, name=PAL, fps=25.000, framelines=625
STANDARD: index=1, id=0x00000007, name=PAL-BG, fps=25.000, framelines=625
STANDARD: index=2, id=0x00000010, name=PAL-I, fps=25.000, framelines=625
STANDARD: index=3, id=0x000000e0, name=PAL-DK, fps=25.000, framelines=625
STANDARD: index=4, id=0x0000b000, name=NTSC, fps=29.970, framelines=525
STANDARD: index=5, id=0x00ff0000, name=SECAM, fps=25.000, framelines=625
STANDARD: index=6, id=0x00320000, name=SECAM-DK, fps=25.000, framelines=625
STANDARD: index=7, id=0x00400000, name=SECAM-L, fps=25.000, framelines=625
STANDARD: index=8, id=0x00800000, name=SECAM-Lc, fps=25.000, framelines=625
STANDARD: index=9, id=0x00000100, name=PAL-M, fps=29.970, framelines=525
STANDARD: index=10, id=0x00000400, name=PAL-Nc, fps=25.000, framelines=625
STANDARD: index=11, id=0x00000800, name=PAL-60, fps=29.970, framelines=525
INPUT: index=0, name=Television, type=1, audioset=1, tuner=0,
std=00ffbdff, status=65792
INPUT: index=1, name=Composite1, type=2, audioset=1, tuner=0,
std=00ffbdff, status=0
INPUT: index=2, name=Composite2, type=2, audioset=1, tuner=0,
std=00ffbdff, status=0
INPUT: index=3, name=Svideo1, type=2, audioset=1, tuner=0,
std=00ffbdff, status=0
INPUT: index=4, name=Svideo2, type=2, audioset=1, tuner=0,
std=00ffbdff, status=0
FORMAT: index=0, type=1, flags=0, description='8 bpp gray'
        fourcc=GREY
FORMAT: index=1, type=1, flags=0, description='15 bpp RGB, le'
        fourcc=RGBO
FORMAT: index=2, type=1, flags=0, description='15 bpp RGB, be'
        fourcc=RGBQ
FORMAT: index=3, type=1, flags=0, description='16 bpp RGB, le'
        fourcc=RGBP
FORMAT: index=4, type=1, flags=0, description='16 bpp RGB, be'
        fourcc=RGBR
FORMAT: index=5, type=1, flags=0, description='24 bpp RGB, le'
        fourcc=BGR3
FORMAT: index=6, type=1, flags=0, description='24 bpp RGB, be'
        fourcc=RGB3
FORMAT: index=7, type=1, flags=0, description='32 bpp RGB, le'
        fourcc=BGR4
FORMAT: index=8, type=1, flags=0, description='32 bpp RGB, be'
        fourcc=RGB4
FORMAT: index=9, type=1, flags=0, description='4:2:2 packed, YUYV'
        fourcc=YUYV
FORMAT: index=10, type=1, flags=0, description='4:2:2 packed, UYVY'
        fourcc=UYVY
FORMAT: index=11, type=1, flags=0, description='4:2:2 planar, Y-Cb-Cr'
        fourcc=422P
FORMAT: index=12, type=1, flags=0, description='4:2:0 planar, Y-Cb-Cr'
        fourcc=YU12
FORMAT: index=13, type=1, flags=0, description='4:2:0 planar, Y-Cb-Cr'
        fourcc=YV12
FMT SET: 640x480, fourcc=GREY, 640 bytes/line, 307200 bytes/frame,
colorspace=0x00000000
FMT SET: 640x480, fourcc=RGBO, 1280 bytes/line, 614400 bytes/frame,
colorspace=0x00000000
FMT SET: 640x480, fourcc=RGBQ, 1280 bytes/line, 614400 bytes/frame,
colorspace=0x00000000
FMT SET: 640x480, fourcc=RGBP, 1280 bytes/line, 614400 bytes/frame,
colorspace=0x00000000
FMT SET: 640x480, fourcc=RGBR, 1280 bytes/line, 614400 bytes/frame,
colorspace=0x00000000
FMT SET: 640x480, fourcc=BGR3, 1920 bytes/line, 921600 bytes/frame,
colorspace=0x00000000
FMT SET: 640x480, fourcc=RGB3, 1920 bytes/line, 921600 bytes/frame,
colorspace=0x00000000
FMT SET: 640x480, fourcc=BGR4, 2560 bytes/line, 1228800 bytes/frame,
colorspace=0x00000000
FMT SET: 640x480, fourcc=RGB4, 2560 bytes/line, 1228800 bytes/frame,
colorspace=0x00000000
FMT SET: 640x480, fourcc=YUYV, 1280 bytes/line, 614400 bytes/frame,
colorspace=0x00000000
FMT SET: 640x480, fourcc=UYVY, 1280 bytes/line, 614400 bytes/frame,
colorspace=0x00000000
FMT SET: 640x480, fourcc=422P, 1280 bytes/line, 614400 bytes/frame,
colorspace=0x00000000
FMT SET: 640x480, fourcc=YU12, 960 bytes/line, 460800 bytes/frame,
colorspace=0x00000000
FMT SET: 640x480, fourcc=YV12, 960 bytes/line, 460800 bytes/frame,
colorspace=0x00000000
PARM: capability=0, capturemode=0, nan fps ext=0, readbuf=0
62.5 kHz step
board is at freq 121.250 MHz (1940)
62.5 kHz step
board set to freq 0.000 MHz (0)
62.5 kHz step
board set to freq 121.250 MHz (1940)
Preparing for frames...
REQBUFS: count=2, type=video-cap, memory=mmap
QUERYBUF: 00:00:00.00000000 index=0, type=video-cap, bytesused=0,
flags=0x00000000, field=any, sequence=0, mem
ory=mmap, offset=0x00000000, length=462848
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
QUERYBUF: ERROR: VIDIOC_S_FMT said buffer should have 460800 size, but
received 462848 from QUERYBUF!
QUERYBUF: 00:00:00.00000000 index=1, type=video-cap, bytesused=0,
flags=0x00000000, field=any, sequence=0, mem
ory=mmap, offset=0x00071000, length=462848
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
QUERYBUF: ERROR: VIDIOC_S_FMT said buffer should have 460800 size, but
received 462848 from QUERYBUF!
Activating 2 queues
QBUF: 00:00:00.00000000 index=0, type=video-cap, bytesused=0,
flags=0x00000000, field=any, sequence=0, memory=
mmap, offset=0x00000000, length=0
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
QBUF: 00:00:00.00000000 index=1, type=video-cap, bytesused=0,
flags=0x00000000, field=any, sequence=0, memory=
mmap, offset=0x00000000, length=0
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
Enabling streaming
Waiting for frames...
DQBUF: 328428:13:25.00811736 index=0, type=video-cap,
bytesused=460800, flags=0x00000001, field=interlaced, se
quence=437761, memory=mmap, offset=0x00000000, length=462848
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
DQBUF: 328428:13:25.00856582 index=1, type=video-cap,
bytesused=460800, flags=0x00000001, field=interlaced, se
quence=437762, memory=mmap, offset=0x00071000, length=462848
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
DQBUF: 328428:13:25.00901428 index=0, type=video-cap,
bytesused=460800, flags=0x00000001, field=interlaced, se
quence=437763, memory=mmap, offset=0x00000000, length=462848
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
DQBUF: 328428:13:25.00946274 index=1, type=video-cap,
bytesused=460800, flags=0x00000001, field=interlaced, se
           quence=437764, memory=mmap, offset=0x00071000,
length=462848
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
DQBUF: 328428:13:25.00991119 index=0, type=video-cap,
bytesused=460800, flags=0x00000001, field=interlaced, se
           quence=437765, memory=mmap, offset=0x00000000,
length=462848
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
DQBUF: 328428:13:26.00035965 index=1, type=video-cap,
bytesused=460800, flags=0x00000001, field=interlaced, se
           quence=437766, memory=mmap, offset=0x00071000,
length=462848
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
DQBUF: 328428:13:26.00080810 index=0, type=video-cap,
bytesused=460800, flags=0x00000001, field=interlaced, se
           quence=437767, memory=mmap, offset=0x00000000,
length=462848
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
DQBUF: 328428:13:26.00125656 index=1, type=video-cap,
bytesused=460800, flags=0x00000001, field=interlaced, se
           quence=437768, memory=mmap, offset=0x00071000,
length=462848
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
DQBUF: 328428:13:26.00170497 index=0, type=video-cap,
bytesused=460800, flags=0x00000001, field=interlaced, se
           quence=437769, memory=mmap, offset=0x00000000,
length=462848
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
DQBUF: 328428:13:26.00215343 index=1, type=video-cap,
bytesused=460800, flags=0x00000001, field=interlaced, se
           quence=437770, memory=mmap, offset=0x00071000,
length=462848
        TIMECODE: 00:00:00 type=0, flags=0x00000000, frames=0,
userbits=0x00000000
stopping streaming

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux