Accessing gstreamer timestamp from python

Letty letizia.mariotti at gmail.com
Fri Apr 2 10:26:31 UTC 2021


Apologie but my code didn't show up. Here it is

This is my gstreamer pipeline:

gst_in =  ('nvarguscamerasrc sensor-id=0 ! '
    'video/x-raw(memory:NVMM), height=1080, width=1920,
framerate=(fraction)30/1, format=NV12 ! '
    'nvvidconv ! video/x-raw, height=1080, width=1920, format=BGRx ! '
    'videoconvert ! video/x-raw, format=BGR ! '
    'appsink')

which then I call through VideoCapture

cap = cv2.VideoCapture(gst_in, cv2.CAP_GSTREAMER)

while True:
    ret, frame = cap.read()



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list