Project

General

Profile

Actions

DRM decryption (from LG)

Enable DRM decryption for live streams using PIM library from Zenyth company. (as LG monitors can do with LG headends)

  1. to build the new libgstmpegtsdemux.so for gstreamer

    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
    new files are: meson.build files, tsdemux.c, mpegtspacketizer.c

  2. force build gst-plugins-bad-1.20.7 from yocto

source oe-init-build-env build-rockchip/
bitbake gstreamer1.0-plugins-bad -c compile -f
  1. for succefull build (gst-plugins-bad) copy library and include files to gstreamer1.0-plygins-bad/1.20-7/recipe-sysroot

  2. to the device
    copy include files to /usr/include
    copy librkcrypto.so to /usr/lib
    extract lib_aarch64.zip and copy to /usr/lib
    copy provided libgstmpegtsdemux.so to /usr/lib/gstreamer

    init_system script can do the above operations (library files must be in /firmware/htdocs/python folder)

  3. pim_v4_14.tar contains the SDK, you can build test software for linux PC or aarch64 devices
    documentation for PIM library included

Updated by Alex Seferidis 5 months ago ยท 2 revisions