[x264-devel] redundant SPS/PPS
Jason Garrett-Glaser
jason at x264.com
Wed Oct 12 17:22:14 CEST 2011
On Mon, Oct 10, 2011 at 5:26 AM, Rahul Arvind Jadhav
<rahul.jadhav at huawei.com> wrote:
> Is it necessary to "mandatorily" add SPS/PPS before every non-consecutive
> IDR frame even though the SPS/PPS to be sent are same as sent previously
> especially in context to "reliable transport mode" used such as TCP?
>
>
>
> For e.g. After checking out YouTube H264 streams, I found that most of the
> SPS/PPS are redundant and transmitted before every non-consecutive IDR
> frame.
>
>
>
> I assume the redundancy holds good for certain transport modes such as UDP,
> but for TCP it might be counter-productive.
>
>
>
> So if i dont send multiple SPS/PPS will there be any interoperability
> problems and before that, is it ok to do as per the specs?
Whether SPS/PPS are sent per-keyframe or globally is typically
mandated by the container format. MP4 has a global header, for
example, whereas MPEG-TS does not.
Jason
More information about the x264-devel
mailing list