KR100631518B1 - How to handle video file playback error - Google Patents

How to handle video file playback error Download PDF

Info

Publication number
KR100631518B1
KR100631518B1 KR1020050005921A KR20050005921A KR100631518B1 KR 100631518 B1 KR100631518 B1 KR 100631518B1 KR 1020050005921 A KR1020050005921 A KR 1020050005921A KR 20050005921 A KR20050005921 A KR 20050005921A KR 100631518 B1 KR100631518 B1 KR 100631518B1
Authority
KR
South Korea
Prior art keywords
video
playback
speed
error
video file
Prior art date
Application number
KR1020050005921A
Other languages
Korean (ko)
Other versions
KR20060085021A (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 KR1020050005921A priority Critical patent/KR100631518B1/en
Publication of KR20060085021A publication Critical patent/KR20060085021A/en
Application granted granted Critical
Publication of KR100631518B1 publication Critical patent/KR100631518B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs

Abstract

본 발명은 동영상 파일 재생 오류 처리방법에 관한 것으로, 동영상 파일 재생시 멈춤 현상이 발생하면 그 멈춤현상의 오류 요인을 분석하여 자동으로 동영상을 다시 재생하도록 한 것이다. 이를 위하여 본 발명은 임의의 콘텐츠를 파싱하여 동영상 파일을 재생하는 단계; 파일 재생중 멈춤현상이 발생하면 시스템 에러가 발생하였는지를 판단하는 단계; 및 상기 판단결과, 시스템 에러가 발생하면 리셋 요청 메시지를 발생하며, 시스템 에러가 발생하지 않으면 동영상 재생오류 판정속도를 기초로 동영상 재생속도를 분석하고, 그 분석결과에 근거하여 리셋 요청 메시지 발생 또는 동영상 파일 재생을 초기화하는 단계로 이루어진다.The present invention relates to a video file playback error processing method, and when a stoppage occurs when a video file is played, an error factor of the stoppage is analyzed to automatically play back the video. To this end, the present invention parses arbitrary content to play a video file; Determining whether a system error has occurred if a pause occurs while playing a file; And generating a reset request message if a system error occurs. If a system error does not occur, analyzing a video playback speed based on a video playback error determination speed and generating a reset request message or a video based on the analysis result. Initializing file playback.

Description

동영상 파일 재생오류 처리방법{MOVING PICTURE FILE PLAY ERROR PROCESS METHOD}How to handle video file playback error {MOVING PICTURE FILE PLAY ERROR PROCESS METHOD}

도1은 본 발명 동영상 파일 재생오류 처리방법에 대한 동작흐름도.1 is a flowchart illustrating a method of processing a video file playback error of the present invention.

본 발명은 동영상 파일 재생 오류 처리방법에 관한 것으로, 특히 동영상 파일 재생시 멈춤 현상이 발생하면 그 멈춤현상의 오류 요인을 분석하여 자동으로 동영상을 다시 재생하도록 한 동영상 파일 재생 오류 처리방법에 관한 것이다.The present invention relates to a video file playback error processing method, and more particularly, to a video file playback error processing method for automatically replaying a video by analyzing an error factor of a stop phenomenon when a video file playback occurs.

현재는 카메라를 이용한 장치를 출시하는 사례가 늘어나고 있는데, 이동통신단말기로부터 PDA, MP3등 여러 종류의 카메라 달린 장치들이 선보이고 있다. Nowadays, the use of cameras is increasing, and various types of camera-equipped devices such as PDAs and MP3s are being introduced from mobile communication terminals.

물론 사용자들은 이러한 카메라를 통해 정지영상뿐만 아니라 동영상을 촬영하고 있는데, 즉 내부 코덱에서 카메라부로부터 촬영된 영상데이터를 부호화하여 영상 데이터를 생성하고, 그 영상데이터를 소정 영상처리과정을 거쳐 표시부에 인가되어 표시함과 아울러 그 촬영되는 영상데이터를 저장한다.Of course, users are shooting not only still images but also moving images through such a camera. That is, the internal codec encodes image data shot from the camera unit to generate image data, and the image data is applied to the display unit through a predetermined image processing process. Display and store the captured image data.

이런 상태에서, 사용자가 상기 영상데이터를 선택하여 재생하고자 하는 경우에, 파서가 상기 영상데이터를 파싱하고 그 파싱된 데이터를 재생하는데, 이러한 동영상 재생시, 멈춤 현상이 나타나는 경우가 종종 발생한다.In this state, when the user selects and reproduces the image data, the parser parses the image data and reproduces the parsed data, which often occurs when a video is reproduced.

상기 동영상 재생중에 발생하는 멈춤현상은 코덱에 의한 오류일 가능성이 높은데, 코덱은 영상과 음성정보를 동기화하기 위해 Thread나 mmtimer라는 또 다른 프로세서를 사용하기 때문에 시스템의 영향을 받을 수 밖에 없다.The pause that occurs during video playback is likely to be caused by a codec, but the codec is affected by the system because it uses another processor, Thread or mmtimer, to synchronize video and audio information.

상기 동영상 재생중에 발생하는 멈춤현상에 대한 종래의 대처방법은, UI 프로그래머 입장에서는 블랙박스화되어 있는 코덱을 직접 제어하기에는 문제가 있으므로, 사용자가 직접 현재 재생동작을 정지시킨후 다시 재생하는 방식을 사용하고 있다.Conventional countermeasures against freezes occurring during video playback are problematic for UI programmers to directly control codecs that are black boxed. Therefore, the user directly stops the current playback operation and plays again. Doing.

이에 따라, 동영상 재생중에 멈춤현상이 발생할 때마다, 사용자가 직접 재생 동작을 정지 및 다시 재생시켜야하므로 사용자의 편의성이 저하되는 문제점이 있다.Accordingly, whenever a pause occurs during video playback, the user has to directly stop and replay the playback operation, thereby reducing the user's convenience.

본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로, 동영상 파일 재생시 멈춤 현상이 발생하면 그 멈춤현상의 오류 요인을 분석하여 자동으로 동영상을 다시 재생하도록 한 동영상 파일 재생 오류 처리방법을 제공함에 그 목적이 있다.The present invention has been made in order to solve the above problems, and when a stoppage occurs when playing a video file, it analyzes an error factor of the stop phenomenon and provides a video file playback error processing method for automatically replaying a video. The purpose is.

상기와 같은 목적을 달성하기 위한 본 발명은, 임의의 콘텐츠를 파싱하여 동영상 파일을 재생하는 단계;The present invention for achieving the above object, parsing any content to play a video file;

파일 재생중 멈춤현상이 발생하면 시스템 에러가 발생하였는지를 판단하는 단계; 및Determining whether a system error has occurred if a pause occurs while playing a file; And

상기 판단결과, 시스템 에러가 발생하면 리셋 요청 경고메시지를 발생하며, 시스템 에러가 발생하지 않으면 동영상 재생오류 판정속도를 기초로 동영상 재생속도를 분석하고, 그 분석결과에 근거하여 리셋 요청 메시지 발생 또는 동영상 파일 재생을 초기화하는 단계를 수행함을 특징으로 한다.As a result of the determination, if a system error occurs, a reset request warning message is generated. If a system error does not occur, the video playback speed is analyzed based on the video playback error determination speed, and a reset request message or video is generated based on the analysis result. Performing file initialization.

상기 리셋 요청 메시지 발생 또는 동영상 파일 재생을 초기화하는 단계는,Initiating the reset request message or video file playback,

동영상 재생속도에, 동영상 재생 오류판정속도를 가산하고, 그 가산된 합을 파싱속도와 비교하는 단계와;Adding a video playback error determination speed to a video playback speed, and comparing the added sum with a parsing speed;

상기 비교결과, 상기 가산된 합이 파싱속도보다 작으면 리셋요청 메시지를 발생하고, 상기 가산된 합이 파싱속도보다 크면 상기 동영상 재생속도가 동영상 재생 오류판정속도보다 큰지를 판단하는 단계와;As a result of the comparison, generating a reset request message if the sum is less than the parsing speed, and determining whether the video play speed is greater than the video play error determination speed if the sum is greater than the parsing speed;

상기 판단결과, 상기 동영상 재생속도가 동영상 재생오류 판정속도 보다 작으면 현재 동영상 파일 재생을 초기화하는 단계로 이루어진다.As a result of the determination, when the video playback speed is smaller than the video playback error determination speed, the current video file playback is initialized.

이하, 본 발명에 의한 동영상 파일 재생오류 처리방법에 대한 작용 및 효과를 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, with reference to the accompanying drawings, the operation and effects of the video file playback error processing method according to the present invention will be described in detail.

도1은 본 발명 동영상 파일 재생오류 처리방법에 대한 동작흐름도이다.1 is a flowchart illustrating a method of processing a video file playback error according to the present invention.

도1에 도시한 바와같이 본 발명은, 사용자에 의해, 파일 재생모드가 선택되면, 임의의 콘텐츠를 파싱하여 동영상 파일을 재생하는 과정(SP1~SP3)과; 상기 동영상 파일 재생중 멈춤현상이 발생하면 시스템 에러가 발생하였는지를 판단하는 과정(SP4,SP5)과; 상기 판단결과, 시스템 에러가 발생하면 리셋 요청 경고메시지를 발생하며, 시스템 에러가 발생하지 않으면 동영상 재생속도를 분석하고, 그 분석결 과에 근거하여 동영상 파일 재생을 초기화하는 과정(SP6~SP9)으로 이루어지며, 이와같은 본 발명의 동작을 설명한다.As shown in Fig. 1, the present invention provides a method (SP1 to SP3) for reproducing a video file by parsing arbitrary content when a file playing mode is selected by a user; Determining whether a system error has occurred if a pause occurs while playing the video file (SP4, SP5); As a result of the determination, if a system error occurs, a reset request warning message is generated. If a system error does not occur, the video playback speed is analyzed, and the playback of the video file is initialized based on the analysis result (SP6 to SP9). The operation of the present invention will be described.

먼저, 사용자에 의해, 파일 재생모드가 선택되면(SP1), 임의의 콘텐츠를 파싱하여(SP2) 동영상 파일을 재생한다(SP3).First, when the file playback mode is selected by the user (SP1), arbitrary content is parsed (SP2) to play a video file (SP3).

이렇게 동영상 파일을 재생하다가, 멈춤현상이 발생하면(SP3) 시스템 에러,즉 코덱 내부에서 기계적인 문제가 발생하였는지를 판단한다(SP5).When the video file is played back and thus stops (SP3), it is determined whether a system error, that is, a mechanical problem occurs inside the codec (SP5).

여기서, 상기 시스템 에러는 코덱(Codec)에서 제공하는 시스템 부분 에러 코드로써 보통 일정 반환 값을 갖는다.The system error is a system partial error code provided by a codec and usually has a constant return value.

상기 판단결과(SP5), 상기 멈춤현상이 시스템 에러에 의한 현상으로 판정되면, 시스템의 과부하를 해소하기 위하여 리셋 요청 경고 메시지를 발생하고(SP7), 이에 따라 사용자가 상기 리셋 요청 경고 메시지를 확인하여 시스템을 리셋시킨다.If the determination result (SP5), the stop phenomenon is determined to be due to a system error, a reset request warning message is generated to solve the overload of the system (SP7), so that the user confirms the reset request warning message Reset the system.

상기 판단결과(SP5) 상기 멈춤현상이 시스템 에러에 의한 현상으로 판정되지 않으면, 동영상 재생속도를 분석하고, 그 분석결과에 근거하여 동영상 파일 재생을 초기화한다(SP6,SP8,SP9).As a result of the determination (SP5), if the stop phenomenon is not determined to be a phenomenon due to a system error, the moving picture playback speed is analyzed and the moving picture file is initialized based on the analysis result (SP6, SP8, SP9).

즉, 현재 동영상 재생속도에, 동영상재생 오류 판정속도를 가산한후, 그 가산한 값을 콘텐츠의 파싱속도와 비교하는데(SP6), 이때 상기 동영상 재생 오류 판정속도는 5fps(frame per second)로 설정된다.That is, after adding the video playback error determination speed to the current video playback speed, the added value is compared with the parsing speed of the content (SP6), wherein the video playback error determination speed is set to 5 fps (frame per second). do.

상기 비교결과(SP6), 상기 가산된 합이 파싱속도보다 작으면 시스템의 과부하를 해소하기 위한 리셋요청 메시지를 발생하고(SP7), 이에 따라 사용자가 상기 리셋 요청 경고메시지를 확인하여 시스템을 리셋시킨다.As a result of the comparison (SP6), if the sum is less than the parsing speed, a reset request message is generated to solve the overload of the system (SP7), and the user resets the system by checking the reset request warning message. .

반면에, 상기 비교결과(SP6), 상기 가산된 합이 파싱속도보다 크면 상기 동영상 재생속도가 동영상 재생 오류 판정속도보다 큰지를 판단한다(SP8).On the other hand, if the added result is greater than the parsing speed (SP6), it is determined whether the video playback speed is greater than the video playback error determination speed (SP8).

상기 판단결과(SP8), 상기 동영상 재생속도가 동영상 재생 오류 판정속도(본 발명의 일실시예에서는 5 fps)보다 작은 경우는 디코딩에 따른 버퍼링 문제인 경우가 많으므로, 현재 동영상 파일의 재생 동작을 초기화한 후(SP9), 자동으로 재생을 다시 시작한다. 그리고, 상기 판단결과(SP8), 상기 동영상 재생속도가 동영상 재생오류 판정속도보다 큰 경우에는 계속하여 콘텐츠를 파싱하여 동영상 파일을 재생한다.(SP2 단계로 다시 돌아감)As a result of the determination (SP8), when the video playback speed is smaller than the video playback error determination speed (5 fps in one embodiment of the present invention), it is often a buffering problem due to decoding, so that the playback operation of the current video file is initialized. After restarting (SP9), playback resumes automatically. If the video playback speed is greater than the video playback error determination speed, the determination result SP8 continues parsing the content to play the video file. (Return to step SP2.)

즉, 본 발명은 동영상 파일 재생시 멈춤 현상이 발생하면 그 멈춤현상의 오류 요인을 분석하고, 그 분석결과에 근거하여 사용자에게 경고메시지를 알린후, 자동으로 동영상을 다시 재생하도록 한 것이다.That is, the present invention analyzes error factors of the stop phenomenon when a stoppage occurs when playing a video file, informs the user of a warning message based on the analysis result, and automatically replays the video.

상기 본 발명의 상세한 설명에서 행해진 구체적인 실시 양태 또는 실시예는 어디까지나 본 발명의 기술 내용을 명확하게 하기 위한 것으로 이러한 구체적 실시예에 한정해서 협의로 해석해서는 안되며, 본 발명의 정신과 다음에 기재된 특허 청구의 범위내에서 여러가지 변경 실시가 가능한 것이다.The specific embodiments or examples made in the detailed description of the present invention are intended to clarify the technical contents of the present invention to the extent that they should not be construed as limited to these specific embodiments and should not be construed in consultation. Various changes can be made within the scope of.

이상에서 상세히 설명한 바와같이 본 발명은, 동영상 파일 재생시 멈춤 현상이 발생하면 그 멈춤현상의 오류 요인을 분석하여 자동으로 동영상을 다시 재생함으로써, 사용자의 편의성을 향상시키는 효과가 있다. As described in detail above, the present invention has an effect of improving the convenience of the user by analyzing the error factor of the stop phenomenon and automatically replaying the video when a stoppage phenomenon occurs.

Claims (3)

임의의 콘텐츠를 파싱하여 동영상 파일을 재생하는 단계;Parsing arbitrary content to play a video file; 파일 재생중 멈춤현상이 발생하면 시스템 에러가 발생하였는지를 판단하는 단계; 및Determining whether a system error has occurred if a pause occurs while playing a file; And 상기 판단결과, 시스템 에러가 발생하면 리셋 요청 메시지를 발생하며, 시스템 에러가 발생하지 않으면 동영상 재생오류 판정속도를 기초로 동영상 재생속도를 분석하고, 그 분석결과에 근거하여 리셋 요청 메시지 발생 또는 동영상 파일 재생을 초기화하는 단계As a result of the determination, if a system error occurs, a reset request message is generated. If a system error does not occur, the video playback speed is analyzed based on the video playback error determination speed, and a reset request message or video file is generated based on the analysis result. Steps to Initialize Playback 를 포함하여 이루어지는 것을 특징으로 하는 동영상 파일 재생오류 처리방법.Video file playback error processing method characterized in that it comprises a. 제1 항에 있어서, 상기 리셋 요청 메시지 발생 또는 동영상 파일 재생을 초기화하는 단계는,The method of claim 1, wherein the initializing of the reset request message or the playing of the video file comprises: 동영상 재생속도에, 동영상 재생오류 판정속도를 가산하고, 그 가산된 합을 파싱속도와 비교하는 단계;Adding a video playback error determination speed to the video playback speed and comparing the added sum with a parsing speed; 상기 비교결과, 상기 가산된 합이 파싱속도보다 작으면 리셋 요청 메시지를 발생하고, 상기 가산된 합이 파싱속도보다 크면 상기 동영상 재생속도가 동영상 재생오류 판정속도보다 큰지를 판단하는 단계; 및As a result of the comparison, generating a reset request message if the added sum is less than a parsing speed, and determining whether the video playing speed is greater than a video playing error determination speed if the added sum is greater than the parsing speed; And 상기 판단결과, 상기 동영상 재생속도가 동영상 재생오류 판정속도보다 작으면 현재 동영상 파일 재생을 초기화한 후, 자동으로 동영상 파일 재생을 시작하는 단계If the video playback speed is less than the video playback error determination speed, initializing the current video file playback and automatically starting the video file playback. 를 포함하는 것을 특징으로 하는 동영상 파일 재생오류 처리방법.Video file playback error processing method comprising the. 제1항 또는 제2항에 있어서, 동영상 재생오류 판정속도는,The video playback error determination speed of claim 1 or 2, 실험에 의해, 5fps로 설정되는 것을 특징으로 하는 동영상 파일 재생오류 처리방법.Experimental, the video file playback error processing method characterized in that it is set to 5fps.
KR1020050005921A 2005-01-21 2005-01-21 How to handle video file playback error KR100631518B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050005921A KR100631518B1 (en) 2005-01-21 2005-01-21 How to handle video file playback error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050005921A KR100631518B1 (en) 2005-01-21 2005-01-21 How to handle video file playback error

Publications (2)

Publication Number Publication Date
KR20060085021A KR20060085021A (en) 2006-07-26
KR100631518B1 true KR100631518B1 (en) 2006-10-11

Family

ID=37174870

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050005921A KR100631518B1 (en) 2005-01-21 2005-01-21 How to handle video file playback error

Country Status (1)

Country Link
KR (1) KR100631518B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100737067B1 (en) * 2006-07-06 2007-07-06 주식회사 대우일렉트로닉스 Apparatus and method for outputting reset signal of video display system
KR20140031717A (en) 2012-09-05 2014-03-13 삼성전자주식회사 Method and apparatus for managing contents

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002101375A (en) 2000-09-22 2002-04-05 Ricoh Co Ltd Device and method for reproducing information
JP2002165167A (en) 2000-11-29 2002-06-07 Brother Ind Ltd Editing apparatus of video data, and error decision method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002101375A (en) 2000-09-22 2002-04-05 Ricoh Co Ltd Device and method for reproducing information
JP2002165167A (en) 2000-11-29 2002-06-07 Brother Ind Ltd Editing apparatus of video data, and error decision method

Also Published As

Publication number Publication date
KR20060085021A (en) 2006-07-26

Similar Documents

Publication Publication Date Title
KR101365829B1 (en) Timing aspects of media content rendering
US8438484B2 (en) Video preview module to enhance online video experience
KR101265936B1 (en) Synchronization aspects of interactive multimedia presentation management
KR101246976B1 (en) Aspects of media content rendering
TWI502977B (en) Audio/video playing device, audio/video processing device, systems, and method thereof
KR102010513B1 (en) Method and apparatus for playing back recorded video
CN111436004B (en) Video playing method, device and equipment and computer readable storage medium
JP5745063B2 (en) Semantic-based trick mode playback method in video system
JP2009543497A (en) Apparatus and method for playing audio-video content
US9055272B2 (en) Moving image reproduction apparatus, information processing apparatus, and moving image reproduction method
WO2020151398A1 (en) Method,device and storage medium for seamlessly switching hardware decoding dynamic resolution,
JP2007174195A (en) Electronic equipment, and automatic scene skipping method, and program
KR100631518B1 (en) How to handle video file playback error
US8238725B2 (en) System and method for providing personal video recording trick modes
KR970063188A (en) Video Data Decoder and Decoding Method
US20060029367A1 (en) Sequence header identification
US20120328017A1 (en) Video decoder and video decoding method
JP2006066995A (en) Image reproducer, its control method and program, and storage medium
TW201236462A (en) System and method for recording a video
US20100132005A1 (en) Recapping media content
RU2361294C2 (en) Method and device for synchronous playing main and additional content recorded on interactive record medium
KR100652689B1 (en) A method for parsing size of the contents in a mobile terminal
JP5968069B2 (en) Image processing apparatus, imaging apparatus, image processing apparatus control method, and program
KR101287842B1 (en) Method for controlling file of moving picture
KR20120050725A (en) Method and apparatus for reproducing of data

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