Currently in my application, I extract the duration of the video from the metadata. The objective is that even if the video metadata has incorrect duration, I\'ll use ffmpeg