KR20100115937A - Method for inserting additional information in moving picture file - Google Patents

Method for inserting additional information in moving picture file Download PDF

Info

Publication number
KR20100115937A
KR20100115937A KR1020090034602A KR20090034602A KR20100115937A KR 20100115937 A KR20100115937 A KR 20100115937A KR 1020090034602 A KR1020090034602 A KR 1020090034602A KR 20090034602 A KR20090034602 A KR 20090034602A KR 20100115937 A KR20100115937 A KR 20100115937A
Authority
KR
South Korea
Prior art keywords
additional information
video
information
video file
frame
Prior art date
Application number
KR1020090034602A
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 KR1020090034602A priority Critical patent/KR20100115937A/en
Publication of KR20100115937A publication Critical patent/KR20100115937A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/08Systems for the simultaneous or sequential transmission of more than one television signal, e.g. additional information signals, the signals occupying wholly or partially the same frequency band, e.g. by time division
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/24Systems for the transmission of television signals using pulse code modulation
    • H04N7/52Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal

Abstract

PURPOSE: A method for inserting additional information to a video file without an encoding time is provided to insert the additional information within the video file without the change of an original video file format. CONSTITUTION: Additional information is inserted into the front video frame(100) of a video file. The size information of data region including the video frame is modified as the size increased by the additional information of each video frame. The video file is formed into an AVI format. The location information of each video frame changed by the inserted additional information is corrected.

Description

동영상 파일에 부가정보를 삽입하는 방법{Method for inserting additional information in moving picture file}How to insert additional information into video file {Method for inserting additional information in moving picture file}

본 발명은 동영상 파일에 부가정보를 삽입하는 방법에 관한 것이다.The present invention relates to a method of inserting additional information into a video file.

일반적으로 동영상은 비디오, 오디오 데이터 및 이 두 가지 코덱 데이터를 싸고 있는 파일 포맷으로 이루어져 있다. In general, video consists of video, audio data, and a file format that wraps these two codecs.

종래의 동영상 파일이 포함하고 있는 부가 정보는 제작회사 및 제작자 이름 등 간단한 내용들로 컨테이너에 일부 정보가 포함된다. 또한, 동영상 파일에 대한 시간별 텍스트 정보 예를 들어, 자막 등을 보여주기 위해 별도의 자막 파일(smi)을 만들어 사용하고 있다.The additional information included in the conventional video file includes simple information such as a manufacturer and a producer name, and some information is included in the container. In addition, a separate subtitle file (smi) is used to show time-based text information about a video file, for example, a subtitle.

그러나, 종래와 같이 동영상과 함께 부가 정보를 별도의 파일로 제공하는 방법은 다수 개의 파일을 생성, 관리, 제공, 휴대 등을 해야하는 문제가 있어 간편하지 못한 문제가 있다. However, the conventional method of providing additional information together with a moving picture as a separate file has a problem in that a plurality of files need to be created, managed, provided, and carried, which is not easy.

본 발명은 원 동영상 파일 포맷의 변화 없이 동영상 파일 내에 부가정보를 삽입할 수 있는 방법을 제공하는 데 그 목적이 있다. 또한, 본 발명은 동영상 파일을 생성할 때 부가정보를 삽입할 수 있는 방법을 제공하는 것을 목적으로 한다.An object of the present invention is to provide a method for inserting additional information in a video file without changing the original video file format. Another object of the present invention is to provide a method for inserting additional information when generating a moving image file.

본 발명의 제1실시예에 따른 동영상 파일에 부가정보를 삽입하는 방법은 동영상 파일의 각 비디오 프레임의 앞 또는 뒤에 부가정보를 삽입하는 제1단계와, 각 비디오 프레임에 대해서 삽입된 부가정보에 의해 증가된 크기만큼 상기 비디오 프레임들을 포함하는 데이터 영역의 크기 정보를 정정하는 제2단계를 구비한다.The method of inserting additional information into a video file according to the first embodiment of the present invention comprises the first step of inserting additional information before or after each video frame of the video file, and by the additional information inserted for each video frame. And correcting size information of the data area including the video frames by an increased size.

이때, 상기 동영상 파일은 AVI 포맷으로 되어 있는 것이며, 제1단계는 LIST 'movi' 청크 내부에 부가정보를 삽입하는 것이며, 제2단계는 LIST 'movi'의 청크의 크기 정보와, LIST 'movi'를 포함하는 RIFF 청크의 크기 정보를 정정하는 것이다.At this time, the video file is in the AVI format, the first step is to insert the additional information inside the LIST 'movi' chunk, the second step is the size information of the chunk of the LIST 'movi' and the LIST 'movi' To correct the size information of the RIFF chunk including.

또한, 상기 제2단계는 상기 삽입된 부가정보에 의해 변경된 각 비디오 프레임의 위치 정보를 정정하는 단계를 더 포함하며, 상기 단계는 idx1 청크 내에 저장된 각 비디오 프레임의 위치 정보를 정정하는 것이며, 또는 상기 제2단계는 상기 idx1 청크를 삭제하여 각 비디오 프레임의 위치 정보를 삭제하는 단계를 더 포함할 수 있다.The second step may further include correcting position information of each video frame changed by the inserted additional information, wherein correcting position information of each video frame stored in the idx1 chunk, or The second step may further include deleting location information of each video frame by deleting the idx1 chunk.

본 발명의 제2실시예에 따른 동영상 파일에 부가정보를 삽입하는 방법은 동 영상 파일의 각 비디오 프레임의 앞 또는 뒤에 부가정보를 삽입하는 제1단계와, 상기 부가정보가 삽입된 후 변경되는 각 비디오 프레임의 위치 정보를 정정하는 제2단계를 구비한다.According to a second embodiment of the present invention, a method of inserting additional information into a video file includes a first step of inserting additional information before or after each video frame of the video file, and changes to each other after the additional information is inserted. And a second step of correcting position information of the video frame.

이때, 상기 동영상 파일은 MP4 포맷으로 되어 있는 것이며, 제1단계는 데이터 영역인 Mdat Container 내부에 부가정보를 삽입하는 것이며, 제2단계는 비디오 트랙 정보 내의 stco에서 각 프레임 위치 정보를 정정하는 것이다.At this time, the video file is in the MP4 format, the first step is to insert additional information into the Mdat Container, which is a data area, and the second step is to correct each frame position information in stco in the video track information.

본 발명의 제3실시예에 따른 동영상 파일에 부가정보를 삽입하는 방법은 동영상 파일을 생성하거나 읽어들이는 제1단계 및 동영상 파일 중의 바이트 정렬(byte alignment)을 맞추기 위한 영역에 부가정보를 삽입하는 제2단계를 구비한다.In the method of inserting additional information into a video file according to the third embodiment of the present invention, the first step of generating or reading a video file and inserting the additional information into an area for aligning byte alignment in the video file are provided. It has a second step.

이때, 상기 부가정보는 해당 부가정보와 관련되는 프레임의 정보와 함께 저장되고, 상기 동영상 파일은 AVI 포맷으로 되어 있는 것이며, 상기 바이트 정렬을 맞추기 위한 영역은 정크 청크(junk chunk) 영역인 것이 바람직하다.In this case, the additional information is stored together with the information of the frame related to the additional information, the video file is in AVI format, the area for aligning the byte is preferably a junk chunk area. .

또한, 본 발명의 각 실시예에서 삽입되는 상기 부가정보는 압축 또는 암호화되어 삽입할 수 있다.In addition, the additional information inserted in each embodiment of the present invention may be compressed or encrypted.

본 발명은 원 동영상 파일 포맷을 변화시키지 않고 동영상 파일 내의 별도의 영역에 부가 정보를 삽입함으로써, 별도의 화면 합성 및 인코딩 시간이 필요없는 효과가 있다.According to the present invention, by inserting additional information into a separate area in the video file without changing the original video file format, there is no need for a separate screen composition and encoding time.

또한, 동영상 생성 시 다수의 부가 정보 별로 따로 파일을 생성하지 않고 동영성 파일 내에 모든 부가 정보를 삽입함으로써, 동영상 생성, 관리, 휴대 등에 편리한 효과가 있다.In addition, since all additional information is inserted into the movie file without generating a file for each of a plurality of additional information, a video is generated, managed, and carried.

이하, 첨부된 도면을 참조하여 본 발명의 실시 예에 따른 동영상 파일에 부가정보를 삽입하는 방법에 관하여 상세히 설명한다.Hereinafter, a method of inserting additional information into a video file according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 실시 예에서는 동영상 파일 포맷으로 'avi', 'mp4'를 예로 들어 설명하였으나 다른 종류의 동영상 포맷에도 적용가능하다.In the exemplary embodiment of the present invention, 'avi' and 'mp4' are described as video file formats. However, the present invention can be applied to other video formats.

또한, 본 발명의 실시 예에서는 이미 생성된 동영상 파일에 부가정보를 삽입하는 방법에 관하여 설명하였으나, 동영상 파일을 생성할 때, 예를 들면 화면을 캡쳐하는 과정 또는 동영상 파일을 스트리밍 받는 과정에서도 부가정보를 삽입할 수 있다.In addition, the embodiment of the present invention has been described with respect to a method of inserting additional information into a video file that has already been generated, but when generating a video file, for example, the screen capture process or the process of receiving the video file additional information You can insert

본 발명의 첫 번째 실시 예에 따른 동영상 파일에 부가정보를 삽입하는 방법은 동영상 파일 포맷 내의 데이터 영역에 포함된 각 비디오 프레임의 앞 또는 뒤에 부가정보를 삽입하는 제1단계 및 각 비디오 프레임에 대해서 삽입된 부가정보에 의해 증가된 크기만큼 상기 비디오 프레임들을 포함하는 데이터 영역의 크기 정보를 정정하는 제2단계를 포함한다.The method of inserting additional information into a video file according to the first embodiment of the present invention includes a first step of inserting additional information before or after each video frame included in a data area in a video file format and inserting the additional information into each video frame. And correcting the size information of the data area including the video frames by the size increased by the additional information.

이때, 상기 부가정보는 비디오, 오디오, 음성, 이미지, 텍스트, URL 등을 포 함하며, 압축 또는 암호화되어 삽입될 수 있다.In this case, the additional information may include video, audio, voice, image, text, URL, and the like, and may be compressed or inserted.

즉, 본 발명의 제1실시예는 RIFF 계열 동영상 포맷 예를 들면, 도 1에 도시한 RIFF 'AVI' 포맷의 경우에 있어 동영상 파일 포맷(100)내에 포함된 데이터 영역 LIST 'movi'(107) 청크(chunk) 내에 부가정보를 삽입하는 것이다. That is, the first embodiment of the present invention provides a data area list 'movi' 107 included in the video file format 100 in the case of the RIFF video format, for example, the RIFF 'AVI' format shown in FIG. It is to insert additional information into the chunk.

RIFF는 멀티미디어 데이터 청크(chunk)를 저장하기 위한 포맷으로, 다수의 청크를 포함하고 있고, 이러한 청크들을 통해 데이터와 정보 등을 저장할 수 있다.RIFF is a format for storing multimedia data chunks. The RIFF includes a plurality of chunks and may store data and information through these chunks.

즉, 도 1에 도시한 바와 같이, RIFF 'AVI'포맷(100)은 LIST 'hdrl'(101), LIST 'INFO'(103), LIST 'movi'(107) 및 'JUNK'(105), idx1(109) 등과 같은 청크들을 포함하고 있다. That is, as illustrated in FIG. 1, the RIFF 'AVI' format 100 includes LIST 'hdrl' 101, LIST 'INFO' 103, LIST 'movi' 107 and 'JUNK' 105, chunks such as idx1 109 and the like.

여기서, LIST 'hdrl'(101)에는 avi파일에 필요로 하는 기본적인 요소가 저장되어 있고, LIST 'INFO'(103)에는 avi파일의 기본적인 정보가 저장되어 있으며, LIST 'movi'(107)에는 실제의 비디오 데이터 또는 오디오 데이터가 저장되어 있다. Here, the basic elements required for the avi file are stored in the LIST 'hdrl' 101, the basic information of the avi file is stored in the LIST 'INFO' 103, and the actual information is stored in the LIST 'movi' 107. Video data or audio data is stored.

또한, 'JUNK'(105)는 avi파일이 특정 플레이어에서 재생될 때, 요구되는 바이트 정렬(byte alignment)을 맞춰주기 위한 청크(chunk)로 일반적으로 널(NULL)로 채워져 있거나, 'JUNK'임을 나타내는 데이터들로 채워져 있으며, idx1(109)는 LIST 'movi'(107)에 저장되어 있는 비디오 데이터 또는 오디오 데이터의 위치 정보가 저장되어 있다. 이때, 상기 각각의 청크 내부에는 청크 종류를 나타내는 식별자 및 청크의 크기 정보가 표시된 헤더를 갖고 있다.Also, 'JUNK' 105 is a chunk to match the byte alignment required when an avi file is played on a particular player, usually filled with null, or 'JUNK'. The idx1 109 stores position information of video data or audio data stored in the LIST 'movi' 107. At this time, each of the chunks has an identifier indicating the type of the chunk and a header in which the chunk size information is displayed.

본 발명의 제1실시예에서는, RIFF 'AVI' 포맷(100) 내의 LIST 'movi'(107)내에 부가정보를 삽입한다. 즉, 도 1에서와 같이 LIST 'movi'(107)에 다수의 비디오 데이터 및 오디오 데이터들이 섞여 있거나 또는 비디오 데이터와 오디오 데이터가 각각 다른 영역에 저장될 수 있는데, 부가정보는 한 프레임의 비디오 데이터를 기준으로 전 또는 후에 삽입된다. In the first embodiment of the present invention, additional information is inserted into the LIST 'movi' 107 in the RIFF 'AVI' format 100. That is, as shown in FIG. 1, a plurality of video data and audio data may be mixed in the LIST 'movi' 107 or video data and audio data may be stored in different areas, and the additional information may include video data of one frame. It is inserted before or after as a reference.

상기 부가정보는 상기 비디오 데이터 한 프레임 당 하나씩 할당하여 삽입할 수 있고, 삽입되는 부가정보는 필드 전체가 데이터만을 포함할 수도 있고, 부가정보임을 나타내는 식별자, 부가정보의 크기 정보 및 데이터를 포함할 수도 있다.The additional information may be allocated and inserted one per frame of the video data, and the additional information to be inserted may include only the data as a whole of the field, or may include an identifier indicating that the information is additional information, size information of the additional information, and data. have.

상기와 같이, 부가정보를 LIST 'movi'(107)에 삽입한 후, 삽입된 부가정보의 크기만큼 LIST 'movi'(107)의 크기 정보 및 LIST 'movi'(107)를 포함하는 RIFF 'avi' 포맷(100)의 크기 정보를 정정해야한다. 이때, LIST 'movi'(107)의 크기 정보는 LIST 'movi'(107) 청크 내부의 헤더 상에서 정정하고, RIFF 'avi' 포맷(100)의 크기 정보는 RIFF 필드 상에서 정정하는 것이 바람직하다.As described above, after the additional information is inserted into the LIST 'movi' 107, RIFF 'avi including the size information of the LIST' movi '107 and the LIST' movi '107 by the size of the inserted additional information. 'The size information of the format 100 must be corrected. In this case, the size information of the LIST 'movi' 107 is corrected on the header inside the LIST 'movi' 107 chunk, and the size information of the RIFF 'avi' format 100 is preferably corrected on the RIFF field.

또한, 부가정보가 삽입됨에 의해 변경되는 각 비디오 데이터 또는 오디오 데이터의 위치 정보를 정정해야하는데, 이는 idx1(109)내에 저장되어 있는 각 비디오 데이터 또는 오디오 데이터의 위치 정보를 변경하여 저장함으로써 정정된다. In addition, the positional information of each video data or audio data that is changed by inserting the additional information must be corrected, which is corrected by changing and storing the positional information of each video data or audio data stored in idx1 109.

또는, idx1(109) 청크 자체를 삭제하여 동영상 파일에 부가정보 삽입 후, 크기 정보만을 정정할 수 있는데, 이러한 경우에는 동영상 재생에는 영향을 미치지 않으나, 동영상 플레이어의 종류에 따라 FF/REW 기능에 제한이 발생할 수 있음에 유의해야한다. Alternatively, only the size information can be corrected after deleting the idx1 109 chunk itself and inserting additional information into the video file. In this case, the video playback is not affected, but the FF / REW function is limited according to the type of the video player. It should be noted that this can occur.

또한, 상기 비디오 데이터는 비디오 데이터 임을 나타내는 식별자임을 알려주는 필드(a)와, 비디오 데이터의 사이즈를 알려주는 필드(b) 및 실제 비디오 데이 터를 나타내는 필드(c)로 이루어져 있다.In addition, the video data includes a field (a) indicating that the video data is an identifier, a field (b) indicating the size of the video data, and a field (c) indicating the actual video data.

이에 따라, 일반 재생기에서는 상기 필드(a)를 판독하여 비디오 데이터임을 인식하고, 상기 필드(b)에 정의된 사이즈의 비디오 데이터를 재생하게 되며, 부가정보는 비디오 데이터 또는 오디오 데이터를 나타내는 식별자가 없으므로, 재생하지 않고 스킵(skip)할 수 있다. 즉, 기존의 동영상 파일에 부가정보를 삽입하더라도 일반 재생기에서 재생할 때, 새로이 삽입된 부가정보의 영향을 받지 않고 원 동영상 그대로 재생할 수 있는 것이다. Accordingly, the general player reads the field (a) to recognize that the data is video data, and reproduces the video data having the size defined in the field (b), and since the additional information does not have an identifier indicating the video data or the audio data. It can skip without playing. That is, even if the additional information is inserted into the existing video file, the original video can be played as it is without being affected by the newly inserted additional information when playing the video in the general player.

본 발명의 제2실시예는 비디오 데이터 및 오디오 데이터의 위치 정보 및 사이즈에 대한 정보가 따로 저장된 영역이 따로 있고, 비디오 데이터 및 오디오 데이터가 단순 비트스트림으로 연속 배열되어 있는 포맷 예를 들어, 'MP4'와 같은 동영상 파일 포맷인 경우 부가정보를 삽입하는 방법에 관한 것이다.According to the second embodiment of the present invention, there is a separate area in which information on the positional information and the size of the video data and the audio data are stored separately, and the video data and the audio data are continuously arranged in a simple bit stream. In the case of a video file format such as', the present invention relates to a method of inserting additional information.

본 발명의 제2실시예에 따른 동영상 파일에 부가정보를 삽입하는 방법은 동영상 파일의 각 비디오 프레임의 앞 또는 뒤에 부가정보를 삽입하는 제1단계 및 상기 부가정보가 삽입된 후 변경되는 각 비디오 프레임의 위치 정보를 정정하는 제2단계를 포함한다. A method of inserting additional information into a video file according to a second embodiment of the present invention includes a first step of inserting additional information before or after each video frame of a video file and each video frame changed after the additional information is inserted. The second step of correcting the position information of the.

이때, 상기 부가정보는 비디오, 오디오, 음성, 이미지, 텍스트, URL 등을 포함하며, 압축 또는 암호화되어 삽입될 수 있다.In this case, the additional information may include video, audio, voice, image, text, URL, and the like, and may be compressed or inserted.

즉, 도 2에 도시한 바와 같이, MP4 포맷(200)은 ftyp Header(201)와, Mdat Container(203) 및 Movie Container(205)를 포함하며, Movie Container(205)는 다 수의 트랙 정보를 포함한다. That is, as shown in FIG. 2, the MP4 format 200 includes an ftyp Header 201, a Mdat Container 203, and a Movie Container 205, and the Movie Container 205 stores a plurality of track information. Include.

ftyp Header(201)에는 동영상 파일에 관련된 정보가 저장되어 있고, Mdat Container(203)는 데이터 영역으로, 비디오 데이터 또는 오디오 데이터가 공간적으로 분리되어 저장되어 있으며, 저장된 비디오 데이터 또는 오디오 데이터에는 식별자 및 크기 등에 관한 정보가 표시되지 않는다.The ftyp Header 201 stores information related to a video file, and the Mdat Container 203 is a data area, and video data or audio data are spatially separated and stored, and the identifier and size are stored in the stored video data or audio data. Information about the display is not displayed.

즉, 도 3과 같이 Mdat Container(203)에는 비디오 데이터가 연속 배열되어 있고, 상기 비디오 데이터는 제1실시예에서의 비디오 데이터와는 달리 식별자 및 길이 등에 대한 정보 없이 데이터만을 포함한다. That is, as shown in FIG. 3, video data is continuously arranged in the Mdat container 203. Unlike the video data in the first embodiment, the video data includes only data without information on an identifier and a length.

Movie Container(205)는 동영상 파일을 재생하는 데 필요한 정보가 저장되어 있는 영역으로 다수의 트랙들을 포함하며, 각 비디오 데이터 또는 각 오디오 데이터 프레임의 크기, 위치 등에 대한 정보가 여기에 저장되어 있다.The movie container 205 is an area in which information necessary for playing a video file is stored. The movie container 205 includes a plurality of tracks, and information on the size and position of each video data or each audio data frame is stored there.

도 3에 도시한 것처럼, 첫 번째 비디오 데이터 프레임 뒤에 부가정보를 삽입하면, 두 번째 비디오 데이터 프레임의 위치가 변경되고, 두 번째 비디오 데이터 프레임 뒤에 부가정보를 삽입하면, 세 번째 비디오 데이터 프레임의 위치가 변경된다. 이에 따라, 변경된 두 번째 비디오 데이터 프레임의 위치와 세 번째 비디오 데이터 프레임의 위치 정보를 Movie Container(205)에 포함된 다수의 트랙들 중 각 비디오 데이터 프레임들의 위치 정보가 나열된 track(video)(207) 내부의 stco 필드(미도시)에 저장한다.As shown in FIG. 3, when the additional information is inserted after the first video data frame, the position of the second video data frame is changed, and when the additional information is inserted after the second video data frame, the position of the third video data frame is changed. Is changed. Accordingly, the track (video) 207 lists the position information of each video data frame among the plurality of tracks included in the Movie Container 205 with the changed position of the second video data frame and the position information of the third video data frame. Store in an internal stco field (not shown).

즉, 각 비디오 데이터 프레임의 위치 정보는 track(video)(207) 내의 stco 필드(미도시)에 따로 모아 저장해 놓고, 재생 시 상기 저장된 각 비디오 데이터 프 레임들의 위치 정보를 읽어와서 해당하는 위치의 비디오 데이터를 재생하므로, 비디오 데이터 프레임들 사이에 부가정보가 삽입된 후, 변경된 각 비디오 데이터 프레임의 위치 정보를 저장하는 것이다.That is, the position information of each video data frame is collected and stored separately in the stco field (not shown) in the track (video) 207, and the position information of each of the stored video data frames is read and the video of the corresponding position is read. Since data is reproduced, after the additional information is inserted between the video data frames, the position information of each changed video data frame is stored.

이에 따라, 일반 재생기에서는 상기 변경되어 저장된 위치 정보에 해당하는 위치의 비디오 데이터는 재생하고, 이외의 영역에 쓰여진 데이터 즉, 부가정보는 재생하지 않고 스킵(skip)할 수 있다.Accordingly, in the general player, video data of a position corresponding to the changed and stored position information may be reproduced, and data written in another area, that is, additional information, may be skipped without reproduction.

본 발명의 제3실시예에 따른 동영상 파일에 부가정보를 삽입하는 방법은 동영상 파일을 생성하거나 읽어들이는 제1단계와, 동영상 파일 중 바이트 정렬(byte alignment)을 맞추기 위한 영역에 부가정보를 삽입하는 제2단계를 포함한다.In the method for inserting additional information into a video file according to the third embodiment of the present invention, the first step of generating or reading a video file and inserting the additional information into an area for byte alignment of the video file are performed. It includes a second step.

이때, 상기 부가정보는 비디오, 오디오, 음성, 이미지, 텍스트, URL 등을 포함하며, 부가정보가 삽입되는 위치의 전 또는 후에 위치한 비디오 프레임과 관련된 데이터일 수 있고, 부가정보는 압축 또는 암호화되어 삽입될 수 있다.In this case, the additional information may include video, audio, voice, image, text, URL, etc., and may be data related to a video frame located before or after the additional information is inserted, and the additional information may be compressed or encrypted and inserted. Can be.

즉, 도 4에 도시한 바와 같이, 일반적인 동영상 파일 포맷(RIFF 'AVI')(100)내에 포함된 'JUNK' 영역(105)에 부가정보를 삽입한다. That is, as shown in FIG. 4, additional information is inserted into the 'JUNK' area 105 included in the general video file format (RIFF 'AVI') 100.

'JUNK' 영역(105)은 상기 제1실시예에서 서술한 바와 같이, avi파일이 특정 플레이어에서 재생될 때, 요구되는 바이트 정렬(byte alignment)을 맞춰주기 위한 청크(chunk)로 일반적으로 널(NULL)로 채워져 있거나, 'JUNK'임을 나타내는 데이터들로 채워진 영역이다.The 'JUNK' area 105 is generally a chunk for adjusting the byte alignment required when the avi file is played in a specific player, as described in the first embodiment. It is filled with NULL) or filled with data indicating 'JUNK'.

즉, 'JUNK' 영역(105)은 유효한 데이터가 없는 비워진 영역인 것이다. 따라 서, 'JUNK' 영역(105)에 부가정보를 삽입하여 동영상 재생 시 이를 활용할 수 있다. That is, the 'JUNK' area 105 is an empty area without valid data. Therefore, the additional information may be inserted into the 'JUNK' area 105 to be used when the video is played.

일반적으로, 'JUNK' 영역(105)은 특정 플레이어 예를 들어, 시디 플레이어(CD player)에서 요구되는 바이트 정렬(byte alignment)을 맞춰주기 위해 존재하는데, 컴퓨터에서 사용되는 일반적인 플레이어에서는 'JUNK' 영역(105)이 바이트 정렬을 맞춰주지 못해도 재생에는 문제가 없으므로, 'JUNK' 영역(105)에 부가정보를 삽입할 수 있다.Generally, the 'JUNK' area 105 exists to match the byte alignment required for a particular player, for example a CD player. In a general player used on a computer, the 'JUNK' area is present. If 105 does not align the byte alignment, there is no problem in reproduction, so that additional information can be inserted into the 'JUNK' area 105.

따라서, 상기 서술한 본 발명의 제1, 제2 및 제3실시예에 따라, 기존의 동영상 포맷에 영향을 주지 않고 부가정보를 삽입할 수 있고, 동영상 포맷에 변화가 없으므로 일반 재생기에서도 재생 가능하며, 전용 재생기를 이용하면 상기 부가정보 도 활용 가능하다. Therefore, according to the first, second and third embodiments of the present invention described above, additional information can be inserted without affecting the existing video format, and since the video format does not change, it can be reproduced in a general player. In this case, the additional information may also be utilized by using a dedicated player.

상기 설명은 본 발명의 특정 실시 예에 대한 설명에 불과하고, 본 발명은 이러한 특정 실시 예에 한정되지 않으며, 상술한 구체적인 실시 예로부터 다양한 변형이나 응용이 가능하다는 것을 본 발명이 속하는 기술분야의 통상적인 지식을 가진자는 쉽게 알 수 있다.The above description is merely a description of specific embodiments of the present invention, and the present invention is not limited to these specific embodiments, and various modifications and applications are possible from the specific embodiments described above. Those who have knowledge can easily know.

도 1은 본 발명의 제1실시 예에 따라 동영상 데이터의 데이터 영역에 부가정보를 삽입하는 방법을 나타내는 도면이다.1 is a diagram illustrating a method of inserting additional information into a data area of video data according to a first embodiment of the present invention.

도 2 및 도 3은 본 발명의 제2실시 예에 따라 동영상 데이터의 데이터 영역에 부가정보를 삽입하는 방법을 나타내는 도면이다.2 and 3 are diagrams illustrating a method of inserting additional information into a data area of video data according to a second embodiment of the present invention.

도 4는 본 발명의 제3실시 예에 따라 부가정보를 삽입할 수 있는 동영상 파일에 포함된 정크(JUNK) 영역을 나타내는 도면이다.FIG. 4 is a diagram illustrating a junk area included in a video file capable of inserting additional information according to a third embodiment of the present invention.

Claims (10)

동영상 파일의 각 비디오 프레임의 앞 또는 뒤에 부가정보를 삽입하는 제1단계;Inserting additional information before or after each video frame of the video file; 각 비디오 프레임에 대해서 삽입된 부가정보에 의해 증가된 크기만큼 상기 비디오 프레임들을 포함하는 데이터 영역의 크기 정보를 정정하는 제2단계A second step of correcting size information of a data area including the video frames by a size increased by the additional information inserted for each video frame; 를 구비하는 동영상 파일에 부가정보를 삽입하는 방법.How to insert the additional information in the video file having a. 제 1항에 있어서, 상기 동영상 파일은 AVI 포맷으로 되어 있는 것이며,The method of claim 1, wherein the video file is in AVI format, 제1단계는 LIST 'movi' 청크 내부에 부가정보를 삽입하는 것이며,The first step is to insert additional information inside the LIST 'movi' chunk. 제2단계는 LIST 'movi'의 청크의 크기 정보와, LIST 'movi'를 포함하는 RIFF 청크의 크기 정보를 정정하는 것인 동영상 파일에 부가정보를 삽입하는 방법.The second step is to correct the size information of the chunk of the LIST 'movi' and the size information of the RIFF chunk including the LIST 'movi'. 제 2항에 있어서, 3. The method of claim 2, 상기 제2단계는 상기 삽입된 부가정보에 의해 변경된 각 비디오 프레임의 위치 정보를 정정하는 단계를 더 포함하며, 상기 단계는 idx1 청크 내에 저장된 각 비디오 프레임의 위치 정보를 정정하는 것인 동영상 파일에 부가정보를 삽입하는 방법.The second step further includes the step of correcting the position information of each video frame changed by the inserted additional information, the step is added to the video file to correct the position information of each video frame stored in the idx1 chunk. How to insert information. 제 2항에 있어서,3. The method of claim 2, 상기 제2단계는 idx1 청크를 삭제하여 각 비디오 프레임의 위치 정보를 삭제하는 단계를 더 포함하는 동영상 파일에 부가정보를 삽입하는 방법. The second step may further include deleting the location information of each video frame by deleting the idx1 chunk. 동영상 파일의 각 비디오 프레임의 앞 또는 뒤에 부가정보를 삽입하는 제1단계;Inserting additional information before or after each video frame of the video file; 상기 부가정보가 삽입된 후 변경되는 각 비디오 프레임의 위치 정보를 정정하는 제2단계A second step of correcting position information of each video frame that is changed after the additional information is inserted; 를 구비하는 동영상 파일에 부가정보를 삽입하는 방법.How to insert the additional information in the video file having a. 제 5항에 있어서, 상기 동영상 파일은 MP4 포맷으로 되어 있는 것이며, The method of claim 5, wherein the video file is in the MP4 format, 제1단계는 데이터 영역인 Mdat Container 내부에 부가정보를 삽입하는 것이며,The first step is to insert additional information inside the Mdat Container, which is a data area. 제2단계는 비디오 트랙 정보 내의 stco에서 각 프레임 위치 정보를 정정하는 것인 동영상 파일에 부가정보를 삽입하는 방법.The second step is to correct each frame position information in stco in the video track information. 동영상 파일을 생성하거나 읽어들이는 제1단계;A first step of generating or reading a video file; 동영상 파일 중의 바이트 정렬(byte alignment)을 맞추기 위한 영역에 부가정보를 삽입하는 제2단계Second step of inserting additional information into an area for byte alignment in a video file 를 구비하는 동영상 파일에 부가정보를 삽입하는 방법.How to insert the additional information in the video file having a. 제 7항에 있어서,The method of claim 7, wherein 상기 부가정보는 해당 부가정보와 관련되는 프레임의 정보와 함께 저장되는 것을 특징으로 하는 동영상 파일에 부가정보를 삽입하는 방법.And the additional information is stored together with information of a frame related to the additional information. 제 7항에 있어서,The method of claim 7, wherein 상기 동영상 파일은 AVI 포맷으로 되어 있는 것이며,The video file is in AVI format. 상기 바이트 정렬을 맞추기 위한 영역은 정크 청크(junk chunk) 영역인 것을 특징으로 하는 동영상 파일에 부가정보를 삽입하는 방법.And the area for aligning the byte is a junk chunk area. 제 1항 내지 제9항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 9, 상기 부가정보는 압축 또는 암호화되어 삽입되는 것을 특징으로 하는 동영상 파일에 부가정보를 삽입하는 방법. And the additional information is compressed or encrypted and inserted.
KR1020090034602A 2009-04-21 2009-04-21 Method for inserting additional information in moving picture file KR20100115937A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090034602A KR20100115937A (en) 2009-04-21 2009-04-21 Method for inserting additional information in moving picture file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090034602A KR20100115937A (en) 2009-04-21 2009-04-21 Method for inserting additional information in moving picture file

Publications (1)

Publication Number Publication Date
KR20100115937A true KR20100115937A (en) 2010-10-29

Family

ID=43134648

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090034602A KR20100115937A (en) 2009-04-21 2009-04-21 Method for inserting additional information in moving picture file

Country Status (1)

Country Link
KR (1) KR20100115937A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101692190B1 (en) * 2016-05-27 2017-01-02 주식회사 에스,엠,엔터테인먼트 A Multi Image Transmitting/Receiving System

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101692190B1 (en) * 2016-05-27 2017-01-02 주식회사 에스,엠,엔터테인먼트 A Multi Image Transmitting/Receiving System

Similar Documents

Publication Publication Date Title
US8320733B2 (en) Method of preparing DVD-video formatted data, method for reconstructing DVD-video data and DVD-video data structure
JP4481889B2 (en) Data recording apparatus and method, program, and recording medium
JP6467680B2 (en) File generation method and file generation apparatus
JP4299836B2 (en) Data processing device
TWI521942B (en) A reproducing apparatus, a reproducing method, and a recording method
US7778526B2 (en) System and method for maintaining DVD-subpicture streams upon conversion to higher compressed data format
JP4901215B2 (en) Data processing device
CN106233389B (en) Reproducting method, transcriber and recording medium
JP6964436B2 (en) Video recording device and video playback device
JP2015109131A (en) File generation method, reproduction method, file generation device, regeneration device and recording medium
KR20100115937A (en) Method for inserting additional information in moving picture file
RU2525482C2 (en) Reproducing device, reproducing method, recording device, recording method, programme and data structure
JP2017183762A (en) Video stream generation method, reproduction device, and recording medium
WO2015105037A1 (en) File generation method, file generation device and recording medium
WO2015083354A1 (en) File generation method, playback method, file generation device, playback device, and recording medium
JP2006217434A (en) Recording device, reproducing device, recording method, reproducing method, and recording and reproducing device
KR20050012328A (en) Method for managing and reproducing a presentation graphic data of high density optical disc, and high density optical disc therof
JP2006509442A (en) Additional data presentation method for interactive recording media
JP2019033509A (en) Video reproduction device, video recorder and video recording medium
Wilkinson et al. The material exchange format (mxf) and its application
CN103202028A (en) Recording device/method/medium and replaying device/method
WO2016027426A1 (en) Video stream generation method, playback apparatus, and recording medium
JP2005348078A (en) Video recorder
JP4941128B2 (en) Video processing device
KR101890430B1 (en) Method and apparatus for generating verification data for verifying integrity of video file

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application