US20040165665A1 - System stream creating apparatus which adjusts system clock reference based on total number of pictures to be stored and decoded during certain time period - Google Patents

System stream creating apparatus which adjusts system clock reference based on total number of pictures to be stored and decoded during certain time period Download PDF

Info

Publication number
US20040165665A1
US20040165665A1 US10/775,156 US77515604A US2004165665A1 US 20040165665 A1 US20040165665 A1 US 20040165665A1 US 77515604 A US77515604 A US 77515604A US 2004165665 A1 US2004165665 A1 US 2004165665A1
Authority
US
United States
Prior art keywords
data
pack
piece
video
picture data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US10/775,156
Inventor
Hideaki Harumoto
Tomoyuki Okada
Kojiro Kawasaki
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to US10/775,156 priority Critical patent/US20040165665A1/en
Publication of US20040165665A1 publication Critical patent/US20040165665A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23406Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving management of server-side video buffer
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/30Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording
    • G11B27/3027Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording used signal is digitally coded
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/32Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on separate auxiliary tracks of the same or an auxiliary record carrier
    • G11B27/327Table of contents
    • G11B27/329Table of contents on a disc [VTOC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/804Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
    • H04N9/8042Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components involving data reduction
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/21Disc-shaped record carriers characterised in that the disc is of read-only, rewritable, or recordable type
    • G11B2220/215Recordable discs
    • G11B2220/216Rewritable discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2537Optical discs
    • G11B2220/2562DVDs [digital versatile discs]; Digital video discs; MMCDs; HDCDs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2537Optical discs
    • G11B2220/2562DVDs [digital versatile discs]; Digital video discs; MMCDs; HDCDs
    • G11B2220/2575DVD-RAMs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/84Television signal recording using optical recording
    • H04N5/85Television signal recording using optical recording on discs or drums
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/79Processing of colour television signals in connection with recording
    • H04N9/80Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N9/804Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
    • H04N9/806Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components with processing of the sound signal
    • H04N9/8063Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components with processing of the sound signal using time division multiplex of the PCM audio and PCM video signals

Definitions

  • the present invention relates to a system stream creating apparatus for creating a system stream from a video stream and an audio stream which have been generated in accordance with the MPEG standard. More particularly, the present invention relates to a system stream creating apparatus for creating a system stream which easily conforms to the MPEG standard and the DVD standard and to a DVD recorder having the system stream creating apparatus.
  • DVD-RAM a phase-change type optical disc having a capacity of several giga bytes
  • MPEG MPEG2
  • AV digital audiovisual
  • the AV data recorded on the DVD-RAM conforms to an international standard called MPEG (ISO/IEC13818).
  • MPEG international standard
  • the AV data is therefore recorded after it is compressed.
  • the MPEG standard is prevalent as a method for compressing AV data. Thanks to the recent progress in the LSI circuit technology, MPEG codec (compression/decompression LSI) has come into practical use. This has made it possible for DVD recorders to compress/decompress digital data in accordance with the MPEG standard.
  • MPEG has the following two main characteristics for achieving highly efficient data compression.
  • the first characteristic is that MPEG compresses moving-image data using the time correlation characteristic found between frames as well as the spacial frequency characteristic which has been used conventionally.
  • each frame in MPEG, also referred to as Picture
  • I-Picture Intra-Coded Picture
  • P-Picture Predictive-Coded Picture which uses the I-Picture and reference to past
  • B-Picture Bidirectionally Predictive-Coded Picture which uses the I-Picture and reference to past and future.
  • GOP Group Of Pictures
  • the second characteristic of MPEG is that the amount of coding is assigned dynamically in units of Pictures in proportionate to the complexity of images.
  • the decoder includes an input buffer in which data is stored beforehand. This construction enables complicated images to be assigned a great amount of coding.
  • the audio data for DVD-RAM is compressed with one method: MPEG audio or Dolby digital (AC-3) for compressing data, or LPCM not for compressing data.
  • the Dolby digital and the LPCM use fixed bit rates.
  • the MPEG audio uses a variable bit rate in which audio frames are generated in fixed synchronization, with different sizes.
  • FIG. 1 shows the construction of the MPEG system.
  • “21” represents a pack header, “22” a packet header, and “23” a payload.
  • the MPEG system has a hierarchical structure including packs and packets. Each packet is composed of a packet header 22 and a payload 23 .
  • the AV data is divided into portions of an appropriate size from the start of the AV data.
  • the payload 23 stores a piece of divided data.
  • the packet header 22 includes a stream ID, DTS (Decoding time Stamp), and PTS (Presentation Time Stamp) as information of the AV data stored in the payload 23 .
  • the stream ID is used to identify the AV data stored in the payload 23 .
  • the DTS indicates a time when the AV data stored in the payload 23 is decoded and is represented with accuracy of 90 kHz.
  • the packet header 22 does not include DTS when, for example, audio data is decoded and presented at the same time.
  • the pack is a unit including a plurality of packets. In DVD-RAM, one packet is used as one pack. Therefore, each pack is composed of a pack header 21 and a packet (composed of a packet header 22 and a payload 23 ). In the pack header, SCR (System Clock Reference) is recorded.
  • the SCR indicates a time when the AV data stored in the pack is input into the decoder buffer, with accuracy of 27 MHz.
  • the types of the packets are determined in accordance with the type of the stream the DVD-RAM stores.
  • the packet types are, for example, the video stream packet for storing MPEG video data, the audio stream packet for storing MPEG audio data, the private stream 2 packet for storing Dolby AC-3 audio data, and the padding stream packet for storing dummy data which is discarded by the demultiplexer during decoding.
  • FIG. 2 shows a decoder model (P-STD) for the MPEG system decoder.
  • the decoder includes STC (System Time Clock) 31 which clocks the standard time in the decoder, a demultiplexer 32 which decodes and demultiplexes the system stream, a video buffer 33 for a video decoder, the video decoder 34 , a re-order buffer 35 which temporarily stores the I- and P-Pictures for the purpose of rearranging the I-, P-, and B-Pictures for presentation, a switch 36 which adjusts the output order of the I-, P-, and B-Pictures stored in the reorder buffer, an audio buffer 37 for an audio decoder, and the audio decoder 38 .
  • STC System Time Clock
  • the MPEG system decoder processes the MPEG system stream as follows.
  • the demultiplexer 32 inputs the pack.
  • the demultiplexer 32 decodes the stream ID of the packet header, and transfers the data in the payload to the decode buffer corresponding to the stream.
  • the demultiplexer 32 also extracts the PTS and. DTS from the packet header.
  • the video decoder 34 extracts Picture data from the video buffer 33 when the time of the STC 31 matches the DTS, decodes the Picture data, stores the I- and P- Pictures in the re-order buffer 35 , and outputs the B-Pictures for presentation.
  • the switch 36 is positioned on the side of the re-order buffer 35 when the video decoder 34 decodes an I- or P-Picture, and on the side of the video decoder 34 when the video decoder 34 decodes a B-Picture.
  • the audio decoder 38 extracts data of one audio frame from the audio buffer 37 when the time of the STC 31 matches the PTS (for audio data, there is no DTS) and decodes the extracted data.
  • “0 ⁇ 00” (in this document, “0 ⁇ ” indicates that the succeeding numerals represent a hexadecimal value) has special meaning. Every meaningful group of data in MPEG begins with a 4-byte identification code. For example, the pack header begins with a 4-byte code, “0 ⁇ 000001BA”, the GOP “0 ⁇ 000001B8”, and the Picture “0 ⁇ 0000100”. “0 ⁇ 00” is referred to as “next start code” since a sequence of two “next start codes” and one “0 ⁇ 01” indicates the start of a meaningful group of data.
  • FIG. 3A shows a video frame.
  • FIG. 3B shows a video buffer.
  • FIG. 3C shows an MPEG system stream.
  • FIG. 3D shows audio data.
  • the horizontal axis shows a time axis which is common to the drawings.
  • the vertical axis in FIG. 3B indicates amount of buffer occupation (amount of data-stored in the video buffer).
  • the thick solid line shows the change in the amount of buffer occupation over time.
  • the amount of tilt of the thick solid line is proportionate to the video bit rate.
  • the line shows that data is input to the buffer at a certain rate.
  • the reduction in the amount of buffer occupation happenning at intervals shows that data has been decoded.
  • the points of intersections of slant break lines and the time axis indicate the data transfer start times when video frames start to be transferred to the video buffer.
  • the audio data needs not be transferred as earlier as the video data since it does not require such a dynamic control of the amount of encoding. As a result, it is typical that the audio data is multiplexed a little earlier than the decoding time. Accordingly, among the video data and the audio data to be presented at the same time, the video data starts to be multiplexed earlier than the audio data.
  • MPEG a time period during which data is stored in the buffer is defined. According to the definition, all data except for still picture data should be output from the buffer-to the decoder in one second after the data is input to the buffer (this definition is called “one-second rule”). As a result, the difference between the video data and the audio data at multiplexing is one second at most (strictly speaking, the difference may be larger than this when the difference with the reorder buffer for the video data is added).
  • the system stream is composed of a plurality of packs 510 .
  • SCR is written in each pack header 511 .
  • the system stream has a predetermined value called multiplexing rate Mx. This indicates that the pack 510 is input to the demultiplexor 509 of the decoder at the bit rate of Mx.
  • the multiplexing rate Mx corresponds to the transfer speed on the belt conveyor 501 in the example shown in FIG. 4A.
  • the extracted video data is temporarily stored in the video buffer 507 .
  • the boxes 502 having the loads 503 are sequentially put on the belt conveyor 501 with little spaces in between.
  • a cushioning material may be packed in the box to fill in the space. The cushioning material corresponds to dummy data.
  • the video data stored in the video buffer 507 is decoded based on DTS written in the packet header 512 . As a result, data stored in the video buffer 507 reduces by the Picture size.
  • DVD-RAM deals with two major files: one management information file; and one or more AV files.
  • the management information file includes two major tables: VOBI (VOB Information) table; and PSGI (PSG Information) table.
  • VOB is an MPEG program stream.
  • the PSG defines the presentation order of “cells” for which an arbitrary portion or all portions of a VOB are a logical presentation unit. In other words, VOB is a unit of MPEG data, and PSG is a unit used when a player performs presentation.
  • the VOBI table records the number_of_VOBIs and VOBIs.
  • Each VOBI includes VOB_Type (type of VOB), VOB_Start_PTM (presentation start time), VOB_End_PTM (presentation end time), VOB_REC_PTM (information on the time when the start of the VOB is recorded), and TMAPIs (time map information of VOBUs constituting the VOB).
  • Each AV file is composed of one or more VOBs.
  • the VOBs are consecutively recorded in the AV file.
  • the VOBs in the AV files are managed by the management information files.
  • To access a VOB the player first accesses the management information file to read the VOB start address and the size. This enables the player to accesses the VOB.
  • Each VOB is composed of a plurality of VOBUs.
  • the VOBU is, as shown in FIG. 7, a unit of data which is composed of: (1) one or more GOPs of MPEG video data multiplexed as MPEG streams; and (2) a plurality of audio packs interleaved with the GOPs.
  • the presentation time for each VOBU should not go out of a predetermined range.
  • the encoder should generate VOBUs taking care of this.
  • a piece of data belonging to a VOBU should not be included in another VOBU.
  • data of a GOP included in a VOBU should completely be included in the VOBU.
  • FIG. 8A shows an example in which data of a GOP belonging to a VOBU is stored in the last pack of the current VOBU and the first pack of the next VOBU, passing over the boundary between the two VOBUs. The violation of the boundary between VOBUs such as this is not permitted-.
  • the present invention provides a DVD recorder which solves the problems and is used to record digital data onto DVD-RAM and reproduce the digital data recorded on DVD-RAM.
  • the DVD recorder is expected to be a next-generation AV record apparatus and be a commercial recorder that will replace the currently prevalent VTR.
  • the DVD recorder needs to achieve higher-quality images and higher-level editing functions than the VTR.
  • variable bit rate technique for MPEG video is useful.
  • a greater number of Pictures are assigned to a frame whose image is more complicated and moves more, and a smaller number of Pictures are assigned to a frame whose image is less complicated and moves less.
  • This technique causes successive Pictures to greatly change in the amount of data.
  • the high-quality editing functions are achieved by: (1) the random access function; and (2) the data retrieval function using the management file information, both being characteristics of DVD-RAM.
  • variable bit rate technique for MPEG video assigns a smaller number of Pictures to a frame whose image is less complicated and moves less. In doing this, the amount of data included in the Pictures is less than the payload 23 in the pack, a plurality of frames are stored in the payload 23 . Meanwhile, as shown in FIG. 9B, each frame is decoded every 33.3667 msec during presentation. Here, suppose that five frames of picture data is stored in the payload 1203 in the pack 1201 as shown in FIG. 9A.
  • the Picture data in “frm5” having reached the decoder waits for at least 100.1001 msec (during which “frm2” to “frm4” are decoded) in the video buffer 33 before it starts to be decoded.
  • the Picture in the 32 nd frame would wait in the decoder buffer for more than one second before it is decoded for the same reason as the example shown in FIGS. 9A and 9B. This violates the MPEG rule, and may cause the decoder to malfunction during presentation.
  • the VOBU time map is referred to as basic information for accessing AV files.
  • video editing is performed in units of VOBUs.
  • the audio data “a” and the audio data “b” shown in FIG. 8A are composed of audio frames that have the same presentation time. That is to say, suppose that a 1 and b 1 , a 2 and b 2 , and a 3 and b 3 have the same presentation time, respectively.
  • a 3 is not adjacent to b 3 , they happen to be arranged in different but successive VOBUs, sandwiching a video pack and the boundary between the VOBUs. If VOBU#1 was deleted by editing now, only b 3 would remain.
  • the two pieces of audio data may cause a difference in the sounds when presented after editing.
  • a piece of data belonging to a VOBU is included in another VOBU, such an improper operation is caused after editing since the split pieces of data should be presented at the same time as the contents define.
  • a system stream creating apparatus for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence of picture data
  • the system stream creating apparatus comprising: a stream data transfer unit operable to extract a piece of picture data having a size of a payload from the video stream data and store the piece of picture data into a fixed-length pack; a header data generating unit operable to write a specified time in a header of the pack storing the piece of picture data, the specified time indicating a time when the piece of picture data of the pack is to be input to a video decoder buffer of a decoding apparatus; a condition judging unit operable to judge, when the header data generating unit writes the specified time, whether a difference between (1) a total number of pieces of picture data to be stored in the video decoder buffer up to the specified time and (2) a total number of pieces of picture data to be decoded by the decoding apparatus up to
  • the number of pictures stored in the video buffer of the decoder during a certain time period can be limited. This makes it possible to easily and surely conform to the one-second rule even if the data is encoded with a variable bit rate or even if data is encoded and recorded in real time.
  • the decoding apparatus may decode one piece of picture data every video frame cycle, the unit time may be one second, and the predetermined value may be lower than a result of a division of one second by one video frame cycle.
  • the number of pictures included in the packs input to the decoding apparatus during one second is limitted to a number lower than 30 . This makes it possible to easily and surely conform to the one-second rule.
  • a recorder system comprising: the above system stream creating apparatus; and a recording apparatus which records a system stream generated by the system stream creating apparatus onto a record medium.
  • the above recorder system may further comprise: a reading apparatus which reads the system stream from the record medium; and a decoding apparatus which decodes the system stream read by the reading apparatus.
  • the above construction achieves a recorder system for generating a system stream which easily and surely conform to the one-second rule and decoding the generated system stream.
  • a system stream creating apparatus for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence of picture data
  • the system stream creating apparatus comprising: a stream data transfer unit operable to extract a piece of picture data having a size of a payload from the video stream data stored in a video buffer and store the piece of picture data into a fixed-length pack; a header data generating unit operable to write a specified time in a header of the pack storing the piece of picture data, the specified time indicating a time when the piece of picture data of the pack is to be input to a video decoder buffer of a decoding apparatus; a condition judging unit operable to judge, when a piece of picture data having a size of payload is extracted from the video buffer and stored into a fixed-length pack, whether an amount of data stored in the video buffer would be lower than or equal to a predetermined value if the piece of picture
  • the certain time may be a video frame cycle or a slice cycle.
  • the pictures are generated at the same intervals as the pictures are decoded. This enables the pictures to be stored in the video buffer of the decoder at shorter intervals than the pictures are decoded, easily preventing the one-second rule from being broken.
  • the above system stream creating apparatus may further comprise: a picture number judging unit operable to judge, when the stream data transfer unit stores a next piece of picture data into the pack, whether a total number of pieces of picture data in the pack has reached a predetermined number; and a transfer control unit operable to, when the picture number judging unit has judged positively, cause the stream data transfer unit to stop storing the next piece of picture data and store dummy data into the pack.
  • the transfer control unit may cause the stream data transfer unit to store the next piece of picture data into another pack.
  • the above system stream creating apparatus may further comprise: a video encoding unit operable to generate picture data by compressing a video signal when the picture number judging unit has judged negatively, and generating as many next start codes as correspond to remaining space of the pack as the dummy data when the picture number judging unit has judged positively, wherein the stream data transfer unit stores either the picture data or the next start codes generated by the video encoding unit into the pack.
  • the length of the packs can be adjusted to a fixed length by using the next start codes which are not treated as meaningful data by the decoder.
  • the next start codes are stored in the video buffer when the packs are decoded. That is to say, the next start codes are generated by the video encoder, not by the system encoder. This enables the video encoder, which mainly generates the picture data, to accurately recognize and manage the occupied amount of the video buffer.
  • a system stream creating apparatus for creating a system stream, the system stream being a sequence of fixed-length packs
  • the system stream creating apparatus comprising: a video encoding unit operable to generate picture data and when having generated a last piece of picture data of a GOP, generate as many next start codes as correspond to remaining space of a pack which stores the rast piece of picture data; and a stream data transfer unit operable to store either the picture data or the next start codes generated by the video encoding unit into a fixed-length pack.
  • next start codes are stored in the pack that stores the last picture of a GOP. This easily prevents a picture of a GOP belonging to the next VOBU from being inserted into a pack of the current VOBU by mistake.
  • a system stream creating apparatus for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of either video stream data or audio stream data, the video stream data being a sequence of picture data, the audio stream data being a sequence of audio frames
  • the system stream creating apparatus comprising: a stream data transfer unit operable to extract either a piece of picture data having a size of a payload from the video stream data or an audio frame from the audio stream data and store the extracted picture data or audio frame into a fixed-length pack; and a transfer control unit operable to control the stream data transfer unit so that a group of audio frames provided through a plurality of channels and having the same presentation time in common are stored in a group of packs which have been generated successively.
  • the above system stream creating apparatus may further comprise: a header data generating unit operable to write a specified time into a header of a pack, the specified time indicating a time when either a piece of picture data or an audio frame included in the pack is to be input to a decoding apparatus, wherein when a difference between a presentation time of the audio frame and the specified time written in the header of the pack is lower than a certain value, the transfer control unit causes the stream data transfer unit to store the audio frame into the pack.
  • a system stream creating method for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence of picture data
  • the system stream creating method comprising: a stream data transfer step for extracting a piece of picture data having a size of a payload from the video stream data and storing the piece of picture data into a fixed-length pack; a condition judging step for judging, when a specified time, which indicates a time when the piece of picture data stored in a pack is to be input to a video decoder buffer of a decoding apparatus, is written in a header of the pack storing the piece of picture data, whether a difference between (1) a total number of pieces of picture data to be stored in the video decoder buffer up to the specified time and (2) a total number of pieces of picture data to be decoded by the decoding apparatus up to a unit time before the specified time has reached a predetermined value; a specified time
  • the number of pictures stored in the video buffer of the decoder can be limited a certain time before the storage. This makes it possible to easily and surely conform to the one-second rule even if the data is encoded with a variable bit rate or even if data is encoded and recorded in real time.
  • FIG. 1 shows the construction of the MPEG system stream
  • FIG. 2 shows the construction of the MPEG system decoder
  • FIGS. 3A to 3 D show relationships between the video data, video buffer, MPEG system stream, and audio data
  • FIGS. 4A and 4B show relationships between an ideal model of multiplication and the system stream
  • FIG. 5 shows the logical construction of DVD-RAM
  • FIGS. 6A and 6B show management information data and a method of accessing files
  • FIG. 7 shows the construction of VOBU
  • FIGS. 8A and 8B show the construction of inappropriate VOBU and normal VOBU
  • FIGS. 9A and 9B show relationships between the pack data construction and the frame decoding timing
  • FIG. 10 is a block diagram showing the construction of the DVD recorder
  • FIG. 11 is a block diagram showing the construction of the encoder unit 200 ;
  • FIG. 12 is a block diagram showing a detailed construction of the system encoder 207 ;
  • FIG. 13 shows a model of the change in the amount of data stored in the video buffer 33 of the decoder
  • FIG. 14 is a flowchart showing the procedure of generating system streams
  • FIG. 15 shows an example in which “next start codes” are generated
  • FIG. 16 shows a model of the change in the amount of data stored in the video buffer 204 of the encoder
  • FIG. 17 is a flowchart showing the procedure of generating system streams
  • FIG. 18 shows a pack having next start codes
  • FIG. 19 shows packs of audio frames including the same PTS having been arranged to be successive
  • FIG. 20 is a flowchart showing the multiplexing operation procedure
  • FIG. 21 shows padding stream packets.
  • Embodiment 1 relates to a DVD recorder for generating system streams which allow a decoder to conform to the “one-second rule”.
  • FIG. 10 is a block diagram showing the construction of the DVD recorder in the present embodiment.
  • the DVD recorder includes a user interface unit 1001 , a system control unit 1002 , an input unit 1003 , an encoder unit 200 , an output unit 1005 , a decoder unit 1006 , a track buffer 1007 , a drive 1008 , and a file management unit 1009 .
  • the user interface unit 1001 receives, from the user, instructions to record and instructions to reproduce.
  • the system control unit 1002 sends an instruction to the encoder unit 200 when the user inputs a record instruction.
  • the input unit 1003 inputs video signals and audio signals from outside.
  • the encoder unit 200 generates system streams, which are MPEG program streams, from the video signals and audio signals sent from the input unit 1003 , and sends the system streams to the track buffer 1007 .
  • the output unit 1005 displays decoded video signals on a monitor, and outputs decoded audio signals to a speaker.
  • the decoder unit 1006 when having received the instruction from the system control unit 1002 , reads system streams from the track buffer 1007 and decodes the system streams.
  • the detailed construction of the decoder unit 1006 is the same as the decoder apparatus shown in FIG. 2.
  • the track buffer 1007 stores system streams. When the amount of the stored system streams reaches a certain value, the system control unit 1002 instructs the drive 1008 to record the system streams onto the DVD-RAM.
  • the file management unit 1009 manages the files to be recorded on the DVD-RAM, in units of VOBUs.
  • FIG. 11 is a block diagram showing the construction of the encoder unit 200 .
  • the encoder unit 200 includes a video encoder 201 , an audio encoder A 202 , an audio encoder B 203 , a video buffer 204 , an audio buffer A 205 , an audio buffer B 206 , and a system encoder 207 .
  • the video encoder 201 generates, from video signals, a video stream which is composed of I-, B-, or P-Pictures, and stores the video stream in the video buffer 204 . In doing so, the video encoder 201 adjusts the amount of data it generates so as not to cause an overflow or underflow in a video buffer of a decoder.
  • the audio encoder A 202 and the audio encoder B 203 generate audio stream A and audio stream B from audio signals, and store the audio stream A and audio stream B in the audio buffer A 205 and audio buffer B 206 , respectively.
  • the video buffer 204 temporarily stores the video stream.
  • the audio buffer A 205 temporarily stores the audio stream A.
  • the audio buffer B 206 temporarily stores the audio stream B.
  • FIG. 12 shows a detailed construction of the system encoder 207 .
  • the system encoder 207 includes a stream data transfer unit 211 , a storage unit 212 , a header data generating unit 213 , a condition judging unit 215 , a stop/resume control unit 216 , a-time updating unit 217 , and a Picture-number counter 209 .
  • the thick solid line indicates flow of data
  • a normal solid line indicates flow of control signals.
  • the storage unit 212 is a working memory used for creating the packs.
  • the stream data transfer means 211 extracts parts of the streams one by one from the viede 6 buffer 204 , audio buffer A 205 , and audio buffer B 206 , and stores the extracted parts into the storage unit 212 .
  • the header data generating unit 213 writes SCR, DTS and the like into the pack header.
  • the Picture-number counter 209 stores values j and k, where j is the total number of Pictures stored in the video buffer 33 of the decoder up to the time indicated by the current SCR, and k is the total number of Pictures output from the video buffer 33 up to one second before the time indicated by the current SCR.
  • the time updating unit 217 updates SCR in accordance with the system stream transfer rate.
  • the condition judging unit 215 judges whether the value (j ⁇ k) has reached a predetermined value n, based on the Picture-number counter 209 when the header data generating unit 213 writes SCR.
  • the stop/resume control unit 216 when the condition judging unit 215 judges the above positively, causes the header data generating unit 213 not to write SCR into the pack header and causes the stream data transfer means 211 to temporarily stop geneting video packs.
  • the stop/resume control unit 216 causes the time updating unit 217 to update SCR after the above temporary stops, and causes the condition judging unit 215 to judge, for each update, whether the value (j ⁇ k) has reached the value n.
  • the stop/resume control unit 216 causes the header data generating unit 213 to write SCR into the pack header and causes the stream data transfer means 211 to resume geneting video packs when the condition judging unit 215 judges the above negatively.
  • FIG. 13 shows a model of the change in the amount of data stored in the video buffer 33 of the decoder.
  • Pictures in packs are sequencially input to the video buffer 33 at the times specified by the SCRs. This increases the storage amount Vbv.
  • a Picture is output for decoding from the video buffer 33 at each DTS time (every 33.3667 msec). This decreases the storage amount Vbv.
  • the value (j ⁇ k) represents the number of Pictures stored in the video buffer 33 during one second before the time indicated by the current SCR. Since it takes 33 .
  • the video buffer 33 stores Pictures corresponding to (j ⁇ k) ⁇ 33.3667 msec.
  • the system encoder 207 limits the value (j ⁇ k) to the value n (an integer of 29 or lower and having been predetermined in the system) by adjusting SCR written in the pack, thus generating such system streams as conform to the one-second rule.
  • FIG. 14 is a flowchart showing the procedure of generating system streams in the present embodiment.
  • the system encoder 207 then waits for the next Picture to be generated by the video encoder 201 and stored in the video buffer 204 , and starts the multiplexing process after a certain amount of Pictures are generated (step S 1202 ).
  • the system encoder 207 then calculates value k, being the total number of Pictures output from the video buffer 33 up to one second before the time indicated by the current SCR.
  • k is an integer included in a result of (SCR ⁇ DTSO ⁇ 1 sec)/33,3367 msec.
  • the value k is 0 until SCR exceeds (DTS+1sec) (step S 1203 ).
  • the system encoder 207 proceeds to the following process when there is no incompletely written video pack left.
  • value (j ⁇ k) is n or higher, or when the video buffer 33 is to cause an overflow if it receives a new Picture in a video pack (i.e., when the amount of data (Vbv) stored in the video buffer is to exceed 224 KB if the amount of data of the new video Picture is added)
  • the system encoder 207 stops generating video packs, jumps to step S 1211 , and updates SCR (steps S 1205 , S 1206 , and S 1211 ).
  • the system encoder 207 When value (j ⁇ k) is lower than n and when the video buffer 33 is not expected to cause an overflow, the system encoder 207 generates a video pack and increments Vbv by the amount of data of the Pictures stored in the video pack (Packed_Pictsize) (steps. S 1205 , S 1206 , S 1207 , and S 1208 ).
  • the system encoder 207 determines how many Pictures have been added to “j” representing the number of multiplexed Pictures and increments “j” by “dj” representing the number of increased Pictures (step S 1209 ).
  • the system encoder 207 does not generate a Picture (i.e., generates a pack and stores a Picture in the pack) and jumps to step S 1210 when it is judged in step S 1204 that there is a video pack without SCR written in its header (i.e., it is judged as “No” in step S 1210 which will be described later).
  • the system encoder 207 writes the current SCR into the pack header when (j ⁇ k) is expected to be n or lower if the Picture of the video pack is input to the video buffer 33 . This is because the video pack can be input to the video buffer 33 at the time specified by the current SCR. When (j ⁇ k) is expected to exceed n, the system encoder does not write the current SCR into the pack header and holds the incomplete video pack (steps S 1210 and S 1212 ).
  • the system encoder 207 then updates SCR in accordance with the system stream transfer rate (step S 1211 ).
  • the system encoder 207 waits for a new Picture to be generated when all the Pictures so far have, been stored in packs; and repeats the above process starting from step S 1203 when there is a Picture not having been stored in a pack or when a new Picture is generated (steps S 1216 , S 1203 , and S 1204 ).
  • (j ⁇ k) for the pack 1301 shown in FIG. 13 is (n ⁇ 1). Also suppose that the next pack stores the end portion of the (Ln+1) th Picture, a whole ( th Ln+2) Picture, and the first portion of the (Ln+3) th Picture.
  • n is defined as an integer of 29 or lower, it is possible to conform to the one-second rule.
  • the DVD recorder of the present embodiment can limit the number of Pictures stored in the video buffer 33 during one second to a predetermined number n. As a result, the DVD recorder generates system streams which allow a decoder to easily and surely conform to the “one-second rule” even when data is encoded with a variable bit rate or even when data is encoded and recorded in real time.
  • Embodiment 2 relates to a DVD recorder for generating system streams which allow a decoder to easily conform to the “one-second rule” by adjusting the number of Pictures stored in each pack or by adjusting SCR.
  • the video encoder 201 When the total number of Pictures (including the case where only a part of one Picture is stored) stored in a pack is a predetermined number (in this embodiment, 2), the video encoder 201 generates as many “next start codes” as correspond to the remaining space of the pack.
  • FIG. 15 shows an example in which “next start codes” are generated because two Pictures (frames) are stored in a pack.
  • the predetermined number is set to a lower number, it is expected that the amount of transferred dummy data will increase, the amount of transferred Pictures, which is important, will decrease, and the image quality will be degraded.
  • the predetermined number is set to 2. The value, that should enable the system streams to conform to the one-second rule and maintain the image quality, has been determined through experiments.
  • the system encoder 207 adjusts SCR written in a pack so that the number of Pictures output from the video buffer 204 of an encoder does not drastically increase at a certain time.
  • FIG. 16 shows a model of the change in the amount of data stored in the video buffer 204 of the encoder. As shown in FIG. 16, Pictures are output from the video buffer 204 and inserted into packs at the times specified by the SCRs. This decreases the storage amount Vbb. A Picture generated by the video encoder 201 is input to the video buffer 204 at each FGrid time (every 33.3667 msec). This increases the storage amount Vbb.
  • the system encoder 207 inserts in advance the Picture to be inserted at the next FGrid into the remaining space of the pack.
  • Vbb is 0 when L 2 is inserted into a pack. Therefore, L 3 data (execution data representing a Picture and dummy data) to be inserted at the next FGrid (FGrid 2 ) is inserted into the remaining space of the pack in advance. The dummy data has been generated by this time since the total number of Pictures in the pack was 2 when the video encoder 201 generated the Picture data of L 3 .
  • the system encoder 207 sets SCR to an FGrid a certain time later, the certain time corresponding to the number of Pictures inserted in advance, and writes the updated SCR into the pack header of the pack into which a Picture has been inserted in advance.
  • the system encoder 207 sets SCR from FGrid 2 to FGrid 3 since the number of Pictures inserted in advance is 1. In this way, each time Pictures are inserted in advance, SCR is set to an FGrid a certain time later, the certain time corresponding to the number of Pictures inserted in advance. With this construction, the video buffer 33 does not store excessive Pictures.
  • the stream data transfer means 211 extracts parts of the streams one by one from the video buffer 204 , audio buffer A 205 , and audio buffer B 206 , and stores the extracted parts into the storage unit 212 .
  • the header data generating unit 213 writes SCR into the pack header, where the SCR is the time when the stream data transfer means 211 extracted the Picture from the video buffer 204 .
  • the condition judging unit 215 judges whether the amount of data (Vbb) stored in the video buffer 204 is expected to be a positive value if the stream data transfer means 211 stores a Picture.
  • the time updating unit 217 updates SCR in accordance with the system stream transfer rate.
  • the stop/resume control unit 216 when the condition judging unit 215 judges the above negatively, causes the header data generating unit 213 not to write SCR into the pack header and causes the stream data transfer means 211 to temporarily stop storing Pictures.
  • the stop/resume control unit 216 causes the time updating unit 217 to update SCR after the above temporary stops, and causes the condition judging unit 215 to judge, for each update, whether Vbb is expected to be a positive value.
  • the stop/resume control unit 216 causes the header data generating unit 213 to resume writing SCR into the pack header and causes the stream data transfer means 211 to resume storing Pictures when the condition judging unit 215 judges the above positively.
  • FIG. 17 is a flowchart showing the procedure of generating system streams in the present embodiment.
  • the system encoder 207 then waits for a certain amount of Pictures to be generated by the video encoder 201 and stored in the video buffer 204 (step S 1402 ).
  • the system encoder 207 then generates a video pack when the amount of data (Vbb) stored in the video buffer 204 is expected to be a positive value if it generates the video pack, and decrements Vbb by the amount of data of the Pictures stored in the video pack (Packed_Pictsize).
  • the system encoder 207 stops generating video packs when Vbb is not expected to be a positive value (steps S 1403 , S 1404 , and S 1405 ).
  • the system encoder 207 then updates SCR in accordance with the system stream transfer rate (step S 1406 ).
  • the system encoder 207 judges that the next Picture is stored in the video buffer 204 , increments Vbb by the amount of data of the next Picture, and adds 33.3667 msec to FGrid (steps S 1408 and S 1409 ).
  • the system encoder 207 waits for a new Picture to be generated when all the Pictures generated by the video encoder so far have been stored in packs; and repeats the above process starting from step S 1403 when there is a Picture not having been stored in a pack or when a new Picture is generated (steps S 1410 , S 1402 , and S 1403 ).
  • the DVD recorder of the present embodiment adjusts the number of Pictures to be stored in each pack and adjusts SCR so as to generate system streams which allow a decoder to easily conform to the “one-second rule”.
  • Embodiment 3 relates to a DVD recorder which inserts dummy data into the last pack of a GOP, instead of pictures of the next GOP.
  • the DVD recorder of the present embodiment differs from Embodiment 1 only in that the video encoder 201 has a partly different function and that the picture number storage unit is replaced with the picture amount storage unit.
  • the following is the description of the video encoder 201 and the picture amount storage unit.
  • the picture amount storage unit stores the data amount of all pictures belonging to a currently generated GOP.
  • the video encoder 201 has the following functions for attaining the object of the present embodiment.
  • the video encoder 201 encodes video signals to generate I, B, and P Pictures, and increments the data amount of all pictures stored in the picture amount storage unit in proportionate to the data amount of the generated pictures.
  • the video encoder 201 calculates the remaining capacity of the pack which includes the last picture, based on the data amount of all pictures stored in the picture amount storage unit.
  • the video encoder 201 then generates as many next start codes as the calculated remaining capacity.
  • FIG. 18 shows a pack having next start codes.
  • the video pack ⁇ circle over ( 1 ) ⁇ shown in FIG. 15 includes B-Picture which is the last Picture of the GOP. Accordingly, next start codes as dummy data are packed in the remaining space of the pack.
  • next start codes are stored in the video buffer of the decoder.
  • the video encoder not the system encoder, generates the dummy data.
  • the video encoder can accurately recognize the occupied amount of the video buffer. This prevents generation of such pictures as cause the video buffer to generate an overflow or underflow.
  • the DVD recorder of the present embodiment inserts next start codes in the pack that includes the last Picture of one GOP. This easily prevents a Picture of a GOP belonging to the next VOBU from being inserted in a pack of the preceding-VOBU.
  • Embodiment 4 relates to a DVD recorder which exercises control so that audio frames belonging to different audio channels belong to the same VOBU when they have the same PTS.
  • the DVD recorder of the present embodiment is the same as that of Embodiment 1 except the system encoder 207 .
  • the following is the description of a function unique to the present embodiment which is realized by the system encoder 207 .
  • the system encoder 207 arranges packs of audio frames having the same PTS to be successive on the system stream. More specifically, the system encoder 207 generates packs of audio frames when the difference between the PTS and the current SCR is lower than a certain value ⁇ . For two audio frames respectively generated from different channels and having the same PTS, when one of them is lower than the value ⁇ and is inserted into a pack, the other audio frame is definitely lower than the value ⁇ in the next round of pack generation. Accordingly, the other audio frame is inserted into the next pack. With this construction, the packs of these two audio frames are arranged to be successive on the system stream.
  • FIG. 19 shows packs of audio frames including the same PTS having been arranged to be successive.
  • a 1 and b 1 , a 2 and b 2 , and a 3 and b 3 have the same PTS, respectively.
  • these packs are arranged to be successive.
  • FIG. 20 is a flowchart showing the multiplexing operation procedure of the present embodiment.
  • the system encoder 207 calculates the PTS of the audio frame to be the next audio pack.
  • the audio frame includes a reproduction time, where the reproduction times assigned to the audio frames in order differ by a regular period.
  • the system encoder 207 obtains the PTS by multiplying the frame number with the period (step S 1601 ).
  • the system encoder 207 compares the calculated PTS with the SCR to be written into the next pack. When the difference between the calculated PTS and the SCR is lower than the certain value a, the system encoder 207 generates an audio pack from the audio frame, and writes the PTS and the SCR to the header of the pack (steps S 1602 , S 1603 ).
  • the system encoder 207 judges that the next audio frame cannot be multiplexed yet, and generates a video pack from the video stream (step S 1604 ).
  • the system encoder 207 then adds a certain time At to the current SCR to update the SCR (step S 1605 ).
  • the system encoder 207 ends the process of generating the system stream when receiving an instruction to end the process. Otherwise, the system encoder 207 repeats the steps S 1601 to S 1605 (step S 1606 ).
  • the DVD recorder of the present embodiment easily arrange a plurality of audio frames belonging to different channels and having the same PTS as successive packs on the system stream.
  • Embodiment 1 it is judged whether the value (j ⁇ k) is equal to or higher than n each time a pack having Pictures is generated. However, the judgement may be performed each time a Picture is inserted into a pack. More specifically, the number of Pictures j is incremented and it is judged whether the value (j ⁇ k) has reached n each time a Picture is newly inserted into a pack. When it is judged positively, the remaining space of the current pack is filled with dummy data, and the current SCR is written into the pack header. With regards to the next pack, SCR to be written into the pack may be adjusted in the same way as Embodiment 1.
  • Embodiment 2 SCR to be written into the packs is adjusted, and the number of Pictures is limited to a certain number or lower. However, only the adjustment of SCR may be performed.
  • the “next start codes” are used as dummy-data.
  • padding stream packets shown in FIG. 21 may be used.
  • the padding stream packets are generated by the system encoder, not by the video encoder. That is to say, when the number of Pictures stored in a pack has reached a predetermined number, the system encoder stops storing the next Picture data into the pack, and instead stores the padding stream packets into the pack.
  • the Picture data not stored in the pack may be stored in a newly generated pack.
  • Embodiment 4 a plurality of audio frames belonging to different channels and having the same PTS are arranged as successive packs on the system stream based on the difference between the SCR and the PTS. This can also be achieved by making it a rule that whenever an audio frame is stored in a pack, the next pack stores another audio frame with the same PTS.
  • the PTS is calculated by multiplying the frame number of the audio frame with the period.
  • the PTS may be determined beforehand for each audio frame.
  • predetermined value n of the system is set to 29 or lower when the video frame cycle is 33.3667 msec.
  • the predetermined value n of the system may be set to 1/T when when the video frame cycle is T seconds.
  • FGrid is a multiple of 33.3667 msec (video frame cycle).
  • the FGrid time may be set to a multiple of a slice cycle ( ⁇ fraction (1/30) ⁇ of the video frame cycle), where a frame includes 30 slices.

Abstract

A system stream creating apparatus including: a stream data transfer unit for extracting a piece of picture data having a size of a payload from the video stream data and storing it into a fixed-length pack; a header data generating unit for writing a system clock reference (SCR) in a pack header; a condition judging unit for judging, when the SCR is written, whether a difference between (1) a total number of pieces of picture data to be stored in the video decoder buffer up to the SCR and (2) a total number of pieces of picture data to be decoded by the decoding apparatus up to a unit time before the SCR has reached a predetermined value; and a-stop/resume control unit for, when the judgement is positive, causing the header data generating unit not to write the SCR and causing the stream data transfer unit to stop storing the piece of video stream data, and after having done these, causing a time updating unit to update the SCR then causing the condition judging unit to judge, and when the judgement is negative, causing the header data generating unit to write the SCR and causing the stream data transfer unit to resume storing the piece of video stream data.

Description

    BACKGROUND OF THE INVENTION
  • (1) Field of the Invention [0001]
  • The present invention relates to a system stream creating apparatus for creating a system stream from a video stream and an audio stream which have been generated in accordance with the MPEG standard. More particularly, the present invention relates to a system stream creating apparatus for creating a system stream which easily conforms to the MPEG standard and the DVD standard and to a DVD recorder having the system stream creating apparatus. [0002]
  • (2) Description of Related Art [0003]
  • Recently, DVD-RAM, a phase-change type optical disc having a capacity of several giga bytes, has come on the market. It is expected that the DVD-RAM will be used as a recording/reproducing medium not only for computers but for other commercial products. This expectation has been enhanced as MPEG (MPEG2), a standard for encoding the digital audiovisual (hereinafter referred to as AV) data, has become commercially practical. [0004]
  • MPEG [0005]
  • The AV data recorded on the DVD-RAM conforms to an international standard called MPEG (ISO/IEC13818). The capacity of the DVD-RAM, though several giga bytes, is not enough to record not-compressed digital AV data. The AV data is therefore recorded after it is compressed. The MPEG standard is prevalent as a method for compressing AV data. Thanks to the recent progress in the LSI circuit technology, MPEG codec (compression/decompression LSI) has come into practical use. This has made it possible for DVD recorders to compress/decompress digital data in accordance with the MPEG standard. [0006]
  • MPEG has the following two main characteristics for achieving highly efficient data compression. [0007]
  • The first characteristic is that MPEG compresses moving-image data using the time correlation characteristic found between frames as well as the spacial frequency characteristic which has been used conventionally. For data compression in MPEG, each frame (in MPEG, also referred to as Picture) is classified into I-Picture (Intra-Coded Picture), P-Picture (Predictive-Coded Picture which uses the I-Picture and reference to past), and B-Picture (Bidirectionally Predictive-Coded Picture which uses the I-Picture and reference to past and future). [0008]
  • To achieve trick plays such as fast-forward, rewinding, and a reproduction from any desired point when reproducing data stored in a storage medium, MPEG defines GOP (Group Of Pictures). This is because in MPEG, frames do not complete in themselves and as described above, video data is encoded based on prediction using past and future frames. As a result, frames are divided into groups of Pictures, the groups being called GOPs which each include at least one I-Picture. With such a construction, random access is available. [0009]
  • The second characteristic of MPEG is that the amount of coding is assigned dynamically in units of Pictures in proportionate to the complexity of images. In MPEG, the decoder includes an input buffer in which data is stored beforehand. This construction enables complicated images to be assigned a great amount of coding. [0010]
  • The audio data for DVD-RAM is compressed with one method: MPEG audio or Dolby digital (AC-3) for compressing data, or LPCM not for compressing data. The Dolby digital and the LPCM use fixed bit rates. The MPEG audio uses a variable bit rate in which audio frames are generated in fixed synchronization, with different sizes. [0011]
  • The AV data is multiplexed into one stream with the “MPEG system” method. FIG. 1 shows the construction of the MPEG system. In the drawing, “21” represents a pack header, “22” a packet header, and “23” a payload. The MPEG system has a hierarchical structure including packs and packets. Each packet is composed of a [0012] packet header 22 and a payload 23. The AV data is divided into portions of an appropriate size from the start of the AV data. The payload 23 stores a piece of divided data. The packet header 22 includes a stream ID, DTS (Decoding time Stamp), and PTS (Presentation Time Stamp) as information of the AV data stored in the payload 23. The stream ID is used to identify the AV data stored in the payload 23. The DTS indicates a time when the AV data stored in the payload 23 is decoded and is represented with accuracy of 90 kHz. It should be noted here that the packet header 22 does not include DTS when, for example, audio data is decoded and presented at the same time. The pack is a unit including a plurality of packets. In DVD-RAM, one packet is used as one pack. Therefore, each pack is composed of a pack header 21 and a packet (composed of a packet header 22 and a payload 23). In the pack header, SCR (System Clock Reference) is recorded. The SCR indicates a time when the AV data stored in the pack is input into the decoder buffer, with accuracy of 27 MHz. For DVD-RAM, the types of the packets are determined in accordance with the type of the stream the DVD-RAM stores. The packet types are, for example, the video stream packet for storing MPEG video data, the audio stream packet for storing MPEG audio data, the private stream 2 packet for storing Dolby AC-3 audio data, and the padding stream packet for storing dummy data which is discarded by the demultiplexer during decoding.
  • The DVD-ROM records such an MPEG system stream so that one pack has one sector (=2,048 bytes). [0013]
  • Now, the decoder for decoding the above MPEG system stream will be described. FIG. 2 shows a decoder model (P-STD) for the MPEG system decoder. The decoder includes STC (System Time Clock) [0014] 31 which clocks the standard time in the decoder, a demultiplexer 32 which decodes and demultiplexes the system stream, a video buffer 33 for a video decoder, the video decoder 34, a re-order buffer 35 which temporarily stores the I- and P-Pictures for the purpose of rearranging the I-, P-, and B-Pictures for presentation, a switch 36 which adjusts the output order of the I-, P-, and B-Pictures stored in the reorder buffer, an audio buffer 37 for an audio decoder, and the audio decoder 38.
  • The MPEG system decoder with the above construction processes the MPEG system stream as follows. When the time of the [0015] STC 31 matches the SCR written in the pack header in a pack, the demultiplexer 32 inputs the pack. The demultiplexer 32 decodes the stream ID of the packet header, and transfers the data in the payload to the decode buffer corresponding to the stream. The demultiplexer 32 also extracts the PTS and. DTS from the packet header. The video decoder 34 extracts Picture data from the video buffer 33 when the time of the STC 31 matches the DTS, decodes the Picture data, stores the I- and P- Pictures in the re-order buffer 35, and outputs the B-Pictures for presentation. The switch 36 is positioned on the side of the re-order buffer 35 when the video decoder 34 decodes an I- or P-Picture, and on the side of the video decoder 34 when the video decoder 34 decodes a B-Picture. The audio decoder 38 extracts data of one audio frame from the audio buffer 37 when the time of the STC 31 matches the PTS (for audio data, there is no DTS) and decodes the extracted data.
  • For MPEG, “0×00” (in this document, “0×” indicates that the succeeding numerals represent a hexadecimal value) has special meaning. Every meaningful group of data in MPEG begins with a 4-byte identification code. For example, the pack header begins with a 4-byte code, “0×000001BA”, the GOP “0×000001B8”, and the Picture “0×0000100”. “0×00” is referred to as “next start code” since a sequence of two “next start codes” and one “0×01” indicates the start of a meaningful group of data. In MPEG, there is no limit to the number of successive “next start codes”, but when “0×01” is found, the position two next start codes before the “0×01” is recognized as the start of the meaningful group of data. The “next start codes” before these codes are skipped by the decoder during reproduction. [0016]
  • Now, a method of multiplexing data into the MPEG system stream will be described with reference to FIGS. 3A to [0017] 3D. FIG. 3A shows a video frame. FIG. 3B shows a video buffer. FIG. 3C shows an MPEG system stream. FIG. 3D shows audio data. The horizontal axis shows a time axis which is common to the drawings. The vertical axis in FIG. 3B indicates amount of buffer occupation (amount of data-stored in the video buffer). The thick solid line shows the change in the amount of buffer occupation over time. The amount of tilt of the thick solid line is proportionate to the video bit rate. The line shows that data is input to the buffer at a certain rate. The reduction in the amount of buffer occupation happenning at intervals shows that data has been decoded. The points of intersections of slant break lines and the time axis indicate the data transfer start times when video frames start to be transferred to the video buffer.
  • The following is an explanation using a complicated image A as an example. As shown in FIG. 3B, since the image A requires a great amount of encoding, the data starts to be transferred to the video buffer at time t[0018] 1 before the decoding time. The period between the data input start time t1 and the decoding time is referred to as “vbv_delay”. According to the standard for DVD-RAM, to ensure the normal operation of: the decoder during reproduction, the amount of Pictures generated by the video encoder and timing with which the system encoder multiplexes should be controlled so that the change of the amount of data in the video buffer shown in FIGS. 3A to 3D ranges 0 to 224 KB. The audio data needs not be transferred as earlier as the video data since it does not require such a dynamic control of the amount of encoding. As a result, it is typical that the audio data is multiplexed a little earlier than the decoding time. Accordingly, among the video data and the audio data to be presented at the same time, the video data starts to be multiplexed earlier than the audio data. In MPEG, a time period during which data is stored in the buffer is defined. According to the definition, all data except for still picture data should be output from the buffer-to the decoder in one second after the data is input to the buffer (this definition is called “one-second rule”). As a result, the difference between the video data and the audio data at multiplexing is one second at most (strictly speaking, the difference may be larger than this when the difference with the reorder buffer for the video data is added).
  • The basic idea of causing the system encoder to store the video data into the packs and inserting the. SCRs will be described with reference to FIGS. 4A and 4B. As shown in,FIG. 4B, the system stream is composed of a plurality of [0019] packs 510. SCR is written in each pack header 511. The system stream has a predetermined value called multiplexing rate Mx. This indicates that the pack 510 is input to the demultiplexor 509 of the decoder at the bit rate of Mx. The multiplexing rate Mx corresponds to the transfer speed on the belt conveyor 501 in the example shown in FIG. 4A. Similarly, the packs correpond to the boxes on the belt conveyor 501, and the video data to the load 503 packed in the box 502. The system encoder 504.adjusts the amount of the video data (=load 503) to be packed in the box 502 and also adjusts the timing with which the box 502 is put on the belt conveyor 501, based on the amount of video data generated by the video encoder 505. The timing adjustment corresponds to the decision of the SCR value. This is because the demultiplexor 509 takes out the load 503 (=video data) from the box 502 the instant STC matches SCR after the box reaches the decoder 506. The extracted video data is temporarily stored in the video buffer 507. When the video encoder 505 generates a large number of Pictures, the boxes 502 having the loads 503 are sequentially put on the belt conveyor 501 with little spaces in between. In contrast, when the video encoder 505 generates a small number of Pictures, a small number of boxes 502 are put on the belt conveyor, or in some cases, a plurality of loads (=frames) are packed in each box. Also, a cushioning material may be packed in the box to fill in the space. The cushioning material corresponds to dummy data. The video data stored in the video buffer 507 is decoded based on DTS written in the packet header 512. As a result, data stored in the video buffer 507 reduces by the Picture size. The basics of the video multiplexing performed by the system encoder is to determine the values of SCR (=the timing with which boxes 502 are transmitted), the amount of video data (=load 503 to be packed in the box), and the amount of dummy data (=cushioning material) so that the amount of data stored in the video buffer 507 does not exceed an upper limit or so that the video buffer 507 becomes empty during a time period between an arrival and a consumption of data, and so that the aforesaid one-second rule is not violated.
  • Logical Construction of DVD-RAM [0020]
  • Now, the logical construction of DVD-RAM will be described with reference to FIG. 5. The DVD recorder deals with two major files: one management information file; and one or more AV files. [0021]
  • Management Information File [0022]
  • The contents of the management information file will be described with reference to FIG. 6A, using mainly the management information file for video. [0023]
  • The management information file includes two major tables: VOBI (VOB Information) table; and PSGI (PSG Information) table. The VOB is an MPEG program stream. The PSG defines the presentation order of “cells” for which an arbitrary portion or all portions of a VOB are a logical presentation unit. In other words, VOB is a unit of MPEG data, and PSG is a unit used when a player performs presentation. [0024]
  • As shown in FIG. 6A, the VOBI table records the number_of_VOBIs and VOBIs. Each VOBI includes VOB_Type (type of VOB), VOB_Start_PTM (presentation start time), VOB_End_PTM (presentation end time), VOB_REC_PTM (information on the time when the start of the VOB is recorded), and TMAPIs (time map information of VOBUs constituting the VOB). [0025]
  • AV File [0026]
  • Accesses to AV files will be described with reference to FIG. 6B. Each AV file is composed of one or more VOBs. The VOBs are consecutively recorded in the AV file. The VOBs in the AV files are managed by the management information files. To access a VOB, the player first accesses the management information file to read the VOB start address and the size. This enables the player to accesses the VOB. Each VOB is composed of a plurality of VOBUs. The VOBU is, as shown in FIG. 7, a unit of data which is composed of: (1) one or more GOPs of MPEG video data multiplexed as MPEG streams; and (2) a plurality of audio packs interleaved with the GOPs. The presentation time for each VOBU should not go out of a predetermined range. The encoder should generate VOBUs taking care of this. Also, a piece of data belonging to a VOBU should not be included in another VOBU. For example, data of a GOP included in a VOBU should completely be included in the VOBU. FIG. 8A shows an example in which data of a GOP belonging to a VOBU is stored in the last pack of the current VOBU and the first pack of the next VOBU, passing over the boundary between the two VOBUs. The violation of the boundary between VOBUs such as this is not permitted-. [0027]
  • Meanwhile, to make the most of the mass-storage optical disc DVD-RAM expected to be a next-generation AV record medium, the following problems should be solved. The present invention provides a DVD recorder which solves the problems and is used to record digital data onto DVD-RAM and reproduce the digital data recorded on DVD-RAM. [0028]
  • The DVD recorder is expected to be a next-generation AV record apparatus and be a commercial recorder that will replace the currently prevalent VTR. However, to replace the VTR, the DVD recorder needs to achieve higher-quality images and higher-level editing functions than the VTR. [0029]
  • With regards to the high-quality images, the variable bit rate technique for MPEG video is useful. In the variable bit rate technique, a greater number of Pictures are assigned to a frame whose image is more complicated and moves more, and a smaller number of Pictures are assigned to a frame whose image is less complicated and moves less. This technique causes successive Pictures to greatly change in the amount of data. Also, the high-quality editing functions are achieved by: (1) the random access function; and (2) the data retrieval function using the management file information, both being characteristics of DVD-RAM. [0030]
  • When these techniques are applied to the data structure of the AV file for the DVD-RAM described earlier, the following problems occur especially when VOBs are generated in real time using a real time encoder. [0031]
  • The variable bit rate technique for MPEG video assigns a smaller number of Pictures to a frame whose image is less complicated and moves less. In doing this, the amount of data included in the Pictures is less than the [0032] payload 23 in the pack, a plurality of frames are stored in the payload 23. Meanwhile, as shown in FIG. 9B, each frame is decoded every 33.3667 msec during presentation. Here, suppose that five frames of picture data is stored in the payload 1203 in the pack 1201 as shown in FIG. 9A. Then, the Picture data in “frm5” having reached the decoder waits for at least 100.1001 msec (during which “frm2” to “frm4” are decoded) in the video buffer 33 before it starts to be decoded. Here, if there was no limit to the number of frames included in one pack, and 32 or more frames of Pictures were stored in a pack, the Picture in the 32nd frame would wait in the decoder buffer for more than one second before it is decoded for the same reason as the example shown in FIGS. 9A and 9B. This violates the MPEG rule, and may cause the decoder to malfunction during presentation.
  • As shown in FIG. 8B, in DVD-RAM, data in a GOP belonging to a VOBU should not be included in another VOBU. That is to say, the GOP must be completely included in the VOBU. In other words, as shown in FIG. 8A, the pack including the last data of a GOP should not include the first data of the next GOP belonging to the next VOBU. However, when the number of Pictures in frames greatly changes depending on the complexity of the images when the variable bit rate technique is used, it is difficult for the video encoder to adjust in real time the number of generated Pictures to match the size of the [0033] payload 23 included in the pack.
  • Also, as shown in FIG. 6B, in DVD-RAM, the VOBU time map is referred to as basic information for accessing AV files. Also, video editing is performed in units of VOBUs. Suppose the audio data “a” and the audio data “b” shown in FIG. 8A are composed of audio frames that have the same presentation time. That is to say, suppose that a[0034] 1 and b1, a2 and b2, and a3 and b3 have the same presentation time, respectively. Here, since a3 is not adjacent to b3, they happen to be arranged in different but successive VOBUs, sandwiching a video pack and the boundary between the VOBUs. If VOBU#1 was deleted by editing now, only b3 would remain. When only one of two pieces of audio data having the same presentation time is deleted or remains, the two pieces of audio data may cause a difference in the sounds when presented after editing. When a piece of data belonging to a VOBU is included in another VOBU, such an improper operation is caused after editing since the split pieces of data should be presented at the same time as the contents define.
  • SUMMARY OF THE INVENTION
  • It is therefore an object of the present invention to provide a DVD recorder which easily and surely conforms to the one-second rule and other rules relating to VOBU. [0035]
  • The above object is fulfilled by a system stream creating apparatus for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence of picture data, the system stream creating apparatus comprising: a stream data transfer unit operable to extract a piece of picture data having a size of a payload from the video stream data and store the piece of picture data into a fixed-length pack; a header data generating unit operable to write a specified time in a header of the pack storing the piece of picture data, the specified time indicating a time when the piece of picture data of the pack is to be input to a video decoder buffer of a decoding apparatus; a condition judging unit operable to judge, when the header data generating unit writes the specified time, whether a difference between (1) a total number of pieces of picture data to be stored in the video decoder buffer up to the specified time and (2) a total number of pieces of picture data to be decoded by the decoding apparatus up to a unit time before the specified time has reached a predetermined value; a time updating unit operable to update the specified time; and a stop/resume control unit operable to, when the condition judging unit judges that the difference has reached the predetermined value, cause the header data generating unit not to write the specified time and cause the stream data transfer unit to stop storing the piece of video stream data, and when having caused the header data generating unit not to write and having caused the stream data transfer unit to stop storing, cause the time updating unit to update the specified time and cause the condition judging unit to judge whether the difference calculated using the updated specified time has reached the predetermined value, and when the condition judging unit makes the judgement negatively, cause the header data generating unit to write the specified time and cause the stream data transfer unit to resume storing the piece of video stream data. [0036]
  • With the above construction, the number of pictures stored in the video buffer of the decoder during a certain time period can be limited. This makes it possible to easily and surely conform to the one-second rule even if the data is encoded with a variable bit rate or even if data is encoded and recorded in real time. [0037]
  • In the above system stream creating apparatus, the decoding apparatus may decode one piece of picture data every video frame cycle, the unit time may be one second, and the predetermined value may be lower than a result of a division of one second by one video frame cycle. [0038]
  • With the above construction, the number of pictures included in the packs input to the decoding apparatus during one second is limitted to a number lower than [0039] 30. This makes it possible to easily and surely conform to the one-second rule.
  • The above object is also fulfilled by a recorder system comprising: the above system stream creating apparatus; and a recording apparatus which records a system stream generated by the system stream creating apparatus onto a record medium. [0040]
  • The above construction achieves a recorder system for generating a system stream which easily and surely conform to the one-second rule. [0041]
  • The above recorder system may further comprise: a reading apparatus which reads the system stream from the record medium; and a decoding apparatus which decodes the system stream read by the reading apparatus. [0042]
  • The above construction achieves a recorder system for generating a system stream which easily and surely conform to the one-second rule and decoding the generated system stream. [0043]
  • The above object is also fulfilled by a system stream creating apparatus for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence of picture data, the system stream creating apparatus comprising: a stream data transfer unit operable to extract a piece of picture data having a size of a payload from the video stream data stored in a video buffer and store the piece of picture data into a fixed-length pack; a header data generating unit operable to write a specified time in a header of the pack storing the piece of picture data, the specified time indicating a time when the piece of picture data of the pack is to be input to a video decoder buffer of a decoding apparatus; a condition judging unit operable to judge, when a piece of picture data having a size of payload is extracted from the video buffer and stored into a fixed-length pack, whether an amount of data stored in the video buffer would be lower than or equal to a predetermined value if the piece of picture data having the size of payload were stored into the video buffer, using a model of change in the amount of data stored in the video buffer, the model being made on an assumption that picture data is input to the video buffer every certain time and a piece of picture data included in each pack is output from the video buffer at a specified time written in a header of each pack; a time updating unit operable to update the specified time; and a stop/resume control unit operable to, when the condition judging unit judges that the amount of data would be lower than or equal to the predetermined value, cause the header data generating unit not to write the specified time and cause the stream data transfer unit to stop storing the piece of picture data, and when having caused the header data generating unit not to write and having caused the stream data transfer unit to stop storing, cause the time updating unit to update the specified time and cause the condition judging unit to judge whether the amount of data stored in the video buffer would be lower than or equal to the predetermined value, and when the condition judging unit judges that the amount of data would exceed the predetermined value, cause the header data generating unit to write the specified time and cause the stream data transfer unit to resume storing the piece of picture data. [0044]
  • With the above construction, even if a pack stores in advance picture data having been expected to be stored a certain time later, a time the picture data should be input to the decoding apparatus is delayed. This easily prevents a lot of pictures enough to break the one-second rule from being stored in the video buffer of the decoder. [0045]
  • In the above system stream creating apparatus, the certain time may be a video frame cycle or a slice cycle. [0046]
  • With the above construction, the pictures are generated at the same intervals as the pictures are decoded. This enables the pictures to be stored in the video buffer of the decoder at shorter intervals than the pictures are decoded, easily preventing the one-second rule from being broken. [0047]
  • The above system stream creating apparatus may further comprise: a picture number judging unit operable to judge, when the stream data transfer unit stores a next piece of picture data into the pack, whether a total number of pieces of picture data in the pack has reached a predetermined number; and a transfer control unit operable to, when the picture number judging unit has judged positively, cause the stream data transfer unit to stop storing the next piece of picture data and store dummy data into the pack. [0048]
  • With the above construction, the number of stored pictures is limited in units of packs. This easily prevents the one-second rule from being broken due to over-storage of pictures in the video buffer of the decoder. [0049]
  • In the above system stream creating apparatus, the transfer control unit may cause the stream data transfer unit to store the next piece of picture data into another pack. [0050]
  • With the above construction, a picture not having been stored in a pack due to a limit to the number of stored pictures can be stored in a newly created pack. [0051]
  • The above system stream creating apparatus may further comprise: a video encoding unit operable to generate picture data by compressing a video signal when the picture number judging unit has judged negatively, and generating as many next start codes as correspond to remaining space of the pack as the dummy data when the picture number judging unit has judged positively, wherein the stream data transfer unit stores either the picture data or the next start codes generated by the video encoding unit into the pack. [0052]
  • With the above construction, the length of the packs can be adjusted to a fixed length by using the next start codes which are not treated as meaningful data by the decoder. The next start codes are stored in the video buffer when the packs are decoded. That is to say, the next start codes are generated by the video encoder, not by the system encoder. This enables the video encoder, which mainly generates the picture data, to accurately recognize and manage the occupied amount of the video buffer. [0053]
  • The above object is also fulfilled by a system stream creating apparatus for creating a system stream, the system stream being a sequence of fixed-length packs the system stream creating apparatus comprising: a video encoding unit operable to generate picture data and when having generated a last piece of picture data of a GOP, generate as many next start codes as correspond to remaining space of a pack which stores the rast piece of picture data; and a stream data transfer unit operable to store either the picture data or the next start codes generated by the video encoding unit into a fixed-length pack. [0054]
  • With the above construction, the next start codes are stored in the pack that stores the last picture of a GOP. This easily prevents a picture of a GOP belonging to the next VOBU from being inserted into a pack of the current VOBU by mistake. [0055]
  • The above object is also fulfilled by a system stream creating apparatus for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of either video stream data or audio stream data, the video stream data being a sequence of picture data, the audio stream data being a sequence of audio frames, the system stream creating apparatus comprising: a stream data transfer unit operable to extract either a piece of picture data having a size of a payload from the video stream data or an audio frame from the audio stream data and store the extracted picture data or audio frame into a fixed-length pack; and a transfer control unit operable to control the stream data transfer unit so that a group of audio frames provided through a plurality of channels and having the same presentation time in common are stored in a group of packs which have been generated successively. [0056]
  • The above construction makes it easy to store the audio frames belonging to different channels and having the same PTS in common into the packs that are arranged successively in a system stream. [0057]
  • The above system stream creating apparatus may further comprise: a header data generating unit operable to write a specified time into a header of a pack, the specified time indicating a time when either a piece of picture data or an audio frame included in the pack is to be input to a decoding apparatus, wherein when a difference between a presentation time of the audio frame and the specified time written in the header of the pack is lower than a certain value, the transfer control unit causes the stream data transfer unit to store the audio frame into the pack. [0058]
  • With the above construction, when there are two audio frames belonging to different channels and having the same PTS, one of them is first packed since the difference between PTS and SCR of the audio frame is lower than a predetermined value, and the other audio frame is packed in the next packing since the difference between PTS and SCR of the other audio frame is also lower than a predetermined value without fail. As a result, the two packs storing the two audio frames are arranged successively in the system stream. [0059]
  • The above object is also fulfilled by a system stream creating method for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence of picture data, the system stream creating method comprising: a stream data transfer step for extracting a piece of picture data having a size of a payload from the video stream data and storing the piece of picture data into a fixed-length pack; a condition judging step for judging, when a specified time, which indicates a time when the piece of picture data stored in a pack is to be input to a video decoder buffer of a decoding apparatus, is written in a header of the pack storing the piece of picture data, whether a difference between (1) a total number of pieces of picture data to be stored in the video decoder buffer up to the specified time and (2) a total number of pieces of picture data to be decoded by the decoding apparatus up to a unit time before the specified time has reached a predetermined value; a specified time writing step for writing the specified time into the pack storing the piece of picture data when it is judged in the condition judging step that the difference has not reached the predetermined value; and a specified time adjusting step for, when it is judged in the condition judging step that the difference has reached the predetermined value, updating the specified time, judging whether a difference between (1) a total number of pieces of picture data to be stored in the video decoder buffer up to the updated specified time and (2) a total number of pieces of picture data to be decoded by the decoding apparatus up to a unit time before the updated specified time has reached the predetermined value, and when the judgement is made negatively, writing the updated specified time into the pack storing the piece of picture data. [0060]
  • With the above construction, the number of pictures stored in the video buffer of the decoder can be limited a certain time before the storage. This makes it possible to easily and surely conform to the one-second rule even if the data is encoded with a variable bit rate or even if data is encoded and recorded in real time.[0061]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • These and other objects, advantages and features of the invention will become apparent from the following description thereof taken in conjunction with the accompanying drawings which illustrate a specific embodiment of the invention. In the drawings: [0062]
  • FIG. 1 shows the construction of the MPEG system stream; [0063]
  • FIG. 2 shows the construction of the MPEG system decoder; [0064]
  • FIGS. 3A to [0065] 3D show relationships between the video data, video buffer, MPEG system stream, and audio data;
  • FIGS. 4A and 4B show relationships between an ideal model of multiplication and the system stream; [0066]
  • FIG. 5 shows the logical construction of DVD-RAM; [0067]
  • FIGS. 6A and 6B show management information data and a method of accessing files; [0068]
  • FIG. 7 shows the construction of VOBU; [0069]
  • FIGS. 8A and 8B show the construction of inappropriate VOBU and normal VOBU; [0070]
  • FIGS. 9A and 9B show relationships between the pack data construction and the frame decoding timing; [0071]
  • FIG. 10 is a block diagram showing the construction of the DVD recorder; [0072]
  • FIG. 11 is a block diagram showing the construction of the [0073] encoder unit 200;
  • FIG. 12 is a block diagram showing a detailed construction of the [0074] system encoder 207;
  • FIG. 13 shows a model of the change in the amount of data stored in the [0075] video buffer 33 of the decoder;
  • FIG. 14 is a flowchart showing the procedure of generating system streams; [0076]
  • FIG. 15 shows an example in which “next start codes” are generated; [0077]
  • FIG. 16 shows a model of the change in the amount of data stored in the [0078] video buffer 204 of the encoder;
  • FIG. 17 is a flowchart showing the procedure of generating system streams; [0079]
  • FIG. 18 shows a pack having next start codes; [0080]
  • FIG. 19 shows packs of audio frames including the same PTS having been arranged to be successive; [0081]
  • FIG. 20 is a flowchart showing the multiplexing operation procedure; and [0082]
  • FIG. 21 shows padding stream packets.[0083]
  • DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • The following are description of the present invention through specific embodiments thereof by way of referring to the drawings. [0084]
  • Embodiment 1
  • [0085] Embodiment 1 relates to a DVD recorder for generating system streams which allow a decoder to conform to the “one-second rule”.
  • Construction [0086]
  • FIG. 10 is a block diagram showing the construction of the DVD recorder in the present embodiment. The DVD recorder includes a [0087] user interface unit 1001, a system control unit 1002, an input unit 1003, an encoder unit 200, an output unit 1005, a decoder unit 1006, a track buffer 1007, a drive 1008, and a file management unit 1009.
  • The [0088] user interface unit 1001 receives, from the user, instructions to record and instructions to reproduce.
  • The [0089] system control unit 1002 sends an instruction to the encoder unit 200 when the user inputs a record instruction.
  • The [0090] input unit 1003 inputs video signals and audio signals from outside.
  • The [0091] encoder unit 200 generates system streams, which are MPEG program streams, from the video signals and audio signals sent from the input unit 1003, and sends the system streams to the track buffer 1007.
  • The [0092] output unit 1005 displays decoded video signals on a monitor, and outputs decoded audio signals to a speaker.
  • The [0093] decoder unit 1006, when having received the instruction from the system control unit 1002, reads system streams from the track buffer 1007 and decodes the system streams. The detailed construction of the decoder unit 1006 is the same as the decoder apparatus shown in FIG. 2.
  • The [0094] track buffer 1007 stores system streams. When the amount of the stored system streams reaches a certain value, the system control unit 1002 instructs the drive 1008 to record the system streams onto the DVD-RAM.
  • The [0095] file management unit 1009 manages the files to be recorded on the DVD-RAM, in units of VOBUs.
  • Now, the [0096] encoder unit 200 will be described in detail.
  • FIG. 11 is a block diagram showing the construction of the [0097] encoder unit 200. The encoder unit 200 includes a video encoder 201, an audio encoder A 202, an audio encoder B 203, a video buffer 204, an audio buffer A 205, an audio buffer B 206, and a system encoder 207.
  • The [0098] video encoder 201 generates, from video signals, a video stream which is composed of I-, B-, or P-Pictures, and stores the video stream in the video buffer 204. In doing so, the video encoder 201 adjusts the amount of data it generates so as not to cause an overflow or underflow in a video buffer of a decoder.
  • The [0099] audio encoder A 202 and the audio encoder B 203 generate audio stream A and audio stream B from audio signals, and store the audio stream A and audio stream B in the audio buffer A 205 and audio buffer B 206, respectively.
  • The [0100] video buffer 204 temporarily stores the video stream.
  • The [0101] audio buffer A 205 temporarily stores the audio stream A.
  • The [0102] audio buffer B 206 temporarily stores the audio stream B.
  • FIG. 12 shows a detailed construction of the [0103] system encoder 207. As shown in FIG. 12, the system encoder 207 includes a stream data transfer unit 211, a storage unit 212, a header data generating unit 213, a condition judging unit 215, a stop/resume control unit 216, a-time updating unit 217, and a Picture-number counter 209. In FIG. 12, the thick solid line indicates flow of data, and a normal solid line indicates flow of control signals.
  • The [0104] storage unit 212 is a working memory used for creating the packs.
  • The stream data transfer means [0105] 211 extracts parts of the streams one by one from the viede6 buffer 204, audio buffer A 205, and audio buffer B 206, and stores the extracted parts into the storage unit 212.
  • The header [0106] data generating unit 213 writes SCR, DTS and the like into the pack header.
  • The Picture-[0107] number counter 209 stores values j and k, where j is the total number of Pictures stored in the video buffer 33 of the decoder up to the time indicated by the current SCR, and k is the total number of Pictures output from the video buffer 33 up to one second before the time indicated by the current SCR.
  • The [0108] time updating unit 217 updates SCR in accordance with the system stream transfer rate.
  • The [0109] condition judging unit 215 judges whether the value (j−k) has reached a predetermined value n, based on the Picture-number counter 209 when the header data generating unit 213 writes SCR.
  • The stop/[0110] resume control unit 216, when the condition judging unit 215 judges the above positively, causes the header data generating unit 213 not to write SCR into the pack header and causes the stream data transfer means 211 to temporarily stop geneting video packs.
  • The stop/[0111] resume control unit 216 causes the time updating unit 217 to update SCR after the above temporary stops, and causes the condition judging unit 215 to judge, for each update, whether the value (j−k) has reached the value n. The stop/resume control unit 216 causes the header data generating unit 213 to write SCR into the pack header and causes the stream data transfer means 211 to resume geneting video packs when the condition judging unit 215 judges the above negatively.
  • The system encoder [0112] 207 generates system streams which allow a decoder to conform to the “one-second rule”. FIG. 13 shows a model of the change in the amount of data stored in the video buffer 33 of the decoder. As shown in FIG. 13, Pictures in packs are sequencially input to the video buffer 33 at the times specified by the SCRs. This increases the storage amount Vbv. A Picture is output for decoding from the video buffer 33 at each DTS time (every 33.3667 msec). This decreases the storage amount Vbv. With the ealier-defined meaning of the values j and k, the value (j−k) represents the number of Pictures stored in the video buffer 33 during one second before the time indicated by the current SCR. Since it takes 33.3667msec to decode one Picture, the video buffer :33 stores Pictures corresponding to (j−k)×33.3667 msec. The system encoder 207 limits the value (j−k) to the value n (an integer of 29 or lower and having been predetermined in the system) by adjusting SCR written in the pack, thus generating such system streams as conform to the one-second rule.
  • Operation [0113]
  • The operation of generating the system streams will be described. [0114]
  • FIG. 14 is a flowchart showing the procedure of generating system streams in the present embodiment. [0115]
  • First, values such as SCR and DTS are set to the initial values (step S[0116] 1201).
  • The system encoder [0117] 207 then waits for the next Picture to be generated by the video encoder 201 and stored in the video buffer 204, and starts the multiplexing process after a certain amount of Pictures are generated (step S1202).
  • The system encoder [0118] 207 then calculates value k, being the total number of Pictures output from the video buffer 33 up to one second before the time indicated by the current SCR. Here, when the initial value for DTS is represented as DTSO, k is an integer included in a result of (SCR−DTSO−1 sec)/33,3367 msec. The value k is 0 until SCR exceeds (DTS+1sec) (step S1203).
  • The system encoder [0119] 207 proceeds to the following process when there is no incompletely written video pack left. When value (j−k) is n or higher, or when the video buffer 33 is to cause an overflow if it receives a new Picture in a video pack (i.e., when the amount of data (Vbv) stored in the video buffer is to exceed 224 KB if the amount of data of the new video Picture is added), the system encoder 207 stops generating video packs, jumps to step S1211, and updates SCR (steps S1205, S1206, and S1211).
  • When value (j−k) is lower than n and when the [0120] video buffer 33 is not expected to cause an overflow, the system encoder 207 generates a video pack and increments Vbv by the amount of data of the Pictures stored in the video pack (Packed_Pictsize) (steps. S1205, S1206, S1207, and S1208).
  • The system encoder [0121] 207 determines how many Pictures have been added to “j” representing the number of multiplexed Pictures and increments “j” by “dj” representing the number of increased Pictures (step S1209).
  • The system encoder [0122] 207 does not generate a Picture (i.e., generates a pack and stores a Picture in the pack) and jumps to step S1210 when it is judged in step S1204 that there is a video pack without SCR written in its header (i.e., it is judged as “No” in step S1210 which will be described later).
  • The system encoder [0123] 207 writes the current SCR into the pack header when (j−k) is expected to be n or lower if the Picture of the video pack is input to the video buffer 33. This is because the video pack can be input to the video buffer 33 at the time specified by the current SCR. When (j−k) is expected to exceed n, the system encoder does not write the current SCR into the pack header and holds the incomplete video pack (steps S1210 and S1212).
  • The system encoder [0124] 207 then updates SCR in accordance with the system stream transfer rate (step S1211).
  • When the updated SCR is equal to or higher than DTS, a Picture is decoded. The system encoder [0125] 207 therefore decrements Vbv by the amount of data of the Picture, and adds 33.3667 msec to the DTS (step S1214 and S1215).
  • The system encoder [0126] 207 waits for a new Picture to be generated when all the Pictures so far have, been stored in packs; and repeats the above process starting from step S1203 when there is a Picture not having been stored in a pack or when a new Picture is generated (steps S1216, S1203, and S1204).
  • The above process will be described more specifically with reference to the example shown in FIG. 13. [0127]
  • Suppose that (j−k) for the [0128] pack 1301 shown in FIG. 13 is (n−1). Also suppose that the next pack stores the end portion of the (Ln+1)th Picture, a whole (thLn+2) Picture, and the first portion of the (Ln+3)th Picture. Here, the current SCR is written in the pack 1301, (j−k)=(n+1) since j is incremented by 2. The SCR of the pack is moved backward by one DTS in accordance with the flowchart shown in FIG. 14, and k is incremented by one. When this happens, (j−k)=n is maintained. In this way, (j−k) can be limited to the predetermined value n or lower. When n is defined as an integer of 29 or lower, it is possible to conform to the one-second rule.
  • Brief Account [0129]
  • As described above, the DVD recorder of the present embodiment can limit the number of Pictures stored in the [0130] video buffer 33 during one second to a predetermined number n. As a result, the DVD recorder generates system streams which allow a decoder to easily and surely conform to the “one-second rule” even when data is encoded with a variable bit rate or even when data is encoded and recorded in real time.
  • Embodiment 2
  • [0131] Embodiment 2 relates to a DVD recorder for generating system streams which allow a decoder to easily conform to the “one-second rule” by adjusting the number of Pictures stored in each pack or by adjusting SCR.
  • Construction [0132]
  • The construction of the DVD recorder of the present embodiment is almost the same as [0133] Embodiment 1. Only the portions different from Embodiment 1 will be described here.
  • When the total number of Pictures (including the case where only a part of one Picture is stored) stored in a pack is a predetermined number (in this embodiment, 2), the [0134] video encoder 201 generates as many “next start codes” as correspond to the remaining space of the pack. FIG. 15 shows an example in which “next start codes” are generated because two Pictures (frames) are stored in a pack. When the predetermined number is set to a lower number, it is expected that the amount of transferred dummy data will increase, the amount of transferred Pictures, which is important, will decrease, and the image quality will be degraded. In the present embodiment the predetermined number is set to 2. The value, that should enable the system streams to conform to the one-second rule and maintain the image quality, has been determined through experiments. The experiments have revealed that the system streams conform to the one-second rule and the image quality is not degraded drastically under conditions that the system stream transfer rate is 10.08 Mbps and that the video data effective transfer rate is 9.6 Mbps (approximately 630 packs are transferred per one second).
  • The system encoder [0135] 207 adjusts SCR written in a pack so that the number of Pictures output from the video buffer 204 of an encoder does not drastically increase at a certain time.
  • FIG. 16 shows a model of the change in the amount of data stored in the [0136] video buffer 204 of the encoder. As shown in FIG. 16, Pictures are output from the video buffer 204 and inserted into packs at the times specified by the SCRs. This decreases the storage amount Vbb. A Picture generated by the video encoder 201 is input to the video buffer 204 at each FGrid time (every 33.3667 msec). This increases the storage amount Vbb.
  • When the storage amount Vbb is expected to be 0 or lower, the [0137] system encoder 207 inserts in advance the Picture to be inserted at the next FGrid into the remaining space of the pack. In the example shown in FIG. 16, Vbb is 0 when L2 is inserted into a pack. Therefore, L3 data (execution data representing a Picture and dummy data) to be inserted at the next FGrid (FGrid2) is inserted into the remaining space of the pack in advance. The dummy data has been generated by this time since the total number of Pictures in the pack was 2 when the video encoder 201 generated the Picture data of L3.
  • The system encoder [0138] 207 sets SCR to an FGrid a certain time later, the certain time corresponding to the number of Pictures inserted in advance, and writes the updated SCR into the pack header of the pack into which a Picture has been inserted in advance. In the example shown in FIG. 16, the system encoder 207 sets SCR from FGrid2 to FGrid3 since the number of Pictures inserted in advance is 1. In this way, each time Pictures are inserted in advance, SCR is set to an FGrid a certain time later, the certain time corresponding to the number of Pictures inserted in advance. With this construction, the video buffer 33 does not store excessive Pictures.
  • Now, portions of the [0139] system encoder 207 different from Embodiment 1 will be described.
  • The stream data transfer means [0140] 211 extracts parts of the streams one by one from the video buffer 204, audio buffer A 205, and audio buffer B 206, and stores the extracted parts into the storage unit 212.
  • The header [0141] data generating unit 213 writes SCR into the pack header, where the SCR is the time when the stream data transfer means 211 extracted the Picture from the video buffer 204.
  • The [0142] condition judging unit 215 judges whether the amount of data (Vbb) stored in the video buffer 204 is expected to be a positive value if the stream data transfer means 211 stores a Picture.
  • The [0143] time updating unit 217 updates SCR in accordance with the system stream transfer rate.
  • The stop/[0144] resume control unit 216, when the condition judging unit 215 judges the above negatively, causes the header data generating unit 213 not to write SCR into the pack header and causes the stream data transfer means 211 to temporarily stop storing Pictures.
  • The stop/[0145] resume control unit 216 causes the time updating unit 217 to update SCR after the above temporary stops, and causes the condition judging unit 215 to judge, for each update, whether Vbb is expected to be a positive value. The stop/resume control unit 216 causes the header data generating unit 213 to resume writing SCR into the pack header and causes the stream data transfer means 211 to resume storing Pictures when the condition judging unit 215 judges the above positively.
  • Operation [0146]
  • The operation of generating the system streams will be described. [0147]
  • FIG. 17 is a flowchart showing the procedure of generating system streams in the present embodiment. [0148]
  • First, values such as SCR and FGrid are set to the initial values (step S[0149] 1401).
  • The system encoder [0150] 207 then waits for a certain amount of Pictures to be generated by the video encoder 201 and stored in the video buffer 204 (step S1402).
  • The system encoder [0151] 207 then generates a video pack when the amount of data (Vbb) stored in the video buffer 204 is expected to be a positive value if it generates the video pack, and decrements Vbb by the amount of data of the Pictures stored in the video pack (Packed_Pictsize). The system encoder 207 stops generating video packs when Vbb is not expected to be a positive value (steps S1403, S1404, and S1405).
  • The system encoder [0152] 207 then updates SCR in accordance with the system stream transfer rate (step S1406).
  • When the updated SCR is equal to or higher than FGrid, the [0153] system encoder 207 judges that the next Picture is stored in the video buffer 204, increments Vbb by the amount of data of the next Picture, and adds 33.3667 msec to FGrid (steps S1408 and S1409).
  • The system encoder [0154] 207 waits for a new Picture to be generated when all the Pictures generated by the video encoder so far have been stored in packs; and repeats the above process starting from step S1403 when there is a Picture not having been stored in a pack or when a new Picture is generated (steps S1410, S1402, and S1403).
  • Brief Account [0155]
  • As described above, the DVD recorder of the present embodiment adjusts the number of Pictures to be stored in each pack and adjusts SCR so as to generate system streams which allow a decoder to easily conform to the “one-second rule”. [0156]
  • Embodiment 3
  • [0157] Embodiment 3 relates to a DVD recorder which inserts dummy data into the last pack of a GOP, instead of pictures of the next GOP.
  • Construction [0158]
  • The DVD recorder of the present embodiment differs from [0159] Embodiment 1 only in that the video encoder 201 has a partly different function and that the picture number storage unit is replaced with the picture amount storage unit. The following is the description of the video encoder 201 and the picture amount storage unit.
  • The picture amount storage unit stores the data amount of all pictures belonging to a currently generated GOP. [0160]
  • The [0161] video encoder 201 has the following functions for attaining the object of the present embodiment. The video encoder 201 encodes video signals to generate I, B, and P Pictures, and increments the data amount of all pictures stored in the picture amount storage unit in proportionate to the data amount of the generated pictures. When having generated the last picture of one GOP, the video encoder 201 calculates the remaining capacity of the pack which includes the last picture, based on the data amount of all pictures stored in the picture amount storage unit. The video encoder 201 then generates as many next start codes as the calculated remaining capacity.
  • FIG. 18 shows a pack having next start codes. The video pack {circle over ([0162] 1)} shown in FIG. 15 includes B-Picture which is the last Picture of the GOP. Accordingly, next start codes as dummy data are packed in the remaining space of the pack.
  • The next start codes are stored in the video buffer of the decoder. As a result, the video encoder, not the system encoder, generates the dummy data. With this construction, the video encoder can accurately recognize the occupied amount of the video buffer. This prevents generation of such pictures as cause the video buffer to generate an overflow or underflow. [0163]
  • Brief Account [0164]
  • As described above, the DVD recorder of the present embodiment inserts next start codes in the pack that includes the last Picture of one GOP. This easily prevents a Picture of a GOP belonging to the next VOBU from being inserted in a pack of the preceding-VOBU. [0165]
  • Embodiment 4
  • Embodiment 4 relates to a DVD recorder which exercises control so that audio frames belonging to different audio channels belong to the same VOBU when they have the same PTS. [0166]
  • Construction [0167]
  • The DVD recorder of the present embodiment is the same as that of [0168] Embodiment 1 except the system encoder 207. The following is the description of a function unique to the present embodiment which is realized by the system encoder 207.
  • The system encoder [0169] 207 arranges packs of audio frames having the same PTS to be successive on the system stream. More specifically, the system encoder 207 generates packs of audio frames when the difference between the PTS and the current SCR is lower than a certain value α. For two audio frames respectively generated from different channels and having the same PTS, when one of them is lower than the value α and is inserted into a pack, the other audio frame is definitely lower than the value α in the next round of pack generation. Accordingly, the other audio frame is inserted into the next pack. With this construction, the packs of these two audio frames are arranged to be successive on the system stream.
  • FIG. 19 shows packs of audio frames including the same PTS having been arranged to be successive. As shown in FIG. 19, a[0170] 1 and b1, a2 and b2, and a3 and b3 have the same PTS, respectively. As a result, these packs are arranged to be successive.
  • Operation [0171]
  • FIG. 20 is a flowchart showing the multiplexing operation procedure of the present embodiment. [0172]
  • First, the [0173] system encoder 207 calculates the PTS of the audio frame to be the next audio pack. The audio frame includes a reproduction time, where the reproduction times assigned to the audio frames in order differ by a regular period. As a result, the system encoder 207 obtains the PTS by multiplying the frame number with the period (step S1601).
  • Secondly, the [0174] system encoder 207 compares the calculated PTS with the SCR to be written into the next pack. When the difference between the calculated PTS and the SCR is lower than the certain value a, the system encoder 207 generates an audio pack from the audio frame, and writes the PTS and the SCR to the header of the pack (steps S1602, S1603).
  • When the difference between the calculated PTS and the SCR is equal to or more than the certain value a, the [0175] system encoder 207 judges that the next audio frame cannot be multiplexed yet, and generates a video pack from the video stream (step S1604).
  • The system encoder [0176] 207 then adds a certain time At to the current SCR to update the SCR (step S1605).
  • The system encoder [0177] 207 ends the process of generating the system stream when receiving an instruction to end the process. Otherwise, the system encoder 207 repeats the steps S1601 to S1605 (step S1606).
  • Brief Account [0178]
  • As described above, the DVD recorder of the present embodiment easily arrange a plurality of audio frames belonging to different channels and having the same PTS as successive packs on the system stream. [0179]
  • <Variations>[0180]
  • The present invention is not limited to the above embodiments, but can be varied as follows, for example. (1) In [0181] Embodiment 1, it is judged whether the value (j−k) is equal to or higher than n each time a pack having Pictures is generated. However, the judgement may be performed each time a Picture is inserted into a pack. More specifically, the number of Pictures j is incremented and it is judged whether the value (j−k) has reached n each time a Picture is newly inserted into a pack. When it is judged positively, the remaining space of the current pack is filled with dummy data, and the current SCR is written into the pack header. With regards to the next pack, SCR to be written into the pack may be adjusted in the same way as Embodiment 1.
  • (2) In [0182] Embodiment 2, SCR to be written into the packs is adjusted, and the number of Pictures is limited to a certain number or lower. However, only the adjustment of SCR may be performed.
  • (3) In [0183] Embodiment 2, the “next start codes” are used as dummy-data. However, padding stream packets shown in FIG. 21 may be used. The padding stream packets are generated by the system encoder, not by the video encoder. That is to say, when the number of Pictures stored in a pack has reached a predetermined number, the system encoder stops storing the next Picture data into the pack, and instead stores the padding stream packets into the pack. The Picture data not stored in the pack may be stored in a newly generated pack.
  • (4) In Embodiment 4, a plurality of audio frames belonging to different channels and having the same PTS are arranged as successive packs on the system stream based on the difference between the SCR and the PTS. This can also be achieved by making it a rule that whenever an audio frame is stored in a pack, the next pack stores another audio frame with the same PTS. [0184]
  • (5) In Embodiment 4, the PTS is calculated by multiplying the frame number of the audio frame with the period. However, the PTS may be determined beforehand for each audio frame. [0185]
  • (6) In [0186] Embodiment 1, to generate system streams conforming to the “one-second rule”, predetermined value n of the system is set to 29 or lower when the video frame cycle is 33.3667 msec. However, the predetermined value n of the system may be set to 1/T when when the video frame cycle is T seconds.
  • (7) In [0187] Embodiment 2, FGrid is a multiple of 33.3667 msec (video frame cycle). However, the FGrid time may be set to a multiple of a slice cycle ({fraction (1/30)} of the video frame cycle), where a frame includes 30 slices.
  • The present invention has been fully described by way of examples with reference to the accompanying drawings, it is to be noted that various changes and modifications will be apparent to those skilled in the art. Therefore, unless such changes and modifications depart from the scope of the present invention, they should be construed as being included therein. [0188]

Claims (20)

What is claimed is:
1. A system stream creating apparatus for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence of picture data, the system stream creating apparatus comprising:
a stream data transfer unit operable to extract a piece of picture data having a size of a payload from the video stream data and store the piece of picture data into a fixed-length pack;
a header data generating unit operable to write a specified time in a header of the pack storing the piece of picture data, the specified time indicating a time when the piece of picture data of the pack is to be input to a video decoder buffer of a decoding apparatus;
a condition judging unit operable to judge, when the header data generating unit writes the specified time, whether a difference between (1) a total number of pieces of picture data to be stored in the video decoder buffer up to the specified time and (2) a total number of pieces of picture data to be decoded by the decoding apparatus up to a unit time before the specified time has reached a predetermined value;
a time updating unit operable to update the specified time; and
a stop/resume control unit operable to, when the condition judging unit judges that the difference has reached the predetermined value, cause the header data generating unit not to write the specified time and cause the stream data transfer unit to stop storing the piece of video stream data, and when having caused the header data generating unit not to write and having caused the stream data transfer unit to stop storing, cause the time updating unit to update the specified time and cause the condition judging unit to judge whether the difference calculated using the updated specified time has reached the predetermined value, and when the condition judging unit makes the judgement negatively, cause the header data generating unit to write the specified time and cause the stream data transfer unit to resume storing the piece of video stream data.
2. The system stream creating apparatus of claim 1, wherein
the decoding apparatus decodes one piece of picture data every video frame cycle,
the unit time is one second, and
the predetermined value is lower than a result of a division of one second by one video frame cycle.
3. A recorder system comprising:
the system stream creating apparatus of claim 2; and
a recording apparatus which records a system stream generated by the system stream creating apparatus onto a record medium.
4. The recorder system of claim 3 further comprising:
a reading apparatus which reads the system stream from the record medium; and
a decoding apparatus which decodes the system stream read by the reading apparatus.
5. A system stream creating apparatus for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence of picture data, the system stream creating apparatus comprising:
a stream data transfer unit operable to extract a piece of picture data having a size of a payload from the video stream data stored in a video buffer and store the piece of picture data into a fixed-length pack;
a header data generating unit operable to write a specified time in a header of the pack storing the piece of picture data, the specified time indicating a time when the piece of picture data of the pack is to be input to a video decoder buffer of a decoding apparatus;
a condition judging unit operable to judge, when a piece of picture data having a size of payload is extracted from the video buffer and stored into a fixed-length pack, whether an amount of data stored in the video buffer would be lower than or equal to a predetermined value if the piece of picture data having the size of payload were stored into the video buffer, using a model of change in the amount of data stored in the video buffer, the model being made on an assumption that picture data is input to the video buffer every certain time and a piece of picture data included in each pack is output from the video buffer at a specified time written in a header of each pack;
a time updating unit operable to update the specified time; and
a stop/resume control unit operable to, when the condition judging unit judges that the amount of data would be lower than or equal to the predetermined value, cause the header data generating unit not to write the specified time and cause the stream data transfer unit to stop storing the piece of picture data, and when having caused the header data generating unit not to write and having caused the stream data transfer unit to stop storing, cause the time updating unit to update the specified time and cause the condition judging unit to judge whether the amount of data stored in the video buffer would be lower than or equal to the predetermined value, and when the condition judging unit judges that the amount of data would exceed the predetermined value, cause the header data generating unit to write the specified time and cause the stream data transfer unit to resume storing the piece of picture data.
6. The system stream creating apparatus of claim 5, wherein the certain time is a video frame cycle or a slice cycle.
7. The system stream creating apparatus of claim 6 further comprising:
a picture number judging unit operable to judge, when the stream data transfer unit stores a next piece of picture data into the pack, whether a total number of pieces of picture data in the pack has reached a predetermined number; and
a transfer control unit operable to, when the picture number judging unit has judged positively, cause the stream data transfer unit to stop storing the next piece of picture data and store dummy data into the pack.
8. The system stream creating apparatus of claim 7, wherein
the transfer control unit causes the stream data transfer unit to store the next piece of picture data into another pack.
9. The system stream creating apparatus of claim 8 further comprising:
a video encoding unit operable to generate picture data by compressing a video signal when the picture number judging unit has judged negatively, and generating as many next start codes as correspond to remaining space of the pack as the dummy data when the picture number judging unit has judged positively, wherein
the stream data transfer unit stores either the picture data or the next start codes generated by the video encoding unit into the pack.
10. A system stream creating apparatus for creating a system stream, the system stream being a sequence of fixed-length packs the system stream creating apparatus comprising:
a video encoding unit operable to generate picture data and when having generated a last piece of picture data of a GOP, generate as many next start codes as correspond to remaining space of a pack which stores the last piece of picture data; and
a stream data transfer unit operable to store either the picture data or the next start codes generated by the video encoding unit into a fixed-length pack.
11. A system stream creating apparatus for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of either video stream data or audio stream data, the video stream data being a sequence of picture data, the audio stream data being a sequence of audio frames, the system stream creating apparatus comprising:
a stream data transfer unit operable to extract either a piece of picture data having a size of a payload from the video stream data or an audio frame from the audio stream data and store the extracted picture data or audio frame into a fixed-length pack; and
a transfer control unit operable to control the stream data transfer unit so that a group of audio frames provided through a plurality of channels and having the same presentation time in common are stored in a group of packs which have been generated successively.
12. The system stream creating apparatus of claim 11 further comprising:
a header data generating unit operable to write a specified time into a header of a pack, the specified time indicating a time when either a piece of picture data or an audio frame included in the pack is to be input to a decoding apparatus, wherein
when a difference between a presentation time of the audio frame and the specified time written in the header of the pack, is lower than a certain value, the transfer control unit causes the stream data transfer unit to store the audio frame into the pack.
13. A system stream creating method for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence of picture data, the system stream creating method comprising:
a stream data transfer step for extracting a piece of picture data having a size of a payload from the video stream data and storing the piece of picture data into a fixed-length pack;
a condition judging step for judging, when a specified time, which indicates a time when the piece of picture data stored in a pack is to be input to a video decoder buffer of a decoding apparatus, is written in a header of the pack storing the piece of picture data, whether a difference between (1) a total number of pieces of picture data to be stored in the video decoder buffer up to the specified time and (2) a total number of pieces of picture data to be decoded by the decoding apparatus up to a unit time before the specified time has reached a predetermined value;
a specified time writing step for writing the specified time into the pack storing the piece of picture data when it is judged in the condition judging step that the difference has not reached the predetermined value; and
a specified time adjusting step for, when it is judged in the condition judging step that the difference has reached the predetermined value, updating the specified time, judging whether a difference between (1) a total number of pieces of picture data to be stored in the video decoder buffer up to the updated specified time and (2) a total number of pieces of picture data to be decoded by the decoding apparatus up to a unit time before the updated specified time has reached the predetermined value, and when the judgement is made negatively, writing the updated specified time into the pack storing the piece of picture data.
14. A system stream creating method for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence of picture data, the system stream creating method comprising:
a condition judging step for judging, when a piece of picture data having a size of payload is extracted from the video stream data in a video buffer and stored into a fixed-length pack, whether an amount of data stored in the video buffer would be lower than or equal to a predetermined value if the piece of picture data having the size of payload were stored into the video buffer, using a model of change in the amount of data stored in the video buffer, the model being made on an assumption that picture data is input to the video buffer every certain time and a piece of picture data included in each pack is output from the video buffer at a specified time written in a header of each pack;
a pack generation adjustment step for, when the condition judging step judges that the amount of data would exceed the predetermined value, updating a time when the piece of picture data is to be input to a video decoder buffer of a decoding apparatus and judging whether the amount of data stored in the video buffer would be lower than or equal to the predetermined value;
a pack generation step for, when either the condition judging step or the pack generation adjustment step judges that the amount of data would be lower than or equal to the predetermined value, storing the piece of picture data into the pack, and writing a specified time into a header of the pack storing the piece of picture data based on a time when the piece of picture data is extracted from the video buffer, the specified time indicating a time when the piece of picture data is to be input to the video decoder buffer.
15. A system stream creating method for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence of picture data, the system stream creating method comprising:
a video encoding step for generating picture data, and when having generated a last piece of picture data of a GOP, generating as many next start codes as correspond to remaining space of a pack which stores the last piece of picture data; and
a stream data transfer step for storing either the picture data or the next start codes generated by the video encoding unit into a fixed-length pack.
16. A system stream creating method for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of either video stream data or audio stream data, the video stream data being a sequence of picture data, the audio stream data being a sequence of audio frames, the system stream creating method comprising:
a header data generating step for writing a specified time into a header of a pack, the specified time indicating a time when a piece of picture data or an audio frame included in the pack is to be input to a decoding apparatus;
a condition judging step for judging whether a difference between a presentation time of the audio frame and the specified time written in the header of the pack is lower than a certain value; and
a stream data transfer step for extracting an audio frame from the audio stream data and storing the extracted audio frame into the pack when the condition judging step makes a positive judgement, and for extracting a piece of picture data having a size of a payload from the video stream data and storing the extracted picture data into the pack when the condition judging step makes a negative judgement.
17. A computer-readable record medium recording a program for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence- of picture data, the program comprising:
a stream data transfer step for extracting a piece of picture data having a size of a payload from the video stream data and storing the piece of picture data into a fixed-length pack;
a condition judging step for judging, when a specified time, which indicates a time when the piece of picture data stored in a pack is to be input to a video decoder buffer of a decoding apparatus, is written in a header of the pack storing the piece of picture data, whether a difference between (1) a total number of pieces of picture data to be stored in the video decoder buffer up to the specified time and (2) a total number of pieces of picture data to be decoded by the decoding apparatus up to a unit time before the specified time has reached a predetermined value;
a specified time writing step for writing the specified time into the pack storing the piece of picture data when it is judged in the condition judging step that the difference has not reached the predetermined value; and
a specified time adjusting step for, when it is judged in the condition judging step that the difference has reached the predetermined value, updating the specified time, judging whether a difference between (1) a total number of pieces of picture data to be stored in the video decoder buffer up to the updated specified time and (2) a total number of pieces of picture data to be decoded by the decoding apparatus up to a unit time before the updated specified time has reached the predetermined value, and when the judgement is made negatively, writing the updated specified time into the pack storing the piece of picture data.
18. A computer-readable record medium recording a program for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence of picture data, the program comprising:
a condition judging step for judging, when a piece of picture data having a size of payload is extracted from the video stream data in a video buffer and stored into a fixed-length pack, whether an amount of data stored in the video buffer would be lower than or equal to a predetermined value if the piece of picture data having the size of payload were stored into the video buffer, using a model of change in the amount of data stored in the video buffer, the model being made on an assumption that picture data is input to the video buffer every certain time and a piece of picture data included in each pack is output from the video buffer at a specified time written in a header of each pack;
a pack generation adjustment step for, when the condition judging step judges that the amount of data would exceed the predetermined value, updating a time when the piece of picture data is to be input to a video decoder buffer of a decoding apparatus and judging whether the amount of data stored in the video buffer would be lower than or equal to the predetermined value;
a pack generation step for, when either the condition judging step or the pack generation adjustment step judges that the amount of data would be lower than or equal to the predetermined value, storing the piece of picture data into the pack, and writing a specified time into a header of the pack storing the piece of picture data based on a time when the piece of picture data is extracted from the video buffer, the specified time indicating a time when the piece of picture data is to be input to the video decoder buffer.
19. A computer-readable record medium recording a program for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of video stream data, the video stream data being a sequence of picture data, the program comprising:
a video encoding step for generating picture data, and when having generated a last piece of picture data of a GOP, generating as many next start codes as correspond to remaining space of a pack which stores the last piece of picture data; and
a stream data transfer step for storing either the picture data or the next start codes generated by the video encoding unit into a fixed-length pack.
20. A computer-readable record medium recording a program for creating a system stream, the system stream being a sequence of fixed-length packs, each pack storing a piece of either video stream data or audio stream data, the video stream data being a sequence of picture data, the audio stream data being a sequence of audio frames, the program comprising:
a header data generating step for writing a specified time into a header of a pack, the specified time indicating a time when a piece of picture data or an audio frame included in the pack is to be input to a decoding apparatus;
a condition judging step for judging whether a difference between a presentation time of the audio frame and the specified time written in the header of the pack is lower than a certain value; and
a stream data transfer step for extracting an audio frame from the audio stream data and storing the extracted audio frame into the pack when the condition judging step makes a positive judgement, and for extracting a piece of picture data having a size of a payload from the video stream data and storing the extracted picture data into the pack when the condition judging step makes a negative judgement.
US10/775,156 1999-09-20 2004-02-11 System stream creating apparatus which adjusts system clock reference based on total number of pictures to be stored and decoded during certain time period Abandoned US20040165665A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/775,156 US20040165665A1 (en) 1999-09-20 2004-02-11 System stream creating apparatus which adjusts system clock reference based on total number of pictures to be stored and decoded during certain time period

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP11-265573 1999-09-20
JP26557399 1999-09-20
US09/666,102 US6754276B1 (en) 1999-09-20 2000-09-20 System stream creating apparatus which adjusts system clock reference based on total number of pictures to be stored and decoded during certain time period
US10/775,156 US20040165665A1 (en) 1999-09-20 2004-02-11 System stream creating apparatus which adjusts system clock reference based on total number of pictures to be stored and decoded during certain time period

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US09/666,102 Division US6754276B1 (en) 1999-09-20 2000-09-20 System stream creating apparatus which adjusts system clock reference based on total number of pictures to be stored and decoded during certain time period

Publications (1)

Publication Number Publication Date
US20040165665A1 true US20040165665A1 (en) 2004-08-26

Family

ID=17419002

Family Applications (2)

Application Number Title Priority Date Filing Date
US09/666,102 Expired - Fee Related US6754276B1 (en) 1999-09-20 2000-09-20 System stream creating apparatus which adjusts system clock reference based on total number of pictures to be stored and decoded during certain time period
US10/775,156 Abandoned US20040165665A1 (en) 1999-09-20 2004-02-11 System stream creating apparatus which adjusts system clock reference based on total number of pictures to be stored and decoded during certain time period

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US09/666,102 Expired - Fee Related US6754276B1 (en) 1999-09-20 2000-09-20 System stream creating apparatus which adjusts system clock reference based on total number of pictures to be stored and decoded during certain time period

Country Status (2)

Country Link
US (2) US6754276B1 (en)
EP (1) EP1085765A3 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060133515A1 (en) * 2003-01-09 2006-06-22 Mpr Srinivas System, method, and apparatus for determining presentation time for picture without presentation time stamp
US20060178115A1 (en) * 2005-02-04 2006-08-10 Sap Aktiengesellschaft Data transmission over an in-use transmission medium
US20080267284A1 (en) * 2007-03-28 2008-10-30 Hisayoshi Tsubaki Moving picture compression apparatus and method of controlling operation of same
US20090207775A1 (en) * 2006-11-30 2009-08-20 Shuji Miyasaka Signal processing apparatus
US9247201B2 (en) 2009-06-23 2016-01-26 Tencent Holdings Limited Methods and systems for realizing interaction between video input and virtual network scene

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7730300B2 (en) 1999-03-30 2010-06-01 Sony Corporation Method and apparatus for protecting the transfer of data
US7039614B1 (en) 1999-11-09 2006-05-02 Sony Corporation Method for simulcrypting scrambled data to a plurality of conditional access devices
US7366402B2 (en) * 2000-06-02 2008-04-29 Lg Electronics Inc. Method and apparatus of recording a high definition digital television broadcast signal
ITMO20010038A1 (en) * 2001-03-06 2002-09-06 Elopak Systems APPARATUS AND METHOD FOR THE PROCESSING OF PLASTIC MATERIAL AND CONTAINER OF FLUID PRODUCT
US7747853B2 (en) * 2001-06-06 2010-06-29 Sony Corporation IP delivery of secure digital content
US7151831B2 (en) * 2001-06-06 2006-12-19 Sony Corporation Partial encryption and PID mapping
US7895616B2 (en) 2001-06-06 2011-02-22 Sony Corporation Reconstitution of program streams split across multiple packet identifiers
US20040205248A1 (en) 2001-07-10 2004-10-14 Herbert A Little System and method for secure message key caching in a mobile communication device
US8019081B2 (en) * 2001-08-06 2011-09-13 Research In Motion Limited System and method for processing encoded messages
US20030044166A1 (en) * 2001-08-31 2003-03-06 Stmicroelectronics, Inc. System for multiplexing video data streams in a digital video recorder and method of operating the same
US7823174B2 (en) 2002-01-02 2010-10-26 Sony Corporation Macro-block based content replacement by PID mapping
US7765567B2 (en) 2002-01-02 2010-07-27 Sony Corporation Content replacement by PID mapping
US7292690B2 (en) * 2002-01-02 2007-11-06 Sony Corporation Video scene change detection
US7292691B2 (en) * 2002-01-02 2007-11-06 Sony Corporation Progressive video refresh slice detection
WO2003092293A1 (en) 2002-04-26 2003-11-06 Sony Corporation Encoding device and method, decoding device and method, edition device and method, recording medium, and program
JP3925311B2 (en) * 2002-06-03 2007-06-06 ソニー株式会社 Data distribution system
US8818896B2 (en) 2002-09-09 2014-08-26 Sony Corporation Selective encryption with coverage encryption
US8572408B2 (en) 2002-11-05 2013-10-29 Sony Corporation Digital rights management of a digital device
US7724907B2 (en) 2002-11-05 2010-05-25 Sony Corporation Mechanism for protecting the transfer of digital content
US8645988B2 (en) 2002-12-13 2014-02-04 Sony Corporation Content personalization for digital content
US8667525B2 (en) 2002-12-13 2014-03-04 Sony Corporation Targeted advertisement selection from a digital stream
US7853980B2 (en) 2003-10-31 2010-12-14 Sony Corporation Bi-directional indices for trick mode video-on-demand
US7895617B2 (en) 2004-12-15 2011-02-22 Sony Corporation Content substitution editor
US8041190B2 (en) 2004-12-15 2011-10-18 Sony Corporation System and method for the creation, synchronization and delivery of alternate content
US7965736B2 (en) * 2005-08-24 2011-06-21 Qualcomm Incorporated Transmission of multiplex protocol data units in physical layer packets
US8185921B2 (en) 2006-02-28 2012-05-22 Sony Corporation Parental control of displayed content using closed captioning

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5742569A (en) * 1996-03-22 1998-04-21 Pioneer Electronic Corporation Information record medium, apparatus for recording the same and apparatus for reproducing the same
US5991313A (en) * 1996-05-24 1999-11-23 Toko, Inc. Video transmission apparatus
US6167084A (en) * 1998-08-27 2000-12-26 Motorola, Inc. Dynamic bit allocation for statistical multiplexing of compressed and uncompressed digital video signals
US6285689B1 (en) * 1996-05-24 2001-09-04 Sony Corporation Method and apparatus for verifying multiplexing schedule of digital signals and apparatus for multiplexing digital signals
US20020061180A1 (en) * 1994-06-20 2002-05-23 Masafumi Nakamura Transmitting and recording method, reproducing method, and reproducing apparatus of information and its recording medium
US6438317B1 (en) * 1997-09-25 2002-08-20 Sony Corporation Encoded stream generating apparatus and method, data transmission system and method, and editing system and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5231484A (en) * 1991-11-08 1993-07-27 International Business Machines Corporation Motion video compression system with adaptive bit allocation and quantization
JP3364281B2 (en) * 1993-07-16 2003-01-08 パイオニア株式会社 Time-division video and audio signal synchronization
GB2280566B (en) * 1993-07-30 1997-06-11 Sony Uk Ltd Video data compression
JP3224465B2 (en) * 1993-12-22 2001-10-29 シャープ株式会社 Image coding device
JP3405034B2 (en) * 1995-12-27 2003-05-12 ソニー株式会社 Digital signal multiplexing method and apparatus, and digital signal recording medium
JP3402177B2 (en) * 1998-01-26 2003-04-28 ソニー株式会社 Digital signal multiplexing apparatus and method, digital signal transmission method, digital signal recording method, and recording medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020061180A1 (en) * 1994-06-20 2002-05-23 Masafumi Nakamura Transmitting and recording method, reproducing method, and reproducing apparatus of information and its recording medium
US6438172B1 (en) * 1994-06-20 2002-08-20 Hitachi, Ltd. Transmitting and recording method, reproducing method, and reproducing apparatus of information and its recording medium
US20030021348A1 (en) * 1994-06-20 2003-01-30 Masafumi Nakamura Transmitting and recording method, reproducing method, and reproducing apparatus of information and its recording medium
US20040126101A1 (en) * 1994-06-20 2004-07-01 Hitachi, Ltd. Transmitting and recording method, reproducing method, and reproducing apparatus of information and its recording medium
US5742569A (en) * 1996-03-22 1998-04-21 Pioneer Electronic Corporation Information record medium, apparatus for recording the same and apparatus for reproducing the same
US5991313A (en) * 1996-05-24 1999-11-23 Toko, Inc. Video transmission apparatus
US6285689B1 (en) * 1996-05-24 2001-09-04 Sony Corporation Method and apparatus for verifying multiplexing schedule of digital signals and apparatus for multiplexing digital signals
US6438317B1 (en) * 1997-09-25 2002-08-20 Sony Corporation Encoded stream generating apparatus and method, data transmission system and method, and editing system and method
US6167084A (en) * 1998-08-27 2000-12-26 Motorola, Inc. Dynamic bit allocation for statistical multiplexing of compressed and uncompressed digital video signals

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10448084B2 (en) 2002-07-17 2019-10-15 Avago Technologies International Sales Pte. Limited System, method, and apparatus for determining presentation time for picture without presentation time stamp
US20060133515A1 (en) * 2003-01-09 2006-06-22 Mpr Srinivas System, method, and apparatus for determining presentation time for picture without presentation time stamp
US20110064148A9 (en) * 2003-01-09 2011-03-17 Mpr Srinivas System, method, and apparatus for determining presentation time for picture without presentation time stamp
US9948977B2 (en) * 2003-01-09 2018-04-17 Avago Technologies General Ip (Singapore) Pte. Ltd. System, method, and apparatus for determining presentation time for picture without presentation time stamp
US20060178115A1 (en) * 2005-02-04 2006-08-10 Sap Aktiengesellschaft Data transmission over an in-use transmission medium
US7995722B2 (en) * 2005-02-04 2011-08-09 Sap Ag Data transmission over an in-use transmission medium
US20090207775A1 (en) * 2006-11-30 2009-08-20 Shuji Miyasaka Signal processing apparatus
US9153241B2 (en) * 2006-11-30 2015-10-06 Panasonic Intellectual Property Management Co., Ltd. Signal processing apparatus
US20080267284A1 (en) * 2007-03-28 2008-10-30 Hisayoshi Tsubaki Moving picture compression apparatus and method of controlling operation of same
US8681860B2 (en) * 2007-03-28 2014-03-25 Facebook, Inc. Moving picture compression apparatus and method of controlling operation of same
US9247201B2 (en) 2009-06-23 2016-01-26 Tencent Holdings Limited Methods and systems for realizing interaction between video input and virtual network scene

Also Published As

Publication number Publication date
EP1085765A3 (en) 2006-03-01
US6754276B1 (en) 2004-06-22
EP1085765A2 (en) 2001-03-21

Similar Documents

Publication Publication Date Title
US6754276B1 (en) System stream creating apparatus which adjusts system clock reference based on total number of pictures to be stored and decoded during certain time period
US7403567B2 (en) Decoding method and apparatus and recording method and apparatus for moving picture data
US7321718B2 (en) Method for generating additional information for guaranteeing seamless playback between data streams, recording medium storing the information, and recording editing and/or playback apparatus using the same
JP2003046949A (en) Data multiplexing method, data recording medium, data recording apparatus, and data recording program
KR100463944B1 (en) Recording device and recording method
JP2006507730A (en) Information storage medium on which stop video is recorded, reproducing apparatus and method thereof
US7457530B1 (en) Recording method, recording medium and recorder
JPH11298845A (en) Optical disk, optical disk recorder and optical disk player
JP3510783B2 (en) Moving image recording / reproducing method and moving image recording / reproducing apparatus
JP2003224826A (en) Moving picture recording and reproducing method, and moving picture recording and reproducing apparatus
JP4426800B2 (en) AV data recording / reproducing apparatus and method, and recording medium recorded by the AV data recording / reproducing apparatus or method
JP3986973B2 (en) AV data recording method, AV data recording apparatus, data recording medium, and program
US7447422B2 (en) Data recording device, data recording method, and recording control program
EP1577892A1 (en) Data processing device
JP4312783B2 (en) AV data reproducing method, AV data reproducing apparatus, program, and recording medium
EP1457990A1 (en) Audio/video information recording/reproducing apparatus and method, and recording medium in which information is recorded by using the audio/video information recording/reproducing apparatus and method
JP2001160946A (en) System stream generator, recorder system, system stream generating method and recording medium
JP2006521657A (en) Method, system and software for high speed archiving from HDD to optical disk drive
JP2003235011A (en) Program stream production apparatus and recording and reproducing apparatus employing the same
JP2002158968A (en) Video/audio signal reproducing device and its method and video/audio signal recording/reproducing device and its method
JP2003178528A (en) Recording method, recording medium and recording apparatus

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION