Compressed picture data editing apparatus and method
First Claim
1. A method for splicing a first elementary data stream containing first compressed picture data and a second elementary data stream containing a second compressed picture data to generate a spliced elementary data stream containing a spliced continuous compressed picture data, said spliced elementary data stream being generated by inserting an inserted elementary data stream between an arbitrary splice point of the first elementary data stream and an arbitrary splice point of the second elementary data stream, said method comprising the steps of:
- providing a virtual buffer for controlling an amount of code data which is generated;
detecting a bit occupancy in said virtual buffer at an arbitrary splice point of said first elementary data stream;
detecting a bit occupancy in said virtual buffer at an arbitrary splice point of said second elementary data stream; and
controlling said inserted elementary data stream so that a first bit occupancy of the inserted elementary data stream in said virtual buffer equals the bit occupancy in said virtual buffer at the arbitrary splice point of the first elementary data stream and a last bit occupancy of the inserted elementary data stream in said virtual buffer equals the bit occupancy in said virtual buffer at the arbitrary splice point of the second elementary data stream.
1 Assignment
0 Petitions
Accused Products
Abstract
An editing apparatus and the like are provided for splicing two data streams of compressed picture data at an arbitrary splice point without breaking down the VBV buffer. The editing apparatus inserts between a main stream and a sub-stream compressed by the MPEG-2/Video Method an inserted stream of which a first picture is a black I picture and succeeding pictures are repeat P pictures of which all macro blocks are skipped macro blocks. In this inserted stream, a VBV delay of a picture to be transmitted next, after a last picture in the main stream, is written as a VBV delay of a first picture in the main stream into the picture header. Further, a stuffing byte of which the data amount is calculated based on the bit occupancy in the VBV buffer by the sub-stream at an arbitrary splice point is transmitted along with the last picture in the inserted stream.
76 Citations
51 Claims
-
1. A method for splicing a first elementary data stream containing first compressed picture data and a second elementary data stream containing a second compressed picture data to generate a spliced elementary data stream containing a spliced continuous compressed picture data, said spliced elementary data stream being generated by inserting an inserted elementary data stream between an arbitrary splice point of the first elementary data stream and an arbitrary splice point of the second elementary data stream, said method comprising the steps of:
-
providing a virtual buffer for controlling an amount of code data which is generated;
detecting a bit occupancy in said virtual buffer at an arbitrary splice point of said first elementary data stream;
detecting a bit occupancy in said virtual buffer at an arbitrary splice point of said second elementary data stream; and
controlling said inserted elementary data stream so that a first bit occupancy of the inserted elementary data stream in said virtual buffer equals the bit occupancy in said virtual buffer at the arbitrary splice point of the first elementary data stream and a last bit occupancy of the inserted elementary data stream in said virtual buffer equals the bit occupancy in said virtual buffer at the arbitrary splice point of the second elementary data stream. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
generating the spliced elementary data stream by inserting the inserted elementary data stream between the arbitrary splice point of the first elementary data stream and the arbitrary splice point of the second elementary data stream.
-
-
3. The method according to claim 1, wherein the inserted elementary data stream comprises a predetermined compressed picture data and pseudo data.
-
4. The method according to claim 3, wherein the virtual buffer exhibits a predetermined size;
- and further comprising the steps of;
determining if the bit occupancy of the inserted elementary data stream in the virtual buffer exceeds the predetermined size of the virtual buffer; and
controlling the pseudo data to have a size larger than the data amount that the inserted elementary data stream exceeds the predetermined size of the virtual buffer.
- and further comprising the steps of;
-
5. The method according to claim 3, wherein the inserted elementary data stream includes at least one intra-coded picture.
-
6. The method according to claim 5, wherein the at least one intra-coded picture is a black picture.
-
7. The method according to claim 5, wherein the inserted elementary data stream includes at least one repeat picture following the intra-coded picture, the repeat picture repeatedly displaying a proceeding picture.
-
8. The method according to claim 7, further comprising the step of inserting at least one repeat picture until the last bit occupancy of the inserted elementary data stream in the virtual buffer exceeds the bit occupancy in the virtual buffer at the arbitrary splice point of the second elementary data stream;
- and
inserting pseudo data into the spliced elementary data stream thereafter.
- and
-
9. The method according to claim 3, wherein the inserted elementary data stream includes a number of repeat pictures, the repeat picture repeatedly displaying a previously displayed picture.
-
10. The method according to claim 9, further comprising the step of inserting at least one repeat picture until the last bit occupancy of the inserted elementary data stream in the virtual buffer exceeds the bit occupancy in the virtual buffer at the arbitrary splice point of the second elementary data stream;
- and
inserting pseudo data into the spliced elementary data stream thereafter.
- and
-
11. The method according to claim 1, wherein the first and second elementary data streams and the inserted elementary data stream are coded data according to MPEG video format, respectively.
-
12. The method according to claim 11, wherein the inserted elementary data stream comprises a predetermined coded picture data coded by MPEG video format and a stuffing byte defined in MPEG video format.
-
13. The method according to claim 12, further comprising the steps of:
detecting the bit occupancy in the virtual buffer (VBV buffer) by the following equation;
-
14. The method according to claim 13, further comprising the step of detecting a VBV delay (next_vbv_delay) of a picture to be inserted next, after a last picture in the first elementary data stream, by the following equation:
-
15. The method according to claim 14, further comprising the step of detecting the bit occupancy (first_picture_decode_size) in the virtual buffer at the arbitrary splice point of the second elementary data stream by the following equation:
-
16. The method according to claim 11, further comprising the steps of detecting the bit occupancy (first picture_decode_size) in the virtual buffer at the arbitrary splice point of the second elementary data stream by the following equation:
-
17. The method according to claim 11, further comprising the steps of:
detecting a VBV delay (next_vbv_delay) of a picture to be inserted next to a selected picture in the inserted elementary data stream by the following equation;
-
18. The method according to claim 11, wherein the inserted elementary data stream includes at least one intra-coded picture.
-
19. The method according to claim 18, wherein the at least one intra-coded picture is a black picture.
-
20. The method according to claim 18, wherein the inserted elementary data stream includes at least one repeat picture following the intra-coded picture, the repeat picture repeatedly displaying a previously displayed picture.
-
21. The method according to claim 20, further comprising the step of:
-
inserting at least one repeat picture until the last bit occupancy of the inserted elementary data stream in the virtual buffer exceeds the bit occupancy in the virtual buffer at the arbitrary splice point of the second elementary data stream; and
inserting the pseudo data into the spliced elementary data stream thereafter.
-
-
22. The method according to claim 12, wherein the inserted elementary data stream includes at least one of said repeat pictures, the repeat picture repeatedly displaying a previously displayed picture.
-
23. The method according to claim 22, wherein the controlling step inserts the number of repeat pictures until the last bit occupancy of the inserted elementary data stream in the virtual buffer exceeds the bit occupancy in the virtual buffer at the arbitrary splice point of the second elementary data stream and then inserts a stuffing byte into the spliced elementary data stream.
-
24. The method according to claim 15, wherein the inserted elementary data stream includes at least one repeat picture following at least one intra-coded picture, the repeat picture repeatedly displaying a proceeding picture.
-
25. Apparatus for splicing a first elementary data stream containing a first compressed picture data and a second elementary data stream containing a second compressed picture data to generate a spliced elementary data stream containing a spliced continuous compressed picture data, said spliced elementary data stream being generated by inserting an inserted elementary data stream between an arbitrary splice point of the first elementary data stream and an arbitrary splice point of the second elementary data stream, said apparatus comprising:
-
a first detector for detecting a bit occupancy in a virtual buffer at an arbitrary splice point of said first elementary data stream, said virtual buffer for controlling an amount of generated code data;
a second detector for detecting a bit occupancy in said virtual buffer at an arbitrary splice point of said second elementary data stream;
a controller for controlling said inserted elementary data stream so that a first bit occupancy of the inserted elementary data stream in said virtual buffer equals the bit occupancy in said virtual buffer at said arbitrary splice point of the first elementary data stream, and a last bit occupancy of the inserted elementary data stream in said virtual buffer equals the bit occupancy in said virtual buffer at said arbitrary splice point of the second elementary data stream; and
a multiplexer for inserting the inserted elementary data stream between the arbitrary splice point of the first elementary data stream and the arbitrary splice point of the second elementary data stream to generate the spliced elementary data stream. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51)
-
-
37. The apparatus according to claim 36, further comprising a detector for detecting a VBV delay (next_vbv_delay) of a picture to be inserted next after a last picture in the first elementary data stream, by the following equation:
-
38. The apparatus according to claim 37, further comprising a detector for detecting a VBV delay (next_vbv_delay) of a picture to be inserted next, after a last picture in the first elementary data stream by the following equation:
-
39. The apparatus according to claim 38, further comprising:
a second detector for detecting the bit occupancy (first_picture_decode_size) in the virtual buffer at the arbitrary splice point of the second elementary data stream by the following equation;
-
40. The apparatus according to claim 39,
wherein the controller detects a VBV delay (next_vbv_delay) of a picture to be inserted next to a selected picture in the inserted elementary data stream by the following equation: -
41. The apparatus according to claim 37,
wherein the controller detects the bit occupancy (first_picture_decode_size) in the virtual buffer (VBV buffer) at the arbitrary splice point of the second elementary data stream by the following equation: -
42. The apparatus according to claim 41,
wherein the controller detects a VBV delay (next— -
vbv_delay) of a picture to be inserted next to a selected picture in the inserted elementary data stream by the following equation;
-
vbv_delay) of a picture to be inserted next to a selected picture in the inserted elementary data stream by the following equation;
-
43. The apparatus according to claim 35, wherein the controller detects the bit occupancy (first_picture_decode_size) in the virtual buffer at the arbitrary splice point of the second elementary data stream by the following equation:
-
44. The apparatus according to claim 35,
wherein the controller detects a VBV delay (next_vbv_delay) of a picture to be inserted next, after a selected picture in the inserted elementary data stream by the following equation: -
45. The apparatus according to claim 35, wherein the inserted elementary data stream includes at least one intra-coded picture.
-
46. The apparatus according to claim 45, wherein the at least one intra-coded picture is a black picture.
-
47. The apparatus according to claim 45, wherein the inserted elementary data stream includes a number of repeat pictures following the intra-coded picture, the repeat picture repeatedly displaying a previously displayed picture.
-
48. The apparatus according to claim 47, wherein the controller inserts the number of repeat pictures until the last bit occupancy of the inserted elementary data stream in the virtual buffer exceeds the bit occupancy in the virtual buffer at the arbitrary splice point of the second elementary data stream, and then to insert a pseudo data into the spliced elementary data stream.
-
49. The apparatus according to claim 35, wherein the inserted elementary data stream includes a number of repeat pictures, the repeat picture repeatedly displaying a previously displayed picture.
-
50. The apparatus according to claim 49, wherein the controller inserts the number of repeat pictures until the last bit occupancy of the inserted elementary data stream in the virtual buffer exceeds the bit occupancy in the virtual buffer at the arbitrary splice point of the second elementary data stream and then inserts a stuffing byte into the spliced elementary data stream.
-
51. The apparatus according to claim 42, wherein the inserted elementary data stream includes a number of repeat pictures following at least one intra-coded picture, the repeat picture repeatedly displaying a previously displayed picture.
Specification