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. |
2nd February 2016, 14:13 | #1 | Link |
Registered User
Join Date: May 2015
Posts: 4
|
Is there a program to find damaged mp4/avi?
My hard drive started to fail and would cause errors in the video files on it, not too much of a problem when watching on PC but bigger problem when streaming those files to my xbox. Anyway, got a new hard drive, copied all the old files over and need a program to scan the mp4 and avi files to see which are damaged to know which ones I need to redownload. Does such a program exist?
Thanks. |
2nd February 2016, 20:35 | #2 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Well windows itself will tell if un-readable, just copy to another folder (on good drive).
After that, could try this whatever.bat 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. set OUTDIR=".\OUTPUT" FOR %%A IN (*.mov *.mp4 *.m4v) DO ( %FFMPEG% -i "%INDIR%\%%A" -vcodec copy -acodec copy "%OUTDIR%\%%~nxA.MP4" ) Pause Watch for colored text in output window.
__________________
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 ??? |
2nd February 2016, 21:00 | #3 | Link | |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,496
|
Quote:
|
|
2nd February 2016, 21:37 | #4 | Link | ||
Registered User
Join Date: May 2015
Posts: 4
|
Quote:
Quote:
|
||
2nd February 2016, 23:31 | #5 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Yes just remux.
Dont know of anything else, nor any simulation. Do them in batches then delete originals.
__________________
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 ??? |
2nd February 2016, 23:48 | #6 | Link |
Registered User
Join Date: May 2015
Posts: 4
|
Ok, will give that a go when I clear up some space. Thanks.
I find it surprising that no-one has ever made a program that would basically play a video file in the background at high speed and log when there was a missing bit. Anyway, thanks again. |
3rd February 2016, 00:09 | #7 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
__________________
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 ??? |
|
3rd February 2016, 09:52 | #8 | Link | |
Registered User
Join Date: Apr 2010
Location: Sain-Petersburg, Russia
Posts: 139
|
Quote:
And what do I do if I get it with few failed bits, but file still plays? Making everything perfect is good idea, but killing a lot of time for it is just that, wasted time. From time to time I get rendered files I can't even play on my computer, but they still upload to youtube well enough. Sometimes I get failed files a month after HDD cleanup, total reencode of captured files, deleted sources etc. And at that time it's too late, but I can simply delete few totally wasted files, cut few good parts from not so bad files and move on. |
|
3rd February 2016, 18:49 | #9 | Link |
/人 ◕ ‿‿ ◕ 人\
Join Date: May 2011
Location: Russia
Posts: 643
|
Ffmpeg has null muxer (-f null -) that doesn't write data.
Also you can change level of reported errors. And of course write this to file. Try this Code:
ffmpeg.exe -v error -i file.avi -f null - >error.log 2>&1 Last edited by vivan; 3rd February 2016 at 18:53. |
|
|