- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
part-synchronisation gstreamer 同步(- gstreamer 同步 synchronization)
part-synchronisation gstreamer 同步(- gstreamer 同步 synchronization)
synchronization
---------------
同步
this paper outlines the techniques used for doing synchronised playback of
multiple streams.
本文档概要的描述回放时多路流同步使用的方法
synchronization in a gstpipeline is achieved using the following three components:
同步是在管线 (gstpipeline) 中使用如下三个组件实现的.
- gstclock, which is global for all elements in a gstpipeline.
gstclock gst时钟对于管线中的所有元件来说是全局的
it was gstbuffer timestamps.
gst缓冲 上的时间戳 (gstbuffer)
- the new _ event preceding the segment buffers.
在缓冲之前的new _ segment事件
a gstclock
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
一个gst时钟
this object provides a counter that represents the current time in nanoseconds.
这个对象以纳秒为单位提供一个描述当前时间的计数器
this value is called the absolute _ time.
这个值被叫做绝对时间
different sources exist for this counter.
这个计数器存在不同的来源.
the system time (with g _ get _ current _ time () and with microsecond accuracy)
系统时间 (使用g _ get _ current _ time () 获取, 提供毫秒级的精度
an audio device (based on number of samples).
一个音频设备 (基于播放的采样数)
a network source based on packets received packets (in the + timestamps
typical example is an rtp source)
一个基于从网络接收到的包及存在于这些包内的时间戳 (一个典型的例子是一个rtp源)
-...
in gstreamer any element can provide a gstclock object that can be used in the
the pipeline. the gstpipeline object will select a clock from all the providers and
will distribute it to all other elements (see part-gstpipeline.txt).
在gstreamer中, 任何元件都可提供一个可用于管线的时钟.管线从所有元件提供的时钟中选择一个分配到所有其它的元件 (参见 part-gstpipeline.txt).
a gstclock always counts time upwards and does not necessarily start at 0.
一个gstclock总是向上计数 (增大), 而且不一定是从0开始.
the running time
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
运行时间
after a pipeline in a clock it will maintain the running time based on the _
selected clock.
这running_time代表总时间花费在玩
状态,并计算如下:
管线选择一个时钟后将基于选择的时钟维护一个运行时钟。这个运行时钟描述播放(从转到打状态到现在的时间运行时间下面的方式计算):
如果管道是空/准备好,running_time是未定义的。
如果管线是空/准备状态,运行时间是未定义的。
在停顿了一下,的running_time仍然在当时当上
停下来。当流了第一次的running_time
0。
在暂停状态,运行时间保持暂停时的时间当流是第一次暂停时,运行时间是0。
在玩的running_time之间的三角absolute_time
和基准时间。
您可能关注的文档
- 手机bga元件的维修技术与操作技能(上)(Maintenance technology and operation skills of mobile phone BGA components (Part I)).doc
- 抚顺市采煤沉陷区管理规定(Provisions of Fushun Municipality on the administration of coal mining subsidence areas).doc
- 拉萨市城市地下管线管理暂行办法(Interim Measures for the administration of urban underground pipelines in Lhasa).doc
- 拍牌攻略(Brand introduction).doc
- 拒绝批假条 管理车间主管被泼硫酸(Refuse to fake management supervisor was splashed sulfuric acid).doc
- 拓维思资料(Invensys extension data).doc
- 拍摄十八忌(Shooting eighteen bogey).doc
- 招商基础知识(Basic knowledge of investment).doc
- 招投标临时信息(Temporary information of bidding).doc
- 招商局董事长秦晓应将国有资产分散到民众手中(China Merchants board chairman Qin Xiao state-owned assets should be dispersed into the hands of the masses).doc
- pathloss.v5.0 1cd(为频率在 30 mhz to 100 ghz之间的无线电通讯的通道设计工具)(路径损耗。5.0 1cd(为频率在30 MHz到100 GHz的之间的无线电通讯的通道设计工具)).doc
- pa尼 龙(PA nylon).doc
- pcb治具设计、制造和管理(PCB jig design, manufacture and management).doc
- pc dims 测头文件编辑指南(PC dims header file editing Guide).doc
- pcb飞针电测教程(PCB flying needle electrical measurement tutorial).doc
- pcie管脚约束(pcie管脚约束).doc
- pc控制单片机继电器开关程序(PC control singlechip relay switch program).doc
- petrosite.v5.5 1cd测井解释(petrosite.v5.5 1cd测井解释).doc
- pet瓶的加工与成型(Processing and forming of PET bottle).doc
- pcr选购常识(PCR buying common sense).doc
文档评论(0)