I wrote the following wrapper for FFMPEG:
function Video($input, $crop = null, $scale = null, $output = null, $extra = null) { $input = @new ffmpeg_movie
You want to look for the Shannon-Entropy -log(P)/log(2). This is the minimum bits any information can be think of. But I'm unsure if it is useful to you.