RTSP with Gstreamer to VLC

hi,
i i would like to send my GMSL camera stream from the jetson agx orin device to my ubuntu pc using rtsp protocol. both the systems are in the same network and connected via ethernet.
i ran the following command on my jetson device to send the stream to my pc
gst-launch-1.0 nvarguscamerasrc ! \

'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12' ! \

nvv4l2h264enc ! 'video/x-h264, stream-format=(string)byte-stream' ! \

h264parse ! rtph264pay name=pay0 pt=96 config-interval=1 ! \

udpsink host=172.24.81.136 port=5000 sync=false

and i ran the following command in ubuntu pc
vlc rtsp://172.24.81.132:5000

but when i ran the commands i got error in my pc as follows:
vlc rtsp://172.24.81.132:5000 -vvv
Driver does not support the 0x4680 PCI ID.
libGL error: failed to create dri screen
libGL error: failed to load driver: iris
Driver does not support the 0x4680 PCI ID.
libGL error: failed to create dri screen
libGL error: failed to load driver: iris
VLC media player 3.0.19 Vetinari (revision 3.0.19-0-g32b50de2a2)
[000056187f346b40] main libvlc debug: VLC media player - 3.0.19 Vetinari
[000056187f346b40] main libvlc debug: Copyright © 1996-2023 the VideoLAN team
[000056187f346b40] main libvlc debug: revision 3.0.19-0-g32b50de2a2
[000056187f346b40] main libvlc debug: configured with ./configure ‘–prefix=/builds/videolan/vlc/extras/package/snap/parts/vlc/install/usr’ ‘–disable-wayland’ ‘–enable-merge-ffmpeg’ ‘CFLAGS= -I/builds/videolan/vlc/extras/package/snap/parts/vlc/install/usr/include -I/builds/videolan/vlc/extras/package/snap/stage/usr/include’ ‘LDFLAGS= -L/builds/videolan/vlc/extras/package/snap/parts/vlc/install/lib -L/builds/videolan/vlc/extras/package/snap/parts/vlc/install/usr/lib -L/builds/videolan/vlc/extras/package/snap/parts/vlc/install/lib/x86_64-linux-gnu -L/builds/videolan/vlc/extras/package/snap/parts/vlc/install/usr/lib/x86_64-linux-gnu -L/builds/videolan/vlc/extras/package/snap/stage/lib -L/builds/videolan/vlc/extras/package/snap/stage/usr/lib -L/builds/videolan/vlc/extras/package/snap/stage/lib/x86_64-linux-gnu -L/builds/videolan/vlc/extras/package/snap/stage/usr/lib/x86_64-linux-gnu’ ‘CPPFLAGS= -I/builds/videolan/vlc/extras/package/snap/parts/vlc/install/usr/include -I/builds/videolan/vlc/extras/package/snap/stage/usr/include’ ‘CXXFLAGS= -I/builds/videolan/vlc/extras/package/snap/parts/vlc/install/usr/include -I/builds/videolan/vlc/extras/package/snap/stage/usr/include’ ‘PKG_CONFIG_PATH=:/builds/videolan/vlc/extras/package/snap/parts/vlc/install/usr/lib/x86_64-linux-gnu/pkgconfig:/builds/videolan/vlc/extras/package/snap/parts/vlc/install/usr/share/pkgconfig:/builds/videolan/vlc/extras/package/snap/stage/usr/share/pkgconfig’
[000056187f346b40] main libvlc debug: searching plug-in modules
[000056187f346b40] main libvlc debug: loading plugins cache file /snap/vlc/3721/usr/lib/vlc/plugins/plugins.dat
[000056187f346b40] main libvlc debug: recursively browsing /snap/vlc/3721/usr/lib/vlc/plugins' [000056187f346b40] main libvlc debug: plug-ins loaded: 524 modules [000056187f346b40] main libvlc debug: opening config file (/home/inbe1e-dt550cn/snap/vlc/common/vlcrc) [000056187f346e90] main logger debug: looking for logger module matching "any": 3 candidates [000056187f346e90] main logger debug: using logger module "console" [000056187f346b40] main libvlc debug: translation test: code is "C" [000056187f3e4800] main keystore debug: looking for keystore module matching "memory": 4 candidates [000056187f3e4800] main keystore debug: using keystore module "memory" [000056187f346b40] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 FPU [000056187f3ead30] main input debug: Creating an input for 'Media Library' [000056187f3ead30] main input debug: Input is a meta file: disabling unneeded options [000056187f3ead30] main input debug: using timeshift granularity of 50 MiB [000056187f3ead30] main input debug: using default timeshift path [000056187f3ead30] main input debug: file/directory:///home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/ml.xspf’ gives access file' demux directory’ path /home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/ml.xspf' [000056187f3e4ba0] main input source debug: creating demux: access='file' demux='directory' location='/home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/ml.xspf' file='/home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/ml.xspf' [000056187f3e4330] main demux debug: looking for access_demux module matching "file": 21 candidates [000056187f3e4330] main demux debug: no access_demux modules matched [000056187f408150] main stream debug: creating access: file:///home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/ml.xspf [000056187f408150] main stream debug: (path: /home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/ml.xspf) [000056187f408150] main stream debug: looking for access module matching "file": 29 candidates [000056187f408150] main stream debug: using access module "filesystem" [000056187f409050] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates [000056187f409050] cache_read stream debug: Using stream method for AStream* [000056187f409050] cache_read stream debug: starting pre-buffering [000056187f409050] cache_read stream debug: received first data after 0 ms [000056187f409050] cache_read stream debug: pre-buffering done 296 bytes in 0s - 7226 KiB/s [000056187f409050] main stream debug: using stream_filter module "cache_read" [000056187f409fa0] main stream debug: looking for stream_filter module matching "any": 26 candidates [000056187f409fa0] playlist stream debug: using XSPF playlist reader [000056187f409fa0] main stream debug: using stream_filter module "playlist" [000056187f409fa0] main stream debug: stream filter added to 0x56187f409050 [000056187f40d070] main stream debug: looking for stream_filter module matching "any": 26 candidates [000056187f40d070] main stream debug: no stream_filter modules matched [000056187f3e4f80] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates [000056187f3e4f80] main stream_directory debug: no stream_directory modules matched [000056187f3e4ba0] main input source debug: attachment of directory-extractor failed for file:///home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/ml.xspf [000056187f40d070] main stream debug: looking for stream_filter module matching "record": 26 candidates [000056187f40d070] main stream debug: using stream_filter module "record" [000056187f3e4ba0] main input source debug: creating demux: access='file' demux='directory' location='/home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/ml.xspf' file='/home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/ml.xspf' [000056187f3e4330] main demux debug: looking for demux module matching "directory": 56 candidates [000056187f3e4330] main demux debug: using demux module "directory" [000056187f40f1e0] main demux meta debug: looking for meta reader module matching "any": 2 candidates [000056187f40f1e0] lua demux meta debug: Trying Lua scripts in /home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/lua/meta/reader [000056187f40f1e0] lua demux meta debug: Trying Lua scripts in /snap/vlc/3721/usr/lib/vlc/lua/meta/reader [000056187f40f1e0] lua demux meta debug: Trying Lua playlist script /snap/vlc/3721/usr/lib/vlc/lua/meta/reader/filename.luac [000056187f40f1e0] lua demux meta debug: Trying Lua scripts in /snap/vlc/3721/usr/share/vlc/lua/meta/reader [000056187f40f1e0] main demux meta debug: no meta reader modules matched [000056187f3ead30] main input debug: file/directory:///home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/ml.xspf’ successfully opened
[000056187f413d10] main xml reader debug: looking for xml reader module matching “any”: 1 candidates
[000056187f413d10] main xml reader debug: using xml reader module “xml”
[000056187f3ead30] main input debug: EOF reached
[000056187f3e4330] main demux debug: removing module “directory”
[000056187f40d070] main stream debug: removing module “record”
[000056187f409fa0] main stream debug: removing module “playlist”
[000056187f409050] main stream debug: removing module “cache_read”
[000056187f408150] main stream debug: removing module “filesystem”
[000056187f3e87e0] main playlist debug: creating audio output
[000056187f412050] main audio output debug: looking for audio output module matching “any”: 6 candidates
[000056187f412050] vlcpulse audio output debug: using library version 11.1.0
[000056187f412050] vlcpulse audio output debug: (compiled with version 11.1.0, protocol 32)
[000056187f412050] vlcpulse audio output debug: connected locally to unix:/run/user/1001/snap.vlc/…/pulse/native as client #56
[000056187f412050] vlcpulse audio output debug: using protocol 32, server protocol 33
[000056187f412050] pulse audio output debug: adding sink 1: alsa_output.pci-0000_00_1f.3.analog-stereo (Built-in Audio Analog Stereo)
[000056187f412050] main audio output debug: using audio output module “pulse”
[000056187f3e87e0] main playlist debug: keeping audio output
[000056187f3e0f40] main interface debug: looking for interface module matching “dbus,none”: 17 candidates
[000056187f3e0f40] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc
[000056187f3e0f40] main interface debug: using interface module “dbus”
[000056187f424d60] main interface debug: looking for interface module matching “hotkeys,none”: 17 candidates
[000056187f424d60] main interface debug: using interface module “hotkeys”
[000056187f425790] main interface debug: looking for interface module matching “globalhotkeys,none”: 17 candidates
[000056187f425790] main interface debug: using interface module “xcb_hotkeys”
[000056187f346b40] main libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
[000056187f4266f0] main interface debug: looking for interface module matching “any”: 17 candidates
[000056187f3e0f40] dbus interface debug: Getting All properties
[000056187f3e0f40] dbus interface debug: Getting All properties
[000056187f3e0f40] dbus interface debug: Getting All properties
Qt: Session management error: Could not open network socket
[00007fbc680c81c0] main generic debug: looking for extension module matching “any”: 1 candidates
[00007fbc680c81c0] lua generic debug: Opening Lua Extension module
[00007fbc680c81c0] lua generic debug: Trying Lua scripts in /home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/lua/extensions
[00007fbc680c81c0] lua generic debug: Trying Lua scripts in /snap/vlc/3721/usr/lib/vlc/lua/extensions
[00007fbc680c81c0] lua generic debug: Trying Lua playlist script /snap/vlc/3721/usr/lib/vlc/lua/extensions/VLSub.luac
[00007fbc680c81c0] lua generic debug: Scanning Lua script /snap/vlc/3721/usr/lib/vlc/lua/extensions/VLSub.luac
[00007fbc680c81c0] lua generic debug: Script /snap/vlc/3721/usr/lib/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5
[00007fbc680c81c0] lua generic debug: Trying Lua scripts in /snap/vlc/3721/usr/share/vlc/lua/extensions
[00007fbc680c81c0] main generic debug: using extension module “lua”
Driver does not support the 0x4680 PCI ID.
libGL error: failed to create dri screen
libGL error: failed to load driver: iris
Driver does not support the 0x4680 PCI ID.
libGL error: failed to create dri screen
libGL error: failed to load driver: iris
[000056187f4266f0] main interface debug: using interface module “qt”
[000056187f3e87e0] main playlist debug: processing request item: null, node: Playlist, skip: 0
[000056187f3e87e0] main playlist debug: rebuilding array of current - root Playlist
[000056187f3e87e0] main playlist debug: rebuild done - 1 items, index -1
[000056187f3e87e0] main playlist debug: starting playback of new item
[000056187f3e87e0] main playlist debug: resyncing on rtsp://172.24.81.132:5000
[000056187f3e87e0] main playlist debug: rtsp://172.24.81.132:5000 is at 0
[000056187f3e87e0] main playlist debug: creating new input thread
[00007fbbbc000c40] main input debug: Creating an input for ‘rtsp://172.24.81.132:5000’
[000056187f3e87e0] main playlist debug: requesting art for new input thread
[000056187f4266f0] qt interface debug: IM: Setting an input
[00007fbbbc000c40] main input debug: using timeshift granularity of 50 MiB
[00007fbbbc000c40] main input debug: using default timeshift path
[00007fbbbc000c40] main input debug: rtsp://172.24.81.132:5000' gives access rtsp’ demux any' path 172.24.81.132:5000’
[00007fbbb0001000] main input source debug: creating demux: access=‘rtsp’ demux=‘any’ location=‘172.24.81.132:5000’ file=‘(null)’
[00007fbbb0001190] main demux debug: looking for access_demux module matching “rtsp”: 21 candidates
[00007fbbac000be0] main meta fetcher debug: looking for meta fetcher module matching “any”: 1 candidates
[00007fbbac000be0] lua meta fetcher debug: Trying Lua scripts in /home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/lua/meta/fetcher
[00007fbbac000be0] lua meta fetcher debug: Trying Lua scripts in /snap/vlc/3721/usr/lib/vlc/lua/meta/fetcher
[00007fbbac000be0] lua meta fetcher debug: Trying Lua scripts in /snap/vlc/3721/usr/share/vlc/lua/meta/fetcher
[00007fbbac000be0] main meta fetcher debug: no meta fetcher modules matched
[00007fbbac000be0] main art finder debug: looking for art finder module matching “any”: 2 candidates
[00007fbbb0001190] live555 demux debug: version 2016.11.28
Opening connection to 172.24.81.132, port 5000…
[00007fbbac000be0] lua art finder debug: Trying Lua scripts in /home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/lua/meta/art
[00007fbbac000be0] lua art finder debug: Trying Lua scripts in /snap/vlc/3721/usr/lib/vlc/lua/meta/art
[00007fbbac000be0] lua art finder debug: Trying Lua playlist script /snap/vlc/3721/usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007fbbac000be0] lua art finder debug: skipping script (unmatched scope) /snap/vlc/3721/usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007fbbac000be0] lua art finder debug: Trying Lua playlist script /snap/vlc/3721/usr/lib/vlc/lua/meta/art/01_googleimage.luac
[00007fbbac000be0] lua art finder debug: skipping script (unmatched scope) /snap/vlc/3721/usr/lib/vlc/lua/meta/art/01_googleimage.luac
[00007fbbac000be0] lua art finder debug: Trying Lua playlist script /snap/vlc/3721/usr/lib/vlc/lua/meta/art/02_frenchtv.luac
…Connection to server failed: Connection refused
[00007fbbac000be0] lua art finder debug: skipping script (unmatched scope) /snap/vlc/3721/usr/lib/vlc/lua/meta/art/02_frenchtv.luac
Opening connection to 172.24.81.132, port 5000…
[00007fbbac000be0] lua art finder debug: Trying Lua playlist script /snap/vlc/3721/usr/lib/vlc/lua/meta/art/03_lastfm.luac
[00007fbbac000be0] lua art finder debug: skipping script (unmatched scope) /snap/vlc/3721/usr/lib/vlc/lua/meta/art/03_lastfm.luac
[00007fbbac000be0] lua art finder debug: Trying Lua scripts in /snap/vlc/3721/usr/share/vlc/lua/meta/art
[00007fbbac000be0] main art finder debug: no art finder modules matched
…Connection to server failed: Connection refused
[00007fbbac000be0] main meta fetcher debug: looking for meta fetcher module matching “any”: 1 candidates
[00007fbbb0001190] live555 demux debug: connection error -115
[00007fbbb0001190] live555 demux error: Failed to connect with rtsp://172.24.81.132:5000
[00007fbbac000be0] lua meta fetcher debug: Trying Lua scripts in /home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/lua/meta/fetcher
[00007fbbac000be0] lua meta fetcher debug: Trying Lua scripts in /snap/vlc/3721/usr/lib/vlc/lua/meta/fetcher
[00007fbbac000be0] lua meta fetcher debug: Trying Lua scripts in /snap/vlc/3721/usr/share/vlc/lua/meta/fetcher
[00007fbbac000be0] main meta fetcher debug: no meta fetcher modules matched
[00007fbbac000be0] main art finder debug: looking for art finder module matching “any”: 2 candidates
[00007fbbac000be0] lua art finder debug: Trying Lua scripts in /home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/lua/meta/art
[00007fbbac000be0] lua art finder debug: Trying Lua scripts in /snap/vlc/3721/usr/lib/vlc/lua/meta/art
[00007fbbb0001190] main demux debug: no access_demux modules matched
[00007fbbb0002fb0] main stream debug: creating access: rtsp://172.24.81.132:5000
[00007fbbb0002fb0] main stream debug: looking for access module matching “rtsp”: 29 candidates
[00007fbbac000be0] lua art finder debug: Trying Lua playlist script /snap/vlc/3721/usr/lib/vlc/lua/meta/art/00_musicbrainz.luac
[00007fbbb0002fb0] satip stream debug: try to open ‘rtsp://172.24.81.132:5000’
[00007fbbb0002fb0] satip stream debug: connect to host ‘172.24.81.132’
[00007fbbb0002fb0] main stream debug: net: connecting to 172.24.81.132 port 5000
[00007fbbac000be0] lua art finder debug: Trying Lua playlist script /snap/vlc/3721/usr/lib/vlc/lua/meta/art/01_googleimage.luac
[00007fbbac000be0] lua art finder debug: Trying Lua playlist script /snap/vlc/3721/usr/lib/vlc/lua/meta/art/02_frenchtv.luac
[00007fbbb0002fb0] main stream error: connection failed: Connection refused
[00007fbbac000be0] lua art finder debug: Trying Lua playlist script /snap/vlc/3721/usr/lib/vlc/lua/meta/art/03_lastfm.luac
[00007fbbb0002fb0] satip stream error: Failed to connect to RTSP server 172.24.81.132:5000
[00007fbbb0002fb0] main stream debug: no access modules matched
[000056187f3e87e0] main playlist debug: dead input
[000056187f3e87e0] main playlist debug: changing item without a request (current 0/1)
[000056187f3e87e0] main playlist debug: nothing to play
[00007fbbac000be0] lua art finder debug: Trying Lua scripts in /snap/vlc/3721/usr/share/vlc/lua/meta/art
[00007fbbac000be0] main art finder debug: no art finder modules matched
[000056187f4266f0] qt interface debug: IM: Deleting the input
[000056187f4266f0] qt interface debug: video widget is orphaned
[000056187f346b40] main libvlc debug: exiting
[000056187f346b40] main libvlc debug: exiting
[000056187f346b40] main libvlc debug: removing all interfaces
[000056187f4266f0] main interface debug: removing module “qt”
[000056187f3e87e0] main playlist debug: deactivating the playlist
[000056187f412050] main audio output debug: removing module “pulse”
[000056187f4266f0] qt interface debug: requesting exit…
[000056187f4266f0] qt interface debug: waiting for UI thread…
[000056187f4266f0] qt interface debug: QApp exec() finished
[000056187f4266f0] qt interface debug: video widget is orphaned
[000056187f4266f0] qt interface debug: Killing extension dialog provider
[000056187f4266f0] qt interface debug: ExtensionsDialogProvider is quitting…
[00007fbc680c81c0] main generic debug: removing module “lua”
[000056187f425790] main interface debug: removing module “xcb_hotkeys”
[000056187f424d60] main interface debug: removing module “hotkeys”
[000056187f3e0f40] main interface debug: removing module “dbus”
[000056187f3e87e0] main playlist debug: destroying
[000056187f422030] main playlist export debug: saving media library to file /home/inbe1e-dt550cn/snap/vlc/3721/.local/share/vlc/ml.xspf.tmp68999
[000056187f422030] main playlist export debug: looking for playlist export module matching “export-xspf”: 4 candidates
[000056187f422030] main playlist export debug: using playlist export module “export”
[000056187f422030] main playlist export debug: removing module “export”
[000056187f3e87e0] main playlist debug: deleting item Media Library' [000056187f3e87e0] main playlist debug: deleting item rtsp://172.24.81.132:5000’
[000056187f3e87e0] main playlist debug: deleting item `Playlist’
[000056187f3e4800] main keystore debug: removing module “memory”
QObject::~QObject: Timers cannot be stopped from another thread

the error i’m getting is:
live555 demux debug: connection error -115
live555 demux error: Failed to connect with rtsp://172.24.81.132:5000
main stream error: connection failed: Connection refused
satip stream error: Failed to connect to RTSP server 172.24.81.132:5000

i’m getting this only while rtsp

but i’m able to do ping and ssh between the systems

I’m able to even stream using http but not using rtsp. In http stream there is also lot of lag ~ 10secs

could anyone assist?
it’s an urgency

Hello,
Maybe you can use test-launch as described in Jetson Nano FAQ - Jetson & Embedded Systems / Jetson Nano - NVIDIA Developer Forums
The source can be found gst-rtsp-server/examples/test-launch.c at 1.14.5 · GStreamer/gst-rtsp-server · GitHub

This worked for me and I could revceive the stream in VLC rtsp://127.0.0.1:8554/test

Best regards
Andreas

rtp is working but not rtsp,

Hi,
Please check if there is firewall in network blocking rtsp. We can use test-launch to launch RTSP server on AGX Orin developer kit, and open stream on host PC via VLC. Probably it fails due to strict network setting in your environment.

Jetpack 5 is with gstreamer 1.16.2 so please use test-launch of 1.16.2:

Jetson AGX Orin FAQ
Q: Is there any example of running RTSP streaming?

i even tried connecting them in local network also disable the ufw firewall service as well. but not working

Hi,
We try VLC on host PCs in Linux and Windows. Both are working well. Please do
[AGX Orin]

  1. Run the command to launch RTSP server:
$ ./test-launch "videotestsrc is-live=1 ! nvvidconv ! nvv4l2h264enc ! h264parse ! rtph264pay name=pay0 pt=96"

[host PC]

  1. Open VLC player and go to MediaOpen Network Stream
  2. Type in URL rtsp://<IP_ADDRESS_OF_AGX_ORIN>:8554/test and click PLAY

the test-launch file 1.16.3 has included lot of files that are not present.
i have installed all the libgstreamer packages as well


Hi,
We can build it successfully although there are some warnings:

$ gcc test_launch_1_16_3.c -o test-launch $(pkg-config --cflags --libs gstreamer-1.0 gstreamer-rtsp-server-1.0)
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:2
,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:
58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-po
ol.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-obj
ect.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:2
8,
                 from test_launch_1_16_3.c:22:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:79:1: warning: ‘GTimeVa
’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   79 | GstRTSPResult      gst_rtsp_connection_connect                (GstRTSPCo
nnection * conn, GTimeVal * timeout);
      | ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test_launch_1_16_3.c:20:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:2
,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:
58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-po
ol.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-obj
ect.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:2
8,
                 from test_launch_1_16_3.c:22:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:82:1: warning: ‘GTimeVa
’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   82 | GstRTSPResult      gst_rtsp_connection_connect_with_response  (GstRTSPCo
nnection * conn, GTimeVal * timeout, GstRTSPMessage * response);
      | ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test_launch_1_16_3.c:20:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:2
,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:
58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-po
ol.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-obj
ect.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:2
8,
                 from test_launch_1_16_3.c:22:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:127:56: warning: ‘GTimeV
al’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  127 |                                                        guint size, GTime
Val * timeout);
      |                                                        ^~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test_launch_1_16_3.c:20:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:2
,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:
58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-po
ol.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-obj
ect.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:2
8,
                 from test_launch_1_16_3.c:22:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:131:56: warning: ‘GTimeV
al’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  131 |                                                        guint size, GTime
Val * timeout);
      |                                                        ^~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test_launch_1_16_3.c:20:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:2
,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:
58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-po
ol.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-obj
ect.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:2
8,
                 from test_launch_1_16_3.c:22:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:137:56: warning: ‘GTimeV
al’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  137 |                                                        GTimeVal *timeout
);
      |                                                        ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test_launch_1_16_3.c:20:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:2
,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:
58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-po
ol.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-obj
ect.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:2
8,
                 from test_launch_1_16_3.c:22:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:141:56: warning: ‘GTimeV
al’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  141 |                                                        GTimeVal *timeout
);
      |                                                        ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test_launch_1_16_3.c:20:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:2
,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:
58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-po
ol.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-obj
ect.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:2
8,
                 from test_launch_1_16_3.c:22:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:145:56: warning: ‘GTimeV
al’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  145 |                                                        GTimeVal *timeout
);
      |                                                        ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test_launch_1_16_3.c:20:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:2
,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:
58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-po
ol.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-obj
ect.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:2
8,
                 from test_launch_1_16_3.c:22:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:151:56: warning: ‘GTimeV
al’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  151 |                                                        GstRTSPEvent *rev
ents, GTimeVal *timeout);
      |                                                        ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test_launch_1_16_3.c:20:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:2
,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:
58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-po
ol.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-obj
ect.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:2
8,
                 from test_launch_1_16_3.c:22:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:156:1: warning: ‘GTimeVa
l’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  156 | GstRTSPResult      gst_rtsp_connection_next_timeout   (GstRTSPConnection
 *conn, GTimeVal *timeout);
      | ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test_launch_1_16_3.c:20:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:2
,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:
58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-po
ol.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-obj
ect.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:2
8,
                 from test_launch_1_16_3.c:22:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:328:55: warning: ‘GTimeV
al’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  328 |                                                       GTimeVal *timeout)
;
      |                                                       ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test_launch_1_16_3.c:20:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-po
ol.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-obj
ect.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:2
8,
                 from test_launch_1_16_3.c:22:
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:121:1: warning: ‘GTime
Val’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  121 | gint                   gst_rtsp_session_next_timeout         (GstRTSPSes
sion *session, GTimeVal *now);
      | ^~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test_launch_1_16_3.c:20:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-po
ol.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-obj
ect.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:2
8,
                 from test_launch_1_16_3.c:22:
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:124:1: warning: ‘GTime
Val’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  124 | gboolean               gst_rtsp_session_is_expired           (GstRTSPSes
sion *session, GTimeVal *now);
      | ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test_launch_1_16_3.c:20:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~