[FFmpeg-trac] #5526(undetermined:new): Wrong Framerate detection when input DirectShow Filter
FFmpeg
trac at avcodec.org
Sat Jun 4 01:03:30 CEST 2016
#5526: Wrong Framerate detection when input DirectShow Filter
-------------------------------------+-------------------------------------
Reporter: kgp700 | Owner:
Type: defect | Status: new
Priority: important | Component:
Version: git-master | undetermined
Keywords: codecpar | Resolution:
regression | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by michael):
try to add to
{{{
st->avg_frame_rate = av_inv_q(time_base);
}}}
this
{{{
st->r_frame_rate = av_inv_q(time_base);
}}}
or
{{{
st->internal->avctx->time_base = time_base;
}}}
you will have to change the source of dshow.c and rebuild for this, also
make sure that if you test with some external application that the rebuild
lib is used
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5526#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list