We have been using Cisco's libopenh264 as part of FFmpeg with good results.
However, function svc_encode_init() in libavcodec/libopenh264enc.c appears to
be setting the frame rate incorrectly. The line of code in question looks like:
param.fMaxFrameRate = avctx->time_base.den / avctx->time_base.num;
Since fMaxFrameRate is of type float, shouldn't this be something like:
param.fMaxFrameRate = avctx->time_base.den / (double)avctx->time_base.num;
Or is there some reason why the frame rate should get truncated to an integer?
Greg Wolfe, Kodak Alaris (formerly part of Eastman Kodak)
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel