Hi there ๐ , Personal Website!
Hi, I'm Fran, a Open Source GIS Developer ๐ ๐ฝ from Spain.
Connect with me:
Languages and Tools:
QGIS Full Motion Video (FMV)
Home Page: https://all4gis.github.io/QGISFMV/
License: GNU General Public License v3.0
Hi, I'm Fran, a Open Source GIS Developer ๐ ๐ฝ from Spain.
Connect with me:
Languages and Tools:
make OpenCV Track Object Movement functionality
Launching from terminal, then activate plugin crash qgis :
QGIS died on signal 11ptrace: Operation not permitted.
No thread selected
No stack.
gdb returned 0
Aborted (core dumped)
OS = Manjaro Linux 64
$ pacman -Q qgis
qgis 3.2.0-2
$ pacman -Q python-matplotlib
python-matplotlib 2.2.2-2
pip list | grep opencv
opencv-python 3.3.0.10
pip list | grep homography
homography 0.1.5
$ which ffmpeg
/usr/bin/ffmpeg
$ cat fmvConfig.py
********** Properties **********
Layer names
Platform_lyr = "Platform"
Beams_lyr = "Beams"
Footprint_lyr = "Footprint"
Trajectory_lyr = "Trajectory"
Point_lyr = "Drawings"Group Name
frames_g = "FMV Georeferenced Frames"
FFmpeg path
ffmpeg = "/usr/bin/ffmpeg"
ffprobe = "/usr/bin/ffprobe"
Edit : upgraded to opencv-python-3.4.0.12 and still crash
the transformation is not performed correctly on the edges of the video.
On the other hand, clicks are not drawn below the cursor
For better use,create a tolbar with all utils options
Make a label with auto numbering of drawn points (on map and video)
Migrate all QThread to QgsTask
video recording does not preserve metadata
Possible implementation for streaming in QGIS FMV.
We did some research and tests to support rtp streams, following changes would be necessary for a first implementation.
QTMultimedia and FFMPEG need to listen on different ports. Therefore we need a Splitter in front of the stream to separate AV and Data.
|-> A+V on port 8889 --> QMediaPlayer
rtp stream [port 8888] -> FFmpeg Splitter |
|->KLV to output stream --> Data Parser
ffmpeg -re -i rtp://127.0.0.1:8857
-vcodec copy -acodec copy
-map 0:0 -map 0:1
-f rtp_mpegts "rtp://127.0.0.1:8858"
-map 0:2
-f data -
Bind QMediaPlayer to port 8858
Read KLV from in Memory Buffer
'Missing dependency, Do you want install FFMPEG?'
I clicked yes, but the download no respond. Using QGIS 3.10.3 Windows 10.
I have a video recorded with DJI phantom and it has a metadata attached to it. But when I load the video this error pops up. The status shows "Not MISB"
Can add plat_super_puma.svg to images folder and point to this file?You need compile the resoucer file
https://github.com/All4Gis/QGISFMV/blob/master/code/utils/QgsFmvStyles.py#L72
It's so strange but metadata buffer not work with this video samples http://samples.ffmpeg.org/MPEG2/mpegts-klv/
Can you please just look at this issue?
Make it for better contribution and cleaned code
Save in other thread and add current frame when save pdf
Save frame with burned annotations(points,lines....)
To see it in 3D
Disable options plot bitrate audio if video not have audio
In particular docx. Please use the standard doc system for QGIS, based on rst and sphinx.
Thanks.
TypeError: isinstance expected 2 arguments, got 1
line 612 QgsFmvUtils dst_ds.SetGeoTransform(geotransform)
Using the new geotransform matrix not work GeoreferenceFrame method
I think we should use geotransform.to_affine()
AutoContrastFilter create a frezze and unstable video
Buffer size not work in large videos.
For reproduce it:
Open a video
advance 1 or 2 minutes using the slider
And the metadata not show,the buffer has not arrived yet I think.
Use this video for test DJI_0047_MISB_F.mp4 (sample folder)
Make ruler on video tool
Draw Frame center point on the map.
In some case a video is split in several mpeg or ts files. So it is interesting that the video manager can behave like a playlist and play videos seamlessly one after one.
It can be as simple as an "autoplay" toggle button in the video manager.
Convert video does not work correctly and does not preserve metadata
Support for legacy System that produce MISB EG 0104 "Predator UAV Basic Universal Metadata Set". This shall be made by adding an additional parser for the KLV Metadata to the existing one.
Hi,
This may be related to #19 (comment).
I tried all possible way of installing the plugin: From the manager and via the folders.
With and without installing the dependencies first. Only the first time when I installed from the manager I was asked for my password, but nevertheless every time I try to load the plugin QGIS crashes. I have even reinstalled QGIS completely, but it did not help.
When I start qgis from the terminal an than load the plugin this happens:
โ ~ qgis lav filters QGIS died on signal 11Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf ptrace: Vorgang nicht zulรคssig. No thread selected No stack. gdb returned 0 [1] 17637 abort qgis
I have no idea how to troubleshoot this and would be thankful for any help.
On-the-Fly Raster Mosaicking
Create it for set hide or not toolbars
http://elevation.bopen.eu/en/stable/quickstart.html
we'll wait to see if this is resolved
bopen/elevation#11
Some VsCam creates videos with 2 data streams, the first one may not contain KLV Data, but second one does.
For those kind of video we may need to check every data stream before we can read the good one.
Actually we read KLV with -map 0:d
We may need to try other data stream with: -map 0:d:0 or 0:d:1 as well.
I could not add a .mov video produced with a phathom 4
Hello,
Thanks in advance for your answers:
under win10 64b using Qgis3.4.9 LTR.
Plugin show (finaly) no message, Installation of dependencies show no erreur.
However i still get "not Misb" in status and "Start location not available" when opening uploded files that assumed to be MSIB compliant.
Draw text on video
Metadata callback run always in bakground!
for check is simple,not delete the layer when close dialog and we see how the layers continue to be updated
Can play the sample videos, but does not plot flight path or footprint. Log file error below.
2018-08-07T18:08:52 WARNING CreatePlotsBitrate : Failed! CreatePlotsBitrate.error[str, Exception, str].emit(): argument 2 has unexpected type 'str'
Avoid saving the tile in tmp folder.
Create rasters in memory
It is more common and clear to display a layer with the axis of view instead of only a frame center point layer.
If the vertical view axix comes near horizon, then don't draw the footprint. Only draw the axis of view.
enable RTP streaming functionality
Describe the bug
Error message when I click on 'extract recording' from the MISB Creator tool:
An error has occurred while executing Python code:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 7464: invalid start byte
Traceback (most recent call last):
File "C:/Users/mrocks/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QGIS_FMV\manager\QgsMultiplexor.py", line 218, in CreateCSV
self.ReadCSVRecordings(input_metadata)
File "C:/Users/mrocks/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QGIS_FMV\manager\QgsMultiplexor.py", line 577, in ReadCSVRecordings
for row in reader:
File "C:\PROGRA1\QGIS31.4\apps\Python37\lib\csv.py", line 112, in next
row = next(self.reader)
File "C:\PROGRA1\QGIS31.4\apps\Python37\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa0 in position 7464: invalid start byte
Desktop (please complete the following information):
Additional context
Video and data file extracted from Mavic Phantom Pro. I've attached the original
.txt file, and the converted .csv file (converted using 'CsvView'.
DJIFlightRecord_2019-10-21_[14-01-53].txt
Oct-21st-2019-02-01PM-Flight-Airdata1111111.zip
Any assistance would be fantastic, my python knowledge is extremely limited I'm afraid.
Marty
When an elevation model is set, the video footprint is not projected correctly. It is still projected on the target elevation plane instead of the DTM.
The map should be automatically centered on either the footprint or the UAV every second.
When a video comes in the video manager, it's location should be written in a specific column. We can use a reverse geocoding service for this.
Although the installation has improved a lot I think it might be a good idea to create a windows installer
IndexError: list index out of range
Traceback (most recent call last):
File "C:/../QGIS/QGIS3\profiles\default/python/plugins\QGIS_FMV\manager\QgsMultiplexor.py", line 218, in CreateCSV
self.ReadCSVRecordings(input_metadata)
File "C:/../QGIS/QGIS3\profiles\default/python/plugins\QGIS_FMV\manager\QgsMultiplexor.py", line 593, in ReadCSVRecordings
self.CreateDJICsv(rows_list, csv_raw)
File "C:/../QGIS/QGIS3\profiles\default/python/plugins\QGIS_FMV\manager\QgsMultiplexor.py", line 617, in CreateDJICsv
csv.writer(f_output).writerows(itertools.islice(csv_input, int(values[0]), int(values[-1])))
This appears after clicking the Extract Recording.
Thank you in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.