sminterpolate
sminterpolate copied to clipboard
Error when interpolating large videos on Ubuntu
Got another one for you - I am trying to run Butterflow on a very large video which is 4096x2048 pixels. When I run it on Ubuntu using current master
, I get the following error:
butterflow -v -s full,spd=1 -r 60 -o interpolated.mp4 orig-4fps.mp4
Traceback (most recent call last):
File "/home/dan/Documents/repos/butterflow/bin/butterflow", line 9, in <module>
load_entry_point('butterflow==0.2.0.dev0', 'console_scripts', 'butterflow')()
File "/home/dan/Documents/repos/butterflow/butterflow/cli.py", line 218, in main
vid_info['rate_d'])
ZeroDivisionError: float division by zero
If I downscale the video by 50% (to 2048x1024) it works fine. And the full-sized video works (eventually) on my Mac. Here are some test images if you need them (click download with browser). Thanks for taking a look!
Sorry for getting back to you so late on this but can you grab the latest master
and tell me what the output of butterflow -prb <file>
on the 4096x2048 and the 2048x1024 videos are?
No problem! I'm on my way out of town & off the grid for the next 10 days, but I'll let you know when I get back :)
Hi! I am running ubuntu and get the same problem using latest master: (butterflow)mir@leopard ~ $ butterflow -prb test.mkv Video information: Streams available : video,audio,subtitle Resolution : 1280x720, SAR 1:0 DAR 1:0 Rate : inf fps Duration : -3:-14:-8 (-9223372036854776.00s) Num of frames : 9223372036854775808
while ffmpeg -i tells me on the same file: Input #0, matroska,webm, from 'test.mkv': Metadata: ENCODER : Lavf56.15.102 Duration: 00:41:18.87, start: 0.083000, bitrate: 2370 kb/s Stream #0:0(eng): Video: hevc (Main), yuv420p(tv), 1280x720 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: LANGUAGE : eng ENCODER : Lavc56.13.100 libx265 Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default)
My bad. Recompiling and linking a good working avformat.so library solved the problem....