Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mdat not found--Only recovering 1MB of 4GB video! #248

Closed
mchen0037 opened this issue Nov 10, 2022 · 2 comments
Closed

Mdat not found--Only recovering 1MB of 4GB video! #248

mchen0037 opened this issue Nov 10, 2022 · 2 comments

Comments

@mchen0037
Copy link

Hello!

Would love to get some help with this! I was able to compile everything, but as some of the other issues have suggested, I'm unable to recover the full length of the video--I can see the first second of it and this is super promising! Would love some advice. Thank you!

Reading: ../working-video.mp4
Repair: ../broken-video.mp4
Mdat not found!
Backtracked enough!
Found 30 packets.
Found 29 chunks for avc1
Found 1 chunks for mp4a
Saving to: ../broken-video_fixed.mp4
@mchen0037
Copy link
Author

I found a fork which actually ended up working:

https://github.com/anthwlock/untrunc

@ponchio
Copy link
Owner

ponchio commented Nov 10, 2022

Hi, the fork uses some different euristics to identify packets, and sometimes one works and not the other.

If are willing to send me the samples, working and not working, (I don't need the full 4GB, just say 30 or 40 MB), I can find the problem with my code and improve it. (double checking on anthwlock code).

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

No branches or pull requests

2 participants