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...

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...

Gstreamer with visual C++ express 2010 - tutorial 1

I'm new to Gstreamer, and I have problems when I compile the tutorial 1 of Gstreamer. I'm using Windows 7 64 bit with visual c++ express 2010, and Gstreamer SDK 2012.11 32 bits (downloaded from...

pipeline Gstremer video streaming with delay

Is it possible to give some delay in between before sending demuxed, h264-decoded output to autovideosink in gstreamer pipeline. If so can anybody post sample pipeline to do that. The pipeline...

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...

How to determine webm duration using ffprobe

My goal is simple , I have several webm files need to be concated, but first I need to determine their durations. It seems webm file are played as streams, so there is no way to tell the length of...

Could not initialize Xv output

I have installed gstreamer-1.0 on my target board. When I run the below command: gst-launch-1.0 filesrc location="/home/test.mp4" ! decodebin ! videoconvert ! xvimagesink I am getting the...

VLC - How to play a MJPEG Stream

I have a server broadcasting the video generated by a USB webcam using GStream with the following gst-launch command: gst-launch-1.0 v4l2src ! video/x-raw,width=352,height=288 ! jpegenc!...

Gstreamer rtsp application for audio and video

I was trying to develop an application for the pipeline: gst-launch-1.0 rtspsrc location="rtsp://192.168.3.30:8554/rajvi" latency=0 name=demux demux. ! queue ! rtpmp4gdepay ! aacparse !...

Gstreamer - error in the example 1

When I run the example 1: #include <gst/gst.h> int main(int argc, char *argv[]) { GstElement *pipeline; GstBus *bus; GstMessage *msg; /* Initialize GStreamer */ gst_init (&argc, &argv); /* Build...

No pad-added signal callback in my gstreamer

I am trying to build the pipeline when "pad-added" callback is received . When I run the udpsink pipeline, I am not receiving any callback, instead I am receiving GST_MESSAGE_ERROR, with the...

Create rtsp stream based on opencv images in python

My goal is to read frames from an rtsp server, do some opencv manipulation of the frames and write the manipulated frames to a new rtsp server. I tried the following based on...

PyTorch Cuda with anaconda not available

I'm using anaconda to regulate my environment, for a project i have to use my GPU for network training. I use pytorch for my project and i'm trying to get CUDA working. I installed cudatoolkit,...

OpenCV VideoCapture error: VIDIOC_REQBUFS: Inappropriate ioctl for device

I have been trying to read videos from a file in Java using OpenCV. I am running OpenCV 4.0.0 on Ubuntu. Currently I have been trying to do so as follows: VideoCapture videoCapture = new...

Efficient way of sending a large number of images from client to server

I'm working on a project where one client needs to take several snapshots from a camera (i.e. it's actually taking a short-duration video, hence a stream of frames), then send all images to a...

OpenCV command line app can't access camera under macOS Mojave

I'm unable to access the iMac camera from a command line OpenCV program. (I'm compiling and running the program under CodeRunner, not Xcode.) I've read that Mojave requires...

Problem playing audio with playsound on python3

Testing on RaspberryPi3 B+ model and have just 2 lines of py code. Python version 3.5.3 from playsound import playsound playsound("alarm.wav") I get error below, even after installing packages...

Encode OpenGL texture using GStreamer & NVENC?

I have a openGL application which is rendering data into a rgba texture. I want to encode and stream it using gstreamer framework (using nvenc plugin for h264 encoding). I was looking through the...

cannot stop audio playback gracefully using pydub or playsound in python

This question was asked and answered here: Stop the audio from playing in pydub However, the one answer does not work for me. I am using pydub, Python 3.6 on Ubuntu 18.04. I have tried a number of...

Stream webcam with GStreamer (RTSP)

I have Kodak PIXPRO SP360 4k camera connected to the Jetson Nano or TX2 via USB cable. I want to be able to see that video over browser, either with RTSP stream, Webrtc or something else. It...

How can I run a service inside a docker container to get feed from a IDS uEye camera using gstreamer?

I have a docker container that uses a gstreamer plugin to capture the input of a camera. It runs fine with a Bastler camera but now I need to use an IDS uEye camera. To be able to use this camera...

Open CV RTSP camera buffer lag

I'm struggling to understand why I cant get a "LIVE" feed from my IP camera. It appears that there is a buffer and it causes the frames to build up if not being read - and as each iteration of my...

Change video stream resolution in YoloV4 demo

Here's what shows when loading the live stream demo for Yolov4: Webcam index: 2 [ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (935) open OpenCV | GStreamer warning: Cannot query video...

Put the webcam data to kinesis video stream

Im very new to Api and our use case is to stream the live data from webcam to kinesis video stream (kvs). Steps Taken : Created the ubuntu server on aws and installed the CPP SDK. created the...

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 !...

Running gstreamer vaapi in docker

I'm trying to run Gstreamer vaapi plugin in docker. I only need vaapi decoder with intel backend. In docker, looks like it could support vainfo: vainfo error: XDG_RUNTIME_DIR not set in the...

Does gstreamer gst-rtsp-server accept udpsrc (RTP)?

I want to input an RTP stream into a gstreamer gst-rtsp-server. For initial tests I use the test-launch.c example from github (version 1.14). When I compile it and use it, it works well with the...

GStreamer gst_pad_get_offset and gst_pad_set_offset not working

First of all I want to clarify that I do not speak English very well, so please apologize in advance if I do not express myself well. CONTEXT According to the command *gst-inspect-1.0...

Where is the `glib-2.0` file on Linux?

I have a simple Gtk app in Rust, but I get this error when compiling: Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to...

Embed custom meta-data (bounding boxes) into HLS video stream

I'd like to embed bounding boxes, labels, etc. into live video stream to optionally draw them thereafter on the client-side in web-browser and looking for a way how to do. Could you please give me...