


Ttk.Button(window, text='Start Compression!', command=start_compression).place(x=400, y=240) Ttk.Style().configure('TButton', font=LABEL_FONT) Ttk.Label(window, background=WHITE, textvariable=crf_value, font=LABEL_FONT).place(x=550, y=208) S = ttk.Scale(window, length=150, from_=0, to=51, orient=HORIZONTAL, command=lambda s:crf_t(math.floor(float(s)))) Ttk.Label(window, background=WHITE, text='Compression Rate', font=LABEL_FONT).place(x=400, y=190) Ttk.Style().configure('TScale', background=WHITE) Ttk.Label(window, background=WHITE, text='Frame Rate', font=LABEL_FONT).place(x=195, y=190)įps_option = ttk.Combobox(window, background=WHITE, values=fps_options, width=17, font=LABEL_FONT) Ttk.Style().configure('TCheckbutton', font=LABEL_FONT, background=WHITE) Ttk.Label(window, background=WHITE, text='Codec', font=LABEL_FONT).place(x=50, y=190)

Ttk.Label(window, background=WHITE, text='Compression Option', font=HEADING_FONT).place(x=47, y=160)

Ttk.Entry(window, background=WHITE, font=LABEL_FONT, width=35).place(x=50, y=120) Ttk.Label(window, background=WHITE, text='File Destination', font=LABEL_FONT).place(x=50, y=100) Ttk.Label(window, background=WHITE, text='Choose Input Type', font=LABEL_FONT).place(x=400, y=40)įile_input_options = įile_input = ttk.Combobox(window, background=WHITE, values=file_input_options, width=15, font=LABEL_FONT) Ttk.Entry(window, background=WHITE, font=LABEL_FONT, width=35).place(x=50, y=60) Ttk.Label(window, background=WHITE, text='Video File', font=LABEL_FONT).place(x=50, y=40) Heading = ttk.Label(window, background=WHITE, text='Video Compressor', font=HEADING_FONT)
