Answer the question
In order to leave comments, you need to log in
How to recalculate duration in video metadata?
After acceleration
ffmpeg -i in.mp4 -vf "setpts=PTS/4000" -r 120 0(4kx).mp4
the video is a fraction of a second long, but the duration in the metadata remains several hours. Because of what the same ffmpeg does not process it correctly. How can you set the correct duration in the metadata for a lot of videos?
Answer the question
In order to leave comments, you need to log in
Is there audio in the source? If yes, then its duration remained a few hours.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question