gstreamer

How do I find the length of media with gstreamer?

How do I find the playback time of media with gstreamer? ...

How to use gnlcomposition to concatenate video files?

Hi All, I am trying to concatenate two video files with the gnonlin components of the gstreamer. The pipeline I am using is gst-launch-0.10 gnlcomposition { gnlfilesource name="s1" location="/home/s1.mp4" start=0 duration=2000000000 media-start=0 media-duration=2000000000 gnlfilesource name="s2" location="/home/s2.mp4" start=2000000...

gstreamer libary unresolved include

Hi I wrote a simple C code with gstreamer libs( gstreamer example code manual ref ) The gstreamer headers are into /usr/include/gstreamer-0.10/gst into my C code I wrote: include "gstreamer-0.10/gst/gst.h" I have this error: there are unresolved includes inside How to solve the problem? I thank you... ...

Is there any Graph Builder for GStreamer?

Is there any Graph Builder for GStreamer? So to say you build graph you get code ...

Where to get live video streaming examples ( GStreamer )?

Where to get live video + audio streaming examples ( GStreamer )? So for example streaming from File or Web camera to some web address ...

Raw Audio Conversion

While, I'm reading gstreamer document I found this: " Audioconvert converts raw audio buffers between various possible formats. It supports integer to float conversion, width/depth conversion, signedness and endianness conversion and channel transformations." I only understand "depth" (bit number per sample) "signedness and endianness"...

Python and Gstreamer

hi, I'm creating a streaming application, using GStreamer with TCP pipeline, and i implemented start, pause, and stop. but the problem is, that i can't seek, i tried to change the playback value from the server side, then i tried on the client side, and Finally tried to change the value on both at the same time, but in all cases it does...

moving audio over a local network using GStreamer

I need to move realtime audio between two Linux machines, which are both running custom software (of mine) which builds on top of Gstreamer. (The software already has other communication between the machines, over a separate TCP-based protocol - I mention this in case having reliable out-of-band data makes a difference to the solution). ...

Qt gstreamer problem

Ptterb can you post your full code please? I copied your code. Added fvidscale_cap to pipeline, with: self.player.add(self.source, self.scaler, self.fvidscale_cap, self.sink) gst.element_link_many(self.source,self.scaler, self.fvidscale_cap, self.sink) From the main program I create a new QWidget, and pass its winId() to Vid construc...

How to debug lost events posted from non-GUI thread in Qt?

As the subject says, I'm posting events from non-GUI thread (some GStreamer thread, to be precise). Code looks like this: GstBusSyncReply on_bus_message(GstBus* bus, GstMessage* message, gpointer data) { bool ret = QMetaObject::invokeMethod(static_cast<QObject*>(data), "stateChanged", Qt::QueuedConnection); Q_ASSERT(ret); r...

Alpha plugin in GStreamer not working

Hi! I'm trying to compose two videos, and I'm using the alpha plug-in to make the white color transparent. To test the alpha plug-in I'm creating the pipeline with gst-launch. The first test I done was: gst-launch videotestsrc pattern=smpte75 \ ! alpha method=custom target-r=255 target-g=255 target-b=255 angle=10 \ ! videomix...

How do I connect from an XPCOM object to a GStreamer plugin in a Songbird addon?

Hi all, I am writing a Songbird addon, with three parts: XUL (javascript), a GStreamer filter and an XPCOM addon. I am interested in accessing the GStreamer layer from my XPCOM component. If anyone knows any resources on how to do that I'd be grateful. Specifically, I need documentation or examples on accessing the GStreamer functiona...

ruby-gstreamer doesn't send EOS message

I've managed to make it play sound but it never gets EOS message. And thus script never exits. require 'gst' main_loop = GLib::MainLoop.new pipeline = Gst::Pipeline.new "audio-player" source = Gst::ElementFactory.make "filesrc", "file-source" source.location = "/usr/share/sounds/gnome/default/alerts/bark.ogg" decoder = Gst::El...

Why does use of H264 in sender/receiver pipelines introduce just HUGE delay?

When I try to create pipeline that uses H264 to transmit video, I get some enormous delay, up to 10 seconds to transmit video from my machine to... my machine! This is unacceptable for my goals and I'd like to consult StackOverflow over what I (or someone else) do wrong. I took pipelines from gstrtpbin documentation page and slightly mo...

Gstreamer of python's gst.LinkError problem

I am wiring a gstreamer application with Python. And I get a LinkError with following code: import pygst pygst.require('0.10') import gst import pygtk pygtk.require('2.0') import gtk # this is very important, without this, callbacks from gstreamer thread # will messed our program up gtk.gdk.threads_init() def main(): pipeline = ...

Needed environment for building gstreamer plugins in Windows

Hi, I've been strugling for two weeks to create an environment for building a gstreamer plugin on windows (needed for a songbird addon). I've installed MSYS, MinGW and Cygwin, then installed GStreamer OSSBuild, and I also downloaded the sources for Songbird, which come with their own precompiled version of gstreamer. I was unable to r...

Why does this gstreamer pipeline stall ?

This works: gst-launch-0.10 \ videotestsrc ! ffmpegcolorspace ! 'video/x-raw-yuv' ! mux. \ audiotestsrc ! audioconvert ! 'audio/x-raw-int,rate=44100,channels=1' ! mux. \ avimux name=mux ! filesink location=gst.avi I can let it run for a while, kill it, and then totem gst.avi displays a nice test card with tone. However, trying to do ...

How to view video from a VC500 Capture Device via gstreamer-java in Windows 7

I'm trying to build a pipeline with gst-launch in Windows 7 that will view a stream from a VC500 Video Capture device (Captures composite video and inputs to computer via USB). I think my biggest issue here is the fact that it MUST be done in Windows. I'm finding a lot of the plugins for gstreamer-java are supported in Linux instead of W...

dynamically (un)link elements in a running (gstreamer) pipeline?

there are plenty of examples in the gstreamer documentation on constructing and running static pipelines. however, there isn't much about changing/relinking elements in a live pipeline - while the media is actually flowing. it's definitely possible, so the question is: what gstreamer concepts/mechanics should i understand before attemp...

How do I diagnose problems in loading a gstreamer plugin?

Hi, I have created a gstreamer plugin with an element inside that would generate some data when put in a pipeline (by following the GStreamer Plugin Writer's Guide). My problem is that I cannot load my plugin in a test application. When I call gst_element_factory_make("myextractor", NULL) the result is always NULL. More data (I'm not ...