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

end