sagost / video_uav_tracker-3d Goto Github PK
View Code? Open in Web Editor NEWReplay a video in sync with a gps track displayed on the map.
Replay a video in sync with a gps track displayed on the map.
I installed and tried the Video_UAV_Tracker-3D recently on my machine. However, it turned out that a mp4 codec is required for the qt5 window. If such a codec is not installed, the video window stays black.
I am trying using Video UAV Tracker 3D but I get the following warning. Any help?
2024-01-08T16:21:06 WARNING warning:C:\Users/spedretti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Video_UAV_Tracker\NewProject.py:367: ResourceWarning: unclosed file
fps = self.getVideoDetails(str(videofile))
traceback: File "C:\Users/spedretti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Video_UAV_Tracker\NewProject.py", line 276, in SelectVideoGPX
self.LoadVideo(self.videofile)
File "C:\Users/spedretti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Video_UAV_Tracker\NewProject.py", line 367, in LoadVideo
fps = self.getVideoDetails(str(videofile))
2024-01-08T16:21:06 WARNING warning:C:\PROGRA1\QGIS331.1\apps\Python39\lib\subprocess.py:1052: ResourceWarning: subprocess 15252 is still running
_warn("subprocess %s is still running" % self.pid,
traceback: File "C:\Users/spedretti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Video_UAV_Tracker\NewProject.py", line 276, in SelectVideoGPX
self.LoadVideo(self.videofile)
File "C:\Users/spedretti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Video_UAV_Tracker\NewProject.py", line 367, in LoadVideo
fps = self.getVideoDetails(str(videofile))
File "C:\PROGRA~1\QGIS33~1.1\apps\Python39\lib\subprocess.py", line 1052, in __del__
_warn("subprocess %s is still running" % self.pid,
2024-01-08T16:21:06 WARNING warning:C:\Users/spedretti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Video_UAV_Tracker\NewProject.py:394: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
self.horizontalSlider.setValue(progress)
traceback: File "C:\Users/spedretti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Video_UAV_Tracker\NewProject.py", line 276, in SelectVideoGPX
self.LoadVideo(self.videofile)
File "C:\Users/spedretti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Video_UAV_Tracker\NewProject.py", line 372, in LoadVideo
self.player.setMedia(mc)
File "C:\Users/spedretti/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Video_UAV_Tracker\NewProject.py", line 394, in positionChanged
self.horizontalSlider.setValue(progress)
I get this error :
TypeError: setValue(self, a0: int): argument 1 has unexpected type 'float'
Traceback (most recent call last):
File "/home/sylvain/.local/share/QGIS/QGIS3/profiles/sylvain/python/plugins/Video_UAV_Tracker/NewProject.py", line 448, in positionChanged
self.horizontalSlider.setValue(progress)
TypeError: setValue(self, a0: int): argument 1 has unexpected type 'float'
Originally posted by @kikislater in #4 (comment)
Dear Salvatore,
I'm getting this python error in Video UAV Tracker since a few days ago.
Couldn't load plugin 'Video_UAV_Tracker' due to an error when calling its classFactory() method
TypeError: qRegisterResourceData(int, bytes, bytes, bytes): argument 2 has unexpected type 'str'
Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis-rel-dev/./python\qgis\utils.py", line 334, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/PedroVenancio/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Video_UAV_Tracker\__init__.py", line 46, in classFactory
from .VideoGis import VideoGis
File "C:/OSGEO4~1/apps/qgis-rel-dev/./python\qgis\utils.py", line 737, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/PedroVenancio/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Video_UAV_Tracker\VideoGis.py", line 52, in
import resources
File "C:/OSGEO4~1/apps/qgis-rel-dev/./python\qgis\utils.py", line 737, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/PedroVenancio/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\resources.py", line 1251, in
qInitResources()
File "C:/Users/PedroVenancio/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis2web\resources.py", line 1243, in qInitResources
qt_resource_name, qt_resource_data)
TypeError: qRegisterResourceData(int, bytes, bytes, bytes): argument 2 has unexpected type 'str'
This happen both in QGIS 3.4.12, 3.8.3 and master. Tested only in Windows.
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.