KR101528269B1 - A method for playing a moving picture - Google Patents
A method for playing a moving picture Download PDFInfo
- Publication number
- KR101528269B1 KR101528269B1 KR1020140117774A KR20140117774A KR101528269B1 KR 101528269 B1 KR101528269 B1 KR 101528269B1 KR 1020140117774 A KR1020140117774 A KR 1020140117774A KR 20140117774 A KR20140117774 A KR 20140117774A KR 101528269 B1 KR101528269 B1 KR 101528269B1
- Authority
- KR
- South Korea
- Prior art keywords
- gop
- frame
- encoded stream
- frames
- buffer
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/177—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a group of pictures [GOP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
Abstract
Description
BACKGROUND OF THE
In the video encoding technique, an encoding method such as MPEG-4, AVC, and HEVC (High Efficiency Video Coding) uses a motion prediction and compensation technique, which is correlation information between frames, as shown in FIG. 1 shows a frame structure in a video decoding technique according to the prior art. Referring to FIG. 1, the I-
On the other hand, in the video decoding method according to the related art, the video stream is read out from the buffer on a frame basis and decoded. Therefore, in the case of backward reproduction of a moving picture, a P frame can be decoded by decoding all the previous P frames and I frames. In such a case, it is inevitable to perform backward reproduction by moving in units of I frames, and there is a problem in that a video at a specific time point can not be reproduced in the reverse playback of the recorded video image.
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and it is an object of the present invention to provide an apparatus and method for reproducing a recorded image in a reverse direction. The method also allows a parallel process to read a different GOP from memory while decoding a particular GOP.
According to an aspect of the present invention, there is provided a moving picture reproducing method for storing an encoded stream including a plurality of frames in a buffer in units of a group of pictures (GOP) ; Decoding the plurality of picture groups stored in the buffer in units of the GOP; And providing the decoded image to an output unit, wherein the GOP unit includes an I frame that is an intra frame and a plurality of P frames that are an inter frame following the I frame.
Here, the moving picture reproducing method may further include shifting to an I frame of a second GOP preceding a first GOP including a currently playing frame when the moving picture playback mode is the reverse mode.
The moving picture reproducing method may further include storing the second GOP and the first GOP in a buffer in units of GOPs; Decoding the first GOP and the second GOP stored in the buffer in units of GOP; Rearranging the order of the frames in the first GOP and the second GOP; And providing the rearranged first and second GOPs to the output unit.
According to an aspect of the present invention, there is provided a moving picture reproducing apparatus including: a buffer for storing an encoded stream including a plurality of frames in units of a group of pictures (GOP); A decoder for decoding a plurality of picture groups stored in the buffer in units of GOPs; And an output unit for outputting the decoded image, wherein the GOP unit includes a plurality of P frames, which are an I frame, which is an intra frame, and an inter frame, which is followed by the I frame.
Here, the moving picture reproducing apparatus may include an input unit for receiving a reverse playback input from a user; When the reverse playback input is received, the moving picture playback mode is changed to the reverse mode, and the moving picture playback mode is shifted to the I frame of the second GOP preceding the first GOP including the currently playing frame while the moving picture playback mode is in the reverse mode And a control unit for controlling the control unit.
In the moving picture reproducing apparatus, the buffer stores the second GOP and the first GOP in units of GOPs, and the decoder decodes the first GOP and the second GOP stored in the buffer in units of GOPs, Rearranges the order of the frames in the first GOP and the second GOP, and the output unit sequentially reproduces the decoded rearranged first GOP and the second GOP by the decoder.
According to an aspect of the present invention, there is provided a moving picture encoding method comprising: generating an encoded stream including a plurality of frames including a group of pictures (GOP); And providing the generated encoded stream to an output unit, wherein the encoded stream includes an index file area and a frame storage area, and the index file area indicates a position of an I frame that is an intra frame .
According to an aspect of the present invention, there is provided a moving picture encoding apparatus including: an encoder for generating an encoded stream including a plurality of frames composed of a plurality of groups of pictures (GOPs); And an output unit for providing the encoded stream generated from the encoder to a moving picture reproducing apparatus, wherein the encoded stream includes an index file area and a frame storing area, and the index file area is an I frame .
In order to solve the above-described problems, embodiments of the present invention provide a method for reproducing a moving picture according to embodiments of the present invention, in which a picture marker is reproduced from a second GOP preceding a unit GOP It is possible to reproduce an image at an arbitrary point in moving backward in the I frame and reproducing the recorded image in the reverse direction. The method also allows a parallel process to read a different GOP from memory while decoding a particular GOP.
1 shows a frame structure in a video decoding technique according to the prior art.
2 shows a block diagram of a moving picture reproducing apparatus according to the present invention.
FIG. 3 illustrates a forward reproduction method of moving pictures performed by the moving picture reproduction apparatus according to the present invention.
FIG. 4 illustrates a frame structure of an encoded stream that is encoded and transmitted by the moving picture encoding apparatus according to the present invention.
FIG. 5 illustrates a method of reversely reproducing moving pictures performed by the moving picture reproducing apparatus according to an embodiment of the present invention.
BRIEF DESCRIPTION OF THE DRAWINGS The present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which: FIG. The present invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Is provided to fully convey the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. In the present specification, the singular form includes plural forms unless otherwise specified in the specification. It is noted that the terms "comprises" and / or "comprising" used in the specification are intended to be inclusive in a manner similar to the components, steps, operations, and / Or additions. The terms first, second, etc. may be used to describe various elements, but the elements should not be limited by terms. Terms are used only for the purpose of distinguishing one component from another.
FIG. 2 shows a block diagram of a moving
Meanwhile, FIG. 4 illustrates a frame structure of an encoded
Referring to FIGS. 2 to 4, the
The encoded
Meanwhile, the frame storage area 330 corresponds to the plurality of
In addition, since a B frame image (not shown) is an image to compensate for motion with reference to a previous frame image and a next frame image, if it is applied only to a one-way motion prediction in a B frame, The frame may be replaced with a P frame.
When the encoded
The
The
In response to receiving the reverse playback input from the input unit, the
The
In the reverse reproduction according to an embodiment of the present invention, the
When the
On the other hand, the
On the other hand, in the video decoding method according to the related art, the video stream is read out from the buffer on a frame basis and decoded. Therefore, in the case of backward reproduction of a moving picture, a P frame can be decoded by decoding all the previous P frames and I frames. In such a case, it is inevitable to perform backward reproduction by moving in units of I frames, and there is a problem in that a video at a specific time point can not be reproduced in the reverse playback of the recorded video image.
Therefore, in the moving picture reproducing method according to the embodiments of the present invention, in the reverse reproduction, the picture marker is moved to the I frame of the second GOP preceding the already-reproduced first GOP by a unit GOP, and the recorded picture is played back It is possible to reproduce an image at an arbitrary point in time. The method also allows a parallel process to read a different GOP from memory while decoding a particular GOP.
Although the present invention has been described in connection with the above-mentioned preferred embodiments, it is possible to make various modifications and variations without departing from the spirit and scope of the invention. Accordingly, it is intended that the appended claims cover all such modifications and variations as fall within the true spirit of the invention.
Claims (14)
Storing an encoded stream including a plurality of frames in a buffer in units of a group of pictures (GOP);
Decoding a plurality of picture groups stored in the buffer by the decoder in units of the GOP; And
And providing the decoded image to an output unit,
Wherein the GOP unit comprises an I frame that is an intra frame and a plurality of P frames that are subsequent to the I frame and that are inter frames,
Wherein when an index file area indicating the position of the I frame is included in the encoded stream, the decoder decodes the encoded stream in units of GOP based on the position of the I frame detected with reference to the index file area,
If the index file area is not included in the encoded stream, the decoder extracts video data of a predetermined amount of time from the encoded stream, indexes the positions of all I frames included in the extracted video data And decodes the extracted image data based on the generated indexing information.
Moving to an I frame of a second GOP that precedes a first GOP including a currently playing frame by a unit GOP when the moving picture playback mode is the backward mode.
Storing the second GOP and the first GOP in a buffer in units of GOP;
Decoding the first GOP and the second GOP stored in the buffer in units of GOP;
Rearranging the order of the frames in the first GOP and the second GOP; And
And providing the rearranged first and second GOPs to the output unit.
Moving to an I frame of a third GOP preceding a second GOP by a unit GOP when the second GOP is stored in a buffer;
Storing the third GOP in a buffer; and
And decoding the third GOP stored in the buffer.
And providing the decoded third GOP to the output after providing the first GOP and the second GOP to an output device.
A buffer for storing an encoded stream including a plurality of frames in units of a group of pictures (GOP);
A decoder for decoding a plurality of picture groups stored in the buffer in units of GOPs; And
And an output unit for outputting the decoded image,
Wherein the GOP unit comprises a plurality of P frames that are an intra frame intra frame and an inter frame subsequent to the I frame,
Wherein when an index file area indicating the position of the I frame is included in the encoded stream, the decoder decodes the encoded stream in units of GOP based on the position of the I frame detected with reference to the index file area,
If the index file area is not included in the encoded stream, the decoder extracts video data of a predetermined amount of time from the encoded stream, indexes the positions of all I frames included in the extracted video data And decodes the extracted image data based on the generated indexing information.
An input unit for receiving a reverse playback input from a user; And
When the reverse playback input is received, the moving picture playback mode is changed to the reverse mode, and the moving picture playback mode is shifted to the I frame of the second GOP preceding the first GOP including the currently playing frame while the moving picture playback mode is in the reverse mode And a control unit for controlling the moving picture reproducing apparatus.
Wherein the buffer stores the second GOP and the first GOP in GOP units,
The decoder decodes the first GOP and the second GOP stored in the buffer in units of GOP, rearranges the order of the frames in the decoded first GOP and the second GOP,
Wherein the output unit sequentially plays back the decoded and rearranged first GOP and the second GOP by the decoder.
The control unit controls to move to an I frame of a third GOP that precedes the second GOP by two GOPs when the second GOP is stored in the buffer,
The buffer storing the third GOP, and
And the decoder decodes the third GOP stored in the buffer.
And the output unit reproduces the decoded third GOP after reproducing the first GOP and the second GOP.
Generating an encoded stream including a plurality of frames composed of a plurality of group of pictures (GOPs); And
And providing the generated encoding stream to an output unit,
Wherein the encoded stream includes an index file area and a frame storage area, the index file area indicates a position of an I frame which is an intra frame,
The encoded stream is played forward or backward in units of GOP,
Wherein the encoded stream is divided into units of GOP based on a position of an I frame determined by referring to the index file area.
Wherein the frame storage area includes the plurality of unit GOPs,
Wherein the unit GOP comprises a plurality of P frames subsequent to the I frame and being an inter frame.
An encoder for generating an encoded stream including a plurality of frames constituted by a plurality of group of pictures (GOPs); And
And an output unit for providing the encoded stream generated from the encoder to a moving picture reproducing apparatus,
Wherein the encoded stream includes an index file area and a frame storage area, and the index file area indicates a position of an I frame that is an intra frame.
Wherein the frame storage area includes the plurality of unit GOPs,
Wherein the unit GOP includes a plurality of P frames subsequent to the I frame and being an inter frame,
The encoded stream is played forward or backward in units of GOP,
Wherein the encoded stream is divided into units of GOP based on a position of an I frame determined by referring to the index file area.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140117774A KR101528269B1 (en) | 2014-09-04 | 2014-09-04 | A method for playing a moving picture |
PCT/KR2015/007951 WO2016036009A1 (en) | 2014-09-04 | 2015-07-29 | Method for reproducing video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140117774A KR101528269B1 (en) | 2014-09-04 | 2014-09-04 | A method for playing a moving picture |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101528269B1 true KR101528269B1 (en) | 2015-06-16 |
Family
ID=53518991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020140117774A KR101528269B1 (en) | 2014-09-04 | 2014-09-04 | A method for playing a moving picture |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR101528269B1 (en) |
WO (1) | WO2016036009A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017065491A1 (en) * | 2015-10-12 | 2017-04-20 | 삼성전자 주식회사 | Method for enabling random access and playback of video bitstream in media transmission system |
KR102090308B1 (en) * | 2019-10-16 | 2020-03-17 | 주식회사 스마트시티코리아 | Image storing system and method based on gop unit |
CN114257839A (en) * | 2020-09-23 | 2022-03-29 | 京东方科技集团股份有限公司 | Video encoding device, video decoding device, video playing system and video playing method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113271468A (en) * | 2020-02-14 | 2021-08-17 | 北京灵汐科技有限公司 | SoC video decoding and buffering method and device based on GOP |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070049504A (en) * | 2005-11-08 | 2007-05-11 | 엘지전자 주식회사 | Apparatus of playing digital contents and method for saving and playing contents in a reverse direction |
KR20080090934A (en) * | 2007-04-06 | 2008-10-09 | 삼성전자주식회사 | Normal speed reverse reproducing method and apparatus |
KR20100109380A (en) * | 2009-03-30 | 2010-10-08 | 삼성전자주식회사 | Method and apparatus for reverse playback of encoded multimedia content, and machine-readable storage |
JP2011234069A (en) * | 2010-04-27 | 2011-11-17 | Panasonic Corp | Video reproduction device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2207181B1 (en) * | 2004-04-28 | 2012-04-25 | Panasonic Corporation | Moving picture stream generation apparatus, moving picture coding apparatus, moving picture multiplexing apparatus and moving picture decoding apparatus. |
-
2014
- 2014-09-04 KR KR1020140117774A patent/KR101528269B1/en active IP Right Grant
-
2015
- 2015-07-29 WO PCT/KR2015/007951 patent/WO2016036009A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070049504A (en) * | 2005-11-08 | 2007-05-11 | 엘지전자 주식회사 | Apparatus of playing digital contents and method for saving and playing contents in a reverse direction |
KR20080090934A (en) * | 2007-04-06 | 2008-10-09 | 삼성전자주식회사 | Normal speed reverse reproducing method and apparatus |
KR20100109380A (en) * | 2009-03-30 | 2010-10-08 | 삼성전자주식회사 | Method and apparatus for reverse playback of encoded multimedia content, and machine-readable storage |
JP2011234069A (en) * | 2010-04-27 | 2011-11-17 | Panasonic Corp | Video reproduction device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017065491A1 (en) * | 2015-10-12 | 2017-04-20 | 삼성전자 주식회사 | Method for enabling random access and playback of video bitstream in media transmission system |
US10659778B2 (en) | 2015-10-12 | 2020-05-19 | Samsung Electronics Co., Ltd. | Method for enabling random access and playback of video bitstream in media transmission system |
KR102090308B1 (en) * | 2019-10-16 | 2020-03-17 | 주식회사 스마트시티코리아 | Image storing system and method based on gop unit |
CN114257839A (en) * | 2020-09-23 | 2022-03-29 | 京东方科技集团股份有限公司 | Video encoding device, video decoding device, video playing system and video playing method |
Also Published As
Publication number | Publication date |
---|---|
WO2016036009A1 (en) | 2016-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11395000B2 (en) | Dependent random access point pictures | |
US8275247B2 (en) | Method and apparatus for normal reverse playback | |
JP4823349B2 (en) | 3D video decoding apparatus and 3D video decoding method | |
US20200021816A1 (en) | Image encoding method, image decoding method, image encoding apparatus, and image decoding apparatus | |
US8750388B2 (en) | Multiview video decoding apparatus, multiview video decoding method, multiview video decoding program, and multiview video decoding integrated circuit | |
EP2642764B1 (en) | Transcoding a video stream to facilitate accurate display | |
US20110081133A1 (en) | Method and system for a fast channel change in 3d video | |
EP2713620B1 (en) | Video decoding apparatus | |
CN114846802A (en) | Picture header intra random access picture and progressive decoder refresh signaling in video coding | |
JP2010041354A (en) | Moving image coding method, coding device and coding program | |
KR101528269B1 (en) | A method for playing a moving picture | |
JP2017525175A (en) | Robust encoding and decoding of pictures in video | |
EP2306730A2 (en) | Method and system for 3D video decoding using a tier system framework | |
US20240080453A1 (en) | Image encoding method, image decoding method, image encoding apparatus, and image decoding apparatus | |
WO2013146636A1 (en) | Image encoding device, image decoding device, image encoding method, image decoding method and program | |
JP2001204032A (en) | Mpeg decoder | |
JP2005184419A (en) | Video signal encoder and video signal recorder | |
US8155186B2 (en) | Bit stream recording medium, video encoder, and video decoder | |
US20080219347A1 (en) | Moving picture coding method, moving picture decoding method, moving picture coding device, and moving picture decoding device | |
JP2011119803A (en) | Apparatus and method for decoding multi-viewpoint motion image | |
US20120163779A1 (en) | Video server and seamless playback method | |
KR101609798B1 (en) | moving picture replay device | |
JP2006526960A (en) | Group of pictures restructuring method to provide random access to group of pictures | |
KR100780844B1 (en) | Decoder, processing system and processing method for multi-view frame data, and recording medium having program performing this | |
KR101336820B1 (en) | Apparatus and method for decoding specialized multi-channel trick mode |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20180605 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20190701 Year of fee payment: 5 |