[MPlayer-users] Instead of a rectangle, the bmovl filter displays a tilted shape

18 views
Skip to first unread message

Thanassis Tsiodras

unread,
Mar 3, 2012, 4:17:37 PM3/3/12
to mplaye...@mplayerhq.hu
I am trying to use the bmovl filter to display various rectangular
bitmaps during video playback. The rectangles change content during
playback (think "annotations"), so they can't be done with the "logo"
filter.

Unfortunately, the "bmovl" filter displays the bitmap data in a wrong
way, resulting in a weird tilted shape.

I've raised a ticket on MPlayer's bugzilla:
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=2051

In the ticket, I attached a small tarball reproducing the problem: I
"play" a single image in a loop (-loop 0) and feed bmovl with random
data (from /dev/urandom). You'd expect to see a rectangle of noise -
instead, you see a tilted shape.

Simply untar the tarball, and run "./bug.sh".

I used the latest MPlayer under Arch Linux, as well as compiling from
latest version of the sources. Bug happens in both cases.

Any suggestions?

P.S. In the ticket, I also attached a screenshot of the "tilted" window.
_______________________________________________
MPlayer-users mailing list
MPlaye...@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

Nicolas George

unread,
Mar 5, 2012, 7:20:08 AM3/5/12
to MPlayer usage questions, feature requests, bug reports
Le quartidi 14 ventôse, an CCXX, Thanassis Tsiodras a écrit :

> I am trying to use the bmovl filter to display various rectangular
> bitmaps during video playback. The rectangles change content during
> playback (think "annotations"), so they can't be done with the
> "logo" filter.
>
> Unfortunately, the "bmovl" filter displays the bitmap data in a
> wrong way, resulting in a weird tilted shape.

I have this patch in my mailbox that I need to review at some point:
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2012-January/069818.html
Is it related to your problem?

Regards,

--
Nicolas George

Thanassis Tsiodras

unread,
Mar 5, 2012, 2:17:13 PM3/5/12
to mplaye...@mplayerhq.hu
On 03/05/12 14:20, Nicolas George wrote:
> Le quartidi 14 ventôse, an CCXX, Thanassis Tsiodras a écrit :
>> I am trying to use the bmovl filter to display various rectangular
>> bitmaps during video playback. The rectangles change content during
>> playback (think "annotations"), so they can't be done with the
>> "logo" filter.
>>
>> Unfortunately, the "bmovl" filter displays the bitmap data in a
>> wrong way, resulting in a weird tilted shape.
> I have this patch in my mailbox that I need to review at some point:
> http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2012-January/069818.html
> Is it related to your problem?
>
> Regards,
>

It sounds like it! It speaks of a distorted shape in bmovl, so yes, it
could be related...
I'll try to find some time to test it.

Thanassis Tsiodras

unread,
Mar 6, 2012, 10:48:44 AM3/6/12
to mplaye...@mplayerhq.hu
Tested the patch - it works!

Updating the Bugzilla entry - how can we schedule this patch for
inclusion in the mainline?

Nicolas George

unread,
Mar 6, 2012, 4:17:13 PM3/6/12
to MPlayer usage questions, feature requests, bug reports
Le septidi 17 ventôse, an CCXX, Thanassis Tsiodras a écrit :

> Tested the patch - it works!
>
> Updating the Bugzilla entry - how can we schedule this patch for
> inclusion in the mainline?

Nothing more than what you already did. Someone with commit access must now
review carefully the patch and decide to apply it. I have kept the patch in
my mailbox for nearly two months waiting for an occasion to do it.

Regards,

--
Nicolas George

signature.asc
Reply all
Reply to author
Forward
0 new messages