H.264 RTSP绝对时间戳

编程入门 行业动态 更新时间:2024-10-24 18:20:55
本文介绍了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绝对时间戳

本文发布于:2023-10-24 09:41:45,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1523601.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:时间   RTSP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!