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
4,999
questions
8
votes
3
answers
6k
views
How to use GStreamer in Visual Studio 2010?
Do I have to compile GStreamer on my own? Can I do it using Visual Studio 2010?
I'm struggling to find a good step-by-step guide with instructions on how to do this. Is there a good one?
My ...
8
votes
5
answers
5k
views
Streaming H264 using RaspberryPi camera
I am working on a project to build a robot using raspberry pi that will send video to android device, and will be controlled from it.
I decided to use the RaspberryPi camera (maybe usb webcam is ...
8
votes
2
answers
15k
views
Python send and receive RTP packets
I want to send multimedia data over RTP. What I wnat to know is how to send and receive RTP packets with Python. I found the python class DPKT. But couldn't able to find a good reference to visualize ...
8
votes
1
answer
5k
views
Use (Python) Gstreamer to decode audio (to PCM data)
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 ...
8
votes
2
answers
17k
views
Play RTP video stream using Qt?
I want to create a Qt widget that can play incoming RTP streams where the video is encoded as H264 and contains no audio.
My basic plan for implementation is this:
Create a Phonon MediaSource object ...
8
votes
1
answer
3k
views
Python having trouble accessing usb microphone using Gstreamer to perform speech recognition with Pocketsphinx on a Raspberry Pi
So python is acting like acting like it can't hear ANYTHING from my microphone at all.
Here's the problem. I have a Python ( 2.7 ) script that is suppose to be using Gstreamer to access my microphone ...
8
votes
2
answers
5k
views
Add some OpenCV processing to a gstreamer video stream
I'm trying to have OpenCV process a frame in the middle of a gstreamer pipe.
I have one gstreamer pipe generating the stream, sending it to appsink for OpenCV code to receive:
v4l2src ! ...
8
votes
2
answers
10k
views
Live video stream using GStreamer with Janus or WebRTC on Web Browser
First let me begin by saying - I am new to Janus / GStreamer / WebRTC.
I have to stream a remote camera connected on robot hardware using GStreamer and WebRTC on to a browser.
But as a proof of ...
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 ...
8
votes
0
answers
679
views
Building an RTSP streaming server from processed frames in OpenCV
I have to process frames from a distant camera using OpenCV.
I need to stream the processed frames to be accessible over network as a live video.
How to make the processed frames (cv::Mat objects) ...
7
votes
2
answers
26k
views
What is the reason for giving "internal data flow error" message in gstreamer?
When i tried this command:
**gst-launch-0.10 -v rtspsrc location=rtsp://127.0.0.1:8554/test
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,
encoding-name=(string)H264" ! ...
7
votes
3
answers
8k
views
Python: Detect codecs used in a video container
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 ...
7
votes
4
answers
6k
views
failure in compiling opencv with cap_gstreamer error
I am trying to compile opencv on Slackware 4.1. However I encountered the following error each time.
In file included from /usr/include/gstreamer-0.10/gst/pbutils/encoding-profile.h:29:0,
...
7
votes
1
answer
19k
views
GStreamer pipeline broken
I am not sure why this pipeline is breaking, I have gstreamer installed on linux from the websites exact instructions, any ideas?
gst-launch-1.0 v4l2src device=/dev/video0 ! videoscale ! video/x-raw, ...
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.
...
7
votes
5
answers
10k
views
WARNING: erroneous pipeline: no element "x264enc"
I have been trying to get this running for the past couple of days now. I have a gstreamer command that requires x264enc. I am running a Mac I cannot seem to get x264 development libraries installed. ...
7
votes
1
answer
25k
views
Fatal error: gst/gst.h: No such file or directory (using CMake)
I'm trying to build a C++ application with gstreamer using CMake. In my CMakeLists.txt file, gstreamer is included with the following lines:
find_package(PkgConfig REQUIRED)
pkg_search_module(GST ...
7
votes
1
answer
7k
views
UdpSink in GStreamer is not working in Windows
I am new to GSTreamer.
I tried to upsink a video using GStreamer. While running the folloing command,
gst-launch-1.0 videotestsrc ! udpsink port=5200
I get warnings as follows.
WARNING: from ...
7
votes
3
answers
16k
views
How to make rtpjitterbuffer work on a stream without timestamps?
I am sending an H.264 bytestream over RTP using gstreamer.
# sender
gst-launch-1.0 filesrc location=my_stream.h264 ! h264parse disable-passthrough=true ! rtph264pay config-interval=10 pt=96 ! udpsink ...
7
votes
3
answers
7k
views
gstreamer uri vs files: Cannot play local video file
I am new to gstreamer and trying to use it for some GPU accelerated video decoding on my NVIDIA Jetson ARM based board. I found some python code online which creates a gstreamer pipeline and I was ...
7
votes
2
answers
13k
views
Gstreamer tcpserversink v0.10 vs 1.0 and HTML5 video tag
I am embedding a HTML5 video tag in my site, the source being a gstreamer stream.
I have a pipeline working on gst 0.10:
gst-launch-0.10 -v videotestsrc ! theoraenc ! oggmux ! queue ! tcpserversink ...
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, ...
7
votes
1
answer
2k
views
Playing video in Gtk in a window with a menubar
I have created a video player in Gtk3 using Gstreamer in Python3. It works except when I add a GtkMenuBar (place 2). It will then either show a black screen, or fail with an exception. The exception ...
7
votes
1
answer
14k
views
How to do webcam streaming with mpegtsmux in Gstreamer
I'm new to gstreamer, and I want to stream webcam video through network with mpeg2-ts. I am able to stream video using following pipeline, but I don't know how to stream it with mpeg2-ts using mpegmux....
7
votes
1
answer
6k
views
Using Gstreamer or ffmpeg to create rtsp client on Android
I want to stream a rtsp stream on android and I finally have come to
conclusion that I can't use android API's MediaPlayer,Videoview etc because
latency is big issue for me. I need an latency of <...
7
votes
1
answer
5k
views
How to set stream bit-rate in KURENTO call?
I'm investigating Kurento Media Server 6 and now playing with Tutorials. I have noticed that quality of stream is very poor. I have switched to higher resolution but issue remains. I'm connected to ...
7
votes
1
answer
8k
views
gstreamer streaming to nginx rtmp server
PS: First time gstreamer user here. :)
Im trying to stream video from a logitech c920 webcam connected to a beaglebone using gstreamer to an nginx server. But somehow rtmpsink is failing on me. ...
7
votes
1
answer
4k
views
GStreamer Pipeline with multiple UDP sinks (image included)
I am trying to build a conferencing solution with gstreamer-java.
I am stuck with the audio part, because every participant should only hear the others, not himself.
I constructed a pipeline (see ...
7
votes
2
answers
8k
views
How do you play or record audio (to .WAV) on Linux in C++?
Hello, I've been looking for a way to play and record audio on a Linux (preferably Ubuntu) system. I'm currently working on a front-end to a voice recognition toolkit that'll automate a few steps ...
7
votes
2
answers
22k
views
Gstreamer ffdec_h264 missing
I am running this script to view cameras on network:
gst-launch udpsrc port=1234 ! "application/x-rtp, payload=127" ! rtph264depay ! ffdec_h264 ! xvimagesink sync=false
I am getting this error:
...
7
votes
2
answers
5k
views
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 ...
7
votes
1
answer
19k
views
How to stream in h265 using gstreamer?
I am trying to use latest gstreamer and x265enc together. I saw that someone have already posted some commits in http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/log/ext/x265/gstx265enc.c
Can ...
7
votes
3
answers
9k
views
GStreamer Qt WINDOWS
There is lot's of information about configuring .pro file for Qt in linux to run GStreamer. But it looks so difficult to do the same in WINDOWS. I downloaded Gst from their official site and ran an ...
7
votes
2
answers
3k
views
Read RTSP Stream from UDP sink using Python OpenCV and GStreamer
We're developing a software to stream videos from two different cameras with RTSP using GStreamer. To simplify the acquisition process, we're using OpenCV with Python 3.
The problem is: we wanna push ...
7
votes
2
answers
2k
views
Gstreamer hangs while generating timelapse from JPEGs on Raspberry pi
Situation:
I want to generate a timelapse on my Raspberry Pi 512mb, using the onboard H.264 encoder.
Input: +300 JPEG files (2592 x 1944 pixels), example: https://i.stack.imgur.com/3NK8r.jpg
...
7
votes
1
answer
1k
views
Display image without gtk
I would like to display an image in Python using gstreamer bindings, but without using GTK+ (I'm on ARM).
I know how to listen to music with python and gstreamer :
#!/usr/bin/python
# Simply ...
7
votes
1
answer
8k
views
Combining an audio and video stream using gstreamer [closed]
I am streaming an mp4(mpeg-4) file from one device to another using gstreamer over RTP stream. Basically I am splitting up the mp4 file into its audio and video file and then sending it all to the ...
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,...
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 ...
7
votes
2
answers
4k
views
WARNING: erroneous pipeline: no element "kvssink"
I'm trying Kinesis Video Stream via https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/gs-send-data.html
I have already installled it
Success in building the Kinesis Video Streams Producer ...
7
votes
1
answer
5k
views
How to overlay a picture over a video stream with Gstreamer in C?
I want to overlay a ".png" picture over a stream coming from an IP Camera using Gstreamer.
A working pipeline for my hardware is:
gst-launch-1.0
rtspsrc location=rtsp://user:pass@IP:port/channel ...
7
votes
0
answers
1k
views
Live video streaming using gstreamer display on web browser
I am trying send h264 video in UDP packeted using gstreamer.
Like,
gstreamer v4l2src ! video/x-raw-rgb, widht=320, height=240 ! ffmpegcolorspace ! x264enc ! rtph264pay ! udpsink host=192.168.0.1 port=...
7
votes
0
answers
6k
views
gstreamer: How to do streaming over TLS?
In "gst-rtsp-server/examples/test-video.c", it seems one can set up TLS certificate and launch rtsp server. I wonder how it would work at the client side, including e.g. command line parameters and ...
6
votes
5
answers
38k
views
No module named gi
i have try all the possible command given below:
pip install pgi , pip install PyGObject , pip install python-gi
Still not able to install the module in python .
Installed python 3.7 also try to ...
6
votes
4
answers
6k
views
GStreamer C++ on Visual Studio 2010?
Following instructions on http://docs.gstreamer.com/display/GstSDK/Installing+on+Windows to install GStreamer and compile tutorials/examples on Windows 7, for compilation using Visual Studio 2010.
...
6
votes
2
answers
4k
views
Stagefright vs Gstreamer
What are the advantages of using gstreamer over stagefright? Could anyone please point out the difference.
6
votes
1
answer
7k
views
Streaming PulseAudio to file (possibly with GStreamer)
I'm on Ubuntu and I want to record PulseAudio output to a file, to make a recording of a pygame program. The format doesn't matter, because I can change it afterward, so raw audio is fine.
Looking ...
6
votes
2
answers
9k
views
Which elements are contained in decodebin?
I'm looking to decode and demux an mp4 file with gst-launch-1.0. Instead of using a bin - decodebin - I'd rather work with the seperate elements. Unfortunately, I did not find this.
My question is ...
6
votes
1
answer
8k
views
xvimagesink not found by gst-inspect
I have installed GStreamer SDK (x64) and GStreamer SDK (Development Files) (x64) on a Windows 7 PC. This was a complete install - all features were enabled.
When I run gst-inspect-0.10 xvimagesink ...
6
votes
1
answer
13k
views
Write in Gstreamer pipeline from opencv in python
I'm trying to stream some images form opencv using gstreamer and I got ome issues with the pipeline. I'm new to gstreamer and opencv in general. I compiled opencv 3.2 with gstreamer for python3 on a ...