[Ffmpeg-devel] swscaler BUG in PIX_FMT_YUV410P -> PIX_FMT_RGBA32

gizmo_video gizmo_video
Thu Feb 22 08:49:40 CET 2007


Hi Luca !

-------- Ursprungligt meddelande --------
> Fr?n: Lucabe72 <lucabe72 at email.it>
> Skickat: den 21 februari 2007 09:11
> Till: FFmpeg development discussions and patches <ffmpeg-devel at mplayerhq.hu>
> ?mne: Re: [Ffmpeg-devel] swscaler BUG in PIX_FMT_YUV410P -> PIX_FMT_RGBA32
> 
> If Michael cannot reproduce the problem with mplayer but you see it, I
> suspect the bug can be in the "glue code" between swscale and ffmpeg that I
> wrote...
> 
> Can you post an ffmpeg command line that triggers the bug (using the
> vid1.mov file)? I'll have a look to check if there is something wrong in the
> interface between ffmpeg and swscale.

I think it was my misunderstanding of the API. I didn't set any flag in the initialisation of the sws context. i just set a zero value because I thought i didn't needed anu interp filters to be active as I was just converting to the same size.

When i added a flag linear or bicubic etc the code works allright. A zero value works for most formats but not for the one in vid1.mov.

Thanx anyway and what a great library swscaler is !!

What about a converter to a compressed format suitable for uploading to GPU like the DDS DXT1,3,5 file formats ? I would love to have such a converter...

/Anders Mod?n






More information about the ffmpeg-devel mailing list