KR20060110427A - Method and apparatus for reproducing compressed encoding video stream by random access - Google Patents

Method and apparatus for reproducing compressed encoding video stream by random access Download PDF

Info

Publication number
KR20060110427A
KR20060110427A KR1020050032529A KR20050032529A KR20060110427A KR 20060110427 A KR20060110427 A KR 20060110427A KR 1020050032529 A KR1020050032529 A KR 1020050032529A KR 20050032529 A KR20050032529 A KR 20050032529A KR 20060110427 A KR20060110427 A KR 20060110427A
Authority
KR
South Korea
Prior art keywords
frame
random access
image
video stream
image buffer
Prior art date
Application number
KR1020050032529A
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 KR1020050032529A priority Critical patent/KR20060110427A/en
Publication of KR20060110427A publication Critical patent/KR20060110427A/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01KANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
    • A01K1/00Housing animals; Equipment therefor
    • A01K1/0005Stable partitions
    • A01K1/0011Cubicle partitions
    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01KANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
    • A01K1/00Housing animals; Equipment therefor
    • A01K1/02Pigsties; Dog-kennels; Rabbit-hutches or the like
    • EFIXED CONSTRUCTIONS
    • E04BUILDING
    • E04HBUILDINGS OR LIKE STRUCTURES FOR PARTICULAR PURPOSES; SWIMMING OR SPLASH BATHS OR POOLS; MASTS; FENCING; TENTS OR CANOPIES, IN GENERAL
    • E04H17/00Fencing, e.g. fences, enclosures, corrals
    • E04H17/14Fences constructed of rigid elements, e.g. with additional wire fillings or with posts
    • E04H17/1413Post-and-rail fences, e.g. without vertical cross-members
    • E04H17/1417Post-and-rail fences, e.g. without vertical cross-members with vertical cross-members
    • EFIXED CONSTRUCTIONS
    • E04BUILDING
    • E04HBUILDINGS OR LIKE STRUCTURES FOR PARTICULAR PURPOSES; SWIMMING OR SPLASH BATHS OR POOLS; MASTS; FENCING; TENTS OR CANOPIES, IN GENERAL
    • E04H17/00Fencing, e.g. fences, enclosures, corrals
    • E04H17/14Fences constructed of rigid elements, e.g. with additional wire fillings or with posts
    • E04H17/1413Post-and-rail fences, e.g. without vertical cross-members
    • E04H17/1447Details of connections between rails and posts
    • EFIXED CONSTRUCTIONS
    • E04BUILDING
    • E04HBUILDINGS OR LIKE STRUCTURES FOR PARTICULAR PURPOSES; SWIMMING OR SPLASH BATHS OR POOLS; MASTS; FENCING; TENTS OR CANOPIES, IN GENERAL
    • E04H17/00Fencing, e.g. fences, enclosures, corrals
    • E04H17/14Fences constructed of rigid elements, e.g. with additional wire fillings or with posts
    • E04H17/16Fences constructed of rigid elements, e.g. with additional wire fillings or with posts using prefabricated panel-like elements, e.g. wired frames
    • E04H17/18Corrals, i.e. easily transportable or demountable enclosures

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Environmental Sciences (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Zoology (AREA)
  • Animal Husbandry (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

An apparatus and a method for reproducing a compression encoded video stream by random access are provided to achieve the reproduction of a complete image from the frame designated by random access by decoding the compression encoded video stream from the previous I-frame which is the closest to the frame designated by random access. A video decoder(202) decodes a compression encoded video stream. An inner image buffer(204) stores the decoded image data. An output image buffer(206) stores image data of an image to be displayed on a screen of a display device. A video data controller(210) starts the decoding of the compression encoded video stream from the previous I-frame, which is the closest to a frame designated by random access, and copies the decoded image data from the inner image buffer(204) to the output image buffer(206).

Description

압축 부호화 비디오 스트림 랜덤 액세스 방법 및 장치{METHOD AND APPARATUS FOR REPRODUCING COMPRESSED ENCODING VIDEO STREAM BY RANDOM ACCESS}Method and apparatus for randomly accessing compressed coded video streams {METHOD AND APPARATUS FOR REPRODUCING COMPRESSED ENCODING VIDEO STREAM BY RANDOM ACCESS}

도 1은 공간적 및 시간적 압축 부호화 비디오 스트림의 프레임 배열 예시도,1 is an exemplary frame arrangement of a spatial and temporally compressed encoded video stream;

도 2 및 도 3은 종래의 압축 부호화 비디오 스트림 랜덤 액세스 예시도,2 and 3 are views illustrating a conventional compressed coded video stream random access.

도 4는 본 발명의 실시 예에 따른 압축 부호화 비디오 스트림 랜덤 액세스 예시도,4 is a diagram illustrating a compressed coded video stream random access according to an embodiment of the present invention;

도 5는 본 발명의 실시 예에 따른 압축 부호화 비디오 스트림 재생 장치의 블록구성도,5 is a block diagram illustrating a compression coded video stream reproduction apparatus according to an embodiment of the present invention;

도 6은 본 발명의 실시 예에 따른 압축 부호화 비디오 스트림 랜덤 액세스 처리 흐름도.6 is a flowchart of a compressed encoded video stream random access processing according to an embodiment of the present invention.

본 발명은 압축 부호화된 비디오 스트림(video stream)의 재생에 관한 것으로, 특히 랜덤(random)하게 액세스(access)하는 방법 및 장치에 관한 것이다.TECHNICAL FIELD The present invention relates to the playback of compressed coded video streams, and more particularly, to a method and apparatus for randomly accessing.

디지털 시스템에서 많은 데이터 양을 요구하는 비디오 데이터의 저장 및 전 송을 위해서는 압축이 필수적이다. 비디오 데이터를 압축 부호화함으로써 제한된 대역 내에서 원활한 전송을 할 수 있을 뿐만 아니라 저장 매체 등에 저장 시에는 필요한 저장 공간을 줄일 수 있다.Compression is essential for the storage and transmission of video data that requires large amounts of data in digital systems. By compressing and encoding video data, not only smooth transmission can be performed within a limited band, but also storage space required for storage can be reduced.

ITU-T(International Telecommunication Union-Telecommunication Standardization Sector) 표준인 H.26x, ISO(International Organization for Standardization) 표준인 MPEG(Moving Picture Expert Group)에 따른 비디오 압축 부호화는 DCT(Discrete Cosine Transform)와 움직임 벡터(motion vector)에 각각 기반한 공간적 압축과 시간적 압축을 함으로써, 원래의 데이터 양을 획기적으로 줄이게 된다.Video compression coding according to H.26x, the International Telecommunication Union-Telecommunication Standardization Sector (ITU-T) standard, and the Moving Picture Expert Group (MPEG), the International Organization for Standardization (ISO) standard, includes a discrete cosine transform (DCT) and a motion vector ( By spatial and temporal compression based on motion vectors, respectively, the amount of original data is greatly reduced.

공간적 압축은 한 프레임 내에서 공간적 유사함을 제거하는 압축 부호화로서, 공간적 압축만으로 이루어진 프레임을 'I-프레임(Intra-frame)'이라 한다. 시간적 압축은 시간적 유사성을 이용한 압축 부호화로서, 시간적 압축에 의해 생성되는 프레임을 'P-프레임(Predictive-frame)'이라 한다. P-프레임은 바로 전 프레임 정보를 바탕으로 움직임 벡터와 잔여 데이터(residual data)로 표현된다.Spatial compression is compression coding that removes spatial similarity in one frame, and a frame consisting of only spatial compression is called an 'in-frame'. Temporal compression is compression encoding using temporal similarity, and a frame generated by temporal compression is called a 'predictive-frame'. The P-frame is represented by a motion vector and residual data based on the previous frame information.

이에 따른 압축 부호화 비디오 스트림의 프레임 배열은 도 1에 보인 바와 같이, 주기적인 I-프레임들과, 이 I-프레임들 사이에 위치하는 P-프레임들로 이루어진다. 도 1에서 참조부호 'I'는 I-프레임을 의미하고, 참조부호 'P'는 P-프레임을 의미하며, 이는 후술하는 도 2 내지 도 4에서도 마찬가지이다.The frame arrangement of the compressed encoded video stream thus consists of periodic I-frames and P-frames located between these I-frames, as shown in FIG. In FIG. 1, reference numeral 'I' denotes an I-frame, and reference numeral 'P' denotes a P-frame, which is the same in FIGS. 2 to 4 to be described later.

이러한 압축 부호화 비디오를 재생할 때는 I-프레임을 먼저 디코딩하여 복원하고, 이 후의 프레임들은 도 1에 보인 바와 같이 P-프레임을 사용하여 이전의 프 레임을 참조하여 복원한다. 이에 따라 영상의 재생을 위해서는 순차적인 프레임 데이터가 필요하다.When playing such compressed coded video, I-frames are first decoded and reconstructed, and subsequent frames are reconstructed with reference to the previous frame using P-frames as shown in FIG. Accordingly, sequential frame data is required to reproduce an image.

한편 비디오 스트림의 액세스는 사용자 인터페이스 관점에서 중요한 문제라고 할 수 있다. 사용자는 VTR(Video Tape Recorder)이나 DVD(Digital Video Disc) 플레이어와 같은 가전 제품에서 익숙해진 것처럼 멀티미디어 기기에서도 필수적으로 비디오 스트림을 빠르게 원하는 부분을 탐색하여 보는 랜덤 액세스 기능, 즉 FF(Fast Forwarding)후 재생하거나 RW(Rewind) 후 재생하는 기능의 존재를 당연하게 여긴다. 하지만 디지털 방식의 압축된 비디오 데이터를 원하는 위치에서 재생하는데는 제약이 따른다. 이는 P-프레임인 경우에는 매 영상 프레임은 이전의 프레임을 참조하여 만들어지므로, 어느 시점에서 한 프레임의 정보만을 가지고 완벽한 영상의 재생이 불가능하기 때문이다.On the other hand, access to video streams is an important issue from a user interface perspective. Users are accustomed to consumer electronics products such as video tape recorders (VTRs) and digital video disc (DVD) players, which are essential for multimedia devices. It is taken for granted that the function of playing or playing after RW (Rewind) is present. However, there are limitations in playing digital compressed video data at a desired location. This is because, in the case of P-frames, every image frame is made with reference to the previous frame, and thus a perfect image cannot be reproduced with only one frame of information at any point in time.

예를 들어 도 2에 보인 바와 같이, 비디오 스트림의 재생 중에 사용자의 FF 또는 RW 요청에 의해 랜덤 액세스 지정된 재생 위치(100)의 프레임이 P-프레임인 경우, 재생 위치(100)의 P-프레임부터 디코딩하여 재생을 시작하면, 다음의 I-프레임 위치(102)의 I-프레임이 재생되기 전까지는 불완전한 영상이 재생된다. 즉, 사용자가 원하는 위치에서 정확히 재생을 시작하게 되지만 I-프레임이 나오기 전까지는 불완전한 영상이 재생된다.For example, as shown in FIG. 2, if the frame of the playback position 100 randomly accessed by the user's FF or RW request during playback of the video stream is a P-frame, from the P-frame of the playback position 100 When decoding is started, the incomplete image is played until the I-frame at the next I-frame position 102 is played. In other words, the user starts to play exactly where he wants, but until the I-frame comes out, the incomplete image is played.

이와 달리 도 3에 보인 바와 같이, 비디오 스트림의 재생 중에 사용자에 의해 랜덤 액세스 지정된 재생 위치(100)의 프레임이 P-프레임인 경우, 재생 위치(100) 이전의 I-프레임의 위치(104)와 다음의 I-프레임의 위치(102) 중에 가장 가 까운 I-프레임의 위치(102)를 검색하여, I-프레임 위치(102)의 I-프레임부터 재생을 하면, 정상적인 영상이 재생된다.3, when the frame of the playback position 100 randomly accessed by the user during playback of the video stream is a P-frame, the position 104 of the I-frame before the playback position 100 is different from that shown in FIG. If the position 102 of the next I-frame is searched for the position 102 of the next I-frame, and playback starts from the I-frame at the I-frame position 102, the normal image is reproduced.

이렇게 하면 도 2의 경우처럼 불완전한 영상이 나타나지는 않지만, 사용자가 원하는 위치에서부터 정확히 재생할 수 없다. 특히 비디오 데이터 양을 줄이기 위해 I-프레임의 주기를 늘리게 되는데, I-프레임의 주기가 긴 경우에는 사용자가 원하는 위치와 실제 재생되는 위치가 더욱 큰 차이가 날 수 있다.In this case, an incomplete image does not appear as in the case of FIG. In particular, the period of the I-frame is increased to reduce the amount of video data. When the period of the I-frame is long, there may be a greater difference between the position desired by the user and the position of the actual playback.

따라서 본 발명은 랜덤 액세스 지정된 위치의 프레임 종류와 상관없이 항상 완전한 영상을 재생할 수 있는 방법 및 장치를 제공한다.Accordingly, the present invention provides a method and apparatus capable of always playing a complete image regardless of the frame type of a random access designated position.

또한 본 발명은 랜덤 액세스 지정된 정확한 위치부터 항상 완전한 영상을 재생할 수 있는 방법 및 장치를 제공한다.The present invention also provides a method and apparatus capable of always playing a complete image from a random access designated exact position.

이를 위한 본 발명은 압축 부호화 비디오 스트림의 랜덤 액세스에 있어서, 랜덤 액세스 지정된 프레임으로부터 가장 가까운 이전의 I-프레임을 검색하여 디코딩을 시작하며, 지정된 프레임의 디코딩이 이루어질 때부터 디코딩되는 이미지를 화면에 출력함을 특징으로 한다.According to the present invention, in random access of a compressed encoded video stream, random access is searched for the closest previous I-frame from a designated frame and starts decoding, and outputs an image to be decoded when the designated frame is decoded. It is characterized by.

이하 본 발명의 바람직한 실시 예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명 및 첨부 도면에서 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description and the annexed drawings, detailed descriptions of well-known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

먼저 본 발명의 실시 예에 따른 압축 부호화 비디오 스트림 재생 장치의 블록구성도를 보인 도 5를 참조하면, 비디오 디코더(202)에는 비디오 데이터 콘트롤러(210)에 의해 비디오 메모리(200)로부터 압축 부호화 비디오 스트림이 인가된다. 비디오 디코더(202)는 압축 부호화 비디오 스트림을 디코딩한다. 디코딩된 이미지 데이터는 내부 이미지 버퍼(204)에 저장된다. 내부 이미지 버퍼(204)에 저장된 이미지 데이터는 비디오 데이터 콘트롤러(210)에 의해 출력 이미지 버퍼(206)에 복사됨으로써 압축 부호화 비디오 스트림으로부터 재생된 이미지가 디스플레이 장치(208)의 화면에 출력된다. 출력 이미지 버퍼(206)는 디스플레이장치(208)의 화면에 출력될 이미지의 이미지 데이터를 저장하는 버퍼이다.First, referring to FIG. 5, which shows a block diagram of an apparatus for reproducing a compressed and encoded video stream according to an embodiment of the present invention, the video decoder 202 may be a compressed and encoded video stream from a video memory 200 by a video data controller 210. Is applied. Video decoder 202 decodes the compressed encoded video stream. The decoded image data is stored in the internal image buffer 204. The image data stored in the internal image buffer 204 is copied to the output image buffer 206 by the video data controller 210 so that an image reproduced from the compressed coded video stream is output on the screen of the display device 208. The output image buffer 206 is a buffer that stores image data of an image to be output on the screen of the display apparatus 208.

상기 비디오 데이터 콘트롤러(210)는 랜덤 액세스 지정된 프레임으로부터 가장 가까운 이전의 I-프레임부터 비디오 디코더(202)에 의해 디코딩을 시작하되, 지정된 프레임의 디코딩이 이루어질 때부터 디코딩되는 이미지 데이터를 내부 이미지 버퍼(204)로부터 출력 이미지 버퍼(206)에 복사하여 디스플레이 장치(208)의 화면에 출력한다.The video data controller 210 starts decoding by the video decoder 202 starting from the previous I-frame closest to the random-access designated frame, and decodes the image data decoded when the designated frame is decoded. Copied from the output image buffer 206 to the screen of the display device 208.

이러한 비디오 데이터 콘트롤러(210)의 처리 예를 본 발명의 실시 예에 따른 압축 부호화 비디오 스트림 랜덤 액세스 예시도를 보인 도 4를 참조하여 설명한다. 비디오 데이터 콘트롤러(210)는 비디오 스트림의 재생 중에 사용자의 FF 또는 RW 요청에 의해 랜덤 액세스 지정된 재생 위치(100)의 프레임으로부터 가장 가까운 이전의 I-프레임의 위치(104)에 있는 I-프레임을 검색한다. 도 4에서 랜덤 액세스 지 정된 재생 위치(100)의 프레임이 P-프레임인 경우의 예를 보였으나, 랜덤 액세스 지정된 프레임이 I-프레임일 수도 있다. 그리고 비디오 데이터 콘트롤러(210)는 검색된 I-프레임의 위치(104)에 있는 I-프레임부터 비디오 디코더(202)에 인가하여 디코딩을 시작한다.An example of the processing of the video data controller 210 will be described with reference to FIG. 4, which shows an example of a compressed encoded video stream random access according to an embodiment of the present invention. The video data controller 210 retrieves the I-frame at position 104 of the previous I-frame closest to the frame of the playback position 100 randomly assigned by the user's FF or RW request during playback of the video stream. do. Although FIG. 4 shows an example in which the frame of the random access designated playback position 100 is a P-frame, the random access designated frame may be an I-frame. The video data controller 210 then applies decoding to the video decoder 202 from the I-frame at the position 104 of the retrieved I-frame.

이때 비디오 데이터 콘트롤러(210)는 랜덤 액세스 지정된 재생 위치(100)의 프레임을 디코딩하게 되기 전까지는 현재 디코딩된 이미지를 화면에 출력하지 않는 상태로 빠르게 비디오 디코더(202)에 의해 디코딩을 한다. 그리고 검색된 I-프레임부터 지정된 프레임, 즉 재생 위치(100)의 프레임의 이전에 있는 프레임까지 디코딩이 이루어지는 동안에는 랜덤 액세스 직전에 화면에 출력하고 있었던 이미지를 출력시킨다. 즉, 랜덤 액세스 직전에 재생되어 내부 이미지 버퍼(204)에 저장되어 있는 이미지 데이터를 현재 디코딩된 이미지 데이터 대신에 내부 이미지 버퍼(204)로부터 출력 이미지 버퍼(206)에 복사하여 디스플레이 장치(208)의 화면에 출력한다.At this time, the video data controller 210 quickly decodes the video decoder 202 without outputting the currently decoded image on the screen until the frame of the random access designated playback position 100 is decoded. Then, while decoding is performed from the retrieved I-frame to the specified frame, that is, the frame before the frame at the playback position 100, the image that was output on the screen immediately before the random access is output. In other words, the image data reproduced immediately before the random access and stored in the internal image buffer 204 is copied from the internal image buffer 204 to the output image buffer 206 instead of the currently decoded image data. Print to the screen.

이후 비디오 데이터 콘트롤러(210)는 재생 위치(100)의 프레임, 즉 지정된 프레임의 디코딩이 이루어질 때부터 디코딩되는 이미지 데이터를 내부 이미지 버퍼(204)로부터 출력 이미지 버퍼(206)에 복사하여 디스플레이 장치(208)의 화면에 출력한다.Thereafter, the video data controller 210 copies the decoded image data from the internal image buffer 204 to the output image buffer 206 from the frame at the playback position 100, that is, when the designated frame is decoded, and then displays the display device 208. Will be displayed on the screen.

이에 따라 사용자가 원하는 정확한 위치부터 완전한 영상의 재생이 이루어지게 된다. 이때 사용자가 랜덤 액세스 지정한 시점부터 사용자가 원하는 정확한 위치의 영상의 재생이 시작되기까지, 즉 검색된 I-프레임부터 재생 위치(100)의 프레 임의 이전에 있는 프레임까지 디코딩이 이루어지는 동안의 지연이 발생한다.Accordingly, the complete image is reproduced from the exact position desired by the user. At this time, a delay occurs from the time point designated by the user to random access until the playback of the image of the exact position desired by the user starts, that is, the decoding is performed from the retrieved I-frame to the frame before the frame of the playback position 100. .

하지만 이 동안에는 빠른 디코딩 작업을 수행함과 아울러 디코딩된 이미지들을 화면에 출력하는 동작을 하지 않기 때문에, 사용자가 크게 답답해 할만큼의 시간 지연이 발생되지는 않는다. 또한 이 동안에는 랜덤 액세스하기 바로 직전의 이미지를 계속 화면에 출력하게 되기 때문에 사용자가 답답해하는 것을 줄일 수 있다.However, since it does not perform a fast decoding operation and output the decoded images on the screen during this time, there is no time delay that the user is very frustrated with. In addition, during this time, the image immediately before the random access is continuously displayed on the screen, thereby reducing the user's frustration.

이제 도 6의 처리 흐름도를 참조하여 본 발명의 실시 예에 따른 압축 부호화 비디오 스트림 랜덤 액세스 처리를 설명한다. 비디오 스트림의 재생 중에 사용자가 FF 또는 RW 후에 원하는 위치에서 재생을 시작하면, 비디오 데이터 콘트롤러(210)는 (300)단계에서 이에 응답하여 (302)단계에서 사용자에 의해 랜덤 액세스 지정된 프레임 번호를 저장한다. 다음에 (304)∼(306)단계에서 랜덤 액세스 지정된 프레임으로부터 가장 가까운 이전의 I-프레임을 검색한다. A compressed encoded video stream random access process according to an embodiment of the present invention will now be described with reference to the processing flowchart of FIG. 6. If the user starts playback at a desired position after FF or RW during the playback of the video stream, the video data controller 210 stores the frame number randomly assigned by the user in step 302 in response to this in step 300. . Next, in steps 304 to 306, the previous I-frame nearest to the random-access designated frame is retrieved.

상기 (304)∼(306)단계에서 랜덤 액세스 지정된 프레임으로부터 가장 가까운 이전의 I-프레임이 검색되면, (308)단계에서 비디오 스트림을 디코딩하기 시작한다. 그리고 (310)단계에서 현재 디코딩하는 프레임 번호가 랜덤 액세스 지정된 프레임 번호와 일치하게 되는지를 검사한다. 만일 랜덤 액세스 지정된 프레임 번호와 일치하지 않을 경우에는 (312)단계에서 현재 프레임의 디코딩된 이미지 데이터를 내부 이미지 버퍼(204)에 저장한 후, 상기 (308)단계로 되돌아 간다.If the previous I-frame nearest to the random access designated frame is found in steps 304 to 306, the video stream begins to be decoded in step 308. In step 310, it is checked whether the frame number currently decoded matches the random access designated frame number. If the random access does not match the designated frame number, the decoded image data of the current frame is stored in the internal image buffer 204 in step 312, and then the process returns to step 308.

이때 비디오 데이터 콘트롤러(210)는 랜덤 액세스 지정된 프레임을 디코딩하게 되기 전까지는, 상술한 바와 같이 현재 디코딩된 이미지를 화면에 출력하지 않 는 대신에 랜덤 액세스 이전에 재생되어 내부 이미지 버퍼(204)에 저장되어 있는 이미지 데이터를 현재 디코딩된 이미지 데이터 대신에 내부 이미지 버퍼(204)로부터 출력 이미지 버퍼(206)에 복사함으로써 랜덤 액세스 직전에 출력하고 있었던 이미지를 디스플레이 장치(208)의 화면에 계속 출력한다.At this time, until the video data controller 210 decodes the random access designated frame, the video data controller 210 is played before the random access and stored in the internal image buffer 204 instead of outputting the currently decoded image to the screen as described above. Instead of the currently decoded image data, the current image data is copied from the internal image buffer 204 to the output image buffer 206 to continuously output the image that was output just before the random access to the screen of the display device 208.

이렇게 하여 랜덤 액세스 지정된 프레임 번호와 일치할 때까지, 즉 랜덤 액세스 지정된 프레임의 디코딩이 이루어지면 상기 (310)단계에서 (314)단계로 진행한다. 상기 (314)단계에서는 현재 프레임의 디코딩된 이미지 데이터를 내부 이미지 버퍼(204)로부터 출력 이미지 버퍼(206)에 복사함으로써 디스플레이 장치(208)의 화면에 사용자에 의해 랜덤 액세스 지정된 위치의 프레임으로부터 재생된 이미지를 출력한다. 이후부터는 (316)단계로 진행하여 정상 재생을 하게 된다.In this way, if the random access designated frame number is matched, that is, decoding of the random access designated frame is performed, the process proceeds from step 310 to step 314. In the step 314, the decoded image data of the current frame is copied from the internal image buffer 204 to the output image buffer 206 to be reproduced from a frame at a location randomly designated by the user on the screen of the display device 208. Print an image. After that, the process proceeds to step 316 to perform normal playback.

한편 상술한 본 발명의 설명에서는 구체적인 실시예에 관해 설명하였으나, 여러 가지 변형이 본 발명의 범위 내에서 이루어질 수 있다. 따라서 본 발명의 범위는 설명된 실시예에 의하여 한정되는 것이 아니며 특허청구범위와 특허청구범위의 균등한 것에 의하여 정하여져야 한다.Meanwhile, in the above description of the present invention, specific embodiments have been described, but various modifications may be made within the scope of the present invention. Therefore, the scope of the present invention should not be limited by the described embodiments, but should be defined by the equivalent of claims and claims.

상술한 바와 같이 본 발명은 사용자에 의해 랜덤 액세스 지정된 프레임으로부터 가장 가까운 이전의 I-프레임부터 디코딩을 시작하되, 지정된 프레임의 디코딩이 이루어질 때부터 디코딩되는 이미지를 화면에 출력함으로써, 사용자가 원하는 정확한 위치부터 완전한 영상의 재생이 이루어지도록 할 수 있는 이점이 있다.As described above, the present invention starts decoding from the previous I-frame closest to the frame randomly designated by the user, but outputs the decoded image on the screen from the time when the designated frame is decoded, thereby correcting the position desired by the user. There is an advantage that can be made to play a complete image from.

Claims (4)

주기적인 I-프레임(Intra-frame)들과 상기 I-프레임들 사이에 위치하는 P-프레임(Predictive-frame)들로 이루어지는 압축 부호화 비디오 스트림을 랜덤 액세스하는 방법에 있어서,A method for randomly accessing a compressed encoded video stream consisting of periodic intra-frames and predictive-frames located between the i-frames, 랜덤 액세스 지정된 프레임으로부터 가장 가까운 이전의 I-프레임을 검색하는 단계와,Retrieving the closest previous I-frame from the random access specified frame; 상기 검색된 I-프레임부터 디코딩을 시작하는 단계와,Starting decoding from the retrieved I-frames; 상기 지정된 프레임의 디코딩이 이루어질 때부터 디코딩되는 이미지를 화면에 출력하는 단계를 구비함을 특징으로 하는 비디오 스트림 랜덤 액세스 방법.And outputting the decoded image on the screen from when the designated frame is decoded. 제1항에 있어서, 상기 검색된 I-프레임부터 상기 지정된 프레임 이전의 프레임까지 디코딩이 이루어지는 동안에는 상기 랜덤 액세스 직전에 재생된 이미지를 화면에 출력하는 단계를 더 구비함을 특징으로 하는 비디오 스트림 랜덤 액세스 방법.The method of claim 1, further comprising outputting an image reproduced immediately before the random access to a screen while decoding is performed from the searched I-frame to a frame before the designated frame. . 주기적인 I-프레임(Intra-frame)들과 상기 I-프레임들 사이에 위치하는 P-프레임(Predictive-frame)들로 이루어지는 압축 부호화 비디오 스트림을 재생하는 장 치에 있어서,In a device for playing a compressed coded video stream consisting of periodic intra-frames and predictive-frames located between the i-frames, 상기 압축 부호화 비디오 스트림을 디코딩하는 비디오 디코더와,A video decoder for decoding the compressed encoded video stream; 상기 디코딩된 이미지 데이터를 저장하기 위한 내부 이미지 버퍼와,An internal image buffer for storing the decoded image data; 디스플레이장치의 화면에 출력될 이미지의 이미지 데이터를 저장하는 출력 이미지 버퍼와,An output image buffer for storing image data of an image to be output on a screen of the display device; 랜덤 액세스 지정된 프레임으로부터 가장 가까운 이전의 I-프레임부터 상기 비디오 디코더에 의해 디코딩을 시작하며, 상기 지정된 프레임의 디코딩이 이루어질 때부터 디코딩되는 이미지 데이터를 상기 내부 이미지 버퍼로부터 상기 출력 이미지 버퍼에 복사하는 비디오 데이터 콘트롤러를 구비함을 특징으로 하는 비디오 스트림 랜덤 액세스 장치.Random access A video that starts decoding by the video decoder from the nearest I-frame from the specified frame, and copies the decoded image data from the internal image buffer to the output image buffer when the designated frame is decoded. And a data controller. 제3항에 있어서, 상기 비디오 데이터 콘트롤러가, 상기 검색된 I-프레임부터 상기 지정된 프레임 이전의 프레임까지 디코딩이 이루어지는 동안에는 상기 랜덤 액세스 직전에 재생된 이미지 데이터를 현재 디코딩된 이미지 데이터 대신에 상기 내부 이미지 버퍼로부터 상기 출력 이미지 버퍼에 복사함을 특징으로 하는 비디오 스트림 랜덤 액세스 장치.The internal image buffer of claim 3, wherein the video data controller replaces the image data reproduced immediately before the random access with the internal image buffer instead of the currently decoded image data while decoding is performed from the retrieved I-frame to a frame before the designated frame. And copy from the output image buffer to the output image buffer.
KR1020050032529A 2005-04-19 2005-04-19 Method and apparatus for reproducing compressed encoding video stream by random access KR20060110427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050032529A KR20060110427A (en) 2005-04-19 2005-04-19 Method and apparatus for reproducing compressed encoding video stream by random access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050032529A KR20060110427A (en) 2005-04-19 2005-04-19 Method and apparatus for reproducing compressed encoding video stream by random access

Publications (1)

Publication Number Publication Date
KR20060110427A true KR20060110427A (en) 2006-10-25

Family

ID=37616230

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050032529A KR20060110427A (en) 2005-04-19 2005-04-19 Method and apparatus for reproducing compressed encoding video stream by random access

Country Status (1)

Country Link
KR (1) KR20060110427A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020166759A1 (en) * 2019-02-11 2020-08-20 Hanwha Techwin Co., Ltd. Method and apparatus for playing back video in accordance with requested video playback time

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020166759A1 (en) * 2019-02-11 2020-08-20 Hanwha Techwin Co., Ltd. Method and apparatus for playing back video in accordance with requested video playback time
US11758241B2 (en) 2019-02-11 2023-09-12 Hanwha Techwin Co., Ltd. Method and apparatus for playing back video in accordance with requested video playback time

Similar Documents

Publication Publication Date Title
US6449311B1 (en) Methods and apparatus for error concealment utilizing temporal domain motion vector estimation
US7231132B1 (en) Trick-mode processing for digital video
KR100447200B1 (en) System for decoding video with PVR function
US7295757B2 (en) Advancing playback of video data based on parameter values of video data
US5799128A (en) Storage and retrieval of a data reduced digital video signal in/from a memory and recording and reproduction of a data reduced digital video signal on a longitudinal record carrier
KR100846770B1 (en) Method for encoding a moving picture and apparatus therefor
KR0185932B1 (en) Video data decoding method and apparatus
US7305171B2 (en) Apparatus for recording and/or reproducing digital data, such as audio/video (A/V) data, and control method thereof
JPH09510590A (en) Video signal coding
US8238725B2 (en) System and method for providing personal video recording trick modes
KR100205490B1 (en) Code recording apparatus
US6373905B1 (en) Decoding apparatus and decoding method
JP4468497B2 (en) Method and apparatus for reproducing original data of digitally encoded video film
JP3277374B2 (en) Image signal decoding method and image signal decoding device
JP4040343B2 (en) Moving image processing device
KR20060110427A (en) Method and apparatus for reproducing compressed encoding video stream by random access
JP2003244641A (en) Image reproducing apparatus, and image reproducing method
US20080298769A1 (en) Method and system for generating compressed video to improve reverse playback
KR101493091B1 (en) Method of playing video contents by using skip function and method of generating thumbnail image by using skip function
JPH0832927A (en) Image decoding device
JP2007109329A (en) Picture data recording apparatus, picture data reproducing apparatus, picture data recording method, program, and recording medium
JPH1198513A (en) Moving image coding/decoding device
JP3177366B2 (en) High-speed image playback system
KR100312420B1 (en) Video code method for esay reverse video play
KR0128878B1 (en) Apparatus and method for jump of mpeg

Legal Events

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