H.264 RTSP绝对时间戳 [英] H.264 RTSP Absolute TIMESTAMP

查看:757
本文介绍了H.264 RTSP绝对时间戳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从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绝对时间戳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆