dscverifier
Example verifying a signed stream
gst-launch-1.0 videotestsrc pattern=ball num-buffers=30 ! "video/x-raw,framerate=30/1" ! videoconvert ! x265enc key-int-max=5 ! dscsigner private-key-path=./example_content.key public-key-uri=./example_content.crt substream-length=5 ! dscverifier key-store-path="$(pwd)" ! h265parse ! avdec_h265 ! videoconvert ! autovideosink
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──dscverifier
Factory details
Authors: – Diego Nieto
Classification: – Generic
Rank – none
Plugin – dsc
Package – gst-plugin-dsc
Pad Templates
sink
video/x-h265:
alignment: au
stream-format: { (string)byte-stream, (string)hvc1, (string)hev1 }
video/x-h266:
alignment: au
stream-format: { (string)byte-stream, (string)vvc1, (string)vvi1 }
src
video/x-h265:
alignment: au
stream-format: { (string)byte-stream, (string)hvc1, (string)hev1 }
video/x-h266:
alignment: au
stream-format: { (string)byte-stream, (string)vvc1, (string)vvi1 }
Properties
buffer
“buffer” gboolean
Whether to buffer the full GOP before outputting after verification (default: true)
Flags : Read / Write
Default value : true
fail-on-verification-error
“fail-on-verification-error” gboolean
Whether to fail the pipeline when signature verification fails (default: false)
Flags : Read / Write
Default value : false
key-store-path
“key-store-path” gchararray
Fallback directory used to resolve the certificate file name when the key source URI from the stream cannot be fetched directly
Flags : Read / Write
Default value : NULL
max-buffering-time
“max-buffering-time” guint64
Maximum media duration of buffers held before forwarding (0 = unlimited). When exceeded, buffered data is forwarded unverified and the current substream is reported as failed
Flags : Read / Write
Default value : 5000000000
trust-store-path
“trust-store-path” gchararray
Directory path where trusted CA certificates are stored (trustStoreDir)
Flags : Read / Write
Default value : NULL
The results of the search are