[Libav-user] sws_scale screws up last pixel row in smaller x264 mp4 encoding

Drabner drabner at zoobe.com
Mon Jul 23 11:36:15 CEST 2012

Hey there,

When using the C API of ffmpeg, and encoding input image frames to an mp4
video, everything works well when the resolution is 640x360. But with
320x180 input and output, the output image's last pixel row is screwed up.

This happens after the sws_scale, so the error must be somewhere around

See the original stackoverflow question for the code and two example

Could it be that is actually a bug in the libraries and not an error on my

View this message in context: http://libav-users.943685.n4.nabble.com/sws-scale-screws-up-last-pixel-row-in-smaller-x264-mp4-encoding-tp4655465.html
Sent from the libav-users mailing list archive at Nabble.com.

More information about the Libav-user mailing list