This application claims the benefit of Korean Patent Application No. 10-2011-0037984, filed on Apr. 22, 2011, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference.
1. Field
The inventive concept relates to a method and apparatus for transmitting media data and a method and apparatus for receiving media data, and more particularly, to a method and apparatus for transmitting media data and a method and apparatus for receiving media data according to reproduction rating information pertaining to each of a plurality of segments forming media data.
2. Description of the Related Art
Parents have an increasing need to supervise what their children watch, since the development of information technology has made various types of media data instantly and easily accessible.
In order to satisfy a users' request, a server may regenerate media data that has a reproduction rating (i.e., an indication of the minimum audience maturity level) by eliminating a part of original media data which is not in accordance with a predetermined reproduction rating that may have been established, and provides the regenerated media data to a user.
Although the user may easily obtain the media data that matches a reproduction rating desired by a user, it has been uneconomical for the server to generate a plurality of pieces of media data, one for each of several reproduction ratings, respectively.
The inventive concept provides a method and apparatus for transmitting media data and a method and apparatus for receiving media data according to reproduction rating information pertaining to each of a plurality of segments.
According to an aspect of the exemplary embodiments, there is provided a method of transmitting media data formed of a plurality of segments. An information file relating to the media data is prepared. The information file includes reproduction rating information for each of the plurality of segments. The information file is transmitted to a client. The server receives from the client a transmission request for a segment or segments. In response to the transmission request, the requested segment or segments are transmitted to the client.
The media data may be one of a plurality of pieces of media data generated by encoding a particular input content so as to have differing quality levels, and the information file may include information pertaining to each of the several pieces of media data.
The reproduction rating information may include location information that pertains to a period where the reproduction rating in the media data is all the same, and an indication of the reproduction rating pertaining to that period.
The reproduction rating information may, in an exemplary embodiment, include only location information in the media data pertaining to a period that has a reproduction rating equal to or greater than a threshold value.
The location information may include identification information pertaining to a first segment and a last segment in the period.
The location information may include time information that indicates start and end times of the period.
The start of the period may be a random access point.
The reproduction rating information may be commonly applied to the plurality of pieces of media data.
The reproduction rating information may include identification information pertaining to the media data to which the reproduction rating information is to be applied.
According to another aspect of the inventive concept, there is provided a method of receiving media data. The media data is received as a plurality of segments. In this method, a client receives an information file pertaining to the media data. The information file includes reproduction rating information for each of the segments that can be received from the server. Based on the information file, the server is requested to transmit a segment or segments selected from among the plurality of segments. The requested segment or segments are received from the server.
According to another aspect of the inventive concept, there is provided a data transmitting apparatus for transmitting media data formed of a plurality of segments. The apparatus includes an information file transmitting unit that transmits an information file pertaining to the media data. The information file includes reproduction rating information for each of the plurality of segments. The information file is transmitted to a client. The apparatus also includes a request receiving unit. This unit receives transmission requests from clients. These requests relate to at least one segment. The apparatus also includes a segment transmitting unit that transmits the requested segment or segments to the client, in response to the transmission request.
According to another aspect of the inventive concept, there is provided a data receiving apparatus. The apparatus receives media data formed from a plurality of segments, and includes an information file receiving unit. This unit receives an information file pertaining to the media data and it includes reproduction rating information for each of the plurality of segments. The information file is received from a server. The apparatus also includes a request unit for requesting the server to transmit a selected segment or segments from among the plurality of segments. The selection is based at least in part on the information file. The apparatus also has a segment receiving unit that receives the segment or segments from the server.
The above and other features and advantages of the inventive concept will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
Hereinafter, the inventive concept will be described in detail by explaining exemplary embodiments with reference to the attached drawings.
For the sake of convenience of description, some of the terms that are used in the detailed description are briefly defined, although these definitions should not be interpreted in a severely limiting manner.
Examples of content include audio information, video information, audio-video information, and data. The content may be multimedia data formed of a plurality of components.
The components indicate audio information, video information, subtitle information, or the like which form the content. For example, multimedia content may include components such as a subtitle stream generated by using a particular language, and a video stream obtained at a particular camera angle. Each component may be called a track or an elementary stream (ES) according to a container.
A period indicates a temporal section of a content resource.
A representation indicates media data presented in the period, and is formed of one or more components. In representations, sub-sets of components may be different, or encoding parameters (e.g., a bit rate) of components may be different. In the present description, although the representation refers to media data, any term indicating data including one or more components may refer to the media data.
A segment indicates a temporal section of the representation which is referred to by a unique Uniform Resource Locator (URL) in a specific system layer format (e.g., TS or MP4).
Referring to
The encoding device 110 generates a plurality of pieces of media data related to one input content. The generation of the media data is done by encoding the input content so as to obtain media in a plurality of different quality levels. The reason for the multiple quality levels is that the streaming environment may change while the server 120 streams media data to the client 130. For example, the bandwidth of the network 140 may change, or the hardware source used by the server 120 to transmit media data (or by the client 130 to receive media data) may change.
Accordingly, the encoding device 110 encodes one input content to have different qualities for adaptive streaming according to a fluidic streaming environment. One input content may be encoded to have different quality levels (also referred to as, simply, qualities) by adjusting a factor such as the bit rate, the sampling frequency, the resolution, or the frame rate. For example, a plurality of pieces of media data in 500 Kbps, 1000 Kbps, and 2000 Kbps may be generated by encoding one input content in different resolutions.
The plurality of pieces of media data in different qualities are transmitted to the server 120 and, at this time, information about the content and information about each media data may also be transmitted to the server 120. The information about the content may include, as metadata of the content, information about the title, a synopsis, a content identifier (ID), and a content uniform resource locator (URL) of the content. The information about each media data may include a quality, a type, an ID, or the like for each of the generated media data, and will be described in detail with reference to
The client 130 receives the information about the content and/or information about each media data, and requests from the server 120 for at least one of the plurality of pieces of media data, based on the information that was received. The client 130 estimates a streaming environment, and selects at least one of the plurality of pieces of media data based on the estimate. The selection may be based, for example, on which media data may be used to maintain a suitable quality of service (QoS) within the estimated streaming environment. Then, the client 130 may transmit a hypertext transfer protocol (HTTP) request requesting the server 120 to transmit the selected media data.
When the streaming environment deteriorates, and the quality of media data in the process of being received cannot be continuously reproduced, lower quality media data may be requested, assuming that it is available among the plurality of pieces of media data that were generated by encoding device 110. When the streaming environment improves, and lower quality media data is being received but continuous reproduction of higher quality media data is possible, the client 130 may again request to receive high quality media data.
The client 130 may request the server 120 to transmit another media data while receiving a predetermined media data. For example, the client 130, which requested and was receiving first media data that is of low quality in a deteriorated streaming environment, may request the server 120 to transmit second media data that is of higher quality than the first media data when the streaming environment improves. According to one method, when the server 120 and the client 130 set an initial quality level while initially setting up a streaming channel, the media data is continuously transmitted and received at that same quality. However, according to the current exemplary embodiment, streaming that is adaptive to the streaming environment is possible since the client 130 is able to request for the second media data again even while receiving the first media data about the same content.
The client 130 may estimate a streaming environment by using any method of estimating a streaming environment, taking into account the bandwidth of the network 140 and/or the hardware resources that may be used by the server 120 or the client 130. For example, the client 130 may estimate the streaming environment based on a time stamp and a bit error rate (BER) of received media data. The streaming environment may be determined to be deteriorated when media data is received slower than the reproduction speed. This may be checked by checking the time stamps of the received media data. Alternatively, the streaming environment may be determined to be deteriorated when the bit error rate (BER) of the received media data increases.
When the client 130 requests the server 120 to transmit at least one of the media data according to the streaming environment, the server 120 transmits requested media data to the client 130. The server 120 may transmit the requested media data to the client 130 as an HTTP response to an HTTP request.
Each media data may include at least one of a plurality of segments generated by encoding content in different quality levels, and dividing the encoded content. In other words, each media data generated by encoding the content at the encoding device 110 may be divided on a time basis so that they include one or more segments. The server 120 transmits the content in segments, instead of a continuous stream. The plurality of segments may be generated by dividing the content into predetermined time units, such as units of 10 or 20 seconds. The time that is the basis for dividing the content may be set based on a group of pictures (GOP). Media data corresponding to pictures of one or more GOPs may be set as one segment.
For example, when content being streamed is available in two qualities, a first media data may include at least one segment generated by encoding the content to have a first quality and dividing the encoded content based on time, and a second media data may include at least one segment generated by encoding the content to have a second quality and dividing the encoded content based on time. Here, in this example, the first media data has a lower respective quality and the second media data has a respective quality higher than that of the first.
In this example, adaptive streaming is implemented by taking advantage of the segments which represent the time-divided, encoded data. For example, when streaming starts, the server 120 may transmit a segment corresponding to from 0 to 20 seconds of the first media data (i.e., the lower quality data). Then, when it is determined that the streaming environment can support the higher quality data, the client 130 requests the second media data that is of higher quality. In response, the server 120 may transmit a segment corresponding to 20 to 40 seconds of the higher quality second media data (i.e., the next 20 seconds). Since the media data is divided into a plurality of segments based on time, segments of different media data may be transmitted according to a streaming environment, even during streaming.
Referring to
Upon receiving the request from the client 130, the server 120 transmits the information about the predetermined content to the client 130. The server 120 may transmit the information about the predetermined content as an HTTP response to the HTTP request to the client 130. The information about the predetermined content may, for example, be a content access descriptor (CAD) according to an Open IPTV Forum (OIPF) standard. The information about the predetermined content will now be described in detail with reference to
Referring to
Since known approaches to the streaming of media data generate only one media data by encoding one content so as to have only one predetermined quality, the information (specifically, CAD according to OIPF) about content does not include information about a plurality of pieces of media data generated by encoding the content to have different qualities.
However, the information about content, according to an exemplary embodiment, includes information about a plurality of pieces of media data generated by encoding one content to have different qualities, and corresponds to “Tracks”, “RefData”, and “Fragments” tags in
Referring to
The “ID” attribute defines identifiers sequentially given to the plurality of pieces of media data, and the “Type” attribute defines whether media data corresponds to audio data, video data, video/audio data, or subtitle data. When the “Type” attribute is “Packed”, the media data is video/audio data, and when the “Type” attribute is “Video”, the media data is video data. The “Bitrate” attribute defines a bit rate used to encode the media data.
Referring to
The “RefData” tag is a selective element. The “RefData” tag is included in information about content only when the header is separated from the media data and exists as a separate file, and need not necessarily be included in the information about content when the header is combined with the media data.
Referring to
The “Fragments” tag includes a “NextFragmentsXMLURL” attribute. When following (i.e., subsequent) content is continuously streamed after the streaming of one content is completed (i.e., precedent) as in the case of live streaming, the following content may be seamlessly streamed only when the client 130 is aware of the information about the following content. Accordingly, the “Fragments” tag defines the information about the following content as the “NextFragmentsXMLURL” attribute. URLs of the plurality of pieces of media data pertaining to the following content may be defined in the “NextFragmentsXMLURL” attribute.
The “Fragment” tag includes information about at least one segment of current content. Referring to
In
Referring back to
As described with reference to
The server 120 transmits the media data according to the request of the client 130. The server 120 may transmit at least one segment of the requested media data to the client 130. The server 120 may transmit media data requested as an HTTP response pertaining to an HTTP request to the client 130.
Referring to
In operation 222, the client 130 requests the header for the selected media data, based on the information about the content that was received as a result of operation 212. At least one media data suitable for the estimated streaming environment is selected from among the plurality of pieces of media data based on the information about the content received in operation 212, and the header of the selected media data is requested. The header of the selected media data is requested by referring to the “RefData” tag included in the information about the content received in operation 212.
The server 120 transmits the requested header to the client 130. A header file may be transmitted to the client 130, and may be an XML file.
In operation 232, the client 130 requests the server 120 to transmit the selected media data based on the information about the content received in operation 212 and the header received in operation 222. The client 130 requests the server 120 to transmit at least one segment that was generated by dividing the media data based on time, and the server 120 transmits the requested segment or segments to the client 130.
Referring to
Referring to
However, in
Compatibility with various media data formats may therefore be maintained while performing streaming that is adaptive to a streaming environment. This is done by inserting the URL of the media presentation description into the information about content as shown in
As shown in
Specifically, the “ContentURL” tag may include a “TransferType” attribute defining a service to which the streaming of content is related. The “TransferType” attribute may define whether the streaming of content is related to a Content on Delivery (CoD) service, a live service, an adaptive streaming live service, or an adaptive streaming CoD service.
Referring to
Referring back to
The information about the content received by the client 130 from the server 120 in operation 510 may include the URL of the media presentation description as described with reference to
Referring to
A “urlTemplate” tag defines a common portion of the URLs of the plurality of pieces of media data. For example, if “http://example.com/vod/movie/18888/Track/{TrackID}/Segments/{SegmentID}” is a URL template, a URL of media data may be defined by respectively substituting an ID of each media data and an ID of at least one segment included in each media data for “TrackID” and “SegmentID”.
A “headerUrl” tag corresponds to the “RefData” tag described with reference to
An “is Live” tag defines the related streaming service. For example, when the “is Live” tag is defined as “Live”, the streaming is related to a live service, and when the “is Live” tag is defined as “CoD”, the streaming is related to a CoD service.
The “contentType” tag defines the container format of media data used during streaming. The “contentType” tag may indicate whether the container format is an MP4 format or an MPEG2-TS format. The container format is an MP4 format or an MPEG2-TS format herein. However, it will be appreciated that the container format is not limited to that format, and any appropriate container format for transmitting media data may be used in accordance with the needs of the particular situation. For example, the “contentType” tag may indicate an MPEG Media Transport (MMT) standard compliant format.
A “Stream” tag is generated for each media data and defines each media data. In order to define each media data generated by encoding one content to have differing quality levels, the “Stream” tag includes a “streamName” attribute, a “type” attribute, a “bitrate” attribute, a “startTime” attribute, a “firstIntervalNum” attribute, a “duration” attribute, and an “intervalCount” attribute.
The “streamName” attribute defines the name of media data, and may be an ID of media data. The “type” attribute defines the type of media data, i.e., whether the media data is audio data, video data, or audio/video data. When the media data includes only data about an I-frame for a trick play, such information may also be defined in the “type” attribute.
The “Bitrate” attribute defines a bit rate of media data, the “startTime” attribute defines a time stamp for specifying a starting time of media data, and the “firstIntervalNum” attribute defines a number of the initial segment.
The “duration” attribute defines the duration time of the segment included in the media data, and the “intervalConunt” attribute defines the total number segments included in media data.
The “Segment” tag is a sub tag of the “Stream” tag, and, as described above, when the media data includes at least one segment generated by encoding content in a predetermined quality and dividing the encoded content based on time, each of the segments is defined.
The “IntNum” attribute defines the segment number, and the “StartTime” tag defines the starting time of a corresponding segment. The “Duration” tag defines the duration time of the corresponding segment, and the “url” defines the URL of the corresponding segment.
The “Segment” tag is a selective tag, and may optionally be excluded in the media presentation description if the information about at least one segment included in the media data can be inferred from other attributes of the “Stream” tag. In other words, when the content of the “Segment” tag can be inferred from the “startTime”, “firstIntervalNum”, “duration”, and “intervalCount” attributes defined in the “Stream” tag, the “Segment” tag may be omitted from the media presentation description. Also, the “url” attribute of the “Segment” tag might not be required if a predetermined template is defined in the “urlTemplate”, and the URLs of segments are inferred by substituting each ID of the plurality of pieces of media data and an ID of at least one segment included in each media data with the defined predetermined template.
On the other hand, however, the attributes of the “Segment” tag should be separately defined for each segment, if the attributes of the “Segment” tag cannot be inferred from other attributes of the “Stream” tag. It might not be possible to infer the attributes of the “Segment” tag when segment duration varies. When duration times are different, the duration times of segments included in media data cannot be inferred from the attributes of the “Stream” tag, and thus the duration times of the segments may each be set by using the “duration” attribute of the “Segment” tag. When the duration times of the segments are different, the starting times of the continuous segments are also different. For example, when the duration time of the first segment of the first media data is different from a duration time of the second segment of the first media data, the starting time of the second segment and the starting time of a third segment cannot be inferred from the “Stream” tag. Accordingly, the starting time of each segment may be defined by a “startTime” attribute.
The duration times and/or starting times may be defined by using a sub tag of the “Segment” tag, instead of using the “duration” attribute and the “startTime” attribute of the “Segment” tag. For example, a “Url” tag constituting a sub tag of the “Segment” tag may be set, and a duration time may be defined as an attribute of the “Url” tag, such as “<Url=www.example.com/˜/segment.ts, duration=10/>”. According to another exemplary embodiment, the duration time may be defined based on a difference between the duration times of continuous segments. An upper tag may define a default duration time, and the “Url” tag constituting the sub tag may define only the difference between the default duration time and the actual duration time for each segment. As described above, the “Url” tag constituting the sub tag of the “Segment” tag may be defined as “<Url=www.example.com/˜/segment.ts, duration=difference/>”. “Difference” denotes a difference between the default duration time and the actual duration time.
When the default duration time of the corresponding segment is defined to be 10 minutes by using the “Stream” tag or the “Segment” tag, and the “Url” tag constituting the sub tag is defined to be “<Url=www.example.com/˜/segment.ts, duration=2/>”, the duration time of the corresponding segment may be defined to be 10+2=12 minutes.
Referring to
Referring to
The “URLTemplate” tag and the “RefDataURL” tag of
An “ID” attribute, a “Type” attribute, a “BitRate” attribute, a “StartTime” attribute, a “SegmentDuration” attribute, a “SegmentStartID” attribute, and a “SegmentCount” attribute of
The media presentation description of
Referring to
The server 120 selectively transmits the media presentation description of
Since not only the audio data, but also the subtitle data, may be divided into a plurality of segments according to time, the audio data and the subtitle data may be changed to audio data and a subtitle data of another language during streaming.
Referring back to
Referring to
In operation 522, the client 130 requests the server 120 to transmit information about a plurality of pieces of media data based on the information about predetermined content that was received in operation 512. The client 130 may request the server 120 for a media presentation description through the HTTP request, and receive the media presentation description as the HTTP response.
In operation 532, the client 130 requests a header of media data selected based on the information, about the plurality of pieces of media data, received in operation 522. At least one media data that is suitable for the estimated streaming environment is selected, from among the plurality of pieces of media data, based on the information about the plurality of pieces of media data received in operation 522, and a header of the selected media data is requested. The header of the selected at least one media data is requested by referring to the information about the plurality of pieces of media data received in operation 522. The server 120 transmits a file containing the header of the selected at least one media data to the client 130 in response to the client's request.
In operation 542, the client 130 requests the server 120 to transmit selected media data based on the information about the plurality of pieces of media data received in operation 522, and the header received in operation 532. The client 130 requests the server 120 to transmit at least one segment generated by encoding content to have a predetermined quality and dividing the encoded content based on time, and the server 120 transmits the requested at least one segment to the client 130.
Referring to
The server 120 may include information 1040 required for the client 130 to access the plurality of pieces of media data 1010 through 1030. The server 120 may include a “CadMeta.xml” file as information about the content, a “MainMeta.xml” file as information about the plurality of pieces of media data 1010 through 1030, and a “Head1.ref” file, a “Head2.ref” file, etc. as header files for the plurality of pieces of media data 1010 through 1030. Here, the “Head1.ref” file may be a header file of the “Track1”, and the “Head2.ref” file may be a header file of the “Track2”.
The “CadMeta.xml” file may be a CAD file according to the OIPF standard, and the “MainMeta.xml” file may be the media presentation description described above. Also, the “Head1.ref” and “Head2.ref” files can be optional elements, and may be omitted in implementations in which headers are included in the plurality of pieces of media data 1010 through 1030.
Referring to
Referring to
For example, when each of the plurality of pieces of media data 1010 through 1030 corresponds to an elementary stream, for example, an elementary stream according to MPEG-2, the header files of the plurality of pieces of media data 1010 through 1030 may be implemented as a header file 1050 which includes a program association table (PAT) and a program map table (PMT). The PAT and/or the PMT are separated from the plurality of pieces of media data 1010 through 1030 to prepare the header file 1050, and the media presentation description may include information pointing to the header file 1050. The information pointing to the header file 1050 may be URL information indicating the header file 1050, or may be information for specifying a packet that includes the header file 1050 in an MPEG-2 transport stream (TS). Since the header file 1050 includes the PAT and/or the PMT, it constitutes an initialization segment, and may be transmitted to the client 130 before the segments that include the payload data, so as to initiate the reproduction of the plurality of pieces of media data 1010 through 1030.
Referring back to operation 532 of
According to the MPEG-2 format, packet IDs (PIDs) defined in the PAT and the PMT are different according to elementary streams. Accordingly, PIDs assigned to each of the plurality of pieces of media data 1010 through 1030 may be different. Alternatively, according to another exemplary embodiment, since the plurality of pieces of media data 1010 through 1030 generated by encoding one input content so as to have different quality levels are elementary streams of the same content, the same PID may be set.
When the plurality of pieces of media data 1010 through 1030 correspond to a plurality of elementary streams according to the MPEG-2 format, each of a plurality of segments included in the plurality of pieces of media data 1010 through 1030 may include at least one continuous packetized elementary stream (PES). However, one PES is included in one segment. In other words, one PES is not divided into two different segments.
Since a plurality of pieces of media data are generated by encoding one input content to have different qualities, presentation time stamps (PTSs) and/or decoding time stamps (DTSs) included in PESs of the plurality of pieces of media data may be aligned according to reproduction times. In other words, if an initial PES of a first media data and an initial PES of a second media data relate to content reproduced at the same time, a PTS and/or a DTS may be equally set.
Further, when the second media data is reproduced while reproducing the first media data by changing media data according to the streaming environment, the PTSs and/or the DTSs may be kept continuously aligned so that the first and second media data are both continuously reproduced. In other words, when the second media data is reproduced while reproducing the first media data by changing media data, the PTS and/or the DTS of the last PES before the changing and the PTS and/or the DTS of the first PES after the changing may be continuously set.
The PTS and/or the DTS define a time stamp of video data. Accordingly, time stamps of the plurality of pieces of media data pertaining to video data are aligned according to the reproduction times of the plurality of pieces of media data as described above. Such alignment of the time stamps based on the reproduction times may be equally applied to audio data. In other words, like the time stamps of the plurality of pieces of media data pertaining to the video data, time stamps of the pieces of media data pertaining to the audio data may also be aligned according to the reproduction times for adaptive streaming.
Referring to
In operation 1120, the client 130 requests the server 120 to transmit at least one of the plurality of pieces of media data. The client 130 selects and requests at least one media data that is encoded to have a quality suitable for the estimated streaming environment by referring to the information about the plurality of pieces of media data, and receives the requested media data from the server 120.
Referring to
In operation 1122, the client 130 requests the header of the selected media data based on the information about the plurality of pieces of media data received in operation 1112. The client 130 requests the header of media data selected according to an estimated streaming environment by referring to the information, about the plurality of pieces of media data, received in operation 1112. In response to the request, the server 120 transmits a file including the header of the selected media data to the client 130.
In operation 1132, the client 130 requests the server 120 to transmit the media data, selected based on the information about the plurality of pieces of media data received in operation 1112, and on the header received in operation 1122. The client 130 requests the server 120 to transmit at least one segment generated by encoding content in a predetermined quality and dividing the encoded content based on time, and the server 120 transmits the requested segment or segments to the client 130.
Referring to
Here, the plurality of pieces of media data 1010 through 1030 of
Referring to
The data transmitting apparatus 1300 according to the exemplary embodiment may include an information file transmitting unit 1310, a request receiving unit 1320, and a segment transmitting unit 1330.
The information file transmitting unit 1310 generates an information file pertaining to the media data, and transmits the information file to a data receiving apparatus 1400. The information file may be a CAD or an MPD according to the OIPF standard. The information file may include all the pieces of information pertaining to the plurality of pieces of media data to be changed and reproduced by the data receiving apparatus 1400.
The plurality of pieces of media data to be changed and reproduced by the data receiving apparatus 1400 may be divided into two types.
First, as described above regarding
Second, the data transmitting apparatus 1300 may generate a plurality of pieces of media data by separately encoding different correlated contents. For example, the data transmitting apparatus 1300 may generate first media data by encoding left-viewpoint image data and generate second media data by encoding right-viewpoint image data, or may generate first media data by encoding image data of a base layer and generate second media data by encoding image data of an enhancement layer. In this case, the plurality of pieces of media data may have different contents.
In the instance in which the data receiving apparatus 1400 reproduces one media data and then reproduces another media data included in one group, the media data may be changed by units of segments. The segments are obtained by temporally dividing the media data, and the data receiving apparatus 1400 may request the segments pertaining to the media data to be reproduced, by using information (e.g., an address to receive the segments) pertaining to the segments which is included in the information file.
The information file may include reproduction rating information pertaining to each of the segments. A reproduction rating indicates a condition for reproduction of a corresponding segment, and, for example, the reproduction rating may indicate an age of a user who may reproduce or view the segment.
According to a known approach, it is uneconomical for a server to generate and provide a plurality of pieces of media data with matched, respective reproduction ratings. However, according to the exemplary embodiments, the reproduction rating may be set for each of the segments so that the data receiving apparatus 1400 may appropriately process the segments according to the reproduction ratings, and it is therefore unnecessary for the server to generate the plurality of pieces of media data that match the reproduction ratings, respectively.
The reproduction rating information may include location information pertaining to a period having a predetermined reproduction rating, and a reproduction rating of the period.
The location information pertaining to the period may be displayed by using identification information pertaining to first and last segments in the period or by using a start time and an end time of the period. For example, in a case where a plurality of pieces of media data are aligned, it may be more convenient to display the location information pertaining to the period by using identification information pertaining to a segment. However, in a case where a plurality of pieces of media data are not aligned, it may be more convenient to display the location information pertaining to the period by using the time information pertaining to the period.
In the present description, when a plurality of pieces of media data have the same structure, the plurality of pieces of media data may be referred to as being aligned. In a case in which the plurality of pieces of media data are aligned, the number of segments, the positions of the segments, and the identification number of the segments forming the plurality of pieces of media data may be the same. That is, when the first media data and the second media data are aligned, the 10th segment in the first media data corresponds to the 10th segment in the second media data. Thus, in the scenario in which a user watches a 9th segment in the first media data and then watches the second media data included in one group, the data receiving apparatus 1400 may receive and reproduce the 10th segment in the second media data.
Thus, in the situation in which the plurality of pieces of media data are aligned, segments having the same identification information in the plurality of pieces of media data of one group are placed in the same locations, so that it is efficient to deliver the location information pertaining to the period by using the identification information pertaining to the segments included in the period.
However, in a case where the plurality of pieces of media data are not aligned, segments having the same identification information in the plurality of pieces of media data of one group will be in different locations, so that it is difficult to deliver the location information pertaining to the period by using the identification information pertaining to the segments. Thus, when the plurality of pieces of media data are not aligned, it is convenient to indicate a start location and an end location of the period by using time information (e.g., PTS, DTS, global time, etc.).
The start location of the period is indicated either by using identification information of the first segment in the period, or by using the start location of the period as indicated by using start-time information of the period. A start of the period may be a random access point.
Rating information may include rating information that pertains to all periods in the media data, but could include rating information with respect only to a period having a predetermined rating. For example, the rating information may include information pertaining to a period to be reproduced or viewed by only a user over a predetermined age.
The rating information may be commonly applied to a plurality of pieces of media data to be changed and reproduced by the data receiving apparatus 1400, or may be applied to only some of a plurality of pieces of media data. In the former case, the rating information includes only an identifier of a group that includes the plurality of pieces, and in the latter case, the rating information includes identification information pertaining to the particular media data to which corresponding rating information is to be applied.
In the case where a plurality of pieces of media data of one group are generated by encoding the same content to have different qualities, if first media data and second media data are included in the one group, data at a predetermined location in the first media data and data at a predetermined location in the second media data are about the same content. Thus, the data at the predetermined location in the first media data and the data at the predetermined location in the second media data generally have the same reproduction rating, and, in this case, the rating information may be commonly applied to the plurality of pieces of media data of the one group. Accordingly, to convey the rating information, it is sufficient to include only the identifier of the group to which the rating information is to be applied.
On the other hand, in a case in which a plurality of pieces of media data of one group are generated by separately encoding different, correlated contents (e.g., a plurality of pieces of media data are generated by separately encoding left-viewpoint image data and right-viewpoint image data). Although the first media data and the second media data are included in the one group, it is not guaranteed that data at a predetermined location in the first media data and data at a predetermined location in the second media data are pertaining to the same content. Thus, different reproduction ratings may be applied to a segment included in the predetermined location in the first media data and a segment included in the predetermined location in the second media data. Therefore, it is preferable that the rating information includes identification information pertaining to the media data to which the rating information is to be applied.
Which tag in the information file includes the rating information may vary according to embodiments. Examples in which the rating information is provided in the information file will be described below with reference to
The request receiving unit 1320 receives a request for the transmission of a segment from the data receiving apparatus 1400. Based on the information file that corresponds to the media data, the data receiving apparatus 1400 may request the transmission of a desired segment.
In response to the request, the segment transmitting unit 1330 transmits at least one segment to the data receiving apparatus 1400.
The data receiving apparatus 1400 includes an information file receiving unit 1410, a request unit 1420, and a segment receiving unit 1430.
The information file receiving unit 1410 receives an information file pertaining to a plurality of pieces of media data included in one group. As described above, the plurality of pieces of media data included in one group indicates the group of a plurality of pieces of media data to be changed and reproduced by the data receiving apparatus 1400 by encoding one input content to have different quality levels or by encoding a plurality of pieces having related content.
The information file for a plurality of pieces of media data includes reproduction rating information pertaining to each of the segments forming the plurality of pieces of media data.
The request unit 1420 requests a desired segment based on the information file pertaining to a plurality of pieces of media data. The data receiving apparatus 1400 may previously set a reproduction rating of a segment to receive, and the request unit 1420 may thus be set to request only segments that satisfy the set reproduction rating.
The segment receiving unit 1430 receives from the data transmitting apparatus 1300 only segments that satisfy the reproduction rating set by the data receiving apparatus 1400. Alternatively, the receiving unit 1430 receives all segments and then discards or re-processes segments that do not satisfy the set reproduction rating. For example, the data transmitting apparatus 1300 may skip the segments that do not satisfy the set reproduction rating and then may reproduce the media data, or may apply a mosaic pattern to the segments not satisfying the set reproduction rating and then output the media data.
The information file 1500 includes reproduction rating information pertaining to segments.
A ‘SegmentAligmnentFlag’ tag 1510 indicates whether a plurality of pieces of media data included in one group are aligned. As described above, when a plurality of pieces of media data are aligned, the plurality of pieces of media data have the same structure. If the ‘SegmentAligmnentFlag’ tag 1510 has a value of ‘True’, it means that the plurality of pieces of media data are aligned. Otherwise, if the ‘SegmentAligmnentFlag’ tag 1510 has a value of ‘False’, it means that the plurality of pieces of media data are not aligned. Referring to
A ‘parental control’ tag 1520 indicates media data to which reproduction rating information is to be applied. The ‘parental control’ tag 1520 has a ‘group’ attribute that identifies a group to which the reproduction rating information applies. Referring to
The ‘segment_index’ tags 1530 and 1540 indicate reproduction rating information for each of a plurality of segments. The ‘segment_index’ tags 1530 and 1540 include a ‘start’ attribute, an ‘end’ attribute, and an ‘age’ attribute. The ‘start’ attribute indicates the start location of the period having a predetermined rating, the ‘end’ attribute indicates the end location of the period, and the ‘age’ attribute indicates the reproduction rating of the period. Referring to
Referring to a ‘Representation’ tag, it is possible to see that all pieces of media data are made up of 200 segments, and that each segment has a duration time of 10 seconds. That is, the representations are in this example aligned.
The data receiving apparatus 1400 receives the information file 1500, and then either selectively receives segments according to the reproduction setting or, alternatively, receives all segments and re-processes them after receipt. For example, according to the reproduction setting, if the segments are to be reproduced by a user equal to or less than an age of 13, the data receiving apparatus 1400 may either not receive the segments having identification numbers of ‘100 through 112’ and the segments having identification numbers of ‘150 through 170’ (i.e., the segments will not be sent or the segments can be refused), or may receive and then discard them, or may receive and then re-process them so as to be reproduced in an acceptable manner for the user equal to or less than the age of 13.
Referring to a ‘SegmentAligmnentFlag’ tag 1610, in
Referring to the ‘Representation’ tag, two pieces of media data having identification numbers of 1 and 2 are made of 200 segments, each of which has a duration time of 10 seconds. On the other hand, two pieces of media data having identification numbers of 3 and 4 are formed of 100 segments, each of which has a duration time of 20 seconds. That is, the plurality of pieces of media data are not aligned.
The ‘segment_index’ tags 1630 and 1640 include a ‘start’ attribute, an ‘end’ attribute, and an ‘age’ attribute. Here, the ‘start’ attribute and the ‘end’ attribute indicate the location of the period by using a start time and an end time of the period. In
In
In
A ‘URL’ tag 1840 includes a ‘sourceURL’ attribute and a ‘parentalcontrol’ attribute. The ‘sourceURL’ attribute indicates the address of a segment, and the ‘parentalcontrol’ attribute indicates the reproduction rating of the segment. In
In
Referring to a ‘Parental Control’ tag, it is possible to see that the reproduction rating information is applied to media data which has the identification information of ‘1’ in a group having identification information of ‘1’.
In operation S2010, the data transmitting apparatus 1300 transmits to the data receiving apparatus 1400 an information file pertaining to a plurality of pieces of media data, included in one group. The information file includes reproduction rating information pertaining to various periods in the media data.
The reproduction rating information includes period information indicating parts of a period that have the same reproduction rating, and the reproduction rating in the period. The reproduction rating information may indicate reproduction ratings pertaining to all the periods in the media data, or may indicate only periods having reproduction ratings equal to or greater than a threshold value. The period information may indicate the location of the period by using numbers indicating the first and last segments in the period, or by using start and end times.
In operation S2020, the data receiving apparatus 1400 requests the transmission of a segment desired by the user, the request being based at least in part on the information file. For example, the data receiving apparatus 1400 may request only segments equal to or less than a previously set reproduction rating.
In operation S2030, the data transmitting apparatus 1300 transmits the requested segment or segments to the data receiving apparatus 1400.
The exemplary embodiments can be written as computer programs and/or instructions and can be implemented in general purpose digital computers that execute the programs and/or instructions using a physical computer-readable recording medium. Non-limiting examples of the computer-readable recording medium include magnetic storage media (e.g., ROM, floppy disks, hard disks, etc.), optical recording media (e.g., CD-ROMs, or DVDs), etc.
While the inventive concept has been particularly shown and described with reference to exemplary embodiments thereof, it will be appreciated that various changes in form and detail may be made without departing from the spirit and scope of the following claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2011-0037984 | Apr 2011 | KR | national |