Packet stream receiving apparatus
First Claim
1. An apparatus for receiving a packet stream, comprising:
- a packet separation section configured to separate packets from the packet streams, each of the packets having a packet header and a payload, and extract a presentation time from the packet header;
a decoder configured to decode payloads to data frames;
a discontinuity detection section configured to detect a discontinuity of a sequence of the packets from the packet headers;
a storage buffer section configured to store peculiar data frame or frames between the detection of the discontinuity and the detection of the presentation time after the detection of the discontinuity; and
a calculating section configured to calculate a number of lost frames based on the actual number of the peculiar data frames stored in the storage buffer section.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides a packet stream receiving apparatus, comprising a packet separation section that extracts a presentation time from a packet, a discontinuity detection section that detects a discontinuity of the packet, a storage buffer that stores decoded frames after the discontinuity has been detected, and a presentation time comparison section that calculates a number of lost frames based on the actual number of frames received from a discontinuity point in which the discontinuity was detected until the presentation time is obtained in the case where the storage buffer has stored the decoded frames. By accurately comprehending the number of lost frames caused by packet losses, outputs without timing mismatch are enabled.
22 Citations
9 Claims
-
1. An apparatus for receiving a packet stream, comprising:
-
a packet separation section configured to separate packets from the packet streams, each of the packets having a packet header and a payload, and extract a presentation time from the packet header; a decoder configured to decode payloads to data frames; a discontinuity detection section configured to detect a discontinuity of a sequence of the packets from the packet headers; a storage buffer section configured to store peculiar data frame or frames between the detection of the discontinuity and the detection of the presentation time after the detection of the discontinuity; and a calculating section configured to calculate a number of lost frames based on the actual number of the peculiar data frames stored in the storage buffer section.
-
-
2. An apparatus for receiving a transport stream, comprising:
-
a packet separation section configured to separate the transport stream to PES packets, each PES packet having a packet header and a payload, the packet header including presentation time stamp and continuity index, and the packet separation section extracting the presentation time stamp from the PES packet header; a discontinuity detection section configured to detect a discontinuity of a sequence of the packets based on the continuity indexes to output discontinuity information, the sequence of the packets including a preceding packet header and a following packet header; a decoding section configured to decode the payloads to audio frames, and separate peculiar audio frame or frames between the detection of the discontinuity and the detection of the time stamp received in the following packet header, in response to the discontinuity information; a storage buffer section configured to store the peculiar audio frames; and a presentation time comparison section configured to calculate the actual number of peculiar audio frames, and calculate a total number of lost audio frames and the peculiar audio frames between the preceding packet header and the following packet header from a time interval between the presentation time stamps received in the preceding and following packet headers, respectively, so that the number of lost frames is calculated by subtracting the actual number of frames from the total number of frames. - View Dependent Claims (3, 4, 5)
-
-
6. An apparatus for receiving a transport stream, comprising;
-
a packet separation section configured to separate the transport stream to PES packets, each of the PES packets having a packet header and a payload of encoded audio frames, the packet header including a presentation time stamp and continuity index, and the packet separation section extracting the presentation time stamp and encoded audio frames from the PES packet; a discontinuity detection section configured to detect a discontinuity of a sequence of the packets based on the continuity indexes to output discontinuity information, the sequence of the packets including a preceding packet header and a following packet header a decoding section configured to decode the encoded audio frames to audio frames and separate peculiar audio frames or frames between the detection of the discontinuity and the detection of the time stamp received in the following packet header, in response to the discontinuity information; a storage buffer section configured to store the peculiar audio frames; a presentation time comparison section configured to calculate the actual number of peculiar audio frames, and calculate a total number of lost audio frames and the peculiar audio frames between the preceding packet header and the following packet header from a time interval between the presentation time stamps received in the preceding and following packet headers, respectively, so that the number of lost frames is calculated by subtracting the actual number of audio frames from the total number of frames; a lost frame interpolation section configured to generate interpolation frames depending on the number of lost frames; a presentation time calculation section configured to calculate a presentation time of the interpolation frame by adding frame time to the presentation time stamp in the preceding packet header, and also calculate a presentation time of the interpolation frame by adding frame time to the presentation time stamp in the packet header of the interpolation frame; a presentation control section configured to control the audio frames so as to be outputted with being interpolated by the interpolation frames based on the presentation time; and an outputting section configured to output the audio frames and the interpolation frames, based on the control of the presentation control section. - View Dependent Claims (7, 8, 9)
-
Specification