Giter VIP home page Giter VIP logo

Comments (12)

rcspam avatar rcspam commented on July 23, 2024

In the same time, all video files i test with '$ butterflow -r XXX video.mp4' produce a segfault..

from sminterpolate.

dthpham avatar dthpham commented on July 23, 2024

It looks like your hardware isn't capable of completing the 4K resolution tests. What is the output of butterflow -d? What are the dimensions of the files you are testing Butterflow with? Can you run these commands without an error?

# Make a 2 sec 640x480 30fps test video and increase rate to 60fps
ffmpeg -y -f lavfi -i testsrc=duration=2:size=640x480:rate=30:decimals=3 \
-c:v libx264 -crf 18 a.mp4
butterflow -r 2x --poly-s 0.1 a.mp4

from sminterpolate.

rcspam avatar rcspam commented on July 23, 2024
$ butterflow -d
OpenCL devices:
  Platform              : NVIDIA CUDA
  Platform Vendor       : NVIDIA Corporation
  Platform Version      : OpenCL 1.2 CUDA 7.5.18
    Device          : GeForce GTX 550 Ti
      Version       : OpenCL 1.1 CUDA
      Version       : 352.41

I have always segfault after ffmpeg reencode and test 'butterflow -r 2x --poly-s 0.1'

from sminterpolate.

rcspam avatar rcspam commented on July 23, 2024

For resolutions, segfault at all resolutions !!

from sminterpolate.

dthpham avatar dthpham commented on July 23, 2024

Your device is not supported. Butterflow only works with OpenCL devices greater than 1.1 with a full device profile. I will add in some code over the weekend that will detect if a device is compatible and issue a warning if it isn't. Thanks.

from sminterpolate.

rcspam avatar rcspam commented on July 23, 2024

Only works with opencl ? No possibility to disable GPU to prefer CPU ?

from sminterpolate.

dthpham avatar dthpham commented on July 23, 2024

Presently, yes. Two core functions in Butterflow depend on having an OpenCL device (although I do have plans on removing this requirement eventually). You can use a CPU, again, as long as it supports OpenCL 1.2 and up but the output of butterflow -d that you posted suggests that you don't have a compatible device.

from sminterpolate.

rcspam avatar rcspam commented on July 23, 2024

Understood. Thanks

from sminterpolate.

dthpham avatar dthpham commented on July 23, 2024

No problem. Butterflow will now warn and prevent those with incompatible devices from running the app via bb0c727. Thanks for bringing this to my attention.

from sminterpolate.

dthpham avatar dthpham commented on July 23, 2024

It's now possible to use Butterflow without needing to set up OpenCL. If you're interested in giving this new ability a test drive then checkout the latest master, then make a small test video with ffmpeg -y -f lavfi -i testsrc=duration=0.5:size=640x480:rate=30:decimals=3 -c:v libx264 -crf 18 a.mp4 and run butterflow -sw -r 2x --poly-s 0.1 a.mp4 against it.

But be warned, there's still some bugs associated with the software version of frame interpolation that I'm trying to fix so the accuracy and quality of the frames may be amiss. It's noticeable if you ever try rendering almost anything other than these generated test videos.

Note that with my GPU that video takes .04 minutes to render while it takes 2.14 minutes with the -sw flag. Just something to think about if you're working with anything lengthy 😉.

from sminterpolate.

rcspam avatar rcspam commented on July 23, 2024

Great news...
But here, after an install git version from scratch i get a "SegFault error"... :(

from sminterpolate.

rcspam avatar rcspam commented on July 23, 2024

Is there a way to sort debug info to show you ?

from sminterpolate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.