[MPlayer-users] Using parameters based on file extention or codec used

infernix infernix at infernix.net
Thu Aug 30 15:42:50 CEST 2007


Hi,

Is there a way to apply certain parameters depending on the file 
extension and/or the codec used?

Two examples:

- DTS audio requires me to supply mplayer the correct channel mapping 
when playing back 6 channels, e.g. -af 
channels=6:6:0:4:1:0:2:1:3:2:4:3:5:5. Seeing as this can be in various 
containers, I'd like to activate this whenever ffdca is used.

- EVO files with H264 streams need the -psprobe 5000000 parameter to get 
parsed properly, so if a filename ends in evo or EVO I'd like to have it 
activate this.

If this isn't possible, does anyone have any alternative options?

Thanks!

infernix



More information about the MPlayer-users mailing list