All Questions
327
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 ...
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, ...
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:
...
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 ...
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
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?
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
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, ...
11
votes
6
answers
38k
views
Looping a video with gstreamer and gst-launch?
I am able to play a video on the command line with gstreamer's gst-launch like this:
gst-launch gnlfilesource location=file:///tmp/myfile.mov start=0 duration=2000000000 ! autovideosink
This plays ...
11
votes
6
answers
18k
views
How can I speed up a video by dropping frames?
I've got a video that's 30 minutes long. I want to make a speeded up version that's (say) 15 minutes long. I could do this by dropping every 2nd frame. How can I do this on linux?
I'm playing with ...
10
votes
2
answers
38k
views
How to display avi video with gstreamer?
I want to write an object tracking program which needs to play the tracked result. As gstreamer is a good multimedia frame work, I want to use it in my demo program. But I don't know how to implement ...
10
votes
2
answers
2k
views
Gstreamer - How to structure application with multiple src's?
I have a situation where I have multiple cameras (rtspsrc), and a singleton element, that does analytics on the incoming video stream. I call it a singleton element, because it has request source and ...
9
votes
2
answers
13k
views
Convert video to WebM using GStreamer
Documentation for GStreamer is confusing. This is still no excuse for resorting to StackOverflow.com, but still:
What is the GStreamer command line to convert any video file (from any format) to WebM ...
9
votes
5
answers
7k
views
How to create video thumbnails with Python and Gstreamer
I'd like to create thumbnails for MPEG-4 AVC videos using Gstreamer and Python. Essentially:
Open the video file
Seek to a certain point in time (e.g. 5 seconds)
Grab the frame at that time
Save the ...
9
votes
2
answers
15k
views
No decoder available for type 'video/x-h264
I am trying to run one of qt sample apps without any modification. It is called player and it is a multimedia widget demonstration. My system is Ubuntu 16.04 64bit. When I try to play a video, I see ...
8
votes
4
answers
17k
views
Can I use the Gstreamer API to merge 2 videos?
I'd like to write a simple linux CLI application that can take 2 video sources (1 of a presenter talking and 1 with their slides and no audio) and merge them.
I'd like the entire output video to be ...
8
votes
3
answers
12k
views
Pushing images into a gstreamer pipeline
After playing around with some toy applications, exploring the
documentation and googling around (including the mailing list
archives) I am still puzzled for what I would think is a rather common
use ...
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
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
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
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 ...
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
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
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 ...
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 ! ...
5
votes
1
answer
4k
views
GStreamer mp4mux gives "Buffer has no PTS" error using custom appsrc
I have a pipeline coded in C++ that looks like this:
appsrc do-timestamp=TRUE is-live=TRUE caps=
“video/x-h264, stream-format=(string)byte-stream, alignment=(string)none, framerate=(fraction)0/1” min-...
5
votes
4
answers
7k
views
Combine multiple videos into one
I have three videos:
a lecture that was filmed with a video camera
a video of the desktop capture of the computer used in the lecture
and the video of the whiteboard
I want to create a final video ...
5
votes
2
answers
8k
views
Where to get live video streaming examples ( GStreamer )? [closed]
Where to get live video + audio streaming examples ( GStreamer )? So for example streaming from File or Web camera to some web address
5
votes
2
answers
3k
views
GStreamer video capture using USB web camera on macOS
I'm working on developing gstreamer app on macOS. I succeeded to get video captures of MacBook's inside camera.
$ gst-launch-1.0 autovideosrc ! osxvideosink
However, I don't know how to get video ...
5
votes
0
answers
3k
views
Syncing audio and video when mp4muxing in gst-launch-1.0
I have a Logitech C920 webcam that provides properly formatted h264 video, and a mic hooked up to an ASUS Xonar external USB sound card. I can read both and mux their data into a single file like this:...
5
votes
1
answer
2k
views
Gstreamer - vaapidecode with mpeg ts not playing
I'm trying to use gstreamer-vaapi plugins to play video in mpegts.
When using vaapi as suggested with
gst-launch-0.10 -v filesrc location=video.mp4 ! qtdemux ! vaapidecode ! vaapisink
and it is ...
4
votes
1
answer
14k
views
Piping stdout to gstreamer
Good Day,
I am trying to get gst-launch (gstreamer) to get the input from stdout. Most of the examples on the net are about either reading from file or reading from device. Does anyone know an ...
4
votes
5
answers
12k
views
splitting / segmenting video stream with gstreamer
Is there a way to split a video into segments of specified length? Ie 60 minute video into 12x5 mins.
4
votes
1
answer
4k
views
Tag Video by Frame with GPS Info using GStreamer
I have been tasked to tag a video frame-by-frame with gps coordinates as it is recording.
The platform must be on Linux (Ubuntu to be specific).
Very new to programming with video sources..
Some ...
4
votes
2
answers
20k
views
How can I encode a video to h264?
I am trying to send a video file using GNUradio, specifically using GRC. In order to do this I am first obtaining whichever video, in our case we took a 6 second video of us staring and talking to the ...
4
votes
1
answer
2k
views
gstreamer command to compose (pip) two videos
What command should I execute in gstreamer in order to compose two 320x240 videos into a single 640x240 side-by-side video?
let's say I have video1.avi and video2.avi
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 ...
4
votes
1
answer
6k
views
Gstreamer recording video with audio
I'm trying to record on a file a video from my webcam along with audio using Gstreamer on my Ubuntu 16 machine through glib library.
I'm able to watch the video streaming from the webcam through these ...
4
votes
1
answer
3k
views
what difference the gst-omx and gst-openmax?
I use google to search gst-omx and gstopenmax, but I think that the functionality of two plugins seem to be same. I don't understand what is the relationship between gst-omx and gstopenmax.
According ...
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 ...
4
votes
2
answers
856
views
What is the best way to manage multiplatform video stream using Python?
I have this question in my head for over a year now. And I guess you guys may have the answer.
In some Python GUI app, I need to display a video stream.
I need to record some part of this stream to ...
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 ...
4
votes
1
answer
5k
views
Gstreamer Multifilesrc loop short video
I was wondering if it is possible to even get the multifilesrc to work. I am on the latest gstreamer version and cannot make a simple video loop. I've tried so many iterations of the above, to show a ...
4
votes
0
answers
620
views
Can gstreamer's appsink element return original rtp timestamps?
I'm using gstreamer to pull an rtsp stream from an IP camera. Currently, I am using appsink to get the frame data out of the stream but I also need the original RTP timestamp associated with each ...
4
votes
0
answers
5k
views
Gstreamer sync multiple videos from multiple sources
I have what is essentially a homebuilt video conferencing system using Raspberry Pis. It's a system that's been in use for the last couple years and for the most part, things are working fine.
One ...
4
votes
0
answers
1k
views
Gstreamer - Hardware accelerated video decoding on Android
I'm receiving on my Android mobile phone a video via RTP/UDP, but I've seen that CPU usage is very high, nearly 100% of one core is being used to decode the video. On high-end devices the video is ...
4
votes
0
answers
506
views
Create new gstreamer plugin on windows
I started to read about building a new plugin and found this guide:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/
I noticed that this guide is for linux, my question is if ...
4
votes
1
answer
4k
views
Gstreamer Video Sink for Raspberry Pi
I m working on a Raspberry pi board with gstreamer 1.0 inbstalled. I was testing some pipelines on the board. But in Raspberry pi the video sink is not working.
I tried different videosinks such as ...
3
votes
4
answers
4k
views
How would I use gstreamer to stitch a set of images together to form a video slideshow
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 ...