Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th June 2016, 12:56   #1  |  Link
Nibinear
Registered User
 
Join Date: Jul 2013
Posts: 5
Video repair

What is the best piece of software for general purpose video repairs? I've got an mp4 and it won't play. If I load it in VLC it doesn't pick anything up or suggest a repair.

I've tried converting it using AVS video tools but the output file comes out at 4kb or 10kb so that hasn't helped.

There are loads of pieces of software out there but many are filled with viruses or spam so I just wanted to know which is the best.
Nibinear is offline   Reply With Quote
Old 11th June 2016, 14:04   #2  |  Link
Nibinear
Registered User
 
Join Date: Jul 2013
Posts: 5
Never mind, I found a good list.
Nibinear is offline   Reply With Quote
Old 11th June 2016, 17:16   #3  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 8,220
Potplayer (a media player) can play quite badly damaged clips, and it's Video Recorder, will record to uncompressed AVI (I use YV12 raw),
and PCM(Raw) for re-encoding.
I switch off any/all filtering options, and make sure to set system record volume to a central values.

Sections that are too badly corrupt will result in static section that can be later trimmed out using eg VDub.



PotPlayer is a bit "Persona non grata" on this site, but is the only software that I'm aware of that is almost bullet proof
when dealing with video corruption.

EDIT: Get recent version from VideoHelp.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 16th July 2017 at 03:25.
StainlessS is offline   Reply With Quote
Old 11th June 2016, 17:57   #4  |  Link
Nibinear
Registered User
 
Join Date: Jul 2013
Posts: 5
Thanks for the recommendation. My research found the following software:

Information
How to Repair Corrupted MP4 Video File Free on PC/Mac

Software
Grau GmbH
All Video Fixer (gave my io errors though and failed to continue)
MP4Repair.org
Video LAN VLC (did not detect problems, would not play.
Winx HD Video Converter (gave large report of what went wrong) Pastebin

Converters
- Format Factory (could not convert my broken video and gave memory error.)
- AVS Video Tools (converted my file to new format but provided an empty file)

I think I will just try ffmpeg as all these tools seem to be based on it anyway.

Last edited by Nibinear; 11th June 2016 at 18:04. Reason: Extra tools added and details of analysis.
Nibinear is offline   Reply With Quote
Old 11th June 2016, 19:02   #5  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 8,220
Try play in current PotPlayer, you will get idea of what would be recoverable.
Current ffmpeg is a lot more error tolerant than old ver$, but still nowhere near as good as PP.
Very few of the 'Video Fixer' type softwares that I have tried were any good at all.

EDIT: ffmpeg will likely do little more than attempt remux, it has more success when converting
to eg UT_Video AVI, pcm audio, but still PP is probably better in all cases.

EDIT: The bitrates shown in previous graphic are not used and so mean nothing (RAW V+A).
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 11th June 2016 at 19:18.
StainlessS is offline   Reply With Quote
Old 11th June 2016, 19:23   #6  |  Link
Nibinear
Registered User
 
Join Date: Jul 2013
Posts: 5
Amazingly PotPlayer couldn't play the file so I think there must be more wrong with this than I expected. It didn't give any errors on-screen or anything.

Edited:
I've now tried FFMPEG and got the same errors as with Winx HD Video Converter.
I've discovered that the "Error splitting the input into NAL units" error may be caused by a very recent FFMPEG issue that was reported only last month. So I'll try again with FFMPEG in a few months. I managed to get a file which would play with it but could see nothing.

Last edited by Nibinear; 11th June 2016 at 19:46. Reason: Edited section added.
Nibinear is offline   Reply With Quote
Old 11th June 2016, 23:29   #7  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 8,220
Code:
setlocal

REM Where to Find ffmpeg
set FFMPEG="C:\BIN\ffmpeg.exe"

REM Where to get input file, No terminating Backslash, "." = current directory
set INDIR="."


REM Where to place output file, No terminating Backslash, eg "D:\OUT"
set OUTDIR=".\OUTPUT"


FOR %%A IN (*.wmv *.mpg *.avi *.flv *.mov *.mp4 *.m4v *.RAM *.RM) DO (
  %FFMPEG% -i "%INDIR%\%%A" -vn -acodec pcm_s16le "%OUTDIR%\%%~nxA.WAV"

)

Pause
Above will extract audio to WAV, from files with the mentioned extensions, add whatever else to extensions.
As you got some audio out of it, might like to try above, It might extract whole lot if problems only with video, and thereafter,
disabling any attempt to extract audio, may work better when it does not have to deal with audio.

Below, same for video ONLY files.
Code:
setlocal

REM Where to Find ffmpeg
set FFMPEG="C:\BIN\ffmpeg.exe"

REM Where to get input file, No terminating Backslash, "." = current directory (ie same as dir .bat file)
set INDIR="."


REM Where to place output file, No terminating Backslash. "." would be same as .bat file
set OUTDIR=".\OUTPUT"


FOR %%A IN (*.264 *.vob *.wmv *.asf *.mpg *.m2v *.avi *.flv *.mov *.mp4 *.m4v *.RAM *.RM *.mkv *.TS *.y4m *.yuv *.webm) DO (
  %FFMPEG% -i "%INDIR%\%%A" -vcodec utvideo -an "%OUTDIR%\%%~nxA.AVI"

)

Pause
And V+A.
Code:
setlocal

REM Where to Find ffmpeg
set FFMPEG="C:\BIN\ffmpeg.exe"

REM Where to get input file, No terminating Backslash, "." = current directory (ie same as dir .bat file)
set INDIR="."


REM Where to place output file, No terminating Backslash. "." would be same as .bat file
set OUTDIR=".\OUTPUT"


FOR %%A IN (*.264 *.vob *.wmv *.asf *.mpg *.m2v *.avi *.flv *.mov *.mp4 *.m4v *.RAM *.RM *.mkv *.TS *.y4m *.yuv *.webm) DO (
  %FFMPEG% -i "%INDIR%\%%A" -vcodec utvideo -acodec pcm_s16le "%OUTDIR%\%%~nxA.AVI"

)

Pause
As supplied, copy source into same dir as bat, and create OUTDIR directory for output in same dir as bat.
Outputs video to lossless UT_Video codec.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Reply

Tags
fixing, mp4 file issues, repairs, video conversion, vlc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:05.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.