diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-02-05 08:14:26 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-05 08:14:26 +0400 |
commit | 982783ac49c1a1f0739cad9cf0ec8a7b5d427e62 (patch) | |
tree | 18c62ca7677f0237dc2608d088d6685726d1d83a | |
parent | bfb5ba8495e19f6078bb5bd42ea5793355da5e28 (diff) |
ffmpeg: document avi special case
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2448,6 +2448,11 @@ static int transcode_init(OutputFile *output_files, int nb_output_files, codec->extradata_size= icodec->extradata_size; codec->time_base = ist->st->time_base; + /* + * Avi is a special case here because it supports variable fps but + * having the fps and timebase differe significantly adds quite some + * overhead + */ if(!strcmp(oc->oformat->name, "avi")) { if ( copy_tb<0 && av_q2d(icodec->time_base)*icodec->ticks_per_frame > 2*av_q2d(ist->st->time_base) && av_q2d(ist->st->time_base) < 1.0/500 |