
EVA SDK User's Manual
Image and Video Capture Plugins
21
3.1.2 filesrc
This element reads data from a file on the local system. For more details, refer to the official GStreamer
documentation at:
https://gstreamer.freedesktop.org/documentation/coreelements/filesrc.html?gi-
3.1.2.1 Examples
Using
gst-launch
Play the song.ogg audio file located in the current working directory.
gst-launch-1.0 filesrc location=song.ogg ! decodebin ! audioconvert !
audioresample ! autoaudiosink
Play the song.ogg audio file located in the current working directory.
gst-launch-1.0 filesrc location=video.avi ! decodebin ! videoconvert ! xvimagesink
The following file formats are supported in GStreamer: avi, m4v, mov, mp4, mpg (MPEG-1/MPEG-2), flv, mkv, and
wmv.
Note
: The element ‘xvimagesink’ is only supported on Linux. It is recommended to use the ‘glimagesink’ or
‘d3dvideosink’ elements to display the window on Windows.
3.1.3 rtspsrc
This element receives data over a network via RTSP (RFC 2326). For more details, refer to the official
documentation at:
https://gstreamer.freedesktop.org/documentation/rtsp/rtspsrc.html?gi-language=c#rtspsrc-page
3.1.3.1 Examples
Using
gst-launch
Establish a connection to an RTSP server and send the raw RTP packets to a fakesink.
gst-launch-1.0 rtspsrc location=rtsp://some.server/url ! fakesink
Launch an RTSP video stream from a Bosch camera with the H.264 codec. The example specifies the IP address
as 192.168.1.20 with a user ID of ooo, and xxx as the password.
gst-launch-1.0 rtspsrc location=rtsp://192.168.1.20 user-id=ooo user-pw=xxx !
rtph264depay ! h264parse ! avdec_h264 ! xvimagesink sync=false
Note
: The element ‘xvimagesink’ is only supported on Linux. It is recommended to use the ‘glimagesink’ or
‘d3dvideosink’ elements to display the window on Windows.
Summary of Contents for EVA SDK
Page 1: ...EVA SDK User s Manual Manual Rev 1 2 Revision Date July 20 2021 Part Number 50M 00010 1020...
Page 4: ...iv Preface This page intentionally left blank...
Page 8: ...4 Introduction This page intentionally left blank...
Page 10: ...6 Setting Environment Variables This page intentionally left blank...
Page 78: ...74 Image Processing Plugins This page intentionally left blank...
Page 110: ...106 Convert for OpenVINO Model This page intentionally left blank...