title: How can I validate a video file from a script?
body: <p>I have a server with lots of video files. After a restore, I noticed that the checksum of a couple of files changed. Since I don't have checksums for all files, I wanted write a script to verify the file integrity. It's simple for archives (<code>tar t</code>, <code>unzip -t</code>, <code>rar t</code>, etc) or images (<code>convert image.jpg /tmp/test.png</code>).</p>
  
  <p>Which options do I need to pass to <code>mplayer</code> or <code>vlc</code> or any other video tool on Linux to achieve the same effect (i.e. validate the file contents without having to watch the whole video)?</p>