Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

AssertionError but don't know why #3

Open
netAction opened this issue Jun 20, 2022 · 1 comment
Open

AssertionError but don't know why #3

netAction opened this issue Jun 20, 2022 · 1 comment

Comments

@netAction
Copy link

I tried to repair a file from Insta360 X2 but movrepair crashs. Python 3, Windows 11.

python movrepair.py VID_20220605_135052_00_024.insv --repair VID_20220605_134145_00_023.insv
Output file: VID_20220605_134145_00_023-fixed.insv
Traceback (most recent call last):
File "C:\Users\schmi\OneDrive\Desktop\Videoretten\movrepair.py", line 277, in
sys.exit(main())
File "C:\Users\schmi\OneDrive\Desktop\Videoretten\movrepair.py", line 267, in main
return repair_file(reference, broken, output, do_fix_metadata=not args.no_fix_metadata)
File "C:\Users\schmi\OneDrive\Desktop\Videoretten\movrepair.py", line 186, in repair_file
for atom in MovAtomR.make_root(reference).iter_atoms():
File "C:\Users\schmi\OneDrive\Desktop\Videoretten\movio.py", line 146, in iter_atoms
atom.skip()
File "C:\Users\schmi\OneDrive\Desktop\Videoretten\movio.py", line 129, in skip
assert nbytes >= 0
AssertionError

@HanalogInstruments
Copy link

Look like your files doesn't have moov atom, try to use hxd editor and find "mdat" and "moov"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants