[x264-devel] [PATCH] MPEG2 Program Stream output

Lorenzo Pallara l.pallara at avalpa.com
Fri Feb 25 16:06:30 CET 2011


On 02/24/2011 06:00 PM, Lorenzo Pallara wrote:
> On 02/24/2011 03:24 PM, Jason Garrett-Glaser wrote:
>> On Thu, Feb 24, 2011 at 1:41 AM, Gil Pedersen<gil at cmi.aau.dk> wrote:
>>> On 23/02/2011, at 19.14, Lorenzo Pallara wrote:
>>>
>>>> I didn't get any more feedback for the patch since some days, I updated
>>>> it to the current git, it should have the changes suggested up to now,
>>>> you can find it in attach.
>>>
>>> A few comments:
>>> You use hrd_timing, but this is only output when i_nal_hrd is set,
>>> but you don't specifiy this requirement anywhere.
>>>
>
> right, I will add a check
>
>>>> + " .pes -> MPEG2 Program Elementary Stream\n"
>>> This is still misleading. ISO13818-1 has a definition of the term
>>> "PES Stream" (section 2.1.38) but imposes some additional
>>> requirements, namely coding of the ESCR and ES_rate fields. Since you
>>> don't code these a more accurate name is: "Raw MPEG-2 Packetized
>>> Elementary Stream". I added the "raw" term so people are less likely
>>> to mistake the output for an ISO13818-1 compliant "PES Stream".
>>
>> What's the usefulness of a "raw" MPEG-2 PES? Do we want to commit a
>> muxer that muxes to a format that isn't in itself useful?
>>
>
> It is a format used by and useful for MPEG-2 multiplexers, ISO13818-1
> standards defines two multiplexed formats: MPEG-2 transport stream and
> MPEG-2 program stream, section "Intro. 4 Packetized Elementary Stream"
> defines the format that is used before multiplexing.
>
> Re-reading the standard it seems the name "MPEG-2 PES packets" would be
> appropriate: "Transport Streams and Program Streams are each logically
> constructed from PES packets, as indicated in the syntax definitions in
> 2.4.3.6."
>

updated patch in attach with the hdr check and "MPEG-2 PES packets" 
string as name for the output format

best regards,
	Lorenzo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pes.patch
Type: text/x-patch
Size: 9004 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20110225/ba903649/attachment.bin>


More information about the x264-devel mailing list