/MV-Tractus

A simple tool to extract motion vectors from mpeg videos.

Primary LanguageC

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