image
Page 12 of 14 FirstFirst ... 21011121314 LastLast
Results 111 to 120 of 140

Thread: How to repair corrupted MP4 files from a GoPro.....for free!

  1. #111
    Just crashed my DJI PHANTOM (i know im suck ) and tried VLC its not working at all what should I do?

  2. #112
    FPV Browncoat prelator's Avatar
    Join Date
    Jul 2011
    Location
    Highlands Ranch, Colorado
    Posts
    2,399
    Read page 1 of this thread.
    ~Patrick M.

    YouTube Channel: youtube.com/user/SerithianFPV

    Colorado FPV Pilot and Flying Site Map: mapsengine.google.com/map/edit?mid=zjYlxx5w300I.kmgDGKOhrMAo

  3. #113
    just FYI: I could not fix my 2 phantom dji mp4 files that I deleted by mistake off mem stick, and recovered immediately with undelete program.... tried like 82,147.5 different programs, copy/paste headers around, etc. NFL.

    found this and it worked! BUT ONLY WHEN I CLICKED --ON-- "Enable AVC1 single mode" under options. Then it worked on both files great and immediately. (I saw each file in header stated encode type avc1). play the dos copy trick too.

  4. #114
    just FYI: I could not fix my 2 phantom dji mp4 files that I deleted by mistake off mem stick, and recovered immediately with undelete program.... tried like 82,147.5 different programs, copy/paste headers around, etc. NFL.

    found this and it worked! BUT ONLY WHEN I CLICKED --ON-- "Enable AVC1 single mode" under options. Then it worked on both files great and immediately. (I saw each file in header stated encode type avc1). play the dos copy trick too.

  5. #115
    I was able to triple the size of my video file, however when I use the software to repair it, it gives me three separate files of the first half of my video! It was all one clip when I put it in but it just wont work....

  6. #116
    FPV Browncoat prelator's Avatar
    Join Date
    Jul 2011
    Location
    Highlands Ranch, Colorado
    Posts
    2,399
    Try turning off scene detection.
    ~Patrick M.

    YouTube Channel: youtube.com/user/SerithianFPV

    Colorado FPV Pilot and Flying Site Map: mapsengine.google.com/map/edit?mid=zjYlxx5w300I.kmgDGKOhrMAo

  7. #117
    Rover Rick DaMann's Avatar
    Join Date
    Nov 2012
    Location
    Asheville NC
    Posts
    31
    This has saved my butt from damaged files after crashes SO many times..
    ~ The probability of someone watching you is directly proportional to the stupidity of your actions ~

  8. #118

    Red face Thank you. Your guidance helped me repair a much needed video file.

    I can thank you enough for offering a quick, easy and free solution to repair a corrupt video file.

    Quote Originally Posted by prelator View Post
    Updated 12/06/2014:
    Have you ever had your GoPro / other HD camera shut off in a crash or hard landing, corrupting your video file? A couple years ago I discovered the Grau GmbH Video Repair Utility, which seems to be the only program in existence which can actually fix corrupted MP4 files. I can personally verify this works on files from a GoPro and Sony Action Cam, and the repair utility's website lists a number of other cameras it should work with as well.

    The program is NOT FREE and they charge an outrageous 29 EURs for 5 repairs and 99 EURs for unlimited repairs. In free mode, the program will only repair 50% of your corrupted video file. Fortunately there are several possible workarounds to this that can trick the program into still repairing your complete video file without paying for the program.
    As of December 2014, I have verified that it is possible to repair 100% of your video file with the latest version of the Grau Video Repair Utility (v. 1.9.0.1). While that version blocks the exploits of using -save 100 in Custom Repair Parameters (see Alternate Method below) and simply doubling the file, I have discovered that TRIPLING the file will still cause the program to recover the full video, plus a little extra where the video loops back and starts over (which you will then have to manually edit out).

    METHOD 1: Increase the File Size

    WINDOWS INSTRUCTIONS

    1.Download the Grau Video Repair Utility: Unzip it to a folder on your PC (no installation required) and run the file gs.exe. There is no need to install the program to your computer.



    2. Normally the utility will only repair 50% of the file for free (you have to pay an outrageous 29 EUR for a mere 5 repairs, or 99 EUR for unlimited repairs--probably more than you want to spend just to repair a stinking video file). Fortunately, there is a way to trick the demo version into repairing the full video. It calculates how much it will repair by file size. So....double the file size of the source video, and it will repair the whole thing!

    To do this:
    a. Make a copy of your corrupted video file and put it in the same directory as the original. Rename the two files something simple like "video1.mp4" and "video2.mp4."

    b. Open the Windows command line (run>cmd) and navigate to the folder with the video files using the cd command.

    c. Type "copy/b video1.mp4+video2.mp4" (without the quotes) and hit enter. It will now merge video2 into video1, so video1 will have doubled in file size.

    d. If using version 1.9.0.1 or higher, run the command in step (c) a second time, which will triple the file size instead of doubling it (quadrupling may also work though I haven't tried that).This defeats the bugfix that patched the doubling exploit, since the file is no longer exactly twice the length of the original video. You will however have to manually edit out a portion at the end of the repaired file where the video will loop back and start over at the beginning.
    3. Go back to the repair utility and select the "repair" action. Click the "Choose movie" button and select your merged video file (video1.mp4 in my example). Then click the "Choose reference movie" button and select any other properly functioning raw video file from the same camera to serve as a reference file.

    4. Click the "Scan" button and wait for the utility to repair the file. You should then be able to find the full repaired video in a newly created sub-directory of the source folder called "repaired."

    5. Your video file should now be repaired and will play smoothly up to the moment when your camera quit recording (GoPros will typically lose the last 30 seconds before a crash).

    MAC INSTRUCTIONS

    1. First download the video repair utility here : http://www.grauonline.de/cmsimple2_6...ility#download (you may still need to use an old version just like for Windows)

    2. Unzip the downloaded file (which might be automatic) and double-click the "gs.app" or "gs" included file.

    3. The first time you launch it, you might have a warning message about the app coming from an unidentified developer. This is an OS X security for the first time you launch downloaded applications. To temporarily disable it, go to System Preferences (in the Apple menu), then Security and Confidentiality / General tab.

    Click the locker icon, enter your password, then set authorization for downloaded applications to "from anywhere" (I am actually using it in French, so the English wording might be a bit different).You should now be able to open the gs.app. Once you have done it, put the security setting back to its original setting.

    4. Then use the repair tool (you will need one working video with the same settings as the one you want to repair).

    5. Since the demo version only repairs 50% of the video, you need to double the file size. Here is how to double the file size on a Mac:

    - Open the Terminal app (time Terminal in Spotlight, upper right of your screen)
    - Type "cat " without the quotes. The space is important.
    - Then drag you video to the terminal window. This will input the path to the file plus a space in the Terminal window,
    - Drag the video file to the terminal window a second time.
    - Type "> " in the terminal
    - Drag the video file to the terminal window a third time.
    - Using the left arrow, go before the extension (.MP4 for my GoPro) and type "doubled". This just adds "doubled" to the name of the result file.

    The line in Terminal should look like that, where the actual path can be a lot longer:
    cat /PATH/GOPR0002.MP4 /PATH/GOPR0002.MP4 > /PATH/GOPR0002doubled.MP4

    Press the Return key. If you do not get an error message, you will just have the usual invite in the Terminal after the copy is complete ...and a double-sized file with "doubled" added to its name in the original location :-)

    Note: If using v1.9.0.1 or higher, do the previous step again copying the original video into the doubled file again. The final file should have tripled in size, which defeats bugfix that patched the original doubling exploit. The final file will have some extra footage at the end where the original video loops back and starts over, which you will need to manually edit out.

    ALTERNATE METHOD: Custom Repair Parameters (only works with v1.8.0.0)

    Both Mac and Windows


    1. Go to the Options tab
    2. Under Custom Repair Parameters, type this info:

    -save 100

    3. Now, go back to Repair tab, continue as usual and now you will get 100% repair length (instead of 50%, still in demo mode)

    TROUBLESHOOTING
    If you still have problems getting this to work, try fiddling with different options in the Grau video repair utility.

    I have verified the following settings work with videos from the Sony HDR AS-100v action camera:

    Code:
    Enable entropy scan - ON
    Detect new movie clips - OFF
    Enable AVC1 single mode - OFF
    No CTTS repair - ON
    Enable logging - ON
    Overwrite existing codec information by reference file - ON
    Enable PCM detection - ON
    Enable AAC detection - ON
    Save raw video+audio streams to files - OFF
    Delete existing files in output folder - ON
    Reencode repaired movie files - OFF
    If your final output file is super jittery and has a really low frame rate with the video freezing and hanging constantly, make sure you have the No CTTS Repair option turned on. That was happening to me using v1.8.0.0 with my Sony Action camera, but using the No CTTS Repair option in v1.9.0.1 fixed that.

    If repairing video from an iPhone or other cell phone camera, you may need to turn on the option Enable AVC1 single mode, though that does NOT work with a Sony Action Camera.

  9. #119
    Quote Originally Posted by prelator View Post
    Read page 1 of this thread.
    Hi my case is that I lost all my files in my SD card during transfer because it was corrupted.
    Now all my gopro videos and photos are gone. I was able to recover all the files but the videos are unplayable.

    I tried using the trick you posted on the first page but sadly the videos would somehow be repaired but upto 12 seconds only and there would be duplicate clips containing the same scene.

    Am I doing it wrong? Or the trick doesn't work on corrupted files due to transfer.

  10. #120
    FPV Browncoat prelator's Avatar
    Join Date
    Jul 2011
    Location
    Highlands Ranch, Colorado
    Posts
    2,399
    Try using the same settings I did for all the advanced options.
    ~Patrick M.

    YouTube Channel: youtube.com/user/SerithianFPV

    Colorado FPV Pilot and Flying Site Map: mapsengine.google.com/map/edit?mid=zjYlxx5w300I.kmgDGKOhrMAo

Page 12 of 14 FirstFirst ... 21011121314 LastLast

Similar Threads

  1. FeiyuTech OSD Log Files to KML!
    By MatCat in forum IFR - Video Link Discussion
    Replies: 1
    Last Post: 3rd June 2012, 08:31 PM
  2. 35Mbps data rate coming to GoPro 2 HD... for FREE !!
    By Ian Davidson in forum IFR - Video Link Discussion
    Replies: 0
    Last Post: 19th April 2012, 02:59 AM
  3. Free IMU (not actually free) But cool project
    By blackley12 in forum ROTORCRAFT
    Replies: 3
    Last Post: 17th April 2012, 12:18 PM
  4. Electronic repair?
    By Blizzard1287 in forum RC TECH
    Replies: 4
    Last Post: 20th August 2011, 10:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •