I have an ogg vorbis video. It plays fine in totem and mplayer. I want to covert it to a sequnces of images, one image per frame. I can do this on ffmpeg with the following command:
ffmpeg -i video.ogv -f image 2 video-frames-%08png
However that doesn't work for this video. Each frame is all grey as if there has been loads of decoding...
Dear all,
I'working on this nice example that shows a webcam output in a GTK widget with python and GStreamer:
http://pygstdocs.berlios.de/pygst-tutorial/webcam-viewer.html
here is the code:
#!/usr/bin/env python
import sys, os
import pygtk, gtk, gobject
import pygst
pygst.require("0.10")
import gst
class GTK_Main:
def __init__(sel...
I'm extending my Python program with a C module that uses the GstPhotography interface for GStreamer. My C module compiles fine, but when I try running it from Python, I get this error:
$python Program.py
Traceback (most recent call last):
File "Program.py", line 10, in <module>
import MyPythonClass
File "/path/MyPythonClass....
Hi
I need to stream rtsp / http stream and when i create an element source using
source = gst_element_make_from_uri();
it doesn't work. Has anybody used gstreamer for streaming rtsp / http streams.
Please help.. I am attaching the code snippet also
source = gst_element_make_from_uri (GST_URI_SRC,"http://76.73.90.27:80/" ,NULL);
dec...
I'd like to take a set of images and a sound track and use that to form a basic video slideshow using gstreamer.
There seems to be a lot of documentation and examples of basic gstreamer usage like playing a video or audio file, or even transcoding and the like. But I can't seem to find anything particularly useful for, I suppose, video ...
For the program I'm making with DSJ (DirectShow-Java) it searches for a specific source to display. If it can't find that source I'd like it to display basically the same thing you get from fakesrc in GStreamer (the colored TV bars) or something to that extent. Does anyone know if DSJ has something like this, a certain filter graph or so...
How to view the output of functions like GST_CAT_INFO, GST_DEBUG etc?
Do I need to compile gstreamer myself with debug level set or it can be done at application level?
...
Hi,
I have a couple of video container files which contain audio and video in various codecs. Now I'd like to inspect the container from a Python script to know which codec is used for audio+video. This is on a linux box so I have all the tools available if necessary.
I thought that maybe gstreamer could help me here but I was unable t...
I'm trying to create a FUSE fs which transcodes all sound files to mp3. My first idea is to use gstreamer as the backend for transcoding.
I thought about using this pipeline:
gst-launch -v filesrc location=01\ New\ Born.flac ! decodebin ! audioconvert ! lame vbr=4 vbr-quality=9 ! id3v2mux ! appsink
The python bindings of fuse expect c...
I'm having trouble combining audio and video into one file. The Python code looks like this;
filmPipe = gst.Pipeline("filmPipe")
filmSrc = gst.element_factory_make("multifilesrc", "filmSrc")
filmSrc.set_property("location", "pictures/%d.png")
filmFilt1 = gst.element_factory_make("capsfilte...
I'm writing an application that uses the Python Gstreamer bindings to play audio, but I'm now trying to also just decode audio -- that is, I'd like to read data using a decodebin and receive a raw PCM buffer. Specifically, I want to read chunks of the file incrementally rather than reading the whole file into memory.
Some specific quest...
I have a directory with a set of YYYY-MM-DD-dated files in as so:
pictures/
2010-08-14.png
2010-08-17.png
2010-08-18.png
How can I use Python GStreamer to turn these files into a video? The filenames must remain the same.
I have a program that can turn incrementally numbered PNGs into a video, I just need to adapt it to u...
Hi,
I'm trying to write a program that takes in a PCap dump, detects whether there is an flv stream in it, extracts the bitrate, and infers from the packet times the streaming performance (how long it took to download vs how long the video was). Ideally this should be in C on Linux, but I'd be happy if I can get a prototype working in ...
I have a gstreamer pipeline which ends with a xvimagesink element. To have the video displayed in a particular window, I can use the x_oerlay_interface :
gst_x_overlay_set_xwindow_id(GST_X_OVERLAY(xvsink), winid);
So far, so good. However, it only works if winid is the idea of a top level window, which is not the case of child widget....
Hi
Following code is written to play a .wav file but it doesn't seem to work.
I would like to know if i am missing something in it.
Code:
#include <gst/gst.h>
#include <glib.h>
int main(int argc , char *argv[])
{
GMainLoop *loop;
GstElement *source,*audioparser,*sink,*pipeline;
GstBus *bus;
gst_init(&argc,&argv);
// create a pipeli...
Hello,
I very new to the world of gstreamer. I was wondering, if it's possible to stream windows webcam via gstreamer? The only package i have seen so far is for linux. v4l2 (video for linux).
Is there also a package for windows webcams? what is the correct python syntax?
DJ
...
I have a camera feed coming into a linux machine using a V4l2 interface as the source for a gstreamer pipeline. I'm building an interface to control the camera, and I would like to do so in HTML/javascript, communicating to a local server. The problem is getting a feed from the gst pipeline into the browser. The options for doing so seem...
I have written a python script to use gstreamer (pygst and gst modules) to calculate replaygain tags, and it was crashing inconsistently with various gobject errors. I found somewhere that you could fix this by putting the following boilerplate at the top of your script:
import gobject
gobject.threads_init()
I tried it, and it worked....
Hello All,
I am working with gstreamer, mainly playing around with music playback features.
I am currently trying to use RTP to send mp3 streams over our LAN, but unsuccessfully until now.
On sender side I use the following pipeline:
gst-launch -v filesrc location=./my_music_file.mp3 ! ffdemux_mp3 ! rtpmpapay ! udpsink port=6969 host...
Hi,
For the last two month I have been trying to "fool" safari into thinking that it's looking at a file on the server, which in fact is a live video stream from a camera encoded and muxed upon request using Gstreamer into a format that is supported by the browser. Since HTML5 supports progressive video downloads this should at least be...