Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I took a video from my Android phone (Sony Xperia P, if you need to know), and before I could stop recording it, the phone memory got full and the phone got hanged too. I rebooted the phone, the video was there, but I couldn't play it from any media player on Android. It's in mp4 format.

So I tried to open it on PC and Mac with different video player, like VLC, quick Time, Windows Media Player etc., but none of them can play it. I know that the video is corrupted, but I believe it's repairable, since it got more than a GB in size. Is there anything that I can try to repair the video file? The video is really important.

share|improve this question

1 Answer 1

If you have ffmpeg, from the command-line you can try:

ffmpeg -i input.mp4 -c copy output.mp4

If the problem is just with the container, this will fix it.

If that doesn't work, please post the complete terminal message, as it could give a clue as to how to fix the file.

share|improve this answer
    
Sorry, I forgot about that video. I'll try your method tonight. Can you let me know of any link from where I can get to know how to install ffmpeg. They just give zip or tar archives. Thanks anyways –  noob Jan 31 '13 at 9:32
    
@Creator - Look here, scroll down to 'Linux builds' or 'Windows builds' or 'OSX builds', depending on your OS. –  evilsoup Jan 31 '13 at 14:34
1  
Sorry for the late reply. This is the error I am getting while using ffmpeg command - [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f88f9018e00] moov atom not found input.mp4: Invalid data found when processing input –  noob Mar 17 '13 at 20:31
    
Didn't work. But still thanks for the answer. –  noob Mar 26 '13 at 20:52
    
did you ever resolve this? getting the same problem. Think it was caused by more or less the same thing too –  Horse Oct 8 at 16:19

protected by slhck Sep 3 '13 at 19:49

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.