[MPlayer-dev-eng] Displaying an image on top of video

compn tempn at twmi.rr.com
Sat Mar 16 23:23:32 CET 2013


On Sat, 16 Mar 2013 20:26:35 +0100, Reimar Döffinger wrote:
>On Wed, Mar 13, 2013 at 03:53:23PM -0400, compn wrote:
>> On Wed, 13 Mar 2013 19:43:24 +0100, Reimar Döffinger wrote:
>> >On Wed, Mar 13, 2013 at 03:08:08PM -0300, Alexandre Amoedo Amorim wrote:
>> >> Hello everyone,
>> >> 
>> >> I'm working on a project where I display videos fullscreen on an embedded
>> >> linux device, without X, using VO: fbdev.
>> >> There's another app on the backgroup that needs to show information over
>> >> that video.
>> >> 
>> >> I suppose I'd neet to hack the vo_fbdev.c in order to write my
>> >> image/message to the fb with every frame.
>> >> 
>> >> I'd appreciate any thoughts on this... Is this the way to go, or...?
>> >
>> >I mostly think this belongs on the -users list,
>> >but look at DOCS/tech/slave.txt, in particular either
>> >osd_show_text or overlay_add
>> 
>> probably easier than editing code or making a filter or using
>> vf_overlay just to use mplayer -rootwin with a clear desktop and just
>> display images on top of that , easy...
>
>I think you missed the "without X" part...
>I don't think you'd necessarily want to run X on an embedded device.
>On the other hand, many embedded devices can do overlays via their
>display controller, which would of course offer better performance.

i caught the without x part, but there are also embedded X's.
and you know as well as anyone how difficult video/images on fb/vesa is.

you could also run two mplayer instances on top of one another. then
just feed it images.

imo its easier to use a hack then to program something special.

-compn


More information about the MPlayer-dev-eng mailing list