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

Got unexpected packet size after a partial decode #10

Closed
jrichardsz opened this issue Oct 22, 2018 · 2 comments
Closed

Got unexpected packet size after a partial decode #10

jrichardsz opened this issue Oct 22, 2018 · 2 comments

Comments

@jrichardsz
Copy link

I tried to use this tool to restore my broken mp4 video but , I have this error:

Info: reading /path/to/working-video.m4v
Info: parsing healthy moov atom ... 
Info: avcC got decoded
Info: parsing mdat from truncated file ... 
[aac @ 0x10da980] Multiple frames in a packet.
[aac @ 0x10da980] Got unexpected packet size after a partial decode
Error: Invalid length: -22. Wrong match in track: 0
Error: unable to find correct codec -> premature end
Info: Found 1 packets ( mp4a: 1 avc1: 0 avc1-keyframes: 0 )
Info: Duration of mp4a: 21ms  (21 ms)
Info: Duration of avc1:  (0 ms)
Info: saving /path/to/broken-video.mp4_fixed.mp4

I have cloned the last version (master) and follow the readme instructions.

Please, what can I do?

Regards.

@anthwlock
Copy link
Owner

Try other versions of libavcodec. For example 3.2.11.
I think you have the same problem as described here.
Please tell me which version worked for you after you are done.

@jrichardsz
Copy link
Author

I will try , thanks!

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