Skip to content

Latest commit

 

History

History

gst-plugin-nvargustime

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

gst-plugin-nvargustime

Gstreamer plugin to extract time from nvidiaargussrc.

See this for more info.

build and run

Build and run like this:

cargo build --release
export GST_PLUGIN_PATH=`pwd`/../target/release

# to show timestamps on the Jetson Nano:

gst-launch-1.0 nvarguscamerasrc silent=false ! nvargustime ! fakesink

As seen above, nvargustime must be the pipeline element immediately after nvarguscamerasrc.

Inspect the plugin like this:

gst-inspect-1.0 nvargustime

Further reading

Start here.

See also this and this.

Observations

  • The PTS is locked to the timestamp saved by nvarguscamerasrc offset by a fixed amount.
  • The timestamp saved by nvarguscamerasrc is in units of CLOCK_MONOTONIC

License

gst-plugin-nvargustime is Copyright (C) 2020 Andrew Straw [email protected].

Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option. This file may not be copied, modified, or distributed except according to those terms.