Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 pipewire-media-session &

+

+pw-capture &


Change 4:

cd build-raspberrypi3-rdk-camera/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/pipewire/0.3.52-r0/git/src/examples

pw-capture.cpp

Copy this pw-capture.cpp file to above directory


Change 5:

cd build-raspberrypi3-rdk-camera/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/pipewire/0.3.52-r0/git/src/examples

vi meson.build

Add below lines in end of the file

opencv = dependency( 'opencv4' )

executable('pw-capture',
  'pw-capture.cpp',
  c_args : [ '-D_GNU_SOURCE' ],
  install : true,
  dependencies : [pipewire_dep, mathlib, opencv],
)


Change 5:

cd meta-cmf-raspberrypi/recipes-core/packagegroups/

vi packagegroup-rdk-oss-camera.bbappend

Add opencv component in Camera build

                         wpa-supplicant \

+                       opencv \


Change 6:

cd meta-cmf-raspberrypi/recipes-multimedia

thumbnail.tar.gz 

Untar and copy this thumbnail folder to above directory


Change 7:

cd meta-cmf-raspberrypi/recipes-support/opencv

opencv_4.1.0.bbappend

Copy this opencv bbappend file to above directory


Change 8:

cd meta-cmf-camera/recipes-multimedia/pipewire

vi pipewire_git.bbappend

Add below line in this pipewire bbappend file

TARGET_CXXFLAGS += "-fpermissive"


Change 9:

cd build-raspberrypi3-rdk-camera/tmp/work/cortexa7t2hf-neon-vfpv4-rdk-linux-gnueabi/pipewire/0.3.52-r0/recipe-sysroot/usr/include/opencv4/opencv2/flann

vi logger.h

Line number : 81

        int ret;

        //int ret = vfprintf(stream, fmt, arglist);

DId above two line changes in this logger.h file


Change 10:

cd meta-openembedded/meta-oe/recipes-multimedia/pipewire

vi pipewire_git.bb

-DEPENDS = "alsa-lib dbus udev"

+DEPENDS = "alsa-lib dbus udev opencv"

Added opencv dependency component for PipeWire


Lighttpd Changes

lighttpd.conf

...