[Ffmpeg-devel] Any way to override the aligned line-size?
Loren Merritt
lorenm
Tue May 2 08:41:47 CEST 2006
On Mon, 1 May 2006, Cyril Zorin wrote:
> Suppose I tell ffmpeg that my image size is 640x480. I check the aligned
> size, which corresponds to 672 pixels instead of 640. This forces me to
> hand-copy every line using memcpy (not so bad), instead of doing a quick fire
> using memcpy of the whole buffer (better).
>
> Is there any way to force ffmpeg to use the image width as the line size, or
> perhaps is there some option I'm neglecting to set somewhere?
CODEC_FLAG_EMU_EDGE
This does not force anything, but it requests ffmpeg not to unnecessary
padding. (sometimes it can't be avoided)
--Loren Merritt
More information about the ffmpeg-devel
mailing list