/QGISFMV

QGIS Full Motion Video (FMV)

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

QGIS Full Motion Video (FMV)

Build Status

a

Plugin for QGIS > 2.99 which allows to analyze, visualize and process videos inside the QGIS environment. QGIS FMV accepts multiple video formats such as mp4, ts, avi, etc. It is also able to extract video frames, to capture the current frame, to plot bitrate and to observe the video metadata with aerial images and more. It also offers the possibility to create reports with video metadata.

Standards supported:

Table of Contents

Motivation

This development arises after observing that there was no free solution for the metadata extraction and video analysis in real time. All solutions are APIs or private tools such as Esri, for this reason, I decided to develop this open source project and, this way, offer this open source alternative to the QGIS community.

Dependencies

  • FFMPEG : After downloading it, you should store it in an accessible folder and modify fmvConfig.py with the corresponding path.For example 'D://FFMPEG'

  • OpenCV : python3 -m pip install opencv-python

  • opencv-contrib-python : python3 -m pip install opencv-contrib-python

  • MatPlotLib : python3 -m pip install matplotlib

  • Klvdata : customized version of this library.

  • Homography : python3 -m pip install homography

The plugin install automatically this requisites,but you can install it using:

python3 -m pip install -r requirements.txt

For show video

To see the video you need:

  • Linux: sudo apt-get install gst123 (install GStreamer dependencies)
  • Window: install LAV Filters (install DirectShow Media Decoders)

Usage

The use of this application is simple. It only needs a video with metadata, like for example one of these videos or these (ESRI copyright) Then, open the plugin where the "video manager" will be shown, open the video and with a double-click, the "player" will be opened. At this moment, you will see that new shapes have been added and you will see the platform position, metadata, etc.

Link to Usage Documentation!

Recommended readings

For more information about the Unmanned Air System (UAS) metadata from STANAG 4609

a

Installation

The installation can be done from the executable if it is in windows or from the zip

Installation on Windows

Watch the video (Spanish)

Installation on Archlinux

Archlinux installation :

pacman -S qgis python-matplotlib opencv ffmpeg 
pip install homography

FFmpeg path

ffmpeg = "/usr/bin/"
ffprobe = "/usr/bin/"

Slides

Screenshots

a

Features

  • Convert videos to other format
  • Extract metadata from video file
  • Show Platform,trajectory and beams position in a QGIS
  • Possibility of extracting parts of the video
  • Change of color, contrast, etc. of the video
  • Capture of the current frame
  • Extraction of all frames of the video
  • Extrac lon/lat cursor coordinates
  • Apply sobel filters, edge detection ...

Contributing

Contributions are welcome!

Contributing Code

Want to work on the project? Any kind of contribution is welcome!

Follow these steps:

Fork the project.
Create a new branch.
Make your changes and write tests ( if is possible).
Commit your changes to the new branch.
Send a pull request.

See before FMV Coding Standards!

And thanks for your code.

a

Contributing translations

Contributions are welcome!

transifex

Contributors List

License

GNU Public License (GPL) Version 3

Free Software, Hell Yeah!

Donations

Want to buy me a beer (or gadget)? Please use Paypal button on the project page, Donate , or contact me directly.

paypal

If this plugin is useful for you, consider to donate to the author.

[© All4gis 2018]