Ok thank you. As I do not control the input parameters I will go for the transcode option. Is there an easy way to duplicate all required decoder parameters to the encoder?
Like doing this, but with all important params in one step: Thanks outst->codec->width = this->codec_ctx->width; outst->codec->height = this->codec_ctx->height; outst->codec->pix_fmt = this->codec_ctx->pix_fmt; outst->codec->time_base = this->codec_ctx->time_base;
_______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email libav-user-requ...@ffmpeg.org with subject "unsubscribe".