KR101254320B1 - Electronic apparatus for displaying exact play time of media file and the method thereof - Google Patents
Electronic apparatus for displaying exact play time of media file and the method thereof Download PDFInfo
- Publication number
- KR101254320B1 KR101254320B1 KR1020060091739A KR20060091739A KR101254320B1 KR 101254320 B1 KR101254320 B1 KR 101254320B1 KR 1020060091739 A KR1020060091739 A KR 1020060091739A KR 20060091739 A KR20060091739 A KR 20060091739A KR 101254320 B1 KR101254320 B1 KR 101254320B1
- Authority
- KR
- South Korea
- Prior art keywords
- media file
- time
- playback
- play
- measured
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 15
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/34—Indicating arrangements
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B19/00—Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
- G11B19/20—Driving; Starting; Stopping; Control thereof
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/36—Monitoring, i.e. supervising the progress of recording or reproducing
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
Abstract
미디어 파일의 정확한 재생시간을 표시하는 전자장치 및 그 방법이 제공된다. 본 재생시간 표시방법은, 미디어 파일의 재생시간을 측정하는 단계 및 상기 측정된 재생시간을 상기 미디어 파일의 재생시간에 대한 정보로 기록하는 단계를 포함한다. 이에 따라, 가변적인 비트레이트로 인코딩된 미디어 파일의 재생시간 표시에 오차가 발생하는 문제점이 해결된다.An electronic device and method for displaying the correct playback time of a media file are provided. The present playing time display method includes measuring a playing time of a media file and recording the measured playing time as information on a playing time of the media file. Accordingly, the problem that an error occurs in the display of the playback time of a media file encoded with a variable bitrate is solved.
VBR, 재생시간 VBR, Duration
Description
도 1은 본 발명의 일 실시 예에 따른, 미디어 파일의 정확한 재생시간을 표시하는 전자장치를 개략적으로 도시한 블럭도, 및1 is a block diagram schematically illustrating an electronic device for displaying an accurate playback time of a media file, according to an embodiment of the present disclosure; and
도 2는 본 발명의 일 실시 예에 따른, 미디어 파일의 정확한 재생시간을 표시하는 방법에 제공되는 흐름도이다.2 is a flowchart provided in a method of displaying an accurate playback time of a media file according to an embodiment of the present invention.
* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
111 : 조작부 112 : 기록매체111: operation unit 112: recording medium
113 : 음성신호처리부 114 : 음성출력부113: voice signal processing unit 114: voice output unit
115 : 저장부 116 : 영상신호처리부115: storage unit 116: image signal processing unit
117 : 표시정보생성부 118 : 영상출력부117: display information generation unit 118: image output unit
119 : 제어부119: control unit
본 발명은 미디어 파일의 정확한 재생시간을 표시하는 전자장치 및 그 방법 에 관한 것으로서, 보다 상세하게는, 가변비트레이트에 따라 생성된 미디어 파일의 정확한 재생시간을 표시하는 전자장치 및 그 방법에 관한 것이다.The present invention relates to an electronic apparatus and method for displaying an accurate playing time of a media file, and more particularly, to an electronic apparatus and method for displaying an accurate playing time of a media file generated according to a variable bit rate. .
미디어 파일은 영상 및 음성을 디지털 형태로 인코딩하여 이를 저장매체를 통해 저장하고, 필요에 따라 재생 및 제어를 통해 기록된 영상 및 음성을 출력하는 파일 형태이다.A media file is a file format that encodes video and audio in a digital form, stores it through a storage medium, and outputs recorded video and audio through playback and control as necessary.
그리고, 미디어 파일은 비트레이트에 따른 인코딩 방법으로 구분할 수 있는데, CBR(Constant Bit Rate), VBR(Variable Bit Rate), ABR(Average Bit Rate)으로 구분될 수 있다.The media file may be classified into encoding methods according to bit rates, and may be classified into a constant bit rate (CBR), a variable bit rate (VBR), and an average bit rate (ABR).
CBR은 일정한 비트레이트에 따라 입력되는 정보의 양에 상관없이 일정한 비트율에 따라 인코딩한다. 그리고, VBR은 입력되는 정보의 양에 따라 가변적으로 비트레이트를 적용하여 인코딩한다. 또한, ABR은 위의 CBR과 VBR을 혼합한 방법으로 일정한 비트레이트를 정하고 인코딩하면서 필요한 곳에 비트 수를 추가하거나 차감하여 일정한 비트레이트를 만들어 인코딩한다.CBR encodes according to a constant bit rate regardless of the amount of information input according to a constant bit rate. The VBR variably applies the bit rate according to the amount of information to be encoded. In addition, ABR is a mixture of the above CBR and VBR to determine and encode a constant bit rate, while encoding and creating a constant bit rate by adding or subtracting bits where necessary.
위의 인코딩 방법에 따른 미디어 파일은 재생될 경우 미디어 파일의 총재생시간, 재생된 시간 및 남은 시간을 표시하게 된다. CBR의 경우 일정한 비트레이트를 가지기 때문에 전체 미디어 파일 사이즈를 비트레이트로 나눔으로써 전체 재생시간을 산출할 수 있다. When the media file according to the above encoding method is played back, the media file displays the total playing time, played time, and remaining time of the media file. Since CBR has a constant bitrate, the total playing time can be calculated by dividing the total media file size by the bitrate.
하지만, 가변적인 비트레이트로 인코딩된 VBR의 경우, 시점마다 적용되는 비트레이트가 다르기 때문에 전체 재생시간을 산출하기에 어려움이 있다. 물론, 소정 시간의 비트레이트의 평균을 구하고 이를 이용하여 CBR과 같은 방법으로 재생시간 을 산출할 수 있지만 오차가 있어 정확한 시간을 표시할 수 없다.However, in the case of the VBR encoded with the variable bitrate, it is difficult to calculate the total reproduction time because the bitrate applied for each time point is different. Of course, the average of the bit rate of a predetermined time can be obtained and the playback time can be calculated using the same method as the CBR, but there is an error so that the correct time cannot be displayed.
본 발명이 이루고자 하는 기술적 과제는, 가변비트레이트에 따라 생성된 미디어 파일의 재생시간을 오차 없이 표시기 위해 미디어 파일이 재생되는 동안 항상 일정한 주파수를 갖는 시스템타임을 이용하여 재생시간을 측정하고, 이에 따라 위의 미디어 파일이 다시 재생됐을 경우 미디어 파일의 정확한 재생시간을 표시하는 전자장치 및 그 방법을 제공함에 있다.The technical problem to be achieved by the present invention is to measure the playback time using a system time always having a constant frequency while the media file is playing, in order to display the playback time of the media file generated according to the variable bit rate without error, and accordingly The present invention provides an electronic device and a method for displaying the correct playback time of a media file when the media file is played again.
상기와 같은 기술적인 과제를 해결하기 위한 본 발명에 따른 재생시간 산출 방법은 미디어 파일의 재생시간을 측정하는 단계 및 상기 측정된 재생시간을 상기 미디어 파일의 재생시간에 대한 정보로 기록하는 단계를 포함한다.In order to solve the above technical problem, a method of calculating a play time according to the present invention includes measuring a play time of a media file and recording the measured play time as information on a play time of the media file. do.
그리고, 상기 미디어 파일의 재생시간에 대한 정보를 표시하는 단계를 포함하는 것을 특징으로 한다.And displaying information on a play time of the media file.
또한, 상기 미디어 파일은 가변비트레이트(Variable Bit Rate)에 따라 생성된 파일인 것을 특징으로 한다.The media file may be a file generated according to a variable bit rate.
그리고, 상기 측정단계는 상기 미디어 파일 재생 시작부터 재생 종료시까지 소요된 시간에서, 상기 미디어 파일의 재생이 중지된 시간을 차감한 시간을, 상기 미디어 파일의 재생시간으로 측정하는 것을 특징으로 한다.The measuring may include measuring, as a playing time of the media file, a time obtained by subtracting the time when the playing of the media file is stopped from the time taken from the start of playing of the media file to the end of playing.
한편, 미디어 파일의 정확한 재생시간을 산출하는 전자장치는 미디어 파일을 재생가능하도록 처리하는 신호처리부 및 상기 미디어 파일의 재생시간을 측정하고, 상기 측정된 상기 미디어 파일의 재생시간을 상기 미디어 파일의 재생시간에 대한 정보로 기록하는 제어부를 포함한다.On the other hand, the electronic device for calculating the correct playback time of the media file is measured by the signal processing unit for processing the media file to be playable and the playback time of the media file, and the playback time of the media file is measured It includes a control unit for recording with information about time.
이하에서는 도면을 참조하여 본 발명을 더욱 상세하게 설명한다.Hereinafter, the present invention will be described in more detail with reference to the drawings.
도 1은 본 발명의 일 실시 예에 따른, 시스템타임을 이용하여 미디어 파일의 재생시간을 산출하는 전자장치를 개략적으로 도시한 블럭도이다.1 is a block diagram schematically illustrating an electronic device for calculating a play time of a media file using a system time according to an embodiment of the present disclosure.
도 1을 참조하면, 본 발명의 바람직한 실시 에에 따른 전자장치는 조작부(111), 기록매체(112), 음성시호처리부(113), 음성출력부(114), 저장부(115), 영상신호처리부(116), 표시정보생성부(117), 영상출력부(118), 제어부(119)를 포함한다.Referring to FIG. 1, an electronic device according to a preferred embodiment of the present invention includes an
조작부(111)는 사용자의 명령에 따른 입력 신호를 생성하기 위한 버튼들을 구비한다. 조작부(111)는 사용자의 조작에 의해 버튼이 선택되면, 선택된 버튼에 대응하는 입력신호가 생성되고 이를 후술할 제어부(119)로 전달된다. The
기록매체(112) 전자장치에 마련된 기록매체 인터페이스를 통해 영상 및 음성이 디지털신호로 인코딩된 미디어 파일을 저장한다. 예로써, 자기 디스크, 광 디스크, 메모리스틱 등의 기록매체가 될 수 있다. 그리고, 기록매체(112)는 후술할 저장부(115)와 동일한 저장공간이 될 수 있다.The
음성신호처리부(113) 기록매체(112)에 저장되어 있는 음성 미디어 파일을 전달받아 디코딩한 음성신호를 음성출력부(114)에 제공한다.The
음성출력부(114)는 음성신호처리부(113)에서 전달받은 음성신호를 출력하거나 외부의 출력장치로 전달한다.The
저장부(115)는 전자장치의 설정 및 제어를 기동하는 제어 알고리즘등이 저장될 수 있다. 또한, 미디어 파일의 정보에 대한 파일 리스트가 저장된다. 특히, 파일 리스트는 미디어 파일의 재생시간 정보가 저장되며, 미디어 파일 재생시 저장된 재생시간에 따라 미디어 파일의 재생 시간을 표시되어 진다. The
영상신호처리부(116)는 기록매체(112)에 저장되어 있는 영상 미디어 파일을 전달받아 디코딩한 영상신호를 표시정보생성부(117)에 제공한다. 그리고, 음성신호처리부(113) 및 영상신호처리부(116)의 기능은 하나의 신호처리부를 통해 수행될 수 있다. The
표시정보생성부(117)는 영상신호처리부(116)에서 전달받은 영상신호에 표시정보를 중첩하거나 표시정보만을 영상출력부(118)에 제공한다.The
영상출력부(118)는 표시정보생성부(117)에서 전달받은 표시정보가 중첩된 영상신호 또는 표시정보를 출력하거나 외부의 출력장치로 전달한다.The
제어부(119)는 저장부(115)에 기저장된 제어알고리즘을 이용하여 조작부(111)를 통해 입력되는 사용자명령에 따라 전자장치의 전반적인 동작을 제어한다.The
그리고, 제어부(119)는 미디어 파일의 재생시간을 측정하게 된다. 또한, 측정된 재생시간을 파일 리스트에 미디어 파일의 재생시간에 대한 정보로 기록하고, 기록된 파일 리스트를 저장부(115)에 저장한다.The
조금 더 자세히 살펴보면, 제어부(119)는 기록매체(112)에 저장된 미디어 파일의 재생이 시작되면, 시스템 시간을 이용하여 미디어 파일의 재생이 종료될 때까 지 재생시간을 측정하게 된다. 그리고, 제어부(119)는 미디어 파일 재생 중간에 제어신호로 인한 재생이 잠시 정지되면, 정지된 시점부터 재생이 재개되는 시점까지의 중지된 시간을 측정하게 된다. 또한, 제어부(119)는 위에서 미디어 파일의 재생 시작부터 종료될 때까지의 시간에서 중간에 중지된 시간을 차감함으로 미디어 파일의 전체 재생시간을 측정하게 된다.In more detail, when the playback of the media file stored in the
그리고, 제어부(119)는 측정된 재생시간을 미디어 파일의 재생시간에 대한 정보로 파일 리스트에 기록하고, 이를 저장부(115)에 저장한다. 또한, 제어부(119)는 위에서 재생된 미디어 파일의 재생시간에 대한 정보가 수록된 파일 리스트를 생성하고, 이에 따라, 다시 위의 미디어 파일을 재생할 때 제어부(119)는 표시정보생성부(117)를 제어하여 저장부(115)에 저장된 파일 리스트의 재생시간에 대한 정보에 맞게 재생시간이 표시되도록 한다.In addition, the
도 2는 본 발명의 일 실시 예에 따른, 미디어 파일의 정확한 재생시간을 산출하는 방법에 제공되는 흐름도이다.2 is a flowchart provided to a method of calculating an accurate playback time of a media file according to an embodiment of the present invention.
도 2를 참조하면, 먼저, 제어부(119)는 미디어 파일의 재생이 시작되어 있는지를 확인한다(S210).Referring to FIG. 2, first, the
그리고, 제어부(119)는 S210단계에서 미디어 파일의 재생이 시작된 것으로 판단되면(S210-Y), 미디어 파일의 재생이 시작된 시점에서부터 재생시간의 측정을 시작한다(S220).If it is determined in step S210 that the playback of the media file has been started (S210-Y), the
제어부(119)는 미디어 파일의 재생이 종료됐는지를 확인한다(S230).The
그리고, 제어부(119)는 미디어 파일의 재생이 진행중인 것으로 판단되 면(S230-N), 재생시간 측정을 계속 진행한다(S240).If it is determined that the playback of the media file is in progress (S230-N), the
제어부(119)는 조작부(111)를 통한 재생 동작에 대한 중지명령 입력이 있는지 확인한다(S250). The
그리고, 제어부(119)는 사용자의 중지명령이 입력되지 않은 것으로 판단되면(S250-N), S230단계를 수행한다.If it is determined that the user's stop command is not input (S250-N), the
그리고, 제어부(119)는 사용자의 중지명령이 입력된 것으로 판단되면(S250-Y), 미디어 파일 재생을 중지하고 중지시간의 측정을 시작한다(S260).If it is determined that the user's stop command is input (S250-Y), the
제어부(119)는 조작부(111)를 통해 사용자의 재생 재개명령이 있는지 확인한다(S270). 그리고, 제어부(119)는 사용자의 재생 재개명령의 입력이 없는 것으로 판단되면(S270-N), S260단계의 미디어 파일 재생 중지 및 중지시간의 측정의 상태를 유지한다.The
또한, 제어부(119)는 사용자의 재생 재개명령이 입력된 것으로 판단되면(S270-Y), S230단계를 수행한다.In addition, if it is determined that the user resume command is input (S270-Y), the
그리고, 제어부(119)는 S230단계에서 미디어 파일의 재생이 종료된 것으로 판단되면(S230-Y), 미디어 파일의 재생이 시작된 시점에서 종료된 시점까지의 재생시간에서 중간에 중지된 시간 동안 측정된 중지시간을 차감한 재생시간을 파일 리스트에 기록한다(S280).In addition, if it is determined in step S230 that the playback of the media file has ended (S230-Y), the
본 발명은 가변적인 비트레이트로 인코딩된 미디어 파일을 재생하고 재생시간을 표시하는 전자장치라면 어느 것에도 적용될 수 있다, 따라서, DMB 재생기, CD 재생기, DVD 재생기, MP3 재생기, PDA(Personal Digital Assistant) 및 미디어파일 을 재생할 수 있는 기기의 경우에도 본 발명이 적용될 수 있음은 물론이다.The present invention can be applied to any electronic device that plays back a variable bitrate encoded media file and displays a playback time. Therefore, the present invention can be applied to a DMB player, a CD player, a DVD player, an MP3 player, and a PDA (Personal Digital Assistant). And of course, the present invention can be applied to a device that can play media files.
이상 설명한 바와 같이 본 발명에 따르면, 가변적인 비트레이트로 인코딩된 미디어 파일이 재생되는 동안 시스템타임을 이용하여 재생시간을 측정하고 이 재생시간을 파일 리스트에 기록하여, 다시 파일 재생이 됐을 때 정확한 재생시간이 표시되도록 한다.As described above, according to the present invention, the playback time is measured by using the system time while the media file encoded with the variable bit rate is played and the playback time is recorded in the file list, so that the correct playback is performed when the file is played again. Allow time to be displayed.
또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해돼서는 안 될 것이다.In addition, although the preferred embodiment of the present invention has been shown and described above, the present invention is not limited to the specific embodiments described above, but the technical field to which the invention belongs without departing from the spirit of the invention claimed in the claims. Of course, various modifications can be made by those skilled in the art, and these modifications should not be individually understood from the technical spirit or the prospect of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060091739A KR101254320B1 (en) | 2006-09-21 | 2006-09-21 | Electronic apparatus for displaying exact play time of media file and the method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060091739A KR101254320B1 (en) | 2006-09-21 | 2006-09-21 | Electronic apparatus for displaying exact play time of media file and the method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20080026763A KR20080026763A (en) | 2008-03-26 |
KR101254320B1 true KR101254320B1 (en) | 2013-04-12 |
Family
ID=39413999
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020060091739A KR101254320B1 (en) | 2006-09-21 | 2006-09-21 | Electronic apparatus for displaying exact play time of media file and the method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101254320B1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970015083U (en) * | 1995-09-19 | 1997-04-28 | Display time of video tape | |
JP2004207935A (en) * | 2002-12-25 | 2004-07-22 | Toshiba Corp | Contents reproducing apparatus, contents reproducing method, contents recording and reproducing apparatus, and contents recording and reproducing method |
JP2005502921A (en) * | 2001-09-06 | 2005-01-27 | トムソン ライセンシング ソシエテ アノニム | Method and apparatus for timing elapsed playback time of a digital encoded audio data file of variable bit rate |
-
2006
- 2006-09-21 KR KR1020060091739A patent/KR101254320B1/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970015083U (en) * | 1995-09-19 | 1997-04-28 | Display time of video tape | |
JP2005502921A (en) * | 2001-09-06 | 2005-01-27 | トムソン ライセンシング ソシエテ アノニム | Method and apparatus for timing elapsed playback time of a digital encoded audio data file of variable bit rate |
JP2004207935A (en) * | 2002-12-25 | 2004-07-22 | Toshiba Corp | Contents reproducing apparatus, contents reproducing method, contents recording and reproducing apparatus, and contents recording and reproducing method |
Also Published As
Publication number | Publication date |
---|---|
KR20080026763A (en) | 2008-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100639110B1 (en) | Method of establishing time information of frame based audio stream data | |
JPH10322651A (en) | Reproducing device, recorder and recording medium | |
KR101254320B1 (en) | Electronic apparatus for displaying exact play time of media file and the method thereof | |
JP4724350B2 (en) | Playback device | |
JP4948531B2 (en) | Content playback device | |
JP4284844B2 (en) | Information processing apparatus, information processing method, and recording medium | |
JP2000200465A (en) | Audio signal processor | |
US6463017B1 (en) | Disc player for playing discs with optically stored data | |
JP2004072217A5 (en) | ||
JP3244071B2 (en) | Digital signal recording / reproducing apparatus and digital signal double-speed reproducing method using the same | |
KR100540656B1 (en) | Apparatus and method for playing optical disc | |
KR0135452B1 (en) | Apparatus and method for calculating reproduction address | |
JPH07153244A (en) | Reproducing device | |
JP6105779B2 (en) | Recording apparatus, recording method, and computer program for recording control | |
KR970008013A (en) | Time code automatic generator and method of memory audio recorder / player | |
JP3849699B2 (en) | Playback device | |
JP2001351328A (en) | Recorder-reproducer | |
JP3800202B2 (en) | Playback device | |
JP4558620B2 (en) | Playback apparatus and playback method | |
KR20100009898A (en) | Apparatus and method for reproducing multimedia | |
JP2000132911A (en) | Voice recording/reproducing apparatus | |
KR100876321B1 (en) | Video file processing method and apparatus | |
CA2550691A1 (en) | Method for recording information on a record medium, record medium containing information, and method and device for reading information from a record medium | |
JP2007059030A (en) | Play-back apparatus | |
JP2006018869A (en) | Reproducing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
LAPS | Lapse due to unpaid annual fee |