simplify transcoding and add license