VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or buy Replay Video Capture or PlayON and record Netflix, HBO, etc! :)
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Hi All,
    Long story short, Had lots of video files on SD card's and for one reason or another they were not on the SD cards anymore (deleted) Tried recovering the videos using a plethora of recovery programmes, Recuva, CnW Recovery etc and out of about 60+ videos there were 4-5 that were Pristine, fully recovered not a problem. There were many more that were "Fully recovered" as Recuva said they were 'Perfect' and the rest were a mix of 'Poor' and 'Unrecoverable'. So I have recovered everything I can (Perfect, poor and Unrecoverable) yet some of the 'Perfect' videos will not play in any media player VLC, WMP,VSO Media player, SMPlayer. So I googled some stuff and found that it may be the Headers that were missing. So I downloaded HxD and viewed some of the files that were not playing and sure enough some Headers were missing. So I did as many people said on line (made copies of everything first and worked on the copies) and I Transferred the header from one of the working videos into the Non working videos and it did help slightly as now some of the videos play selective 'Stills' with very loud screechy audio in the back ground but do not play the video fully.
    All the videos will be around 10 mins long as the camera I was using was set to cut into 10 min chunks.

    I have tried multiple repair softwares such as Remo,Veedub (this one just doesn't see most of the videos and comes up with errors from the start when I drag and drop into it). Avidemux 2.7, divFix, FFMPEG and I just seem to be getting nowhere fast.


    If required I can upload screen shots and give more information if anyone is able to help but I will not be able to send any files (personal which is why I want them back)


    I upload some to the site MP4Repair.org which is why I know that they are MJPEG files and the guys there did say that they were able to fix the one I uploaded to them but the hefty price for 60+ videos would be way out of my price range.


    If anyone could help or even point me in a direction then I would be very greatful.


    Thankyou All
    Quote Quote  
  2. You may try ffmpeg with aggressive error settings (by aggressive i mean lack of any control - garbage is accepted as valid data) however i don't know what you mean by header - there is many headers some of them can be related to every video frame. You should try to understand problem from video decoder perspective - error recovery, resilience, concealment - they are usually tightly coupled and highly depends on decoder non standard features (so you need to be aware what kind of decoder you use to decode your data - plenty of programs using same decoder and as such they are usually similar on decoded data delivered).

    Unless special packet exist then probably you are on bad position here - if substantial amount pages from book is ripped and burned then whole book may be unreadable (those readable pages will not give book)...
    Quote Quote  
  3. Originally Posted by pandy View Post
    You may try ffmpeg with aggressive error settings (by aggressive i mean lack of any control - garbage is accepted as valid data) however i don't know what you mean by header - there is many headers some of them can be related to every video frame. You should try to understand problem from video decoder perspective - error recovery, resilience, concealment - they are usually tightly coupled and highly depends on decoder non standard features (so you need to be aware what kind of decoder you use to decode your data - plenty of programs using same decoder and as such they are usually similar on decoded data delivered).

    Unless special packet exist then probably you are on bad position here - if substantial amount pages from book is ripped and burned then whole book may be unreadable (those readable pages will not give book)...
    How would I go about doing this aggressive mode? ive just been doing what a video said online "FFmpeg -I vid1.avi vid1fixed.avi" etc
    Quote Quote  
  4. Member Bernix's Avatar
    Join Date
    Apr 2016
    Location
    Europe
    Search Comp PM
    As MJPEG is I frames only codecs (it means each frame is fully described and do not depend on other frames), I think it shouldn't be problem to repair it, if is it possible. But probably there is some not only I frames version of MJPEG, that I don't know, and thing is more complicated.
    Players you mentioned shouldn't have problem with MJPEG, you can also try popular Potplayer, but don't think it really helps.
    Also you can try open it in virtualdub, but don't think it will help much eighter.
    Conclusion, where recurva shows green next to file (perfect) those files should be 100% recoverable. But problem can also be they were wrong when writing to sd card.


    And what happened when you try remux avi to mkv in mkvtoolnix? I think you got plenty of errors, but probably can somehow helps.



    Bernix
    Quote Quote  
  5. Originally Posted by Crimson66 View Post
    How would I go about doing this aggressive mode? ive just been doing what a video said online "FFmpeg -I vid1.avi vid1fixed.avi" etc
    At first you can try to copy your source with some ffmpeg work to same video/audio/container format:

    Code:
    ffmpeg -err_detect ignore_err -i your_video.avi -c copy your_video_fix.avi
    Way how you did conversion was suboptimal - first error flag was set to default and some data potentially useful can be skipped, secondly you din't copy your file but instead default video encoder was used to re-encode video - this is not bad however you didn't provided any additional settings so bitrate or quality may be not as good as possible.

    If first command line will not work then perhaps second can be better - you need to try - i will wrote this command-line without checking so you must do test by yourself - i assume that audio and video will be losslessly compressed (as such result can be substantially bigger than a source), why losslessly? i do not go now into details related to target codec etc - hope huffyuv and flac within mkv container is supported by your system.

    Code:
    ffmpeg -err_detect ignore_err -ec +guess_mvs+deblock+favor_inter -i your_video.avi -c:v huffyuv -c:a? flac your_video_fix.mkv
    Quote Quote  
  6. Member
    Join Date
    May 2018
    Location
    India
    Search PM
    If the files have bad sectors which you are trying to fix with ffmpeg, you can try the below code

    Code:
    ffmpeg -err_detect ignore_err -i video.mp4 -c copy video_fixed.mp4
    I doubt if your operating system can serve such file with bad sectors to ffmpeg.

    Since the videos are not playing in any media player so it rules out all the codec issues. So you can try re-installing the drivers or give a shot to video fixers which can ignore these bad sectors. Stellar Video repair is one that might serve the purpose here. I checked an option where you can upload one Good (working video) with the same file format to repair the corrupt ones.
    Quote Quote  
  7. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    Do you have a sample you could upload to better understand the full problen?
    Quote Quote  



Similar Threads