[x264-devel] [PATCH] MPEG2 Program Stream output
Lorenzo Pallara
l.pallara at avalpa.com
Wed Jan 26 12:55:43 CET 2011
Gil Pedersen wrote:
> On 21/01/2011, at 17.34, Lorenzo Pallara wrote:
>
>> Attached patch is to add MPEG2 Program Stream output to x264.
>
>> My proposal is to use ".pes" as filename extension as I can't find a
>> more popular one.
>
> Looking at the code I can see that it's not an MPEG2 Program Stream you
> output, but rather a "PES Stream". A proper program stream will need
> some header and trailer bytes and should have a number of additional
> "pack" headers.
>
> Naming aside, I'm a bit concerned that you never calculate and specify
> the PES_packet_length. As far as I can tell, according to 13818-1, this
> is only allowed if you encapsulate the PES Stream into Transport Stream
> packets, but not Program Stream packets.
>
I can't afford to develop all that's needed for "MPEG2 Program Stream"
file standard right now also because the current aim is actually
Transport Stream so will it be fine to call it "MPEG2 Program Elementary
Stream" instead of "MPEG2 Program Stream" ?
best regards.
Lorenzo
More information about the x264-devel
mailing list