Redian新闻
>
Re: 有关图象处理的几个问题
avatar
Re: 有关图象处理的几个问题# EE - 电子工程
t*a
1
mpeg据我所知应该是stream的。
一般来说一个video标准应该都是stream的。
这样可以保证real-time播放,而且有一点损失也可以。
在mpeg-4 video VM中,
MPEG-4分frame的。
可以分I frame,B-frame,P-frame.
暂时不考虑mpeg-4的object-based compression.
只考虑mpeg-1,2的类似部分。
那么在stream的头部提供了frame的含多少macroblock
等数据,这样就可以计算一下,next frame有多少数据。
同时还有resynchronization marker.
用于重定位。
所以基本结构可以这么来看。
|RS marker|Header|data|RS Marker|Header|data|...
这样重复构成一个stream.
我已经有不少记不住了,不知道是否完全准确
基本就是这样,你可以去mpeg专家组的homepage看一下他们的faq
我不知道你要做什么,所以不知道这么说有没有用。
其实MPEG-4 VM写的还是比较清晰的,对于mpeg-2叫做TM-test mod
avatar
h*d
2

Frame rate, bit rate etc. can be found the MPEG "sequence header".
However, for variable bit rate MPEG stream, the bit rate is not constant.
Generally you can not know the exact number of bits for one frame unless you
reach the synch word for the next frame, even for constant bit rate video.
You need the MPEG document to know the syntax of the MPEG stream.
Go to: www.mpeg.org/mssg
You will find the encoder, decoder code and bitstreams.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。