[FFmpeg-user] Problem about duration value of converted mp3 file

Carl Zwanzig cpz at tuunq.com
Mon Sep 14 09:57:30 EEST 2020


On 9/13/2020 11:47 PM, Edward Park wrote:
> Okay, so the file displays 25:47 in Media Player and plays... how long?

Yep, and I also asked that almost two weeks ago.

The only sure ways to know the actual Total Running Time (TRT) are either to 
render it in real time or to count the frames/samples and calculate based on 
the frame/sample rate (which only works on fixed/constant frame rates and 
even that can be suspect). (Well, maybe by looking at the PTSs.) Most tools 
will only tell you the TRT/duration that was saved in metadata and that's 
often untrustworthy; this sounds like one of those cases.


To the original poster- please do not "top post" on this mailing list.

z!


More information about the ffmpeg-user mailing list