<p>I suck at math. I need to figure out how to calculate a video duration with only a few examples of values. For example, a value of 70966 is displayed as 1:10 minutes. A value of 30533 displays as 30 seconds. A value of 7007 displays as 7 seconds. </p>

[{'answer_id': 37485, 'author': 'Ben Childs', 'author_id': 2925, 'author_profile': 'https://Stackoverflow.com/users/2925', 'pm_score': 3, 'selected': True, 'text': '<p>Looks like the numbers are in milliseconds. So to convert to seconds, divide by 1000, then divide by 60 to find minutes etc.</p>\n'}, {'answer_id': 37487, 'author': 'Paige Ruten', 'author_id': 813, 'author_profile': 'https://Stackoverflow.com/users/813', 'pm_score': 0, 'selected': False, 'text': '<p>I\'m not sure if I completely understand this, but:</p>\n\n<pre><code> 70966 / 70 seconds = 1013.8\n</code></pre>\n\n<p>So dividing the "value" by 1013.8 should get the duration, approximately...</p>\n\n<p>Edit: Yes, Ben is right, you should divide by 1000. I got 1013.8 because the 70 seconds was rounded down from 70.966 seconds to 70.</p>\n'}, {'answer_id': 37489, 'author': 'SCdF', 'author_id': 1666, 'author_profile': 'https://Stackoverflow.com/users/1666', 'pm_score': 0, 'selected': False, 'text': '<p>To expand on what <a href="https://stackoverflow.com/questions/37483/calculate-video-duration#37485">Ben</a> said, it looks like they are milliseconds, and the display value is rounded slightly, possibly to the nearest 100 milliseconds and then \'cropped\' to seconds. This would explain why 30533 is 30s and 70966 is 70s.</p>\n'}, {'answer_id': 37490, 'author': 'Jon Limjap', 'author_id': 372, 'author_profile': 'https://Stackoverflow.com/users/372', 'pm_score': 1, 'selected': False, 'text': "<p>It's a simple matter of division:</p>\n\n<ul>\n<li>70966 / 70 seconds (1:10 minutes) = 1013.8</li>\n<li>30533 / 30 = 1017.76</li>\n<li>7007 / 7 = 1001</li>\n</ul>\n\n<p>Looks like the numbers are nothing but milliseconds. 70966 displays as 1:10 minutes because it shaves of the millisecond part (last 3 digits).</p>\n"}]
['https://Stackoverflow.com/questions/37483', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2601/']