c++ – I transcode using the ffmpeg library, but the resulting video playback speed is different
I’m studying ffmpeg and trying to write a C++ wrapper.
The test code at the bottom of the video.cpp source in the test folder is a transcoding example, and the resulting video playback speed is about 5 times faster.
Timebase and FPS are the same because they are copied and used.
Why does this phenomenon occur?
I found a problem similar to mine but it didn’t help
I couldn’t find anyone else with the same problem
I referred to the transcoding example and video_encoding example in the ffmpeg tutorial.
Read more here: Source link
