diff --git a/mutagen/mp4/__init__.py b/mutagen/mp4/__init__.py index 9e1757ec..1d905a64 100644 --- a/mutagen/mp4/__init__.py +++ b/mutagen/mp4/__init__.py @@ -991,7 +991,7 @@ def _parse_chpl(self, atom, fileobj): pos = 9 for i in range(chapters): - start = struct.unpack(">Q", data[pos:pos + 8])[0] / 10000 + start = struct.unpack(">Q", data[pos:pos + 8])[0] / 10000000 pos += 8 title_len = data[pos] @@ -1003,7 +1003,7 @@ def _parse_chpl(self, atom, fileobj): raise MP4MetadataError("chapter %d title: %s" % (i, e)) pos += title_len - self._chapters.append(Chapter(start / self._timescale, title)) + self._chapters.append(Chapter(start, title)) def pprint(self): chapters = ["%s %s" % (timedelta(seconds=chapter.start), chapter.title)