H.264 RTSP 绝对时间戳

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

谢谢安德烈亚

推荐答案

正如 Ralf 已经说过的那样 - 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:42:02,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1523602.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:时间   RTSP

发布评论

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

>www.elefans.com

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