title: How to get video start time with libvlc
body: <p>I'm trying to sync multiple videos based on the real time they were saved at.</p>
  
  <p>For playing the video, I ended up with libvlc, but now i'm unable to read the metadata that contains the time at which the video starts.</p>
  
  <p>I would use the start time to calculate offsets for videos, so that i can sync them with each other.</p>
  
  <p>I created the video from an rtsp stream with the ffmpeg command</p>
  
  <pre><code>ffmpeg -i &lt;stream path&gt; -timestamp now output.mp4
  </code></pre>
  
  <p>looking at the file with ffprobe, I can see that it contains the correct timestamp in creation_time.</p>
  
  <p>But this I am unable to read with libvlc.</p>
  
  <p>Is there a way to save the real wallclock start time on the video in such a way that i can read it from libvlc?</p>
  
  <p>Other suggestions that tell me how to sync two videos are welcome as well.</p>