The output image contains useful information on the video such as codecs, file size, screen size, frame rate, and length. Using -i or -n with values that lead to the same number of vidcaps doesn’t necessarily yield exactly the same vidcaps, you’ll have to play with them for best results.
Requirements:
· MPlayer
· ImageMagick
· FFmpeg
· bc
· sed
· grep
· mktemp
· Bash