Skip to content

Commit 465ad43

Browse files
committed
first commit
0 parents  commit 465ad43

33 files changed

+1197
-0
lines changed

.classpath

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
10+
<attributes>
11+
<attribute name="maven.pomderived" value="true"/>
12+
</attributes>
13+
</classpathentry>
14+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
15+
<attributes>
16+
<attribute name="optional" value="true"/>
17+
<attribute name="maven.pomderived" value="true"/>
18+
<attribute name="test" value="true"/>
19+
</attributes>
20+
</classpathentry>
21+
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
22+
<attributes>
23+
<attribute name="maven.pomderived" value="true"/>
24+
<attribute name="test" value="true"/>
25+
</attributes>
26+
</classpathentry>
27+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
28+
<attributes>
29+
<attribute name="maven.pomderived" value="true"/>
30+
</attributes>
31+
</classpathentry>
32+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
33+
<attributes>
34+
<attribute name="maven.pomderived" value="true"/>
35+
</attributes>
36+
</classpathentry>
37+
<classpathentry kind="output" path="target/classes"/>
38+
</classpath>

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/bin/
2+
/target/
3+
/balcon/
4+
/ffmpeg/
5+
**/*.mp4

.project

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>PowerPointToVideo</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
22+
</natures>
23+
</projectDescription>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
4+
org.eclipse.jdt.core.compiler.compliance=11
5+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
8+
org.eclipse.jdt.core.compiler.release=disabled
9+
org.eclipse.jdt.core.compiler.source=11
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# PowerPointToVideo
2+
3+
PowerPoint slide show to MP4 video converter with synthesized interlocutor voice.
163 KB
Binary file not shown.

pom.xml

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>fvarrui.pptx2video</groupId>
7+
<artifactId>PowerPointToVideo</artifactId>
8+
<version>0.0.1</version>
9+
10+
<name>PowerPointToVideo</name>
11+
<description>PowerPoint slide show to MP4 video converter with synthesized interlocutor voice</description>
12+
13+
<properties>
14+
<maven.compiler.target>11</maven.compiler.target>
15+
<maven.compiler.source>11</maven.compiler.source>
16+
</properties>
17+
18+
<dependencies>
19+
<dependency>
20+
<groupId>org.apache.poi</groupId>
21+
<artifactId>poi</artifactId>
22+
<version>4.1.0</version>
23+
</dependency>
24+
<dependency>
25+
<groupId>org.apache.poi</groupId>
26+
<artifactId>poi-ooxml</artifactId>
27+
<version>4.1.0</version>
28+
</dependency>
29+
<dependency>
30+
<groupId>javax.xml</groupId>
31+
<artifactId>jaxb-api</artifactId>
32+
<version>2.1</version>
33+
</dependency>
34+
<dependency>
35+
<groupId>javax.xml</groupId>
36+
<artifactId>jaxb-impl</artifactId>
37+
<version>2.1</version>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.codehaus.plexus</groupId>
41+
<artifactId>plexus-utils</artifactId>
42+
<version>3.1.1</version>
43+
</dependency>
44+
<dependency>
45+
<groupId>commons-lang</groupId>
46+
<artifactId>commons-lang</artifactId>
47+
<version>2.2</version>
48+
</dependency>
49+
<dependency>
50+
<groupId>commons-io</groupId>
51+
<artifactId>commons-io</artifactId>
52+
<version>2.6</version>
53+
</dependency>
54+
<dependency>
55+
<groupId>org.openjfx</groupId>
56+
<artifactId>javafx-controls</artifactId>
57+
<version>11.0.1</version>
58+
</dependency>
59+
<dependency>
60+
<groupId>org.openjfx</groupId>
61+
<artifactId>javafx-fxml</artifactId>
62+
<version>11.0.1</version>
63+
</dependency>
64+
</dependencies>
65+
66+
<build>
67+
<plugins>
68+
69+
<!-- download and unpack ffmpeg and balcon in project root folder -->
70+
<plugin>
71+
<groupId>com.googlecode.maven-download-plugin</groupId>
72+
<artifactId>download-maven-plugin</artifactId>
73+
<version>1.3.0</version>
74+
<executions>
75+
<execution>
76+
<id>download-ffmpeg</id>
77+
<phase>prepare-package</phase>
78+
<goals>
79+
<goal>wget</goal>
80+
</goals>
81+
<configuration>
82+
<url>https://ffmpeg.zeranoe.com/builds/win64/shared/ffmpeg-20190518-c61d16c-win64-shared.zip</url>
83+
<unpack>true</unpack>
84+
<outputDirectory>${project.basedir}</outputDirectory>
85+
<md5>100B55A2F13C11B019FA8E8CCCE644A7</md5>
86+
</configuration>
87+
</execution>
88+
<execution>
89+
<id>download-balcon</id>
90+
<phase>prepare-package</phase>
91+
<goals>
92+
<goal>wget</goal>
93+
</goals>
94+
<configuration>
95+
<url>http://balabolka.site/balcon.zip</url>
96+
<unpack>true</unpack>
97+
<outputDirectory>${project.basedir}/balcon</outputDirectory>
98+
<md5>4F3AD67483D5315FA3E213293248CEAF</md5>
99+
</configuration>
100+
</execution>
101+
</executions>
102+
</plugin>
103+
104+
<!-- copy unpacked ffmpeg binaries in ffmpeg folder -->
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-resources-plugin</artifactId>
108+
<version>3.1.0</version>
109+
<executions>
110+
<execution>
111+
<id>copy-ffmpeg-bin-folder</id>
112+
<phase>prepare-package</phase>
113+
<goals>
114+
<goal>copy-resources</goal>
115+
</goals>
116+
<configuration>
117+
<outputDirectory>${basedir}/ffmpeg</outputDirectory>
118+
<resources>
119+
<resource>
120+
<directory>ffmpeg-20190518-c61d16c-win64-shared/bin</directory>
121+
<includes>
122+
<include>**/*</include>
123+
</includes>
124+
</resource>
125+
</resources>
126+
</configuration>
127+
</execution>
128+
</executions>
129+
</plugin>
130+
131+
<!-- remove unnecessary unpacked ffmpeg folder -->
132+
<plugin>
133+
<artifactId>maven-clean-plugin</artifactId>
134+
<version>2.5</version>
135+
<executions>
136+
<execution>
137+
<id>auto-clean</id>
138+
<phase>package</phase>
139+
<goals>
140+
<goal>clean</goal>
141+
</goals>
142+
<configuration>
143+
<excludeDefaultDirectories>true</excludeDefaultDirectories>
144+
<filesets>
145+
<fileset>
146+
<directory>ffmpeg-20190518-c61d16c-win64-shared</directory>
147+
</fileset>
148+
</filesets>
149+
</configuration>
150+
</execution>
151+
</executions>
152+
</plugin>
153+
154+
<!-- build native app and installer -->
155+
<plugin>
156+
<groupId>fvarrui.maven</groupId>
157+
<artifactId>javapackager</artifactId>
158+
<version>0.8.0</version>
159+
<executions>
160+
<execution>
161+
<phase>package</phase>
162+
<goals>
163+
<goal>package</goal>
164+
</goals>
165+
<configuration>
166+
<mainClass>fvarrui.pptx2video.Main</mainClass>
167+
<bundleJre>true</bundleJre>
168+
<additionalResources>
169+
<param>balcon</param>
170+
<param>ffmpeg</param>
171+
</additionalResources>
172+
<organizationName>fvarrui</organizationName>
173+
<organizationUrl>https://github.com/fvarrui</organizationUrl>
174+
<url>https://github.com/fvarrui/PowerPointToVideo</url>
175+
<generateInstaller>false</generateInstaller>
176+
</configuration>
177+
</execution>
178+
</executions>
179+
</plugin>
180+
181+
</plugins>
182+
</build>
183+
184+
</project>

samples/deportes.pptx

116 KB
Binary file not shown.

samples/sample.pptx

178 KB
Binary file not shown.

0 commit comments

Comments
 (0)