6 if [ -r "$meta" ]; then
7 tags="$(sed -n 2p "$meta")"
8 description="$(sed -n '3,$p' "$meta")"
11 mplayer -really-quiet -identify -frames 0 -nosound -vo null "$video" \
12 | sed -rn 's:ID_VIDEO_WIDTH=(.*):\1:p;
13 s:ID_VIDEO_HEIGHT=(.*):\1:p;
14 s:ID_LENGTH=(.*)(\..*)$:\1:p;' \
16 | read width height length
19 ${length:-0} ${width:-0} ${height:-0} ${video##*/}