All Questions

Tagged with
Filter by
Sorted by
Tagged with
51 votes
6 answers
29k views

Material to learn GObject and Glib [closed]

I am comfortable with C. but need to learn GObject and Glib for gstreamer. All i found on net is Gobject reference manual. Its good but looking for tutorial for Gobject/Glib as the main focus is on ...
rahijain's user avatar
  • 885
20 votes
3 answers
30k views

GStreamer plugin search path?

Can I somehow tell GStreamer to look for plugins in a specified directory?
StackedCrooked's user avatar
17 votes
3 answers
23k views

Adding opencv processing to gstreamer application

I'm trying to do the following: receive video stream using gstreamer and process it with opencv. I've found few solutions, and one of them is to write video into (from gstreamer) fifo and then read it ...
Roman's user avatar
  • 1,416
13 votes
1 answer
8k views

What is the difference between byte stream and packetized stream in gstreamer rtsp h264 depayloader

In the gstreamer rtp h264 depayloader, there is a check to see if the incoming stream is a byte stream or packetized stream. Can anybody tell me what is the difference between these two formats? ...
Steve Walsh's user avatar
  • 6,493
11 votes
3 answers
10k views

Gstreamer - Convert command line gst-launch to C code

I have been making a few experiments with GStreamer by using the gst-launch utility. However, ultimately, the aim is to implement this same functionality on my own application using GStreamer ...
petersaints's user avatar
  • 1,919
9 votes
5 answers
18k views

Play audio and video with a Pipeline in Gstreamer

Is there a way make a pipeline that will play any video file (which will contain audio too)? I have tried linking elements like: filesrc -> decodebin along with queue -> audioconvert -> ...
D K's user avatar
  • 5,630
9 votes
2 answers
21k views

Using custom camera in OpenCV (via GStreamer)

I'm using Nitrogen6x board with ov5640 camera(mipi). The camera is not using standard v4l/v4l, but we can stream video using GStreamer for its driver (mfw_v4l): gst-launch mfw_v4lsrc ! autovideosink ...
Mahyar's user avatar
  • 1,081
8 votes
6 answers
36k views

what is default path for header file included in c program?

see if i write in any c file like #include "header.h" then it will search this file in current directory but when i write #include <header.h> then where it will go to find this file ? ...
Jeegar Patel's user avatar
  • 26.7k
8 votes
2 answers
9k views

Gstreamer1.0 : link a decodebin to videoconvert

I have the following pipeline which works fine: gst-launch-1.0 -v filesrc location=/home/Videos/sample_h264.mov ! decodebin ! videoconvert ! autovideosink I want to write a C program to do the same ...
abir's user avatar
  • 295
8 votes
2 answers
37k views

How to control the frame rate in a gstreamer pipeline?

I have astream encoded in 60fps, but my gstreamer pipeline is playing it in fps, so the video appears to be very slow. I have created a gstreamer pipeline as appsrc name=src ! video/x-h264 ! ...
jithin's user avatar
  • 637
8 votes
2 answers
1k views

Launch GstRTSPServer from GstElement pipeline

I'm doing a Gstreamer 1.0 application in C. The pipeline is built, based on user configuration and system "state" during runtime. Therefore I'm using multiple GstElements which are later added and ...
g0hl1n's user avatar
  • 1,467
7 votes
4 answers
287 views

How can a small change in a code which is never executed make a difference?

I have a very strange problem and since it is not possible for me to send code I will try to explain. This is more like philosophical problem - I hope someone has time/knowledge to think about this. ...
kliketa's user avatar
  • 1,276
7 votes
2 answers
7k views

Limitations of gst_parse_launch()?

From what i understand, gst_parse_launch() creates a new pipeline based on command line syntax describing the pipeline. It automatically takes care of all the intricate details of request pads, ...
rubndsouza's user avatar
  • 1,224
7 votes
2 answers
8k views

How to program videomixer using Gstreamer C API

I am trying to simulate the following gstreamer pipeline using the C API: gst-launch -e videomixer name=mix ! ffmpegcolorspace ! xvimagesink \ videotestsrc pattern=1 ! video/x-raw-yuv,width=100,...
Ura's user avatar
  • 2,203
7 votes
1 answer
4k views

Memory not freed after gstreamer pipeline set to GST_STATE_NULL

My application requires gstreamer pipeline to be restarted multiple times. But after setting the pipeline to GST_STATE_NULL and calling unref on the pipeline, memory appears to be not freed. After ...
KrithikaV's user avatar
6 votes
1 answer
7k views

Issues linking against gstreamer libraries ubuntu 11.10

So I am starting a project that is going to make use of the gstreamer libraries. I am running the test project from the gstreamer documentation and am getting the following error.This program worked ...
Mindbane's user avatar
  • 526
6 votes
3 answers
2k views

Gstreamer 1.0: Video from tutorials is not playing on MacOS

I am trying to compile this tutorial Tutorial_01 on my MacOS 10.11.3 with Xcode 7.2 and not getting any video: I can hear an audio but it seems like the video window is lost somewhere. I tried ...
Max Golovanchuk's user avatar
6 votes
0 answers
5k views

GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable

I'm trying to make RTSP server based on Gstreamer 1.0 1.4.5 plugin. Source code of the example is taken from here. WITH_TLS and WITH_AUTH flags are not enabled. I'm compiling it using Visual Studio ...
Sergey Birukov's user avatar
5 votes
2 answers
10k views

Gstreamer pipeline stuck in prerolling state when giving only audio to video pipeline

If I have a pipeline like: gst-launch filesrc location="/home/dk/Music/Vangelis - Alpha.mp3" ! decodebin2 name=dec ! queue ! ffmpegcolorspace ! autovideosink dec. ! queue ! audioconvert ! ...
D K's user avatar
  • 5,630
5 votes
2 answers
13k views

How to embed video in GTK+ application window using GStreamer & XOverlay?

I am trying to write a small media player using GTK+ and GStreamer and currently using the XOverlay Interface to embed the video in a GtkDrawing Area INSIDE the mainwindow. The program was compiled ...
phongvcao's user avatar
  • 487
5 votes
1 answer
7k views

How to get h264 frames via gstreamer

I'm familiar with ffmpeg, but not with GStreamer. I know how to get a H264 frame through ffmpeg, for example, I can get a H264 frame through AVPacket. But I don't know how to use GStreamer to get a ...
DJI_lover's user avatar
5 votes
2 answers
21k views

Gstreamer receive video: streaming task paused, reason not-negotiated (-4)

I'm trying to transmit RTP video stream through network via UDP protocol. Here is pipeline code on sender side: https://gist.github.com/mgalushka/68d8ee034849a7db4f1f234e73a41405 I can receive and ...
Maxim Galushka's user avatar
5 votes
2 answers
5k views

GStreamer on Android

Can anyone give me any tips on getting GStreamer to work on Android. I have never used it before and I would like to use it with FFmpeg (I already have FFmpeg compiled and works fine on Android). I ...
DRiFTy's user avatar
  • 11.3k
5 votes
2 answers
4k views

How can I test my gstreamer plugin? Is there any standard test-suite for gstreamer plugin testing?

Suppose I have made my gstreamer based plugin. I have installed it and it is working properly with gst-launch application. But now I want to test my gstreamer plugin. So is there a standard test-...
Jeegar Patel's user avatar
  • 26.7k
5 votes
2 answers
2k views

Gstreamer H264 UDP -> WebRTC Restreaming

I have a Ricoh THETA Z1 360 degrees camera that outputs a 4K 360 stream. I'm using their own libuvc-theta-sample for retrieving the video stream and getting it into Gstreamer. I've used the following ...
Arjan's user avatar
  • 609
5 votes
1 answer
2k views

Reconnect RTSP stream in Gstreamer pipeline

I have a working Gstreamer pipeline using RTSP input streams. To handle these given RTSP input streams, the uridecobin element is used. My goal is to reconnect to the RTSP input streams when internet ...
harry_tums's user avatar
5 votes
1 answer
2k views

How can i get the application code created by gst-launch or gstreamer pipeline editor?

see if i have made one application like below by gst-launch commnad gst-launch -v filesrc location=ed_hd.mkv ! matroskademux ! vorbisdec ! audioconvert ! audioresample ! autoaudiosink when ever i ...
Jeegar Patel's user avatar
  • 26.7k
5 votes
1 answer
6k views

symbol loopkup error: libgobject-2.0.so.0:undefined symbol: g_bytes_unref

I am trying to compile a gstreamer rtsp server under ubuntu 12.10 using Qt creator. The code successfully compiled but give me this exception and the program exit: symbol loopkup error: libgobject-...
Ahmed Kato's user avatar
  • 1,697
5 votes
0 answers
2k views

GStreamer hello world program in visual studio 2010

I m trying to run a simple GStreamer Program (http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-helloworld.html) in visual studio 2010. I have included the library and ...
Vihaan Verma's user avatar
  • 12.9k
4 votes
8 answers
1k views

what is the advantage of using goto in this code?

static gboolean gst_fd_src_start (GstBaseSrc * bsrc) { GstFdSrc *src = GST_FD_SRC (bsrc); src->curoffset = 0; if ((src->fdset = gst_poll_new (TRUE)) == NULL) goto socket_pair; ...
Jeegar Patel's user avatar
  • 26.7k
4 votes
2 answers
25k views

gstreamer appsrc test application

I am trying to learn gstreamer appsrc plugin to play AV from a transport stream demultiplexer that I wrote (I know plugins are already available, I wanted to do it myself to learn). I have extracted ...
Amarghosh's user avatar
  • 59.1k
4 votes
1 answer
8k views

GStreamer tutorial not working

I'm working my way through the GStreamer documentation. I'm running on OSX 10.8.5 and I can initalize GStreamer using the example 4.1 code (http://gstreamer.freedesktop.org/data/doc/gstreamer/head/...
ThatGuy's user avatar
  • 1,235
4 votes
2 answers
3k views

How to debug my C gstreamer code?

I succesfully program and execute the helloworld.c in the Application Development Manual page 43. It works very well. The compilation was done using this command line gcc -Wall helloworld.c -o ...
Fopa Léon Constantin's user avatar
4 votes
1 answer
2k views

GstMultifilesink post-messages callback

I would like to know how to get a callback from the gstreamer multifilesink element using post-messages=TRUE property? In the code below my_bus_callback function is never called. Multifilesink docs ...
aultimus's user avatar
  • 783
4 votes
2 answers
12k views

gstreamer: How do I change the input/output resolution of webcam?

I want to change the output/input resolution of my Webcam using gstreamer. for example i want to change the resultion from 800x600 to 640x480 Pixel. I cannot find the syntax in C for doing this. Can ...
user993502's user avatar
4 votes
3 answers
10k views

how to record audio and video in gstreamer

I am new to gstreamer, I want to record both audio and video save it into .mp4 format, Recording video using webcam and audio using MIC Here this is my pipeline gst-launch-1.0 -e v4l2src ! queue ! ...
vignesh's user avatar
  • 43
4 votes
2 answers
9k views

GStreamer gst_element_factory_make fails

I'm trying out a GStreamer test application, but at runtime the following line fails: demuxer = gst_element_factory_make ("oggdemux", "ogg-demuxer"); // returns NULL I am using MacOSX and installed ...
StackedCrooked's user avatar
4 votes
1 answer
1k views

Interrupt handle is not called after added with g_unix_signal_add

I am learning about gstreamer and I have a simple program where I want to end a stream gracefully after pressing CTRL+C in Linux. For this, I've read the source code for gst-launch and saw that ...
Kumsaati's user avatar
  • 121
4 votes
2 answers
10k views

Gstreamer C Code is failed with streaming stopped, reason not-negotiated (-4)

I am learning Gstreamer and whatever I have achieved through Gstreamer tools, I am trying to implement the same with gstreamer application using C language. Below command streamed a mp4 video file ...
Manish's user avatar
  • 53
4 votes
1 answer
533 views

How can I read and carry out an user command from the console (stdin) while main loop is running in Gstreamer?

I can stream a video, but also I want to get user commands from the console (stdin) and carry out the command while streaming the video. For example, if user enters a text 'exit' to command line, I ...
aspirin's user avatar
  • 347
4 votes
1 answer
5k views

How to enable httpsrc plug-in in my gstreamer?

I've tried to play an mp3 file or stream retrieved via http with the following command gst-launch httpsrc location=http://domain.com/music.mp3 ! mad ! osssink but a get the following error ERREUR :...
Fopa Léon Constantin's user avatar
4 votes
1 answer
5k views

Linking against external libraries in gstreamer plugin using autotools

I have written a gstreamer plugin using the boilerplate template refrenced in the gstreamer plugin writers guide (http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/chapter-building-...
RyanL's user avatar
  • 458
4 votes
2 answers
3k views

How to add subtitles from a SRT file on a video and play it with Gstreamer in a c program

I want to play a video with a C program using Gstreamer and adding subtitles from a SRT file. I'm new to gstreamer and I somehow figured out who to make it work in command-line : gst-launch filesrc ...
Aleksandair's user avatar
4 votes
1 answer
2k views

Why gst_element_factory_find can't find factory "decodebin"?

I have installed gstreamer-1.4.0 in order to create simple app for decoding video files. The pipeline which I try to create looks simple: filesrc location="file.h264" ! decodebin ! filesink location="...
Buyuk's user avatar
  • 1,094
4 votes
1 answer
2k views

Choose between two input in gstreamer plugin

I am currently writing a Gstreamer-1.0 plugin with an audio/x-raw source. I would like to send to my plugin two input source. One would be de default source and the other one would be use if a ...
MatheuGrondin's user avatar
4 votes
3 answers
5k views

Error in using Appsrc Appsink

This would be my first time working with Gstreamer in a C program. I've only used pipelines. I'm trying to write a program which takes a stream stores it in a buffer, uses OpenCv to edit the stream ...
ssn's user avatar
  • 81
4 votes
1 answer
990 views

GStreamer video window not opening (macOS)

I am trying to run the first tutorial on GStreamer and running into some issues. When I compile the code found here and run it, no compilation errors or warnings occur and the stream is found, but ...
Harris Lummis's user avatar
4 votes
2 answers
3k views

How to connect to a UDP video broadcast with GStreamer in C

I have a small program that uses the GStreamer library to play videos from local files and videos on webservers using HTTP. How does one go about connecting to a UDP video broadcast in C using ...
Chimera's user avatar
  • 5,987
4 votes
0 answers
911 views

GStreamer: dynamically link a tee while pipline is PLAYING

Using GStreamer 1.16.3 on Ubuntu 20, C/C++. At some point during runtime, I'm trying to link a tee element (its src_0 is already linked and playing) to a recording bin which ends with a filesink. The ...
superware's user avatar
  • 399
4 votes
0 answers
1k views

Draw text on a Wayland surface in C

I am a newbie in Wayland programming. Currently, I wanna create an application which can show FPS of a playing video on a surface of a Wayland client. First, I use Gstreamer to read fps. I already ...
Thảo M. Hoàng's user avatar

1
2 3 4 5
9