convert yuv to mp4 ffmpeg code example
Example: ffmpeg convert yuv to mp4 beginner
ffmpeg -f rawvideo -vcodec rawvideo -s 352x288 -r 25 -pix_fmt yuv420p -i sample_cif_yuv420p.yuv -c:v libx264 -preset slow -qp 0 sample_cif.mp4
ffmpeg -f rawvideo -vcodec rawvideo -s 352x288 -r 25 -pix_fmt yuv420p -i sample_cif_yuv420p.yuv -c:v libx264 -preset slow -qp 0 sample_cif.mp4