Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
transcoding: hevc - use keyint=49 min-keyint=15 as default (for live …
…streaming)
  • Loading branch information
perexg committed Nov 24, 2015
1 parent e599201 commit 598b632
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plumbing/transcoding.c
Expand Up @@ -1398,6 +1398,8 @@ transcoder_stream_video(transcoder_t *t, transcoder_stream_t *ts, th_pkt_t *pkt)
av_dict_set_int__(&opts, "x265-params", maxrate, AV_DICT_APPEND);
av_dict_set(&opts, "x265-params", ":strict-cbr=1", AV_DICT_APPEND);
}
// reduce key frame interface for live streaming
av_dict_set(&opts, "x265-params", ":keyint=49:min-keyint=15", AV_DICT_APPEND);

break;

Expand Down

0 comments on commit 598b632

Please sign in to comment.