Questions tagged [pygst]

Pygst is the python-binding to the Gstreamer multimedia framework.

Pygst is the python-binding to the Gstreamer multimedia framework.

22 questions
4
votes
2 answers

Python 3 cannot find pygst module

I'm using Ubuntu 13.04 and have python 2.7 and 3.3.2 installed. I have recently started using python 3, but when I trying to import "pygst" gstreamer module, I get an error: ImportError: No module named 'pygst' In python 2.x everything works…
boxeus
  • 384
  • 2
  • 6
  • 13
3
votes
1 answer

OpenCv + Gstreamer + python on linux

I tell them that I need to implement opencv with Gstreamer Hayo but not how to write with opencv on a pipe gstreamer. the idea is to take the image and the webcam through OpenCV and process some filters but with GStreamer. also if I want to tell the…
jota svec
  • 41
  • 1
  • 5
3
votes
1 answer

Installing gstreamer 1.0 on windows for python 2.7.

I've been trying to install gstreamer 1.0 on windows to use as a python 2.7 module. I installed the sdk from here http://docs.gstreamer.com/display/GstSDK/Installing+on+Windows which allows me to import pygst, but it only allows me to use gstreamer…
Forest Hughes
  • 143
  • 1
  • 3
  • 12
2
votes
2 answers

gstreamer dynamic pipeline filesink add, getting not-negotiated error

This works : gst-launch -e v4l2src ! video/x-raw-yuv,width=640,height=480,framerate=30/1 ! tee name=splitter ! queue ! autovideosink splitter. ! queue ! theoraenc ! oggmux ! filesink location=testogg.ogg I'm trying to do the same in a dynamic way…
user1296240
  • 51
  • 1
  • 6
2
votes
1 answer

How to stop Gstreamer from trying to initialize X11

I've been trying to create a simple audio-player which i want to run from the commandline, for this I've used Gstreamer and the pygst python bindings and my code so far looks like this: import pygst pygst.require('0.10') import gst import os class…
Daniel Figueroa
  • 10,348
  • 5
  • 44
  • 66
1
vote
0 answers

video streaming using gstreamer with python

I am new to gstreamer and want to live streaming from a webcam using gstreamer with python. How can I do it? If anyone has a related article or source code please share. I have tried this code: Vidserver.py import gobject, pygst…
1
vote
0 answers

Mysterious segfault using PyGTK and PyGST, runs as intended in gdb

I'm trying to write a proof-of-concept python program to display a video (using gstreamer) in a pyGTK DrawingArea object, with the end goal of a screensaver-like behavior that runs the video in a loop and exits on mouse activity. However when I…
fusorx
  • 111
  • 5
1
vote
1 answer

How to integrate existing gstreamer video stream with python

Hi i'm using gstreamer for multimedia streaming from raspberry pi to remote PC. Im using these piplelines in my raspberry pi raspivid -t 0 -h 720 -w 1080 -fps 25 -hf -b 2000000 -o - | gst-launch- 1.0 -v fdsrc ! h264parse ! rtph264pay…
sai kiran
  • 31
  • 1
  • 8
1
vote
1 answer

Problems with using speex in gstreamer in python

I'm trying to experiment how to use gstreamer in python 3.x for audio encoding and later for streaming, but got stuck unfortunately. I've found this simple audio player, which works fine: import gi gi.require_version('Gst', '1.0') from gi.repository…
Zorgmorduk
  • 1,265
  • 2
  • 16
  • 32
1
vote
1 answer

using gstreamer, playing a playlist without stopping the sink

I want to add playlist functionality to my music player. The first track in the list plays. And typing "next" in the console and hitting return should start playing the next track but song stops playing and nothing happens. setting the state to…
Aman Deep
  • 187
  • 4
  • 11
1
vote
1 answer

python gstreamer memory leak

I am using the following code to show slide show via gstreamer (for simplicity, the following just re-shows the same image every second): # python testcase.py large-image.jpg import gi gi.require_version("Gst", "1.0") from gi.repository import…
themylogin
  • 222
  • 1
  • 10
1
vote
1 answer

GStreamer # symbol in uri of local file

When I try to play local file with "#" in filename on my Linux machine, it displays: Error: message about my installation of GStreamer missing plugin…
d3im
  • 323
  • 2
  • 4
  • 18
1
vote
1 answer

GStreamer: textoverlay is not dynamically updated during play

I wanted to see the current CPU load on top of the video image (source is /dev/video0), and I thought textoverlay element would be perfect for this. I have constructed a (seemingly) working pipeline, except that the textoverlay keeps showing the…
julumme
  • 2,326
  • 2
  • 25
  • 38
1
vote
1 answer

pygst + pyinstaller under OSX

I'm currently trying to bundle this dead simple python script (player.py): #!/usr/bin/env python import sys, os import gobject, glib import pygst pygst.require("0.10") import gst class Player(object): def __init__(self): self.player =…
oxullo
  • 161
  • 1
  • 5
0
votes
0 answers

Accessing UVC camera controls from PyGST

I'm using PyGST to display the feed from a UVC webcam inside a PyQt application. I can access some camera controls, such as brightness and contrast, directly using the corresponding properties of the v4l2src elements. However, I'd like to access…
Wolfy
  • 1,445
  • 1
  • 14
  • 28
1
2