Page 6 of 8 FirstFirst ... 45678 LastLast
Results 101 to 120 of 152

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Editing .mov files for corrupt cycorder videos...

  1. #101
    Default mov file from iphone 3GS
    Quote Originally Posted by xylor View Post
    After spending some time poring over a hex editor, Dumpster (QuickTime Tools) and the QuickTime File Format (Qtff pdf - .Pdf & Word Free Ebooks Download), I have successfully been able to repair corrupt Cycorder videos.

    As NFL_Demon and jumpfroggy found, since Cycorder didn't finalize the .mov we are left with both a missing 'moov' atom, and an 'mdat' atom with a size of 0. However, simply appending a 'moov' atom from a healthy Cycorder .mov and updating the mdat size is not sufficient to fix a corrupt file. While that may allow the file to be loaded in a QuickTime player, the resulting video would have sample video/audio tables pointing at essentially random locations within the file. You would probably see a black video with crackling noises and snippets of sound.

    The following areas of the 'moov' atom need to be reconstructed in order to have the file play correctly:

    * mvhd.duration
    * (video) trak.tkhd.duration
    * (video) trak.mdia.mdhd.duration
    * (video) trak.mdia.minf.stbl.stts
    ** This stts section basically syncs video/audio sample timing. The entire table needs to be rebuilt. Since we do not have the exact timing information for each video frame (presumably this was in Cycorder memory?) we can guess at the timing for each frame based on the rate of audio samples coming in. This produces reasonable results.
    * (video) trak.mdia.minf.stbl.stsz
    ** This stsz section is the table of video sample sizes. This can be reconstructed by scanning the 'mdat' atom for mjpg signatures.
    * (video) trak.mdia.minf.stbl.stco
    ** This stco section is the table of video sample offsets within the .mov file. Again, this can be reconstructed by scanning the 'mdat' atom.
    * (audio) trak.tkhd.duration
    * (audio) trak.mdia.mdhd.duration
    * (audio) trak.mdia.minf.stbl.stts.sampCnt
    * (audio) trak.mdia.minf.stbl.stsc
    ** This stsc section is the samples to chunks table. This can be reconstructed by analyzing the audio information in the 'mdat' atom.
    * (audio) trak.mdia.minf.stbl.stsz.numEntries
    * (audio) trak.mdia.minf.stbl.stco
    ** This stco section is the table of audio sample offsets within the .mov file. This can also be reconstructed by scanning the 'mdat' atom.
    * Various container sizes also need to be recalculated to account for the replacement table sizes.

    Based on the above, I have created a proof-of-concept python script that generates a valid 'moov' atom from a corrupt .mov video. It is a bit ugly at the moment, and the resulting atom needs to be manually stitched in to the corrupt file at the moment, but it does work. I will attempt to clean it up and post it for folks to use this weekend.

    Cheers
    Hi Xylor,
    Thank you for your program and your explainations. I have tried to use them to fix a mov file that was corrupted when i try to upload from my iPhone 3GS to my PC. It is not a cycorder file but come from the original camera application in 3GS phone. You said that with some modifications in the moov_template file, I may be able to make it work anyway, but unfortunately I haven't been able to do so. Could you tell me how I can modify this file. I have tryed to use dumpster and hex editor, but being such a newb about this kind of thing, I wasn't successful.
    Could you please explain me in simple term a way to create a valid moov_template file from a undammaged mov file from the same origin.
    Thanks again.

  2. #102
    Helly Xylor and all the others in this forum.

    I made an account to tell you that i too have a similar problem... going nuts over it even...

    What happened here was the following: i attached a webcam to my iBook, and it was camming away happily for hours, the application was generating (split-) files of 2GB in size... all was going as planned.

    By accident i closed the cover of the iBook, effectively putting the computer to sleep mode, and pausing the application. It crashed before writing the moov and mdat data (afaik by reading hours upon hours on this matter)... i do have files that are similar in length, made with the same gear.

    If there's a possibility to write the necessary data to my broken .mov files, no matter how small, i would try to get back my precious recordings...

    thank you for your time, greetings from the Netherlands

  3. #103
    Hello everyone, I too have registered on this site in hopes of fixing a mov file. I have the same problem as Excentric a few pages back where I ran the script on a large file (2GB) and only got a 1 MB fixed .mov file afterwards. For fun, I tried opening the fixed MOV in quicktime and got a "Error 2002 - a bad public movie atom was found in the movie." Is there anything else that can be done with this, I have spent many hours researching this like probably most of you and would love to get something that really fixes the problem.
    EDIT: In rereading a few pages back, I am guessing that my problem is that I was not using cycorder but video from a Canon camera that shoots HD .mov files. With a hex editor, I made a moov_template file from a working video from this camera but still get the same 1MB fixed mov file when I run Xylor's script. Xylor could you please tell us what script changes need to be made to use different moov_template files, I promise to contribute if I can salvage my video!
    Last edited by I hate Cameras; 08-15-2010 at 05:14 PM.

  4. #104
    CAN SOMEONE POST A NEW LINK FOR THE "repair_cycorder_mov.zip" file. The current one on rapidshare RapidShare: 1-CLICK Web hosting - Easy Filehosting, is a corrupted file. NEED THIS ASAP.

  5. #105
    Exclamation Same Kodak Playsport Zx3 Issue as others above
    Hey Xylor,

    Looks like i am having the same problem as Braddd and digiital above with a corrupt Kodax Zx3 file being produced due to an issue with the device not stopping after long periods of time and creating an incomplete file when the batt runs out.

    Have you had any luck in producing a file that we can use with this script in order to recover the file, any help is truly appreciated in this matter as i have a few files that are important and quite large!

    Thanks in advance

    N

  6. #106
    I know this thread is kind of old, am I out of hope? I've been trying this method to no avail.

  7. #107
    Default RE: your repair script
    Your procedure worked but the "working.mov" was only 1mb compaired to the corrupted.mov file @ 1.3gb, need a new script can't find any info on the net so I could write my own ?;


    By . at 2010-09-04

    Quote Originally Posted by parabolee View Post
    I am in a similar position, all my movie files were fine but I upgraded to a 3GS and forgot to back them up before starting "erase all data" on the old phone, I realised within 20 seconds and cancelled it and then recovered the phone and followed this guide to recover my data -

    Guide: Recover Lost or Deleted Photos/Files on iPhone 3G/S (Jailbroken) on a Mac

    I successfully recovered a single video file with no problems, the rest are corrupt and won't open. But I can get all the frames from FileJuicer. If only the audio could be recovered too!

    Well I will post if I I come up with anything, but for those with Windows PC's that can't use File Juicer and would at least like that data, shoot me a PM, I'll be happy to run them through for you and send them back.

    UPDATE 1 ----------------- >

    Anyone tried this -

    how to repair corrupt MOV file? - Presentation Transcript

    How to Repair corrupt MOV file? “ I can not access the MOV file in the QuickTime, it looks as normal, what’s the problem?”
    Files corruption happened due to the files is not saved completely, or the operating system crashes while the file is in use, the physical problems with the storage media, hardware malfunctions, natural causes, viruses, software errors, and human errors etc. . When these bad situation occurred, what we can do is repairing the corrupt file.
    To repair corrupt MOV file, we need prepare: 1. Download a video recovery software and install it in your computer. ( you can free downlod from: http://www.digitalmedia-recovery.com/download.php ) Step1: Choose the drive/ storage device your MOV file saved in.
    1. Choose the Drive
    2. Choose the file type
    3. Choose the target files to repair
    With high-end disk scanning technology, the corrupt MOV files will be quickly repaired. News From: Digital Media Recovery Software - Photo Recovery software, Video Recovery software, Audio Recovery Software


    My searches keep turning this up. But I don't want to drop $50 on it and it not work.


    UPDATE 2 ----------------- >


    Ok I have found what seems to be a guaranteed way to fix these files. A piece of software for the mac called "Treasured" will analyse the file and allow you to send it for repair for $50-$79

    BUT with multiple files they send you a repair kit, you can use it as many times as you like but the resulting files will have a watermark. Once you are happy, you can pay to unlock the files without watermark.

    So if the video/s are worth $79 to you, then do this. However you can also convert them for free if you are ok with a watermark.

    ALSO there is NO limit on the amount of files you can repair, so it seems to me the repair kit will work with ALL Cycorder files (as it is custom built for them). So if one of us does this, we can convert everyone's for the same cost.

    In theory, it's easy to test, someone get the repair kit (I will have it shortly) and use on there own files and try it on other peoples. I'll be happy to share the repair kit for testing, unless it is bound to me in some way.

    Again for the non Mac users here, I am HAPPY to help you by testing the repair kit for you OR by recovering your images through File Juicer.
    Treasured just shows 3 or 4 images then locked to a "service request page", Treasured is just a app. to sell a service that's a fair price I must admit, but the service procedure is NOT registered with the USPTO.

    Python's CMD lin don't do nothing, your however did work the same as it did with Mac OS Lep.

    Step 1.

    By .

    Step 2.

    By .

    Final result.

    By .

    Got to be a repair script for large files, like before corrupted file 1.3gb fixed.mov file 1mb (wont play) NEW SCRIPT TIME.


    I was told you need a small .mov file from the source camera to write a repair script here is a 22mb file from the source;

    Link
    https://docs.google.com/leaf?id=0B52...ut=list&num=50
    Last edited by ctops.legal; 09-04-2010 at 04:10 PM. Reason: Automerged Doublepost

  8. #108
    Guess XYLOR is Awol.

    I have had my Kodak crap out on videos again, seems like a bug with the firmware when the SD reaches about 150 images/videos.

    While looking for another fix I found this link
    http://contour.com/forums/software/s...t-mov-recovery

    It has source for the java app. Once again this is targeted for a certain camera. I tried on a messed up file from my Kodak ZX3 and still no joy.

    If there was away for the script that xylor or the link above to extra the needed information from a good mov file we would be all set but being hard coded to a certain camera its a no love situation

  9. #109
    Quote Originally Posted by digiital View Post
    Guess XYLOR is Awol.

    I have had my Kodak crap out on videos again, seems like a bug with the firmware when the SD reaches about 150 images/videos.

    While looking for another fix I found this link
    http://contour.com/forums/software/s...t-mov-recovery

    It has source for the java app. Once again this is targeted for a certain camera. I tried on a messed up file from my Kodak ZX3 and still no joy.

    If there was away for the script that xylor or the link above to extra the needed information from a good mov file we would be all set but being hard coded to a certain camera its a no love situation
    Yea the Jave repair is runnin now;

    http://contour.com/forums/software/s...ecovery?page=2

  10. #110
    Could you make the .mov repair script work for Photo Booth quit before stop corrupt file?

    I think there is a big market for this as the only way currently is Treasured which costs a bomb.

  11. #111
    Default RE: Treasured
    I don't have much confidence in Treasured based on my research, actually Apple has some software it's like Quicktime tools, 3 emails I got said the software requires a small (good) working peice of .mov file from the original recording device, that might be how Treasured is doing it, first Treasured is to cheap that's what is so suspicious about Treasured, I work in data recovery and the base rate is several hundered dollars to start, it's some guys from Apple that wrote some custom software I bet it needs to run under Mac OS Quccktime's original home.

  12. #112
    Do you have the correct name or able to share it? I'm sure many of us would be greatful to have a tool like that.

    Quote Originally Posted by ctops.legal View Post
    I don't have much confidence in Treasured based on my research, actually Apple has some software it's like Quicktime tools, 3 emails I got said the software requires a small (good) working peice of .mov file from the original recording device, that might be how Treasured is doing it, first Treasured is to cheap that's what is so suspicious about Treasured, I work in data recovery and the base rate is several hundered dollars to start, it's some guys from Apple that wrote some custom software I bet it needs to run under Mac OS Quccktime's original home.

  13. #113
    Default Wish I knew,,
    Well let's look at it rationally how is a quicktime .mov made, you would need to write a software app. that would emulate an camera's hardware functions, if such an app. is out there it runs under Mac OS I bet.

  14. #114
    Hey guys, I know I am probably beating a dead horse, but this thread is the only *seemingly* working solution. Basically, I recorded a video on my iphone 2g, and it was corrupted as I closed the app instead of pressing the stop button.

    I tried doing everything in here. Ran from cd, trying to run the script, it asks my with what to be opened, I select python from python 2.6. folder. Then it just quickly opens up a window and closes it immediatly, without giving me time to react.

    Any ideas? I really want this movie, it's a wedding movie of a friend of mine.

    I'm running W7
    Last edited by Aahzmandeus; 05-02-2011 at 07:14 PM.

  15. #115
    Default Try to play using VLC player
    VLC player can repair .mov files, also the SD card was not seated right you file may not contain audio, use a MAC app called "filejucer" to extract your images.

    Java has a GUI called "movmedic", it runs under windows but works better running under MAC or Ubuntu.

    Same deal on the vid I worked on pro bono for all that valuable word-of-mouth advertising, details on:

    Computer Forum - forums - craigslist

    Good luck.

  16. #116
    @Aahzmandeus

    How important is the audio to you? I can fix the video minus the audio easily. I can do it with the audio too, but that's more complex.

    The Treasured people do a great job, but they are expensive. If you have a Mac you can get the free app to fix your video and use it to decide if it's worth it, it has artefacts but even if you decide it's not worth it, what you get is better than nothing. Also you'll get the audio from it, which would help me.

    Email me and we'll figure something out. I'm feeling generous because I just saved two important videos of my own and I know how it feels.

    Email = parabolee -(at)- gmail -(dot)- com

  17. #117
    Default Treasured
    Nothing on the net as far as reviews for it last time I looked, it does the same thing as filejuicer from what I gather.

  18. #118
    Unfortunately, I do not have a mac. I can eventually get ahold of a macbook, though.

    I also can't really pass this movie online, since it's not mine, and my friend hates having stuff like this anywhere online. Which is why I won't use treasured.

    The audio is really not that important, the mic is crappy anyway. So, the best option is to use filejuicer? I tried searching for movrepair, but it just turns out dead links. VLC obviously can't open the file, tried that.

    @parabolee the free mac app would be filejuicer?

  19. #119
    Quote Originally Posted by Aahzmandeus View Post
    Unfortunately, I do not have a mac. I can eventually get ahold of a macbook, though.

    I also can't really pass this movie online, since it's not mine, and my friend hates having stuff like this anywhere online. Which is why I won't use treasured.

    The audio is really not that important, the mic is crappy anyway. So, the best option is to use filejuicer? I tried searching for movrepair, but it just turns out dead links. VLC obviously can't open the file, tried that.

    @parabolee the free mac app would be filejuicer?
    Well the free app I was talking about was Treasured. But Filejuicer will extract the frames as images which can easily be put back together. Also Treasured offer a "blind" repair, where they won't look at the video file, but honestly there is no need for that.

    If you do use Treasured when you get that Mac and request the free trial software, contact me and I can help you fix it easily.

  20. #120
    Well, it'll be a while before I get the mac.

    Meanwhile, it appears that the script is fine, I just lack enough knowledge to actually run it. I download python 2.6, then I right click on the repair_cycorder_mov.py file and tell windows to associate python.exe with this file. As a result, now, when running the script, CMD just gives me a script HELP page that lists the usage of this script. But it doesn't actually run the script. Anyone know a dead-sure method of running this script under W7? Or what do I need to type to make cmd execute this script?



    Uploaded with ImageShack.us
    Last edited by Aahzmandeus; 05-06-2011 at 08:18 AM.

Page 6 of 8 FirstFirst ... 45678 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •