<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.4.3">
</HEAD>
<BODY>
Le vendredi 13 juillet 2012 à 00:06 -0700, Pierre-Alain a écrit :<BR>
<BLOCKQUOTE TYPE=CITE>
    <TT><FONT COLOR="#2e3436">Have you got any idea to solve this problem ??</FONT></TT><BR>
</BLOCKQUOTE>
Most people that target HW accelerated decoding will render into GL texture in their program (see gst-vaapi and opengl thread on this mailing list archive) and use GL to do the cropping/scaling and video window placement. Alternatively, I'd suggest using Clutter as all of it is already integrated (so you really just have to place the video).<BR>
<BLOCKQUOTE TYPE=CITE>
    <BR>
    <TT><FONT COLOR="#2e3436">It must look simple for you, but to me it's a problem ! </FONT></TT><BR>
    <TT><FONT COLOR="#2e3436">Using with  one single video, gstreamer-vaapi is just awesome ! </FONT></TT><BR>
</BLOCKQUOTE>
<BR>
Well from gst-launch it's simply not possible to do what you want to. There exist some GL element that would serve this purpose, but they are not yet integrate with HW accelerated buffers that support OpenGL. Right now, the quickest solution to test this is to write a small Clutter application.<BR>
<BR>
cheers,<BR>
Nicolas
</BODY>
</HTML>