I am absolutely new to video processing, I am building a video streaming site and worked with ffmpeg to generate the formats I need for ShakaPackager.
Sadly I don't understand some of the options being provided, especially keyInt
, min-keyint
and no-scenecut
.
Below you will find the code I use to generate the required formats for my videos.
ffmpeg -y -i ${1} -c:a aac -ac 2 -ab 256k -ar 48000 -c:v libx264 -x264opts "keyint=24:min-keyint=24:no-scenecut" -b:v 1500k -maxrate 1500k -bufsize 1000k -vf "scale=-2:720" "${2}/${3}720.mp4"
I did a bit of research and they talked about IDR-frames
I don't even understand those, maybe my needs go way more than that?