qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

Video lag

Open darshan-crypto opened this issue 10 months ago • 4 comments

Expected Behavior

I expected the video feed to stream smoothly and without any significant delay.

Current Behavior

The video feed is lagging consistently, with a delay of several seconds between real-world events and their appearance in the video stream.

System Information

When posting bug reports, include the following information

  • Operating System: Android
  • QGC Version: v4.3.0
  • QGC build: stable

Video

https://github.com/mavlink/qgroundcontrol/assets/76841538/c2de50ce-05dc-4b3a-88a1-f7690b4e4f4a

darshan-crypto avatar Apr 05 '24 06:04 darshan-crypto

This will likely be better in v5.0

HTRamsey avatar May 01 '24 19:05 HTRamsey

As another data point. I also have noticed my streams become more laggy and choppy recently recently.

Here is a video from version v4.4.0

https://github.com/user-attachments/assets/2902efba-1b28-4766-81a4-dfda582cf955

Here is a clip after I downgraded to v4.2.7

https://github.com/user-attachments/assets/daa9f13b-1af4-434d-ade4-83c3fb130815

Adding this as a data point. Not sure what has changed in the last year, but I hope it gets better in v5.0! When is v5.0 supposed to be released? Also, If I build the project from source, would I be able to get the v5 improvements now?

ericjohnson97 avatar Jul 14 '24 23:07 ericjohnson97

Yeah the daily is running gstreamer 1.22.12 vs 1.18.5 in the older versions. Also, I have been working on adding an alternative QtMultimedia based video receiver that uses ffmpeg instead

HTRamsey avatar Jul 14 '24 23:07 HTRamsey

I got curious and downloaded the apk from here https://github.com/mavlink/qgroundcontrol/actions/runs/9929355840

I can confirm the video is much better. Also it looks like there are big changes coming to QGC in the next release. whoa!

Since there seems to be a lot of changes in this build from the last release. I'll probably stick with running 4.2.7 for the time being just to be safe. I would be interested in helping test the next version when the time comes. Where is the best place to stay in the loop on development?

ericjohnson97 avatar Jul 15 '24 01:07 ericjohnson97