Giter Club home page Giter Club logo

Comments (4)

HTRamsey avatar HTRamsey commented on June 12, 2024

Could you enable extra GStreamer debugging in the console and see if it is the same error as in #11244? Has to do with the udpsrc buffer size. I wonder if only udp related autoconnect settings are affecting this for you. We are forced to use an older gstreamer on linux only and maybe that is part of the problem. Maybe I can install Ubuntu 24.04 and try it.

from qgroundcontrol.

nechtobolshee avatar nechtobolshee commented on June 12, 2024

@HTRamsey Hello! Thank you for your response.
It seems to me that in this case, the GStreamer logs won't provide much information.
If you still need to get this information, I can provide it. Here is a more detailed description of the problem I encountered:

  1. pymavlink doesn't have a native H265 type, so I'm using mavlink.VIDEO_STREAM_TYPE_RTPUDP.
    image

  2. As a result, when QGroundControl retrieves the stream information and tries to parse it, the following issue occurs:

In src/VideoManager/VideoManager.cc - QGC sets the prefix "udp://" for the H265 stream, which later causes a crash because the H265 stream is attempted to be read as H264

case VIDEO_STREAM_TYPE_RTPUDP:

Additional stream info:
image

I would appreciate your help and a prompt resolution to the issue.

from qgroundcontrol.

nechtobolshee avatar nechtobolshee commented on June 12, 2024

@HTRamsey Hello!
Are there any updates regarding this bug?
Thank you!

from qgroundcontrol.

HTRamsey avatar HTRamsey commented on June 12, 2024

I will look into it deeper over this weekend/next week considering the extra info you provided. GStreamer isn't my expertise so it depends a little bit on if the problem is just QGC setting video up or an actual GStreamer configuration problem. In the worst case scenario, I have another PR that will introduce QtMultimedia as an alternative Video Player (which will use FFMPEG) and that should hopefully resolve the problem with all of the same functionality.

from qgroundcontrol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.