title: C++ Video Stream detect FPS
body: <p>I try to get the correct fps of a video stream from an axis or eneo camera.</p>
  
  <pre><code>rtsp://192.168.0.1:554/axis-media/media.amp
  </code></pre>
  
  <p>I use <a href="https://docs.opencv.org/3.1.0/d8/dfe/classcv_1_1VideoCapture.html#aeb1644641842e6b104f244f049648f94" rel="nofollow noreferrer"><code>cv::VideoCapture::get(CV_CAP_PROP_FPS);</code></a> but with some cameras the result is invalid for example the result is 180000 but the correct value is 25. I have check it with wireshark and see the value in the <a href="https://en.wikipedia.org/wiki/Session_Description_Protocol" rel="nofollow noreferrer">SDP Protocol</a> is correct.</p>
  
  <pre><code>Media Attribute (a): framerate:25.000000
  </code></pre>
  
  <p>Which Information <code>cv::VideoCapture::get</code> read?</p>