Added clips for machs

This commit is contained in:
marko
2021-03-28 11:57:56 +02:00
parent 8365968b87
commit c0e7d0b3d2
3 changed files with 33 additions and 1 deletions

View File

@@ -61,10 +61,21 @@ links:
download:
make --file=Makefile.d/Makefile.youtube-dl
.PHONY: videos
videos:
videos: otVideos machsVideos
# Videos zu den onlineTrainings
.PHONY: otVideos
otVideos:
make --file=Makefile.d/Makefile.clips all
# Videos zu den AchievementGroups im MAchS
.PHONY: machsVideos
machsVideos:
mkdir --parents build/videos.d/machs/groups
make --file=Makefile.d/Makefile.clips.machs all
.PHONY: images
images:
make --file=Makefile.d/Makefile.images

View File

@@ -0,0 +1,13 @@
jsonGroupsClips := $(wildcard clips.d/machs/groups/*.json)
webmGroupsClips := $(patsubst clips.d/machs/groups/%.json, build/videos.d/machs/groups/%.webm, $(jsonGroupsClips))
.PHONY: all
all: $(webmGroupsClips)
build/videos.d/%.webm: clips.d/%.json
./yt-clipper.py $^
.PHONY: echo
echo:
echo jsonGroupsClips: $(jsonGroupsClips)
echo webmGroupsClips: $(webmGroupsClips)

View File

@@ -0,0 +1,8 @@
[{
"source": "https://www.youtube.com/watch?v=k2kMAJPyaHs",
"target": "build/videos.d/aufspringen.webm",
"from": "00:04.867",
"to": "00:35.900",
"crop": {"x": 568, "y": 124, "w": 898, "h": 784},
"scale": {"h": 320}
}]