All of lore.kernel.org
 help / color / mirror / Atom feed
* Matchbox desktop is active in background when playing videos
@ 2013-07-06  2:53 Ashwin Kirpalani
  2013-07-12 13:48 ` Otavio Salvador
  2013-07-12 13:59 ` Fabio Estevam
  0 siblings, 2 replies; 5+ messages in thread
From: Ashwin Kirpalani @ 2013-07-06  2:53 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 247 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 287 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Matchbox desktop is active in background when playing videos
  2013-07-06  2:53 Matchbox desktop is active in background when playing videos Ashwin Kirpalani
@ 2013-07-12 13:48 ` Otavio Salvador
  2013-07-12 13:59 ` Fabio Estevam
  1 sibling, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2013-07-12 13:48 UTC (permalink / raw)
  To: Ashwin Kirpalani; +Cc: meta-freescale@yoctoproject.org

On Fri, Jul 5, 2013 at 11:53 PM, Ashwin Kirpalani <akcooper8@gmail.com> 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

Please give a try in master as it has updated VPU libraries.

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Matchbox desktop is active in background when playing videos
  2013-07-06  2:53 Matchbox desktop is active in background when playing videos Ashwin Kirpalani
  2013-07-12 13:48 ` Otavio Salvador
@ 2013-07-12 13:59 ` Fabio Estevam
  2013-08-14  4:50   ` Ashwin Kirpalani
  1 sibling, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2013-07-12 13:59 UTC (permalink / raw)
  To: Ashwin Kirpalani; +Cc: meta-freescale@yoctoproject.org

On Fri, Jul 5, 2013 at 11:53 PM, Ashwin Kirpalani <akcooper8@gmail.com> 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?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Matchbox desktop is active in background when playing videos
  2013-07-12 13:59 ` Fabio Estevam
@ 2013-08-14  4:50   ` Ashwin Kirpalani
  2013-08-14 14:22     ` Eric Nelson
  0 siblings, 1 reply; 5+ messages in thread
From: Ashwin Kirpalani @ 2013-08-14  4:50 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1180 bytes --]

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 <festevam@gmail.com> wrote:

> On Fri, Jul 5, 2013 at 11:53 PM, Ashwin Kirpalani <akcooper8@gmail.com>
> 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?
>

[-- Attachment #2: Type: text/html, Size: 2563 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Matchbox desktop is active in background when playing videos
  2013-08-14  4:50   ` Ashwin Kirpalani
@ 2013-08-14 14:22     ` Eric Nelson
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Nelson @ 2013-08-14 14:22 UTC (permalink / raw)
  To: Ashwin Kirpalani; +Cc: meta-freescale@yoctoproject.org

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 <festevam@gmail.com
> <mailto:festevam@gmail.com>> wrote:
>
>     On Fri, Jul 5, 2013 at 11:53 PM, Ashwin Kirpalani
>     <akcooper8@gmail.com <mailto:akcooper8@gmail.com>> 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?
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-08-14 14:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-06  2:53 Matchbox desktop is active in background when playing videos Ashwin Kirpalani
2013-07-12 13:48 ` Otavio Salvador
2013-07-12 13:59 ` Fabio Estevam
2013-08-14  4:50   ` Ashwin Kirpalani
2013-08-14 14:22     ` Eric Nelson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.