# Record DRM

**URL:** https://forums.developer.nvidia.com/t/record-drm/262940
**Category:** Jetson TX2
**Tags:** gstreamer, camera
**Created:** [August 12, 2023, 6:32am UTC](https://forums.developer.nvidia.com/t/record-drm/262940 "2023-08-12T06:32:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hhami.20401](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@hhami.20401](https://forums.developer.nvidia.com/u/hhami.20401)
#### Post date: [August 12, 2023, 6:32am UTC](https://forums.developer.nvidia.com/t/record-drm/262940/1 "2023-08-12T06:32:54Z")

</div>

Hi guys,  
As I know, Tegra tx2 DRM( direct render manager) has 2 render layer for each connector one crtc and one plane that can be blended with desired alpha.  
for example " /usr/src/nvidia/graphics\_demos/prebuilts/bin/egldevice/gears" has property like “-layer” that get just “0” and “1”.  
As you know we use egldevice DRM window not x11 or wayland. we are in multi-user.target mode.  
so how can we record what is shown( blended with desired alpha) in both layers in EGLdevice DRM.  
Thanks so much

---

<div class="post-metadata">

### Author: ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)
#### Post date: [August 14, 2023, 5:50am UTC](https://forums.developer.nvidia.com/t/record-drm/262940/3 "2023-08-14T05:50:36Z")

</div>

Hi,  
We don’t support the use-case. A possible solution is to encode the video planes. You can put data into NvBuffer and use hardware encoder to encode to h264 or h265 stream.

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)
#### Post date: [September 12, 2023, 7:40am UTC](https://forums.developer.nvidia.com/t/record-drm/262940/5 "2023-09-12T07:40:20Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
