Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 8 of 8
Like Tree2Likes
  • 1 Post By wizzrah
  • 1 Post By Rukbat
  1. Thread Author  Thread Author    #1  

    Default Corrupted video (mp4) files.

    So, my wife's phone (Galaxy Note 2) was running out of memory. She decided to move all of her video files into one folder to be prepared for migration to our NAS. When she finished consolidating the files, everything looked fine, but she didn't play any of the videos. She then noticed that some of the videos went black in the gallery. She tried opening them and they failed to run. I tried running those videos on Win7 with VLC, on Mac (which tried to convert them and failed), I tried recovering them with http://grauonline.de/ application and only got the sound back. Out of 51 videos that she moved, about 30 were corrupted. I am guessing that because she only had approximately ~5-6MB of storage space left on her phone, during the movement, there wasn't enough for cache or whatever (I have very limited experience with Android development, so I'm not sure how it works on that OS), and the files became corrupted.

    Has anyone experienced anything similar? Everything I've read had to do with bad SD cards, corruption during recording, etc. But I couldn't find anything that was similar to our situation. I also couldn't find any solutions to fix it. Does anyone have any ideas? Those videos are priceless to us, because they're of our daughter.... so recovering them is my highest priority.

    I should mention that HEX data doesn't look bad, as in... I see no zeroes. Therefore, data should be recoverable? I was able to get the sound back, but no video.

    Here's entropy report for one of the videos:

    [NOTICE] entropy 0 - 21147 -- 0.997836
    [NOTICE] entropy 21147 - 42294 -- 0.997699
    [NOTICE] entropy 42294 - 63441 -- 0.997829
    [NOTICE] entropy 63441 - 84588 -- 0.997875
    [NOTICE] entropy 84588 - 105735 -- 0.997938
    [NOTICE] entropy 105735 - 126882 -- 0.997796
    [NOTICE] entropy 126882 - 148029 -- 0.997728
    [NOTICE] entropy 148029 - 169176 -- 0.997513
    [NOTICE] entropy 169176 - 190323 -- 0.997645
    [NOTICE] entropy 190323 - 211470 -- 0.997858
    [NOTICE] entropy 211470 - 232617 -- 0.414821


    0.6 or higher means it contains video data. I tried every option in that program and I couldn't repair. I can't find another one that people say works.
  2. #2  
    wizzrah's Avatar

    Posts
    4,358 Posts
    Global Posts
    4,373 Global Posts
    ROM
    CandyKat 4.4.4

    Default Re: Corrupted video (mp4) files.

    Quote Originally Posted by bkboggy View Post
    So, my wife's phone (Galaxy Note 2) was running out of memory. She decided to move all of her video files into one folder to be prepared for migration to our NAS. When she finished consolidating the files, everything looked fine, but she didn't play any of the videos. She then noticed that some of the videos went black in the gallery. She tried opening them and they failed to run. I tried running those videos on Win7 with VLC, on Mac (which tried to convert them and failed), I tried recovering them with http://grauonline.de/ application and only got the sound back. Out of 51 videos that she moved, about 30 were corrupted. I am guessing that because she only had approximately ~5-6MB of storage space left on her phone, during the movement, there wasn't enough for cache or whatever (I have very limited experience with Android development, so I'm not sure how it works on that OS), and the files became corrupted.

    Has anyone experienced anything similar? Everything I've read had to do with bad SD cards, corruption during recording, etc. But I couldn't find anything that was similar to our situation. I also couldn't find any solutions to fix it. Does anyone have any ideas? Those videos are priceless to us, because they're of our daughter.... so recovering them is my highest priority.

    I should mention that HEX data doesn't look bad, as in... I see no zeroes. Therefore, data should be recoverable? I was able to get the sound back, but no video.

    So this is from the PC to the NAS correct?
    "The glow of one warm thought is to me worth more than money." - Thomas Jefferson



    My One X has served its time...now it's the Note 4's turn
    Golfdriver97 likes this.
  3. Thread Author  Thread Author    #3  

    Default Re: Corrupted video (mp4) files.

    No. It was meant for movement from her phone to NAS, but we didn't even get that far, because her videos were corrupted after she moved them within her phone. They were in different folders and she consolidated them into one. So, the videos never left the phone.
  4. #4  
    Golfdriver97's Avatar

    Posts
    21,804 Posts
    Global Posts
    22,246 Global Posts
    ROM
    Liquidsmooth ROM

    Default Re: Corrupted video (mp4) files.

    Perhaps transferring to a PC to see if it can repair the corrupted files?

    Phone Timeline
    'If we could change ourselves, the tendencies in the world would also change.' - Mahatma Gandhi
    Community Guidelines and also here
  5. Thread Author  Thread Author    #5  

    Default Re: Corrupted video (mp4) files.

    As I stated in my original post, I've already done that. And on Mac. I tried the repair tool, I've tried conversion, I've tried several players. The data is there and I can get it to start and play sound with the repair too, but no video. So, it's scrambled... I just have no idea how to repair it.
  6. #6  
    Rukbat's Avatar

    Posts
    6,097 Posts
    Global Posts
    6,098 Global Posts
    ROM
    X-Note7.0.1

    Default Re: Corrupted video (mp4) files.

    Quote Originally Posted by bkboggy View Post
    So, my wife's phone (Galaxy Note 2) was running out of memory. She decided to move all of her video files into one folder to be prepared for migration to our NAS.
    NEVER move files on a phone. Copy them, paste them to the destination, test them then, if they copied correctly, delete the original. Reason? Because of what happened to your wife's files.

    She then noticed that some of the videos went black in the gallery.
    That's because there was no video in them.

    I am guessing that because she only had approximately ~5-6MB of storage space left on her phone, during the movement, there wasn't enough for cache or whatever (I have very limited experience with Android development, so I'm not sure how it works on that OS), and the files became corrupted.
    Since most videos are larger than 5 or 6MB, that's what would happen. A paste would fail and you'd be left with the original file. A move ... when there's not enough room for both copies of the file, the origin and the destination, things tend to get messed up.

    Does anyone have any ideas? Those videos are priceless to us, because they're of our daughter.... so recovering them is my highest priority.
    Maybe - but I'm not holding out any hope.

    I should mention that HEX data doesn't look bad, as in... I see no zeroes.
    You should. Hex data runs from 0 to F. If there's not a single 0 in an entire file, it's either a VERY rare occurrence or something's wrong.

    Therefore, data should be recoverable? I was able to get the sound back, but no video.
    Sound and video are in different files in the mp4 envelope.

    What you do depends on whether the files are now in internal or external storage. If she copied the files to internal storage (and that includes the emulated SD card), you can connect the phone to the computer and run PhotoRec on it and hope it finds something. If she copied the files to the external SD card, you can mount the card n the computer (take it out of the phone, put it into an adapter) and run z-a-recovery on the card. But if the files overwrote themselves, there's not going to be anything to recover (as Microsoft found out with DOS 5.0).

    Whatever you do, DO NOT write or save ANYTHING to that phone until you recover the videos or give up. Even receiving a phone call writes an entry in the call log, and that could overwrite a video.

    @Golddriver:
    The actual data isn't linked, the links are to the corrupted data. Copying the files will only copy the corrupted data. The video has to be recovered from the original data, which is no longer linked to directory entries.
    Thanked by:
    bkboggy likes this.
  7. Thread Author  Thread Author    #7  

    Default Re: Corrupted video (mp4) files.

    You should. Hex data runs from 0 to F. If there's not a single 0 in an entire file, it's either a VERY rare occurrence or something's wrong.
    As in, it's not 0 0 0 0 0 0 0 0 0 0 0 0 <--- missing data. I know hex, I have x86 experience. What I'm trying to say is that data is not missing. If a large chunk contained nothing but 0's, then we know that there's no video or audio data in it.

    Sound and video are in different files in the mp4 envelope.
    avc1 and mp4a packaged under mp4, right? I have very little experience with video and audio files.



    Luckily she didn't delete the files from the phone yet. I went to college and when I cameback she told me she "moved" them to her Mac, so I almost had a heart attack. Luckily, she just copied them. As far as writing anything to that phone... yeah, she's been using it for the past 12 hours (internet, phone calls, etc).

    When she was doing the whole moving thing, she was moving them from SD card onto the phone. So, the phone has the links to the corrupted data. Therefore, SD card should still have the original files. I'm doing a run at it with photorec right now, we'll see in an hour if it finds them. It found over 1,500 files so far, but it's a 15GB storage, so I'm hoping that figure will keep on rising. I'll try z-a-recovery afterwards if it doesn't work.

    I definitely appreciate your help thus far.

    By the way, forgot to mention that I went on http://mp4repair.org/ and uploaded one of the corrupted videos I got off the phone. It was able to recover it and looked good in the preview. I just don't wish to pay $27 per video. It would be over $800... so I'm hoping to find a better way.
  8. #8  
    Rukbat's Avatar

    Posts
    6,097 Posts
    Global Posts
    6,098 Global Posts
    ROM
    X-Note7.0.1

    Default Re: Corrupted video (mp4) files.

    If PhotoRec is finding files, you probably don't need ZAR. ZAR is for when the CPU in the SD card (yep - there's a whole computer in that little piece of plastic) goes bad, so you can't tell it to give you the data. Then ZAR bypasses it and talks to the memory chip itself.

    If PhotoRec is finding files, the chip is working. Get comfortable, though - I once had it running for a week on a corrupted hard drive. (Found files I had forgotten I ever had.)

Similar Threads

  1. How do I delete all my music files?
    By jordanbaker2525 in forum Introductions
    Replies: 3
    Last Post: 02-12-2014, 06:54 PM
  2. 4k video recording
    By Torialai Waziry in forum Samsung Galaxy Note 3
    Replies: 12
    Last Post: 02-10-2014, 04:43 PM
  3. Stream video to PS3
    By ryanm33 in forum General Help and How To
    Replies: 1
    Last Post: 01-22-2014, 12:15 AM
  4. Samsung Galaxy Note 3 Video Recording problem!
    By kel_313 in forum Samsung Galaxy Note 3
    Replies: 2
    Last Post: 01-21-2014, 02:39 PM
  5. Viewing Evernote Files
    By mwatson2 in forum Samsung Galaxy Note 10.1 (2014)
    Replies: 5
    Last Post: 01-21-2014, 12:53 PM

Posting Permissions