LFS Forum - Repair a corrupt mp4 file? (2024)

Repair a corrupt mp4 file?

1

2

(39 posts, closed, started )

#1 - traxxion

Repair a corrupt mp4 file?

Hi LFS Forum - Repair a corrupt mp4 file? (1)

One of the movies I shot with my phone (.mp4) during the team meeting we had last weekend, seems to be corrupted because the SD card got full during filming.
I've tried some applications already, but none worked so far.. Anyone who can hint me to some kind of repair program? Or is there anyone here who thinks he can fix this? The reward is the scoop of quite a funny movie LFS Forum - Repair a corrupt mp4 file? (2)

I have the movie uploaded, please tell me to pm the link if you think you're up for it! LFS Forum - Repair a corrupt mp4 file? (3)

Thanks in advance!

René

#2 - Lible

If it doesn't run at all I'm pretty sure it never will.. But who knows, magic happens these days.

#3 - tristancliffe

Can Mediacoder open it? I've found that quite good at opening files I couldn't otherwise view, but that might be for very different reasons.

#4 - traxxion

Quote from Lible :If it doesn't run at all I'm pretty sure it never will.. But who knows, magic happens these days.

I was hoping maybe some part of it would, since most of the video probably recorded ok, just the closing of the file failed due to lack of diskspace.

Quote from tristancliffe :Can Mediacoder open it? I've found that quite good at opening files I couldn't otherwise view, but that might be for very different reasons.

Quote :013
  • Description: A video source error is encountered
  • Possible causes:
    • The active video source cannot decode the input file or device
  • Solutions:
    • Try other video sources

Damn! LFS Forum - Repair a corrupt mp4 file? (4) Guess I'm really screwed right?

Here's the source file, if anyone cares to try with his own player? LFS Forum - Repair a corrupt mp4 file? (5)

Thanks anyway Tristan and Lible!

#5 - wheel4hummer

The header of the file is completely messed up. I opened it in a hex editor and instead of a proper header, there were just a bunch of blank bytes in the beginning of the file. You should record another video from your phone that works, and then post it on here. Then I could find out the proper format and attempt to write a header for it.

#6 - traxxion

Quote from wheel4hummer :The header of the file is completely messed up. I opened it in a hex editor and instead of a proper header, there were just a bunch of blank bytes in the beginning of the file. You should record another video from your phone that works, and then post it on here. Then I could find out the proper format and attempt to write a header for it.

Ohh that would be so nice! Here's a working one from my phone: clicky!

Thanks for trying!!

#7 - wheel4hummer

The length might not be correct depending on if the first part of the other header works for both files. Maybe the player just recognizes the length and corrects it. Anyway, here it is:
http://www.megaupload.com/?d=G4249E60

#8 - traxxion

Quote from wheel4hummer :The length might not be correct depending on if the first part of the other header works for both files. Maybe the player just recognizes the length and corrects it. Anyway, here it is:
http://www.megaupload.com/?d=G4249E60

Woooohoooo it works LFS Forum - Repair a corrupt mp4 file? (6) Thanks so much!!!

:drink::drink::drink:

[E] How's that for a miracle Lible? LFS Forum - Repair a corrupt mp4 file? (7)

#9 - Lible

I'm impressed. I didn't know you could create a new header like that.

#10 - Alexdabest

Quote from wheel4hummer :The length might not be correct depending on if the first part of the other header works for both files. Maybe the player just recognizes the length and corrects it. Anyway, here it is:
http://www.megaupload.com/?d=G4249E60

dude the same thing happened to me i was using mu nokia e71 phone to record something and i sent it to a friend and the next morning i didn't have the video for some reason. so i recovered it but my phone is unable to read neither VLC LFS Forum - Repair a corrupt mp4 file? (8) could you please do the same for me. reward is seeing me and my friends drunk. because thats what the video is. LFS Forum - Repair a corrupt mp4 file? (9)

#11 - ZiggyLoco

Hello,

I have the same probleem with the mp4 file wich is very important to me and my family. Can somebody help me how can I create this header. I have recovered all the files from my mobile phone and most of them are good. This is the output when I try to play with the Media Player Classic:

Media Type 0:
--------------------------
Unknown

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: Unknown GUID Name {08E22ADA-B715-45ED-9D20-7B87750301D4}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0

Media Type 1:
--------------------------
Unknown

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0

#12 - MadCatX

How big is that file? Can you upload it somewhere so we can try to do some witchcraft with it? Can you also upload a good file from your phone so that we can find out what codecs it uses?

#13 - CrAZySkyPimp

Love it how once every few months a google-searcher finds this thread and makes an account just to post one question LFS Forum - Repair a corrupt mp4 file? (10)

#14 - ZiggyLoco

First of all thnx for the replay on my post. Is it possible to give me some direction on how can I make my self this header. Is there any kind of "how to" or work instruction about the creation of the header. At least I would really appreciate if somebody can tell me what kind of tool (software) can I use?

Thnx in advance
Ziggy

#15 - MadCatX

I'd use some HEX editor to copy the good header over the bad one, I dunno if there is some more user-friendly tool for that particular task.

#16 - wheel4hummer

Quote from CrAZySkyPimp :Love it how once every few months a google-searcher finds this thread and makes an account just to post one question LFS Forum - Repair a corrupt mp4 file? (11)

Yes, and they always PM me about it. I don't remember how to do it anymore, though. LFS Forum - Repair a corrupt mp4 file? (12) I haven't messed around with a hex editor for ages.

#17 - ZiggyLoco

I allready have a HEX editor (Winhex). Where can I find the good header and the bad header. I'll put first output of the bad file and the good file.

Attached images

#18 - MadCatX

Well, I suggest you compare two good files with the bad one, that should give you enough info to fix it...

#19 - leangkean

I'm having the same problem with my mp4 files

Hi lfs Community:

After trying everything on my own for the past 48 hours (failed due to very limited skill in this aspect to fix a few of my very important video files. I'm glad to lean about this forum that someone on this forum (wheel4hummer?) know how to fix this and might be able to help me recover something very important to me.

I've recorded a few videos in mp4 format yesterday using my pen voice/video recorder in a meeting and a few files work and the last file doesn't work.

Therefore, please help offer solution to fix this file for me or advice where/how can I seeks help. I have included here a working mp4 file and a nonworking mp4 file for you perusal.

http://www.megaupload.com/?d=XXC1V4U9 -good file
http://www.megaupload.com/?d=PP4J7KX1 -bad file

Best Regards,

Leang Kean

#20 - ZiggyLoco

I did compare both files but as you can see they are totally different files. Can you give me a tip where should I pay attention on which part of the HEX?

#21 - MadCatX

Take a look at my two good files. They're both encoded in h264/faad and have MP4 container. The green part is what I believe to be the header. I suggest you do the same comparison with your files.

Attached images

#22 - montyp80

OK...one more person saying...HELP!!!

this is amazing, just yesterday i was on this thread through google and saw the last post was way back in 2008 and thought, damn...i won't find help here....and just again i jst came back to check out of curiosity and BAM!!! people are back on this thread posting...i'm really hoping i get some help from you guyz here...

Issue: well known by now... had some video files...got deleted by mistake...used couple of software to recover it...Sucess! recovered few files but then, no player in the world would recognize the format...so back to sad days!!! lol

now, i've been doing a lot of research since last few days, i came across bunch of similar posts around on net, and ended up messing up with the files myself. Been playing around with Winhex to see if i could do something with the header just the way 'wheel4hummer' described it earlier posts (btw, thanks wheel4hummer, u jst gave me some hope when i read your posts).

Now, i shot one more movie from my phone just to compare the header file with the one that i recovered. Here is the difference, the beginning of the header file is identical, but its the end of the file which shows the difference. 'Recovered' file is missing a whole lot of information that 'working' file shows. I tried to copy paste that part of the header file (from working to recovered file) and to my surprise i could see a green screen (probably distorted images???) against nothing earlier....That raised my hopes again. But then, recovered video was at least 7 minutes long while the 'manipulated' file shows play time of only 10 seconds!!!

this is where i need your help guys...! i just want to know if i'm copying the right part of the header file form working to recovered file? The videos i recovered were kind of personal and hence can't post it here. BUT, here are the images of the header file i captured to give you some idea about what i'm talking about

here is beginning of header file of non-working file
LFS Forum - Repair a corrupt mp4 file? (17)

here is end of the header file of non-working file
LFS Forum - Repair a corrupt mp4 file? (18)

here is beginning of header file of working file
LFS Forum - Repair a corrupt mp4 file? (19)

and just for your reference, posting a working video file captured from my phone

working file
http://www.mediafire.com/download.php?d9iws8o6v8ojidr

any help would be greatly appreciated guys....

thanks alot in advance....

cheers

Attached images

#23 - Takumi_lfs

While you're here, go download and try Live for speed out LFS Forum - Repair a corrupt mp4 file? (23)

#24 - leangkean

I'm using this company http://www.aeroquartet.com/ to repair my damaged audio/video file....very responsive and within 24 hour, they send me a 10sec clip of the recovered video! Thanks guy

#25 - polake

another corrupted mp4 file

Hello,

please help me LFS Forum - Repair a corrupt mp4 file? (24) I've been recording interview for my school project on my cellphone (Nokia E52) and during that somebody called me- my file was not saved properly and it is corrupted. This is very important file for me, it was about 55 minutes of interview LFS Forum - Repair a corrupt mp4 file? (25) This file is in mp4 format.

I tried to repair it on my own, I fought with this file for two days LFS Forum - Repair a corrupt mp4 file? (26) Like you suggested, I downloaded HEX file editor and I tried to compare my file with other good part of interview, but this is black magic for me LFS Forum - Repair a corrupt mp4 file? (27)

here is bad file:
http://www.sendspace.com/file/jexesa
and good file:
http://www.sendspace.com/file/ht9x3a

this is error from foobar1.1:
Unable to open item for playback (Unsupported format or corrupted file (moov box not found)):
"Plik audio 04.mp4"

thanks in advance

polake

1

2

This thread is closed


Repair a corrupt mp4 file?

(39 posts, closed, started )

LFS Forum - Repair a corrupt mp4 file? (2024)

References

Top Articles
Latest Posts
Article information

Author: The Hon. Margery Christiansen

Last Updated:

Views: 6769

Rating: 5 / 5 (50 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: The Hon. Margery Christiansen

Birthday: 2000-07-07

Address: 5050 Breitenberg Knoll, New Robert, MI 45409

Phone: +2556892639372

Job: Investor Mining Engineer

Hobby: Sketching, Cosplaying, Glassblowing, Genealogy, Crocheting, Archery, Skateboarding

Introduction: My name is The Hon. Margery Christiansen, I am a bright, adorable, precious, inexpensive, gorgeous, comfortable, happy person who loves writing and wants to share my knowledge and understanding with you.