bootlin / libva-v4l2-request

LibVA implementation for the Linux Video4Linux2 Request API
Other
76 stars 59 forks source link

Image fixes #21

Closed ndufresne closed 5 years ago

ndufresne commented 5 years ago

This my initial bug fix patchset to make this driver works with GStreamer. This makes the slow path works in NV12 with Cedrus driver.

export LIBVA_V4L2_REQUEST_VIDEO_PATH=/dev/video2
export LIBVA_V4L2_REQUEST_MEDIA_PATH=/dev/media1
export LIBVA_DRIVERS_PATH=~/libva-v4l2-request/build/src
export LIBVA_DRIVER_NAME=v4l2_request
export GST_VAAPI_DISABLE_VPP=1
export GST_VAAPI_ALL_DRIVERS=1
gst-launch-1.0 filesrc location=ken.mp4 ! parsebin ! vaapih264dec ! kmssink plane-properties=s,zpos=1
paulkocialkowski commented 5 years ago

Thanks for the fixups, looks good to me! I just picked-up the patches along with latest UAPI updates and tested on cedrus with VLC.