If you need to get the spoken word or dialogue out of an MP4 file, you can use AI-powered transcription tools.
If you want to place text, titles, or captions onto an existing video: Randimp4
: In software like DaVinci Resolve or Shotcut , you can drag a "Text" or "Text+" node onto a track above your video on the timeline. If you need to get the spoken word