是否可以从Axis摄像机通过RTSP发送的H.264流中读取绝对时间戳?
Is it possible to read an absolute timestamp from an H.264 stream sent trough RTSP from an Axis camera?
有必要知道相机何时拍摄了镜框.
It will be necessary to know when the frame has been taken by the camera.
谢谢 安德里亚
推荐答案-RTP时间戳相对于随机时钟-它们仅用于计算两个帧之间的差异(或通常来说是RTP数据包) ).要将这些相对值同步到墙上时钟,可以使用RTCP发送器-只需看看Ralf提供的链接即可.
as Ralf already said - the RTP timestamps are relative to a random clock - they are only useful for computing the difference between two frames (or RTP-packets in general). For synchronizing these relative values to a wall clock you can use the RTCP sender - just have a look on the links Ralf provided.
对于使用H.264的Axis产品,此方法效果很好.如果您还使用MPEG4,则Axis固件有问题,并且RTCP SR中的绝对时间戳不可靠-在这种情况下,您必须将相对RTP时间戳与客户端壁钟同步.
For Axis-products using H.264 this works pretty good. In case you're also using MPEG4, the Axis firmware is buggy and the absolute timestamps in RTCP SR are not reliable - in this case you have to synchronize the relative RTP timestamps to your clients wall clock.
更多推荐
H.264 RTSP绝对时间戳
发布评论