mpegflow | easy extraction of motion vectors

 by   vadimkantorov C++ Version: 1.0 License: MIT

kandi X-RAY | mpegflow Summary

kandi X-RAY | mpegflow Summary

mpegflow is a C++ library. mpegflow has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

The tool accepts a video file path as command-line argument and writes MPEG-flow (motion vectors) to standard output. By default, the tool outputs the motion vectors arranged in two matrices - dx and dy.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mpegflow has a low active ecosystem.
              It has 225 star(s) with 61 fork(s). There are 14 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 11 open issues and 25 have been closed. On average issues are closed in 77 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of mpegflow is 1.0

            kandi-Quality Quality

              mpegflow has no bugs reported.

            kandi-Security Security

              mpegflow has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              mpegflow is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              mpegflow releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mpegflow
            Get all kandi verified functions for this library.

            mpegflow Key Features

            No Key Features are available at this moment for mpegflow.

            mpegflow Examples and Code Snippets

            No Code Snippets are available at this moment for mpegflow.

            Community Discussions

            QUESTION

            How to extract motion vectors from h264 without a full decode on the CPU
            Asked 2020-Sep-25 at 20:35

            I'm trying to use my nose as a pointing device. The plan is to encode the video stream from a webcam pointed at my face as h264 or the like, get the motion vectors, cook the numbers a bit and chuck them into /dev/uinput to make the mouse pointer move about. The uinput bit was easy.

            This has to work with zero discernable latency. This, for instance:

            ...

            ANSWER

            Answered 2020-Sep-25 at 20:35

            Very interesting project! I'm no ffmpeg expert, but it looks to me like your ffmpeg command is decoding the mjpeg output of your /dev/video0 and then ENCODING it into h.264 to get the motion vectors. That h.264 encoding step is computationally intensive and is likely causing your latency. Some things you can do to speed it up are (a) use a webcam that outputs h.264 instead of mjpeg; (b) run the h.264 encode on faster hardware and (c) use ffmpeg to lower the resolution of your video stream before encoding it. For example, you could define a small "hot region" in the video camera where the motions of your nose can control the mouse.

            Source https://stackoverflow.com/questions/62499845

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mpegflow

            You can download it from GitHub.

            Support

            We release mpegflow for easy extraction of MPEG-flow (motion vectors) from video files along with a visualization tool vis, both under the MIT license. We provide Makefiles for Linux / Windows and distribute binary releases. Please submit bugs on GitHub directly. For any other question, please contact Vadim Kantorov at vadim.kantorov@inria.fr or vadim.kantorov@gmail.com.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/vadimkantorov/mpegflow.git

          • CLI

            gh repo clone vadimkantorov/mpegflow

          • sshUrl

            git@github.com:vadimkantorov/mpegflow.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular C++ Libraries

            tensorflow

            by tensorflow

            electron

            by electron

            terminal

            by microsoft

            bitcoin

            by bitcoin

            opencv

            by opencv

            Try Top Libraries by vadimkantorov

            caffemodel2pytorch

            by vadimkantorovPython

            metriclearningbench

            by vadimkantorovPython

            ctc

            by vadimkantorovPython

            caffemodel2json

            by vadimkantorovPython

            tfcheckpoint2pytorch

            by vadimkantorovPython