[x264-devel] Finding access units with intra-refresh

Tim Pitman tapitman11 at gmail.com
Wed Oct 24 00:41:42 CEST 2012


I'm encoding a low latency stream using x264 with intra-refresh and
decoding using libavcodec. I'm trying to understand the best way to
pass data to libavcodec because it's giving me some error messages
("no frame", etc), even though the stream mostly plays ok. I thought
that I was passing it one NALU at a time, but it turns out I was only
passing it all the data between consecutive SPS and PPS. So it seems
like the  most correct thing to do is get one complete frame and then
hand that to libavcodec.

My question is how do I find the beginning of a frame? From the spec I
was hoping to find access unit codes in the headers but I'm not seeing
any in my test stream. Would intra-refresh have any impact on this?

Thanks,
Tim


More information about the x264-devel mailing list