- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am writing a gstreamer application which uses mfxdecode for decoding h264 frames. As per my understanding mfxdecode uses the memory of type MFXSurface and outputs buffers. However my requirement is to have DMBuf.
I checked the gst-inspect output for mfx plugins, I see that these plugin do have support for DMABuf. However when I set the caps to receive the DMABuf, decode crashes (Seg fault).
Query: Does the media SDK really have support for DMABufs. Is it tested for DMABuf? If yes, can you please share the sample pipeline for the same.
Details :-
SOC : Intel apollo lake
Version : 1.3.3
Thank in Advance.
Regards,
- Pushpavati
- Tags:
- Development Tools
- Graphics
- Intel® Media SDK
- Intel® Media Server Studio
- Media Processing
- Optimization
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pushpavati,
Which Gstreamer plugin are you using, is it this one in the GitHub?
https://github.com/intel/gstreamer-media-SDK
You can check this document for DMA buffer usage, you might need to add "io-mode=5":
https://github.com/intel/gstreamer-media-SDK/blob/master/README.USAGE
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mark,
Thank you for the reply.
Below are the further details about the application :-
I am using the code from path :https://github.com/intel/gstreamer-media-SDK/tree/v1.3.3 - Version 1.3.3
The pipeline executed in the application is :-
udpsrc port=<1234> caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264,payload=(int)96" ! rtph264depay ! h264parse ! mfxdecode ! filesink location=/tmp/filesink.dump
Here I am using udpsrc, mfxdecode plugins. As per my understanding io-mode=5 property is for v4lsrc plugin.
Also the frames are reaching till sink element. Only issue that I am facing is the output memory type from mfxdecode plugin. It is providing the buffer in MFXSurface type where as the requirement is for DMABuf.
Please suggest method to get the buffers in DMABuf memory format.
Thank you in Advance.
Rgds,
- Pushpavati
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pushpavati,
Could you report this issue directly in the GitHub? this plugin is supported by different Intel team, it would be speed up the resolution if you can ask them directly.
The GStreamer is not part of the MediaSDK so it takes time for me to do the investigation.
Mark
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page