classdef AC3AudioCoderItem < FFMPEGAudioCoderItem
    
    properties
        audiocodername='AC3';
        ext='ac3';
    end
    
    methods
        function obj=AC3AudioCoderItem(inputparams)
            obj=obj@FFMPEGAudioCoderItem(inputparams);
        end
        
        function commandstring=getcommandstring(obj,inputfilename,outputfilename,inputparams)
            commandstring=sprintf('ffmpeg -y -i %s -c:a ac3 -ac 2 -b:a %dk %s',...
                inputfilename,round(inputparams.bitrate),outputfilename);
            
        end
        
        
        
    end

end