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
250
votes
0
answers
3k
views
GStreamer Editing Services freezes when transitions are added [closed]
I'm trying to use Gstreamer's GStreamer Editing Services to concatenate 2 videos, and to have a transition between the two.
This command, which joins 2 segments of the videos together without a ...
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 ...
50
votes
1
answer
900
views
Qt5 VideoOverview example does not work. Any solution?
I am stuck for a month with a video example given in Qt Video Overview.
I tried that code, but I only got a blank square (QWidget). I am using GStreamer0.10 for media playback over Qt5. I also played ...
46
votes
3
answers
113k
views
GStreamer rtp stream to vlc
I'm having some trouble figuring out how to create a simple rtp stream with gstreamer and display it on vlc.
I've installed GStreamer 0.10.30 and VLC 1.1.3. My only requirement is to use MPEG4 or H....
46
votes
3
answers
23k
views
Create rtsp stream based on opencv images in python
My goal is to read frames from an rtsp server, do some opencv manipulation, and write the manipulated frames to a new rtsp server.
I tried the following based on Write in Gstreamer pipeline from ...
38
votes
5
answers
93k
views
Python extract wav from video file
Related:
How to extract audio from a video file using python?
Extract audio from video as wav
How to rip the audio from a video?
My question is how could I extract wav audio track from video file, ...
38
votes
1
answer
3k
views
GStreamer encountered a general stream error in Qt5 raspberry pi
I'm trying to play a video using QtMediaPlayer in Raspberry pi 2 B. The source code is as follows:
QMediaPlayer *media;
QVideoWidget *video;
...
...
media = new QMediaPlayer(parent);
video = new ...
34
votes
5
answers
20k
views
MediaCodec and Camera: colorspaces don't match
I have been trying to get H264 encoding to work with input captured by the camera on an Android tablet using the new low-level MediaCodec. I have gone through some difficulties with this, since the ...
30
votes
3
answers
130k
views
Using Gstreamer to serve RTSP stream, working example sought
We are trying to get Gstreamer working on a DM368 Leopardboard*, we've successfully persuaded it to create a test video (videotestsrc), encode it, and dump it into a file.
The pipe that worked is:
...
29
votes
6
answers
71k
views
How do I view gstreamer debug output?
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?
25
votes
2
answers
25k
views
converting all the mp4 audio files in a folder to mp3 using ffmpeg [duplicate]
how can I convert all of the mp4 files in a given folder to mp3 using ffmpeg.
Almost all of the links I have seen on google is all about converting mp4 video to mp3.
I can do this via VLC player but I ...
25
votes
1
answer
467
views
Scheduled pause in Gnonlin
I am using Gnonlin to play two videos. At one moment, I would like to pause one video and run another. However, I don't want to manually pause the pipeline, as the other video also will be paused.
...
24
votes
3
answers
31k
views
GStreamer vs FFmpeg
I try to record a Video with the OpenCV Framework an would like to save that into an Matroska(mkv) Container together with some additional data streams.
First I thought using FFmpeg is the way that.
...
20
votes
3
answers
30k
views
GStreamer plugin search path?
Can I somehow tell GStreamer to look for plugins in a specified directory?
19
votes
8
answers
32k
views
What is the gstreamer caps syntax?
What is the syntax for caps, specifying media capabilities, in gstreamer? Caps are strings that specify the type of media allowed and look like "audio/x-raw-int,..." but I haven't been able to find ...
19
votes
4
answers
30k
views
Compiling Opencv with Gstreamer, cmake not finding GStreamer
I want to build opencv with GStreamer support.
I built the GStreamer from source (version 1.8.1) following this guide:
http://kacianka.at/?p=145
I have 'gstreamer_build' folder at my home directory ...
19
votes
2
answers
52k
views
how to stream live videos with no latency (ffplay, mplayer) and what kind of wrapper could be used with ffplay?
I have been testing playing multiple live streams using different players because I wanted to get the lowest latency value. I tried gstreamer player (gst-launch-0.01), mplayer, totem and ffmpeg player ...
19
votes
2
answers
5k
views
RTSP over HTTPS video streaming by GStreamer
I have a stream which is RTSP over HTTPS.
The handshake is secure (Over https) but the data after the handshake is complete is not encrypted (in RTSP).
GStreamer by default does not stream as it ...
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 ...
17
votes
4
answers
8k
views
GStreamer or DirectShow for Windows development? [closed]
I'm implementing a lecture-capture project for a local university. Multiple video streams will arrive at one PC: the presenter's desktop slides, a video camera image of the presenter himself and ...
17
votes
4
answers
34k
views
GStreamer installation is missing a plug-in
I hope that someone can help with this problem, been searching for a solution for the past 2 days.
To describe the problem in short: I'm trying to make a simple qt5.7 application that will stream an ...
17
votes
3
answers
71k
views
Webcam streaming using gstreamer over UDP
Here is what I'm trying:
gst-launch -v udpsrc port=1234 ! fakesink dump=1
I test with:
gst-launch -v audiotestsrc ! udpsink host=127.0.0.1 port=1234
And everything works fine, I can see the ...
17
votes
1
answer
64k
views
Stream H.264 video over rtp using gstreamer
I am newbie with gstreamer and I am trying to be used with it. My first target is to create a simple rtp stream of h264 video between two devices. I am using these two pipelines:
Sender: gst-launch-1....
16
votes
2
answers
6k
views
How to use AVSampleBufferDisplayLayer in iOS 8 for RTP H264 Streams with GStreamer?
After getting notice of the HW-H264-Decoder being available to programmers in iOS 8, I want to use it now. There is a nice introduction to 'Direct Access to Video Encoding and Decoding' from WWDC 2014 ...
15
votes
2
answers
22k
views
Realtime/zero-latency video stream: what codec parameters to use?
I am writing an Android App which encompasses sending and receiving a video stream from a desktop PC. For the app to work properly we need as little latency as possible, sacrificing video quality if ...
15
votes
5
answers
21k
views
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 ...
15
votes
2
answers
29k
views
Streaming MP4 Video File on Gstreamer
I am working on gstreamer for first time and trying to Stream an MP4 Video file from a server to client using Gstreamer (RTP and UDP) .
The Command Line which I am trying to use :
On Server Side:
...
14
votes
7
answers
30k
views
yocto: rebuild part of project
I have a project which is using yocto for building libraries including gstreamer. I found out that I need to patch some gstreamer element thus creating new bitbake recipe with patch..
I usually have ...
14
votes
3
answers
35k
views
How to save a RTSP video stream to MP4 file via gstreamer?
I need to get a video stream from my camera via RTSP and save it to a file. All of this needs to be done via gstreamer.
After some google searching, I tried the following:
gst-launch-1.0 rtspsrc ...
14
votes
2
answers
26k
views
How to write opencv mat to gstreamer pipeline?
I want to add some opencv processes to a gstreamer pipeline and then send it over udpsink.
I'm able to read frames from gstreamer like this:
// may add some plugins to the pipeline later
cv::...
14
votes
2
answers
17k
views
Loading shared libs that depend on other shared libs
Problem:
I am building Android app in Eclipse which uses shared lib libgstreamer-0.10.so (GStreamer-android NDK Bundle libs compiled for android-8 platform). I made new folder libs/armeabi in project ...
14
votes
4
answers
8k
views
How do I find the length of media with gstreamer?
How do I find the playback time of media with gstreamer?
14
votes
4
answers
17k
views
WebRTC and gstreamer on linux device
I have small computer (something like Arduino or Raspberry pi) with Linux, camera and gstreamer installed on it.
I need to stream h264 video from this device to browser using WebRTC technology. Also, ...
13
votes
4
answers
6k
views
RStudio installation failure under Debian sid: libgstreamer dependency problems
I use Debian sid (amd64), rolling updates as often as weekly. I downloaded recently the desktop version 0.99.902 of RStudio from their offical site and issued (as root, of course):
dpkg -i rstudio-0....
13
votes
2
answers
24k
views
Look for fastest video encoder with least lag to stream webcam streaming to ipad
I'm looking for the fastest way to encode a webcam stream that will be viewable in a html5 video tag. I'm using a Pandaboard: http://www.digikey.com/product-highlights/us/en/texas-instruments-...
13
votes
1
answer
42k
views
How to open a GStreamer pipeline from OpenCV with VideoWriter
I am capturing video frames with OpenCV VideoCapture. The capturing works fine as I am able to use the frames like this:
cv::VideoCapture cap("v4l2src device=/dev/video1 ! videoscale ! videorate ! ...
13
votes
5
answers
61k
views
GStreamer pipeline to show an RTSP stream
I am pretty new to Gstreamer.
I need to write a video client able to stream data from an RTSP source using GStreamer. I configured VLC to stream a video I have on my laptop using RTSP and I want to ...
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?
...
13
votes
5
answers
49k
views
Capturing h.264 stream from camera with Gstreamer
I'm trying to capture H264 stream from locally installed Logitech C920 camera from /dev/video0 with Gstreamer 1.0 v4l2src element.
v4l2-ctl --list-formats shows that camera is capable to give H264 ...
13
votes
3
answers
33k
views
Streaming RTP/RTSP: sync/timestamp problems
I'm having some trouble streaming H.264 video over RTSP. The goal is to live-stream a camera image to an RTSP client (ideally a browser plugin in the end). This has been working pretty well so far, ...
13
votes
1
answer
10k
views
What effect does the media type string inserted in a gstreamer pipeline have
I have seen this kind of pipeline-running commands in gstreamer:
e.g.,
gst-launch-1.0 videotestsrc ! video/x-raw, format=I420, framerate=25/1, width=640, height=360 ! xvimagesink
And I have read in ...
13
votes
4
answers
17k
views
What's the meaning of 'blacklisted' on GStreamer?
I'm trying to cross-compile GStreamer. Version is 1.2.3. Host PC's OS is x86 linux and Target system's OS is MIPSEL linux OS.
I succeeded to compile gstreamer and plugins for target device. And gst-...
13
votes
5
answers
29k
views
ModuleNotFoundError: No module named 'gi'
I am trying to run the following program:
import gi
gi.require_version('Gst', '1.0')
from gi.repository import GObject, Gst
Bu I am getting:
Traceback (most recent call last):
File "...
13
votes
0
answers
10k
views
FFmpeg vs Libav vs libVLC vs Gstreamer as of 2018 [closed]
I am trying to do some video processing on real time. I was beginning to try the FFmpeg, but I saw this question:
Why would I choose Libav over FFmpeg, or is there even a difference?
Which further ...
12
votes
3
answers
18k
views
How to implement a video widget in Qt that builds upon GStreamer?
I want to use Qt to create a simple GUI application that can play a local video file. I could use Phonon which does all the work behind the scenes, but I need to have a little more control. I have ...
12
votes
1
answer
19k
views
Write opencv frames into gstreamer rtsp server pipeline
I'm trying to put opencv images into a gstreamer rtsp server in python.
I have some issue writing in the mediafactory, I'm new to gst-rtsp-server ancd there's little documentation so I don't know ...
12
votes
3
answers
57k
views
Playing an incoming RTP stream with GStreamer
I'm developing a GStreamer application and struggling bit with implementing a player for incoming RTP streams. I am trying to construct a pipeline around the gstrtpbin element. I'm trying to model the ...
12
votes
2
answers
12k
views
Gstreamer: Why do I need a videoconvert before displaying some filter?
I am writing a very basic pipeline on GStreamer 1.0 and I would like to understand why I need a videoconvert before displaying the stream.
gst-launch-1.0 videotestsrc ! vertigotv ! videoconvert ! ...
12
votes
6
answers
23k
views
Android Studio ERROR: Executing external native build for ndkBuild when trying to run Gstreamer tutorial
I am trying to run the gstreamer android tutorial-5 in Android Sudio 3.5 (https://gitlab.freedesktop.org/gstreamer/gst-docs/tree/master/examples/tutorials/android)(https://gitlab.com/eduardoprado/...
12
votes
2
answers
32k
views
GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
I am using the OpenCV package with the face_recognition package to detect faces on my laptop webcam.
Whenever I run it, the code runs fine but I run into the same GStreamer error.
from imutils.video ...