質問編集履歴
2
変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,8 +8,7 @@
|
|
8
8
|
"for"というディレクトリがないとエラーになります。
|
9
9
|
|
10
10
|
public class Aifftomp3{
|
11
|
-
//static final String
|
11
|
+
//static final String FILEDIRECTORY = "ディレクトリまでのパス";
|
12
|
-
//static final String FILENAME_NEW = "ディレクトリまでのパス/${x%aiff}mp3;";
|
13
12
|
|
14
13
|
public static void main(String[] arg){
|
15
14
|
ArrayList<String> cmd = new ArrayList<String>();
|
@@ -20,8 +19,6 @@
|
|
20
19
|
cmd.add("ffmpeg");
|
21
20
|
cmd.add("-i");
|
22
21
|
cmd.add("ディレクトリまでのパス/$x");
|
23
|
-
cmd.add("-ab");
|
24
|
-
cmd.add("64k");
|
25
22
|
cmd.add("ディレクトリまでのパス/${x%aiff}mp3;");
|
26
23
|
cmd.add("done");
|
27
24
|
System.out.println(cmd.toString());
|
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -36,6 +36,6 @@
|
|
36
36
|
}
|
37
37
|
}
|
38
38
|
後、ファイルの名前、変更後の名前をstatic final Stringとかでメンバ変数にしたいのですが、
|
39
|
-
|
39
|
+
単一のファイル変換でもできませんでした。
|
40
40
|
|
41
41
|
こちらもどうすれば変換できますか。
|