ponchio / untrunc

Restore a damaged (truncated) mp4, m4v, mov, 3gp video. Provided you have a similar not broken video.
GNU General Public License v2.0
1.61k stars 228 forks source link

Mdat not found! #239

Open yjianzhu opened 2 years ago

yjianzhu commented 2 years ago

Thanks for your great work on this project.

I tried to fix a video from screen recording. Because the power broke off, my mp4 file doesn't contain enough info.

Wish for your reply. Thanks a lot!

``Repair: ../broken.mp4 Mdat not found! Backtracked enough! Found 21 packets. Found 20 chunks for avc1 Found 1 chunks for mp4a Saving to: ../broken_fixed.mp4

ponchio commented 2 years ago

Hi, there could be a lot of reasons for not being able to rebuild the packet sequence (corrupted file, proprietary codecs, bugs in my code...), If you wish, just send me the files @.***) and I will have a quick look...

On Fri, Apr 22, 2022 at 9:53 AM yjianzhu @.***> wrote:

Thanks for your great work on this project.

I tried to fix a video from screen recording. Because the power broke off, my mp4 file doesn't contain enough info.

Wish for your reply. Thanks a lot!

``Repair: ../broken.mp4 Mdat not found! Backtracked enough! Found 21 packets. Found 20 chunks for avc1 Found 1 chunks for mp4a Saving to: ../broken_fixed.mp4

— Reply to this email directly, view it on GitHub https://github.com/ponchio/untrunc/issues/239, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUDV22SREOUXLA4WP774JLVGJLIVANCNFSM5UBPOTBA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Katze-942 commented 2 years ago

Hello, I have the same problem! The phone abruptly ran out of space and the recording stopped going. I would really like to restore this video, because this is a mini-timelapse. It's in 4K 60 FPS without the audio horn. I filmed a similar video, entered the command untrunc -s OKEY.mp4 NOT_OKEY.mp4

But I get this log:

Reading: OKEY.mp4
Simulate:
Analyze:
Mdat not found!
[1]    2863 segmentation fault (core dumped)  untrunc -s OKEY.mp4 NOT_OKEY.mp4

Arch Linux, installed from AUR

ponchio commented 2 years ago

Hi Dark, just send me the files and I will have a look at it, so I can fix the segmentation fault, and maybe recover the files.

Federico