GithubHelp home page GithubHelp logo

Comments (8)

ElvinC avatar ElvinC commented on May 28, 2024

Thanks for the info about what encoders work. The progress percent is not really "stuck" since it doesn't print a message after completion (sorry about that) no more stabilization data should also terminate and save the file, so it was a problem with the encoder.

from gyroflow.

petervieth avatar petervieth commented on May 28, 2024

Oops, ignore prior to my edits. I have exactly the same error on a 2015 Macbook, also tried same options as Sebastian, and behavior is the same: gyroflow runs but the output doesn't open in Quicktime. Davinci Resolve shows the media as "offline" when imported. Opens in VLC but not quite sure what to do with it since it doesn't work in Resolve :)

from gyroflow.

ElvinC avatar ElvinC commented on May 28, 2024

@petervieth sorry, forgot to add a message here. If you're using the executable, then the bug should have been fixed on the master branch. Let me know if you're still having problems using that. New executables will be out soonish.

from gyroflow.

petervieth avatar petervieth commented on May 28, 2024

Thanks for the explanation. Unfortunately I don't use python and getting it working on Mac is not fun (I just tried again for half an hour and gave up). I know clobbering python 2.7 is bad. EDIT: While I have your attention... is there some way to output in the src frame rate? I have 29.97 going in but 50 going out. I also shoot in 59.94 on GH5; this test footage is from GX85 on a cinelifter. EDIT2: I tried on a Windows machine but poetry cannot find opencv. I realize this is the wrong place to ask these questions, if you have a recommendation let me know.

from gyroflow.

ElvinC avatar ElvinC commented on May 28, 2024

@petervieth Did you run poetry install first, followed by poetry run python gyroflow.py? I just tried with a fresh clone of the master branch and didn't have any issues. Can you send the the error messages you're getting?

from gyroflow.

petervieth avatar petervieth commented on May 28, 2024

Yes, I went to the poetry site and followed the instructions. I can't seem to figure out how to get it to save the environment once I close the shell though (I just ran it using $HOME/.poetry/bin/poetry )

On Windows, the error is: Unable to find installation candidates for opencv-python (4.1.2.30)
On MacOS: NoCompatiblePythonVersionFound
But I installed python 3.7 so I know that's not true (pyenv install 3.7.0), it probably just can't find it and I'm not sure how to tell it where it is, or where 3.7 lives.
EDIT: I used to be a Java and C++ developer until 2010, have only written firmware and Javascript since then. So I know the pain of Java development environments, and I assume python is the modern form of masochism :)

from gyroflow.

petervieth avatar petervieth commented on May 28, 2024

It's because I was using Python 3.9 and you're using something earlier. There is no 4.1.2 of opencv-python for 3.9 of any architecture, which is why poetry can't find it. I figured this out by trying to use a local repo. Maybe you wish to add a note about this to the webpage for python n00bs like myself :)

from gyroflow.

ElvinC avatar ElvinC commented on May 28, 2024

@petervieth oooh that makes sense, nice find. I'll make sure to add a note. Thanks!

from gyroflow.

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.