Procedure to test SDI audio with Gstreamer Utilities

Linux Drivers

Release Date
2023-07-22

Recording a file: gst-launch is used to record the audio file.

Following is the recording audio file with 24bit bit depth, 48khz sampling frequency and 2 channel audio properties. gst-launch is using alsa src plugin to enable recording with SPDIF driver.

gst-launch-1.0 alsasrc device=hw:1,1 ! queue ! audio/x-raw,format=S24_32LE,rate=48000,channels=2 ! filesink location=48000.raw

Playing a file: gst-launch is used to play the audio file.

Following is the playing audio file with 24bit bit depth, 48khz sampling frequency and 2 channel audio properties. gst-launch is using alsa sink plugin to enable playback with SPDIF driver.

gst-launch-1.0 filesrc location=48000.raw ! audio/x-raw,format=S24_32LE,rate=48000,channels=2  ! alsasink device=hw:0,0