» Welcome Guest
[ Log In :: Register ]

 

[ Track this topic :: Email this topic :: Print this topic ]

Topic: MP3TS Play Time Differs from Actual Time, MP3TS Play Time Differs from Actual Time< Next Oldest | Next Newest >
tanstaafl.
Board Fan



Group: Members
Posts: 11
Joined: Dec. 2003
Posted: Mar. 28 2010,18:05

I notice that the "Length" reported by MP3TS (length being minutes and seconds, not the number of bytes) differs substantially from the actual play time of the file.  Some files are within 30 seconds, others differ by as much as 10 or 11 MINUTES.  (The files I am tagging range from 45 to 75 minutes in length.)  The file Sizes (i.e., bytes) agree exactly.

This is how the files are created.  I download an audio book from the Library in *.WMA format.  I transcode the file to *.MP3 using a program called Tunebite.  I compare the duration of the original *.WMA file to the newly created *.MP3 file to find files corrupted by the transcoding process.  Any difference in excess of one second requires re-transcoding.  (I attribute a one-second error to be a rounding error; I have never found corruption in a file with that small a difference.)  The sum of the minutes/seconds for the entire book always matches the Library's claim for the book length, +/- a second or two.

I am transcoding from [I think] 32KBPS WMA files to 64-128KBPS VBR MP3 files.

When I open the files in MP3TS for tagging, the file durations bear little or no resemblance to the actual play lengths, some (as mentioned above) off by more than 10 minutes.

This is not an inconvenience to me, I don't use the MP3TS Length for anything, it is just a minor curiosity.  Is this a [known?] bug in MP3TS, or is it some weird artifact produced by the prior steps (download-->WMA-->Tunebite-->transcode-->MP3) of my processing?

tanstaafl.

Edited by tanstaafl. on Mar. 28 2010,18:09
Back to top
Profile PM 
calberga
Ancient Board Spirit



Group: Awaiting Authorisation
Posts: 254
Joined: Oct. 2002
Posted: Mar. 29 2010,21:39

Are the spurious times high-lighted in red?  If so run the "repair" function on them.  VBR files can get messed up times in the headers, which "repair" corrects.
Back to top
Profile PM 
Magnus Brading
Almighty Author



Group: Super Administrators
Posts: 2751
Joined: Aug. 2002
Posted: Mar. 30 2010,01:35

Please try the VBR header repair feature of Mp3/Tag Studio even if the length numbers aren't displayed in red, since this can be the case if the files are lacking VBR headers altogether.

--------------
Software author and website owner
Back to top
Profile PM WEB 
tanstaafl.
Board Fan



Group: Members
Posts: 11
Joined: Dec. 2003
Posted: Mar. 31 2010,02:06

I chose a group of files pretty much at random that had differences between the actual play times and MP3TS play times of three to six minutes on each file, ran the VBR header repair, and checked them again.

They still differ, but not by as much -- maybe from one to three minutes difference now.  One of them is now within half a minute.

As I said, this is no real problem for me, I just thought you might find it interesting.

tanstaafl.
Back to top
Profile PM 
Magnus Brading
Almighty Author



Group: Super Administrators
Posts: 2751
Joined: Aug. 2002
Posted: April 01 2010,03:37

It can sometimes be hard to get the VBR header time to be exact on very long files. I'm glad it worked to get it almost right anyway. Thanks for the info.

--------------
Software author and website owner
Back to top
Profile PM WEB 
4 replies since Mar. 28 2010,18:05 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]