Differences
This shows you the differences between two versions of the page.
— |
mplayer_helper_scripts [2013/06/28 11:49] (current) beandog created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== mplayer helper scripts ====== | ||
+ | * [[mplayer]] | ||
+ | |||
+ | === mplayer-benchmark === | ||
+ | |||
+ | <code bash> | ||
+ | #!/bin/bash | ||
+ | |||
+ | # Quickly see if the video file is variable framerate or not | ||
+ | if [[ -f $1 ]]; then | ||
+ | mplayer -benchmark -nosound -vo null $1 | ||
+ | fi | ||
+ | </code> |