avsyncaudiotestsrc

avsyncaudiotestsrc is one half of a phase-locked audio/video test pair for measuring end-to-end A/V synchronisation. It emits silence with a short tone pip centred on every pip instant, phase-locked to the bar-centre crossing of avsyncvideotestsrc.

Example

Eyeball-and-ear check — the bar crosses centre exactly on the beep:

 gst-launch-1.0 \
   avsyncvideotestsrc is-live=true ! videoconvert ! autovideosink \
   avsyncaudiotestsrc is-live=true ! audioconvert ! autoaudiosink

Phase locking

The content is derived purely from each buffer's running time and the shared pip-interval, so the two sources are aligned by construction and any skew seen downstream was introduced by the pipeline under test. pip-interval must be set to the same value on both elements. Set is-live=true to pace output against the pipeline clock for live capture or transmit pipelines.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSrc
                    ╰──GstPushSrc
                        ╰──avsyncaudiotestsrc

Factory details

Authors: – NVIDIA Corporation

Classification:Source/Audio

Rank – none

Plugin – avsynctest

Package – gst-avsynctest-rs

Pad Templates

src

audio/x-raw:
           rate: [ 1, 2147483647 ]
       channels: [ 1, 2147483647 ]
         layout: interleaved
         format: { F32LE, S24BE, S16BE }

Presencealways

Directionsrc

Object type – GstPad


Properties

is-live

“is-live” gboolean

Whether to pace output against the pipeline clock

Flags : Read / Write

Default value : false


pip-duration

“pip-duration” guint64

Nanoseconds each tone pip lasts

Flags : Read / Write

Default value : 4000000


pip-freq

“pip-freq” gdouble

Tone frequency of the pip in Hz

Flags : Read / Write

Default value : 1000


pip-interval

“pip-interval” guint64

Nanoseconds between pips (must match the video source)

Flags : Read / Write

Default value : 1000000000


pip-volume

“pip-volume” gdouble

Peak amplitude of the pip (0.0-1.0)

Flags : Read / Write

Default value : 0.8


samples-per-buffer

“samples-per-buffer” guint

Number of samples per output buffer

Flags : Read / Write

Default value : 1024


The results of the search are