CN104601989A - Video encoding method - Google Patents

Video encoding method Download PDF

Info

Publication number
CN104601989A
CN104601989A CN201510025589.5A CN201510025589A CN104601989A CN 104601989 A CN104601989 A CN 104601989A CN 201510025589 A CN201510025589 A CN 201510025589A CN 104601989 A CN104601989 A CN 104601989A
Authority
CN
China
Prior art keywords
video
coding
encoding
coding mode
video coding
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201510025589.5A
Other languages
Chinese (zh)
Inventor
王兵
张明明
高洪刚
郭平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Beifangchang'an Railway Electrical Engineering Technology Co Ltd
Original Assignee
Beijing Beifangchang'an Railway Electrical Engineering Technology Co Ltd
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 Beijing Beifangchang'an Railway Electrical Engineering Technology Co Ltd filed Critical Beijing Beifangchang'an Railway Electrical Engineering Technology Co Ltd
Priority to CN201510025589.5A priority Critical patent/CN104601989A/en
Publication of CN104601989A publication Critical patent/CN104601989A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a video encoding method and relates to the field of encoding. The video encoding method is invented for solving the problem that large storage space is occupied for video storage in the prior art and transmission efficiency is low during direct video transmission. According to the technical scheme, the video encoding method comprises the steps that S10, a video encoding indication input by a user is received; S20, a target encoding mode is selected from a preset encoding library according to the video encoding indication; S30, adopting the target encoding mode to conduct encoding on videos corresponding to the video encoding indication to obtain encoded videos. The video encoding method can be applied to the fields of video conferences, video electronic commerce, online government administration, online shopping, online schools, remote telemedicine, chat online, video consulting and the like.

Description

Method for video coding
Technical field
The present invention relates to coding field, particularly relate to a kind of method for video coding.
Background technology
At present, video technique is applied in the fields such as video conferencing, visible electronic commercial affairs, online government affairs, shopping online, online school, tele-medicine, online chat and visual consulting widely.But, because the data volume of video is comparatively large, during video storage, take a large amount of memory spaces, and directly transmission of video time efficiency of transmission lower.
Summary of the invention
The invention provides a kind of method for video coding, system can directly be stored or video after transfer encoding, thus save memory space and improve video transmission efficiency.
Technical solution problem of the present invention adopts following technical scheme: a kind of method for video coding, comprising: the Video coding instruction of S10, reception user input; S20, from pre-arranged code storehouse, choose target code pattern according to the instruction of described Video coding; S30, the video adopting described target code pattern corresponding to described Video coding instruction are encoded, and obtain the video after encoding.
Optionally, pre-arranged code storehouse described in the method for video coding that the embodiment of the present invention provides, comprising: MPEG-1 coding mode, MPEG-2 coding mode, MPEG-4 coding mode, H.261 coding mode, H.262 coding mode, H.263 coding mode and one or more H.264 in coding mode.
Optionally, described in the method for video coding that provides of the embodiment of the present invention, H.263 coding mode adopts the estimation of half-pixel accuracy.
Optionally, described in the method for video coding that provides of the embodiment of the present invention, H.264 coding mode adopts the estimation of 1/4 or 1/8 pixel precision.
Optionally, described in the method for video coding that provides of the embodiment of the present invention, H.264 coding mode also adopts multi-frame prediction and/or Adaptive deblocking filter device.
Optionally, described in the method for video coding that provides of the embodiment of the present invention H.264 coding mode quantization step with 12.5% recombination rate go forward one by one.
Optionally, described in the method for video coding that provides of the embodiment of the present invention, S30 comprises: S301, be at least one macro block by Video segmentation corresponding for described Video coding instruction; S302, adopt described target code pattern to encode at least one macro block described respectively, obtain the video after encoding.
The present invention has following beneficial effect: adopt target code pattern corresponding to the Video coding instruction of user's input to encode to video, store or transmission after obtaining the video after encoding.The technical scheme that the embodiment of the present invention provides, owing to store or the video of transmission is video after coding, therefore, it is possible to save memory space improve video transmission efficiency; To solve in prior art because the data volume of video is comparatively large, during video storage, take a large amount of memory spaces, and directly transmission of video time the lower problem of efficiency of transmission.
Accompanying drawing explanation
The flow chart of the method for video coding that Fig. 1 provides for the embodiment of the present invention 1.
Embodiment
Below in conjunction with embodiment and accompanying drawing, technical scheme of the present invention is further elaborated.
Embodiment 1
As shown in Figure 1, present embodiments provide a kind of method for video coding, comprising:
Step 101, receives the Video coding instruction of user's input.
In the present embodiment, can receive the Video coding instruction that user inputs in the mode of word by step 101, also can receive by step 101 the Video coding instruction that user inputs in the mode of voice, this is not restricted.Especially, when user indicates with phonetic entry Video coding, need that identification is carried out to voice and resolve, to obtain corresponding word.
Step 102, chooses target code pattern according to Video coding instruction from pre-arranged code storehouse.
In the present embodiment, in step 102, pre-arranged code storehouse comprises: MPEG-1 coding mode, MPEG-2 coding mode, MPEG-4 coding mode, H.261 coding mode, H.262 coding mode, H.263 coding mode and one or more H.264 in coding mode.Especially, in order to improve picture quality, this H.263 coding mode adopt the estimation of half-pixel accuracy; This H.264 coding mode adopt the estimation of 1/4 or 1/8 pixel precision; In order to provide error-correcting performance better, reduce blocking artifact, this H.264 coding mode also adopt multi-frame prediction and/or Adaptive deblocking filter device; In order to improve Rate Control ability, this H.264 coding mode quantization step with 12.5% recombination rate go forward one by one.
Step 103, the video adopting this target code pattern corresponding to Video coding instruction is encoded, and obtains the video after encoding.
In the present embodiment, the process of the video after obtaining coding by step 103 can comprise: first indicate corresponding Video segmentation to be at least one macro block Video coding; Secondly adopt target code pattern to encode to this at least one macro block respectively, obtain the video after encoding.
The present invention has following beneficial effect: adopt target code pattern corresponding to the Video coding instruction of user's input to encode to video, store or transmission after obtaining the video after encoding.The technical scheme that the embodiment of the present invention provides, owing to store or the video of transmission is video after coding, therefore, it is possible to save memory space improve video transmission efficiency; To solve in prior art because the data volume of video is comparatively large, during video storage, take a large amount of memory spaces, and directly transmission of video time the lower problem of efficiency of transmission.
The sequencing of above embodiment, only for ease of describing, does not represent the quality of embodiment.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (7)

1. a method for video coding, is characterized in that, comprising:
The Video coding instruction of S10, reception user input;
S20, from pre-arranged code storehouse, choose target code pattern according to the instruction of described Video coding;
S30, the video adopting described target code pattern corresponding to described Video coding instruction are encoded, and obtain the video after encoding.
2. method for video coding according to claim 1, is characterized in that, described pre-arranged code storehouse, comprising:
MPEG-1 coding mode, MPEG-2 coding mode, MPEG-4 coding mode, H.261 coding mode, H.262 coding mode, H.263 coding mode and one or more H.264 in coding mode.
3. method for video coding according to claim 2, is characterized in that, described H.263 coding mode adopts the estimation of half-pixel accuracy.
4. method for video coding according to claim 2, is characterized in that, described H.264 coding mode adopts the estimation of 1/4 or 1/8 pixel precision.
5. method for video coding according to claim 4, is characterized in that, described H.264 coding mode also adopts multi-frame prediction and/or Adaptive deblocking filter device.
6. the method for video coding according to claim 4 or 5, is characterized in that, the quantization step of described H.264 coding mode goes forward one by one with the recombination rate of 12.5%.
7. method for video coding as claimed in any of claims 1 to 5, is characterized in that, described S30 comprises:
S301, be at least one macro block by Video segmentation corresponding for the instruction of described Video coding;
S302, adopt described target code pattern to encode at least one macro block described respectively, obtain the video after encoding.
CN201510025589.5A 2015-01-19 2015-01-19 Video encoding method Pending CN104601989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510025589.5A CN104601989A (en) 2015-01-19 2015-01-19 Video encoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510025589.5A CN104601989A (en) 2015-01-19 2015-01-19 Video encoding method

Publications (1)

Publication Number Publication Date
CN104601989A true CN104601989A (en) 2015-05-06

Family

ID=53127445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510025589.5A Pending CN104601989A (en) 2015-01-19 2015-01-19 Video encoding method

Country Status (1)

Country Link
CN (1) CN104601989A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1843037A (en) * 2003-08-26 2006-10-04 汤姆森特许公司 Method and apparatus for decoding hybrid intra-inter coded blocks
CN101133648A (en) * 2005-01-13 2008-02-27 高通股份有限公司 Mode selection techniques for intra-prediction video encoding
US20120281761A1 (en) * 2011-05-02 2012-11-08 Futurewei Technologies, Inc. System and Method for Macroblock Transcoding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1843037A (en) * 2003-08-26 2006-10-04 汤姆森特许公司 Method and apparatus for decoding hybrid intra-inter coded blocks
CN101133648A (en) * 2005-01-13 2008-02-27 高通股份有限公司 Mode selection techniques for intra-prediction video encoding
US20120281761A1 (en) * 2011-05-02 2012-11-08 Futurewei Technologies, Inc. System and Method for Macroblock Transcoding

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
THOMAS WIEGAND等: "Overview of the H.264/AVC Video Coding Standard", 《IEEE TRANSACTIONS ON CIRCUITS AND SYSTEM FOR VIDEO TECHNOLOGY》 *
刘昱: "数字视频转换编码研究", 《天津大学博士论文》 *

Similar Documents

Publication Publication Date Title
US11695967B2 (en) Block level geometric partitioning
CN106464905B (en) The block method for vector prediction encoded for replication mode in block
TW201931854A (en) Unified merge candidate list usage
US9307241B2 (en) Video encoding method and a video encoding apparatus using the same
US20160044329A1 (en) Image Predictive Coding Method and Image Encoder
US20140105274A1 (en) Video Coding Redundancy Reduction
US20120195372A1 (en) Joint frame rate and resolution adaptation
US10542265B2 (en) Self-adaptive prediction method for multi-layer codec
US10015493B2 (en) Encoding method and apparatus and decoding method and apparatus for video system that selectively performs secondary transform
CN114501010A (en) Image encoding method, image decoding method and related device
US20210218977A1 (en) Methods and systems of exponential partitioning
US20230042575A1 (en) Methods and systems for estimating motion in multimedia pictures
US20230239464A1 (en) Video processing method with partial picture replacement
AU2023202986A1 (en) Method and apparatus for intra prediction
US20150189297A1 (en) Device and method for intra-encoding image blocks, storage medium carrying and use of a processing device for decoding intra-encoded image blocks
CN114128260A (en) Efficient coding of global motion vectors
JP7273154B2 (en) Picture encoding and decoding method and apparatus for video sequences
CN114080811A (en) Selective motion vector prediction candidates in frames with global motion
CN114128291A (en) Adaptive motion vector prediction candidates in frames with global motion
WO2023077707A1 (en) Video encoding method, model training method, device, and storage medium
CN104601989A (en) Video encoding method
CN111050167B (en) Method and apparatus for recovering degraded frames resulting from reconstruction of source frames
US11985318B2 (en) Encoding video with extended long term reference picture retention
EP3024236A1 (en) Method and device for transmission of a video
US20150350688A1 (en) I-frame flashing fix in video encoding and decoding

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150506