Skip to content

Commit 155db46

Browse files
committed
Corrected argument escaping
1 parent 6b77c54 commit 155db46

File tree

15 files changed

+42
-40
lines changed

15 files changed

+42
-40
lines changed

Changelog.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# JAVE2
22

33
## Changelog
4+
- **3.1.1**
5+
- Modified quoting for command line arguments
46
- **3.1.0**
57
- Added support for arm32 bit (Thanks to jmformenti)
68
- Added option to use a specific quote character for command line

jave-all-deps/pom.xml

+9-9
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>ws.schild</groupId>
77
<packaging>jar</packaging>
8-
<version>3.1.1-SNAPSHOT</version>
8+
<version>3.1.1</version>
99
<artifactId>jave-all-deps</artifactId>
1010
<name>Jave all native dependencies package</name>
1111
<description>The JAVE (Java Audio Video Encoder) library is Java wrapper on the
@@ -154,42 +154,42 @@
154154
<dependency>
155155
<groupId>ws.schild</groupId>
156156
<artifactId>jave-core</artifactId>
157-
<version>3.1.1-SNAPSHOT</version>
157+
<version>3.1.1</version>
158158
</dependency>
159159
<dependency>
160160
<groupId>ws.schild</groupId>
161161
<artifactId>jave-nativebin-win32</artifactId>
162-
<version>3.1.1-SNAPSHOT</version>
162+
<version>3.1.1</version>
163163
</dependency>
164164
<dependency>
165165
<groupId>ws.schild</groupId>
166166
<artifactId>jave-nativebin-win64</artifactId>
167-
<version>3.1.1-SNAPSHOT</version>
167+
<version>3.1.1</version>
168168
</dependency>
169169
<dependency>
170170
<groupId>ws.schild</groupId>
171171
<artifactId>jave-nativebin-linux32</artifactId>
172-
<version>3.1.1-SNAPSHOT</version>
172+
<version>3.1.1</version>
173173
</dependency>
174174
<dependency>
175175
<groupId>ws.schild</groupId>
176176
<artifactId>jave-nativebin-linux64</artifactId>
177-
<version>3.1.1-SNAPSHOT</version>
177+
<version>3.1.1</version>
178178
</dependency>
179179
<dependency>
180180
<groupId>ws.schild</groupId>
181181
<artifactId>jave-nativebin-osx64</artifactId>
182-
<version>3.1.1-SNAPSHOT</version>
182+
<version>3.1.1</version>
183183
</dependency>
184184
<dependency>
185185
<groupId>ws.schild</groupId>
186186
<artifactId>jave-nativebin-linux-arm32</artifactId>
187-
<version>3.1.1-SNAPSHOT</version>
187+
<version>3.1.1</version>
188188
</dependency>
189189
<dependency>
190190
<groupId>ws.schild</groupId>
191191
<artifactId>jave-nativebin-linux-arm64</artifactId>
192-
<version>3.1.1-SNAPSHOT</version>
192+
<version>3.1.1</version>
193193
</dependency>
194194
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
195195
<dependency>

jave-core-test-java11/pom.xml

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>ws.schild</groupId>
55
<packaging>jar</packaging>
6-
<version>3.1.1-SNAPSHOT</version>
6+
<version>3.1.1</version>
77
<artifactId>jave-core-test-java11</artifactId>
88
<properties>
99
<maven.compiler.source>11</maven.compiler.source>
@@ -38,32 +38,32 @@
3838
<dependency>
3939
<groupId>ws.schild</groupId>
4040
<artifactId>jave-core</artifactId>
41-
<version>3.1.1-SNAPSHOT</version>
41+
<version>3.1.1</version>
4242
</dependency>
4343
<dependency>
4444
<groupId>ws.schild</groupId>
4545
<artifactId>jave-nativebin-win32</artifactId>
46-
<version>3.1.1-SNAPSHOT</version>
46+
<version>3.1.1</version>
4747
</dependency>
4848
<dependency>
4949
<groupId>ws.schild</groupId>
5050
<artifactId>jave-nativebin-win64</artifactId>
51-
<version>3.1.1-SNAPSHOT</version>
51+
<version>3.1.1</version>
5252
</dependency>
5353
<dependency>
5454
<groupId>ws.schild</groupId>
5555
<artifactId>jave-nativebin-linux32</artifactId>
56-
<version>3.1.1-SNAPSHOT</version>
56+
<version>3.1.1</version>
5757
</dependency>
5858
<dependency>
5959
<groupId>ws.schild</groupId>
6060
<artifactId>jave-nativebin-linux64</artifactId>
61-
<version>3.1.1-SNAPSHOT</version>
61+
<version>3.1.1</version>
6262
</dependency>
6363
<dependency>
6464
<groupId>ws.schild</groupId>
6565
<artifactId>jave-nativebin-osx64</artifactId>
66-
<version>3.1.1-SNAPSHOT</version>
66+
<version>3.1.1</version>
6767
</dependency>
6868
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
6969
<dependency>

jave-core-test/pom.xml

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>ws.schild</groupId>
77
<packaging>jar</packaging>
8-
<version>3.1.1-SNAPSHOT</version>
8+
<version>3.1.1</version>
99
<artifactId>jave-core-test</artifactId>
1010
<properties>
1111
<maven.compiler.source>1.8</maven.compiler.source>
@@ -40,32 +40,32 @@
4040
<dependency>
4141
<groupId>ws.schild</groupId>
4242
<artifactId>jave-core</artifactId>
43-
<version>3.1.1-SNAPSHOT</version>
43+
<version>3.1.1</version>
4444
</dependency>
4545
<dependency>
4646
<groupId>ws.schild</groupId>
4747
<artifactId>jave-nativebin-win32</artifactId>
48-
<version>3.1.1-SNAPSHOT</version>
48+
<version>3.1.1</version>
4949
</dependency>
5050
<dependency>
5151
<groupId>ws.schild</groupId>
5252
<artifactId>jave-nativebin-win64</artifactId>
53-
<version>3.1.1-SNAPSHOT</version>
53+
<version>3.1.1</version>
5454
</dependency>
5555
<dependency>
5656
<groupId>ws.schild</groupId>
5757
<artifactId>jave-nativebin-linux32</artifactId>
58-
<version>3.1.1-SNAPSHOT</version>
58+
<version>3.1.1</version>
5959
</dependency>
6060
<dependency>
6161
<groupId>ws.schild</groupId>
6262
<artifactId>jave-nativebin-linux64</artifactId>
63-
<version>3.1.1-SNAPSHOT</version>
63+
<version>3.1.1</version>
6464
</dependency>
6565
<dependency>
6666
<groupId>ws.schild</groupId>
6767
<artifactId>jave-nativebin-osx64</artifactId>
68-
<version>3.1.1-SNAPSHOT</version>
68+
<version>3.1.1</version>
6969
</dependency>
7070
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
7171
<dependency>

jave-core-test/src/test/java/ws/schild/jave/filters/VideoFilterTest.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -154,19 +154,19 @@ public void testOverlayWatermarkExpression() {
154154
}
155155
OverlayWatermark checkMe = new OverlayWatermark(fooPng, OverlayLocation.BOTTOM_RIGHT, -10, -10);
156156
assertEquals(
157-
"movie=\""
157+
"movie=\'"
158158
+ fooPath
159-
+ "\"[watermark];[0:v][watermark]overlay=\"main_w-overlay_w-10:main_h-overlay_h-10\"",
159+
+ "\'[watermark];[0:v][watermark]overlay=\'main_w-overlay_w-10:main_h-overlay_h-10\'",
160160
checkMe.getExpression());
161161

162162
checkMe = new OverlayWatermark(fooPng, OverlayLocation.TOP_LEFT, null, null);
163163
assertEquals(
164-
"movie=\"" + fooPath + "\"[watermark];[0:v][watermark]overlay=\"0:0\"",
164+
"movie=\'" + fooPath + "\'[watermark];[0:v][watermark]overlay=\'0:0\'",
165165
checkMe.getExpression());
166166

167167
checkMe = new OverlayWatermark(fooPng, OverlayLocation.TOP_RIGHT, null, 10);
168168
assertEquals(
169-
"movie=\"" + fooPath + "\"[watermark];[0:v][watermark]overlay=\"main_w-overlay_w:10\"",
169+
"movie=\'" + fooPath + "\'[watermark];[0:v][watermark]overlay=\'main_w-overlay_w:10\'",
170170
checkMe.getExpression());
171171
}
172172

jave-core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<groupId>ws.schild</groupId>
77
<artifactId>jave-core</artifactId>
88
<packaging>jar</packaging>
9-
<version>3.1.1-SNAPSHOT</version>
9+
<version>3.1.1</version>
1010
<name>Jave core package</name>
1111
<description>The JAVE (Java Audio Video Encoder) library is Java wrapper on the
1212
ffmpeg project. Developers can take take advantage of JAVE2 to transcode

jave-example/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>ws.schild</groupId>
55
<packaging>jar</packaging>
6-
<version>3.1.1-SNAPSHOT</version>
6+
<version>3.1.1</version>
77
<artifactId>jave-example</artifactId>
88
<properties>
99
<maven.compiler.source>12</maven.compiler.source>
@@ -66,12 +66,12 @@
6666
<dependency>
6767
<groupId>ws.schild</groupId>
6868
<artifactId>jave-core</artifactId>
69-
<version>3.1.1-SNAPSHOT</version>
69+
<version>3.1.1</version>
7070
</dependency>
7171
<dependency>
7272
<groupId>ws.schild</groupId>
7373
<artifactId>jave-nativebin-linux32</artifactId>
74-
<version>3.1.1-SNAPSHOT</version>
74+
<version>3.1.1</version>
7575
</dependency>
7676
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple -->
7777
<dependency>

jave-nativebin-arm32/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>ws.schild</groupId>
55
<packaging>jar</packaging>
6-
<version>3.1.1-SNAPSHOT</version>
6+
<version>3.1.1</version>
77
<artifactId>jave-nativebin-linux-arm32</artifactId>
88
<name>Jave linux arm 32 bit native package</name>
99
<description>The JAVE (Java Audio Video Encoder) library is Java wrapper on the

jave-nativebin-arm64/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>ws.schild</groupId>
55
<packaging>jar</packaging>
6-
<version>3.1.1-SNAPSHOT</version>
6+
<version>3.1.1</version>
77
<artifactId>jave-nativebin-linux-arm64</artifactId>
88
<name>Jave linux arm 64 bit native package</name>
99
<description>The JAVE (Java Audio Video Encoder) library is Java wrapper on the

jave-nativebin-linux32/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>ws.schild</groupId>
55
<packaging>jar</packaging>
6-
<version>3.1.1-SNAPSHOT</version>
6+
<version>3.1.1</version>
77
<artifactId>jave-nativebin-linux32</artifactId>
88
<name>Jave linux 32 bit native package</name>
99
<description>The JAVE (Java Audio Video Encoder) library is Java wrapper on the

jave-nativebin-linux64/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>ws.schild</groupId>
55
<packaging>jar</packaging>
6-
<version>3.1.1-SNAPSHOT</version>
6+
<version>3.1.1</version>
77
<artifactId>jave-nativebin-linux64</artifactId>
88
<name>Jave linux 64 bit native package</name>
99
<description>The JAVE (Java Audio Video Encoder) library is Java wrapper on the

jave-nativebin-osx64/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>ws.schild</groupId>
55
<packaging>jar</packaging>
6-
<version>3.1.1-SNAPSHOT</version>
6+
<version>3.1.1</version>
77
<artifactId>jave-nativebin-osx64</artifactId>
88
<name>Jave OSX 64 bit native package</name>
99
<description>The JAVE (Java Audio Video Encoder) library is Java wrapper on the

jave-nativebin-win32/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>ws.schild</groupId>
55
<packaging>jar</packaging>
6-
<version>3.1.1-SNAPSHOT</version>
6+
<version>3.1.1</version>
77
<artifactId>jave-nativebin-win32</artifactId>
88
<name>Jave windows 32 bit native package</name>
99
<description>The JAVE (Java Audio Video Encoder) library is Java wrapper on the

jave-nativebin-win64/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>ws.schild</groupId>
55
<packaging>jar</packaging>
6-
<version>3.1.1-SNAPSHOT</version>
6+
<version>3.1.1</version>
77
<artifactId>jave-nativebin-win64</artifactId>
88
<name>Jave windows 64 bit native package</name>
99
<description>The JAVE (Java Audio Video Encoder) library is Java wrapper on the

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
<artifactId>jave-modules</artifactId>
55
<packaging>pom</packaging>
66
<properties>
7-
<revision>3.1.1-SNAPSHOT</revision>
7+
<revision>3.1.1</revision>
88
<!-- Don't forget to change it also in DefaultFFMPEGLocator.java -->
99
<maven.compiler.source>1.8</maven.compiler.source>
1010
<maven.compiler.target>1.8</maven.compiler.target>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1212
</properties>
1313

14-
<version>3.1.1-SNAPSHOT</version>
14+
<version>3.1.1</version>
1515
<name>Jave master project</name>
1616
<description>Jave master project</description>
1717
<url>https://github.com/a-schild/jave2</url>

0 commit comments

Comments
 (0)