diff --git a/ffmpeg.c b/ffmpeg.c
index 24deeee0a1731f811e95ae963a10b3e85ce5ff62..a836c98abbe93359d8fb6ad6af886463f1c90ddd 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2162,6 +2162,7 @@ static int transcode_init(OutputFile *output_files, int nb_output_files,
                         ist->st->codec->sample_aspect_ratio.num ?
                         ist->st->codec->sample_aspect_ratio : (AVRational){0, 1};
                 }
+                ost->st->avg_frame_rate = ist->st->avg_frame_rate;
                 break;
             case AVMEDIA_TYPE_SUBTITLE:
                 codec->width = icodec->width;