transcode needs to be ported to use the new avcodec_encode_video2 API, the old API has been deprecated long ago and is no longer available now. On Wed, Jul 22, 2015, 3:30 PM Luca Olivetti