python에서 gstreamer 테스트 하기 for MacOS
$ brew install pygobject3 gtk+3 $ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/local/opt/libffi/lib/pkgconfig" $ pip install gobject PyGObject
0 Comments
January 14, 2020
$ brew install pygobject3 gtk+3 $ export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/local/opt/libffi/lib/pkgconfig" $ pip install gobject PyGObject
MacOS에서 PyGObject 패키지를 pip으로 설치하는 과정에서 다음과 같은 오류가 발생했다. ERROR: Command errored out with exit status 1: command: /Users/victor/venv/dev_py36/bin/python /Users/victor/venv/dev_py36/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/cb/hj031cjn06v25qv773t8s7qm0000gn/T/tmps1lk36vj cwd: /private/var/folders/cb/hj031cjn06v25qv773t8s7qm0000gn/T/pip-install-gm85uy4t/PyGObject Complete output (43 lines): running…
설치 $ brew install gstreamer gst-plugins-base gst-plugins-good 테스트 명령 $ gst-launch-1.0 videotestsrc ! videoconvert ! autovideosink