ffmpeg - v4l2 image format conversion
Goal: The camera data is collected through v4l2, and then the image format is converted and stretched and zoomed .
Code:
#include <stdio.h>
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"
#define d