KR20140008194A - Method and apparatus for generating, playing file - Google Patents

Method and apparatus for generating, playing file Download PDF

Info

Publication number
KR20140008194A
KR20140008194A KR1020120075654A KR20120075654A KR20140008194A KR 20140008194 A KR20140008194 A KR 20140008194A KR 1020120075654 A KR1020120075654 A KR 1020120075654A KR 20120075654 A KR20120075654 A KR 20120075654A KR 20140008194 A KR20140008194 A KR 20140008194A
Authority
KR
South Korea
Prior art keywords
information
group
tracks
track
file
Prior art date
Application number
KR1020120075654A
Other languages
Korean (ko)
Inventor
유성열
박기준
이장원
김규헌
박광훈
서덕영
송재연
Original Assignee
삼성전자주식회사
경희대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사, 경희대학교 산학협력단 filed Critical 삼성전자주식회사
Priority to KR1020120075654A priority Critical patent/KR20140008194A/en
Publication of KR20140008194A publication Critical patent/KR20140008194A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B2020/1264Formatting, e.g. arrangement of data block or words on the record carriers wherein the formatting concerns a specific kind of data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention relates to a method and an apparatus for generating and playing files related to the media data which is suitable for the transmission and storage of media data and a streaming environment. The present invention relates to a method for describing continuous time information of a sample indicating one frame unit in a total structure of a new file format which is suitable for the transmission and storage of media data proposed in MPEG based on ISO base media file format and a streaming environment; a method for describing time scale information; a method for describing information such as a sample initial number, pattern offset, start time, continuous time, a data reference index, a coding type index; and a method for describing the list information of the corresponding groups by grouping tracks and items. [Reference numerals] (1610) Receiving a media segment file; (1620) Storing a media segment file in a storage unit; (1630) Parsing attribute information related to a media segment file; (1640) Existence or absence of group list information; (1650) Selectively parsing the item attribute information and track of a corresponding group provided through group list information among tracks and items within a media segment file; (1660) Parsing item attribute information and all tracks within a media segment file; (1670) Restoring or reproducing media data using parsed data; (AA) START; (BB) END

Description

METHOD AND APPARATUS FOR GENERATING, PLAYING FILE}

The present invention relates to a method and apparatus for generating, playing back a file capable of storing media data in a form suitable for a transmission storage and streaming environment of media data.

Recently, due to the development of the Internet network environment, it is possible to transmit a large amount of media data through the Internet network. Accordingly, interest in internet streaming technology and multimedia data transmission is increasing. Recently, the international standard organization, Moving Picture Expert Group (MPEG), has transmitted media data such as Dynamic Adaptive Streaming over HTTP (DASH) and Multi Media Transport (MMT). And standardization related to streaming is being completed or in progress. In this environment, there is a need to change the file format considering the transmission and storage of compressed media data to a form suitable for such an environment, and in MPEG, the standardization of the new file format We are preparing for a start.

The general media file format basically includes a header portion describing information of the media and an image data portion storing compressed media data. The general media file format is a basic file format that can be commonly applied to various applications. The ISO Base Media File Format is defined in MPEG. The ISO Base Media File Format is designed to hierarchically store a compressed media stream and data such as configuration information related to the media stream in a plurality of container boxes.

On the other hand, based on such a general media file format, the overall hierarchical box structure of a new file format suitable for the transmission, storage and streaming environment of media data is proposed in MPEG. However, in the structure of the proposed new file format, there are changes to the box position and new additions.

First, in describing the duration information of the samples constituting the track fragments of the media stream, there is a method of describing the duration of all the samples. However, when the sample duration is constant, the same sample duration information is repeatedly described.

In addition, in describing time information such as segment duration, fragment duration, segment overlap time, fragment overlap time, etc., about a segment that is a temporal constant fragment of the entire media stream and a fragment that is a temporal constant fragment of the segment Time scale information about time is essentially required.

Another problem is that sample initial number information and tracks contained in a track fragment box describing information about a fragment of one media stream on a hierarchical box structure of a new file format. Information such as the offset value of the pattern, the start and duration of the track, the location of the data and the index of the coding type are described in units of fragments, which are fragments of the media presentation. It is becoming. When provided in units of fragments, there is a disadvantage in that the above information is repeatedly described.

Finally, the track group box (trgr box) of ISO Base Media File Format, which provides information on the group relationship between tracks, is used for grouping information through the group ID (track_group_id) within individual tracks corresponding to the group at the track level. Express This method has a difficulty in interpreting the interior of all the tracks in order to identify the tracks belonging to the group. In addition, there is a problem in that the group relations with other tracks outside the file cannot be expressed and the group relations between tracks and items having no temporal concept cannot be expressed. Therefore, in view of the above-described problems, the positional movement of the box describing the track group information and the change of the group information provided in the box are required.

The present invention is based on the box format based on the media file format, and the sample duration information of the efficient media stream within the overall structure of the new file format suitable for the streaming environment proposed by the international standard organization MPEG. It provides a method and apparatus for generating.

The present invention is based on the media file format-based box form and is a time scale essential for time information within the overall structure of a new file format suitable for the streaming environment proposed by MPEG, an international standard organization. ) Provides a method and apparatus for generating information.

The present invention is based on the box format based on the media file format. In the overall structure of the new file format suitable for the streaming environment proposed by the international standard organization MPEG, the sample initial number and the pattern offset ( a set of physically contiguous samples that correspond to a period of a repeating pattern in a track, with information such as pattern offset, start time and interval, data location index, coding type index, etc. The present invention provides a method for generating an in-trunk unit and a method and apparatus for generating list information of corresponding groups by grouping tracks and items.

The present invention is based on the ISO Base Media File Format, which is a media file format. including a default sample duration in a box that provides sample duration information to describe the duration information; Segment map, including boxes that provide information on the new file format structure, such as counts of segments and fragments, size of data bytes, group information, duration and overlap time, etc. Adding a box describing the time scale information to the segment map box to provide a measure of time related values of segments and fragments within the container box; In the proposed new file format structure, it is effective to provide a sample initial number that corresponds to one period of a repeating pattern in a track and is provided in a trunk unit, which is a set of physically adjacent samples. providing boxes at the trunk unit including information such as a sample initial number, a pattern offset, a start time and interval, a data location index, a coding type index, and the like; Based on the ISO Base Media File Format box to describe a group list that can represent a group relationship between tracks and tracks, or between tracks and items, and can also indicate group relationships with tracks and items inside and outside the file. And adding a group list box (glsI, glsN) to the upper end of the track and the item to express the group relationship between the tracks or the track and the item.

The present invention describes a method of describing the duration of samples using default sample duration in a new file format suitable for media data transmission storage and streaming environment. By not expressing the above default sample duration, the duplication description of the same information can be avoided.

According to the present invention, by adding a box that provides time scale information in a segment map box, a time scale that is essential for displaying time information in all boxes representing time information belonging to a segment map. Can be provided.

According to the present invention, a pattern in which information such as a sample initial number, a pattern offset, a start time and interval, a data location index, a coding type index, and the like are repeated in a track Efficient information can be provided by providing a trunk unit, which corresponds to one period of a pattern and is a set of physically adjacent samples.

The present invention can define group relationships between tracks and tracks or between tracks and items through a group list box indicating group relationships between tracks and items, and define group relationships with tracks or items outside the file as well as inside the file. can do.

1 is a box syntax based on an existing ISO Base Media File Format that provides duration information of samples constituting fragments in one media stream;
2 is a syntax of a box for providing sample duration information using a default sample duration value according to an embodiment of the present invention;
3 is a file structure for a case of providing sample duration information using a default sample duration value according to an embodiment of the present invention;
4 is a structural diagram of a smap box including basic attribute information of a segment or fragment unit in a new file format structure suitable for a transmission, storage, and streaming environment of media data according to an embodiment of the present invention;
FIG. 5 is a time scale information essential for describing duration information and overlap time information of a segment or a fragment provided in the smap box according to an embodiment of the present invention. Syntax of the box including;
FIG. 6 is an offset of an initial sample sequence number and a pattern appearing in a sample sequence provided at predetermined intervals among a sequence of consecutive samples according to an exemplary embodiment of the present invention. Syntax of the box providing the value;
FIG. 7 is a diagram illustrating a re-ordering process between a decoding order and a presentation order in a sample sequence according to an embodiment of the present invention. FIG.
FIG. 8 is a time and duration box providing information about a start time and duration of a fragment in a media stream according to an embodiment of the present invention. Syntax;
FIG. 9 illustrates information on a start time and a duration shown in FIG. 8 when random access is performed in a media stream according to an embodiment of the present invention. Is a case where (a) and (b) are not provided in units of a trunk 910 which corresponds to one period of a repeating pattern in the track and is a set of physically adjacent samples;
10 is a syntax of a data location type (loct) box including index information that may indicate a reference method, an encoding type, a presentation type, etc. of corresponding media data in a structure of a storage format according to an embodiment;
FIG. 11 illustrates a case in which data reference information is provided in units of fragments that are fragments of media data (a) and one period of a pattern in which data reference information is repeated in a track. A file structure diagram for a case (b) provided in a trunk unit, which is a collection of physically adjacent samples;
12 is a syntax of a box describing a group relationship between tracks based on an existing ISO Base Media File Format;
FIG. 13 shows a group relationship between tracks and tracks, tracks and items, and group relationships between tracks and items in the file as well as tracks and items outside the file. Syntax for a group list box;
FIG. 14 illustrates a case in which a method of displaying group relationships between tracks based on the existing ISO Base Media File Format shown in FIG. 12 is used in expressing group relationships between tracks and tracks according to the present invention. track) A file structure diagram showing a case (b) in which a group relationship between tracks is expressed using a group list of an upper stage;
FIG. 15 is a view showing group relations between tracks and tracks or between tracks and items using a group list of upper stages of tracks according to the present invention; FIG.
16 is a flowchart illustrating a process of providing a group relationship between tracks and tracks or between tracks and items using a group list according to an embodiment of the present invention;
17 is a file format structure diagram according to an embodiment of the present invention;
18 is a block diagram of a terminal according to an embodiment of the present invention; And
19 is a block diagram of a server according to an embodiment of the present invention.

Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention. It will be self-evident to those who have knowledge.

In the new file format structure of media data having a form suitable for the transmission, storage, and streaming environment of media data proposed in MPEG, duplication of the same information is generated by the method of describing the sample duration. Information such as the absence of time-scale information required at the time of presentation, the initial number of samples and the pattern offset, the start time, the duration and the data reference index, etc. There are problems such as structural problems, inability to express group relations between tracks and items, and inability to express group relations with data outside the file.

Accordingly, the present invention corresponds to a method of efficiently providing sample duration information, a method of describing time scale information, and a period of repeated patterns in a track to physically solve the above problems. A method, track, and method that defines a set of contiguous samples as a trunk and describes information such as the sample initial number, pattern offset, start time and duration, data reference index, coding type index, etc., required in this unit; And a method of describing group list information for providing information on group relations of items. That is, the present invention relates to sample duration information of a sample that refers to one frame unit within the overall structure of a new file format suitable for the transmission, storage, and streaming environment of media data proposed in MPEG. A method for describing a time lapse, a method for describing time scale information, a sample initial number required in a unit of trunk, which is a set of physically adjacent samples, which corresponds to one period of a repeating pattern in a track, and a pattern A method of describing information such as an offset, a start time and interval, a data location index, a coding type index, and the like, and a method of grouping tracks and items to describe list information of corresponding groups.

This unit corresponds to one period of a repeating pattern in a track defined in the present invention and is effectively provided as a set unit of physically adjacent samples, so that the unit is defined as a trunk and the above information is provided. We need to place the boxes in trunk.

The unit of the trunk mentioned in the present invention is that the ISO Base Media File Format may be the same unit as the chunk that refers to the set of consecutive samples in one track. In addition, the trunk unit is a MPU (MMT Processing Unit), which refers to a coded media data unit that can be completely processed independently of a specific media codec in a multimedia transmission technology (MMT). Specifies that the same unit can be used.

Description of the drawings according to the following embodiment includes a hierarchical box defined in the ISO Base Media File Format, and based on the ISO Base Media File Format, Boxes on the overall structure of the new file format. Each box is configured in a form containing encoded media data and attribute information on the media data.

1 illustrates a box syntax based on an existing ISO Base Media File Format that provides duration information of samples constituting fragments in one media stream. A box providing sample duration information according to an embodiment of the present invention corresponds to one period of a repeating pattern in a track and includes samples belonging to a trunk unit that is a collection of physically adjacent samples. It may have a sample-count value as many as the number, and may describe a sample-duration value for each sample by the number of samples belonging to this trunk unit. When the sample duration is described in this way, when all the samples in the trunk have the same sample duration, data waste that duplicates the same information is generated.

FIG. 2 is a diagram illustrating syntax of a box that provides sample duration information using a default sample duration value according to an embodiment. When the durations of all the samples belonging to the trunk unit are the same, the duration information of the samples is described by using a default sample duration value, and when the durations of the samples in the trunk unit are different, Equally, the duration value of each sample can be described. By describing the sample duration information using the default sample duration value, when the sample duration of the samples in the trunk is the same, it is possible to reduce the hassle of repeatedly describing the same information.

FIG. 3 illustrates a file structure for a case in which sample-duration information is provided using a default sample duration value according to an embodiment. The file structure has a segment file structure that is suitable for the transmission, storage, and streaming environment of media files. The box structure includes a styp box 310 representing segment type information, an init box 320 including initial attribute information of media data, and a moof box including attribute information about a fragment of a media stream in a segment ( 330 and an mdat box 340 including encoded media data. The traf box belonging to the moof box 330 is a box containing fragment composition information of a track or streams included in a fragment of a media stream. The traf box is a set of physically adjacent samples corresponding to one period of a repeating pattern in the track. Contains a trnk box that provides time and attribute information about the trunk. Inside the trnk box is a dura box that provides the duration values of the samples belonging to the trunk. The method for describing the duration of samples using the default sample duration presented in the present invention is described in the above dura box. If the samples in the trunk have the same sample duration, the default sample-duration field can be used to describe the duration values of the samples in the trunk, and the samples in the trunk have the same sample duration. Otherwise, as in the conventional method, each sample duration value can be described by the number of samples in the trunk. According to the sample duration description method proposed in the present invention, when the sample duration of the samples in the trunk is the same, it is possible to reduce the trouble of repeatedly describing the same sample duration value.

4 is a diagram illustrating a structure of a smap box 400 including basic attribute information of a segment or fragment unit in a new file format structure suitable for a transmission, storage, and streaming environment of media data, according to an exemplary embodiment. In the samp box 400, a box providing information about a segment or a fragment includes a scnt box 410 providing a number of segments or fragments, and a stsz providing a data byte size of a segment or fragment. Box 420, sbgp box 430 providing group information between segments or fragments, dura box 440 providing duration of a segment or fragment, overlap time information of segments or fragments There is an ovlp box 450 and the like. Among the above boxes, time scale information providing a measure of time value is essentially required for the information of the dura box 440 providing the duration information and the ovlp box 450 providing the overlapping time information. do. Therefore, according to the method of providing time scale for the time information presented in the present invention, time scale values provided to the boxes describing the time information in the smap box 400 are described in the tims box 460.

FIG. 5 includes time scale information required for describing duration information and overlap time information of a segment or a fragment provided in the smap box according to an embodiment. The syntax of the box is shown. The tims box contains a time scale field for time information about the segment or fragment provided in the smap box.

FIG. 6 is an offset value of an initial sample sequence number provided at a predetermined interval among a sequence of consecutive samples and a pattern appearing in a sample sequence. FIG. Shows the syntax of the box that provides. This box provides an initial-sequence field that provides the initial sample number of the decoding order of the samples in a certain interval of the sample column, and the offset value of the pattern appearing in the sample column. Has a pattern-phase field. The start of the decoding order of the samples input to the decoder may be indicated through an initial-sequence field that provides information on the initial value of the decoding order. After the decoding operation, the sample string performs a re-ordering process in accordance with the presentation order. This re-ordering process generally corresponds to one period of a repeating pattern in a track, and the pattern is repeated in a trunk unit, which is a set of physically adjacent samples. Therefore, according to the method proposed in the present invention, it is preferable that the initial sample number and the pattern offset information should be provided in the trunk. The unit of the trunk mentioned in the present invention is that the ISO Base Media File Format may be the same unit as the chunk that refers to the set of consecutive samples in one track. In addition, the trunk unit is a MPU (MMT Processing Unit), which refers to a coded media data unit that can be completely processed independently of a specific media codec in a multimedia transmission technology (MMT). Specifies that the same unit can be used.

FIG. 7 illustrates a re-ordering process between a decoding order and a presentation order in a sample sequence according to an embodiment. An initial decoding number of a sample may be known through an initial sequence number 710, and may be input to a decoder according to a decoding order of each sample based on this. After the restoration process, the output sample sequence performs a re-ordering operation according to the presentation order for the presentation. Generally, this re-ordering operation corresponds to one period of a repeating pattern in a track and is repeated in a trunk 720 which is a set of physically adjacent samples. In addition, it can be seen that the pattern of samples in the sample row is also repeated in the trunk unit. Therefore, according to the method for providing initial sample number and pattern offset information presented in the present invention, an initial sample number and a sample sequence describing an initial value of a decoding order of samples. Pattern offset information describing the offset value of the repeated pattern among the () is required to be provided in the trunk unit.

8 is a syntax of a time and duration (tidu) box that provides information about a start time and duration of a fragment in a media stream, according to an embodiment. Shows. The tidu box includes a start-time field describing the start time of a certain fragment in the media stream and a duration field describing the duration of the media stream fragment.

FIG. 9 illustrates information on a start time and a duration shown in FIG. 8 when a random access operation is performed in a media stream according to an embodiment. FIG. 2 illustrates a case in which one (a) and one (b) are not provided in units of a trunk 910 corresponding to one period of a repeating pattern and are a set of physically adjacent samples. Referring to FIG. 9, in general, samples 920 capable of random access among media streams are shown in units of the trunk 910. In this situation, if start-time and duration information is not provided in the trunk 910 (a), the start sample may be obtained from the start sample to know the time of the random access sample. Complexity is required to calculate the duration of all samples up to randomly accessible sample 920. On the other hand, when the start time and duration information are provided in the trunk 910 unit (b), random access can be performed more efficiently since it can be moved by the duration of the trunk from the start time. Accordingly, the start time and duration information shown in FIG. 8 correspond to one period of a repeating pattern in a track and are provided for each trunk unit, which is a set of physically adjacent samples. Is efficient.

FIG. 10 illustrates a data location type (loct) box including index information that may indicate a reference method, an encoding type, a presentation type, etc. of corresponding media data in a structure of a storage format according to an embodiment. The boxes to be described below describe boxes on a new file format structure suitable for a transport, storage and streaming environment of media based on the ISO Base Media File Format. The loct box includes a location-index field and encoding type information describing index information of which data reference is used among data reference information of a data reference box containing storage location information of media data. Among the information of the coding type box contained, among the information of the decoding-index field describing the index information on which coding type information is to be used and the presentation type box containing the presentation type information. It includes a presentation-index field that describes index information about which presentation type information is to be used. When the loct box having the above information is provided in the fragment unit which is a fragment of the media presentation, there is a disadvantage that the property of the information provided by the loct box in the fragment should not be changed. . If a data reference, coding type, or presentation type is changed in a fragment that is a fragment of a media presentation, the fragment is divided into two different fragments, The changed attribute information of must be described. Therefore, information such as data reference type, encoding type, and presentation type provided in the loct box corresponds to one period of repeated pattern in the track under the fragment and is described in the trunk unit, which is a collection of physically adjacent samples. Should be.

FIG. 11 illustrates a case in which data reference information is provided in a fragment unit, which is a fragment of media data, among the information of the box shown in FIG. 10 (a) and data reference information is stored in a track. A file structure is illustrated for a case (b) corresponding to one period of a repeating pattern and provided in a trunk unit, which is a set of physically adjacent samples. Referring to FIG. 11, when data reference type information is provided in units of fragments (a), a trunk box of a type 1110 that refers to internal file data and a type 1120 that refers to external file data is included in the data reference type. Therefore, they must be separated into different fragment units. That is, there is a possibility that a data reference attribute is changed in a fragment that is a fragment of a media presentation. In this case, trunk boxes having two different data reference types in one fragment cannot be represented. This has the disadvantage that a fragment of the media presentation may occur irregularly depending on the data reference type. On the other hand, if the data reference type information is provided in a trunk unit, which is a set of physically adjacent samples corresponding to one period of a repeating pattern in a track (b), it is a fragment of a media presentation. Even if there are trunk units having different data reference attributes in the fragment, the data reference information is described below the trunk unit, thereby eliminating the need to separate fragments that are fragments of the media presentation according to the data reference information. In this context, there is a possibility that the coding type and the presentation type mentioned in FIG. 10 are changed in one fragment, and thus, not only the data reference type but also the coding type ( Information such as coding type and presentation type also corresponds to one period of a repeating pattern in a track, and is efficiently provided in a trunk unit, which is a set of physically adjacent samples.

12 illustrates the syntax of a box describing group relationships between tracks based on the existing ISO Base Media File Format. Some tracks are grouped together for presentation purposes across multiple tracks. Grouping information between these tracks is provided in this box. This box includes a track group type (track_group_type) value that provides a criterion for grouping when grouping between tracks. According to the track group type track_group_type, one or more boxes may be present. This box also includes a track group ID (track_group_id) field that enables identification of the track group type (track_gorup_type). This box displays the track group ID (track_group_id) according to the track group type (track_gorup_type), which exists inside each track, and indicates which track group the track belongs to. It is possible. Such a method of describing group information between tracks can express only a group relationship between a track and a track, and cannot express a group relationship between a track and an item having no temporal concept. Also, in order to recognize the group relationship between tracks, there is a difficulty in analyzing the inside of all tracks.

FIG. 13 shows a group relationship between tracks and tracks, tracks and items, and group relationships between tracks and items in the file as well as tracks and items outside the file. Shows the syntax for a group list box. This box basically describes group information of tracks and items at the track upper end, not at the track lower end. By describing the group information at the upper end rather than at the lower end of the track, it is possible to know the group relation between the track and the item at the upper end of the track without having to interpret all the tracks in order to grasp the group relation between the track and the item. In this type of box, there are glsI boxes using IDs of tracks and items and glsN boxes using names of tracks and items in representing a list of groups. Each box may include a group type box indicating a group type, and within each box, members or members of the group may be represented by IDs or names of tracks and items. First, a box representing a group relationship through the track and item IDs includes a group type value indicating the type of group. It also includes a member_count field that describes the number of tracks and items belonging to the group type. The ID of each track that is a member by the above member_count number can be described in the member_id field. Next, the box representing the group relationship through the track and item names includes a group_type value indicating the type of the group. Also, a member_count field describing the number of tracks and items belonging to the group type is included. It includes a string_length field that describes the length of the track and item name to be described. Based on the member_count and string_length values, track and item names belonging to the corresponding group type may be described. When expressing group relationship through track and item names, the name can be described in the form of a string. Therefore, for the track and items outside the file, a unique string that can identify the track and item can be described. Not only tracks and items, but also group relationships with tracks and items outside the file can be expressed. In addition, by describing the group relationship through the track and item names, the group relationship between the track and the item can also be expressed.

FIG. 14 illustrates a case in which a method of displaying group relationships between tracks based on the existing ISO Base Media File Format shown in FIG. 12 is used in expressing group relationships between tracks and tracks according to the present invention. track (b) shows a case where a group relationship between tracks is expressed by using a group list of a higher stage. When displaying a group relationship between tracks through the existing track group expression method, a group ID according to a group type is described in each track to provide information on a group to which the corresponding track belongs. Referring to FIG. 14A, the video track 1410 includes two track group IDs (track_group_id), and each audio track includes track group IDs 1 and 2. Thus, video track 1410 may be in one group with audio track 1 1420, and the video track may be in another group with audio track 2 1430. When describing the group relationship between tracks in this way, there is a difficulty in analyzing the inside of all tracks in order to identify the group relationship between tracks. In the case of a method of describing a group relationship between tracks using a group list of a higher stage of a track presented in the present invention (b), and referring to FIG. 14 (b), a video track 1450 and an audio track are described. 1 (1460) and audio track 2 (1470) have respective track IDs (track_ID) 1, 2, and 3, and group 1 according to the group type in the group list 1440 of the upper track level. And IDs of member tracks belonging to group 2. Therefore, referring to FIG. 14B, the video track 1450 and the audio track 1 1460 become one group through the information of the group list, and the video track 1450 and the audio track 2 1470 may also be used. You can see that it is represented as another group. The method of expressing the group relationship between tracks through the group list in the upper stage of the track proposed in the present invention eliminates the difficulty of analyzing the inside of all tracks in order to identify the group relationships between tracks, and before analyzing the inside of the tracks. The advantage is that the tracks of the groups required for the presentation presented through the group list are recognized and only those tracks are interpreted.

FIG. 15 illustrates a group relationship between tracks and tracks or between tracks and items by using a group list of the upper stage of a track according to the present invention. A group list 1510 describing a group relationship between tracks and a group list 1520 describing a group relationship between tracks inside the file and tracks and items outside the file using the names of tracks and items. The file 1 includes a video track 1530 and an audio track 1540, and the group relationship between the two tracks can be described through a group list 1510 using names of tracks and items at the upper end of the track. Do. Accordingly, the ID (ID) of the video track 1530 and the audio track 1540 included in the file 1 are described as a member ID (member_id) of the group 1 in the group list 1510. On the other hand, in expressing group relations with tracks and items outside the file, it is impossible to use the ID of each track. In such a case, the group relationship can be displayed only through a unique name for identifying tracks and items outside the file. Referring to FIG. 15, a video track 1530 in file 1 has a group relationship with an audio track 1550 belonging to file 2 outside file 1 and an item 1560 having no temporal concept. In the above case, if the group list is expressed using the IDs of the tracks and the items, the IDs of the tracks and the items may overlap, and thus, each track and the item cannot be identified. Accordingly, the group relationship with the track and the item outside the file can be expressed through the group list 1520 indicating the group relationship by using the names of the track and the item presented in the present invention. Referring to FIG. 15, video track 1530 in file 1 and audio track 1550 and item 1560 in file 2 each include a unique name. Using the above names, the names of tracks and items that become members belonging to group 2 are described in the group list 1520. As mentioned in FIG. 13, a field for describing a track and a name is a string type field, and thus, a location and name of a file for identifying a track and an item outside the file may be described. . Through the above method, not only the tracks and items inside the file but also the group relationship between the tracks and items outside the file can be expressed.

FIG. 16 is a flowchart illustrating a process of providing a group relationship between tracks and tracks or between tracks and items using the group list shown in FIGS. 14 and 15. At step 1610, a media segment file is received. In step 1620, the received media segment file based on the ISO Base Media File Format is stored in the storage. In operation 1630, media attribute information is analyzed from a media segment file in a file format. In operation 1640, the presence or absence of a group list that provides group relationship information between tracks and tracks or between tracks and items is determined from the analyzed media attribute information. Step 1650 corresponds to a case where a group list exists in step 1640, and is applied to a group that can be presented based on group relationship information between tracks and tracks provided by the group list or between tracks and items. Selectively analyzes attribute information of belonging tracks or items. Step 1660 corresponds to the case where the group list does not exist in step 1640, and analyzes all track and item attribute information in the media segment file. In step 1670, the media data is restored and played using the media attribute data analyzed in the two cases of steps 1650 and 1660.

FIG. 17 illustrates a method for describing a sample duration using a default sample duration presented in the present invention, a method for providing time scale information required for time information presentation, a sample initial number, and a pattern offset ( pattern offset), start time and interval, data location index, coding type index, and the like, which correspond to one period of repeated patterns in a track and provide a unit of trunk, which is a set of physically adjacent samples. Shows a general structure of a file format including a method of providing a group list describing group relationship information between tracks and items in or out of a file.

18 is a block diagram of a terminal to which the present invention is applied.

The terminal 1800 includes a file parser 1820 and a decoder 1830.

File parser 1820 analyzes the file being proposed in the present invention. The terminal then decodes and plays the analyzed file through the decoder 1830.

Although not shown in the drawing, the controller performs not only the operation of the terminal of FIG. 16 but also operations that may be generated in the terminal according to an embodiment of the present invention.

19 is a block diagram of a server to which the present invention is applied.

The server 1900 includes a service data provider 1910 and a file generator 1914.

The service data provider 1910 of the server 1900 has all service sources. The file generator 1914 of the server 1900 generates not only the file of FIG. 17 but also the file proposed in the present invention.

The controller, which is not illustrated in the drawings, performs operations that may occur in a server according to an embodiment of the present invention.

In addition, although not shown, data may be recorded, stored, and reproduced according to a file generated by the embodiment of the present invention. That is, the sample duration information and the time scale of a sample indicating one frame unit in one file proposed in the present invention on a storage medium (for example, CD, DVD, BD, USB, etc.) (time scale) information, a sample initial number, pattern offset, start time and interval required for a unit of trunk, a set of physically contiguous samples, corresponding to one period of repeating pattern in a track, Information such as a data location index, a coding type index, and tracks and items are grouped to store list information of corresponding groups.

When storing and reproducing through a storage medium, in the description of the embodiment, by replacing the URL information with the storage location information (for example, memory address, etc.), it can be more easily stored and reproduced.

While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, and that various modifications and changes may be made by those skilled in the art.

Claims (4)

In the file playback method in the terminal,
Receiving and analyzing at least one of default sample duration information, time scale information, trunk related information, and group related information;
Decoding based on the analysis result,
And at least one of the default sample duration information, time scale information, and group related information is included in one file.
In the file playback apparatus in the terminal,
An analyzer for receiving and analyzing at least one of default sample duration information, time scale information, trunk related information, and group related information;
A decoder that decodes based on the analysis result,
And at least one of the default sample duration information, time scale information, trunk related information, and group related information is included in one file.
In the file transfer method on the server,
Generating at least one of default sample duration information, time scale information, trunk related information, and group related information for file transfer; And
Transmitting at least one of the generated default sample duration information, time scale information, trunk related information, and group related information to the terminal.
And at least one of the default sample duration information, time scale information, trunk related information, and group related information is transmitted in one file.
In the file transfer apparatus in the server,
A generation unit generating at least one of default sample duration information, time scale information, trunk related information, and group related information for file transmission; And
And a transmitter for transmitting at least one of the generated default sample duration information, time scale information, trunk related information, and group related information.
And at least one of the default sample duration information, time scale information, trunk related information, and group related information is transmitted in one file.
KR1020120075654A 2012-07-11 2012-07-11 Method and apparatus for generating, playing file KR20140008194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120075654A KR20140008194A (en) 2012-07-11 2012-07-11 Method and apparatus for generating, playing file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120075654A KR20140008194A (en) 2012-07-11 2012-07-11 Method and apparatus for generating, playing file

Publications (1)

Publication Number Publication Date
KR20140008194A true KR20140008194A (en) 2014-01-21

Family

ID=50142178

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120075654A KR20140008194A (en) 2012-07-11 2012-07-11 Method and apparatus for generating, playing file

Country Status (1)

Country Link
KR (1) KR20140008194A (en)

Similar Documents

Publication Publication Date Title
US7772998B2 (en) Method and apparatus for encoding/decoding metadata
KR100618473B1 (en) Method, machine-readable medium, apparatus and system for providing navigation for mpeg streams
JP4481889B2 (en) Data recording apparatus and method, program, and recording medium
JP2018170791A (en) Method and apparatus for transmitting and receiving content
CN109194980A (en) Transcriber and reproducting method
CN101842786A (en) Fast and editing-friendly sample association method for multimedia file formats
JP2008136204A (en) System and method for streaming, receiving and processing flex mux stream
CN101179682A (en) Method for detecting and processing interruptions in scheduled programs and digital recorder
CN102782684B (en) For sending and receive the method and apparatus of the content file comprising multiple stream
CN102474588B (en) Transmission control device, receiving control device, sending control method, acceptance control method
WO2006041260A1 (en) Extended multimedia file structure and multimedia file producting method and multimedia file executing method
US20230025332A1 (en) Method, device, and computer program for improving encapsulation of media content
US20100098161A1 (en) Video encoding apparatus and video encoding method
RU2005136979A (en) DEVICE AND METHOD FOR RECORDING INFORMATION
CN110740391A (en) method for repairing MP4 damaged files
CN102969013A (en) Data processing apparatus, method, and control program
CN103430558A (en) A method for optimizing a video stream
CN100431016C (en) Optical disk with universal logic format
KR20150045349A (en) Method and apparatus for constructing sensory effect media data file, method and apparatus for playing sensory effect media data file and structure of the sensory effect media data file
CN100484229C (en) Demultiplexing device and multiplexing device
KR101051063B1 (en) Video recording and playback device, video recording method, video playback method and video recording playback method
KR101295377B1 (en) Method for constructing of file format and apparatus and method for processing broadcast signal with file which has file format
WO2022070903A1 (en) Information processing device and method
US20240046562A1 (en) Information processing device and method
KR20140008194A (en) Method and apparatus for generating, playing file

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination