CN109862362A - A kind of MPEG2 coding method, system, medium and the equipment of video - Google Patents

A kind of MPEG2 coding method, system, medium and the equipment of video Download PDF

Info

Publication number
CN109862362A
CN109862362A CN201811640242.1A CN201811640242A CN109862362A CN 109862362 A CN109862362 A CN 109862362A CN 201811640242 A CN201811640242 A CN 201811640242A CN 109862362 A CN109862362 A CN 109862362A
Authority
CN
China
Prior art keywords
coding
picture frame
mpeg2
target video
video
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
CN201811640242.1A
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.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething 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 Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201811640242.1A priority Critical patent/CN109862362A/en
Publication of CN109862362A publication Critical patent/CN109862362A/en
Pending legal-status Critical Current

Links

Abstract

This application discloses a kind of MPEG2 coding methods of video, comprising: pre-processes to target video, obtains the yuv picture frame of target video;First encoding is carried out to yuv picture frame using hardware coder, obtains coding log;Secondary coding is carried out to yuv picture frame using coding log, to obtain the target video of MPEG2 coding.In this application, during carrying out MPEG2 coding to target video, it is the process for replacing carrying out the yuv image of target video using the method for Software Coding in the prior art first encoding using hardware coder, it is possible thereby to when reducing to target video progress MPEG2 coding, to the occupancy of CPU and memory, to improve code efficiency when carrying out MPEG2 coding to target video.In addition, disclosed herein as well is MPEG2 coded system, medium and the equipment of a kind of video, equally there is above-mentioned beneficial effect.

Description

A kind of MPEG2 coding method, system, medium and the equipment of video
Technical field
The present invention relates to technical field of video processing, in particular to the MPEG2 coding method of a kind of video, system, medium And equipment.
Background technique
In order to meet the needs to moving image and other audio codings, especially deposited in Digital Media, DTV The demand of the application fields such as storage and transmission, has formulated the coding method in relation to live image and related sound, that is, MPEG2 (Moving Picture Experts Group, Motion Picture Experts Group).Because MPEG2 specific definition compressed data is being deposited Syntactic structure in storage and transmission, also, define only the decoding process to MPEG2 compressed data.MPEG2 flexibility and changeability takes Spline structure, Group Of Pictures length and code rate can satisfy from every field such as signal acquisition, transmission, production, storage, broadcast and distribution A variety of demands, this flexibility just because of MPEG2 makes it and is best suited for the compress mode of network.
In the prior art, it can generally be encoded by the way of secondary coding to carry out MPEG2 to video, and And in order to keep higher transcoded quality, encoded all by the way of Software Coding twice.But utilize the side of Software Coding When method encodes to carry out MPEG2 to video, a large amount of CPU and memory can be occupied, target video is carried out to reduce Code efficiency when MPEG2 is encoded.It can be seen that a kind of better coding method how to be provided to carry out MPEG2 volume to video Code to reduce the occupancy to CPU and memory, and improves code efficiency when carrying out MPEG2 coding to target video, is this field Technical staff's urgent problem to be solved.
Summary of the invention
In view of this, the purpose of the present invention is to provide MPEG2 coding method, system, medium and the equipment of a kind of video, To reduce the occupancy to CPU and memory, and improve code efficiency when carrying out MPEG2 coding to target video.Its concrete scheme It is as follows:
To achieve the above object, the present invention provides a kind of MPEG2 coding methods of video, comprising:
Target video is pre-processed, the yuv picture frame of the target video is obtained;
First encoding is carried out to the yuv picture frame using hardware coder, obtains coding log;
Secondary coding is carried out to the yuv picture frame using the coding log, to obtain the target of MPEG2 coding Video.
Preferably, described that target video is pre-processed, the process of the yuv picture frame of the target video is obtained, is wrapped It includes:
The target video is decapsulated using transcoder, obtains the first es stream;
The first es stream is decoded, the yuv picture frame of the target video is obtained.
Preferably, described that the target video is decapsulated using transcoder, obtain the process of the first es stream, packet It includes:
The target video is decapsulated using ffmpeg, obtains the first es stream.
Preferably, described that first encoding is carried out to the yuv picture frame using hardware coder, obtain the mistake of coding log Journey, comprising:
The first encoding is carried out to the yuv picture frame using the hardware coder;
Judge whether all yuv picture frames in the yuv picture frame carry out the first encoding;
If it is not, then execute again it is described target video is pre-processed, obtain the yuv picture frame of the target video Step;If so, obtaining the coding log.
Preferably, described that secondary coding is carried out to the yuv picture frame using the coding log, to obtain MPEG2 volume The process of the target video of code, comprising:
The secondary coding is carried out to the yuv picture frame using the coding log;
Judge whether all yuv picture frames in the yuv picture frame carry out the secondary coding;
If it is not, then executing described the step of carrying out secondary coding to the yuv picture frame using the coding log again; If so, obtaining the 2nd es stream, and the 2nd es stream is packaged, to obtain the target video of MPEG2 coding.
Preferably, described that first encoding is carried out to the yuv picture frame using hardware coder, obtain the mistake of coding log Journey, comprising:
The first encoding is carried out to the yuv picture frame using FPGA, obtains the coding log.
Preferably, described that first encoding is carried out to the yuv picture frame using hardware coder, obtain the mistake of coding log Journey, comprising:
The first encoding is carried out to the yuv picture frame using the QSV hardware coder of Intel, obtains the coding Log.
To achieve the above object, invention further provides a kind of MPEG2 coded systems of video, comprising:
Pretreatment unit obtains the yuv picture frame of the target video for pre-processing to target video;
Log acquisition unit obtains coding day for carrying out first encoding to the yuv picture frame using hardware coder Will;
Video encoding unit, for carrying out secondary coding to the yuv picture frame using the coding log, to obtain The target video of MPEG2 coding.
To achieve the above object, invention further provides a kind of computer readable storage mediums, and the computer can The program that the MPEG2 coding method of video is stored on storage medium is read, the program of the MPEG2 coding method of the video can quilt The step of one or more processor executes, MPEG2 coding method to realize video as the aforementioned.
To achieve the above object, invention further provides a kind of MPEG2 encoding device of video, the equipment includes Memory and processor are stored with the MPEG2 coding method for the video that can be run on the processor on the memory The program of program, the MPEG2 coding method of the video realizes the MPEG2 coding staff of video as the aforementioned when being executed by processor The step of method.
As it can be seen that when carrying out MPEG2 coding to target video, pre-processed to target video first in the present invention, The yuv picture frame of target video is obtained, then, carries out first encoding using yuv picture frame of the hardware coder to target video, Coding log is obtained, finally, secondary coding is carried out using yuv picture frame of the coding log to target video, to obtain MPEG2 volume The target video of code.In the present embodiment, it is pre-processed to target video, after obtaining the yuv picture frame of target video, It is to replace carrying out one using yuv image of the method for Software Coding to target video in the prior art using hardware coder The process of secondary coding, it is possible thereby to when reducing to target video progress MPEG2 coding, to the occupancy of CPU and memory, to mention High code efficiency when carrying out MPEG2 coding to target video.Correspondingly, a kind of MPEG2 of video disclosed by the invention is compiled Code system, medium and equipment, equally have above-mentioned beneficial effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the MPEG2 coding method of video provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the MPEG2 coding method of another video provided in an embodiment of the present invention;
Fig. 3 is a kind of structure chart of the MPEG2 coded system of video provided in an embodiment of the present invention;
Fig. 4 is a kind of structure chart of the MPEG2 encoding device of video provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot It is interpreted as its relative importance of indication or suggestion or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment Art scheme can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when technical solution Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not the present invention claims Protection scope within.
The present invention provides a kind of MPEG2 coding methods of video.
Referring to Fig.1, Fig. 1 is that the present invention implements a kind of disclosed flow chart of the MPEG2 coding method of video.This method packet It includes:
Step S10: pre-processing target video, obtains the yuv picture frame of target video;
It is understood that including a large amount of data information in target video, MPEG2 coding is being carried out to target video In the process, it needs to resolve into target video into picture frame one by one, MPEG2 coding could be carried out to target video.
The purpose of step S10 is intended to pre-process target video, obtains the yuv picture frame of target video.Specifically, It is to be decapsulated to target video first, obtains the first es stream, then, then the first es stream is decoded, the first es is flowed Resolve into yuv picture frame one by one.
Step S11: first encoding is carried out to yuv picture frame using hardware coder, obtains coding log;
It should be noted that hardware coder is the hardware tools for referring to be decoded target video.It is understood that , replace the encoding and decoding of software to work by the execution logic inside hardware tools, so that it may by CPU from heavy video It is released in encoding and decoding work, and thus reduces the occupancy to CPU and memory.
Specifically, in the present embodiment, code efficiency when MPEG2 coding being carried out to target video in order to improve, is benefit First encoding is carried out to yuv picture frame with hardware coder.When using hardware coder to yuv picture frame carry out first encoding When, corresponding encoded information will be obtained, that is, coding log.It is also contemplated that can include yuv in coding log The information of information and each macro block in picture frame in each frame yuv picture frame, then, yuv is schemed using coding log As carrying out secondary coding, so that it may improve coding quality when carrying out MPEG2 coding to target video.
It should be noted that in the present embodiment, hardware coder is either can write the monolithic of function with logic Machine is also possible to the QSV hardware coder with video decoding function, and herein, the type of hardware coder is not made specifically It limits.
Step S12: carrying out secondary coding to yuv picture frame using coding log, to obtain the target view of MPEG2 coding Frequently.
It in the present embodiment, is to yuv picture frame using the side encoded twice in order to generate the higher encoded video of quality Formula, that is, after obtaining coding log, and utilizing coding log to yuv picture frame carrying out first encoding to yuv picture frame Secondary coding has been carried out, has come to carry out MPEG2 coding to target video with this.Specifically, when having carried out secondary volume to yuv picture frame Code obtains the 2nd es stream and then is packaged to the 2nd es stream, just completes and carry out the encoded of MPEG2 to target video Journey.
It is worth noting that, carrying out first encoding to yuv picture frame, and the encoded information of first encoding is converted into volume During code log, decoding yuv picture frame is not needed, also, do not need to be packaged the first es stream yet, is utilizing coding It is directly to be carried out at secondary coding to the yuv picture frame of target video during log carries out secondary coding to yuv picture frame Reason, thus one, so that it may be further reduced the calculation amount carried out in MPEG2 cataloged procedure to target video, and thus may be used To greatly improve the code efficiency for carrying out MPEG2 coding to target video.
As it can be seen that when carrying out MPEG2 coding to target video, being located in advance to target video first in the present embodiment Reason, is obtained the yuv picture frame of target video, then, is once compiled using yuv picture frame of the hardware coder to target video Code obtains coding log, finally, secondary coding is carried out using yuv picture frame of the coding log to target video, to regard to target Frequency carries out MPEG2 coding.In the present embodiment, pre-processed to target video, obtain target video yuv picture frame it It afterwards, is to replace utilizing software in the prior art using hardware coder during carrying out MPEG2 coding to target video The method of coding carries out the process of first encoding to the yuv image of target video, carries out it is possible thereby to reduce to target video When MPEG2 is encoded, to the occupancy of CPU and memory, to improve coding effect when carrying out MPEG2 coding to target video Rate.
On the basis of the above embodiments, the present invention also provides a series of preferred embodiments.
As a preferred embodiment, above-mentioned steps S10: being pre-processed to target video, obtain target video Yuv picture frame process, comprising:
Target video is decapsulated using transcoder, obtains the first es stream;
First es stream is decoded, the yuv picture frame of target video is obtained.
The purpose of the present embodiment is intended to illustrate how to obtain the yuv picture frame of target video.Specifically, in the present embodiment In, it is to be decapsulated using transcoder to target video first, obtains the first es stream, then, the first es stream is decoded, Obtain the yuv picture frame of target video.
In practical application, transcoder can be storm wind transcoder, can also with leopard cat nest transcoder or other have The transcoding tool of transcoding function is in the present embodiment not especially limited the type of transcoder, as long as can reach to mesh The purpose that mark video is decapsulated.
Specifically, above-mentioned steps: being decapsulated using transcoder to target video, obtain the process of the first es stream, packet It includes:
Target video is decapsulated using ffmpeg, obtains the first es stream.
It in the present embodiment, is to be decapsulated using open source computer program ffmpeg to target video, because of open source Computer program can not only reduce the development cost that MPEG2 coding is carried out to target video, furthermore, it is also possible to reduce designer Coding work of the member when decapsulating to target video, thus substantially increases the working efficiency of designer.
In addition, open source computer program ffmpeg additionally provides recording, conversion and the complete solution party for fluidizing audio-video Case, also, leading audio/video encoding and decoding library libavcodec, institute are also embedded in open source computer program ffmpeg To carry out MPEG2 coding to target video using open source computer program ffmpeg, can also be further ensured that target video Carry out the coding quality of MPEG2 coding.
It is the flow chart for the MPEG2 coding method that the present invention implements disclosed another video referring to Fig. 2, Fig. 2.As one Kind preferred embodiment, above-mentioned steps S11: carrying out first encoding using yuv picture frame of the hardware coder to target video, Obtain the process of coding log, comprising:
Step S111: first encoding is carried out to yuv picture frame using hardware coder;
Step S112: judge whether all yuv picture frames in yuv picture frame carry out first encoding;
Step S113: pre-processing target video if it is not, then executing again, obtains the yuv picture frame of target video The step of;If so, obtaining coding log.
It is understood that if hardware coder does not compile all yuv picture frames in yuv picture frame once Code, the encoded information that will lead to yuv image first encoding in coding log is imperfect, if the encoded information in coding log It is imperfect, then, using the coding log to yuv picture frame carry out secondary coding when, will because of the missing of encoded information, and Reduce coding quality of the target video when carrying out MPEG2.
It in the present embodiment, is that one is carried out to yuv picture frame using hardware coder in order to avoid the generation of this case After secondary coding, also further judge whether all yuv picture frames in yuv picture frame have all carried out first encoding, if All yuv picture frames in yuv picture frame have all carried out first encoding, will make the coding for encoding the first encoding in log Information more comprehensively and completely, thus can further increase coding quality when carrying out MPEG2 to target video.If Not all yuv picture frame all carries out first encoding in yuv picture frame, at this point, in order to encode encoded information in log Integrality with it is comprehensive, can continue to execute and target video is pre-processed, obtain the step of the yuv picture frame of target video Suddenly, when until all carrying out first encoding to all yuv picture frames in yuv picture frame, terminate the process step, so, It can obtain that encoded information is more complete, comprehensively encodes log.Obviously, through this embodiment in method, it is ensured that The integrality of encoded information and comprehensive is encoded in log, and it is possible thereby to improves the volume to target video progress MPEG2 coding Code quality.
As a preferred embodiment, above-mentioned steps S12: carrying out secondary volume to yuv picture frame using coding log Code, to carry out the process of MPEG2 coding to target video, comprising:
Step S121: secondary coding is carried out to yuv picture frame using coding log;
Step S122: judge whether all yuv picture frames in yuv picture frame carry out secondary coding;
Step S123: if it is not, then executing the step of carrying out secondary coding to yuv picture frame using coding log again;If It is then to obtain the 2nd es stream, and be packaged to the 2nd es stream, to obtain the target video of MPEG2 coding.
It is understood that needing to guarantee the coding quality for carrying out MPEG2 coding to target video to yuv image All yuv picture frames in frame carry out secondary coding, if missed out during carrying out secondary coding to yuv picture frame When a certain frame yuv picture frame or a few frame yuv picture frames, coding matter of the target video when carrying out MPEG2 will be reduced Amount.
It in the present embodiment, is that two are being carried out to yuv picture frame using coding log in order to avoid the generation of this case After secondary coding, also further judge whether all yuv picture frames in yuv picture frame have all carried out secondary coding, if It is not then to execute the step of secondary coding is carried out to yuv picture frame using coding log again, until in yuv picture frame When all yuv picture frames carry out secondary coding, terminate the process step.Specifically, scheming when to all yuv in yuv picture frame When all having carried out secondary coding as frame, the 2nd es stream can be obtained, at this point, being packaged to the 2nd es stream, so that it may obtain MPEG2 The target video of coded format.Obviously, through this embodiment in method, can to avoid using coding aim at day to yuv image Frame carry out secondary coding during scarce frame and leakage frame the case where, thus further ensure to target video carry out MPEG2 volume The quality of code.
As a preferred embodiment, above-mentioned steps S11: using hardware coder to the yuv image of target video Frame carries out first encoding, obtains the process of coding log, comprising:
First encoding is carried out using yuv picture frame of the FPGA to target video, obtains coding log.
It is understood that FPGA (Field-Programmable Gate Array, field programmable gate array) It is a kind of programmable logic device, designer can add different function according to the needs of actual conditions inside FPGA Logic module, or in advance will be in the burning program to FPGA that write, so that it may so that FPGA is realized to yuv picture frame Carry out the function of first encoding.The content that this process is well known to those skilled in the art does not repeat specifically herein.In addition, In practical application, FPGA can also be replaced with dsp chip (Digital Signal Processing) or its It has the logical device for writing function.
As a preferred embodiment, specifically, above-mentioned steps S11: using hardware coder to target video Yuv picture frame carries out first encoding, obtains the process of coding log, comprising:
First encoding is carried out to yuv picture frame using the QSV hardware coder of Intel, obtains coding log.
It should be noted that QSV (Quick Sync Video) hardware coder of Intel is that Intel Company provides A kind of encoder with video code conversion function, in QSV hardware coder, Intel strengthens the computing capability of core video card And support to video code conversion is increased, the time to video code conversion is shortened, so, it is to utilize in the present embodiment The QSV hardware coder of Intel to carry out yuv picture frame first encoding, and carries out MPEG2 to target video to improve with this The code efficiency of coding.
In addition, staff carries out the process of first encoding in the QSV hardware coder using Intel to yuv picture frame In, it does additional work of designing and developing again without staff, so, the work effect of staff not only can be improved Rate is experienced furthermore, it is also possible to further increase work of the staff when carrying out first encoding to yuv picture frame.
It is a kind of MPEG2 coded system of video provided in an embodiment of the present invention referring to Fig. 3, Fig. 3.The system includes:
Pretreatment unit obtains the yuv picture frame of target video for pre-processing to target video;
Log acquisition unit obtains coding log for carrying out first encoding to yuv picture frame using hardware coder;
Video encoding unit, for carrying out secondary coding to yuv picture frame using coding log, to obtain MPEG2 coding Target video.
Correspondingly, the embodiment of the invention also discloses a kind of computer readable storage medium, computer readable storage medium On be stored with video MPEG2 coding method program, the program of the MPEG2 coding method of video can be by one or more It manages device to execute, the step of MPEG2 coding method to realize video as the aforementioned.
It is a kind of MPEG2 encoding device of video provided in an embodiment of the present invention referring to Fig. 4, Fig. 4, which includes storage Device and processor are stored with the program of the MPEG2 coding method for the video that can be run on a processor on memory, video The program of MPEG2 coding method realizes the step of MPEG2 coding method of video as the aforementioned when being executed by processor.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the article of the element Or there is also other identical elements in method.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of MPEG2 coding method of video characterized by comprising
Target video is pre-processed, the yuv picture frame of the target video is obtained;
First encoding is carried out to the yuv picture frame using hardware coder, obtains coding log;
Secondary coding is carried out to the yuv picture frame using the coding log, to obtain the target view of MPEG2 coding Frequently.
2. MPEG2 coding method as described in claim 1, which is characterized in that it is described that target video is pre-processed, it obtains The process of the yuv picture frame of the target video, comprising:
The target video is decapsulated using transcoder, obtains the first es stream;
The first es stream is decoded, the yuv picture frame of the target video is obtained.
3. MPEG2 coding method as claimed in claim 2, which is characterized in that described to utilize transcoder to the target video It is decapsulated, obtains the process of the first es stream, comprising:
The target video is decapsulated using ffmpeg, obtains the first es stream.
4. MPEG2 coding method as described in claim 1, which is characterized in that described to be schemed using hardware coder to the yuv As frame progress first encoding, the process of coding log is obtained, comprising:
The first encoding is carried out to the yuv picture frame using the hardware coder;
Judge whether all yuv picture frames in the yuv picture frame carry out the first encoding;
If it is not, then execute again it is described target video is pre-processed, obtain the step of the yuv picture frame of the target video Suddenly;If so, obtaining the coding log.
5. MPEG2 coding method as described in claim 1, which is characterized in that described to utilize the coding log to the yuv Picture frame carries out secondary coding, to obtain the process of the target video of MPEG2 coding, comprising:
The secondary coding is carried out to the yuv picture frame using the coding log;
Judge whether all yuv picture frames in the yuv picture frame carry out the secondary coding;
If it is not, then executing described the step of carrying out secondary coding to the yuv picture frame using the coding log again;If It is then to obtain the 2nd es stream, and be packaged to the 2nd es stream, to obtain the target video of MPEG2 coding.
6. such as MPEG2 coding method described in any one of claim 1 to 5, which is characterized in that described to utilize hardware coder pair The yuv picture frame carries out first encoding, obtains the process of coding log, comprising:
The first encoding is carried out to the yuv picture frame using FPGA, obtains the coding log.
7. such as MPEG2 coding method described in any one of claim 1 to 5, which is characterized in that described to utilize hardware coder pair The yuv picture frame carries out first encoding, obtains the process of coding log, comprising:
The first encoding is carried out to the yuv picture frame using the QSV hardware coder of Intel, obtains the coding log.
8. a kind of MPEG2 coded system of video characterized by comprising
Pretreatment unit obtains the yuv picture frame of the target video for pre-processing to target video;
Log acquisition unit obtains coding log for carrying out first encoding to the yuv picture frame using hardware coder;
Video encoding unit, for carrying out secondary coding to the yuv picture frame using the coding log, to obtain MPEG2 The target video of coding.
9. a kind of computer readable storage medium, which is characterized in that be stored with video on the computer readable storage medium The program of the program of MPEG2 coding method, the MPEG2 coding method of the video can be executed by one or more processor, The step of MPEG2 coding method to realize video as described in any one of claim 1 to 7.
10. a kind of MPEG2 encoding device of video, which is characterized in that the equipment includes memory and processor, the storage The program of the MPEG2 coding method for the video that can be run on the processor, the MPEG2 coding of the video are stored on device It realizes when the program of method is executed by processor such as the MPEG2 coding method of video as described in any one of claim 1 to 7 Step.
CN201811640242.1A 2018-12-29 2018-12-29 A kind of MPEG2 coding method, system, medium and the equipment of video Pending CN109862362A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811640242.1A CN109862362A (en) 2018-12-29 2018-12-29 A kind of MPEG2 coding method, system, medium and the equipment of video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811640242.1A CN109862362A (en) 2018-12-29 2018-12-29 A kind of MPEG2 coding method, system, medium and the equipment of video

Publications (1)

Publication Number Publication Date
CN109862362A true CN109862362A (en) 2019-06-07

Family

ID=66893328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811640242.1A Pending CN109862362A (en) 2018-12-29 2018-12-29 A kind of MPEG2 coding method, system, medium and the equipment of video

Country Status (1)

Country Link
CN (1) CN109862362A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080212677A1 (en) * 2007-03-02 2008-09-04 Peisong Chen Efficient Video Block Mode Changes in Second Pass Video Coding
US20140161172A1 (en) * 2012-12-11 2014-06-12 Jason N. Wang Software hardware hybrid video encoder
CN105376568A (en) * 2015-12-22 2016-03-02 广州通达汽车电气股份有限公司 Optimization method of ABR video coding code rate control
US20180098083A1 (en) * 2016-10-01 2018-04-05 Intel Corporation Method and system of hardware accelerated video coding with per-frame parameter control
CN108134917A (en) * 2017-12-20 2018-06-08 福建星网智慧软件有限公司 A kind of video-meeting method based on Intel QSV technologies
CN108322781A (en) * 2018-02-08 2018-07-24 武汉噢易云计算股份有限公司 Promote the method and system that HD video effect is played in virtual desktop

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080212677A1 (en) * 2007-03-02 2008-09-04 Peisong Chen Efficient Video Block Mode Changes in Second Pass Video Coding
US20140161172A1 (en) * 2012-12-11 2014-06-12 Jason N. Wang Software hardware hybrid video encoder
CN105376568A (en) * 2015-12-22 2016-03-02 广州通达汽车电气股份有限公司 Optimization method of ABR video coding code rate control
US20180098083A1 (en) * 2016-10-01 2018-04-05 Intel Corporation Method and system of hardware accelerated video coding with per-frame parameter control
CN108134917A (en) * 2017-12-20 2018-06-08 福建星网智慧软件有限公司 A kind of video-meeting method based on Intel QSV technologies
CN108322781A (en) * 2018-02-08 2018-07-24 武汉噢易云计算股份有限公司 Promote the method and system that HD video effect is played in virtual desktop

Similar Documents

Publication Publication Date Title
CN103609112B (en) Interior site depth increase in video coding
CN100496129C (en) H.264 based multichannel video transcoding multiplexing method
CN103220508B (en) Coding and decoding method and device
US9369717B2 (en) Systems and methods for encoding, transmitting and decoding
KR101741050B1 (en) Hypothetical reference decoder for multiview video coding
CN102783035B (en) Parallel entropy coding and decoding methods and devices
JP2021101541A (en) Multi-component image or video coding concept
CN105611305A (en) Video image coding method, and video bit stream coding method
CN103096047A (en) Fragment layer parameter set decoding and encoding method and device
CN102187672A (en) Cabac/avc compliant watermarking of syntax elements in compressed video
CN108683914A (en) To the method for the change of scale coding and decoding of coding units
TW202131683A (en) High level syntax for geometry-based point cloud compression
US10455244B2 (en) Method and device for entropy encoding or entropy decoding video signal for high-capacity parallel processing
EP2432226A1 (en) Moving image encoding device, method, and program, and moving image decoding device, method, and program
CN116114249A (en) Temporal scalability in geometric point cloud compression (G-PCC)
CN115668937A (en) Methods, apparatus and articles of manufacture to generate packed video frames for volumetric and immersive video bitstreams
CN102595119B (en) Stripe coding method and device thereof as well as stripe decoding method and device thereof
CN101461246A (en) Coding device and editing device
CN104937942A (en) Encoder and encoder and methods for coding of a video sequence
CN105144726A (en) Custom data indicating nominal range of samples of media content
CN109862362A (en) A kind of MPEG2 coding method, system, medium and the equipment of video
CN1756358A (en) Method and/or apparatus for encoding and/or decoding digital video together with an N-bit alpha plane
CN103139528B (en) The processing method of a kind of audio, video data and device
CN102595123B (en) Stripe coding method and device thereof as well as stripe decoding method and device thereof
CN103618902A (en) Transcoding method, device and system for video file

Legal Events

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

Application publication date: 20190607

RJ01 Rejection of invention patent application after publication