I tried various things.
I have checked the connected device by entering the following command.
$ gst-device-monitor-1.0
Probing devices...
Device found:
name : Monitor of Built-in Audio Digital Stereo (HDMI)
class : Audio/Source
caps : audio/x-raw, format=(string){ S16LE, S16BE, F32LE, F32BE, S32LE, S32BE, S24LE, S24BE, S24_32LE, S24_32BE, U8 }, layout=(string)interleaved, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
audio/x-alaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
audio/x-mulaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
properties:
device.description = "Monitor\ of\ Built-in\ Audio\ Digital\ Stereo\ \(HDMI\)"
device.class = monitor
alsa.card = 0
alsa.card_name = tegra-hda
alsa.long_card_name = "tegra-hda\ at\ 0x70038000\ irq\ 83"
device.bus_path = platform-70030000.hda
sysfs.path = /devices/70030000.hda/sound/card0
device.form_factor = internal
device.string = 0
module-udev-detect.discovered = 1
device.icon_name = audio-card
gst-launch-1.0 pulsesrc device=alsa_output.platform-70030000.hda.hdmi-stereo.monitor ! ...
Device found:
name : Monitor of Built-in Audio Analog Stereo
class : Audio/Source
caps : audio/x-raw, format=(string){ S16LE, S16BE, F32LE, F32BE, S32LE, S32BE, S24LE, S24BE, S24_32LE, S24_32BE, U8 }, layout=(string)interleaved, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
audio/x-alaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
audio/x-mulaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
properties:
device.description = "Monitor\ of\ Built-in\ Audio\ Analog\ Stereo"
device.class = monitor
alsa.card = 1
alsa.card_name = tegra-snd-t210ref-mobile-rt565x
alsa.long_card_name = tegra-snd-t210ref-mobile-rt565x
device.bus_path = platform-sound
sysfs.path = /devices/sound/sound/card1
device.form_factor = internal
device.string = 1
module-udev-detect.discovered = 1
device.icon_name = audio-card
gst-launch-1.0 pulsesrc device=alsa_output.platform-sound.analog-stereo.monitor ! ...
Device found:
name : Built-in Audio Analog Stereo
class : Audio/Source
caps : audio/x-raw, format=(string){ S16LE, S16BE, F32LE, F32BE, S32LE, S32BE, S24LE, S24BE, S24_32LE, S24_32BE, U8 }, layout=(string)interleaved, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
audio/x-alaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
audio/x-mulaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
properties:
alsa.resolution_bits = 16
device.api = alsa
device.class = sound
alsa.class = generic
alsa.subclass = generic-mix
alsa.name = ""
alsa.id = "ADMAIF1\ CIF\ ADMAIF1-0"
alsa.subdevice = 0
alsa.subdevice_name = "subdevice\ \#0"
alsa.device = 0
alsa.card = 1
alsa.card_name = tegra-snd-t210ref-mobile-rt565x
alsa.long_card_name = tegra-snd-t210ref-mobile-rt565x
device.bus_path = platform-sound
sysfs.path = /devices/sound/sound/card1
device.form_factor = internal
device.string = front:1
device.buffering.buffer_size = 32768
device.buffering.fragment_size = 16384
device.access_mode = mmap+timer
device.profile.name = analog-stereo
device.profile.description = "Analog\ Stereo"
device.description = "Built-in\ Audio\ Analog\ Stereo"
module-udev-detect.discovered = 1
device.icon_name = audio-card
gst-launch-1.0 pulsesrc device=alsa_input.platform-sound.analog-stereo ! ...
Device found:
name : Built-in Audio Digital Stereo (HDMI)
class : Audio/Sink
caps : audio/x-raw, format=(string){ S16LE, S16BE, F32LE, F32BE, S32LE, S32BE, S24LE, S24BE, S24_32LE, S24_32BE, U8 }, layout=(string)interleaved, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
audio/x-alaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
audio/x-mulaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
properties:
alsa.resolution_bits = 16
device.api = alsa
device.class = sound
alsa.class = generic
alsa.subclass = generic-mix
alsa.name = "HDMI\ 0"
alsa.id = "HDMI\ 0"
alsa.subdevice = 0
alsa.subdevice_name = "subdevice\ \#0"
alsa.device = 3
alsa.card = 0
alsa.card_name = tegra-hda
alsa.long_card_name = "tegra-hda\ at\ 0x70038000\ irq\ 83"
device.bus_path = platform-70030000.hda
sysfs.path = /devices/70030000.hda/sound/card0
device.form_factor = internal
device.string = hdmi:0
device.buffering.buffer_size = 65536
device.buffering.fragment_size = 32768
device.access_mode = mmap+timer
device.profile.name = hdmi-stereo
device.profile.description = "Digital\ Stereo\ \(HDMI\)"
device.description = "Built-in\ Audio\ Digital\ Stereo\ \(HDMI\)"
alsa.mixer_name = "Nvidia\ Tegra210\ HDMI/DP"
alsa.components = "HDA:10de0029\,10de0101\,00100100"
module-udev-detect.discovered = 1
device.icon_name = audio-card
gst-launch-1.0 ... ! pulsesink device=alsa_output.platform-70030000.hda.hdmi-stereo
Device found:
name : Built-in Audio Analog Stereo
class : Audio/Sink
caps : audio/x-raw, format=(string){ S16LE, S16BE, F32LE, F32BE, S32LE, S32BE, S24LE, S24BE, S24_32LE, S24_32BE, U8 }, layout=(string)interleaved, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
audio/x-alaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
audio/x-mulaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 32 ];
properties:
alsa.resolution_bits = 16
device.api = alsa
device.class = sound
alsa.class = generic
alsa.subclass = generic-mix
alsa.name = ""
alsa.id = "ADMAIF1\ CIF\ ADMAIF1-0"
alsa.subdevice = 0
alsa.subdevice_name = "subdevice\ \#0"
alsa.device = 0
alsa.card = 1
alsa.card_name = tegra-snd-t210ref-mobile-rt565x
alsa.long_card_name = tegra-snd-t210ref-mobile-rt565x
device.bus_path = platform-sound
sysfs.path = /devices/sound/sound/card1
device.form_factor = internal
device.string = front:1
device.buffering.buffer_size = 32768
device.buffering.fragment_size = 16384
device.access_mode = mmap+timer
device.profile.name = analog-stereo
device.profile.description = "Analog\ Stereo"
device.description = "Built-in\ Audio\ Analog\ Stereo"
module-udev-detect.discovered = 1
device.icon_name = audio-card
gst-launch-1.0 ... ! pulsesink device=alsa_output.platform-sound.analog-stereo
The results showed that the camera device was not connected.
However, when I entered
gst-launch-1.0 nvarguscamerasrc ! nvoverlaysink
the video input from the camera was displayed on the screen.
By the way, the camera I am using is
“SainSmart IMX219 camera module, 8MP sensor for NVIDIA Jetson Nano 160 degree FoV 3280x2464 resolution, RoHS certified”.
thanks.