1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
| ' Gambas class file
PUBLIC $sPath AS STRING
PUBLIC SUB Form_Open()
ME.Center
END
PUBLIC SUB Wizard1_Cancel()
ME.Close
END
PUBLIC SUB Button1_Click()
Dialog.Path = $sPath
IF Dialog.OpenFile() THEN RETURN $sPath = Dialog.Path TextBox1.Text = $sPath TextBox2.Text = $sPath & ".gif"
END
PUBLIC SUB Wizard1_Close()
DIM sOutput AS STRING
EXEC ["ffmpeg", "-i", TextBox1.Text, "-pix_fmt", "rgb24", TextBox2.Text] WAIT Message.Info(("conversion terminée , cliquez sur Annuler pour fermer.")
END
|