Re: [hatari-devel] Bugreport: --avi-vcodec bmp

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


> With BMP codec, images' lines are
> stored in "reverse order" (bottom first, top last ...) and there was an
> error in computing the first line to save.

Remember that you can also store a negative height in the BMP header, and then store the rows top-to-bottom as usual.


Nicolas Pomarède <npomarede@xxxxxxxxxxxx> schrieb am 14:59 Samstag, 2.Januar 2016:


Le 01/01/2016 17:34, Anders Eriksson a écrit :
>
> Hello,
>
> a short bug report regarding recording video with BMP codec.
>
>
> It appears that the first scanline is cropped away.  Then it reads one
> scanline too far in the bottom generating a grey or white line.
>
...
> And finally, testing video recording with BMP (again, VLC)
>
> http://ae.dhs.nu/tmp/recording_bug/linux_video_bmp.png
> http://ae.dhs.nu/tmp/recording_bug/osx_video_bmp.png
>
> Half the first blue line is cropped. It means that it crops one line of
> host machine line, not emulated machine line. And at the bottom we get
> the grey line which shouldn't be there.
>
>
> Hopefully an easy bug to fix.
>

Hi

thanks for the detailled bugreport. With BMP codec, images' lines are
stored in "reverse order" (bottom first, top last ...) and there was an
error in computing the first line to save.

So, instead of saving for example lines 400...0, it saved 401..1
Fix uploaded, it should work now, you can reencode all videos on dhs.nu ;-)


>
>
> Happy new years!


Yes, a very happy new year to all Atari fans out there ! Hopefully 2016
will bring as many great productions as 2015 did !


PS : when posting a new message to the ML, please create a new one
instead of replying to an existing one and changing its subject, this
helps keeping messages threads consistent. thanks :)


Nicolas








Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/