Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gstreamer-vaapi
gstreamer-vaapi
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 137
    • Issues 137
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 12
    • Merge Requests 12
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GStreamer
  • gstreamer-vaapigstreamer-vaapi
  • Issues
  • #204

Closed
Open
Opened Dec 07, 2019 by derpeter@derpeter

vaapipostproc crops instead of scale on intel HD3000 if format=i420 set

the follwing example works on newer intel GPUs but not on older models

tested and works on:

  • ivy bridge (Intel HD Graphics 4000)
  • sky lake (Intel HD Graphics 530)
  • kaby lake (Intel HD Graphics 620)
  • gemini lake (Intel UHD Graphics 600)

but does not work on:

  • sandy bridge (Intel HD Graphics 3000)

gst-launch-1.0 videotestsrc ! video/x-raw,width=1920,height=1080 ! vaapipostproc format=i420 width=1024 height=576 ! xvimagesink

if the "format=i420" is removed from the line it also works on the old one.

The issue is that the resulting video is not scalled by vaapipostproc but cropped from the top left corner. If e.g.format=yv12 is set it works like expected on all GPUs.

Even with -vvv gstreamer is not reporting an error or a warning so i assume its not aware that something is wrong. Looking at the debug out one can see that the testsource is providing i420 and if no format is set vaapipostproc defaults to yv12.

I'm actually not sure if the is a gstreamer or libva or intel driver or even a hardware issue and am also not sure how to figure that out ;-)

a) is this a gestreamer bug? b) is there a way to detect of the GPU can do the conversion or not? c) any hints what to read to figure out the limitation of the different GPU generations

All test are done with Ubuntu 19.10 gstreamer 16.1, vainfo: VA-API version: 1.5 (libva 2.5.0)

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gstreamer/gstreamer-vaapi#204