private void mkCfg () {
        for (String qp : qps) {
            try {
                File h265Cfg = new File("./Cfg/h265/"+seqName+qp+".cfg");
                File psvdCfg = new File("./Cfg/psvd/"+seqName+"Residue"+qp+".cfg");
                DirMaker.createFile(h265Cfg);
                DirMaker.createFile(psvdCfg);
                writeParaToCfg(h265Cfg, this.srcSeqPath, "Out/h265/", seqName, frameRate, frameSkip, width, height, String.valueOf(Integer.parseInt(totalFrames) - Integer.parseInt(gopSize)), qp);
                writeParaToCfg(psvdCfg, "common/yuv/", "Out/psvd/", seqName+"Residue", frameRate, "0", width, height, String.valueOf(Integer.parseInt(totalFrames) - Integer.parseInt(gopSize)), qp);
            }
            catch (IOException e) {
                System.out.println("Can't create cfg files: "+e.getMessage());
            }
        }
    }