title: Is there a way to run MPEG-TS stream over RTSP?
body: <p>I'm trying to measure latency from the moment a frame was captured, till the time I display it.</p>
  
  <p>In order to do so, I need to make sure I send the PTS value with the captured frame timestamp (with MPEG-TS over UDP). This is how I do it (and it works good!!): </p>
  
  <p>ffmpeg -re -f v4l2 -copyts -i /dev/video0 -c:v libx264 -intra -f mpegts -mpegts_copyts 1 udp://192.168.10.199:1234</p>
  
  <p>Later, I've a short script that reads the PTS, do some calculations, and prints the latency while playing the video on real-time.</p>
  
  <p><strong>Is there a way to do the same over RTSP</strong> (I know I can do it over RTP...) <strong>?</strong> </p>