Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Admin message
Our infrastructure migration is complete. Please remember to update your SSH remote to point to ssh.gitlab.freedesktop.org; SSH to the old hostname will time out. You should not see any problems apart from that. Please let us know if you do have any other issues.
This is an archived project. Repository and other project resources are read-only.
The common way to pull in dependencies for a Python project is to install them via pip: either directly, or via an install_requires stanza in setup.py. This requires the dependency to be available on PyPI. As gst-python is not available on PyPI, it can't be pulled in in the normal way.
I realise that the package is somewhat special, requiring various GStreamer headers and introspection data be installed. But if PyGObject can do it, presumably gst-python can too.
My goal is to use mesonpep517 to publish gst-python, it should be quite straight forward but I haven't looked into it yet. I already proposed to move PyGObject to using it instead of having a setup.py.
I was wondering if there was any progress made on this matter. What is the proper way to install the gst-python package?
Can someone refer me to some basic tutorial on how to install this package and get some basic example up and running?
I'd also like to know how to do this. I'm trying to build gstreamer on Windows using meson. A lot of it builds, but gst-python and pygobject are not built. From the meson-log.txt file:
gstreamer-full 1.21.0.1 Build options gstreamer-full library : NO Tools : gst-inspect, gst-stats, gst-typefind, gst-launch, gst-device-monitor, gst-discoverer, gst-play, gst-validate, gst-validate-media-check, gst-validate-images-check, gst-validate-rtsp-server, gst-validate-transcoding, ges-launch Subprojects FFmpeg : YES 26 warnings cairo : YES 1 warnings dv : YES expat : YES fdk-aac : YES fontconfig : YES 4 warnings freetype2 : YES 5 warnings fribidi : YES gi-docgen : NO python3 is missing modules: jinja2, markdown, markupsafe, pygments, toml, typogrify gl-headers : YES glib : YES 1 warnings glib-networking : NO Problem encountered: No TLS backends enabled. Please enable at least one TLS backend gperf : YES graphene : YES 1 warnings gst-devtools : YES 1 warnings gst-editing-services : YES gst-examples : YES gst-integration-testsuites: YES gst-libav : YES gst-omx : NO Feature 'omx' disabled gst-plugins-bad : YES 2 warnings gst-plugins-base : YES 1 warnings gst-plugins-good : YES gst-plugins-rs : NO Feature 'rs' disabled gst-plugins-ugly : YES gst-python : NO Subproject "subprojects/pygobject" required but not found. gst-rtsp-server : YES gstreamer : YES 1 warnings gstreamer-sharp : NO Feature 'sharp' disabled gstreamer-vaapi : NO Feature 'vaapi' disabled gtest : YES harfbuzz : YES 6 warnings json-glib : YES 1 warnings lame : YES libffi : YES libjpeg-turbo : YES libmicrodns : YES libnice : NO Problem encountered: Either GnuTLS or OpenSSL is required as crypto library, but neither was found libopenjp2 : YES libpng : YES libpsl : YES libsoup : YES 4 warnings libsoup3 : NO Neither a subproject directory nor a libsoup3.wrap file was found. libxml2 : YES ogg : YES openh264 : YES openssl : NO Neither a subproject directory nor a openssl.wrap file was found. opus : YES 1 warnings orc : YES 1 warnings pango : YES pcre : YES pixman : YES proxy-libintl : YES pygobject : NO Requested variable "glib_types_h" not found. sqlite3 : YES tinyalsa : NO Neither a subproject directory nor a tinyalsa.wrap file was found. vorbis : YES win-flex-bison-binaries : YES 1 warnings win-nasm : YES 1 warnings zlib : YES
This seems to still be valid, I guess one the mesonpep517 is no longer the best way to do it, https://github.com/mesonbuild/meson-python/ seems to be the newest thing in meson pythoness ?