Hello I'm encoding MJPEG. For the first few frames, everything is fine. But after ~10 Frames the MJPEG output starts to show some blockiness. Also the output size is getting smaller.
I have created a proof of concept based on the encode_video.c sample code. Here is my code: https://paste.debian.net/1284938/ Just build and run it with a command like this. It then creates 25 JPEG files: gcc encode_video.c -o encode_video `pkg-config --cflags --libs libavformat libavcodec libswresample libswscale libavutil` && ./encode_video Here is a picture where the blockiness is visible (file 24 from my code): https://ibb.co/gtxnKC6 Any idea what could cause this?
_______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
