Problem capturing from Hauppauge WinTV-HVR1120 DVB-T/H
Tvrtko Ursulin
tvrtko.ursulin at onelan.co.uk
Wed May 25 07:17:39 PDT 2011
Hi all,
This is a three input cards (DVB-T, Composite and S-Video) and I am at the
moment struggling to capture from the Composite input, for example.
Attached are some v4l2-ctl outputs and gst-launch debug logs.
First thing I do is set input to composite:
v4l2-ctl -d 0 -i 1
Most naive attempt to get something is:
gst-launch-0.10 v4l2src ! queue ! xvimagesink
Which fails with (also log.0 attached):
gstv4l2object.c(2093): gst_v4l2_object_set_format (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Call to S_FMT failed for YUYV @ 720x480: Invalid argument
Gstreamer is 0.10.32 and plugins-good are 0.10.27.
I tried messing around with specifying caps like:
v4l2src ! video/x-raw-yuv,format=YV12 ! queue ! xvimagesink
Which results in (log.yv12):
WARNING: erroneous pipeline: could not link v4l2src0 to queue0
If anyone has any hints on what is the problem it would be appreciated.
Thanks,
Tvrtko
-------------- next part --------------
Driver Info (not using libv4l2):
Driver name : saa7134
Card type : Hauppauge WinTV-HVR1120 DVB-T/H
Bus info : PCI:0000:01:0f.0
Driver version: 0.2.16
Capabilities : 0x05010015
Video Capture
Video Overlay
VBI Capture
Tuner
Read/Write
Streaming
Format Video Capture:
Width/Height : 720/576
Pixel Format : 'BGR3'
Field : Interlaced
Bytes per Line: 2160
Size Image : 1244160
Colorspace : Unknown (00000000)
Format Video Overlay:
Left/Top : 0/0
Width/Height: 0/0
Field : Any
Chroma Key : 0x00000000
Global Alpha: 0x00
Clip Count : 0
Clip Bitmap : No
Format VBI Capture:
Sampling Rate : 27000000 Hz
Offset : 256 samples (9.48148e-06 secs after leading edge)
Samples per Line: 2048
Sample Format : GREY
Start 1st Field : 10
Count 1st Field : 12
Start 2nd Field : 273
Count 2nd Field : 12
Framebuffer Format:
Capability : Clipping List
Flags :
Width : 0
Height : 0
Pixel Format : ''
Bytes per Line: 0
Size image : 0
Colorspace : Unknown (00000000)
Crop Capability Video Capture:
Bounds : Left 0, Top 44, Width 720, Height 480
Default : Left 0, Top 46, Width 720, Height 480
Pixel Aspect: 11/10
Crop: Left 0, Top 46, Width 720, Height 480
Video input : 1 (Composite1: ok)
Audio input : 0 (audio)
Frequency: 0 (0.000000 MHz)
Video Standard = 0x0000b000
NTSC-M/M-JP/M-KR
Streaming Parameters Video Capture:
Frames per second: invalid (0/0)
Read buffers : 0
Tuner:
Name : Television
Capabilities : 62.5 kHz multi-standard stereo lang1 lang2
Frequency range : 0.0 MHz - 268435455.9 MHz
Signal strength/AFC : 100%/0
Current audio mode : mono
Available subchannels: mono
Priority: 2
-------------- next part --------------
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'GREY'
Name : 8 bpp gray
Index : 1
Type : Video Capture
Pixel Format: 'RGBO'
Name : 15 bpp RGB, le
Index : 2
Type : Video Capture
Pixel Format: 'RGBQ'
Name : 15 bpp RGB, be
Index : 3
Type : Video Capture
Pixel Format: 'RGBP'
Name : 16 bpp RGB, le
Index : 4
Type : Video Capture
Pixel Format: 'RGBR'
Name : 16 bpp RGB, be
Index : 5
Type : Video Capture
Pixel Format: 'BGR3'
Name : 24 bpp RGB, le
Index : 6
Type : Video Capture
Pixel Format: 'RGB3'
Name : 24 bpp RGB, be
Index : 7
Type : Video Capture
Pixel Format: 'BGR4'
Name : 32 bpp RGB, le
Index : 8
Type : Video Capture
Pixel Format: 'RGB4'
Name : 32 bpp RGB, be
Index : 9
Type : Video Capture
Pixel Format: 'YUYV'
Name : 4:2:2 packed, YUYV
Index : 10
Type : Video Capture
Pixel Format: 'UYVY'
Name : 4:2:2 packed, UYVY
Index : 11
Type : Video Capture
Pixel Format: '422P'
Name : 4:2:2 planar, Y-Cb-Cr
Index : 12
Type : Video Capture
Pixel Format: 'YU12'
Name : 4:2:0 planar, Y-Cb-Cr
Index : 13
Type : Video Capture
Pixel Format: 'YV12'
Name : 4:2:0 planar, Y-Cb-Cr
Index : 0
Type : Video Overlay
Pixel Format: 'GREY'
Name : 8 bpp gray
Index : 1
Type : Video Overlay
Pixel Format: 'RGBO'
Name : 15 bpp RGB, le
Index : 2
Type : Video Overlay
Pixel Format: 'RGBQ'
Name : 15 bpp RGB, be
Index : 3
Type : Video Overlay
Pixel Format: 'RGBP'
Name : 16 bpp RGB, le
Index : 4
Type : Video Overlay
Pixel Format: 'RGBR'
Name : 16 bpp RGB, be
Index : 5
Type : Video Overlay
Pixel Format: 'BGR3'
Name : 24 bpp RGB, le
Index : 6
Type : Video Overlay
Pixel Format: 'RGB3'
Name : 24 bpp RGB, be
Index : 7
Type : Video Overlay
Pixel Format: 'BGR4'
Name : 32 bpp RGB, le
Index : 8
Type : Video Overlay
Pixel Format: 'RGB4'
Name : 32 bpp RGB, be
Index : 9
Type : Video Overlay
Pixel Format: 'YUYV'
Name : 4:2:2 packed, YUYV
Index : 10
Type : Video Overlay
Pixel Format: 'UYVY'
Name : 4:2:2 packed, UYVY
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.0.gz
Type: application/x-gzip
Size: 261926 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110525/13f478d6/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.yv12.gz
Type: application/x-gzip
Size: 212229 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110525/13f478d6/attachment-0003.bin>
More information about the gstreamer-devel
mailing list