improved transcoding and added video cutting