summary refs log tree commit diff
path: root/README
blob: 3865054ac9516b28770e082b098c4117d7bec377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Source code for the kriechstrom video
=====================================

Playing the video from source:
------------------------------

Start Renoise
`renoise 078elektrouschi-video.xrns`

Start sv
`./sv $(cat img)`

Send Renoise MIDI to sv and hit play in Renoise ...

Recording the video from source:
--------------------------------

1. Record OpenGL calls

`renoise 078elektrouschi-video.xrns`
`apitrace trace ./sv $(cat img)`

2. Convert to video

- Export audio from 078elektrouschi3-external-fx2.xrns (e.g. 078elektrouschi-video.wav)

- Convert trace to video
`apitrace dump-images -o - sv.trace | ffmpeg -r 60 -f image2pipe -vcodec ppm -i pipe: -i 078elektrouschi-video.wav -c:v libx264 -crf 21 -bf 2 -flags +cgop -pix_fmt yuv420p -c:a aac -strict -2 -b:a 384k -r:a 48000 -movflags faststart kriechstrom.mkv`

Files:
------

078elektrouschi3-external-fx2.xrns: Renoise project for the audio part
078elektrouschi-video.xrns: Renoise project driving visuals per midi
sv.c: Source code for loading the shader to the GPU (compile with `make`) and responding to MIDI input
shader.frag: GLSL fragment shader 
img: List of images
*JPG, *png: Source images