filesrc
The plug-in filesrc is used to read data from a file.
The following code block provides an example.
gst-launch-1.0 filesrc location=/tmp/test ! filesink location=/tmp/test2
The plug-in is part of the standard GStreamer plug-in tools, see GStreamer Official Documentation on Plug-in for more information on how to use the plug-in.