[FFmpeg-user] The h264_cuvid decoder would output more frames than the number of origin video frame.

Moritz Barsnick barsnick at gmx.net
Wed Aug 8 10:51:22 EEST 2018


On Wed, Aug 08, 2018 at 16:18:53 +0900, linecorp baek wrote:

> (A number is increasing video.)

I don't understand this sentence.

>   - Youtube link, but it is not mine. (https://www.youtube.com/watch?v=jEVewMQ4iu8)

Is that the source of your input? How did you download it? youtube-dl?
If so, which format did you choose?

>  3. Use ffmpeg version 3.4

Why? A lot of development has happened since. Please use the very
latest release (4.0.2), or, even better, a build from recent git
master. Links to binaries are provided on the ffmpeg home page.

>  1. Video decoding using h264_cuvid on FFmpeg
>   - using `ffmpeg -c:v h264_cuvid -i baseline-numbered.mp4 -f rawvideo -pix_fmt nv12 ./output.ffmpeg.nv12`

Please also provide the complete, uncut console output of your ffmpeg
command(s).

>   - 4 frames were duplicated. (11209881600 bytes output, 3604 frames)
[...]
>   - 0 frames were duplicated. (11197440000 bytes output, 3600 frames)

I have an assumption, regarding VFR vs. CFR, but it could be
undermined by some facts about the input.

Cheers,
Moritz


More information about the ffmpeg-user mailing list