2023年5月20日16:51:49 添加视频转码

master
zhangmeng 2023-05-20 18:16:25 +08:00
parent c92785953d
commit 36ab8a1624
1 changed files with 11 additions and 9 deletions

View File

@ -5,19 +5,21 @@
<?import javafx.scene.control.ProgressBar?> <?import javafx.scene.control.ProgressBar?>
<?import javafx.scene.control.TextField?> <?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?> <?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"> <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> <children>
<Label layoutX="73.0" layoutY="148.0" text="请选择将要转码的视频文件:" /> <Label layoutX="89.0" layoutY="47.0" text="请选择将要转码的视频文件:" />
<Label layoutX="97.0" layoutY="198.0" text="转码后文件的输出目录:" /> <Label layoutX="113.0" layoutY="97.0" text="转码后文件的输出目录:" />
<Label layoutX="798.0" layoutY="198.0" text="文件名:" /> <Label layoutX="814.0" layoutY="97.0" text="文件名:" />
<TextField fx:id="input_file" layoutX="321.0" layoutY="144.0" prefHeight="25.0" prefWidth="449.0" /> <TextField fx:id="input_file" layoutX="337.0" layoutY="43.0" prefHeight="25.0" prefWidth="449.0" />
<TextField fx:id="output_file" layoutX="321.0" layoutY="194.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="855.0" layoutY="194.0" /> <TextField fx:id="output_file_name" layoutX="871.0" layoutY="93.0" />
<Button fx:id="output_file_button" layoutX="248.0" layoutY="194.0" mnemonicParsing="false" text="Button" /> <Button fx:id="output_file_button" layoutX="264.0" layoutY="93.0" mnemonicParsing="false" text="Button" />
<Button fx:id="input_file_button" layoutX="248.0" layoutY="144.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="开始转码" /> <Button fx:id="start_button" layoutX="496.0" layoutY="477.0" mnemonicParsing="false" text="开始转码" />
<ProgressBar fx:id="progressbar" layoutX="50.0" layoutY="352.0" prefHeight="9.0" prefWidth="1100.0" progress="0.0" AnchorPane.leftAnchor="50.0" AnchorPane.rightAnchor="50.0" /> <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> </children>
</AnchorPane> </AnchorPane>