[MPlayer-users] Possible bug in BitMap OVerLay videofilter for MPlayer ?

Olivier DOLE odole at pleyo.com
Fri Apr 18 10:54:10 CEST 2008


Hello,

I have tested mplayer bmovl video filter and it is working really fine in most 
cases. Nonetheless when I try to have a scrolling banner from right to left, 
I get a nasty bug. Here is the sample bash code I use (with a 1280x720 
video with option -vf bmovl=0:0:/tmp/fifo):

#!/bin/sh

for i in `seq 0 1280`
do
        (echo RGBA32 1053 39 -$i 681 -64 1; cat bandeau.rgba) > /tmp/fifo
done
echo HIDE > /tmp/fifo

when xpos<-227 (i.e video_width+xpos<image_width) you will see the bug.

you will find as an attachment, bandeau.rgba (the banner used for scrolling) 
to reproduce the bug and also a patch which seems to fix the problem. I think 
the patch needs more testing 'cause I have not tested all possible side 
effects.

Best regards,

Olivier DOLE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-bmovl.patch
Type: text/x-diff
Size: 714 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20080418/674573fc/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bandeau.rgba.bz2
Type: application/x-bzip2
Size: 74970 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20080418/674573fc/attachment.bin>


More information about the MPlayer-users mailing list