GithubHelp home page GithubHelp logo

Comments (5)

gineshidalgo99 avatar gineshidalgo99 commented on May 2, 2024

It does not happen to me with my longest videos (>5min). Since you closed the issue, could I know the problem (and solution)? So other people can benefit if the same error happen to them? Thanks!

from openpose.

samim23 avatar samim23 commented on May 2, 2024

The issues i've encountered leading to this "bug" can be backtracked to the ".avi" file format. Been using ffmpeg to convert mp4's into avi's and found one has to be extremely specific in conversion (+ there are many parameters) - as openpose will throw errors on most kinds of files called ".avi". Unclear which settings work reproducable so far. As a workaround, I've ended up simply extracting all frames with ffmpeg into a folder, and then processing those with openpose instead - which works flawless.

It would be fantastic, if openpose besides .avi supported other file I/O formats, such as .MP4.

from openpose.

gineshidalgo99 avatar gineshidalgo99 commented on May 2, 2024

You are right. Right now we are limited by the formats that OpenCV handles, which for video are still limited. We will try in future releases to use other libraries with better ffmpeg support. Thank you for the feed-back!

from openpose.

samim23 avatar samim23 commented on May 2, 2024

One more little related request: It would be great if one could define at what framerate openpose creates videos. Useful in the case above, where the frames were split with an external tool.

from openpose.

gineshidalgo99 avatar gineshidalgo99 commented on May 2, 2024

Well, if a external tool was used to split them, the same tool (or any free one) should be able to join them again (e.g. ffmpeg). Making OpenPose doing that would be more error-prone or would require OpenPose to be sure that all the images has the same resolution. Otherwise it will crash with different sizes. So given cons/pros, it is not useful for images.

However, your idea is good for webcam, it might be useful for the webcam in order the generate a video. So I just added the new option camera_fps, so the video will be generated at that FPS for webcam.

from openpose.

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.