After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 723772 - gl: Make compatible with DirectX
gl: Make compatible with DirectX
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Windows
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-02-06 15:35 UTC by Julien Isorce
Modified: 2018-11-03 11:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julien Isorce 2014-02-06 15:35:57 UTC
There is an OpenGL extension to convert a DirectX surface to a gl texture: http://developer.download.nvidia.com/opengl/specs/WGL_NV_DX_interop.txt

I think it works in both directions (at least dx surface to gl texture)

gst-launch-1.0 ... ! dxvadec ! glimagesink
gst-launch-1.0 ... ! dxvadec ! gleffects ! d3dvideosink
gst-launch-1.0 videotestsrc ! gleffects ! d3dvideosink
gst-launch-1.0 videotestsrc ! gleffects ! dxvaenc ! h264parse ! ...
gst-launch-1.0 videotestsrc ! gleffects ! dxvadeinterlace ! glimagesink

d3dvideosink:
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/sys/d3dvideosink)

DXVA:
http://en.wikipedia.org/wiki/DirectX_Video_Acceleration
http://msdn.microsoft.com/en-us/library/windows/desktop/ee663582(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms694840(v=vs.85).aspx

For gltexture to dxsurface we would need a new meta GstVideoDXSurfaceUploadMeta
 GST_CAPS_FEATURE_META_GST_VIDEO_DX_SURFACE_UPLOAD_META
With a default upload/download callback that just convert a gl texture to a dx surface. So that every dx element could use it
Comment 1 Sebastian Dröge (slomo) 2014-12-15 09:34:12 UTC
We would also need dxva elements for extra usefulness ;)
Comment 2 GStreamer system administrator 2018-11-03 11:28:43 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/109.