Relative Content

Tag Archive for pythongstreamerpython-gstreamer

Python using GStreamer on Linux – no audio if invoked with interpreter name other than “python”

I’ve built a hobby media management application in Python on Linux. For video playback (think holiday movies) I recently switched from libvlc to using GStreamer. Today I chased down a strange problem where the application would correctly play sound when invoked from the terminal, but not under PyCharm. After much digging and comparing invocation (PYTHONPATH etc.) I realized I invoked the app by typing python /gallery.py while PyCharm uses python3 /gallery.py.