allow specifying of codec on commandline