The Gstreamer video stream is working in QGC perfectly but in Mission planner it is giving error.
Steps:
Firstly Mission planner detects gstream without any problem
Says to download something
Gives Error cannot found gstreamer-1.0-x86_64-1.14.4.zip
Siaffa
(Vyacheslav Furyst)
April 18, 2023, 1:03pm
2
I have faced with the same problem.
Checked the MP sources and found:
if (System.Environment.Is64BitProcess)
{
output = Settings.GetDataDirectory() + “gstreamer-1.0-x86_64-1.14.4.zip”;
url = “https://firmware.ardupilot.org/MissionPlanner/gstreamer/gstreamer-1.0-x86_64-1.14.4.zip ”;
}
else
{
output = Settings.GetDataDirectory() + “gstreamer-1.0-x86-1.14.4.zip”;
url = “https://firmware.ardupilot.org/MissionPlanner/gstreamer/gstreamer-1.0-x86-1.14.4.zip ”;
}
status?.Invoke(0, "Downloading..");
try
{
Download.getFilefromNet(url, output, status: status);
status?.Invoke(50, "Extracting..");
ZipFile.ExtractToDirectory(output, Settings.GetDataDirectory());
status?.Invoke(100, "Done.");
}
catch (WebException ex)
{
status?.Invoke(-1, "Error downloading file " + ex.ToString());
So, depending on your system (32 or 64 bit) you can manually download zip archive:
https://firmware.ardupilot.org/MissionPlanner/gstreamer/gstreamer-1.0-x86_64-1.14.4.zip
or
https://firmware.ardupilot.org/MissionPlanner/gstreamer/gstreamer-1.0-x86-1.14.4.zip
and manually put in the directory “C:\ProgramData\Mission Planner”
And MP will successfully extract it.
3 Likes
Thanks mate. worked like a charm.