[FFmpeg-devel] [PATCH]pes packetizer

Baptiste Coudurier baptiste.coudurier
Wed Jun 27 14:39:18 CEST 2007


M?ns Rullg?rd wrote:
> Baptiste Coudurier wrote:
>>> +typedef struct {
>>> +    int is_ps;  /*< whether it is a Program Stream */
>>> +    int packet_number;
>>> +} PESContext;
>> We might have 3 possibilites (PS, TS, PES).
>> An enum is better IMHO.
> Why does it matter what the destination is?  The PES syntax is the
> same in all cases.  The only exception is the unspecified size
> video packets that are allowed in TS.

P-STD buffer flag, P-STD buffer size, which are only needed for Program
Stream, current code writes it atm.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list