Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • cerbero cerbero
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 99
    • Issues 99
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • cerberocerbero
  • Issues
  • #354

Closed
Open
Created Dec 14, 2021 by Shahanas Shajahan@Shah

Memory leak when using gst_app_sink_pull_sample

Hi all, I am struggling with a strange memory leak problem for the past three weeks. I am using: GStreamer Core Library version 1.18.4 Windows 10 Qt 5.15.1 (MSVC 2019, 64 bit) I have two gstreamer pipelines for sending and receiving video: Sender: gst-launch-1.0 filesrc location=path/to/.mov ! qtdemux ! queue ! decodebin ! videoconvert ! videoscale ! openh264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5000 Receiver: gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! openh264dec ! videoconvert ! queue ! autovideosink From the command line with autovideosink, its working but with quality of video highly reduced. I need my receiver in QT and need to display video in QML, video is displaying in QML but memory is heavily increasing at a rate of almost 0.5GB per frame and later slow down the system heavily. I run gstreamer in a separate thread and used gst_app_sink_set_drop(appsink, true) for dropping old buffers and gst_app_sink_set_max_buffers(appsink, 1) to set the maximum amount of buffer that can be queued in appsink. But still memory leak occurs.

Edited Dec 26, 2021 by Shahanas Shajahan
Assignee
Assign to
Time tracking