Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gstreamer-vaapi gstreamer-vaapi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 126
    • Issues 126
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • 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
  • gstreamer-vaapigstreamer-vaapi
  • Issues
  • #250
Closed
Open
Issue created Apr 24, 2020 by Alexey Fadeev@defident39

vaapipostproc: upstream caps negotiation with qtdemux fails

Hi,

I built gstreamer-vaapi 1.16 from the source code in my docker image (Ubuntu18.04 with GStreamer1.16.2 and MediaSDK19.3.1 already installed) using the following command:

meson -Dpackage_origin="${PACKAGE_ORIGIN}" --prefix=${PREFIX} --libdir=${LIBDIR} --buildtype=debug --libexecdir=${LIBEXECDIR} build/ && ninja -C build && DESTDIR=/home/build meson install -C build/ && meson install -C build/

I'm trying to convert to BGRx format using vaapipostproc, but following pipelines are not working:

GST_DEBUG=4

gst-launch-1.0 filesrc location=/path/to/video.mp4 ! qtdemux ! vaapih264dec ! vaapipostproc ! video/x-raw,format=BGRx ! fakesink sync=false

gst-launch-1.0 -v videotestsrc pattern=snow ! video/x-raw,width=1280,height=720 ! vaapipostproc ! video/x-raw,format=BGRx ! fakesink sync=false

Excerpts from the log:

0:00:01.216180627 1440 0x55f96f3c04f0 WARN basetransform gstbasetransform.c:1364:gst_base_transform_setcaps: transform could not transform video/x-raw(memory:VASurface), format=(string)NV12, width=(int)1280, height=(int)720, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24000/1001 in anything we support 0:00:01.216195149 1440 0x55f96f3c04f0 WARN qtdemux qtdemux.c:6605:gst_qtdemux_loop: error: Internal data stream error. 0:00:01.216199268 1440 0x55f96f3c04f0 WARN qtdemux qtdemux.c:6605:gst_qtdemux_loop: error: streaming stopped, reason not-negotiated (-4)

qtdemux.log videotestsrc.log

Edited Apr 24, 2020 by Alexey Fadeev
Assignee
Assign to
Time tracking