Closed bhbr closed 6 years ago
Perhaps this is useful (using the scale
video filter): https://stackoverflow.com/a/29582287/545839
This helped me find a workaround! In constants.py:21, the 853 is a rounded-off 853.(3). Just round it up instead (854). I don't know how 3b1b himself gets his videos to render with the odd 853.
Life lesson: if "width not divisible by 2" gets no useful Google hits, try "height not divisible by 2".
Thy, nmschulte!
When running the sample script with the option -pw (preview & write to file), this happens:
There is no output file, only an empty WarpSquareTemp.mp4.
When fixing the width "by hand" in scene/scene.py:485 with:
ffmpeg produces a slanted video file, because now the dimensions and buffer size don't match up: