This application allows you to overlay image in the video stream based on nginx. We take the video stream from the server, process it, overlay the picture we need, and send the updated stream to Twitch. The main part is written on a python, an auxiliary on with C++. Merge with Cython.
Technologies: -OpenCV
To start muxing.c:
New comand:
$ gcc -L/usr/lib/x86_64-linux-gnu -L. -lmuxing_g muxing_py.c -shared -o muxing_py.so -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -fPIC -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -ldl -lm -llzma -lz -pthread -g -L/usr/lib/x86_64-linux-gnu -lswresample-ffmpeg -lm -lavutil-ffmpeg -L/usr/lib/x86_64-linux-gnu
$ gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample -o doc/examples/muxing_g doc/examples/muxing.c -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -ldl -lxcb -lxcb-shm -lxcb -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb -lxcb-shape -lxcb -lX11 -lasound -lm -llzma -lz -pthread -g -Wno-deprecated-declarations -Werror"
build setup.py
$ python setup.py build_ext --inplace