vengi-voxel / vengi

free and open source voxel art tools - editor, thumbnailer and format converter
http://vengi-voxel.github.io/vengi/
Other
1.13k stars 92 forks source link

TUTORIALS: create a few video tutorials on how to use voxedit #386

Closed mgerhardy closed 9 months ago

mgerhardy commented 10 months ago

example sentences

welcome to vengi voxedit
a free and open source voxel editor
in this video I will show you some of the new paint brush features that I'm currently working on

created with mozilla-tts like this:

# tts-vengi.sh

INPUT="${1:-text-to-speech-vengi.txt}"
MODEL="${2:-tts_models/en/ljspeech/tacotron2-DDC_ph}"

sentence=1
while IFS= read -r line
do
    if [ -z "$line" ]; then 
        continue
    fi
    if [ ! -e "$sentence.wav" ]; then
        tts --text "$line" --model_name="$MODEL" --out_path $sentence.wav
    else
        echo "Don't recreate already existing model for sentence $sentence"
    fi
    sentence=$((sentence+1))
done < "$INPUT"

for i in $(ls [0-9]*.wav | sort -n); do
    aplay $i
done

add them with sox:

sox 1.wav -p pad 30 | sox - input_video.mp4 output_video.mp4

add them with mencoder:

mencoder input_video.mp4 -o output_video.mp4 -ovc copy -oac pcm -audiofile 1.wav -delay 30 -audiofile 2.wav -delay 315 -audiofile 3.wav -delay 420

add them with ffmpeg to a video like this:

ffmpeg -i input_video.mp4 -i 1.wav -i 2.wav -i 3.wav -filter_complex "\
[1:a]adelay=30000|30000[a1]; \
[2:a]adelay=315000|315000[a2]; \
[3:a]adelay=420000|420000[a3]; \
[a1][a2][a3]amix=inputs=3:duration=longest[aout]" \
-map 0:v -map "[aout]" -c:v copy -c:a aac -strict experimental output_video.mp4
mgerhardy commented 10 months ago
welcome to vengi voxedit
a free and open source voxel editor
in this video I will show you some of the new paint brush features that I'm currently working on
let's start with the plane modifier
you can also change the mode to brighten
in variation mode you can paint an area with similar colors
single means that you you change the colors of voxels until you release your mouse button
you can also specify a radius to change the color for a bigger area
activating default again you can span an area by clicking and holding the mouse button - just like for the shape brush, too
toggling the center option allows you to span the area by clicking and holding, too

---

plane: replace
plane: brighten
default: variation
default: replace
single:
single: radius 3
default: replace
center: 
mgerhardy commented 10 months ago

https://youtu.be/Gn1bnvo0-qg

mgerhardy commented 10 months ago

recorded with obsstudio, mozilla-tts for the voice and openshot to mix audio and video

https://mechvibes.com for keyboard sounds