gstreamer

GStreamer warning when running OpenCV on Ubuntu

GStreamer warning when running OpenCV on Ubuntu Question: I’m trying to get a script running on my raspberry pi (Ubuntu system). Right now, I was just refreshing myself on the basics of opencv, since it’s been a little while since I worked with it. So I copy pasted this code straight from the OpenCV website …

Total answers: 1

Getting source capabilities

Getting source capabilities Question: Using gst-launch and debug flags, I am able to query the capabilities of my webcam. E.g. ➜ GST_DEBUG=v4l2src:6 gst-launch-1.0 v4l2src device=/dev/video0 ! xvimagesink Setting pipeline to PAUSED … Pipeline is live and does not need PREROLL … Setting pipeline to PLAYING … New clock: GstSystemClock 0:00:00.173516041 29482 0x559bc3ff6ca0 DEBUG v4l2src gstv4l2src.c:512:gst_v4l2src_negotiate:<v4l2src0> …

Total answers: 1

Install gstreamer support for opencv python package

Install gstreamer support for opencv python package Question: 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 opencv. I am trying to get this mimimum working example running on python3 cap = …

Total answers: 3

How do I find the length of media with gstreamer?

How do I find the length of media with gstreamer? Question: How do I find the playback time of media with gstreamer? Asked By: joeforker || Source Answers: Here’s a simple Python script to get the duration of anything gstreamer can decode. Note that all times in gstreamer are in nanoseconds. duration.py: #!/usr/bin/env python # …

Total answers: 4