Skip to content
A simple tool to extract motion vectors from mpeg videos.
Branch: master
Clone or download
Latest commit 25b2723 Jul 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
experiments ADD extra features Sep 15, 2018
include ADD extra features Sep 15, 2018
input/yolo ADD extra features Sep 15, 2018
original ADD extra features Sep 15, 2018
pypi Add pypi dist Apr 28, 2018
python-boost ADD extra features Sep 15, 2018
useful-stuff ADD extra features Sep 15, 2018
.gitignore UPDATE README, ADD ffmpeg install script, ffmpeg.conf file and gitignore Oct 21, 2018
README.md Update README.md Jul 11, 2019
compile UPDATE Jul 10, 2019
compile_command.txt ADD extra features Sep 15, 2018
e_json ADD extra features Sep 15, 2018
e_json.c ADD extra features Sep 15, 2018
efmvs ADD extra features Sep 15, 2018
efmvs.backup.cpp ADD extra features Sep 15, 2018
efmvs.cpp ADD extra features Sep 15, 2018
efmvs.o ADD extra features Sep 15, 2018
efmvs.py ADD extra features Sep 15, 2018
efmvs.so ADD extra features Sep 15, 2018
efmvs_2.cpp ADD extra features Sep 15, 2018
extract_mvs UPDATE Jul 10, 2019
extract_mvs.c ADD extra features Sep 15, 2018
extract_mvs.so ADD extra features Sep 15, 2018
extract_mvs_with_frames UPDATE Jul 10, 2019
extract_mvs_with_frames.c UPDATE Jul 10, 2019
extract_mvs_with_frames.py ADD extra features Sep 15, 2018
extract_mvs_with_frames.so ADD extra features Sep 15, 2018
ffmpeg.conf UPDATE Jul 10, 2019
first_run.sh ADD extra features Sep 15, 2018
install_ffmpeg.sh generalized personal multi-threading adjustments Jul 10, 2019
remove_outdated_output_files.sh ADD extra features Sep 15, 2018
setup.py ADD extra features Sep 15, 2018

README.md

MV-Tractus

A simple tool to extract motion vectors from mpeg videos.

If you use this tool, please cite.

Jishnu P. (2018, October 21). MV-Tractus: A simple and fast tool to extract motion vectors from H264 encoded video streams. (Version 1.0). Zenodo. http://doi.org/10.5281/zenodo.1467851

@misc{jishnu_p_2018_1467851,
      author = { Jishnu P },
      title = { MV-Tractus: A simple and fast tool to extract motion vectors from H264 encoded video streams. },
      month = oct,
      year = 2018,
      doi = { 10.5281/zenodo.1467851 },
      url = { https://doi.org/10.5281/zenodo.1467851 } }

DOI

Installation and bootstrapping

  1. git clone https://github.com/jishnujayakumar/MV-Tractus.git
  2. cd MV-Tractus
  3. ./install_ffmpeg.sh (You can also install FFmpeg using the link here)
  4. sudo cp ffmpeg.conf /etc/ld.so.conf.d/ffmpeg.conf && sudo ldconfig
  5. ./compile OR You can use the compile_command.txt to generate the binary file.
  6. mkdir -p output/mv/
  7. ./extract_mvs <video-file-path>.
  8. And there you go. The output will be saved in './output/mv/'.

pip install mv-tractus (Coming Soon).

Tutorials

Installation, Setup and Usage (extract_mvs)

Watch the video

Usage (extract_mvs_with_frames)

Watch the video

Python Usage (extract_mvs_with_frames)

Coming Soon

You can’t perform that action at this time.