Reverted previous commit, changed JPEG quailty to 1 during frame extraction.