aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/transcoding.c
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2018-06-28 17:01:46 +0800
committerZhong Li <zhong.li@intel.com>2018-08-27 16:54:40 +0800
commitd91370e0f12a3fedd477616011566d9f2fb5e3e5 (patch)
treee8d0090cc930ebe650437b882f22216e8c976b2d /doc/examples/transcoding.c
parent3aacb0d196d1c89c386fe26a5df8d994a3eef619 (diff)
downloadffmpeg-d91370e0f12a3fedd477616011566d9f2fb5e3e5.tar.gz
lavc/encode: fix frame_number double-counted
Encoder frame_number may be double-counted if some frames are cached and then flushed. Take qsv encoder (some frames are cached firsty for asynchronism) as example, ./ffmpeg -loglevel verbose -hwaccel qsv -c:v h264_qsv -i in.mp4 -vframes 100 -c:v h264_qsv out.mp4 frame_number passed to encoder is double-counted and larger than the accurate value. Libx264 encoding with B frames can also reproduce it. Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'doc/examples/transcoding.c')
0 files changed, 0 insertions, 0 deletions