KR100660024B1 - Method and apparatus for addressing media resource, and recording medium thereof - Google Patents
Method and apparatus for addressing media resource, and recording medium thereof Download PDFInfo
- Publication number
- KR100660024B1 KR100660024B1 KR1020030071590A KR20030071590A KR100660024B1 KR 100660024 B1 KR100660024 B1 KR 100660024B1 KR 1020030071590 A KR1020030071590 A KR 1020030071590A KR 20030071590 A KR20030071590 A KR 20030071590A KR 100660024 B1 KR100660024 B1 KR 100660024B1
- Authority
- KR
- South Korea
- Prior art keywords
- file
- media
- media resource
- mpeg
- resource
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/85403—Content authoring by describing the content as an MPEG-21 Digital Item
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234309—Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
Abstract
본 발명은 미디어 자원 어드레싱 방법 및 장치와 그 기록 매체에 관한 것이다. 본 발명에 따른 미디어 자원 어드레싱 방법은 DID를 포함하는 메타 데이터 영역과 미디어 데이터 영역을 포함하는 미디어 파일의 미디어 자원 어드레싱 방법으로서, DID에 기록된 미디어 자원의 참조 정보에 따라 해당 미디어 자원을 추출하는 단계, 추출된 미디어 자원을 미디어 데이터 영역에 저장하는 단계, 미디어 자원의 표준 위치 정보를 생성하는 단계, 생성된 표준 위치 정보를 메타 데이터 영역에 저장하는 단계, 및 메타 데이터 영역 및 미디어 데이터 영역을 파일화하는 단계를 포함한다. The present invention relates to a method and apparatus for media resource addressing and a recording medium thereof. The media resource addressing method according to the present invention is a media resource addressing method of a media file including a meta data region and a media data region including a step of extracting a corresponding media resource according to reference information of a media resource recorded in the DID. Storing the extracted media resource in the media data area, generating standard location information of the media resource, storing the generated standard location information in the metadata area, and filing the metadata area and the media data area. It includes a step.
미디어 자원, MPEG-21, 표준 위치 정보, DID, 어드레싱 방법Media resource, MPEG-21, standard location information, DID, addressing method
Description
도 1은 WD1.1에 기초한 ISO 미디어 파일 포맷을 개념적으로 도시한 블록도이다.1 is a block diagram conceptually illustrating an ISO media file format based on WD1.1.
도 2는 본 발명의 일실시예에 따른 미디어 자원 어드레싱 장치를 도시한 것이다.2 illustrates a media resource addressing apparatus according to an embodiment of the present invention.
도 3은 본 발명의 제1 실시예에 따른 미디어 자원 어드레싱 방법을 도시한 순서도이다.3 is a flowchart illustrating a media resource addressing method according to a first embodiment of the present invention.
도 4는 본 발명의 제2 실시예에 따른 미디어 자원 어드레싱 방법을 도시한 순서도이다.4 is a flowchart illustrating a media resource addressing method according to a second embodiment of the present invention.
본 발명은 미디어 자원 어드레싱 방법 및 장치에 관한 것으로서, 더욱 상세하게는 MPEG(Motion Picture Experts Group)-21 파일 포맷에서 미디어 자원을 어드레싱하는 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for media resource addressing, and more particularly, to a method and apparatus for addressing media resources in a Motion Picture Experts Group (MPEG) -21 file format.
MPEG-21은 MPEG 내의 한 분과로서, 인터넷 상의 이질적인 분산체제에서 멀티 미디어 정보들의 효율적인 전송 및 유통을 위한 기반구조를 확립하기 위하여 유통 프레임워크를 구축하고 다양한 요소기술들의 정립 및 이와 관련된 기술 표준을 개발하는 것을 목표로 하고 있다.MPEG-21 is a branch of MPEG that establishes a distribution framework and establishes various element technologies and related technical standards to establish an infrastructure for efficient transmission and distribution of multimedia information in heterogeneous distributed systems on the Internet. Aim to do.
현재, MPEG-21 파일 포맷 WD1.1로서 ISO 미디어 파일 포맷에 기초한 DID 및 미디어 콘텐츠 저장을 위한 기본적인 구조가 제시되었으나, DID 내의 미디어 자원을 어드레스하기 위한 구체적인 방법에 대해서는 제시되어 있지 않은 상황이다.Currently, the basic structure for storing DID and media content based on the ISO media file format as MPEG-21 file format WD1.1 has been proposed, but no specific method for addressing media resources in the DID has been presented.
본 발명의 목적은 MPEG-21 파일 포맷에서 미디어 자원을 어드레싱하기 위한 방법 및 장치를 제공하기 위한 것이다.It is an object of the present invention to provide a method and apparatus for addressing media resources in the MPEG-21 file format.
본 발명의 다른 목적은 ISO 미디어 파일 포맷에서 MPEG-21 파일과 MPEG-4 파일의 호환성이 제공되도록 미디어 자원을 어드레싱하기 위한 방법 및 장치를 제공하기 위한 것이다. It is another object of the present invention to provide a method and apparatus for addressing media resources such that compatibility of MPEG-21 files with MPEG-4 files is provided in the ISO media file format.
본 발명의 하나의 특징에 따른 미디어 자원 어드레싱 방법은 DID를 포함하는 메타 데이터 영역 및 미디어 데이터 영역을 포함하는 미디어 파일의 미디어 자원 어드레싱 방법으로서, 상기 DID에 기록된 미디어 자원의 참조 정보에 따라 해당 미디어 자원을 추출하는 단계; 추출된 상기 미디어 자원을 상기 미디어 데이터 영역에 저장하는 단계; 상기 미디어 자원의 표준 위치 정보를 생성하는 단계; 상기 생성된 표준 위치 정보를 상기 메타 데이터 영역에 저장하는 단계; 및 상기 메타 데이터 영역 및 상기 미디어 데이터 영역을 파일화하는 단계를 포함한다. A media resource addressing method according to an aspect of the present invention is a media resource addressing method of a media file including a meta data area and a media data area including a DID, and corresponding media according to reference information of the media resource recorded in the DID. Extracting resources; Storing the extracted media resource in the media data area; Generating standard location information of the media resource; Storing the generated standard location information in the metadata area; And filing the meta data area and the media data area.
본 발명의 하나의 특징에 따른 미디어 자원 어드레싱 방법에 있어서, 상기 미디어 자원의 표준 위치 정보는 상기 미디어 자원이 저장되는 상기 미디어 데이터 영역의 오프셋 값을 이용하여 생성된다.In the media resource addressing method according to an aspect of the present invention, standard position information of the media resource is generated using an offset value of the media data area in which the media resource is stored.
본 발명의 하나의 특징에 따른 미디어 자원 어드레싱 방법에 있어서, 상기 미디어 자원이 MPEG-4 파일에 존재하는 경우, 상기 표준 위치 정보는 상기 미디어 데이터 영역에 저장되는 상기 MPEG-4 파일의 오프셋 값과, 상기 MPEG-4 파일에서의 상기 미디어 자원의 위치 정보를 이용하여 생성된다.In the media resource addressing method according to an aspect of the present invention, when the media resource is present in an MPEG-4 file, the standard position information includes an offset value of the MPEG-4 file stored in the media data area; The location information of the media resource in the MPEG-4 file is generated.
본 발명의 하나의 특징에 따른 미디어 자원 어드레싱 방법에 있어서, 상기 MPEG-4 파일에 존재하는 미디어 자원의 위치 정보는 상기 MPEG-4 파일의 메타 데이터 영역 내에 존재하는 트랙 값이다.In the media resource addressing method according to an aspect of the present invention, the position information of the media resource present in the MPEG-4 file is a track value present in the metadata area of the MPEG-4 file.
본 발명의 하나의 특징에 따른 미디어 자원 어드레싱 방법에 있어서, 상기 MPEG-4 파일에 존재하는 미디어 자원의 위치 정보는 상기 미디어 자원의 ODID(Object Descriptor ID) 및 ESID(Elementary Streem ID) 값이다.In the media resource addressing method according to an aspect of the present invention, the location information of the media resource present in the MPEG-4 file is an Object Descriptor ID (ODID) and an Elementary Streem ID (ESID) value of the media resource.
본 발명의 하나의 특징에 따른 미디어 자원 어드레싱 방법에 있어서, 상기 메타 데이터 영역은 로컬 아이템 영역을 더 포함하고, 상기 표준 위치 정보는 상기 로컬 아이템 영역에 저장된다.In the media resource addressing method according to an aspect of the present invention, the metadata area further includes a local item area, and the standard location information is stored in the local item area.
본 발명의 하나의 특징에 따른 미디어 자원 어드레싱 방법에 있어서, 상기 미디어 파일은 MPEG-21 파일이다.In a media resource addressing method according to an aspect of the present invention, the media file is an MPEG-21 file.
본 발명의 다른 특징에 따른 미디어 자원 어드레싱 방법은 DID를 포함하는 메타 데이터 영역 및 미디어 데이터 영역을 포함하는 미디어 파일의 미디어 자원 어드레싱 방법으로서, 상기 DID에 기록된 미디어 자원의 참조 정보를 판독하는 단계; 상기 미디어 자원이 다른 미디어 파일 내에 존재하는 경우, 상기 다른 미디어 파일에서의 상기 미디어 자원의 참조 정보를 판독하는 단계; 상기 미디어 자원의 참조 정보와, 상기 다른 미디어 파일에서의 참조 정보를 이용하여 표준 위치 정보를 생성하는 단계; 상기 표준 위치 정보를 상기 메타 데이터 영역에 저장하는 단계; 및 상기 메타 데이터 영역을 파일화하는 단계를 포함한다. In accordance with another aspect of the present invention, a media resource addressing method includes a media resource addressing method of a media file including a meta data area and a media data area, the method comprising: reading reference information of a media resource recorded in the DID; If the media resource is present in another media file, reading reference information of the media resource in the other media file; Generating standard location information using reference information of the media resource and reference information in the other media file; Storing the standard location information in the metadata area; And filing the metadata area.
본 발명의 하나의 특징에 따른 미디어 자원 어드레싱 장치는 DID를 포함하는 메타 데이터 영역 및 미디어 데이터 영역을 포함하는 MPEG-21 파일의 미디어 자원 어드레싱 장치로서, 상기 DID에 기록된 상기 미디어 자원의 참조 정보를 판독하여, DID가 미디어 자원을 파일 내 또는 파일 외에서 참조하고 있는지 판단하고, DID가 미디어 자원을 파일 내에서 참조하고 있는 경우에는 미디어 자원의 참조 정보를 출력하는 DID 판독부; 상기 DID 판독부로부터 출력된 참조 정보에 의하여 미디어 자원을 추출하고, 상기 미디어 데이터 영역에 저장하는 미디어 자원 추출부; 상기 미디어 자원의 표준 위치 정보를 생성하여, 상기 메타 데이터 영역에 저장하는 표준 위치 생성부; 및 상기 메타 데이터 영역과 상기 미디어 데이터 영역을 하나의 파일로 파일화하는 파일화부를 포함한다. A media resource addressing apparatus according to an aspect of the present invention is a media resource addressing apparatus of an MPEG-21 file including a meta data region including a DID and a media data region, and includes reference information of the media resource recorded in the DID. A DID reading unit that reads, determines whether the DID refers to the media resource in or out of the file, and outputs reference information of the media resource if the DID refers to the media resource in the file; A media resource extracting unit extracting a media resource based on the reference information output from the DID reading unit and storing the media resource in the media data area; A standard location generator for generating standard location information of the media resource and storing the standard location information in the metadata area; And a filing unit for filing the meta data area and the media data area into one file.
본 발명의 하나의 특징에 따른 미디어 자원 어드레싱 프로그램을 기록한 기록 매체는 DID를 포함하는 메타 데이터 영역 및 미디어 데이터 영역을 포함하는 MPEG-21 파일의 미디어 자원 어드레싱 프로그램을 기록한 기록 매체로서, 상기 미디어 자원 어드레싱 프로그램은 상기 DID에 기록된 미디어 자원 참조 정보를 판독 하는 기능; 상기 DID가 미디어 자원을 파일 내에서 참조하는 경우에 미디어 자원을 추출하여 상기 미디어 데이터 영역에 저장하고, 상기 미디어 자원이 저장되는 상기 미디어 데이터 영역의 오프셋 값을 이용하여 미디어 자원의 표준 위치 정보를 생성하는 기능; 및 상기 DID가 미디어 자원을 파일 외에 존재하는 경우에 상기 미디어 자원의 존재하는 위치 정보를 이용하여 미디어 자원의 표준 위치 정보를 생성하는 기능을 포함한다. A recording medium recording a media resource addressing program according to an aspect of the present invention is a recording medium which records a media resource addressing program of an MPEG-21 file including a metadata area including a DID and a media data area. The program reads the media resource reference information recorded in the DID; When the DID refers to a media resource in a file, the media resource is extracted and stored in the media data area, and standard position information of the media resource is generated using an offset value of the media data area in which the media resource is stored. Function; And generating the standard location information of the media resource by using the location information of the media resource when the DID exists outside the file.
이하, 본 발명의 실시예를 도면을 참조하여 상세히 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
도 1은 WD1.1에 기초한 ISO 미디어 파일 포맷을 개념적으로 도시한 블록도이다.1 is a block diagram conceptually illustrating an ISO media file format based on WD1.1.
도 1에 도시된 ISO 미디어 파일 포맷은 MPEG-21 파일뿐만 아니라 MPEG-4 파일을 호환적으로 지원하기 위한 파일 포맷으로서, MPEG-21 파일의 메타 데이터 영역(Meta-data box, 110), 미디어 데이터 영역(mdat, 120), 및 MPEG-4 파일의 메타 데이터 영역(moov, 130)을 포함한다.The ISO media file format shown in FIG. 1 is a file format for supporting MPEG-4 files as well as MPEG-21 files, and includes a metadata area (Meta-data box 110) and media data of MPEG-21 files. Area (mdat) 120 and metadata area (moov) 130 of the MPEG-4 file.
MPEG-21 파일 포맷은 메타 데이터 영역(110) 및 미디어 데이터 영역(120) 포함하고, MPEG-4 파일 포맷은 메타 데이터 영역(130) 및 미디어 데이터 영역(120)을 포함한다.The MPEG-21 file format includes a
MPEG-21 파일 포맷의 메타 데이터 영역(110)은 DID, 핸들러 영역(Handler box), 데이터 정보 영역(DataInformation Box), 아이템 위치 영역(ItemLocation Box) 등을 포함한다. DID는 xml로 표현된 텍스트 문서로서, 미디어 자원의 참조 값이 포함되어 있다. 핸들러 영역은 메타 데이터의 타입을 나타내고, 데이터 정보 영 역은 외부에 존재하는 미디어 데이터의 참조(reference) 정보를 저장한다. 또한, 아이템 위치 영역은 파일 내 또는 외부에 존재하는 미디어 자원의 표준 위치 정보를 포함하여, 미디어 자원에 대한 접근을 가능하게 한다.The
미디어 데이터 영역(120)에는 오디오, 비디오, JPEG 파일 등 다양한 미디어 자원이 저장된다. 특히, MPEG-21 파일 포맷의 경우 미디어 데이터 영역(120)에는, 도 1에 도시된 바와 같이, MPEG-4 파일 포맷의 데이터가 저장될 수 있다.The
MPEG-4 파일의 메타 데이터 영역(130)의 상세한 구조, 기능들은 MPEG-4 system(14496-1)에 자세히 설명되어 있다. MPEG-4 파일의 메타 데이터 영역(130)은 트랙(track)의 집합으로 표현될 수 있고, 각 트랙은 미디어 자원의 정보를 포함하는 미디어(media)를 포함한다. 따라서, 트랙 정보를 이용하여 미디어 데이터 영역(120) 내의 미디어 자원에 접근할 수 있게 된다.The detailed structure and functions of the
도 2는 본 발명의 일실시예에 따른 미디어 자원 어드레싱 장치를 도시한 것이다.2 illustrates a media resource addressing apparatus according to an embodiment of the present invention.
도 2에 도시된 바와 같이, 본 발명의 일실시예에 따른 미디어 자원 어드레싱 장치는 DID 판독부(210), 미디어 자원 추출부(220), 표준 위치 정보 생성부(230), 및 파일화부(240)를 포함한다.As shown in FIG. 2, the media resource addressing apparatus according to an embodiment of the present invention includes a
DID 판독부(210)는 입력된 DID를 판독하여, DID가 미디어 자원을 파일 내 또는 파일 외에서 참조하는지를 판단하고, DID가 미디어 자원을 파일 내에서 참조하는 경우에는 미디어 자원의 참조 정보를 미디어 자원 추출부(220)로 전송한다.The
미디어 자원 추출부(220)는 미디어 자원의 참조 정보에 따라 미디어 자원을 추출하고, 미디어 데이터 영역(120)에 저장한다.The media
표준 위치 정보 생성부(230)는 미디어 자원의 표준 위치 정보를 생성하여 메타 데이터 영역(110)에 저장하고, 파일화부(230)는 메타 데이터 영역(110)과 미디어 데이터 영역(120)을 파일화함으로써, 하나의 MPEG-21 파일을 생성한다.The standard
이하에서는 본 발명의 일실시예에 따른 미디어 자원 어드레싱 방법을 설명한다.Hereinafter, a media resource addressing method according to an embodiment of the present invention will be described.
본 발명의 일실시예에 따르면, 미디어 자원이 파일 내에서 참조될 경우와 파일 외에서 참조될 경우 다른 어드레싱 방법이 적용된다. 따라서, 이하에서는 미디어 자원이 파일 내에서 참조될 경우의 미디어 자원 어드레싱 방법을 제1 실시예로서 설명하고, 미디어 자원이 파일 외에서 참조될 경우의 미디어 자원 어드레싱 방법을 제2 실시예로서 설명한다.According to one embodiment of the present invention, another addressing method is applied when a media resource is referred to in a file and when referred to outside the file. Therefore, hereinafter, the media resource addressing method when the media resource is referred to in the file will be described as the first embodiment, and the media resource addressing method when the media resource is referred to outside the file will be described as the second embodiment.
도 3은 본 발명의 제1 실시예에 따른 미디어 자원 어드레싱 방법을 도시한 순서도이다.3 is a flowchart illustrating a media resource addressing method according to a first embodiment of the present invention.
본 발명의 제1 실시예에 따른 미디어 자원 어드레싱 방법은, 도 3에 도시된 바와 같이, DID 입력 단계(S301), 미디어 자원 참조 정보 판독 단계(S302), 미디어 자원 추출 단계(S303), 미디어 자원 저장 단계(S304), 오프셋 값 판독 단계(S305), 표준 위치 정보 생성 및 저장 단계(S306), 및 파일화 단계(S307)를 포함한다.In the media resource addressing method according to the first embodiment of the present invention, as shown in FIG. 3, the DID input step (S301), the media resource reference information reading step (S302), the media resource extraction step (S303), and the media resource are shown. A storage step S304, an offset value reading step S305, standard position information generation and storage step S306, and a filing step S307.
구체적으로는, DID가 입력되면(S301) DID 판독부(210)가 DID를 판독하여 미디어 자원의 참조 정보(Resource ref)를 추출한다(S302). 그 후, 미디어 자원 추출부(220)가 미디어 자원의 참조 정보(Resource ref)에 의하여 미디어 자원을 추출한 다(S303).Specifically, when a DID is input (S301), the
즉, DID 내에 다음과 같은 참조 정보가 기록된 경우, 미디어 자원 추출부(220)는 C 드라이브에 있는 test.mp4 라는 비디오 파일을 추출하여, 미디어 데이터 영역(120)에 저장한다(S304).That is, when the following reference information is recorded in the DID, the media
<Resource ref="c:\test.mp4" mimeType="video/mp4"><Resource ref = "c: \ test.mp4" mimeType = "video / mp4">
그 후, 미디어 자원이 저장된 미디어 데이터 영역(120)의 오프셋 값을 산출하여(S305) 표준 위치 정보를 생성하고, 메타 데이터 영역(110)에 저장한다(S306). 여기서, 오프셋 값이란 추출된 미디어 자원이 미디어 데이터 영역(120) 내에 저장되는 위치를 의미하며, 각 미디어 자원을 미디어 데이터 영역(120)에 차례로 저장시키면 저장된 각 자원의 크기에 따라 다음에 저장될 미디어 자원의 오프셋 값이 정해지게 된다.Thereafter, the offset value of the
본 발명의 제1 실시예에 따르면, 표준 위치 정보는 메타 데이터 영역(110)의 소정 위치에 저장될 수 있으며, 메타 데이터 영역(110) 중에서도 아이템 위치 영역에 저장될 수 있다.According to the first embodiment of the present invention, the standard location information may be stored in a predetermined position of the
이 후, 파일화 과정(S307)이 수행되면, 메타 데이터 영역(110)과 미디어 데이터 영역(120)이 하나의 MPEG-21 파일로 형성된다.Thereafter, when the filing process S307 is performed, the
이하, 본 발명의 제1 실시예에 따른 표준 위치 정보의 생성 방법에 대하여 구체적으로 설명한다.Hereinafter, a method of generating standard position information according to the first embodiment of the present invention will be described in detail.
본 발명의 제1 실시예에 따르면, 미디어 자원이 일반적인 비디오 파일이나, 오디오 파일, JPEG 파일 등의 경우에 다음과 같이 오프셋 값을 이용하여 표준 위치 정보를 생성할 수 있다.According to the first embodiment of the present invention, when the media resource is a general video file, an audio file, a JPEG file, or the like, standard position information may be generated using an offset value as follows.
<Resource target="offset=1000" mimeType="video/mp4"><Resource target = "offset = 1000" mimeType = "video / mp4">
파일 내에 존재하는 미디어 자원이 MPEG-4 파일인 경우에는, MPEG-4 파일의 메타 데이터 영역(130) 내에 존재하는 트랙 값을 이용하여 다음과 같이 표준 위치 정보를 생성할 수 있다.When the media resource existing in the file is an MPEG-4 file, standard position information may be generated as follows using the track value existing in the
<Resource target="#offset=1000/moov/trak[1]" mimeType="video/mp4"><Resource target = "# offset = 1000 / moov / trak [1]" mimeType = "video / mp4">
상기 표준 위치 정보는 MPEG-4 파일의 메타 데이터 영역(130) 중 첫 번째 트랙에서 지시하는 비디오 타입의 ES(Elementary stream)를 의미하며, 상기 위치 정보에 의하여 MPEG-4 파일에의 접근 및 재생이 가능하게 된다.The standard position information refers to an elementary stream (ES) of a video type indicated by the first track of the
또한, 미디어 자원이 MPEG-4 파일인 경우에는, 다음과 같이 오프셋 값과 트랙 값 사이에 포함되는 moov를 삭제하고, 특수 기호 '/'를 추가함으로써, 참조하고자 하는 파일이 MPEG-4 파일 포맷임을 나타낼 수 있다.In the case where the media resource is an MPEG-4 file, as shown below, the moov included between the offset value and the track value is deleted and the special symbol '/' is added to indicate that the file to be referred to is the MPEG-4 file format. Can be represented.
<Resource target="#offset=1000//trak[1]" mimeType="video/mp4"><Resource target = "# offset = 1000 // trak [1]" mimeType = "video / mp4">
나아가, 본 발명의 제1 실시예에 따르면, MPEG-4 파일 내 특정 ODID와 ESID 값을 가진 ES를 참조하고자 하는 경우 다음과 같이 오프셋 값과 ODID, ESID 값의 조합으로 표준 위치 정보를 생성할 수 있다.Furthermore, according to the first embodiment of the present invention, when referring to an ES having a specific ODID and ESID value in an MPEG-4 file, standard position information may be generated by a combination of an offset value, an ODID, and an ESID value as follows. have.
<Resource target="#offset=1000:odid=0x10&esid=0x11"><Resource target = "# offset = 1000: odid = 0x10 & esid = 0x11">
즉, odid 값이 0x10이고, esid 값이 0x11인 경우, 오프셋 값과, MPEG-4 파일의 odid 값 및 esid 값을 사용함으로써, 어드레싱할 수 있다.That is, when the odid value is 0x10 and the esid value is 0x11, addressing can be performed by using the offset value, the odid value and the esid value of the MPEG-4 file.
도 4는 본 발명의 제2 실시예에 따른 미디어 자원 어드레싱 방법을 도시한 순서도이다.4 is a flowchart illustrating a media resource addressing method according to a second embodiment of the present invention.
본 발명의 제2 실시예에 따른 미디어 자원 어드레싱 방법은 미디어 자원이 파일 외에서 참조될 경우의 어드레싱 방법으로서, DID 입력 단계(S401), 미디어 자원 참조 정보 판독 단계(S402), 미디어 자원이 MPEG-4 파일인가를 판단하는 단계(S403), MPEG-4 파일의 위치 정보 추출 단계(S404), 표준 위치 정보 생성 단계(S405), 및 파일화 단계(S406)를 포함한다.The media resource addressing method according to the second embodiment of the present invention is an addressing method when a media resource is referred to outside of a file, and includes a DID input step (S401), a media resource reference information read step (S402), and a media resource as MPEG-4. It is determined whether the file is a file (S403), the location information extraction step (S404) of the MPEG-4 file, the standard location information generation step (S405), and the file conversion step (S406).
구체적으로는, DID가 입력되면(S401), DID 판독부(210)가 미디어 자원의 참조 정보(Resource Ref)를 판독하고(S402), 미디어 자원이 존재하는 URL 정보를 추출한다.Specifically, when a DID is input (S401), the DID reading
그 후, 참조하고자 하는 미디어 자원의 위치 정보를 판독한다(S403). 즉, 미디어 자원이 MPEG-4 파일 내에 존재하는 경우에는 메타 데이터 영역(130)의 트랙 정보 또는 ESID, OSID 등을 추출하고, 미디어 자원이 MPEG-21 파일인 경우에는 미디어 자원이 존재하는 오프셋 값 등을 추출한다.After that, the positional information of the media resource to be referred to is read (S403). That is, if the media resource exists in the MPEG-4 file, the track information or ESID, OSID, etc. of the
표준 위치 정보 생성부(230)는 상기 추출된 정보들을 이용하여 표준 위치 정보를 생성하여, 메타 데이터 영역(110)에 저장한다(S404). 그 후, 파일화부(240)가 메타 데이터 영역을 파일화함으로써(S405), 표준 위치 정보가 기록된 MPEG-21 파일이 생성된다.The standard location
이하, 본 발명의 제2 실시예에 따른 표준 위치 정보의 생성 방법에 대하여 구체적으로 설명한다.Hereinafter, a method of generating standard location information according to a second embodiment of the present invention will be described in detail.
본 발명의 제2 실시예에 따른 표준 위치 정보 생성 방법은 미디어 자원이 존 재하는 URL을 이용하거나 참조하고자 하는 미디어 자원이 MPEG-21 파일인 경우에는 URL과 MPEG-4 파일의 트랙 정보, MPEG-4 파일의 ESID, OSID 등을 이용하여 표준 위치 정보를 생성한다.In the method of generating standard location information according to the second embodiment of the present invention, the URL and the track information of the MPEG-4 file are used when the media resource to which the media resource exists or the media resource to be referred to is an MPEG-21 file. 4 Create standard location information using the ESID and OSID of the file.
예컨대, 특정 사이트 'www.etri.re.kr'에 존재하는 비디오 파일(test.avi)을 참조하고자 하는 경우에는 비디오 파일이 존재하는 URL을 이용하여 다음과 같이 표준 위치 정보를 생성할 수 있다.For example, when referring to a video file (test.avi) existing at a specific site 'www.etri.re.kr', standard location information may be generated as follows using a URL where a video file exists.
<Resource target="http://www.etri.re.kr/test.avi"mimeType="video/avi"><Resource target = "http://www.etri.re.kr/test.avi" mimeType = "video / avi">
또한, 특정 사이트 'www.etri.re.kr'에 존재하는 MPEG-4 파일 'test.mp4'의 첫 번째 트랙 값 'track[1]'에서 지시하는 ES를 외부에서 참조하고자 하는 경우, MPEG-4 파일이 존재하는 URL 및 ES를 지시하는 트랙 정보를 이용하여 다음과 같이 표준 위치 정보를 생성할 수 있다.Also, if you want to externally refer to the ES indicated by the first track value 'track [1]' of the MPEG-4 file 'test.mp4' that exists on a specific site 'www.etri.re.kr', MPEG- 4 Standard location information can be generated as follows using track information indicating the URL where the file exists and the ES.
<Resource target=http://www.etri.re.kr/test.mp4:moov/track[1]"mime Type="video/mp4"><Resource target = http: //www.etri.re.kr/test.mp4: moov / track [1] "mime Type =" video / mp4 ">
이 경우, moov 대신에 특수 기호 '/'를 추가함으로써, 참조하고자 하는 파일이 MPEG-4 파일임을 나타낼 수 있다. In this case, by adding the special symbol '/' instead of moov, it may indicate that the file to be referred to is an MPEG-4 file.
또한, MPEG-4 파일 내 첫 번째 트랙에서 존재하는 미디어(media)에서 나타내는 ES를 외부에서 참조하고자 하는 경우, MPEG-4 파일이 존재하는 URL, ES를 지시하는 트랙 정보, 및 미디어 정보를 이용하여 다음과 같이 표준 위치 정보를 생성할 수 있다.In addition, when externally referring to the ES indicated by the media existing in the first track in the MPEG-4 file, the URL in which the MPEG-4 file exists, track information indicating the ES, and media information are used. You can create standard location information as follows:
<Resource target=http://www.etri.re.kr/test.mp4:moov/track[1]/media "mime Type="video/mp4"><Resource target = http: //www.etri.re.kr/test.mp4: moov / track [1] / media "mime Type =" video / mp4 ">
이 경우에도, moov를 특수 기호 '/'로 대체할 수 있다.In this case too, moov can be replaced with the special symbol '/'.
나아가, 본 발명의 일실시예에 따르면, MPEG-4 파일 내 특정 ODID와 ESID 값을 가진 ES를 참조하고자 하는 경우 다음과 같이 MPEG-4 파일이 존재하는 URL과, ES의 ODID, ESID의 조합으로 표준 위치 정보를 생성할 수 있다.Furthermore, according to an embodiment of the present invention, when referring to an ES having a specific ODID and ESID value in an MPEG-4 file, a combination of a URL where an MPEG-4 file exists and an ODID and ESID of the ES is as follows. Standard location information can be generated.
<Resource target=" http://www.etri.re.kr/test.mp4:odid=0x10&esid=0x11"><Resource target = "http://www.etri.re.kr/test.mp4:odid=0x10&esid=0x11">
즉, ODID 값이 0x10이고, ESID 값이 0x11인 경우, URL과 MPEG-4 파일의 ODID 값 및 ESID 값을 사용함으로써, 어드레싱할 수 있다.That is, when the ODID value is 0x10 and the ESID value is 0x11, addressing can be performed by using the ODID value and the ESID value of the URL and the MPEG-4 file.
또한, 외부에 존재하는 MPEG-21 파일 내 특정 위치에 저장된 MPEG-4 파일을 참조하고자 하는 경우에는, MPEG-21 파일이 존재하는 사이트의 URL, 상기 MPEG-4 파일이 저장된 미디어 데이터 영역(120)의 오프셋 값, MPEG-4 파일의 ODID 및 ESID의 조합을 포함하여 표준 위치 정보를 생성할 수 있다.In addition, when referring to an MPEG-4 file stored at a specific location in an external MPEG-21 file, the URL of a site where the MPEG-21 file exists, the
예컨대, 외부에 존재하는 'test.mp21' 내 오프셋 값이 1000인 위치에 저장된 MPEG-4 파일을 구성하는 여러 ES들 중 odid=0x10, esid=0x11 값을 가진 미디어 자원을 외부에서 참조하는 경우 다음과 같은 형태로 표준 위치 정보를 생성할 수 있다.For example, when referencing a media resource with odid = 0x10 and esid = 0x11 from among ESs constituting an MPEG-4 file stored at an offset value of 1000 in 'test.mp21' externally, Standard location information can be created in the form of.
< Resource ref= "http://www.etri.re.kr/test.mp21#offset=1000:odid=0x10&esid=0x11"><Resource ref = "http://www.etri.re.kr/test.mp21#offset=1000:odid=0x10&esid=0x11">
이와 같은 방법으로, 외부에 존재하는 MPEG-21 파일 내에 존재하는 여러가지 미디어 자원을 참조할 수 있게 된다. In this way, it is possible to refer to various media resources existing in an externally present MPEG-21 file.
이상으로 본 발명의 일실시예에 따른 표준 위치 정보 생성 방법에 대하여 설명하였다. 본 발명의 일실시예에 따르면, 미디어 자원의 표준 위치 정보는 메타 데이터 영역(110)의 아이템 위치 영역에 저장되며, 이 경우, 아이템 위치 영역을 후술하는 바와 같이 syntax와 semantics로 정의할 수 있다. The standard location information generation method according to an embodiment of the present invention has been described above. According to an embodiment of the present invention, the standard location information of the media resource is stored in the item location area of the
본 발명의 일실시예에 따르면, 아이템 위치 영역의 syntax는 다음과 같이 기술된다. According to one embodiment of the invention, the syntax of the item location area is described as follows.
Item Location Box SyntaxItem Location Box Syntax
aligned(8) class ItemLocationBox extends FullBox('iloc', version = 0, 0) { aligned (8) class ItemLocationBox extends FullBox ('iloc', version = 0, 0) {
unsigned int(4) offset_size; unsigned int (4) offset_size;
unsigned int(4) length_size; unsigned int (4) length_size;
unsigned int(4) base_offset_size;unsigned int (4) base_offset_size;
unsigned int(1) reference_type unsigned int (1) reference_type
unsigned int(3) reserved unsigned int (3) reserved
unsigned int(16) item-count;unsigned int (16) item-count;
for(i=0;i<item-count;i++)for (i = 0; i <item-count; i ++)
{{
unsigned int(16) Item-IDunsigned int (16) Item-ID
unsigned int(16) data-reference-index;unsigned int (16) data-reference-index;
if(reference_type ==0) if (reference_type == 0)
{ {
offset; offset;
length; length;
base_offset; base_offset;
} }
if(reference_type == 1) if (reference_type == 1)
offset;offset;
String location;String location;
}}
}}
또한, 본 발명의 다른실시예에 따르면 아이템 위치 영역의 syntax는 다음과 같이 기술될 수 있다.In addition, according to another embodiment of the present invention, the syntax of the item location area may be described as follows.
aligned(8) class ItemLocationBox extends FullBox('iloc', version = 0, 0) { aligned (8) class ItemLocationBox extends FullBox ('iloc', version = 0, 0) {
unsigned int(4) offset_size; unsigned int (4) offset_size;
unsigned int(4) length_size; unsigned int (4) length_size;
unsigned int(4) base_offset_size;unsigned int (4) base_offset_size;
unsigned int(1) reference_type unsigned int (1) reference_type
unsigned int(3) reserved unsigned int (3) reserved
unsigned int(16) item-count; unsigned int (16) item-count;
for(i=0;i<item-count;i++)for (i = 0; i <item-count; i ++)
{ {
Item-IDItem-id
data-reference-indexdata-reference-index
StringlocationStringlocation
direct-offsetdirect-offset
if(direct-offset == 1) if (direct-offset == 1)
{ {
offset; offset;
length length
base_offset; base_offset;
} }
}}
}}
본 발명의 일실시예에 따른 아이템 위치 영역의 semantics는 다음과 같이 기술할 수 있다.The semantics of the item location area according to an embodiment of the present invention can be described as follows.
Item Location Box semanticsItem Location Box semantics
offset_size is taken from the set {0, 4, 8} and indicates the length in bytes of the offset field. offset_size is taken from the set {0, 4, 8} and indicates the length in bytes of the offset field.
length_size is taken from the set {0, 4, 8} and indicates the length in bytes of the length field. length_size is taken from the set {0, 4, 8} and indicates the length in bytes of the length field.
item-count counts the number of items in the following array. item-count counts the number of items in the following array.
item-ID is an arbitrary integer 'name'for this item which can be used to refer to it (e.g. in a URL). item-ID is an arbitrary integer 'name' for this item which can be used to refer to it (e.g. in a URL).
data-reference-index is either zero ('this file') or a 1-based index into the data references in the data information box. data-reference-index is either zero ('this file') or a 1-based index into the data references in the data information box.
offset provides the absolute offset in bytes from the beginning of the containing file, of this meta-data item. If offset_size is 0, offset takes the value 0offset provides the absolute offset in bytes from the beginning of the containing file, of this meta-data item. If offset_size is 0, offset takes the value 0
lengthprovides the absolute length in bytes of this meta-data item. If length_size is 0, length takes the value 0. If the value is 0, then length of the item is the length of the entire referenced file.lengthprovides the absolute length in bytes of this meta-data item. If length_size is 0, length takes the value 0. If the value is 0, then length of the item is the length of the entire referenced file.
base_offsetprovides a base value for offset calculations within the referenced data. If base_offset_size is 0, base_offset takes the value 0, i.e. it is unused.base_offsetprovides a base value for offset calculations within the referenced data. If base_offset_size is 0, base_offset takes the value 0, i.e. it is unused.
reference_type specifies the type of referenced item. If this value is 1, then the referenced media resource is an ES in mp4 presentation.reference_type specifies the type of referenced item. If this value is 1, then the referenced media resource is an ES in mp4 presentation.
Location specifies the information of which ES within a mp4 presentation is referenced. In case that an ES in the first track in mp4 presentation is referenced, string value, "moov/trak[1]"or "//trak[1]", will be defined. In addition, an ES can be referenced with odid and esid (e.g. odid=0x10&esid=0x11).Location specifies the information of which ES within a mp4 presentation is referenced. In case that an ES in the first track in mp4 presentation is referenced, string value, "moov / trak [1]" or "// trak [1]", will be defined. In addition, an ES can be referenced with odid and esid (e.g. odid = 0x10 & esid = 0x11).
또한, data-reference-index가 0일 경우, 데이터 정보 영역(dataInformationBox)에서는 외부 참조할 미디어 자원의 URL/URN 정보가 스트링(String)으로 정의된다. 이 경우의 데이터 정보 영역의 syntax 및 semantics는 아래와 같이 정의된다. In addition, when data-reference-index is 0, URL / URN information of a media resource for external reference is defined as a string in the data information area (dataInformationBox). In this case, the syntax and semantics of the data information area are defined as follows.
Data Information Box SyntaxData Information Box Syntax
(1) aligned(8) class DataEntryUrlBox (bit(24) flags)(1) aligned (8) class DataEntryUrlBox (bit (24) flags)
extends FullBox('url ', version = 0, flags) {extends FullBox ('url', version = 0, flags) {
stringlocation;stringlocation;
}}
(2) aligned(8) class DataEntryUrnBox (bit(24) flags)(2) aligned (8) class DataEntryUrnBox (bit (24) flags)
extends FullBox('urn ', version = 0, flags) {extends FullBox ('urn', version = 0, flags) {
string name; string name;
string location;string location;
}}
(3) aligned(8) class DataReferenceBox (3) aligned (8) class DataReferenceBox
extends FullBox('dref', version = 0, 0) {extends FullBox ('dref', version = 0, 0) {
unsigned int(32) entry_count; unsigned int (32) entry_count;
for (i=1; i = entry_count; i++) { for (i = 1; i = entry_count; i ++) {
DataEntryBox(entry_version, entry_flags) data_entry; DataEntryBox (entry_version, entry_flags) data_entry;
}}
}}
Data Information Box SemanticsData Information Box Semantics
version is an integer that specifies the version of this boxversion is an integer that specifies the version of this box
entry_count is an integer that counts the actual entriesentry_count is an integer that counts the actual entries
entry_version is an integer that specifies the version of the entry formatentry_version is an integer that specifies the version of the entry format
entry_flags is a 24-bit integer with flags; one flag is defined (x000001) which means that the media data is in the same file as the Movie Box containing this data reference.entry_flags is a 24-bit integer with flags; one flag is defined (x000001) which means that the media data is in the same file as the Movie Box containing this data reference.
data_entry is a URL or URN entry. Name is a URN, and is required in a URN entry. Location is a URL, and is required in a URL entry and optional in a URN entry, where it gives a location to find the resource with the given name. Each is a null-terminated string using UTF-8 characters. If the self-contained flag is set, the URL form is used and no string is present; the box terminates with the entry-flags field. The URL type should be of a service that delivers a file (e.g. URLs of type file, http, ftp etc.), and which services ideally also permit random access. Relative URLs are permissible and are relative to the file containing the Movie Box that contains this data reference.data_entry is a URL or URN entry. Name is a URN, and is required in a URN entry. Location is a URL, and is required in a URL entry and optional in a URN entry, where it gives a location to find the resource with the given name. Each is a null-terminated string using UTF-8 characters. If the self-contained flag is set, the URL form is used and no string is present; the box terminates with the entry-flags field. The URL type should be of a service that delivers a file (e.g. URLs of type file, http, ftp etc.), and which services ideally also permit random access. Relative URLs are permissible and are relative to the file containing the Movie Box that contains this data reference.
이상으로 본 발명의 일실시예에 따른 미디어 자원 어드레싱 방법 및 장치에 대하여 설명하였다. 그러나, 이는 본 발명의 개념이 최적으로 적용된 실시예에 관한 것으로서, 본 발명의 범위가 상기 실시예에 한정되는 것은 아니며, 본 발명의 개념을 그대로 이용하여 여러가지 변형된 실시예를 구성할 수 있음은 당업자에게 자명하다. The media resource addressing method and apparatus according to an embodiment of the present invention have been described above. However, the present invention relates to an embodiment to which the concept of the present invention is optimally applied, and the scope of the present invention is not limited to the above embodiment, and various modified embodiments may be configured using the concept of the present invention as it is. It is obvious to those skilled in the art.
또한, 이상에서 미디어 자원이 외부에서 참조될 경우 미디어 자원이 존재하는 ULR을 이용하는 것으로 설명하였으나, 이는 미디어 자원이 존재하는 위치를 의미하는 것으로서, 디지털 곤텐츠 식별 체계로서 URN을 이용하여 실시할 수 있음은 물론이며, 본 발명에서 말하는 URL은 URN 및 다른 식별 체계를 모두 포함하는 것을 말한다.In addition, in the above, when the media resource is externally referred to as using the ULR in which the media resource exists, this means the location where the media resource exists, and can be implemented using the URN as a digital content identification system. Of course, the URL in the present invention refers to including both the URN and other identification schemes.
본 발명에 따르면, MPEG-21 파일 포맷에서 미디어 자원의 위치 정보를 표준화함으로써, 미디어 자원에 대한 효율적인 접근 및 재생이 가능하게 된다. According to the present invention, by standardizing the location information of the media resource in the MPEG-21 file format, efficient access to and playback of the media resource is possible.
또한, ISO 미디어 파일 포맷에서 MPEG-21 파일과 MPEG-4 파일의 호환적인 지원이 가능하도록 미디어 자원을 어드레싱할 수 있게 된다.In addition, media resources can be addressed to enable compatible support for MPEG-21 and MPEG-4 files in the ISO media file format.
Claims (16)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/KR2004/001746 WO2005006330A1 (en) | 2003-07-15 | 2004-07-14 | Method and apparatus for addressing media resource, and recording medium thereof |
US10/564,771 US20060200509A1 (en) | 2003-07-15 | 2004-07-14 | Method and apparatus for addressing media resource, and recording medium thereof |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020030048290 | 2003-07-15 | ||
KR20030048290 | 2003-07-15 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20050008436A KR20050008436A (en) | 2005-01-21 |
KR100660024B1 true KR100660024B1 (en) | 2006-12-20 |
Family
ID=37221679
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020030071590A KR100660024B1 (en) | 2003-07-15 | 2003-10-14 | Method and apparatus for addressing media resource, and recording medium thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100660024B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101601851B1 (en) * | 2007-10-16 | 2016-03-11 | 한국전자통신연구원 | Method for Generating and Consuming a File and Apparatus thereof |
-
2003
- 2003-10-14 KR KR1020030071590A patent/KR100660024B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR20050008436A (en) | 2005-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090157750A1 (en) | Integrated multimedia file format structure, and multimedia service system and method based on the intergrated multimedia format structure | |
US9729828B2 (en) | Data structure of multimedia file format, encrypting method and device thereof, and decrypting method and device thereof | |
US8010566B2 (en) | Extended multimedia file structure and multimedia file producting method and multimedia file executing method | |
US8050539B2 (en) | Data recording/reproducing apparatus and method | |
US20080252719A1 (en) | Apparatus, method, and system for generating stereo-scopic image file based on media standards | |
WO2008123712A1 (en) | Storage/playback method and apparatus for mpeg-2 transport stream based on iso base media file format | |
US20100146018A1 (en) | Method for constructing a file format and apparatus for processing a digital broadcasting signal including a file having the file format and method thereof | |
CN102150424A (en) | Method for file formation according to freeview AV service | |
CN113170236A (en) | Apparatus and method for signaling information in container file format | |
TW200407857A (en) | Digital video recorder and methods for digital recording | |
KR100976729B1 (en) | Combined file format for digital multimedia broadcasting dmb content, method and apparatus for handling dmb content of this format | |
KR100660024B1 (en) | Method and apparatus for addressing media resource, and recording medium thereof | |
US20060200509A1 (en) | Method and apparatus for addressing media resource, and recording medium thereof | |
KR101295377B1 (en) | Method for constructing of file format and apparatus and method for processing broadcast signal with file which has file format | |
JP4575882B2 (en) | Method and apparatus for distributing AV content in download file format | |
GB2371889A (en) | Data structures | |
KR101710452B1 (en) | Method and apparatus for transmitting/receiving service discovery information in a multimedia transmission system | |
Sabirin et al. | DMB application format for mobile multimedia services | |
US8418213B2 (en) | Method for providing contents referencing information for personal data broadcasting service and receiving apparatus and processing method | |
Prangl et al. | DVB-based MPEG-21 digital items for adaptive multimedia streaming | |
ENGINEERS | Content Specification on Solid State Media Card for DV/DV-Based Essence | |
KR20080032630A (en) | Video data recording method | |
KR20080092810A (en) | Apparatus and method for generating file of three dimensional images based on media standards and system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20121129 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20131128 Year of fee payment: 8 |
|
LAPS | Lapse due to unpaid annual fee |