Giter VIP home page Giter VIP logo

gstreamer-sample-metadata's People

Contributors

jayveeangeles avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

gstreamer-sample-metadata's Issues

Sending meta over UDP

Hello! First of all, thank you for isolating these, they were quite useful to me.

Have you managed to send these metadata structs through UDP? I'm adding the meta and retrieving it to buffers via element pads, but as soon as I introduce an UDP sink/source they are lost. Here's an example pipeline plus some hints on the padded elements:

  • sender: Writes an integer to the meta. Always succeeds.
  • receiver: Reads such integer from the meta. Always succeeds.
  • receiver_udp: Reads such integer from the meta after UDP streaming.
    • If UDP is disabled (see #if *** #endif) it can successfully read the data after encoding & decoding the buffer (rtp payload + h264).
    • If UDP is enabled, fails to read the meta: the output of GST_DETECTIONMETAS_GET is null.
const gchar *pipeline_str =
        "   videotestsrc name=src "
        " ! queue max-size-buffers=10 "
        " ! identity name=sender "
        " ! identity name=receiver "
        " ! x264enc tune=zerolatency "
        " ! rtph264pay config-interval=-1 "
#if 1
        " ! udpsink host=127.0.0.1 port=1234 async=false "
        " udpsrc port=1234 "
#endif
        " ! application/x-rtp "
        " ! rtph264depay "
        " ! h264parse config-interval=-1 "
        " ! avdec_h264  "
        " ! identity name=receiver_udp "
        " ! videoconvert "
        " ! autovideosink ";

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.