Isn't that the purpose of `restic mount`?
gst-launch filesrc location=sample.mp4 \
! decodebin \
! videoconvert \
! textoverlay text="Hello" font-desc="Sans Bold 150px" y-absolute=0.5 \
! autovideosink
1. http://manpages.org/gst-launch