added h265 export codec

This commit is contained in:
itsmattkc
2019-03-03 21:46:03 -08:00
parent a16d8a4fe1
commit 5d87912844
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -154,6 +154,7 @@ bool ExportThread::setupVideo() {
/// H.264 specific settings
case AV_CODEC_ID_H264:
case AV_CODEC_ID_H265:
switch (params.video_compression_type) {
case COMPRESSION_TYPE_CFR:
av_opt_set(vcodec_ctx->priv_data, "crf", QString::number(static_cast<int>(params.video_bitrate)).toUtf8(), AV_OPT_SEARCH_CHILDREN);