You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Tutorials/ZoomVideos.md
+24-25Lines changed: 24 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
In this tutorial, you will learn how to create Mandelbrot zoom videos using the DeepDrill toolchain. In particular, you will learn how to compute the following video:
4
4
5
-
<iframewidth="560"height="315"src="https://www.youtube.com/embed/Ayc5bE9nmTA"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"allowfullscreen></iframe>
5
+
<iframewidth="560"height="315"src="https://www.youtube.com/embed/M3H2cODlDRc"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"allowfullscreen></iframe>
6
6
7
7
Unlike calculating still images, creating a zoom video requires a much more sophisticated workflow. For example, multiple keyframes must be calculated and stitched together in the right way. To simplify the process, video creation has been divided into three phases. In the first phase, `deepmake` is used to create a Makefile and a larger number of input files. In the second phase, the Makefile is executed to compute all keyframe images via seperate invocations to `deepdrill`. In the last phase, `deepzoom` is executed to assemble the final video by calculating intermediate frames.
8
8
@@ -18,22 +18,20 @@ To set up a workflow in this directory, we launch `deepmake` with the following
18
18
```
19
19
The application first tells you how many files will be created and asks for your permission to proceed:
20
20
```
21
-
DeepMake 2.0 - (C)opyright Dirk W. Hoffmann
21
+
DeepMake 3.0 - (C)opyright Dirk W. Hoffmann
22
22
23
-
79 files will be created. Do you want to proceed [no]?
23
+
182 files will be created.
24
+
0 files will be skipped or modified.
25
+
26
+
Do you want to proceed [y]?
24
27
```
25
-
After confirming with `yes` or `y`, `deepmake` generates all files:
28
+
After confirming by hitting return, `deepmake` generates all necessary files:
26
29
```none
27
-
DeepMake 2.0 - (C)opyright Dirk W. Hoffmann
28
-
29
-
79 files will be created. Do you want to proceed [no]? yes
Let's have a more detailed look at the configuration file. Besides providing the location and iteration parameters, the following key-value pairs are defined:
39
37
```INI
@@ -55,7 +53,7 @@ Let's take a closer look at the files DeepDrill created in the project directory
55
53
-`deepzoom.ini`
56
54
This file contains several key-value pairs which will be picked up by `deepzoom` to assemble the final video. It plays no role in the creation of the keyframe images.
57
55
58
-
-`keyframe_0.ini` to 'keyframe_80.ini'
56
+
-`keyframe_0.ini` to 'keyframe_180.ini'
59
57
These configuration files are used to calculate the keyframes. They are composed out of the configuration files that were passed in as command line arguments when the workflow was set up.
60
58
61
59
-`Makefile`
@@ -64,40 +62,41 @@ Let's take a closer look at the files DeepDrill created in the project directory
64
62
## Computing all keyframes
65
63
66
64
For our tutorial project, DeepDrill has created the following Makefile:
67
-
68
65
```Make
69
-
# Generated by DeepDrill 2.0 on Tue Jun 13 18:19:24 2023
66
+
# Generated by DeepDrill 3.0
70
67
#
71
68
# Copyright (C) Dirk W. Hoffmann. www.dirkwhoffmann.de
72
69
# Licensed under the GNU General Public License v3
The Makefile defines two major goals: One is to create the map files from the location files and the other one is to compose the final video. To create all map files, we change to the project directory and run the Make utility:
96
95
```shell
97
96
cd project
98
97
make -j4
99
98
```
100
-
The `-j` option instructs Make to run multiple jobs in parallel, four jobs in this case. Although this option is not mandatory, its use is strongly recommended as it significantly reduces the overall computation time.
99
+
The `-j` option instructs Make to run multiple jobs in parallel, four in this case. Although this option is not mandatory, its use is strongly recommended as it significantly reduces the overall computation time.
101
100
102
101
Depending on the performance of your machine, it may take a while to calculate all images. DeepDrill informs about the current progress by outputting brief status information:
103
102
```none
@@ -125,6 +124,6 @@ After successful completion, the project directory contains a map file and an im
125
124
126
125
The final step is to combine all the keyframes into a zoom video by calling `make` with the `spider.mov` target as argument:
127
126
```shell
128
-
make spider.mov
127
+
make deepzoom.mov
129
128
```
130
-
This target executes a separate tool called `deepzoom` which stiches together all previously computed keyframes. After completion, file `spider.mov` will be created, which contains the final video.
129
+
This target executes a separate tool called `deepzoom` which stiches together all previously computed keyframes. After completion, file `deepzoom.mov` will be created, which contains the final video.
0 commit comments