Receiving method and receiving device
By prioritizing video and then audio control information transmission, the method ensures concurrent decoding of audio and video during random access, addressing the delay issue in existing coded data transmission methods and reducing playback latency.
Patent Information
- Application Number
- JP2024133194
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2013-07-19
- Filing Date
- 2024-08-08
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2034-07-04
AI Technical Summary
Existing methods for transmitting coded audio and video data, such as those using MPEG-DASH or MMT, result in significant delays between data reception and playback due to the need to analyze segment headers during random access, especially when starting from the middle of a segment.
A method and device that prioritize transmitting video control information followed by audio control information and data, ensuring audio decoding can start concurrently with video decoding during random access, without subdividing audio segments, thereby reducing delay times.
This approach significantly reduces the delay from data reception to playback by allowing simultaneous audio and video decoding during random access, while minimizing overhead and eliminating the need for additional segment subdivision.
Smart Images

Figure 2024149727000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a transmitting method, a receiving method, a transmitting device, and a receiving device. [Background technology]
[0002] Currently, it is being considered to segment encoded data such as audio and video using formats such as MPEG-DASH (Dynamic Adaptive Streaming over HTTP) or MMT (MPEG Media Transport), divide the resulting segments into packets, and transmit the resulting packets via broadcasting or communications.
[0003] For example, Non-Patent Document 1 discloses a technique for transmitting encoded media data packet by packet in accordance with MMT. [Prior art documents] [Non-patent literature]
[0004] [Non-Patent Document 1] Information technology - High efficiency coding and media delivery in heterogeneous environment - Part1:MPEG media transport(MMT), ISO / IEC DIS 23008-1 Summary of the Invention [Problem to be solved by the invention]
[0005] In such a transmission method and a receiving method, it is desirable to reduce the delay time from when the data is received until when the video and audio are reproduced in the receiving device.
[0006] Therefore, an object of the present invention is to provide a transmission method or a reception method that can reduce the delay time from when data is received until when video and audio are reproduced in a receiving device. [Means for solving the problem]
[0007] In order to achieve the above-mentioned object, a receiving method according to one embodiment of the present invention includes a video control information receiving step of receiving video control information for playing video data in units that can be played individually, a video data receiving step of receiving the video data, an audio control information receiving step of receiving audio control information for playing audio data in a playback section corresponding to the playback section of the video data, and an audio data receiving step of receiving the audio data, wherein the audio data includes a plurality of audio samples, each of which can be played individually, the audio control information includes time information indicating a first playback start time, which is the playback start time of the first audio sample to be played among the plurality of audio samples, the audio data is divided into a plurality of packets, each of which includes one of the plurality of audio samples, and is included in a packet different from the audio control information, and each of the plurality of packets includes order information indicating the number of the packet among the plurality of packets, the video data is one of a plurality of video data obtained by dividing a video signal, and the audio data is one of a plurality of audio data obtained by dividing an audio signal.
[0008] Furthermore, these general or specific aspects may be realized by a system, a method, an integrated circuit, a computer program, or a recording medium such as a computer-readable CD-ROM, or may be realized by any combination of a system, a method, an integrated circuit, a computer program, and a recording medium. Effect of the Invention
[0009] As described above, the present invention can provide a transmission method or a reception method that can reduce the delay time from when data is received until when video and audio are reproduced in a receiving device. [Brief description of the drawings]
[0010] [Figure 1] FIG. 2 is a diagram showing an example of the structure of an MP4 file. [Diagram 2] FIG. 13 is a diagram illustrating an example of the configuration of MMT data. [Diagram 3] A diagram showing audio samples where decoding can start in MMT data. [Figure 4] FIG. 2 shows audio samples in MPEG-2 TS where decoding can start. [Diagram 5] FIG. 2 is a diagram showing an example of a configuration of transmission data according to the first embodiment. [Figure 6] FIG. 4 is a diagram showing a data transmission order according to the first embodiment. [Figure 7] 1 is a block diagram of a transmission device according to a first embodiment. [Figure 8] 4 is a flowchart of a transmission process according to the first embodiment. [Figure 9] 4 is a flowchart of a transmission process according to the first embodiment. [Figure 10] FIG. 11 is a diagram showing an example of a configuration of transmission data according to the second embodiment. [Figure 11] FIG. 11 is a block diagram of a transmitting device according to a second embodiment. [Figure 12] 11 is a flowchart of a transmission process according to the second embodiment. [Figure 13] FIG. 11 is a diagram showing an example of a configuration of transmission data according to the third embodiment. [Figure 14] FIG. 11 is a diagram showing an example of a configuration of transmission data according to the third embodiment. [Figure 15] FIG. 11 is a block diagram of a transmitting device according to a third embodiment. [Figure 16] 13 is a flowchart of a transmission process according to the third embodiment. [Figure 17] FIG. 11 is a block diagram of a receiving device according to a fourth embodiment. [Figure 18] 13 is a flowchart of a reception process according to the fourth embodiment. [Figure 19]FIG. 13 is a block diagram of a receiving device according to a fifth embodiment. [Figure 20] 13 is a flowchart of a reception process according to the fifth embodiment. [Figure 21] 13 is a flowchart of another example of the reception process according to the fifth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] (Findings on which the present invention is based) Each segment is composed of a header section and a storage section for encoded data. The receiving device separates access units (called samples in MP4-based formats such as DASH and MMT) from the encoded data. The receiving device also needs to analyze the header section to obtain the PTS (Presentation Time Stamp) and DTS (Decoding Time Stamp) of the access unit.
[0012] In conventional broadcasting, video and audio are packetized for each access unit and multiplexed into MPEG-2 TS (Transport Stream) for transmission. This allows a receiving device to separate access units and obtain PTS and DTS on a packet-by-packet basis.
[0013] On the other hand, when a segment is packetized and transmitted, such as in DASH and MMT, the receiving device needs to obtain the header of the segment even during random access. Therefore, when the receiving device starts receiving a signal from the middle of a segment, the receiving device cannot decode the access unit of the segment. Therefore, the receiving device can only decode from the next segment. Thus, the present inventor has found that there is a problem in random access that the delay time until the start of decoding increases.
[0014] Hereinafter, with reference to FIGS. 1 to 4, a description will be given of problems that arise during random access in a conventional method of packet multiplexing MPUs (Media Processing Units) that constitute an MMT.
[0015] First, a method for storing video and audio data in the conventional MP4 and an example of data storage in MMT, which is a transmission format based on MP4, will be described.
[0016] Fig. 1 is a diagram showing an example of data storage in MP4. As shown in Fig. 1, an MP4 file includes multiple MP4 fragments. Each MP4 fragment includes a pair of moof and mdat. The mdat includes multiple video samples and multiple audio samples that are alternately arranged.
[0017] Generally, MP4 fragments are used as random access points, and samples constituting a video random access unit (RAU) are stored in the fragment. Audio can be decoded from any sample, but samples corresponding to the playback section of the video random access unit are stored in the fragment.
[0018] For example, if the playback section of a video in a random access unit is one second from 10 seconds to 11 seconds, then the corresponding audio samples are stored for one second from 10 seconds to 11 seconds.
[0019] Depending on the frame rate of the video and the sampling frequency of the audio, the playback intervals of the two may not exactly match. In this case, for example, the audio sample having the PTS immediately before the PTS of the first sample of the video playback interval to the audio sample having the playback end time immediately before the playback end time of the last sample of the video playback interval is selected.
[0020] Fig. 2 is a diagram showing an example of data storage in an MPU in MMT. As in the case of Fig. 1, an MPU is generated so that the playback intervals of the video and audio MPUs are equal.
[0021] Decoding video and audio samples requires parsing the header (eg moof) of the MPU to which the sample belongs.
[0022] Fig. 3 is a diagram showing a problem in random access when MMT data as shown in Fig. 2 is multiplexed into MMT packets and transmitted. Fig. 3 shows the arrangement (transmission order) of video and audio data stored in MMT packets and transmitted. Here, for video, the RAU starts from video sample V4. In other words, video can be decoded from video sample V4.
[0023] In this example, the Nth audio MPU#N starts from audio sample A1, and MPU#N+1 starts from audio sample A10. Also, the audio sample having a PTS immediately following the PTS of video sample V4 is audio sample A2.
[0024] In this case, when the receiving device starts receiving from video sample V4, it cannot obtain the header of the audio MPU #N and therefore cannot decode audio samples A2, A3, etc. contained in that MPU #N. Therefore, the receiving device can decode audio from audio sample A10, which is the first sample of MPU #N+1.
[0025] On the other hand, in a conventional TS that uses MPEG-2 TS (Transport Stream) as a transmission format, a receiving device can decode from an audio access unit that starts immediately after a video random access point. For example, as shown in Figure 4, when data is received in the same order as in Figure 3, the receiving device can decode audio from audio sample A2.
[0026] As described above, when an MMT stream in which video and audio are multiplexed is transmitted via broadcasting or communication, there is a problem that there may be a long delay time between when a receiving device starts decoding from a random access point of the video and when it can start playing the audio.
[0027] Here, there is a restriction that video can only be played back in RAU units. Therefore, it is inevitable that there is a certain amount of delay time before the video is displayed for video data. On the other hand, even though audio can be played back from any sample, in the above case, a delay time occurs before playback can start. Thus, the present inventor has found that there is a problem in that even though a receiving device receives playable data, the receiving device cannot play back the data because it cannot receive control information for the data.
[0028] A transmission method according to one embodiment of the present invention includes a video control information transmission step of transmitting video control information for playing individually playable units of video data, a video data transmission step of transmitting the video data, an audio control information transmission step of determining a transmission order of audio control information for playing audio data of a playback section corresponding to the playback section of the video data after the video control information and transmitting the audio control information in the determined transmission order, and an audio data transmission step of transmitting the audio data.
[0029] According to this, the transmission method transmits audio control information of audio data after video control information of video data corresponding to the audio data. This allows the receiving device to start decoding audio at the time when it can start decoding video during random access. This reduces the delay time until the receiving device starts decoding audio data. In addition, overhead can be reduced because there is no need to subdivide audio segments.
[0030] For example, the audio data may include a plurality of audio samples each of which can be played back individually, and the audio control information may include time information indicating a playback start time for each of the plurality of audio samples.
[0031] For example, the playback section of the audio data may be substantially equal to the playback section of the video data.
[0032] For example, in the audio data transmission step, the audio data may be divided into a plurality of packets, each of which contains one of the plurality of audio samples, and then transmitted, and each of the plurality of packets may contain sequence information indicating the number of the packet among the plurality of packets.
[0033] According to this, even if the receiving device cannot receive the audio control information, the receiving device can calculate the playback start time of each audio sample and play the audio sample using the calculated playback start time, thereby reducing the delay time until the receiving device starts decoding the audio data.
[0034] For example, the video data may be one of a plurality of video data obtained by dividing a video signal, the audio data may be one of a plurality of audio data obtained by dividing an audio signal, and the playback time of the audio data may be shorter than the playback time of the video data.
[0035] This reduces the delay time until the receiving device starts decoding the audio data.
[0036] For example, the plurality of audio data may include a plurality of audio data whose playback start times are substantially the same as the playback start times of each of the plurality of video data.
[0037] A receiving method according to an aspect of the present invention receives the video control information, the video data, the audio control information, and the audio data transmitted by the transmitting method.
[0038] This allows the receiving device to start decoding audio at the same time that it can start decoding video during random access, thereby reducing the delay time until the receiving device starts decoding audio data.
[0039] In addition, a receiving method according to one embodiment of the present invention is a receiving method for receiving the video control information, the video data, the audio control information, and the audio data transmitted by the transmitting method, and includes a playback start time acquisition step for acquiring a first playback start time, which is the playback start time of the audio sample that is first played among the plurality of audio samples, a playback time acquisition step for acquiring the playback time of each of the plurality of audio samples, and a determination step for determining the playback start time of the audio sample included in the packet to be processed using the first playback start time, the playback time, and the order information included in the packet to be processed.
[0040] According to this, even if the receiving device cannot receive the audio control information, the receiving device can calculate the playback start time of each audio sample and play the audio sample using the calculated playback start time, thereby reducing the delay time until the receiving device starts decoding the audio data.
[0041] In addition, a transmitting device according to one embodiment of the present invention includes a video control information transmitting unit that transmits video control information for playing video data in units that can be played individually, a video data transmitting unit that transmits the video data, an audio control information transmitting unit that determines the transmission order of audio control information for playing audio data in a playback section corresponding to the playback section of the video data after the video control information and transmits the audio control information in the determined transmission order, and an audio data transmitting unit that transmits the audio data.
[0042] According to this, the transmitting device transmits the audio control information of the audio data after the video control information of the video data corresponding to the audio data. This allows the receiving device to start decoding the audio at the time when it can start decoding the video during random access. This reduces the delay time until the receiving device starts decoding the audio data. In addition, overhead can be reduced because there is no need to subdivide the audio segments.
[0043] Moreover, a receiving device according to an aspect of the present invention receives the video control information, the video data, the audio control information, and the audio data transmitted by the transmitting device.
[0044] This allows the receiving device to start decoding audio at the same time that it is able to start decoding video during random access, thereby reducing the delay time until the receiving device starts decoding audio data.
[0045] These comprehensive or specific aspects may be realized as a system, a method, an integrated circuit, a computer program, or a recording medium such as a computer-readable CD-ROM, or may be realized as any combination of a system, a method, an integrated circuit, a computer program, and a recording medium.
[0046] Hereinafter, the embodiment will be specifically described with reference to the drawings.
[0047] Note that the embodiments described below each show a specific example of the present invention. The numerical values, shapes, materials, components, the arrangement and connection of the components, steps, and the order of steps shown in the following embodiments are merely examples and are not intended to limit the present invention. Furthermore, among the components in the following embodiments, components that are not described in an independent claim showing a superordinate concept are described as optional components.
[0048] (Embodiment 1) A transmission method and a transmission device according to the present embodiment are described below. The transmission method according to the present embodiment transmits an MMT packet storing the MPU header of an audio MPU having the same playback section as the video MPU after an MMT packet storing the MPU header of the video MPU.
[0049] This allows the receiving device to start decoding audio at the same time that it can start decoding video during random access, thereby reducing the delay time until the receiving device starts decoding audio. In addition, since audio segments are not subdivided, overhead can also be reduced.
[0050] First, the data structure in the transmission method according to the present embodiment will be described.
[0051] Fig. 5 is a diagram showing the configuration of an MPU according to this embodiment. As shown in Fig. 5, MMT data includes a plurality of video MPUs (V_MPUs) and a plurality of audio MPUs (A_MPUs).
[0052] Each MPU (video MPU and audio MPU) includes an MPU header and an MPU payload. The MPU header includes MPU metadata (ftyp, mmpu, moov, etc.) and FRG metadata (headers for each movie fragment, such as moof and mdat). The MPU header also includes information indicating at least one of the PTS and DTS of each of the multiple samples included in the MPU metadata.
[0053] In the following, the MPU header of a video MPU is referred to as the video MPU header, the MPU payload of a video MPU is referred to as the video MPU payload, the MPU header of an audio MPU is referred to as the audio MPU header, and the MPU payload of an audio MPU is referred to as the audio MPU payload.
[0054] For example, each of the multiple audio MPUs corresponds to one of the multiple video MPUs. In Fig. 5, the corresponding video MPU and audio MPU are represented as V_MPU#n (n is a natural number) and A_MPU#n. Furthermore, the corresponding audio MPU and video MPU have, for example, the same playback section.
[0055] Depending on the video frame rate or audio sampling frequency, the playback intervals of both may not strictly match. In this case, for example, an audio MPU corresponding to a video MPU is selected from an audio sample having a PTS immediately before the PTS of the first sample of the playback interval of the video MPU to an audio sample having a playback end time immediately before the playback end time of the last sample of the playback interval of the video MPU. Alternatively, an audio MPU corresponding to a video MPU may be selected from a sample having a PTS immediately after the PTS of the first sample of the playback interval of the video MPU to a sample having a playback end time immediately after the playback end time of the last sample of the playback interval of the video MPU.
[0056] That is, the corresponding video MPU and audio MPU have substantially the same playback period. In other words, the corresponding video MPU and audio MPU have at least a part of their playback periods that overlap.
[0057] FIG. 6 is a diagram showing an example of the transmission order (multiplexing order) of MTT packets in this embodiment.
[0058] The video MPU payload includes multiple video samples (access units) V1 to V8. The video MPU is divided into multiple MMT packets (hereinafter also referred to as video MMT packets). The multiple video MMT packets include a packet (V_MPU(n)_H) in which a video MPU header is stored, and multiple packets (V_MPU(n)_P) in which multiple video samples included in the video MPU payload are stored. Multiple video samples (V1 to V8) are divided and stored in the multiple packets (V_MPU(n)_P).
[0059] The audio MPU payload includes multiple audio samples (access units) A1 to A10. The audio MPU is divided into multiple MMT packets (hereinafter also referred to as audio MMT packets). The multiple audio MMT packets include a packet (A_MPU(n)_H) in which an audio MPU header is stored, and multiple packets (A_MPU(n)_P) in which multiple audio samples included in the audio MPU payload are stored. The multiple packets (A_MPU(n)_P) store the multiple audio samples (A1 to A10) after being divided.
[0060] In this embodiment, as shown in Figure 6, an MMT packet V_MPU(n)_H storing the MPU header of the audio MPU corresponding to the video MPU is transmitted after an MMT packet V_MPU(n)_H storing the MPU header of the video MPU.
[0061] This allows the receiving device to start decoding audio at the same time that it can start decoding video during random access, thereby reducing the delay time until the receiving device starts decoding audio. In addition, since audio segments are not subdivided, overhead can also be reduced.
[0062] Here, in video coding, the code amount of the first access unit (sample in MP4) of an RAU is generally larger than that of the subsequent access units. On the other hand, for audio, the variation in the code amount of the access unit is smaller than that of video. For this reason, particularly when a packet sequence in which audio and video coding data are multiplexed is transmitted at a fixed rate, the transmission of the first access unit of the video RAU is started at an early time to ensure that all data of the access unit has been received by the decoding time. Therefore, even if a system decoder model such as STD (System Target Decoder) is specified in MMT as in MPEG-2 TS (Transport Stream), it is possible to transmit an MMT packet storing the nth audio MPU header after an MMT packet storing the nth video MPU header and satisfy the system decoder model.
[0063] The configuration and operation of the transmitting device according to this embodiment will be described below.
[0064] Fig. 7 is a block diagram of a transmitting device 100 according to this embodiment. The transmitting device 100 shown in Fig. 7 includes an MPU generation unit 101 and a packet multiplexing unit 102. The packet multiplexing unit 102 includes a video header determination unit 111, an audio header determination unit 112, and a multiplexing unit 113.
[0065] FIG. 8 is a flowchart of the transmission process (multiplexing process) according to the present embodiment.
[0066] The MPU generation unit 101 divides the input video and audio signals to generate a plurality of video MPUs and a plurality of audio MPUs.
[0067] Next, the packet multiplexing unit 102 multiplexes the video MPU and audio MPU.
[0068] Specifically, first, video header determination unit 111 determines whether the transmission order (VH_LOC) of the MMT packet storing the MPU header of V_MPU(n), which is the n-th video MPU, has been determined (S101).
[0069] If VH_LOC has been determined (Yes in S101), the audio header determination unit 112 determines the transmission order so that the MMT packet storing the MPU header of A_MPU(n), which is the nth audio MPU, is transmitted after VH__LOC (S102).
[0070] Next, multiplexing unit 113 stores the audio MPU and video MPU data in MMT packets and multiplexes the packets to generate a transmission stream (S103). At this time, multiplexing unit 113 transmits the MMT packets in which the audio MPU header is stored according to the transmission order determined in step S102. In other words, multiplexing unit 113 transmits the MMT packet that stores the MPU header of A_MPU(n), which is the nth audio MPU, after the MMT packet that stores the MPU header of V_MPU(n), which is the nth video MPU.
[0071] On the other hand, if VH_LOC has not been determined (No in S101), the multiplexer 113 stores the data of the audio MPU and the video MPU in MMT packets, and multiplexes the packets to generate a transmission stream (S103).
[0072] Furthermore, the above series of processes is repeated until all MMT packets are transmitted (S104).
[0073] Note that, here, transmitting device 100 determines the transmission order of the MMT packet of the audio MPU header so that the transmission order is later than the MMT packet of the video MPU header, based on the MMT packet of the video MPU header, but the transmission order of the MMT packet of the video MPU header may be determined so that the transmission order is earlier than the MMT packet of the audio MPU header, based on the MMT packet of the audio MPU header.In other words, multiplexing unit 113 may transmit an MMT packet that stores the MPU header of V_MPU(n), the nth video MPU, before an MMT packet that stores the MPU header of A_MPU(n), the nth audio MPU.
[0074] In the above description, the transmitting device 100 multiplexes the MPU header and MPU payload included in each MPU into a single stream and transmits the multiplexed stream, but the MPU header (or part of the information included in the MPU header) may be transmitted as a signal separate from the stream in which the MPU payload is multiplexed. Even in this case, the transmitting device 100 transmits the audio MPU header after the video MPU header corresponding to the audio MPU header in the separate signal.
[0075] Furthermore, even when transmitting only the MPU payload without transmitting the MPU header, the transmitting device 100 may align the playback sections of the audio MPU and the video MPU. In this way, the index numbers of the video MPU and the audio MPU that are played back in synchronization are the same. In the transmission of MMT, the absolute values of the PTS and DTS for each MPU are provided to the receiving device. Therefore, since the index numbers of the video MPU and the audio MPU that are played back in synchronization are the same, the amount of processing in the receiving device for searching for an audio access unit having a PTS corresponding to the PTS of the video access unit that starts playback can be reduced.
[0076] As described above, the transmitting device 100 according to the present embodiment performs the process shown in FIG.
[0077] First, the transmitting device 100 transmits video control information (video MPU header) for playing back video data (video MPU) in units (RAU units) that can be played back individually (S121).
[0078] Next, the transmission device 100 transmits the video data (video MPU) in the individually playable units (RAU units) (S122).
[0079] Next, the transmitting device 100 transmits the audio control information (audio MPU header) for reproducing the audio data (audio MPU) of the playback section corresponding to the playback section of the video data after transmitting the video control information (S123). That is, the transmitting device 100 determines the transmission order of the audio control information (audio MPU header) for reproducing the audio data (audio MPU) of the playback section corresponding to the playback section of the video data to be after the video control information, and transmits the audio control information in the determined transmission order. In other words, the transmitting device 100 determines the transmission order of the audio control information so that the transmission order of the audio control information is not before the video control information, and transmits the audio control information in the determined transmission order. Thereby, the audio control information is always transmitted after the video control information. In other words, the transmitting device 100 prohibits the audio control information from being transmitted before the video control information.
[0080] Next, the transmitting device 100 transmits the audio data (S124).
[0081] For example, the audio data includes a plurality of audio samples each of which can be played back individually. The audio control information includes time information (PTS) indicating the playback start time of each of the plurality of audio samples. The playback section of the audio data is approximately equal to the playback section of the video data.
[0082] As described above, when transmitting segments by packet multiplexing, the transmitting device 100 according to this embodiment transmits the header of an audio segment (MPU) after the header of a video segment whose first PTS matches that of the audio segment. This allows the receiving device to start decoding audio at the time when video decoding can be started during random access. This reduces the delay time from the start of video decoding to the start of audio decoding. In addition, since there is no need to subdivide audio segments, overhead can also be reduced.
[0083] (Embodiment 2) In this embodiment, the transmitting device generates a stream that enables the receiving device to determine the PTS of the audio sample based on information included in the audio sample data, etc. This allows the receiving device to play the audio sample even if the audio MPU header cannot be obtained.
[0084] For example, by using the method of this embodiment, even in the case shown in FIG. 3, the receiving device can start decoding from audio sample A2.
[0085] FIG. 10 is a diagram showing the configuration of an audio MPU according to the present embodiment.
[0086] 10, one audio sample (any of A1 to A8) is stored in each of a plurality of MMT packets (A_MPU(n)_P1 to AMPU(n)_P8) that store audio samples. In other words, a plurality of MMT packets correspond one-to-one to a plurality of audio samples.
[0087] Each MMT packet includes a header and a payload in which audio sample data is stored. The header includes a fragment SN. The fragment SN is an index number of a unit (fragment) into which the MPU is divided. In other words, the fragment SN indicates the number of the fragment (packet) in the MPU. In this embodiment, one audio sample is stored in one fragment (packet), so the fragment SN indicates the decoding order of the audio samples included in the fragment in the MPU.
[0088] Note that MMT packets that store audio samples do not include an MPU header.
[0089] Furthermore, the PTS (Presentation Time Stamp) of the first sample in the audio MPU that starts decoding is separately transmitted to the receiving device by an MMT message or the like.
[0090] For example, when decoding is started after tuning to a broadcast channel, the PTS of the first sample of the MPU transmitted within a certain period after tuning is indicated in a PA message of the MMT acquired at the time of tuning.
[0091] The sample data also includes information indicating a sampling frequency. For example, in the ADTS (Audio Data Transport Stream) format of AAC in MPEG-2 and MPEG-4, the ADTS header includes information indicating the sampling frequency and channel configuration.
[0092] Also, when storing ADTS and LATM (Low-overhead MPEG-4 Audio Transport Multiplex) of AAC in MP4, header information such as an ADTS header may be deleted from the sample data, and the header information may be stored in the stsd of the moov. In this case, information indicating whether the AAC sample data includes header information may be stored in the brand of the MP4 file or a separately defined box, or the like, or whether the AAC sample data includes header information may be determined in advance in operational regulations for broadcasting, etc. Alternatively, information indicating whether the sample data includes header information may be included in the SI information of MMT, etc. Also, when the multiplexing method is MMT, it may be indicated that the header information is included in the sample data by specifying ADTS or LATM as the type of stream. When the header information is included in the sample data, the receiving device can decode and play the audio based on the header information even when the MPU header is not transmitted or the MPU header cannot be acquired.
[0093] If the header information is not included in the sample data, the receiving device must obtain the playback time of the sample in advance. If the header information is not included in the sample data, the receiving device may start decoding from an MPU from which the MPU header can be obtained without using the method described below.
[0094] The receiving device calculates the PTS of the audio sample using the PTS of the first sample of the MPU, the playback time of one audio sample, and the fragment SN.
[0095] Specifically, the receiving device determines the PTS of a given audio sample using the following (Equation 1).
[0096] sample(i).pts=MPU(n).pts+(num_spl / sampling_rate)*frg_sn ···(Formula 1)
[0097] Here, sample(i).pts is the PTS of the i-th sample in the n-th MPU, and MPU(n).pts is the PTS of the first sample in display order in the n-th MPU.
[0098] num_spl is the number of samples contained in an audio frame. Note that the samples in this case are different from those in MP4. In the case of MPEG-2 or MPEG-4 AAC (Advanced Audio Coding), the number of samples per frame is 1024.
[0099] sampling_rate is the sampling frequency of the audio, and frg_sn is the fragment SN.
[0100] That is, the receiving device calculates the playback time of one audio sample by dividing the number of samples included in an audio frame by the sampling frequency. The receiving device calculates the PTS of an audio sample by adding the product of the playback time of one audio sample and the fragment SN (the index number of the sample in the MPU) to the PTS of the first sample in the MPU.
[0101] In addition, if the playback time of the audio sample can be obtained by a method other than the above, the receiving device may use the other method.
[0102] For example, if the playback time of a sample is constant, such as if the audio sampling frequency is constant, the receiving device may determine the PTS of the audio sample based on the playback time obtained in advance.
[0103] Also, information indicating the sampling frequency or the playback time of the samples may be transmitted by an MMT message, etc. Also, when an MMT packet is stored in a TS packet and transmitted directly or after multiplexing with an IP packet, information indicating the sampling frequency or the playback time of the samples may be transmitted by a descriptor of the MPEG-2 system, etc.
[0104] This method can also be applied to video if the frame rate is known or can be obtained separately by an MMT message or the like.
[0105] In addition, in MPEG-4 AVC (Advanced Video Coding) and MPEG HEVC (High Efficiency Video Coding), the sample data must include initialization information for decoding such as SPS (Sequence Parameter Set) and PPS (Picture Parameter Set). Whether the SPS and PPS are included in the sample can be identified by the MP4 brand name or the type of sample entry, so this information may be transmitted separately.
[0106] As a result, even if the receiving device cannot receive the audio MPU header, it can obtain the PTS of any audio sample in the MPU. This reduces the delay until audio is played back without imposing restrictions on the transmission order of the video MPU header and the audio MPU header.
[0107] The configuration and operation of the transmitting device according to this embodiment will be described below.
[0108] 11 is a block diagram of transmitting device 200 according to this embodiment. Transmitting device 200 shown in FIG. 11 includes a video MPU generation unit 201, an audio MPU generation unit 202, an audio packetization unit 203, and a video packetization unit 204.
[0109] FIG. 12 is a flowchart of the transmission process (multiplexing process) according to the present embodiment.
[0110] First, the video MPU generation unit 201 determines the playback section of V_MPU(n), which is the nth video MPU (S201). The video packetization unit 204 packetizes the determined V_MPU(n) into a plurality of MMT packets. At this time, the video packetization unit 204 generates V_MPU(n) so that the first sample of the V_MPU(n) becomes a random access point. In other words, V_MPU(n) is composed of one or more video random access units.
[0111] Next, the audio MPU generation unit 202 determines the playback section of A_MPU(n), which is the n-th audio MPU, so that the playback section coincides with the playback section of V_MPU(n) (S202).
[0112] Next, the audio packetizer 203 generates a plurality of MMT packets such that each sample included in the A_MPU(n) determined in step S202 is stored in one MMT packet (S203).
[0113] Then, transmitting device 200 multiplexes the audio MMT packets generated by audio packetization unit 203 and the video MMT packets generated by video packetization unit 204, and transmits the multiplexed packets.
[0114] In the above description, the playback intervals of V_MPU(n) and A_MPU(n) match, but the playback intervals of V_MPU(n) and A_MPU(n) may be different. In this embodiment, even if the receiving device receives an audio MPU halfway through, it can start decoding from the sample obtained immediately after reception, so the playback intervals of V_MPU(n) and A_MPU(n) do not necessarily need to match.
[0115] As described above, when transmitting an audio segment by packet multiplexing, the transmitting device 200 according to the present embodiment stores the header and data storage of the segment in separate packets, and further packetizes the data storage for each access unit. In addition, the transmitting device 200 transmits the packet by storing an index number indicating the decoding order of the access unit in the segment in the header of the packet storing the access unit. This allows the receiving device to calculate the PTS of the access unit. Therefore, the delay time until the receiving device starts decoding is reduced without restricting the packet multiplexing operation of the segment.
[0116] That is, the transmitting device 200 divides the voice data (audio MPU) into a plurality of packets (MMT packets) each including one of a plurality of voice samples (audio samples) and transmits the divided packets. Each of the plurality of packets includes sequence information (fragment SN) indicating the ordinal number of the packet among the plurality of packets.
[0117] (Embodiment 3) In this embodiment, the playback time of the audio MPU is set shorter than the playback time of the video MPU without aligning the playback sections of the video MPU and the audio MPU. This increases the frequency of transmission of the audio MPU, thereby improving random accessibility.
[0118] Assuming random access in MPU units, for video, the RAU in the encoded data is the smallest unit of the MPU. On the other hand, for audio, since decoding is possible from any sample (access unit), the number of samples that make up the MPU can be freely set.
[0119] For example, the playback time of a video RAU is generally about 0.5 to 1 second, taking into account the balance between coding efficiency and random accessibility. The playback time of a video MPU also follows the playback time of a RAU.
[0120] On the other hand, for audio, it is possible to set the MPU playback time to around 0.1 seconds. For example, if the audio MPU playback time is set to 0.1 seconds, audio playback can start no later than 0.1 seconds after video playback has started. In this way, by setting the audio MPU playback time to a short time, it is possible to reduce the delay between when video playback starts and when audio playback can begin.
[0121] Fig. 13 is a diagram showing an example of a video MPU and an audio MPU according to this embodiment. As shown in Fig. 13, the playback time of each of the multiple audio MPUs is set to be shorter than the playback time of each of the multiple video MPUs.
[0122] Furthermore, the playback sections of a plurality of audio MPUs may be set so that the first PTS of one of the audio MPUs corresponds to the first PTS of the video MPU. Fig. 14 is a diagram showing an example of a video MPU and an audio MPU in this case.
[0123] For example, when the playback section of the audio MPU is set as shown in Fig. 13, there is no audio MPU that has the same start PTS as the start PTS of video MPU (1). Thus, in the example shown in Fig. 13, it is not guaranteed that the start PTS of any audio MPU corresponds to the start PTS of the video MPU.
[0124] On the other hand, when the playback section of an audio MPU is set as shown in Fig. 14, an audio MPU always exists whose first PTS is the same as the first PTS of each video MPU. In other words, it is guaranteed that the first PTS of any audio MPU corresponds to the first PTS of a video MPU.
[0125] Also, if the playback time of the video RAU is constant, the transmitting device can determine the playback time of the audio MPU by acquiring the playback time of the video MPU prior to starting the MPU generation process. On the other hand, if the frame rate of the video material is switched or the encoding conditions are changed, and the playback time of the video RAU becomes variable, the transmitting device determines the playback time of the audio MPU while acquiring the playback time of each video MPU.
[0126] The configuration and operation of the transmitting device according to this embodiment will be described below.
[0127] 15 is a block diagram of a transmitting device 300 according to the present embodiment. The transmitting device 300 shown in FIG. 15 includes a video MPU generation unit 301, a section determination unit 302, a first determination unit 303, a second determination unit 304, a start determination unit 305, and an MPU generation unit 306.
[0128] FIG. 16 is a flowchart of the transmission process (multiplexing process) according to this embodiment.
[0129] First, as an initial setting, the transmission device 300 selects the first MPU by setting n to 0 (S301).
[0130] Next, the video MPU generation unit 301 determines the playback section of the first video MPU (V_MPU(0)) based on the RAU of the video (S302). Here, a video MPU is made up of one or more RAUs.
[0131] Next, the start determining unit 305 determines the start sample of A_MPU(0) so that the PTS of the start samples of V_MPU(0) and the start audio MPU (A_MPU(0)) are equal (S303).
[0132] Next, the section determination unit 302 determines whether the MPU (A_MPU) of the audio to be processed is the final MPU in the playback section of V_MPU(n) (S304).
[0133] If A_MPU is the final MPU (Yes in S304), the first determination unit 303 determines the final sample of A_MPU so that the playback end time of the final sample of A_MPU is equal to the playback end time of V_MPU(n) and the playback time of A_MPU is less than or equal to a threshold value (S305).
[0134] On the other hand, if A_MPU is not the final MPU (No in S304), the second determination unit 304 determines the final sample of A_MPU so that the playback time of A_MPU is equal to or less than the threshold (S306).
[0135] Here, the threshold used in steps S305 and S306 is set based on the tolerable delay time from the start of playback of a video random access point until audio playback can begin. However, as the MPU playback time becomes shorter, the proportion of the MPU header in the transmitted data increases. In particular, audio has a lower bit rate than video. Also, the MPU header has a large fixed portion that does not depend on the number of samples stored in the MPU. Therefore, it is important to reduce the overhead of the MPU header. Therefore, for example, the MPU playback time is determined based on both the delay time and the overhead of the MPU header.
[0136] In addition, the number of audio samples that can be stored in one MPU depends on the playback time of one sample, which in turn depends on the sampling frequency, etc.
[0137] After step S305 or S306, the MPU generation unit 306 generates an audio MPU(n) based on the first sample of the audio MPU determined in step S303 and the last sample of the audio MPU determined in step S305 or S306.
[0138] Next, the transmitting device 300 increments n by 1 to select the next MPU (S307), and repeats the processes of steps S304 to S307 until the playback sections of all MPUs have been determined (S308).
[0139] Note that the first sample in an MPU after the first MPU is set to the sample immediately following the final sample in the immediately preceding MPU.
[0140] Furthermore, the transmitting device 300 may separate MPUs when switching between sampling frequencies or channel configurations (monaural, stereo, 5.1 channels, etc.). This allows the audio encoding conditions to be constant for the same MPU. As a result, the receiving device only needs to deal with switching between encoding conditions on an MPU-by-MPU basis during playback, making it easy to achieve seamless playback at the time of switching. For example, the receiving device can deal with switching in advance by pre-reading the encoding conditions (parameters) stored in the header or first sample of the next MPU during playback.
[0141] Also, as shown in Figs. 13 and 14, it may or may not be guaranteed that the first PTS of any audio MPU corresponds to the first PTS of a video MPU.
[0142] From the above, the transmitting device 300 according to this embodiment generates a video segment (MPU) so that its beginning becomes a random access point, and generates an audio segment so that its playback time is equal to or shorter than a predetermined value. In addition, the transmitting device 300 sets the playback time of the audio segment to be shorter than that of the video segment. This increases overhead related to the audio segment, but makes it possible to eliminate the need for PTS calculation processing in the receiving device. In addition, the delay time until the receiving device starts decoding is reduced.
[0143] That is, the video data (video MPU) is one of a plurality of video data obtained by dividing a video signal. The audio data (audio MPU) is one of a plurality of audio data obtained by dividing an audio signal. As shown in Fig. 13, the playback time of the audio data (audio MPU) is shorter than the playback time of the video data (video MPU).
[0144] Also, as shown in FIG. 14, the multiple pieces of audio data (audio MPU) may include multiple pieces of audio data with playback start times (PTS) approximately equal to the playback start times (PTS) of the multiple pieces of video data (video MPU).
[0145] (Embodiment 4) In this embodiment, a receiving device that receives data transmitted by transmitting device 100 according to above-mentioned embodiment 1 and reproduces the data will be described.
[0146] 17 is a block diagram of receiving apparatus 400 according to this embodiment. Receiving apparatus 400 shown in FIG.
[0147] Fig. 18 is a flowchart of a receiving process according to this embodiment. The flowchart shown in Fig. 18 illustrates an example of an operation for determining an audio sample at which decoding starts during random access.
[0148] First, the video MPU determination unit 401 determines a video MPU (V_MPU) that starts playback (S401). For example, the header of an MMT packet includes identification information indicating whether the payload includes an MPU header or sample data. Furthermore, the packet ID (corresponding to the PID of a TS packet) allows the receiving device 400 to identify whether the data stored in the payload is a video or audio asset. Therefore, after starting to receive a packet having a packet ID corresponding to a video asset in broadcasting or communication, the video MPU determination unit 401 determines the MPU that first acquires an MPU header as the V_MPU.
[0149] Next, the audio MPU determination unit 402 searches for an audio MPU having the same leading PTS as the PTS (leading PTS) of the first sample in display order in the V_MPU, from among the MPUs that have received an MPU header after the V_MPU, and determines the audio MPU obtained by the search as the audio MPU (A_MPU) from which playback will start (S402). Here, the PTS being the same is not limited to the PTS being completely the same, and as described in the first embodiment, it is sufficient that the PTSs are approximately the same.
[0150] Furthermore, the first PTS of the audio and video MPUs is separately indicated by an MMT message or a descriptor of the MPEG-2 system when MMT packets are multiplexed by TS, and so the audio MPU determination unit 402 can search for an audio MPU having the first PTS of a V_MPU based on this separately indicated information. Note that information indicating the first PTS of an MPU is included in an MPU header, and the audio MPU determination unit 402 may use this information to search for an audio MPU having the first PTS of a V_MPU.
[0151] Next, the sample determination unit 403 determines to start playback from the first sample of A_MPU (S403).
[0152] In step S403, since it is guaranteed that the playback sections of the video MPU and the audio MPU are aligned, the sample determination unit 403 can determine to start playback from the first sample of A_MPU. On the other hand, if it is not guaranteed that the playback sections of the video MPU and the audio MPU are aligned, the receiving device 400 may perform the following process.
[0153] First, the receiving device 400 acquires the first PTS (V_MPU.pts) of the V_MPU.
[0154] Next, the receiving device 400 obtains the first PTS of the audio MPU obtained first after V_MPU, and analyzes the MPU header to obtain the playback time of the audio MPU. The receiving device 400 then determines whether the audio MPU contains an audio sample having the same PTS as V_MPU.pts. Note that the PTS do not necessarily have to match, and the receiving device 400 may determine whether the audio MPU contains an audio sample having a PTS immediately before or immediately after V_MPU.pts.
[0155] Furthermore, when the playback time of the audio MPU is separately indicated like the first PTS of the MPU, the receiving device 400 does not analyze the MPU header, but obtains the playback time of the audio MPU from the separately indicated information.
[0156] If it is determined that there is no audio sample having the same PTS as V_MPU.pts, the receiving device 400 acquires the next audio MPU and performs the above-mentioned determination process. Then, the receiving device 400 repeats the determination process sequentially for the subsequent audio MPUs until it is determined that there is an audio sample having the same PTS as V_MPU.pts.
[0157] Note that the receiving device 400 may start playing video from the first sample of V_MPU, and start playing audio from the MPU immediately following A_MPU. Here, when the decoding order and the display order of video are different, the receiving device 400 starts decoding from the first sample in the decoding order, and starts playing (displaying) from the first sample in the display order.
[0158] Also, audio playback may start from A_MPU prior to the start of video V_MPU playback, and video playback may start from the time of V_MPU.pts.
[0159] From the above, the receiving device 400 according to the present embodiment decides to start decoding from the video segment whose header is received first after starting reception, and starts decoding from the audio segment whose head PTS matches the head PTS of the video segment from which decoding starts. This allows the receiving device 400 to reduce the delay time until decoding starts.
[0160] Also, although the case of receiving a signal transmitted by transmitting apparatus 100 relating to embodiment 1 has been described here, a similar method can also be applied to the case of receiving a signal transmitted by transmitting apparatus 300 relating to embodiment 3.
[0161] That is, the receiving device 400 decides to start decoding from the video segment whose header is received first after the start of reception. Also, the receiving device 400 starts decoding from the audio segment whose head PTS is the same as or later than the PTS of the video segment whose decoding is started and which is received first. This allows the receiving device 400 to reduce the delay time until the start of decoding.
[0162] In this way, the receiving device 400 can receive video control information (video MPU header), video data (video MPU), audio control information (audio MPU header) and audio data (audio MPU) transmitted by the transmitting device 100 or 300 relating to embodiment 1 or 3, and play back the video data and audio data.
[0163] (Embodiment 5) In this embodiment, a receiving device that receives data transmitted by transmitting device 200 according to above-mentioned embodiment 2 and reproduces the data will be described.
[0164] 19 is a block diagram of receiving apparatus 500 according to the present embodiment. Receiving apparatus 500 shown in FIG. 19 includes a start PTS determination section 501, a judgment section 502, a first PTS calculation section 503, a second PTS calculation section 504, and a sample acquisition section 505.
[0165] Fig. 20 is a flowchart of a receiving process according to this embodiment. The flowchart shown in Fig. 20 shows an example of an operation for obtaining an audio sample from which decoding starts and determining a PTS.
[0166] First, the start PTS determination unit 501 determines the PTS (tgt_pts) of the audio sample from which decoding starts (S501). An audio sample whose PTS is tgt_pts is denoted as tgt_spl. tgt_pts is, for example, the first PTS of the video MPU from which playback starts. This is because the random access point of the video is generally used as a reference when starting reception after selecting a broadcast channel or when acquiring content via a communication network.
[0167] Next, the determination unit 502 determines whether the MPU header of the MPU (mpu_cur) to which tgt_spl belongs has been acquired (S502). For example, the determination unit 502 determines the MPU (mpu_cur) including a sample whose PTS is tgt_pts based on the first PTS of each MPU acquired separately from an MMT message or the like. Note that information indicating the first PTS of the MPU may be included in the MPU header, and the determination unit 502 may determine the MPU (mpu_cur) including a sample whose PTS is tgt_pts based on the information. Alternatively, the determination unit 502 may separately download information related to the assets constituting the MMT package, and determine the MPU (mpu_cur) including a sample whose PTS is tgt_pts based on the information.
[0168] When the MPU header of the MPU (mpu_cur) has been acquired (Yes in S502), the first PTS calculation unit 503 analyzes the MPU header and acquires the index number of tgt_spl in mpu_cur (S503). Here, the PTS of the sample included in the MPU can be determined based on information indicating the DTS and PTS of the sample included in trun in moof. Since the PTS obtained by analyzing moof is a difference value from the first PTS of the MPU, the first PTS calculation unit 503 adds the first PTS of the MPU to the obtained PTS to calculate the actual PTS. Then, the first PTS calculation unit 503 determines the sample whose calculated PTS is the same as tgt_pts as tgt_spl. Note that, when there is no sample whose PTS is the same as tgt_pts, the first PTS calculation unit 503 determines the sample whose PST is immediately before or after tgt_pts as tgt_spl.
[0169] Next, the first PTS calculation unit 503 obtains an index number (fragment SN) indicating the ordinal number of the sample in the MPU in decoding order of tgt_spl. Note that if the MPU is made up of multiple movie fragments, the fragment SN is a serial number starting from the first sample of the first movie fragment.
[0170] On the other hand, if the MPU header of the MPU (mpu_cur) cannot be obtained (No in S502), the second PTS calculation unit 504 calculates the PTS of the sample based on the playback time per sample and other factors using the above (Equation 1), and obtains the index number of tgt_spl in mpu_cur (S504). If the PTS of the sample can be obtained by a method other than the method using (Equation 1), the second PTS calculation unit 504 may use that method. The method of calculating the PTS is described in detail in the above-mentioned second embodiment.
[0171] After step S503 or S504, sample acquisition unit 505 acquires a packet in which the MPU sequence number in the header of the MMT packet matches the sequence number of mpu_cur and the fragment SN is equal to the index number obtained in step S503 or S504, and acquires the audio sample to start playback contained in the packet (S505).
[0172] In some cases, the MPU header of a corresponding audio sample cannot be obtained at a random access point of a video. If the MPU to which the audio sample belongs is MPU(n), the receiving device 500 obtains the PTS for samples included in MPU(n) by the method of step S504, and obtains the PTS for samples included in MPU(n+1) and after by the method of step S503.
[0173] Note that the receiving device 500 may always obtain the PTS using the method of step S504 without performing the processes of steps S502 and S503.
[0174] In addition, in the above description, an example has been given in which the audio sample from which decoding starts is determined based on the video playback start time in step S501, but this embodiment can also be applied to a case in which playback starts from the first audio sample that can be obtained after reception starts. Figure 21 is a flowchart of the reception process in this case.
[0175] First, the receiving apparatus 500 determines an audio sample (tgt_spl) at which to start decoding (S511). For example, the receiving apparatus 500 determines the first received audio sample as tgt_spl.
[0176] Next, the receiving device 500 determines whether or not the MPU header of the MPU (mpu_cur) to which the tgt_spl belongs has been acquired (S512). Note that this process is similar to the above-mentioned step S502.
[0177] If the MPU header of the MPU (mpu_cur) has been acquired (Yes in S512), the receiving device 500 analyzes the MPU header and calculates the PTS of tgt_spl (S513). Note that the details of the method of calculating the PTS are the same as those in step S503 above.
[0178] On the other hand, if the MPU header of the MPU (mpu_cur) cannot be obtained (No in S512), the receiving device 500 calculates the PTS of the sample based on the playback time per sample and the like, using the above (Equation 1) (S514). Note that the details of the method of calculating the PTS are the same as those in step S504.
[0179] Through the above processing, the receiving device 500 can obtain the PTS of the audio sample even if it is unable to obtain the MPU header of the audio.
[0180] As described above, the receiving device 500 obtains data for one access unit from the payload of one packet, and calculates the difference in PTS between the access unit that is the first in the decoding order in the segment and the obtained access unit based on the index number. Furthermore, the receiving device 500 determines the PTS of the access unit by separately obtaining the first PTS of the segment. In this way, by calculating the PTS of the access unit in the receiving device 500, the delay time until the start of decoding can be reduced without restricting the packet multiplexing operation of the segment.
[0181] That is, receiving device 500 receives video control information (video MPU header), video data (video MPU), audio control information (audio MPU header), and audio data (audio MPU) transmitted by transmitting device 200 according to embodiment 2. Also, receiving device 500 acquires a first playback start time, which is the playback start time (PTS) of the first audio sample to be played back among a plurality of audio samples included in the audio data (audio MPU).
[0182] Furthermore, the receiving device 500 acquires the playback time of each of the plurality of audio samples. For example, the receiving device 500 acquires the number of samples included in an audio frame and a sampling frequency, and calculates the playback time of each of the plurality of audio samples from the acquired number of samples and sampling frequency.
[0183] Next, the receiving device 500 determines the playback start time (PTS) of the audio sample (audio sample) contained in the packet to be processed using the first playback start time, the playback time, and the sequence information (fragment SN) contained in the packet to be processed.
[0184] (Modification) The multiplexing method applied in the present invention is not limited to MP4, MMT, or DASH, but the present invention can also be applied to other formats in which encoded data such as audio and video can be segmented.
[0185] The transmitting device may transmit the MMT packet stored in an IP packet, etc. Furthermore, in broadcasting, the transmitting device may transmit the IP packet stored in a TS packet or a TLV (Time Length Value) packet defined by ARIB (Association of Radio Industries and Businesses), etc.
[0186] Furthermore, the receiving device may multiplex segments such as MPUs into packets different from MMT packets. The present invention can be applied to any protocol that allows packet multiplexing of audio and video MPU data into one stream.
[0187] In the first to third embodiments, the transmitting device may multiplex audio and video packets so as to satisfy a system decoder model (such as a model of STD (System Target Decoder) in the MPEG-2 system) at the time of packet multiplexing. Also, in the processing of MMT packets, the system decoder model can be defined.
[0188] In the above description, different methods are described separately in the first to third embodiments, but two or more of these methods may be combined. For example, by combining the method according to the first embodiment with the method according to the second or third embodiment, when the receiving device cannot acquire the MPU header of the audio due to a communication error or the like, it is possible to reduce the delay time until the audio is played back by the method according to the second or third embodiment. Furthermore, by combining the second and third embodiments, it is possible to reduce the frequency of the process of calculating the PTS from information other than the MPU header.
[0189] Although the transmitting device, receiving device, transmitting method and receiving method according to the embodiment have been described above, the present invention is not limited to these embodiments.
[0190] Furthermore, each processing unit included in the transmitting device and the receiving device according to the above-described embodiment is typically realized as an LSI, which is an integrated circuit. These may be individually implemented as single chips, or some or all of them may be included in a single chip.
[0191] The integrated circuit is not limited to an LSI, but may be realized by a dedicated circuit or a general-purpose processor. A field programmable gate array (FPGA) that can be programmed after the LSI is manufactured, or a reconfigurable processor that can reconfigure the connections and settings of the circuit cells inside the LSI may also be used.
[0192] In each of the above embodiments, each component may be configured with dedicated hardware, or may be realized by executing a software program suitable for each component. Each component may be realized by a program execution unit such as a CPU or a processor reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory.
[0193] In other words, the transmitting device and the receiving device include a processing circuitry and a storage electrically connected to the processing circuitry (accessible from the processing circuitry). The processing circuitry includes at least one of dedicated hardware and a program execution unit. In addition, when the processing circuitry includes a program execution unit, the storage unit stores a software program executed by the program execution unit. The processing circuitry uses the storage unit to execute the transmitting method or the receiving method according to the above-mentioned embodiment.
[0194] Furthermore, the present invention may be the above-mentioned software program, or a non-transitory computer-readable recording medium on which the above-mentioned program is recorded. Needless to say, the above-mentioned program can be distributed via a transmission medium such as the Internet.
[0195] Furthermore, all the numbers used above are merely examples for the purpose of specifically explaining the present invention, and the present invention is not limited to the numbers exemplified.
[0196] In addition, the division of functional blocks in the block diagram is an example, and multiple functional blocks may be realized as one functional block, one functional block may be divided into multiple blocks, or some functions may be transferred to another functional block. Furthermore, the functions of multiple functional blocks having similar functions may be processed in parallel or in a time-sharing manner by a single piece of hardware or software.
[0197] The order in which the steps included in the above-mentioned transmission method or reception method are executed is merely an example for specifically explaining the present invention, and an order other than the above may be used. Also, some of the above steps may be executed simultaneously (in parallel) with other steps.
[0198] The transmitting device, receiving device, transmitting method, and receiving method according to one or more aspects of the present invention have been described based on the embodiments, but the present invention is not limited to these embodiments. As long as they do not deviate from the spirit of the present invention, various modifications conceived by those skilled in the art to the present embodiments and forms constructed by combining components in different embodiments may also be included within the scope of one or more aspects of the present invention. [Industrial Applicability]
[0199] The present invention can be applied to devices or equipment that transport media such as video data and audio data. [Explanation of symbols]
[0200] 100, 200, 300 Transmitting device 101 MPU generation section 102 Packet multiplexing unit 111 Video header determination unit 112 Audio header determination unit 113 Multiplexer 201, 301 Video MPU generation section 202 Audio MPU Generation Unit 203 Audio Packetizer 204 Video Packetizer 302 Section Judgment Unit 303 First Decision Section 304 Second Decision Section 305 Head Determination Unit 306 MPU generation section 400, 500 receiving device 401 Video MPU Decision Unit 402 Audio MPU decision section 403 Sample Determination Unit 501 Start PTS determination section 502 Judgment section 503 1st PTS Calculation Department 504 2nd PTS Calculation Department 505 Sample Acquisition Department
Claims
1. a video control information receiving step of receiving video control information for playing back video data in units that can be played back individually; a video data receiving step of receiving the video data; a voice control information receiving step of receiving voice control information for playing back voice data in a playback section corresponding to the playback section of the video data; receiving the voice data; the audio data includes a plurality of audio samples, each of which is individually playable; the audio control information includes time information indicating a first playback start time which is a playback start time of an audio sample that is to be first played back among the plurality of audio samples, the audio data is divided into a plurality of packets each including one of the plurality of audio samples, the packets being included in a different packet than the audio control information; each of the plurality of packets includes sequence information indicating a sequence number of the packet among the plurality of packets; the video data is one of a plurality of video data obtained by dividing a video signal, The audio data is one of a plurality of audio data obtained by dividing an audio signal. Receiving method.
2. a video control information receiving unit for receiving video control information for playing back video data in units that can be played back individually; A video data receiving unit that receives the video data; an audio control information receiving unit for receiving audio control information for playing audio data of a playback section corresponding to a playback section of the video data; a voice data receiving unit for receiving the voice data, the audio data includes a plurality of audio samples, each of which is individually playable; the audio control information includes time information indicating a first playback start time which is a playback start time of an audio sample that is to be first played back among the plurality of audio samples, the audio data is divided into a plurality of packets each including one of the plurality of audio samples, the packets being included in a different packet than the audio control information; each of the plurality of packets includes sequence information indicating a sequence number of the packet among the plurality of packets; the video data is one of a plurality of video data obtained by dividing a video signal, The audio data is one of a plurality of audio data obtained by dividing an audio signal. Receiving device.
Citation Information
Patent Citations
Communication node and packet transfer method
JP2000078197A
Multiplexer and demultiplexer
JP2004350250A
Contents data distribution apparatus
JP2006352306A
Receiving terminal and reception method
JP2007221826A
Portable terminal and information processing method
JP2011055230A
