ffpmeg drops last frame when compressing from MP4 to MP4 (libx264)
问题 So, I'm using this code to compress my *mp4 file. I need to get lower quality and decrease bitrate: ffmpeg -i input.mp4 -c:v libx264 output.mp4 The problem is: the last frame of footage is dropped after ffmpeg compression. Screenshot is here: screenshot_ffmpeg_drop frame I tried to use full preferences I need, but the problem is the same. ffmpeg -i input.mp4 -c:v libx264 -vf scale=1280:720 -preset fast -crf 29 -r 25 -c:a copy output.mp4 logfile during ffmpeg encoding: Input #0, mov,mp4,m4a