classdef MP3CBRAudioCoderItem < FFMPEGAudioCoderItem
    
    properties
        audiocodername='MP3-CBR';
        ext='mp3';
    end
    
    methods
        function obj=MP3CBRAudioCoderItem(inputparams)
            obj=obj@FFMPEGAudioCoderItem(inputparams);
        end
        
        function commandstring=getcommandstring(obj,inputfilename,outputfilename,inputparams)
            commandstring=sprintf('ffmpeg -y -i %s -c:a libmp3lame -b:a %dk %s',...
                inputfilename,round(inputparams.bitrate),outputfilename);
            
        end
        
        
        
    end

end