J junaidahmed Well-Known Member Licensed User Longtime User Mar 2, 2011 #1 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.
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.
Erel B4X founder Staff member Licensed User Longtime User Mar 2, 2011 #2 Maybe the file metadata is corrupted. Upvote 0
A adamioan Member Licensed User Longtime User Feb 12, 2013 #3 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
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