Mercurial > mplayer.hg
view TOOLS/midentify @ 9561:05c462fd6bff
- fixed playback of files with bad WxH in header (tricky! we can always read the
secondary WxH values, but only the codec can decide which one is the correct...)
- better fps parsing
- print VIDEO: line with codec info
based on patch by Balatoni Denes <pnis@coder.hu>
author | arpi |
---|---|
date | Mon, 10 Mar 2003 00:10:05 +0000 |
parents | d151608b9f28 |
children | 6cf694df50b3 |
line wrap: on
line source
#!/bin/sh mplayer -identify "$@" 2>/dev/null | grep "^ID" | sed -e 's/[`\\!$"]/\\&/g' | sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'