Can the vaapidecode, vaapipostproc gst elements be used to send raw YUV data to a typical gst sink element, such as xvimagesink or better yet, v4l2sink?
We have written a v4l2sink driver that accepts raw YUV data from a 4K video file, but without the hardware acceleration support, the overall throughput of the pipeline is *very* poor. We installed the vaapi components and Intel driver and the improvement in performance is amazing, but we have only been able to get the standard "vaapi" pipelines working. Can we route the raw, decoded YUV data to a different sink? Working: gst-launch-1.0 filesrc location=demo.mp4 ! vaapidecode ! vaapisink Not working: gst-launch-1.0 filesrc location=demo.mp4 ! qtdemux ! vaapidecode ! xvimagesink gst-launch-1.0 filesrc location=demo.mp4 ! qtdemux ! vaapidecode ! v4l2sink device=/dev/video0 gst-launch-1.0 filesrc location=demo.mp4 ! qtdemux ! vaapidecode ! vaapipostproc ! xvimagesink gst-launch-1.0 filesrc location=demo.mp4 ! qtdemux ! vaapidecode ! vaapipostproc ! v4l2sink device=/dev/video0 gst-launch-1.0 filesrc location=demo.mp4 ! qtdemux ! vaapidecode ! vaapipostproc ! 'video/x-raw, format=NV12, width=1920, height=1080' ! xvimagesink Found this bug but not familiar with vaapi enough to know if this is really related or if the proposed fix would be supported in a gst-launch pipeline. https://bugzilla.gnome.org/show_bug.cgi?id=720174 Any help is greatly appreciated. Glenn ================================================ Ubuntu 13.11.0 Intel Ivybridge, Core i7-3517UE @ 1.70GHz Mobile Intel QM77 Express chipset GPU HD 4000 grace@4ksrv:~$ vainfo libva info: VA-API version 0.33.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/i386-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_33 libva info: va_openDriver() returns 0 vainfo: VA-API version: 0.33 (libva 1.1.1) vainfo: Driver version: Intel i965 driver - 1.0.20 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileH264Baseline : VAEntrypointVLD VAProfileH264Baseline : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointVLD Glenn Racette RightHand Technologies www.righthandtech.com<http://www.righthandtech.com/>
_______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva
