On Wed, Nov 2, 2011 at 14:52, Drabner <[email protected]> wrote: > Hey, > > I have a rather weird problem: > > I use ffmpeg to convert frames from a video engine to a video. Now in the > engine, everything looks fine. > > And basically, the conversion of the frames into the video also works. But > somehow, the rightmost pixel of each line is repeated in the left. This does > not happen in the engine, so it must be something within the ffmpeg code. > > Here is the function that writes the frames: > [...]
Your loop is, essentialy, sws_scale(ARGB->YUV420P); avcodec_encode_video(); > As I said, this generally works, except that glitch. > Any ideas what could cause this? I would suggest to save few samples of YUV420P frames (after sws_scale(), but before avcodec_encode_video()). Maybe you will find that the input for encoder is already screwed. Cheers, Alex _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
