B
B
bezvozni2020-06-01 21:43:19
Video
bezvozni, 2020-06-01 21:43:19

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

1 answer(s)
S
Sergey Tikhonov, 2020-06-03
@bezvozni

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 question

Ask a Question

731 491 924 answers to any question