Hi, I'm trying to encode video to mjpeg with libavcodec. I've written a test application in which I have a buffer with a test pattern, that I encode to an mjpeg file. However, the resulting file is interlaced (I see only the top half of my test pattern, and the image consists of horizontal stripes, half of them containing the left half of the test pattern, the others containing the right half). That's not what I want, I don't want the resulting video to be interlaced.
How can I do that? The flags variable of my AVCodecContext and the the interlaced_frame member of my AVFrame are both 0. What else should I do to disable interlacing? Thanks, Tijl _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
