wip
This commit is contained in:
parent
03972d23f3
commit
2c754703e1
3 changed files with 6 additions and 2 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
node_modules
|
||||
video-rickroll/frames
|
|
@ -254,9 +254,11 @@ function colorize(input) {
|
|||
let dist = diff.magnitude();
|
||||
nextError = diff;
|
||||
shortest = dist;
|
||||
//shortest = Math.min(shortest, dist);
|
||||
|
||||
output[x] = pick;
|
||||
distance += shortest;
|
||||
//distance = shortest;
|
||||
|
||||
let share = (n) => nextError.multiply(n / 16);
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@ set -a
|
|||
mkdir -p frames
|
||||
|
||||
ffmpeg \
|
||||
-i rickclip.mp4 \
|
||||
-i rickroll.mp4 \
|
||||
-vf 'scale=320:192,framerate=60000/1001' \
|
||||
-an \
|
||||
-y 'frames/rickroll-%04d.png'
|
||||
|
||||
ffmpeg \
|
||||
-i rickclip.mp4 \
|
||||
-i rickroll.mp4 \
|
||||
-vn \
|
||||
-ac 1 \
|
||||
-ar 15734 \
|
||||
|
|
Loading…
Reference in a new issue