[x265] [PATCH for review] cli: annex_b format switch

Xinyue Lu maillist at 7086.in
Thu Apr 9 13:52:33 CEST 2015


Please do NOT push this patch.

I've noticed that only headers are correctly serialized, but not frames.

I'll fix the problem and resend one.

On Wed, Apr 8, 2015 at 9:39 PM, Steve Borho <steve at borho.org> wrote:
> On 04/08, Xinyue Lu wrote:
>> # HG changeset patch
>> # User Xinyue Lu <i at 7086.in>
>> # Date 1428544476 25200
>> #      Wed Apr 08 18:54:36 2015 -0700
>> # Branch Yuuki
>> # Node ID a205005fe3e6aa9e5af490c53c33b48adbe3346b
>> # Parent  3e416dec8024b8339b18568cf65e48eb3448bed1
>> cli: annex_b format switch
>>
>> When bAnnexB set to true, the NAL serializer will place start codes (0x00 00 00 01) before NAL.
>> When false, it will place 4 bytes length before NAL.
>> Container formats may prefer the latter.
>>
>> Also move output->setParam up so that it can select format before we initialize the encoder.
>
> looks good, queued for testing


More information about the x265-devel mailing list