amarghosh / mp4viewer

MP4 file analyser for converting ISO-bmff atoms into json, or display them on the command line or a GTK based window
https://pypi.org/project/mp4viewer/
MIT License
52 stars 20 forks source link

its not working with my file #1

Closed anshul1912 closed 1 year ago

anshul1912 commented 10 years ago

here is where it fails [anshul@daku_daddy src]$ python showboxes.py ~/test_videos/1.mp4 Traceback (most recent call last): File "showboxes.py", line 16, in getboxlist box = Box.getnextbox(buf, parent) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 115, in getnextbox box = Box(buf, parent, container) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 43, in init self.parse_children(buf) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 67, in parse_children box = Box.getnextbox(buf, self) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 115, in getnextbox box = Box(buf, parent, container) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 43, in init self.parse_children(buf) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 67, in parse_children box = Box.getnextbox(buf, self) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 115, in getnextbox box = Box(buf, parent, container) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 43, in init self.parse_children(buf) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 67, in parse_children box = Box.getnextbox(buf, self) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 115, in getnextbox box = Box(buf, parent, container) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 43, in init self.parse_children(buf) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 67, in parse_children box = Box.getnextbox(buf, self) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 115, in getnextbox box = Box(buf, parent, container) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 43, in init self.parse_children(buf) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 67, in parse_children box = Box.getnextbox(buf, self) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/isobmff/box.py", line 118, in getnextbox buf.skipbytes(box.size - box.consumed_bytes) File "/home/anshul/Downloads/mp4_view/mp4viewer-master/src/datasource.py", line 146, in skipbytes raise Exception("Negative bytes to skip %d" %(count)) Exception: Negative bytes to skip -8

---1.mp4 ---ftyp major brand: qt
minor version: 537199360 brands: qt ,,,

amarghosh commented 7 years ago

I know its very old, but can you by any chance share the file that you used?

amarghosh commented 1 year ago

Closing this as there is no response in five years.