mystyle-java-fx-tools/src/main/resources/fxml/video-transcoder.fxml

26 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ProgressBar?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.media.MediaView?>
<AnchorPane prefHeight="649.0" prefWidth="1200.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.zhangmeng.tools.controller.VideoTranscoderController">
<children>
<Label layoutX="89.0" layoutY="47.0" text="请选择将要转码的视频文件:" />
<Label layoutX="113.0" layoutY="97.0" text="转码后文件的输出目录:" />
<Label layoutX="814.0" layoutY="97.0" text="文件名:" />
<TextField fx:id="input_file" layoutX="337.0" layoutY="43.0" prefHeight="25.0" prefWidth="449.0" />
<TextField fx:id="output_file" layoutX="337.0" layoutY="93.0" prefHeight="25.0" prefWidth="449.0" />
<TextField fx:id="output_file_name" layoutX="871.0" layoutY="93.0" />
<Button fx:id="output_file_button" layoutX="264.0" layoutY="93.0" mnemonicParsing="false" text="Button" />
<Button fx:id="input_file_button" layoutX="264.0" layoutY="43.0" mnemonicParsing="false" text="Button" />
<Button fx:id="start_button" layoutX="496.0" layoutY="477.0" mnemonicParsing="false" text="开始转码" />
<ProgressBar fx:id="progressbar" layoutX="56.0" layoutY="156.0" prefHeight="9.0" prefWidth="1100.0" progress="0.0" AnchorPane.leftAnchor="56.0" AnchorPane.rightAnchor="44.0" />
<MediaView fitHeight="200.0" fitWidth="649.0" layoutX="56.0" layoutY="212.0" AnchorPane.leftAnchor="56.0" AnchorPane.rightAnchor="56.0" />
</children>
</AnchorPane>