mp4=-framerate {frame} -i tcp://127.0.0.1:{port}?listen=1 -vframes {totalframe} -threads 2 -vcodec libx264 -crf 20 -pix_fmt yuv420p -r {frame} "{dir}image.mp4" -y
gif=-framerate {frame} -i tcp://127.0.0.1:{port}?listen=1 -vframes {totalframe} -threads 2 -r {frame} -vf scale=320:-1 "{dir}image.gif" -y
jpeg=-framerate {frame} -i tcp://127.0.0.1:{port}?listen=1 -vframes {totalframe} -threads 2 -f image2 -vcodec mjpeg -qmin 1 -q 1 -r {frame} "{dir}image%06d.jpg" -y
png=-framerate {frame} -i tcp://127.0.0.1:{port}?listen=1 -vframes {totalframe} -threads 2 -f image2 -vcodec png -r {frame} "{dir}image%06d.png" -y
ProRes4444=-framerate {frame} -i tcp://127.0.0.1:{port}?listen=1 -vframes {totalframe} -threads 2 -pix_fmt rgba -profile:v 4444 -c:v prores_ks -r {frame} "{dir}image.mkv" -y
QT:rle=-framerate {frame} -i tcp://127.0.0.1:{port}?listen=1 -vframes {totalframe} -threads 2 -pix_fmt argb -c:v qtrle -r {frame} "{dir}image.mov" -y
