Skip to content

Instantly share code, notes, and snippets.

neilyoung

Block or report user

Report or block neilyoung

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@neilyoung
neilyoung / opencv_3.4.4_kms_6.9.0.md
Last active Dec 15, 2018
OpenCV 3.4.4 and Kurento Media Server 6.9.0
View opencv_3.4.4_kms_6.9.0.md

KMS 6.9.0 and OpenCV 3.4.4 on Ubuntu 16.04 LTS

This gist is the result of my work trying to make OpenCV3 run together with Kurento Media Server 6.9.0. The primary focus is on developing a custom KMS OpenCV plugin based on OpenCV3, which is currently not possible. GStreamer plugin things are left aside. I strongly recommend to execute each of the steps one after the other in a separate, brand new VM, hosted by a Virtual Machine Manager of your choice. I have used VirtualBox on Ubuntu 16.04 for it.

This tutorial is based on an Amazon EC2 instance as host, running Ubuntu 16.04. It has also been tested with Ubuntu 16.04 desktop in VirtualBox VM.

Because I'm not an OpenCV expert (having done this in order to support a colleague), I don't really know, if my attempts have shown full success or if there are still some blocking stones down the road: Basically my test plugin is just grayscaling the incoming video. I'm pretty sure, that each of the steps executed as shown in each box, will show success a

@neilyoung
neilyoung / receipt5.md
Last active Jun 26, 2019
How to make a Raspberry Pi an RTSP streamer and how to consume this?
View receipt5.md

How to make a Raspberry Pi an RTSP streamer and how to consume this?

You should perform the following steps on a new SD card. Don't mess with existing solutions. It is not worth the $5 to loose something working.

I'm used to use Raspbian, so my suggestion is to go to https://www.raspberrypi.org/downloads/raspbian/ and download the latest Raspbian Stretch Lite. Flash it to your SD card. Mine have usually 16 GB, but maybe smaller work too. I'm using Etcher on macOS, a great tool for flashing.

After successful flashing enable ssh and prepare a running Wifi configuration.

A Wifi adapter should be attached to your Pi of course.

@neilyoung
neilyoung / receipt4.md
Last active Aug 19, 2018
How to make an Ubuntu 16.04 an RTSP streamer and how to consume that?
View receipt4.md

How to make an Ubuntu 16.04 an RTSP streamer and how to consume that?

Prerequisites

It is recommended to to the following steps in a new VM in order to not accidently mess up an existing installation!

sudo apt-get install build-essential
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install libglib2.0-dev
@neilyoung
neilyoung / receipt.md
Last active Jan 27, 2019
Kurento Media Server 6.7.1 and OpenCV 3.4.2
View receipt.md

KMS 6.7.1 and OpenCV 3.4.2 on Ubuntu 16.04 LTS

This gist is the result of my work trying to make OpenCV3 run together with Kurento Media Server 6.7.1. The primary focus is on developing a custom KMS OpenCV plugin based on OpenCV3, which is currently not possible. GStreamer plugin things are left aside. I strongly recommend to execute each of the steps one after the other in a separate, brand new VM, hosted by a Virtual Machine Manager of your choice. I have used VirtualBox on Ubuntu 16.04 for it. My VM (english system) is running Ubuntu 16.04 LTS Desktop, using a memory size of 4 GB and a disk size of 20 GB. Tried it also on my Mac with Parallels Desktop.

Because I'm not an OpenCV expert (having done this in order to support a colleague), I don't really know, if my attempts have shown full success or if there are still some blocking stones down the road: Basically my test plugin is just grayscaling the incoming video. I'm pretty sure, that each of the steps executed as shown in each bo

You can’t perform that action at this time.