Posts: 2
Joined: Tue Nov 24, 2015 5:57 pm

could omxplayer display non rectangular area ?

Wed Apr 17, 2019 7:36 pm

some programs can broadcast videos on non-rectangular surfaces: this can be useful when you want to precisely stall the image projected by a projector. The projection surface may be trapezoidal for example. Is this relatively easily possible by entering the code of omxplayer?

Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 10265
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: could omxplayer display non rectangular area ?

Wed Apr 17, 2019 7:58 pm

You can alter the rectangular window onto which omxplayer will render using - - win, but not trapezoidal. You can probably pass it through the 3d block to apply that sort of transformation, but that isn't standard functionality with omxplayer.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

User avatar
Posts: 229
Joined: Sun Jun 16, 2013 1:18 pm
Location: Germany
Contact: Website

Re: could omxplayer display non rectangular area ?

Thu Apr 18, 2019 11:22 am

info-beamer can do that. It has the option to render videos on OpenGL textures. So you can use all kinds of transformations. The downside is that this is more GPU intensive and FullHD might be problematic.

The feature is used for example in this magic video wall package to arbitrarily transform videos for videos walls consisting of freely placed screens. Thinking of it: If you only have a single screen that produces a non-rectangular output on a surface, taking a picture of that output would result in a perfectly aligned output without any extra manual work required.
info-beamer hosted - A user and programmer friendly digital signage platform for the Pi:

Return to “Graphics, sound and multimedia”