[MPlayer-users] Help with extracting video codec to a variable

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Apr 17 10:42:42 CEST 2010


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



More information about the MPlayer-users mailing list