Dark Shadow <shadowofdarkness <at> gmail.com> writes: > I am trying to make a shell script to make it easier to use vdpau on > my Blu-Ray backups and need help with the best way to extract video > codec information into a variable. Apart from the other - correct - answers, use mplayer -identify and search for ID_VIDEO_FORMAT (which is not always what you expect, unfortunately). Carl Eugen