So Bad It's Good FoRuM
https://sbig.dead-donkey.com/

Windows command line tool for scanning if video is ok?
https://sbig.dead-donkey.com/viewtopic.php?f=31&t=19676
Page 1 of 1

Author:  ghesus [ Sun Aug 28, 2011 8:36 am ]
Post subject:  Windows command line tool for scanning if video is ok?

Hi.

Anyone knows if there's a (free) command line tool for scanning a video file to check if the video is ok (streams, headers etc.) which can output the result in either standard output or to a text file?

I've moved files from external USB HDs to a NAS, and would like to just run the basic check that all files are still good.

If not, I guess an alternative would be to MD5 sum the source and the destination, but I'm hoping the above is faster.

Any other suggestions are most welcome.

/gh

Author:  elguaxo [ Sun Aug 28, 2011 3:12 pm ]
Post subject:  Re: Windows command line tool for scanning if video is ok?

There are tools like this for HDTV transport streams, but I haven't seen anything for AVI or MKV encodes.

AVINaptic handles AVIs and MKVs and it can go through a whole video stream to analyze some stuff (for example buffers and quants), but I don't know if it can detect or report corrupted streams.

Author:  ghesus [ Sun Aug 28, 2011 3:57 pm ]
Post subject:  Re: Windows command line tool for scanning if video is ok?

@elguaxo: thanks for your reply. Much appreciated when coming from you! I'll take a look at AVINaptic. Glad to see the source is available, although I have no clue what language it's written in :)

Author:  mersault [ Sun Aug 28, 2011 11:28 pm ]
Post subject:  Re: Windows command line tool for scanning if video is ok?

ghesus wrote:
If not, I guess an alternative would be to MD5 sum the source and the destination, but I'm hoping the above is faster.

I don't see how any such too could possibly be faster than md5. If you really want to make sure there are zero errors, you'll have to check every bit, right? And that's what md5 does too.

I sometimes use mplayer with -vo null and -benchmark to check a video file. It'll just play the file as fast as possible without rendering anything. If there's errors, it should (probably) show among the output.
Code:
mplayer -vo null -nosound -benchmark FILE

Author:  elguaxo [ Mon Aug 29, 2011 6:48 am ]
Post subject:  Re: Windows command line tool for scanning if video is ok?

mplayer sounds interesting! I have movie with a glitched video stream. It's just a 1 second hiccup and every video decoder handles it bit differently, but all show some noticeable artifacts around the problematic spot.

Anyways, I tested mplayer -vo null -nosound -benchmark and it reported no errors. I'm sure it will catch more serious problems, but it's not bulletproof.

Author:  ghesus [ Mon Aug 29, 2011 6:48 pm ]
Post subject:  Re: Windows command line tool for scanning if video is ok?

@mersault: thanks for the input.
In the perfect scenario I could imagine the following being done:
1. Check if the video (streams etc.) is playable, in case something prior to the transfer messed it up.
2. MD5 of each copied file, to make sure the transfer went as expected.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
https://www.phpbb.com/