Project

General

Profile

DRM decryption (from LG) » History » Version 2

Alex Seferidis, 07/22/2025 11:29 AM

1 1 Alex Seferidis
# DRM decryption (from LG)
2
3
Enable DRM decryption for live streams using PIM library from Zenyth company. (as LG monitors can do with LG headends)
4
5
1. to build the new libgstmpegtsdemux.so for gstreamer
6
   
7 2 Alex Seferidis
   copy mpegtsdemux folder to /data/Yocto/poky/build-rockchip/tmp/work/armv8a-poky-linux/gstreamer1.0-plugins-bad/1.20.7-r0/gst-plugins-bad-1.20.7/gst/mpegtsdemux
8 1 Alex Seferidis
   new files are: meson.build files, tsdemux.c, mpegtspacketizer.c
9
10
2. force build gst-plugins-bad-1.20.7 from yocto
11 2 Alex Seferidis
12
```
13
source oe-init-build-env build-rockchip/
14
bitbake gstreamer1.0-plugins-bad -c compile -f
15
```
16 1 Alex Seferidis
17
3. for succefull build (gst-plugins-bad) copy library and include files to gstreamer1.0-plygins-bad/1.20-7/recipe-sysroot
18
19
4. to the device
20
   copy include files to /usr/include
21
   copy librkcrypto.so to /usr/lib
22
   extract lib_aarch64.zip and copy to /usr/lib
23
   copy provided libgstmpegtsdemux.so to /usr/lib/gstreamer
24
25
   init_system script can do the above operations (library files must be in /firmware/htdocs/python folder)
26
27
5. pim_v4_14.tar contains the SDK, you can build test software for linux PC or aarch64 devices
28
   documentation for PIM library included