主权项 |
1. A digital splicing process comprising:
calculating the length of data to be inserted into a transport stream between first and second video clips; and removing B-frames in the second clip that reference non-existent I-frames as follows: if a transport packet for a removed B-frame contains a PES packet header, modify the PES packet header as follows by (a) setting a PES packet length of the PES packet header to unspecified, (b) if the PES packet header contains a PTS, and the PTS is less than a PTS of a preceding I-frame, clearing a PTS flag and a DTS flag in the PES packet header, and (c) setting a PES Header Data Length field of the PES header to zero. |