====== Запись DVD (Autoring) ====== ===== K3B ===== * + AUDIO_TS * UFT * Нет мултисессии ===== Devedeng ==== dnf install devedeng -y rpm -qil devedeng mcedit /usr/lib/python3.6/site-packages/devedeng/project.py def get_dvd_size(self): """ Returns the size for the currently selected disk type, and the minimum and maximum videorate for the current video disk """ active = self.wdisc_size.get_active() # here we choose the size in Mbytes for the media if 5 == active: size = 170.0 elif 4 == active: size = 700.0 elif 3 == active: size = 750.0 elif 2 == active: size = 1100.0 elif 1 == active: size = 4200.0 else: size = 8000.0 if self.disc_type == "vcd": minvrate = 1152 maxvrate = 1152 elif (self.disc_type == "svcd") or (self.disc_type == "cvd"): minvrate = 400 maxvrate = 2300 elif (self.disc_type == "dvd"): minvrate = 400 maxvrate = 8500 elif (self.disc_type == "divx") or (self.disc_type == "mkv"): minvrate = 300 maxvrate = 6000 else: minvrate = 0 maxvrate = 8000 - size *= 0.90 # a safe margin of 10% to ensure that it never will be bigger + size *= 0.70 # a safe margin of 10% to ensure that it never will be bigger # (it's important to have in mind the space needed by disk structures like # directories, file entries, and so on) return size, minvrate, maxvrate