KR100658866B1 - Synchronization apparatus and method for video and audio data - Google Patents

Synchronization apparatus and method for video and audio data Download PDF

Info

Publication number
KR100658866B1
KR100658866B1 KR1020050019971A KR20050019971A KR100658866B1 KR 100658866 B1 KR100658866 B1 KR 100658866B1 KR 1020050019971 A KR1020050019971 A KR 1020050019971A KR 20050019971 A KR20050019971 A KR 20050019971A KR 100658866 B1 KR100658866 B1 KR 100658866B1
Authority
KR
South Korea
Prior art keywords
recording
video
time
audio data
audio
Prior art date
Application number
KR1020050019971A
Other languages
Korean (ko)
Other versions
KR20060099005A (en
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 KR1020050019971A priority Critical patent/KR100658866B1/en
Publication of KR20060099005A publication Critical patent/KR20060099005A/en
Application granted granted Critical
Publication of KR100658866B1 publication Critical patent/KR100658866B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/04Synchronising
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • H04N5/77Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera

Abstract

본 발명은 카메라-폰 녹화스트림을 만드는데 있어서, 특히 동영상녹화시 타이머를 이용, 오디오 데이터가 동일한 시간간격으로 입력되도록 하여, 녹화시 일시정지 후, 녹화재시작시 이후 처음 들어오는 오디오 데이터를 비디오와 오디오의 동기화지점으로만 보고 동영상녹화파일에 포함시키지 않음으로써, 녹화된 영상의 품질을 향상시키는 오디오 및 비디오 데이터 동기화 장치 및 방법을 제공한다.In the camera-phone recording stream, the audio data is input at the same time interval, in particular, by using a timer when recording a moving image, so that audio data that is first received after a recording restart, The present invention provides an apparatus and method for synchronizing audio and video data that improves the quality of a recorded image by not only including a synchronization point and not including it in a moving picture recording file.

본 발명에 따른 비디오 및 오디오 데이터 동기화 방법은, 녹화일시정지후, 녹화재시작시 들어오는 첫번째 오디오 데이터 신호를 녹화시작 신호로 인식하여 타이머를 동작시키는 단계; 상기 타이머를 동작시킨 킨 후, 상기 첫번째 오디오 데이터 신호가 버려지는 단계; 상기 녹화재시작시 오디오 데이터 신호와 같이 들어오는 비디오 데이터 신호와, 녹화일시정지 명령 이전의 비디오 데이터 신호가 들어온 시간의 선후를 비교하는 단계; 상기 비교결과, 상기 녹화재시작시 오디오 데이터 신호와 같이 들어오는 비디오 데이터 신호가 상기 이전의 비디오 데이터 신호가 들어온 시간보다 작을 경우, 경과시간을 0 으로 만드는 단계; 및 상기 동작되는 타이머에 따라, 녹화가 수행되는 단계를 포함하는 것을 특징으로 것을 특징으로 한다.The method of synchronizing video and audio data according to the present invention comprises the steps of: operating a timer by recognizing a first audio data signal received as a recording start signal when a recording is restarted after a recording pause; Discarding the first audio data signal after activating the timer; Comparing a time at which a video data signal incoming as an audio data signal and a video data signal preceding a recording pause command are input at the time of restarting the video recording; If the video data signal received as the audio data signal at the time of restarting the recording is smaller than the time at which the previous video data signal was received, setting the elapsed time to 0; And a step of performing recording in accordance with the timer being operated.

비디오 데이터 동기화, 비디오 코덱, 오디오 코덱, 경과시간, 타이머, 녹화일시정지, 녹화재시작 Video data synchronization, video codec, audio codec, elapsed time, timer, recording pause, resume recording

Description

비디오 및 오디오 데이터 동기화 장치 및 방법{Synchronization apparatus and method for video and audio data}Technical Field [0001] The present invention relates to a synchronization apparatus and method for video and audio data,

도 1은 종래의 휴대용단말기에서의 개략 구성도로서, 녹화 모드시 칩간 동기화를 위한 개략 블록 구성도.BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic block diagram of a conventional portable terminal, and is a schematic block diagram for synchronization between chips in a recording mode. FIG.

도 2는 본 발명 실시 예에 따른 비디오 및 오디오 데이터 동기화 장치를 나타낸 구성도.2 is a configuration diagram showing a video and audio data synchronizing apparatus according to an embodiment of the present invention;

도 3은 본 발명에 따른 오디오 및 비디오 데이터 동기화 방법으로 동영상 파일 녹화시, 일시정지 후 녹화재시작을 한 경우 비디오/오디오 데이터 스트림과 종래의 비디오 및 오디오 데이터 동기화 방법으로 동영상 파일 녹화시 일시정지 후 녹화재시작을 한 경우 비디오/오디오 데이터 스트림을 비교한 도면.FIG. 3 illustrates a method of synchronizing audio and video data according to an embodiment of the present invention. FIG. 3 illustrates a method of synchronizing audio and video data according to an embodiment of the present invention. A comparison of video / audio data streams when restarted.

도 4는 본 발명에 따른 비디오 및 오디오 동기화 방법을 나타낸 플로우챠트.4 is a flow chart illustrating a video and audio synchronization method in accordance with the present invention.

<도면의 주요 부분에 대한 부호의 설명>Description of the Related Art

200 : 고주파부 202 : 모뎀 칩(MSM) 204 : 오디오 처리부 206 : 오디오 코덱 208 : 타이머 210 : 경과시간계산부200: high frequency unit 202: modem chip (MSM) 204: audio processing unit 206: audio codec 208: timer 210: elapsed time calculating unit

212 : 스피커 214 : 마이크 216 : 키입력부212: speaker 214: microphone 216: key input unit

218 : 비디오 코덱 220 : DSP 칩 222 : 카메라부218: Video codec 220: DSP chip 222:

224 : 표시부224:

본 발명은 비디오 및 오디오 데이터 동기화 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for synchronizing video and audio data.

상기 비디오 및 오디오 데이터 동기화 장치 및 방법은 휴대용단말기나 캠코더기기 등 동영상녹화기능이 제공되는 모든 영역에 적용될 수 있으나, 이하 휴대 용단말기를 일례로 설명한다.The video and audio data synchronizing apparatus and method can be applied to all areas where a video recording function such as a portable terminal or a camcorder is provided, but a portable terminal will be described below as an example.

최근의 휴대용단말기는 고화질 디지털 카메라가 장착되어, 사진을 찍을 수 있도록 만들어진 카메라 폰이 출시되어 사용되고 있다. 이러한 휴대용단말기에서의 카메라는 외장형과 내장형으로 구분되는데, 외장형은 별도로 판매하는 초소형 디지털 카메라를 구입해 휴대 전화기 본체에 부착하는 방식이고, 내장형은 전화기 자체에 소형 카메라 렌즈가 달려 있는 방식이다.Recently, portable phones are equipped with a high-definition digital camera and a camera phone designed to take a picture has been introduced and used. In such a portable terminal, the camera is divided into an external type and an internal type. The external type is a method of purchasing a separately purchased miniature digital camera and attaching it to the main body of the mobile phone. The built-in type is a method in which a small-

이러한 휴대용단말기는 단순한 사진만을 찍을 수 있는 카메라 폰부터 30분 길이의 동영상을 찍을 수 있는 카메라 폰, 26만 컬러 액정화면과 디지털 줌 기능을 갖춘 카메라 폰 등 종류와 성능도 다양하다.Such handheld terminals have various types and performances such as a camera phone capable of taking a simple picture, a camera phone capable of shooting a video of 30 minutes, a camera phone having a 260,000 color liquid crystal screen and a digital zoom function.

상기 휴대용단말기는 영상 화면을 촬영하여 동영상(moving picture) 및 정지영상(still picture)으로 표시할 수 있으며, 또한 촬영된 영상 화면을 기지국에 전송할 수도 있다.The portable terminal can photograph a video screen and display it as a moving picture and a still picture, and can also transmit the photographed video screen to the base station.

이와 같이 휴대용단말기에서 녹화 기능 또는 캠코더 기능을 수행하려고 할 때, 비디오 데이터와 오디오 데이터간의 시간 동기화가 이루어져야 한다.When attempting to perform the recording function or the camcorder function in the portable terminal, the time synchronization between the video data and the audio data must be performed.

도 1은 종래 휴대용단말기에서의 개략 구성도로서, 녹화 모드시 칩간 동기화를 위한 개략 블록 구성도이다.FIG. 1 is a schematic block diagram of a conventional portable terminal, and is a schematic block diagram for synchronizing chips in a recording mode.

도 1을 참조하면, 휴대용단말기는 모뎀 칩(100) 및 DSP 칩(102)을 포함한다. 모뎀 칩(1)은 통화에 관련된 각 종 동작 제어 및 시스템의 전반적인 동작을 제어하며, 사용자의 키 입력을 감지하여 DSP 칩(102)을 제어하게 된다.Referring to FIG. 1, a portable terminal includes a modem chip 100 and a DSP chip 102. The modem chip 1 controls various kinds of operation control related to the call and the overall operation of the system, and controls the DSP chip 102 by sensing a user's key input.

여기서, 상기 모뎀 칩(100)은 일 예로, MSM(Mobile station MODEM(Modulator and Demodulator))칩으로 구현될 수 있다.Here, the modem chip 100 may be implemented as an MSM (Mobile Station Modulator and Demodulator) chip, for example.

DSP(Digital Signal Processor) 칩(102)은 디지털 신호 프로세서로서, 모뎀 칩(100)에 의해 동작 제어를 받는다.A DSP (Digital Signal Processor) chip 102 is a digital signal processor, and is controlled by the modem chip 100.

상기와 같은 휴대용단말기의 녹화 모드시, 듀얼 칩(100)(102)을 사용하는 휴대용단말기에서 두 개의 칩 중 하나의 칩에서만 타이머(104)가 사용되고 나머지 칩에서는 상기 타이머를 사용한 칩에서 시간을 받아서 칩간의 동기화를 수행하게 된다.In the recording mode of the portable terminal, the timer 104 is used only in one of the two chips in the portable terminal using the dual chips 100 and 102, and the remaining chips receive time from the chip using the timer Thereby performing synchronization between the chips.

상기 모뎀 칩(100)은 입력되는 오디오 신호를 인코딩하고, DSP 칩(102)은 카메라로 캡쳐된 비디오 신호를 인코딩하게 된다. 이때, 두 개의 칩간의 동기화를 위해 모뎀 칩(100)은 타이머(104)에서 발생되는 클럭의 시간 정보로부터 오디오 데이터를 인코딩하고, 이때의 오디오 데이터와 오디오 시간 증가분을 DSP 칩(102)으로 전달한다. 여기서, 상기 오디어 시간 증가분은 구해진 오디오 시간 증가분 동안 해당 오디오 데이터를 재생시켜 주는 시간이다.The modem chip 100 encodes an input audio signal, and the DSP chip 102 encodes a video signal captured by the camera. At this time, in order to synchronize the two chips, the modem chip 100 encodes the audio data from the time information of the clock generated by the timer 104, and transmits the audio data and the audio time increment at this time to the DSP chip 102 . Here, the audio time increment is a time for reproducing the audio data during the obtained audio time increment.

상기 DSP 칩(102)은 오디어 데이터 및 오디오 경과시간을 받아서 메모리부( 미도시)에 저장하고, 상기 오디오 경과시간을 이용하여 비디오 경과시간을 구하게 된다. 여기서, 비디오 경과시간은 비디오 데이터의 재생을 위해 저장되는 시간 값이다. The DSP chip 102 receives the audio data and audio elapsed time, stores the audio data and audio elapsed time in a memory unit (not shown), and calculates a video elapsed time using the audio elapsed time. Here, the video elapsed time is a time value stored for reproduction of the video data.

상기 비디오 경과시간은 현재 오디오 경과시간을 합한 전체 시간에서 이전 오디오 시간까지의 합을 감산한 값으로 구해진다. 그러므로, DSP 칩(102)은 오디오 데이터 및 오디오 경과시간, 비디오 데이터 및 비디오 경과시간을 메모리에 저장하게 된다.The video elapsed time is obtained by subtracting the sum from the total time from the current audio elapsed time to the previous audio time. Therefore, the DSP chip 102 stores audio data and audio elapsed time, video data, and video elapsed time in a memory.

상기와 같이 동작하는 종래의 비디오 및 오디오 데이터 동기방법을 사용하게 되면, 프로세서가 적당한 시기에 부호화를 시켜주지 못하고, 비디오 데이터 신호를 잃게 되어 시간적 동기화가 틀어지는 문제점이 생긴다.If the conventional video and audio data synchronization method operates as described above, the processor can not perform encoding at an appropriate time, and the video data signal is lost, thereby causing time synchronization to be lost.

또한, 일시정지/녹화재시작(Pause/Resume) 동작을 여러번 반복하게 되면, 녹화된 오디오 데이터 신호간격이 동일하지 못해, 영상 또는 음성의 연결이 부자연스럽고, 잡음이 발생할 수 있으며 MP4 파일포맷(File Format)의 특성상 동영상파일의 크기가 증가되는 문제점이 생긴다.In addition, if the pause / resume operation is repeated a number of times, the recorded audio data signal intervals may not be the same, the connection of video or audio may be unnatural, noise may occur, and the MP4 file format The size of the video file increases.

본 발명은 동영상녹화시 내부타이머를 이용, 오디오 데이터가 동일한 시간간격으로 입력되도록 하여, 녹화시 일시정지 후, 녹화재시작시 이후 처음 들어오는 오디오 데이터를 비디오와 오디오의 동기화지점으로만 보고 동영상녹화파일에 포함시키지 않음으로써, 녹화된 영상의 품질을 향상시키는 오디오 및 비디오 데이터 동기화 장치 및 방법을 제공한다.The present invention allows audio data to be input at the same time intervals by using an internal timer at the time of moving picture recording so that audio data that comes in first after recording is restarted after a pause in recording is regarded as a synchronization point of video and audio, The present invention provides an apparatus and method for synchronizing audio and video data to improve the quality of a recorded image.

본 발명에 따른 오디오 및 비디오 데이터 동기화 장치는, 녹화일시정지후, 녹화재시작되는 기기에 있어서, 시스템의 전반적인 제어 및 통화 제어를 수행하며, 상기 녹화재시작시 첫번째 오디오 신호가 들어오면 타이머를 동작시킨 후, 상기 첫번째 오디오 데이터를 버리는 모뎀칩(MSM); 상기 모뎀칩과 연결되어, 상기 첫번째 오디오 데이터 이후의 오디오 데이터 및 오디오 경과시간의 저장을 제어하는 DSP 칩; 상기 DSP 칩과 연결되어, 녹화 모드시 비디오 데이터를 캡쳐하여 초당 일정 개의 프레임을 상기 DSP 칩에 전달하는 카메라부; 상기 DSP 칩과 연결되어, 상기 모뎀칩으로부터 전달받은 오디오 데이터 및 오디오 경과시간을 저장하고, 비디오 데이터가 입력될 때마다 상기 경과시간을 비디오 경과시간으로 저장하는 메모리부; 를 구비하며, 상기 모뎀칩은 상기 녹화재시작시 오디오 데이터와 같이 들어오는 비디오 데이터와, 녹화일시정지 명령 이전의 비디오 신호가 들어온 시간의 선후를 비교하는 경과시간계산부를 포함하는 것을 특징으로 한다.The apparatus for synchronizing audio and video data according to the present invention performs overall control and call control of the system in a device for restarting recording after a recording pause, and when a first audio signal is received at the restart of the recording, A modem chip (MSM) for discarding the first audio data; A DSP chip connected to the modem chip for controlling storage of audio data and audio elapsed time after the first audio data; A camera unit connected to the DSP chip for capturing video data in a recording mode and transmitting a predetermined number of frames per second to the DSP chip; A memory unit connected to the DSP chip to store audio data and audio elapsed time transmitted from the modem chip and store the elapsed time as video elapsed time each time video data is input; Wherein the modem chip includes an elapsed time calculator for comparing the time at which the incoming video data such as audio data and the video signal prior to the recording pause command are received at the time of restarting the recording.

또한, 본 발명에 따른 오디오 및 비디오 데이터 동기화 방법은, 녹화일시정지후, 녹화재시작시 들어오는 첫번째 오디오 데이터 신호를 녹화시작 신호로 인식하여 타이머를 동작시키는 단계; 상기 타이머를 동작시킨 킨 후, 상기 첫번째 오디오 데이터 신호가 버려지는 단계; 상기 녹화재시작시 오디오 데이터 신호와 같이 들어오는 비디오 데이터 신호와, 녹화일시정지 명령 이전의 비디오 데이터 신호가 들어온 시간의 선후를 비교하는 단계; 상기 비교결과, 상기 녹화재시작시 오디오 데이터 신호와 같이 들어오는 비디오 데이터 신호가 상기 이전의 비디오 데이터 신호가 들어온 시간보다 작을 경우, 경과시간을 0 으로 만드는 단계; 및 상기 동작되는 타이머에 따라, 녹화가 수행되는 단계를 포함하는 것을 특징으로 한다.The method of synchronizing audio and video data according to the present invention comprises the steps of: operating a timer by recognizing a first audio data signal received as a recording start signal when recording is restarted after a recording pause; Discarding the first audio data signal after activating the timer; Comparing a time at which a video data signal incoming as an audio data signal and a video data signal preceding a recording pause command are input at the time of restarting the video recording; If the video data signal received as the audio data signal at the time of restarting the recording is smaller than the time at which the previous video data signal was received, setting the elapsed time to 0; And performing a recording according to the timer to be operated.

일반적으로 오디오 데이터 신호는 동일한 시간간격으로 입력되어 오디오코덱을 거치게 된다. 휴대용단말기에서 동영상녹화에 많이 사용되는 음성신호 압축방법 은 저음질의 경우 AMR, QCELP,EVRC 등이며 고음질의 경우 AAC등이다.Generally, the audio data signals are input at the same time interval and pass through the audio codec. The audio signal compression method that is often used for video recording in portable terminals is AMR, QCELP, EVRC for low sound quality, and AAC for high sound quality.

비디오 데이터 신호 역시 동일한 시간간격으로 입력되어 비디오코덱을 거치게 되는데 MPEG-4, H.263, H.264등의 압축방법을 사용한다. 그리고 상기 압축방법에 의한 압축데이터는 대부분 MP4 파일 포맷(File Format)에 따라 시간정보와 함께 파일에 저장된다.Video data signals are also input at the same time intervals and pass through a video codec, using compression methods such as MPEG-4, H.263, and H.264. Most of the compressed data by the above compression method is stored in a file together with time information according to the MP4 file format.

따라서, 본 발명에서 시간적동기화를 맞추는 것은 결국 입력된 오디오 데이터 신호와 비디오 데이터 신호를 동일한 시간축으로 묶어두는 것을 의미하며, 오디오 데이터 신호가 입력된 시간을 기준으로 해서 각각의 비디오 데이터 신호를 묶어두는데 초점을 맞춘다.Accordingly, in the present invention, synchronizing the temporal synchronization means that the input audio data signal and the video data signal are concatenated on the same time axis, and the respective video data signals are grouped based on the input time of the audio data signal Focus.

상기 비디오 데이터 신호를 오디오 데이터 신호에 맞추어 동기화시키기 위해서는 먼저, 모든 오디오 데이터 신호를 동일한 시간간격으로 입력되도록 보장해야 하고, 그러기 위해서, 상기 오디오 데이터 신호가 입력될 때마다 경과시간을 보정하고 경과시간을 증가시키는 내부타이머를 시작시킨다.In order to synchronize the video data signal with the audio data signal, it is necessary to ensure that all audio data signals are input at the same time intervals. To do so, the elapsed time is corrected each time the audio data signal is input, Start internal timer to increase.

또한, 오디오코덱을 거쳐 나온 음성압축데이터를 음성신호가 입력된 시간과 함께 저장시키고, 상기 비디오 신호가 입력될 때마다 현재 경과시간을 비디오 경과시간으로 저장한다.In addition, the audio compression data transmitted through the audio codec is stored together with the input time of the audio signal, and the current elapsed time is stored as the video elapsed time each time the video signal is input.

마찬가지로, 비디오코덱을 거쳐 나온 영상압축데이터를 저장된 비디오 경과시간과 함께 파일에 저장한다.Likewise, video compression data from the video codec is stored in a file together with the stored video elapsed time.

이하 첨부된 도면을 참조하여 본 발명의 실시예를 상세히 설명하기로 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명 실시 예에 따른 비디오 및 오디오 데이터 동기화 장치를 나 타낸 구성도이다.2 is a block diagram illustrating a video and audio data synchronizing apparatus according to an embodiment of the present invention.

도 2를 참조하면, 상기 비디오 및 오디오 데이터 동기화 장치는 무선 통신을 위한 고주파부(200)와, 통화 제어와 시스템 전반적인 동작 제어하는 모뎀 칩(MSM)(202)과, 입출력되는 오디오 신호를 처리하는 오디오 처리부(204)를 포함하는 구성이다.Referring to FIG. 2, the video and audio data synchronizing apparatus includes a high frequency unit 200 for wireless communication, a modem chip (MSM) 202 for controlling the call control and the overall operation of the system, And an audio processing unit (204).

모뎀 칩(202)은 패킷데이터 등을 처리하는 데이터 코덱과 음성 등의 오디오 신호를 처리하는 오디오 코덱(206)을 구비한다.The modem chip 202 includes a data codec for processing packet data and the like and an audio codec 206 for processing audio signals such as voice.

또한, 상기 모뎀 칩(202)은 오디오 데이터 신호가 입력될 때마다 경과시간을 보정하고 경과시간을 증가시키는 타이머(208)와, 녹화일시정지후, 녹화재시작시 들어오는 첫번째 오디오 신호가 들어오면 타이머(208)를 동작시키고, 상기 녹화재시작시 오디오 신호와 같이 들어오는 비디오 신호와, 녹화일시정지 명령 이전의 비디오 신호가 들어온 시간의 선후를 비교하는 경과시간계산부(210)를 포함하는 구성이다.In addition, the modem chip 202 includes a timer 208 for correcting the elapsed time and increasing the elapsed time each time an audio data signal is input, a timer 208 for, when a first audio signal arrives at the restart of recording after a recording pause, And an elapsed time calculator 210 for comparing the time of the input video signal and the video signal preceding the recording pause command to each other.

또한, 비디오 및 오디오 데이터 동기화 장치는, 오디오 신호의 입출력을 위한 스피커(212) 및 마이크(214), 통화 및 녹화를 위한 각 종 키 신호를 구비한 키 입력부(216)와, 녹화 모드시 카메라로부터 들어오는 비디오 신호를 처리하며, 비디오 코덱(218)을 구비한 DSP 칩(220)을 포함하는 구성이다.The video and audio data synchronizing apparatus includes a speaker 212 and a microphone 214 for inputting and outputting audio signals, a key input unit 216 having various kinds of key signals for talking and recording, And a DSP chip 220 that processes an incoming video signal and has a video CODEC 218.

또한, 상기 비디오 및 오디오 데이터 동기화 장치는, 외부 영상을 캡쳐하여 상기 DSP 칩(220)으로 전달하는 카메라부(222)와, 정보 표시를 위한 LCD(Liquid Crystal Display)부(224)와, 데이터를 저장하는 메모리부(226)를 포함하는 구성이 다.The video and audio data synchronizing apparatus includes a camera unit 222 for capturing an external image and transmitting the captured image to the DSP chip 220, a liquid crystal display (LCD) unit 224 for displaying information, And a memory unit 226 for storing data.

도 3은 본 발명에 따른 오디오 및 비디오 데이터 동기화 방법으로 동영상 파일 녹화시, 일시정지 후 녹화재시작을 한 경우 비디오/오디오 데이터 스트림과 종래의 비디오 및 오디오 데이터 동기화 방법으로 동영상 파일 녹화시 일시정지 후 녹화재시작을 한 경우 비디오/오디오 데이터 스트림을 비교한 도면이다.FIG. 3 illustrates a method of synchronizing audio and video data according to an embodiment of the present invention. FIG. 3 illustrates a method of synchronizing audio and video data according to an embodiment of the present invention. And a video / audio data stream is compared when restarting.

도 3의 (a)는 휴대용단말기를 이용한 동영상 파일 재생중, 일시정지와 녹화재시작 명령에 따른 오디오/비디오 데이터를 나타낸 도면이다.3 (a) is a diagram showing audio / video data according to a pause and a recording restart command during reproduction of a moving picture file using the portable terminal.

즉, 동영상 파일 재생시, 일정간격으로 들어오던 비디오/오디오 데이터에 사용자에 의한 일시정지 명령(300)이 들어온다. 그러면, 상기 비디오/오디오 데이터가 잠시 끊어지게 되고, 사용자에 의해 녹화재시작 명령(302)이 들어오면, 상기 비디오/오디오 데이터가 다시 재생된다.That is, at the time of reproducing the moving image file, a pause command 300 by the user is inputted into the video / audio data that has come in at regular intervals. Then, the video / audio data is temporarily disconnected, and when the user issues a recording restart command 302, the video / audio data is reproduced again.

도 3의 (b)는 도 3의 (a)에서 일시정지 후, 녹화재시작으로 인해 오디오 데이터 신호의 간격이 일정치 않게 된 종래의 비디오/오디오 데이터를 나타낸 도면이다.3B is a diagram showing conventional video / audio data in which the intervals of the audio data signals become unstable due to the restart of recording after a pause in FIG. 3A.

다시말해, 상기 일시정지후, 녹화재시작된 상기 비디오/오디오 데이터의 스트림 간격이 다른 일정간격을 유지하는 비디오/오디오 데이터에 비해 넓혀져 있으며, 비디오 데이터는 하나의 오디오 데이터 간격에 복수개가 들어가는 경우가 발생한다.In other words, the stream interval of the video / audio data restarted after the pause is widened as compared with the video / audio data maintaining a constant interval, and a case where a plurality of video data are included in one audio data interval Occurs.

도 3의 (c)를 참조하면, 상기 도 3의 (b)를 일정간격으로 들어오는 오디오 신호에 맞추어 스트림을 조정하는 경우, 시간상 나중 비디오 데이터인 V[4]가 V[3] 앞에 위치된 비디오 데이터의 시간역전 현상이 일어나게 되는 것을 알 수 있다.Referring to FIG. 3 (c), when the stream is adjusted according to the audio signal coming in at regular intervals in FIG. 3 (b), the video data V [4] The time reversal phenomenon of the data occurs.

즉, 종래의 비디오/오디오 데이터 동기방법을 사용하게 되면, 프로세서가 적당한 시기에 부호화를 시켜주지 못하고, 비디오 데이터 신호를 잃게 되어 시간적 동기화가 틀어지는 문제점이 생긴다.That is, if the conventional video / audio data synchronization method is used, the processor can not perform encoding at a proper time, and the video data signal is lost, thereby causing a problem of temporal synchronization being lost.

도 3의 (d)를 참조하면, 본 발명에서 제안한 비디오 및 오디오 동기화 방법에 따라, 녹화 일시정지후, 녹화재시작시 처음 들어오는 오디오 신호인 A[3]를 버린다음, 그 시점을 시작신호로 하여 오디오 신호시간으로 비디오 신호를 맞춘다.Referring to FIG. 3 (d), according to the video and audio synchronization method proposed in the present invention, after the recording pause, the audio signal A [3] which is the first incoming audio signal at the time of restarting the recording is discarded, Align the video signal with the audio signal time.

여기서, 상기 A[3] 신호를 버린다는 것은 그 데이터를 동영상녹화파일에 포함시키지 않는다는 의미이다.Here, discarding the A [3] signal means that the data is not included in the video recording file.

동영상파일 재생시 동영상파일내부의 시간정보를 이용해서 동영상을 재생하게 되는데, 시간정보는 오디오와 비디오가 같이 공유를 하는데 녹화시 일시정지후, 녹화 재시작을 수행하면 시간정보가 틀어질 수 있다.When a moving picture file is played back, the moving picture is played using the time information inside the moving picture file. The time information is shared by the audio and the video. When the recording is temporarily stopped after the recording is restarted, the time information may be changed.

따라서 오디오의 시간간격을 동일하게 두어 타이머처럼 사용하면서 녹화시 일시정지후 녹화재시작시 이후 처음 들어오는 오디오데이터를 비디오와 오디오의 동기화지점으로만 보고 동영상녹화파일에 포함시키지 않는다.Therefore, the audio time interval is set to be the same as the timer, and the first incoming audio data after the pause and stop of the recording are not synchronized with the video recording file.

상기와 같은 이유로 버려진 A[3] 이후의 비디오 및 오디오 데이터 신호는 오디오 신호에 맞춰져 비디오 신호가 들어오게 되고, V[5]의 경우, 이미 저장된 V[3] 보다 시간적으로 '이전영상신호가 들어온 시간보다 작은' 경우이므로 경과시간이 0 으로 만들어 진다.For the above reason, the video and audio data signals after the discarded A [3] are set to the audio signal and the video signal comes in. In case of V [5] Time is less than ', so the elapsed time is set to zero.

결론적으로, A[2]와 A[4] 사이에는 V[3], V[5], V[6] 이라는 3개의 비디오신 호가 나타나지만, 시간적으로 빨리 지나가기 때문에 사용자가 직접 육안으로 볼때에는 문제가 생기지 않는다.In conclusion, three video signals V [3], V [5], and V [6] appear between A [2] and A [4] .

다시말해, 첫번째 오디오 데이터 신호를 시작신호로 인식하게 함으로써, 오디오 데이터 신호의 간격을 동일하게 하고, 비디오 데이터 신호의 간격을 보상함으로써 잡음이 작게 발생하면서 부드러운 영상의 연결이 이루어진다.In other words, by allowing the first audio data signal to be recognized as a start signal, the intervals of the audio data signals are made the same, and the interval of the video data signal is compensated, so that a smooth image is generated while noise is small.

도 4는 본 발명에 따른 비디오 및 오디오 동기화 방법을 나타낸 플로우챠트이다.4 is a flow chart illustrating a video and audio synchronization method in accordance with the present invention.

도 4를 참조하면, 휴대용단말기나 캠코더기기 등 동영상녹화기능이 제공되는 기기를 이용하여 녹화를 수행하던 중, 사용자에의한 일시정지 명령에 따라 녹화가 일시정지 된다(S400).Referring to FIG. 4, during recording using a device provided with a video recording function such as a portable terminal or a camcorder, recording is temporarily stopped in response to a pause command by a user (S400).

그런다음, 상기 휴대용단말기나 캠코더기기 등 동영상녹화기능이 제공되는 기기의 제어부는 사용자에 의한 녹화재시작 명령이 입력되었는지 판단한다(S402).In step S402, the control unit of the device provided with the video recording function, such as the portable terminal or the camcorder, determines whether a recording restart command is input by the user.

상기 판단결과, 상기 녹화재시작 명령을 입력받지 않았다면, 상기 녹화재시작 명령을 입력받을 때까지 일시정지상태에서 대기하고 있지만, 상기 녹화재시작 명령을 입력받았다면, 녹화재시작 후 들어오는 비디오 및 오디오 데이터 신호 중 첫번째 오디오 데이터 신호를 녹화시작을 알리는 신호로 인식하고 타이머를 동작킨 후, 그 첫번째 음성신호는 버린다(S404).As a result of the determination, if the recording restart command is not received, the controller waits until the recording restart command is received until the recording restart command is received. However, if the recording restart command is received, The audio data signal is recognized as a signal indicating the start of recording, the timer is activated, and the first audio signal is discarded (S404).

여기서, 상기 첫번째 들어오는 오디오 데이터 신호를 버린다는 것은 그 데이터를 동영상녹화파일에 포함시키지 않는다는 의미이다.Here, discarding the first incoming audio data signal means not including the data in the moving picture recording file.

그런다음, 녹화재시작시 상기 오디오 데이터 신호와 같은 스트림으로 들어오 는 비디오 데이터 신호의 시간이, 이전 비디오 데이터 신호가 들어온 시간보다 작은 경우, 경과시간을 0 으로 만든다(S406).Then, if the time of the video data signal coming in the same stream as the audio data signal is less than the time when the previous video data signal is inputted, the elapsed time is made 0 (S406).

단계 406의 수행후, 휴대용단말기나 캠코더기기 등 동영상녹화기능이 제공되는 기기의 녹화가 재시작된다(S408).After step 406 is performed, recording of a device provided with a video recording function such as a portable terminal or a camcorder device is restarted (S408).

요약하면, 동영상녹화시 내부타이머를 이용, 오디오 데이터가 동일한 시간간격으로 입력되도록 하여, 프레임율이 떨어지는 환경이나 녹화시 일시정지 후, 녹화재시작시 이후 처음 들어오는 오디오 데이터를 비디오와 오디오의 동기화지점으로만 보고 동영상녹화파일에 포함시키지 않음으로써, 안정적이고 잡음이 없으며 부드러운 영상을 만들어낼 수 있게 된다.In summary, when the video is recorded, the internal timer is used to input the audio data at the same time interval. In the environment where the frame rate is low or after pausing at the recording, It is possible to produce a stable, noise-free and smooth image by not including it in a moving image recording file.

본 발명은 도면에 도시된 실시 예를 참고로 설명되었으나, 이는 예시적인 것에 불과하며, 본 기술분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시 예가 가능하다는 점을 이해할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art.

따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

동영상녹화시 내부타이머를 이용, 오디오 데이터가 동일한 시간간격으로 입력되도록 하여, 프레임율이 떨어지는 환경이나 녹화시 일시정지 후, 녹화재시작 이후 처음 들어오는 오디오 데이터를 비디오와 오디오의 동기화지점으로만 보고 동영상녹화파일에 포함시키지 않음으로써, 안정적이고 잡음이 없으며 부드러운 영상을 만들어낼 수 있다.It uses the internal timer to input the audio data at the same time interval by using the internal timer when recording the video, so that only the audio data coming in after the restart of the recording is synchronized with the video and audio, By not including it in the file, it is possible to produce a stable, noise-free and smooth image.

Claims (6)

녹화일시정지후, 녹화재시작되는 기기에 있어서,In a device for restarting recording after a recording pause, 시스템의 전반적인 제어 동작을 수행하며, 상기 녹화재시작시 첫번째 오디오 신호가 들어오면 타이머를 동작시킨 후, 상기 첫번째 오디오 데이터를 버리는 모뎀칩(MSM);A modem chip (MSM) for performing an overall control operation of the system, for activating a timer when the first audio signal is received when the recording is restarted, and then discarding the first audio data; 상기 모뎀칩과 연결되어, 상기 첫번째 오디오 데이터 이후의 오디오 데이터 및 오디오 경과시간의 저장을 제어하는 DSP 칩;A DSP chip connected to the modem chip for controlling storage of audio data and audio elapsed time after the first audio data; 상기 DSP 칩과 연결되어, 녹화 모드시 비디오 데이터를 캡쳐하여 초당 일정 개의 프레임을 상기 DSP 칩에 전달하는 카메라부; 및A camera unit connected to the DSP chip for capturing video data in a recording mode and transmitting a predetermined number of frames per second to the DSP chip; And 상기 DSP 칩과 연결되어, 상기 모뎀칩으로부터 전달받은 오디오 데이터 및 오디오 경과시간을 저장하고, 비디오 데이터가 입력될 때마다 상기 경과시간을 비디오 경과시간으로 저장하는 메모리부를 구비하며, And a memory unit connected to the DSP chip to store audio data and audio elapsed time transmitted from the modem chip and store the elapsed time as video elapsed time each time video data is input, 상기 모뎀칩은 상기 녹화재시작시 오디오 데이터와 같이 들어오는 비디오 데이터와, 녹화일시정지 명령 이전의 비디오 신호가 들어온 시간의 선후를 비교하는 경과시간계산부를 포함하는 것을 특징으로 하는 비디오 및 오디오 데이터 동기화 장치.Wherein the modem chip comprises an elapsed time calculator for comparing the time of the incoming video data with the incoming video data and the video signal prior to the recording pause command in the restart of the video recording. 제 1항에 있어서,The method according to claim 1, 상기 모뎀칩은 오디오 데이터 신호가 입력될 때마다 경과시간을 보정하고 경과시간을 증가시키는 타이머;를 더 포함하는 것을 특징으로 하는 비디오 및 오디오 데이터 동기화 장치.Wherein the modem chip further comprises a timer for correcting the elapsed time and increasing the elapsed time each time an audio data signal is input. 삭제delete 제 1항에 있어서,The method according to claim 1, 상기 경과시간계산부는 상기 녹화재시작시 오디오 데이터와 같이 들어오는 비디오 데이터가, 녹화일시정지 명령 이전의 비디오 데이터가 들어온 시간보다 작을 경우, 경과시간을 0 으로 만드는 것을 특징으로 하는 비디오 및 오디오 데이터 동기화 장치.Wherein the elapsed time calculating unit sets the elapsed time to 0 when the incoming video data such as audio data at the time of restarting the recording is less than the time at which the video data before the recording pause command is received. 녹화일시정지후, 녹화재시작시 들어오는 첫번째 오디오 데이터 신호를 녹화시작 신호로 인식하여 타이머를 동작시키는 단계;Recognizing the first audio data signal that is received when the recording is restarted after the recording pause, as a recording start signal, and operating the timer; 상기 타이머를 동작시킨 킨 후, 상기 첫번째 오디오 데이터 신호가 버려지는 단계;Discarding the first audio data signal after activating the timer; 상기 녹화재시작시 오디오 데이터 신호와 같이 들어오는 비디오 데이터 신호와, 녹화일시정지 명령 이전의 비디오 데이터 신호가 들어온 시간의 선후를 비교하는 단계;Comparing a time at which a video data signal incoming as an audio data signal and a video data signal preceding a recording pause command are input at the time of restarting the video recording; 상기 비교결과, 상기 녹화재시작시 오디오 데이터 신호와 같이 들어오는 비디오 데이터 신호가 상기 이전의 비디오 데이터 신호가 들어온 시간보다 작을 경우, 경과시간을 0 으로 만드는 단계; 및If the video data signal received as the audio data signal at the time of restarting the recording is smaller than the time at which the previous video data signal was received, setting the elapsed time to 0; And 상기 동작되는 타이머에 따라, 녹화가 수행되는 단계를 포함하는 것을 특징으로 하는 비디오 및 오디오 데이터 동기화 방법.And performing recording in accordance with the timer being operated. 제 5항에 있어서,6. The method of claim 5, 상기 버려진 첫번째 오디오 데이터 신호는 동영상녹화파일에 포함되지 않는 것을 특징으로 하는 비디오 및 오디오 데이터 동기화 방법.Wherein the discarded first audio data signal is not included in the moving picture recording file.
KR1020050019971A 2005-03-10 2005-03-10 Synchronization apparatus and method for video and audio data KR100658866B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050019971A KR100658866B1 (en) 2005-03-10 2005-03-10 Synchronization apparatus and method for video and audio data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050019971A KR100658866B1 (en) 2005-03-10 2005-03-10 Synchronization apparatus and method for video and audio data

Publications (2)

Publication Number Publication Date
KR20060099005A KR20060099005A (en) 2006-09-19
KR100658866B1 true KR100658866B1 (en) 2006-12-15

Family

ID=37630332

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050019971A KR100658866B1 (en) 2005-03-10 2005-03-10 Synchronization apparatus and method for video and audio data

Country Status (1)

Country Link
KR (1) KR100658866B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR950010508A (en) * 1993-09-30 1995-04-28 에릭 피. 헤르만 Method and apparatus for synchronizing audio / video signals in digital transmission system
KR19980027646A (en) * 1996-10-17 1998-07-15 이준 Video and Audio Synchronization Method Using Timestamp Compensation and MPEG-2 Encoder Device Using It
KR20010043067A (en) * 1999-03-01 2001-05-25 롤페스 요하네스 게라투스 알베르투스 Digital synchronization of video signals
KR20040085591A (en) * 2003-04-01 2004-10-08 주식회사 씬멀티미디어 Video encoding method and decoding method for mobile terminal which have camera built in
KR20060035475A (en) * 2004-10-22 2006-04-26 엘지전자 주식회사 Synchronization apparatus and method for video and audio data in mobile phone

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR950010508A (en) * 1993-09-30 1995-04-28 에릭 피. 헤르만 Method and apparatus for synchronizing audio / video signals in digital transmission system
KR19980027646A (en) * 1996-10-17 1998-07-15 이준 Video and Audio Synchronization Method Using Timestamp Compensation and MPEG-2 Encoder Device Using It
KR20010043067A (en) * 1999-03-01 2001-05-25 롤페스 요하네스 게라투스 알베르투스 Digital synchronization of video signals
KR20040085591A (en) * 2003-04-01 2004-10-08 주식회사 씬멀티미디어 Video encoding method and decoding method for mobile terminal which have camera built in
KR20060035475A (en) * 2004-10-22 2006-04-26 엘지전자 주식회사 Synchronization apparatus and method for video and audio data in mobile phone

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
1019950010508
1019980027646
1020010043067

Also Published As

Publication number Publication date
KR20060099005A (en) 2006-09-19

Similar Documents

Publication Publication Date Title
KR100606060B1 (en) Method and device for outputting data of wireless terminal to external device
US20090096927A1 (en) System and method for video coding using variable compression and object motion tracking
US20050264650A1 (en) Apparatus and method for synthesizing captured images in a mobile terminal with a camera
KR100605935B1 (en) Method for taking moving picture
KR101042796B1 (en) Method for processing incoming call of wireless telephone having camera
KR20100041108A (en) Moving picture continuous capturing method using udta information and portable device supporting the same
JP2000156812A (en) Camera with communication function
KR100658866B1 (en) Synchronization apparatus and method for video and audio data
KR100810265B1 (en) Device and method for photographing image in wireless terminal
JP2005223778A (en) Video audio viewing apparatus
CN108111920A (en) Video information processing method and device
JP2006211570A (en) Photographing apparatus
KR20050042852A (en) Mobile communication terminal display method using touch screen
KR100622225B1 (en) Synchronization apparatus and method for video and audio data in mobile phone
US20070191038A1 (en) Method for transmitting message in a wireless terminal
KR100835376B1 (en) Method and apparatus for recording moving images in mobile telecommunication terminal
KR100605995B1 (en) Method for performing memo of voice in wireless terminal
JP2003209600A (en) Calling system, calling terminal, method, program, and computer-readable storage medium
KR100557094B1 (en) Method for adjusting inverted image in display system
KR100594147B1 (en) Video data playback method of portable terminal
JP2002344649A (en) Method, system and program for photographing, storing and restoring moving picture utilizing personal digital assistant
KR20050041589A (en) Method for taking moving picture in wireless phone
JP2004312130A (en) Ip television telephone
JP4683117B2 (en) Camera with communication function
KR100548617B1 (en) Reservation shooting method on mobile communication terminal

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee