Converting handbrake to subprocess