- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using a video captrue card by PCIe and I want to perform encoding with Intel media SDK. I notice that the surface which we load frame is empty when I test the screen captrue function.Thus,I think this function may load video frame from gpu memory using the plugin directly.I want to load my video frame from gpu memory directly by DMA and encode it.Is there a sample to tell me how to load one frame from GPU memory and encode it? My CPU is i5-7500,thank u
- Tags:
- Development Tools
- Graphics
- Intel® Media SDK
- Intel® Media Server Studio
- Media Processing
- Optimization
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ixk,
I will investigate if there is a sample that shows how to encode a frame from GPU memory and get right back to you.
Kind Regards,
Monique Jones
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, lxk
my understanding is that video capture hardware got the raw video frame, and the frame needed to feed into the encoder. you need a way to feed the video frame into encoder in the video memory. C-for-media has gpu copy routine to copy data from video memory to video memory. The GPU copy routine will show good performance if frame size is bigger. Here is the link for C-for-media
Intel Media Driver for VAAPI and Intel® C for Media Runtime: https://github.com/intel/media-driver/
· Intel C for Media Compiler and examples: https://github.com/intel/cm-compiler/
Are using window OS and Linux? C--for-media supports both. There is example directory. You can see there is GPUcopy_API_Test example.
You can reference it.
Thanks
Yi
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page