Re-post: fbdevsink display coordinates

Marco Ballesio gibrovacco at gmail.com
Thu Feb 24 12:53:12 PST 2011


Hi,

if you have enough processing power, a quick-and-dirty solution may
imply the usage of videobox:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-videobox.html

If I understood what you want to do, as an example (you'll have to
adapt it to your embedded device):

gst-launch v4l2src ! "video/x-raw-yuv, width=320, height=240" !
videobox right=-320 bottom=-240 ! xvimagesink

Regards

On Tue, Feb 22, 2011 at 11:38 AM, dan liang <liangdan.cn at gmail.com> wrote:
> Hello~,
>
> I'm trying to have video playback on my embedded linux board with a custom
> hardware decoder plugin. Now I have sucessfully made it run by command:
>
> gst-launch filesrc location="my_test.avi" ! avidemux ! myplugin ! fbdevsink
>
> But I don't know how to make the displayed frames align to the top left
> corner of the screen or any position I'd like. Currently it is always align
> centered.
>
> In my system, I prefer not to use Xserver, so I use framebuffer instead.
>
> BR
> Dan
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


More information about the gstreamer-devel mailing list