Re-post: fbdevsink display coordinates

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re-post: fbdevsink display coordinates

dan.liang
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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re-post: fbdevsink display coordinates

Marco Ballesio
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 <[hidden email]> 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
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re-post: fbdevsink display coordinates

Fantx
In reply to this post by dan.liang
您好!我是一名中过人
      您应该也是吧,你在去年的时候就已经提问了这个问题,您一定解决了能帮帮我吗,我也是和您当初同样的疑问...
        谢谢
Reply | Threaded
Open this post in threaded view
|

Re: Re-post: fbdevsink display coordinates

Philippe Normand
In reply to this post by dan.liang
Have you tried dfbvideosink?
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-dfbvideosink.html

You might find the example inspiring and extend it to move the surface
around using the DirectFB APIs.

Philippe

On Tue, 2011-02-22 at 17:38 +0800, dan liang 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
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re-post: fbdevsink display coordinates

Fantx
Hi
"dfbvideosink" don't know why I can't use,In DirectFB gstreamer have provided to the use of library,Do I need to compile a DiretcFB