classdef H265IntraVBRVideoCoderItem < FFMPEGVideoCoderItem
    
    properties
        videocodername='H265-Intra-VBR';
    end
    
    methods
        function obj=H265IntraVBRVideoCoderItem(inputparams)
            obj=obj@FFMPEGVideoCoderItem(inputparams);
        end
        
        function commandstring=getcommandstring(obj,inputfilename,outputfilename,inputparams)
            commandstring=sprintf('ffmpeg -y -i %s -c:v libx265 -pix_fmt yuv420p -intra -b:v %dK %s',...
                inputfilename,round(inputparams.bitrate),outputfilename);
        end
     end
end