Why the bitrate shown during processing differs so much from the final bitrate after processing using ffmpeg? -


using ffmpeg, why bitrate shown during processing differs final bitrate after processing?

this command on 1080p source:

ffmpeg -i "$name" -i "$subname" -map 0 -map 1 -vf scale=-1:720 -c:v libx264 -preset veryslow -crf 21 -c:a aac -b:a 256k -c:s:0 srt -disposition:s:0 default -metadata:s:s:0 language=eng -metadata:s:v:0 title="$title" "$new" 

shows output: enter image description here

which averages 1300-1400 kbit/s. when calculate bitrate of resulting video using mkvinfo -t bitrate shown sits @ ~970-1000 kbit/s , that's not close averaging ~1300 kbit/s shown throughout processing. causing disparity?

from documentation of mkvinfo:

mkvinfo -t show statistics each track in verbose mode.

i guess, see bitrate video track, while ffmepg output average bitrate whole mkv (audio track + video track). difference notice round 300kbit/s near audio bitrate, 256kbit/s


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo