Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-bad gst-plugins-bad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 973
    • Issues 973
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 104
    • Merge requests 104
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #914
Closed
Open
Issue created Mar 06, 2019 by Koryun Khachatryan@kkoryun

fpsdisplaysink plugin with vaapi video sink

Hi,

I try to use fpsdisplaysink in pipeline with VAsurface (accordingly set video-sink=vaapisink). And catching error when text overlay trying to write fps on VAsurface. I can fix this by adding the conversion to system memory before fpsdisplaysink ( vaapipostproc ! video/x-raw ). Maybe the text overlay plugin should be able to draw on VAsurface or setting caps video/x-raw before drawing.

gst-launch-1.0 --gst-plugin-path ${GST_PLUGIN_PATH}
filesrc location=$FILE ! decodebin ! video/x-raw(memory:VASurface) !
gvadetect inference-id=inf0 model=${MODEL} device=GPU every-nth-frame=1 batch-size=1 ! queue !
gvawatermark ! videoconvert ! fpsdisplaysink video-sink=vaapisink sync=false

call stack: ** (gst-launch-1.0:26): CRITICAL **: gst_vaapi_surface_associate_subpicture: assertion 'subpicture != NULL' failed Caught SIGSEGV #0 0x00007f311a62a74d in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f311ab6038c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 (closed) 0x00007f311ab60712 in g_main_loop_run () #3 (closed) 0x00007f311b0c0d29 in gst_bus_poll (bus=bus@entry=0x1b48260, #4 0x0000000000404bb0 in event_loop (pipeline=0x1ee00d0, #5 (closed) 0x0000000000403b0e in main (argc=23, argv=0x7ffec058f0a8) Spinning. Please run 'gdb gst-launch-1.0 26' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

Assignee
Assign to
Time tracking