← Back to team overview

desktop-packages team mailing list archive

[Bug 706039] Re: Can't produce data in UYVY

 

Strange, it only works if I apply both patches.
I've uploaded a fixed version to my PPA (https://launchpad.net/~sroecker/+archive/oneiric).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gst-plugins-good0.10 in Ubuntu.
https://bugs.launchpad.net/bugs/706039

Title:
  Can't produce data in UYVY

Status in GStreamer Plugins (Good):
  Fix Released
Status in Apple Built-in iSight Firmware Tools for Linux:
  Confirmed
Status in “gst-plugins-good0.10” package in Ubuntu:
  Confirmed
Status in “isight-firmware-tools” package in Ubuntu:
  Confirmed
Status in Gentoo Linux:
  New

Bug description:
  v4l-info shows that my isight supports UYVY format, but when trying to
  configure it on this format it doesn't produce any data.

  The problem gets worse because this seems to be its preferred format,
  so gstreamer tries to use it and it fails.

  gst-launch autovideosrc ! ffmpegcolorspace ! autovideosink

  Using other formats work.

  $ v4l-info

  ### v4l2 device info [/dev/video0] ###
  general info
      VIDIOC_QUERYCAP
  	driver                  : "uvcvideo"
  	card                    : "Built-in iSight"
  	bus_info                : "usb-0000:00:1d.7-4"
  	version                 : 0.1.0
  	capabilities            : 0x4000001 [VIDEO_CAPTURE,STREAMING]

  standards

  inputs
      VIDIOC_ENUMINPUT(0)
  	index                   : 0
  	name                    : "Camera 1"
  	type                    : CAMERA
  	audioset                : 0
  	tuner                   : 0
  	std                     : 0x0 []
  	status                  : 0x0 []

  video capture
      VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
  	index                   : 0
  	type                    : VIDEO_CAPTURE
  	flags                   : 0
  	description             : "YUV 4:2:2 (UYVY)"
  	pixelformat             : 0x59565955 [UYVY]
      VIDIOC_G_FMT(VIDEO_CAPTURE)
  	type                    : VIDEO_CAPTURE
  	fmt.pix.width           : 640
  	fmt.pix.height          : 480
  	fmt.pix.pixelformat     : 0x59565955 [UYVY]
  	fmt.pix.field           : NONE
  	fmt.pix.bytesperline    : 1280
  	fmt.pix.sizeimage       : 614400
  	fmt.pix.colorspace      : unknown
  	fmt.pix.priv            : 0

  controls
      VIDIOC_QUERYCTRL(BASE+0)
  	id                      : 9963776
  	type                    : INTEGER
  	name                    : "Brightness"
  	minimum                 : 0
  	maximum                 : 255
  	step                    : 1
  	default_value           : 63
  	flags                   : 0

  ### video4linux device info [/dev/video0] ###
  general info
      VIDIOCGCAP
  	name                    : "Built-in iSight"
  	type                    : 0x1 [CAPTURE]
  	channels                : 1
  	audios                  : 0
  	maxwidth                : 640
  	maxheight               : 480
  	minwidth                : 48
  	minheight               : 32

  channels
      VIDIOCGCHAN(0)
  	channel                 : 0
  	name                    : "Camera 1"
  	tuners                  : 0
  	flags                   : 0x0 []
  	type                    : CAMERA
  	norm                    : 0

  tuner
  ioctl VIDIOCGTUNER: Invalid argument

  audio
  ioctl VIDIOCGAUDIO: Invalid argument

  picture
      VIDIOCGPICT
  	brightness              : 16191
  	hue                     : 0
  	colour                  : 54613
  	contrast                : 0
  	whiteness               : 0
  	depth                   : 16
  	palette                 : UYVY

  buffer
  ioctl VIDIOCGFBUF: Invalid argument

  window
      VIDIOCGWIN
  	x                       : 0
  	y                       : 0
  	width                   : 640
  	height                  : 480
  	chromakey               : 0
  	flags                   : 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/gst-plugins-good/+bug/706039/+subscriptions