Generate Keyframes using Vapoursynth
Prerequisite: Having vapoursynth
installed
Installed vapoursynth-wwxd
- Download or clone https://github.com/dubhater/vapoursynth-wwxd
gcc -o libwwxd.so -fPIC -shared -O2 -Wall -Wextra -Wno-unused-parameter $(pkg-config --cflags vapoursynth) src/wwxd.c src/detection.c
in the folder- Move the file
libwwxd.so
in/usr/lib/vapoursynth/
and change ownership to root (sudo chown root:root libwwxd.so
)
Launch the generate_keyframes.py
script
- Save https://raw.githubusercontent.com/LightArrowsEXE/fansub-utils/master/generate_keyframes.py in a folder to the name
generate_keyframes.py
python3 generate_keyframes.py --f 'Your_file.mp4'
- Import them in aegisub using Videos > Open Keyframes
Updated on April 27, 2020.