Let user decide codec to use