From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0A399E006E9 for ; Wed, 14 Aug 2013 07:22:18 -0700 (PDT) Received: by mail-pd0-f175.google.com with SMTP id q10so6387165pdj.6 for ; Wed, 14 Aug 2013 07:22:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=i0rBsdMtW1sh+O+Q0dF5cILiMdaWEHsp4ZvZ0gjl7EU=; b=HnpO066Cd8IrzG4qSkmjgS8excFoeUa1eK1Ze7xRNrnan1e6l1+eYXC+pLY9aBsQYr SFKvC55umjgZO9FfiIfhis19AhbbZYZgPKVpTf5ZZeaYt1sGfOI224AkvIKHw/s5R8W+ PL2qM7iZ3mMDXxnIjA/CcusYy33WJJkKAJR2qF6Nzj+ONBW4ZrC5RGaCs5g0MZK7Qvxq MH5kS3IpDBJnU0L7LMUwZ4gi9PDT5eCfyFP2I4funGBQH2bKrbK2olNmnoTxaeE0R+vY UMl6hG3aX5tup6iy6Qf72QUhr35PwamfhMwisqnFxJ0v2OZFLlj/CKSfLBajmBXtFTHj uRxg== X-Gm-Message-State: ALoCoQlPk7W92R/a/YcdHuD3tGuHzkyDjwLoxqhZ58ThVPos5OWXCJinsPZiLP9VWhnifd03JThB X-Received: by 10.68.218.132 with SMTP id pg4mr1204251pbc.200.1376490138198; Wed, 14 Aug 2013 07:22:18 -0700 (PDT) Received: from [192.168.1.8] (ip98-167-230-131.ph.ph.cox.net. [98.167.230.131]) by mx.google.com with ESMTPSA id pu5sm53609072pac.21.2013.08.14.07.22.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 Aug 2013 07:22:17 -0700 (PDT) Message-ID: <520B9295.40102@boundarydevices.com> Date: Wed, 14 Aug 2013 07:22:13 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Ashwin Kirpalani References: In-Reply-To: Cc: "meta-freescale@yoctoproject.org" Subject: Re: Matchbox desktop is active in background when playing videos X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 14:22:20 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Ashwin, First of /dev/video16 refers to the graphics layer (RGB or /dev/fb0), and if you use that output, the desktop will be over-written. The default /dev/video17 refers to the YUV overlay, and there's currently nothing in the v4lsink element to set the overlay parameters. We've patched this in the past to add color_key and alpha properties, but gave up because they need continuous maintenance with each Freescale release. http://boundarydevices.com/color-keying-with-freescale-g-streamer-video4linux-plugin/ If you wrap gstreamer with your own application, it's also easy enough to add the ioctls into your own code. Regards, Eric On 08/13/2013 09:50 PM, Ashwin Kirpalani wrote: > No, export VSALPHA=1 didn't help. I also tried this on master branch and > same thing happens. Also tried with the following command: > gst-launch mfw_v4lsrc ! mfw_v4lsink > > and I still see the background desktio while the preview image is > overlayed on top. > > But when I do this: > gst-launch mfw_v4lsrc ! mfw_v4lsink device=/dev/video16 > > the background desktop now goes away and I only see the camera stream, > which is what I want. > > A side effect of this is when I ctrl+c the above command, the matchbox > desktop does NOT come back and instead the last frame of the camera > (i.e. a still image) is displayed on the desktop. I'd like to be able to > go back to the desktop after previewing the camera. > > > > On Fri, Jul 12, 2013 at 9:59 AM, Fabio Estevam > wrote: > > On Fri, Jul 5, 2013 at 11:53 PM, Ashwin Kirpalani > > wrote: > > I am using yocto dylan - poky release on sabrelite. When I play > videos using > > "gplay" or "gstreamer", the matchbox desktop remains in the > background. I > > can see it through the video...i.e. it is translucent. Is there a > way to > > avoid this? Thanks > > Does "export VSALPHA=1" help? >