On 17.4.2010 5:37, Dark Shadow wrote: > 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. You can use one for all command line: -vc ffh264vdpau,ffmpeg12vdpau,ffodivxvdpau,ffvc1vdpau,ffwmv3vdpau, Comma in end means drop to default if any earlier doesn't work.