[x264-devel] Finding access units with intra-refresh
Tim Pitman
tapitman11 at gmail.com
Wed Oct 24 01:30:37 CEST 2012
I'm sorry there was user error involved it's now working. Many thanks Jason.
On Tue, Oct 23, 2012 at 4:28 PM, Tim Pitman <tapitman11 at gmail.com> wrote:
> Interesting. I added --aud but I'm not seeing any 0xX9s, just 0x67,
> 0x68, 0x41, 0x0C (I'm using nal-hrd cfr), and 0x06
>
> On Tue, Oct 23, 2012 at 3:52 PM, Jason Garrett-Glaser <jason at x264.com> wrote:
>> On Tue, Oct 23, 2012 at 3:41 PM, Tim Pitman <tapitman11 at gmail.com> wrote:
>>> 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?
>>
>> --aud will add access unit delimiters, but you can also look at the
>> POC in the slice headers. Intra refresh isn't related.
>>
>> Jason
>> _______________________________________________
>> x264-devel mailing list
>> x264-devel at videolan.org
>> http://mailman.videolan.org/listinfo/x264-devel
More information about the x264-devel
mailing list