Added clips for machs
This commit is contained in:
@@ -61,10 +61,21 @@ links:
|
|||||||
download:
|
download:
|
||||||
make --file=Makefile.d/Makefile.youtube-dl
|
make --file=Makefile.d/Makefile.youtube-dl
|
||||||
|
|
||||||
|
|
||||||
.PHONY: videos
|
.PHONY: videos
|
||||||
videos:
|
videos: otVideos machsVideos
|
||||||
|
|
||||||
|
# Videos zu den onlineTrainings
|
||||||
|
.PHONY: otVideos
|
||||||
|
otVideos:
|
||||||
make --file=Makefile.d/Makefile.clips all
|
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
|
.PHONY: images
|
||||||
images:
|
images:
|
||||||
make --file=Makefile.d/Makefile.images
|
make --file=Makefile.d/Makefile.images
|
||||||
|
|||||||
13
onlineTraining/Makefile.d/Makefile.clips.machs
Normal file
13
onlineTraining/Makefile.d/Makefile.clips.machs
Normal 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)
|
||||||
8
onlineTraining/clips.d/machs/groups/aufspringen.json
Normal file
8
onlineTraining/clips.d/machs/groups/aufspringen.json
Normal 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}
|
||||||
|
}]
|
||||||
Reference in New Issue
Block a user