testing Gcommit
changed scaling so that it doesn't crash with libx264 not divisible by 2 stuff