Questions tagged [gstreamer]
Questions related to GStreamer (also known as Gst), an open source multimedia framework, powering everything from Linux servers and Linux desktop systems to a host of embedded devices.
gstreamer
5,004
questions
6
votes
2
answers
3k
views
gstreamer error on mac
I have been working on my mac (version 10.10) and my raspberry pi (raspbian) to stream video feed live from my raspberry pi camera to my mac using gstreamer. On my mac, in terminal, I have been ...
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 ...
6
votes
1
answer
6k
views
How to direct GStreamer log to a file?
I want to check the GStreamer log message when running some GUI application. I can not launch the application from the terminal for some error. I can only launch it by clicking.
So can I direct ...
6
votes
3
answers
10k
views
CMake linking problem
I am trying to use CMake to compile a C++ application that uses the C library GStreamer.
My main.cpp file looks like this:
extern "C" {
#include <gst/gst.h>
#include <glib.h>
}
int main(...
6
votes
2
answers
7k
views
Gstreamer change source element dynamically
I have a GStreamer pipeline that pulls video from a rtspsrc element. The rtspsrc element connects to a rtpjpegdepay element. I'd like to be able to change the RTSP URL on the fly. So far what I've ...
6
votes
2
answers
5k
views
GStreamer pipeline + OpenCV RTSP VideoCapture does not work in Docker container
I'm trying to get GStreamer + OpenCV RTSP video capture working in a Docker container based on a NVIDIA PyTorch image. I had to end up building OpenCV from source to enable GStreamer integration, ...
6
votes
3
answers
23k
views
Install gstreamer support for opencv python package
I have built my own opencv python package from source.
import cv2
print(cv2.__version__)
prints: 3.4.5
Now the issue I am facing is regarding the use of gstreamer from the VideoCapture class of ...
6
votes
1
answer
8k
views
Streaming with gstreamer to vlc using tcpserversink
I'm attempting to stream an h264 encoded video using gstreamer and tcp. The command is:
gst-launch-1.0 videotestsrc is-live=true ! videoconvert ! videoscale ! video/x-raw,width=800,height=600 ! ...
6
votes
2
answers
11k
views
GStreamer: how to connect dynamic pads
I'm trying to use GStreamer to play MP4 video from a file. I have managed to play the file using playbin2 and from the command prompt using:
gst-launch filesrc location=bbb.mp4 ! decodebin2 ! ...
6
votes
1
answer
6k
views
Turn a video into a sequence of images using GStreamer (not ffmpeg)
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....
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 ...
6
votes
4
answers
4k
views
Cannot load python gstreamer elements
I'm following a guide at https://mathieuduponchelle.github.io/2018-02-01-Python-Elements.html?gi-language=undefined to create a sample gstreamer element in Python. However, I can't get GStreamer to ...
6
votes
1
answer
3k
views
gstreamer: how to shift the time of rendering of one stream taken from file
I have two media files (say, "file0" and "file1") and
I want to merge them into a single one with "picture-in-picture" effect -
the content from "file0" to be displayed on the whole window,
and the ...
6
votes
1
answer
13k
views
GStreamer - Webcam stream from Raspberry to VLC-PC
I'm trying to stream webcam video from a Raspberry to a VLC player using gstreamer 1.0.
Right now i got the following command for the Raspberry:
gst-launch-1.0 -vv -e v4l2src device=/dev/video0 \
! ...
6
votes
1
answer
8k
views
GStreamer videotestsrc to RTP
I'm just trying to get an RTP sample working, but every example I've seen doesn't execute due to missing plugins or incorrect pins.
This seems the most promising, but, although the server and client ...
6
votes
3
answers
16k
views
convert a video to a sequence of frame images
I need to capture a video using a webcam and output a single image for each video frame captured.
I have tried using gstreamer with a multifilesink, e.g.:
gst-launch v4l2src device=/dev/video1 ! ...
6
votes
2
answers
6k
views
Load Statically Linked GStreamer Plugin
I'm working on software for an embedded system that uses GStreamer 0.10.36. My goal is to keep the software as small as possible in terms of Flash memory space, so I'd like to statically linking the ...
6
votes
2
answers
680
views
How to write a GStreamer plug-in in Cython
I want to prototype a new type of audio filter. At the moment I use GStreamer to return a buffer of my audio, and Cython to apply the filter to it. Then I send the result back to GStreamer.
...
6
votes
4
answers
8k
views
Python + QT + Gstreamer
I'm working with PyQt and trying to get video from a webcam to play within a QT widget. I've found tutorials for C and Qt, and for python and gtk, but NOTHING for this combo of pyQt and gstreamer. ...
6
votes
1
answer
8k
views
gstreamer 1.0 rtspsrc to rtph264depay cannot link
I am trying to connect to a ubiquiti camera and successfully with the following command with gstreamer.
gst-launch-1.0 --gst-debug=4 rtspsrc location="rtsp://:554/live/ch00_0" ! rtph264depay ! ...
6
votes
1
answer
8k
views
GStreamer pipeline in C++
I have a working GStreamer-1.0 pipeline in terminal and I'm trying to replicate it in code using GStreamer 1.0 on Mac/Xcode.
My sending pipeline:
gst-launch-1.0 videotestsrc ! videoconvert ! ...
6
votes
2
answers
10k
views
Trying to play multiple video files simultaneously in Gstreamer
Im trying to make a command for gstreamer so it can play multiple video files simultaneously. So I done some research and found this one
gst-launch -e videomixer name=mix ! ffmpegcolorspace ! ...
6
votes
2
answers
1k
views
adding a delay on the audio recording with gst-launch
I have this existing program that uses gst-plugin-1.0 and it passes this:
-e udpsrc port=3003 buffer-size=200000 ! h264parse ! queue ! http://mux.video_0 alsasrc device=plughw:1,0 ! "audio/x-raw,...
6
votes
1
answer
3k
views
How to debug gstreamer pipeline with leaking file descriptors after gst_object_unref()?
I have a custom pipeline that looks roughly like this in gstreamer shorthand:
gst-launch-1.0 rtspsrc location=rtsp://<url-for-stream> ! rtph264depay ! h264parse ! imxvpudec ! *any-sink*
any-...
6
votes
1
answer
14k
views
WARNING: erroneous pipeline: could not link customsrc0 to mpegtsmux0
I cannot create a pipeline with gstreamer and I don't know how I can debug it further.
gst-launch-1.0 --gst-debug=GST_CAPS:4 -v -e customsrc num-buffers=1000 ! video/x-h264,width=600,height=600,...
6
votes
1
answer
12k
views
Can't find get-launch-1.0 from Gstreamer
I'm running on an OSX Mac, I've Installed the various packages in GStreamer 1.5.1 found here: http://gstreamer.freedesktop.org/data/pkg/osx/ .
Whenever I try to run a command with gst-launch I get
-...
6
votes
1
answer
12k
views
Using hardware acceleration with libavcodec
I have downloaded a software (info-beamer) and I would like to use the GPU acceleration to decode H.264 videos. I know my platform is able to decode H.264 videos by using the GPU. I performed some ...
6
votes
4
answers
6k
views
How to rip the audio from a video?
I am on ubuntu and want to convert a mp4 video to an mp3 audio file but can't figure out how. I tried installing ffmpeg but it failed to encode the mp3. I've read the gstreamer does it but I can't ...
6
votes
3
answers
2k
views
HTML5 live video "hack"
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 ...
6
votes
1
answer
5k
views
How te retrieve stream statistics in Gstreamer?
First of all I would like to start by saying that I'm really new to
Gstreamer and its capabilities so pardon my ignorance if my understanding or
implementation was wrong, I am still learning .
I ...
6
votes
2
answers
1k
views
Is it still possible to have standalone Python elements in GStreamer 1.0?
I have an application written with gst-python for GStreamer 0.10 that I am trying to port to GStreamer 1.0.
In my application, I have some custom elements written in Python (subclasses of gst....
6
votes
2
answers
5k
views
How to prebuffer an incoming network stream with gstreamer?
I'm using gstreamer to stream audio over the network. My goal is seemingly simple: Prebuffer the incoming stream up to a certain time/byte threshold and then start playing it.
I might be overlooking a ...
6
votes
1
answer
3k
views
GStreamer plugin with GStreamermm(C++)
I'm trying to write a gstreamer plugin in C++, using the GStreamermm bindings. Now, there's a good plugins writers guide (http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/), and on ...
6
votes
2
answers
277
views
use maemo camera by python
I wrote a simple program for Maemo by Python to check some pixel's color every time that my function is called. But this function runs very slowly (3-5 seconds each call). Is there any faster way to ...
6
votes
4
answers
18k
views
To connect Gstreamer with Qt in order to play a gstreamer video in the Qt Widget
I tried using phonon to play the video but could not succeed. Off-late came to know through the Qt forums that even the latest version of Qt does not support phonon. That's when I started using ...
6
votes
1
answer
556
views
GStreamer distortion depends on image size
I am testing video streaming using appsrc. It appears that there is an induced distortion depending on the size of the test image I use. If I use a 1024 x 768 image there is no distortion. If I use a ...
6
votes
1
answer
2k
views
How do I read a GStreamer RTSP video stream as WebRTC data using Python aiortc?
I'm trying to create a low latency stream (sub second) using GStreamer and Python's aiortc library for creating a WebRTC peer for the stream data. I've modified the server example from aiortc and can ...
6
votes
1
answer
634
views
Creating Segments in Video
I'm using Python 2.7, PyGTK 2.24, and PyGST (Gstreamer).
To ensure smooth playback from one clip to another (without a blink), I combined all the clips I needed into one larger video. This lets me ...
6
votes
0
answers
2k
views
Gstreamer missing Decoder meta/x-gst-fourcc-mebx
I'm currently working with GStreamer in a Linux environment and encountered an issue after upgrading from GStreamer 1.18 to 1.22. While trying to process a video file, I received the following error ...
6
votes
0
answers
413
views
Gstreamer stream audio over network
I am trying to get real-time audio streaming working from my mac to my windows PC, using Gstreamer but i havent had any luck.
This is what i am using on my mac to send the audio:
gst-launch-1.0 -v ...
6
votes
1
answer
2k
views
Audio Streaming: RTP-Stream receiving with Gstreamer - Latency
I am currently playing around with an AudioOverIP Project and wondered if you could help me out.
I have a LAN, with an Audio Source (Dante/AES67-RTP-Stream) which I would like to distribute to ...
6
votes
0
answers
2k
views
Text Alignment in Pango Markup Language
Written a markup like this
<span font-desc="Bold 40" foreground="blue" size="x-large">P <b>S</b> </span>
with the help of the following link
The above markup can be fed to ...
6
votes
0
answers
383
views
.so file generation android GStreamer v1.16.1
This is a multi-part question. That I have regarding the .so file generation of GStreamer.
I need to upgrade from 1.14.4 to 1.16.1 version. I followed this to generate the required .so files.
In the ...
6
votes
0
answers
2k
views
How to get timestamps from gstreamer using system clock?
I currently have two command-line pipelines set up to stream video from a Raspberry Pi camera (ArduCam module) to a PC over ethernet; these work great:
gst-sender.sh
./video2stdout | gst-launch-1.0 -...
6
votes
0
answers
3k
views
Have trouble streaming RTP/ RTSP stream from OpenCV-Python
I am trying to use this sample script I found here in order to take OpenCV images and convert them into a rtp/rtsp stream:
https://github.com/madams1337/python-opencv-gstreamer-examples/blob/master/...
6
votes
0
answers
1k
views
dynamically adding udpsrc to rtpbin causes streaming stopped, reason not-linked (-1)
i am trying to add a udp src dynamically to a running pipeline.
e.g
void addAudioSource(std::string const ip, int const port, int const payloadtype)
{
std::string description = "autoaudiosrc !...
6
votes
0
answers
854
views
Python OpenCV memory leak
After each execution of the code, 150 MB of memory leaks out.
cam = cv2.VideoCapture('rtsp://admin:[email protected]:554/Streaming/Channels/101')
ret_val, img = cam.read()
ret_val = cv2.imwrite(str(...
6
votes
2
answers
3k
views
requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
I'm building a gst-plugin through yocto 1.6. I've linaro 4.9 cross toolchain of 32 and 64-bit.
When I'm building the plugin using 64-bit toolchain, it was success ( I got the plugin .so file) whereas ...
6
votes
0
answers
946
views
Support for HLS in Kurento something as HLSEndpoint
We are trying to achieve HTTP live streaming through kurento Media Server-6.5, being a kurento GStreamer module something as HLSEndpoint as part of kms itself and not through some 3rd party server (e....
6
votes
0
answers
366
views
Where are the Mac Qt5.7 pkg-config files?
I'm getting this error trying to build gst-plugins-bad against Qt5.7:
Package Qt5Core was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Core.pc'
to the ...