[FFmpeg-trac] #6971(undetermined:new): ffmpeg drops frames after deinterlacing
FFmpeg
trac at avcodec.org
Sun Nov 18 04:57:45 EET 2018
#6971: ffmpeg drops frames after deinterlacing
-------------------------------------+-------------------------------------
Reporter: CaryKnoop | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: cuvid | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by cehoyos):
Does the following make any difference? I just want to understand why it
isn't possible to change the time base from the decoder.
{{{
diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c
index 0358936..292e1c1 100644
--- a/libavcodec/cuviddec.c
+++ b/libavcodec/cuviddec.c
@@ -225,7 +225,7 @@ static int CUDAAPI cuvid_handle_video_sequence(void
*opaque, CUVIDEOFORMAT* form
avctx->bit_rate = format->bitrate;
if (format->frame_rate.numerator && format->frame_rate.denominator) {
- avctx->framerate.num = format->frame_rate.numerator;
+ avctx->framerate.num = format->frame_rate.numerator *2;
avctx->framerate.den = format->frame_rate.denominator;
}
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6971#comment:21>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list