Media Player Duration Issue

junaidahmed

Well-Known Member
Licensed User
Longtime User
we have an mp3 file,the duration of this file is only 37 seconds but when we get the duration of this file by progrmatically (MediaPlayer1.Duration) it shows that 312607 milli second (5:13 minutes).Please advise where it is problem.
 

adamioan

Member
Licensed User
Longtime User
Same here. I have some video files < 1min but the output of DateTime.Time(vvVideo.Duration) is over 2 hours (minutes and seconds are correct).
For example:
a video file with duration 45 secs -> 02:00:45
a video file with duration 1 min and 15 secs -> 02:01:15
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…