ffmpeg -i "c:\ffmpeg\in\hero\gbuffer_%05d.png" -pix_fmt yuv420p -vcodec jpeg2000 "c:\ffmpeg\out\hero\cover_%04d.jpeg"
ffmpeg -i "c:\ffmpeg\in\hero\gbuffer_%05d.png" -pix_fmt yuv420p -codec libwebp "c:\ffmpeg\out\hero\cover_%04d.webp"
ffmpeg -i "c:\ffmpeg\in\hero\gbuffer_%05d.png" -pix_fmt yuv420p -vcodec jpeg2000 "c:\ffmpeg\out\hero\cover_%04d.jpeg"
ffmpeg -i "c:\ffmpeg\in\hero\gbuffer_%05d.png" -pix_fmt yuv420p -codec libwebp "c:\ffmpeg\out\hero\cover_%04d.webp"
#!/usr/bin/env bash | |
IMGDIR=/home/john/Projects/video_projects/notd/assets/images/intro/ | |
VIDDIR=/home/john/Projects/video_projects/notd/assets/video/ | |
TMPDIR=tmp/ | |
OUTPUTDIR=../tmp/ | |
#ls $IMGDIR | |
mkdir $TMPDIR | |
# create init sequence from pngs --> step0 | |
ffmpeg -r 6 -f image2 -s 1920x1080 -i ${IMGDIR}notd_init/%03d.png -vcodec libx264 -crf 5 -pix_fmt yuv420p ${TMPDIR}step0.mp4 && |