CN105262957B - The treating method and apparatus of video image - Google Patents

The treating method and apparatus of video image Download PDF

Info

Publication number
CN105262957B
CN105262957B CN201510614362.4A CN201510614362A CN105262957B CN 105262957 B CN105262957 B CN 105262957B CN 201510614362 A CN201510614362 A CN 201510614362A CN 105262957 B CN105262957 B CN 105262957B
Authority
CN
China
Prior art keywords
video material
behalf
rank
video
act
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.)
Expired - Fee Related
Application number
CN201510614362.4A
Other languages
Chinese (zh)
Other versions
CN105262957A (en
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201510614362.4A priority Critical patent/CN105262957B/en
Publication of CN105262957A publication Critical patent/CN105262957A/en
Application granted granted Critical
Publication of CN105262957B publication Critical patent/CN105262957B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

This application provides a kind for the treatment of method and apparatus of video image, including:The primary video material edited will be needed to put on the time line;Rank is acted on behalf of according to the selection of the editing environment of primary video material, the video material that obtains that treated;To treated, video material is decoded operation;Judge whether the decoding operate is supported to act on behalf of, if supporting agency, video material is decoded to treated according to rank is acted on behalf of, and obtains decoded video material;The decoded video material is subjected to video editing, generates video image, the smoothness of high-quality video is edited to solve low hardware resource, the hardware update of computer problem of high cost.

Description

The treating method and apparatus of video image
Technical field
This application involves image processing techniques, more particularly to a kind for the treatment of method and apparatus of video image.
Background technology
In image/video processing software, the high efficiency editor to image/video is a kind of very extensive demand, especially Be later stage packaging Software for producing, realize and smooth editor is carried out to the video of high quality, need to the hardware resource of computer have compared with High requirement, but under normal circumstances, for the computer that many users possess, hardware resource is relatively low, and user is difficult Flow editor is carried out to the video of high quality in the computer of the low hardware resource, if the hardware to computer carries out more Newly, cost also can be very high, and the experience of user is poor.
Invention content
This application provides a kind for the treatment of method and apparatus of video image, low hard in current video processing procedure to solve The hardware update that cannot carry out smooth editor and computer of the part resource to high-quality video problem of high cost.
To solve the above-mentioned problems, this application discloses a kind of processing methods of video image, including:Needs are edited Primary video material is put on the time line;
Rank is acted on behalf of according to the selection of the editing environment of primary video material, the video material that obtains that treated;
To treated, video material is decoded operation;
Judge whether the decoding operate is supported to act on behalf of, if supporting agency, according to acting on behalf of rank to treated video Material is decoded, and obtains decoded video material;
The decoded video material is subjected to video editing, generates video image.
Preferably, the timeline includes track, it would be desirable to which the primary material of editor is placed in track into edlin.
Preferably, the rank of acting on behalf of includes that half acts on behalf of rank, and/or a quarter acts on behalf of rank and/or eight / mono- acts on behalf of rank.
Preferably, described that rank is acted on behalf of according to the selection of the editing environment of primary video material, the video element that obtains that treated The step of material includes:
When it is that half acts on behalf of rank to act on behalf of rank, the length of primary video material and width are carried out according to half Compression, using compressed video material as treated video material;
When it is that a quarter acts on behalf of rank to act on behalf of rank, the length of primary video material and width are carried out according to a quarter Compression, using compressed video material as treated video material;
When act on behalf of rank be 1/8th act on behalf of rank when, by the length of primary video material and it is wide according to 1/8th carry out Compression, using compressed video material as treated video material.
Preferably, further include:If decoding operate is not supported to act on behalf of, to treated, video material is decoded decoder, And decoded video material is compressed to and acts on behalf of rank, compressed video material is subjected to video editing, generates video figure Picture.
Preferably, preview is carried out to the generation video image using monitor.
To solve the above-mentioned problems, disclosed herein as well is a kind of processing units of video image, including:
Editor module, for putting on the time line the primary video material for needing to edit;
Selecting module, for acting on behalf of rank according to the selection of the editing environment of primary video material, the video that obtains that treated Material;
Decoder module, for video material to be decoded operation to treated;
Judgment module, for judging whether the decoding operate is supported to act on behalf of, if agency is supported, according to acting on behalf of rank pair Treated, and video material is decoded, and obtains decoded video material;
Output module generates video image for the decoded video material to be carried out video editing.
Preferably, the timeline includes track, it would be desirable to which the primary material of editor is put into track into edlin.
Preferably, it is described act on behalf of rank include half act on behalf of rank, and/or a quarter act on behalf of rank and eight/ One acts on behalf of rank.
Preferably, selecting module includes:Half selects submodule, for being half agents level when acting on behalf of rank When other, the length of primary video material and width are compressed according to half, using compressed video material as handling after Video material;
A quarter select submodule, for when act on behalf of rank be a quarter act on behalf of rank when, by primary video material Length and it is wide compressed according to a quarter, using compressed video material as treated video material;
1/8th selection submodules, for when act on behalf of rank for 1/8th act on behalf of rank when, by primary video material Length and it is wide compressed according to 1/8th, using compressed video material as treated video material.
Preferably, preview is carried out to the generation video image using monitor.
Compared with prior art, the application includes following advantages:
The application by the primary video material for needing to edit by being placed on timeline, according to editor's ring of primary video material Border selects different ranks of acting on behalf of, the video material that obtains that treated, and then to treated, video material is decoded operation, If decoding operate supports agency, according to rank is acted on behalf of, to treated, video material is decoded, and obtains decoded video Material, and video editing is carried out to decoded video material, video image is generated, the editor according to primary video material is passed through Environmental selection it is different act on behalf of rank, different other compressions of agents level are carried out to primary video material, to solve low hardware Resource edits the smoothness of high-quality video, and the hardware update of computer problem of high cost has reached hard without customer upgrade Part resource, you can use low hardware resource, it is smooth to high-quality video material into the effect of edlin, improve user experience.
Description of the drawings
Fig. 1 is a kind of flow chart of the processing method of video image described in the embodiment of the present application one;
Fig. 2 is a kind of flow chart of the processing method of video image described in the embodiment of the present application two;
Fig. 3 is a kind of structure diagram of the processing unit of video image described in the embodiment of the present application three.
Specific implementation mode
In order to make the above objects, features, and advantages of the present application more apparent, below in conjunction with the accompanying drawings and it is specific real Applying mode, the present application will be further described in detail.
Embodiment one
Referring to Fig.1, it illustrates a kind of processing methods of video image described in the embodiment of the present application one, including:
Step 101:The primary video material edited will be needed to put on the time line.
Timeline is made of track, and primary video material is put into track into edlin, and track, which is divided into, contains track The orbital head of some attributes and all primary video materials are put into the track container in track, timeline is in longitudinal direction by one layer The track composition of layer, wherein timeline are being laterally time shafts, indicate the length information of timeline, the primary video element on track Material will be ranked sequentially in time-axis direction, will first be broadcasted on the time shaft left side, subsequent to be broadcasted by after.
Step 102:Rank is acted on behalf of according to the selection of the editing environment of primary video material, the video material that obtains that treated.
Agency may include that set computer hardware resource by the other edit mode of agents level, may be implemented Live preview and smooth editor are carried out to the video of high quality after primary video material is imported browser to be not required to Material transcoding is wanted, as long as rank is acted on behalf of in selection, you can live preview and direct editing are carried out to primary video material.
Larger primary video material can be compressed to the video file of very little by acting on behalf of rank, each act on behalf of rank correspondence A kind of compress mode, wherein act on behalf of rank be the corresponding compress mode of half be by the length of video and it is wide according to two/ One is compressed, such as:When primary video material a length of 1024, width 2048, when it is half to act on behalf of rank, after compression Primary video material a length of 512, width 1024 can become smaller primary video material by acting on behalf of rank.
Primary video material is all larger under normal circumstances, since the computer hardware resource of different clients is different, because This is apparent in order to make the video material after client process, it is therefore desirable to not according to the selection of the editing environment of primary video material With act on behalf of rank, compression processing is carried out to primary video material according to the rank of acting on behalf of of selection, obtains treated video element Material.
Video material that treated still can reflect the characteristics of primary video material, video material that only treated The primary video material size of size ratio become smaller.
Video material that treated can preserve in memory or in database, be not particularly limited to this application.
Step 103:To treated, video material is decoded operation.
Using decoder, to treated, video material is decoded operation.
Step 104:Judge whether the decoding operate of the decoder is supported to act on behalf of, if supporting agency, thens follow the steps 105。
Step 105:According to rank is acted on behalf of, to treated, video material is decoded, and obtains decoded video material.
The video material obtained after decoding is low quality video material.
Step 106:The decoded video material is subjected to video editing, generates video image.
After the completion of video clipping, the primary video material on agency's link time of return line makes primary on timeline Video material is exported according to video editing, and the video actions to realize editing completion are synchronized to primary video material.
Step 107:The video image of generation is exported.
Through this embodiment, it would be desirable to which the primary video material of editor is placed on timeline, according to the volume of primary video material Volume environmental selection it is different act on behalf of rank, the video material that obtains that treated, then to treated, video material is decoded Operation, if decoding operate supports agency, according to rank is acted on behalf of, to treated, video material is decoded, and is obtained decoded Video material, and video editing is carried out to decoded video material, video image is generated, by according to primary video material Editing environment select it is different act on behalf of rank, the different other compressions of agents level are carried out to primary video material, to solve meter The problem of influence that calculation machine hardware resource handles video leads to poor user experience.
Embodiment two
With reference to Fig. 2, a kind of flow chart of the processing method of video image in the embodiment of the present application two is shown.This implementation In example, specifically include:
Step 201:The primary video material edited will be needed to put on the time line.
Step 202:Rank is acted on behalf of according to the selection of the editing environment of primary video material, the video material that obtains that treated.
It includes that half acts on behalf of rank, and/or a quarter acts on behalf of rank and/or 1/8th agents levels to act on behalf of rank Not.
When it is that half acts on behalf of rank to act on behalf of rank, the length of primary video material and width are carried out according to half Compression, using compressed video material as treated video material.
When it is that a quarter acts on behalf of rank to act on behalf of rank, the length of primary video material and width are carried out according to a quarter Compression, using compressed video material as treated video material.
When act on behalf of rank be 1/8th act on behalf of rank when, by the length of primary video material and it is wide according to 1/8th carry out Compression, using compressed video material as treated video material.
Step 203:To treated, video material is decoded operation.
Step 204:Judge whether the decoding operate is supported to act on behalf of, if supporting agency, then follow the steps 205, if decoding Operation is not supported to act on behalf of, and thens follow the steps 206.
Step 205:According to rank is acted on behalf of, to treated, video material is decoded, and obtains decoded video material.
Step 206:To treated, video material is decoded decoder, and is compressed to generation to decoded video material Rank is managed, compressed video material is subjected to video editing, generates video image.
Step 207:The decoded video material is subjected to video editing, generates video image.
Step 208:Preview is carried out to the generation video image using monitor.
Step 209:The video image of generation is exported.
Through this embodiment, by the way that the primary video material for needing to edit is placed on timeline, according to primary video material Editing environment select different ranks of acting on behalf of, the video material that obtains that treated, then to treated, video material carries out Decoding operate, if decoding operate supports agency, according to rank is acted on behalf of, to treated, video material is decoded, and is decoded Video material afterwards, and video editing is carried out to decoded video material, video image is generated, by according to primary video element The editing environment of material select it is different act on behalf of rank, the different other compressions of agents level are carried out to primary video material, to solve The problem of influence that computer hardware resource handles video leads to poor user experience.
It should be noted that for embodiment of the method above-mentioned, for simple description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence, because according to According to the application, certain steps can be performed in other orders or simultaneously.Next, those skilled in the art should also know that, Embodiment described in this description belongs to preferred embodiment, necessary to involved action not necessarily the application.
Explanation based on above method embodiment, present invention also provides a kind of corresponding processing unit of video image is real Example is applied, to realize the content described in above method embodiment.
Embodiment three
With reference to Fig. 3, it illustrates a kind of structure chart of the processing unit of video image, the dresses described in the embodiment of the present application three It sets and specifically includes:
Editor module 301, for putting on the time line the video material for needing to edit.
Selecting module 302, for acting on behalf of rank according to the selection of the editing environment of video material, the video element that obtains that treated Material.
Decoder module 303, for video material to be decoded operation to treated.
Judgment module 304, for judging whether the decoding operate is supported to act on behalf of, if agency is supported, according to agents level Other to treated, video material is decoded, and obtains decoded video material;Output module 305 is used for the decoding Video material afterwards carries out video editing, generates video image;
The judgment module further includes:If not supporting to act on behalf of, to treated, video material is decoded decoder, and right Decoded video material, which is compressed to, acts on behalf of rank, and compressed video material is carried out video editing, generates video image.
Preferably, the timeline includes track, it would be desirable to which the material of editor is put into track into edlin.
Preferably, it is described act on behalf of rank include half act on behalf of rank, and/or a quarter act on behalf of rank and eight/ One acts on behalf of rank.
Preferably, selecting module includes:Half selects submodule, for being half agents level when acting on behalf of rank When other, the length of video material and width are compressed according to half, regarded using compressed video material as treated Frequency material.
A quarter select submodule, for when act on behalf of rank be a quarter act on behalf of rank when, by the length of video material It is compressed according to a quarter with width, using compressed video material as treated video material.
1/8th selection submodules, for when act on behalf of rank for 1/8th act on behalf of rank when, by the length of video material It is compressed according to 1/8th with wide, using compressed video material as treated video material.
Preferably, preview is carried out to the generation video image using monitor.
In conclusion a kind of processing unit of video image of the embodiment of the present application includes mainly following advantages:
By the way that the primary video material for needing to edit is placed on timeline, selected according to the editing environment of primary video material Different to act on behalf of rank, the video material that obtains that treated, then to treated, video material is decoded operation, if decoding Agency is supported in operation, then according to rank is acted on behalf of, to treated, video material is decoded, and obtains decoded video material, and Video editing is carried out to decoded video material, generates video image, by being selected according to the editing environment of primary video material Select it is different act on behalf of rank, the different other compressions of agents level are carried out to primary video material, to solve computer hardware money The problem of influence that source handles video leads to poor user experience.
For above-mentioned apparatus embodiment, since it is basically similar to the method embodiment, so description is fairly simple, The relevent part can refer to the partial explaination of embodiments of method.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.
It above to a kind for the treatment of method and apparatus of video image provided herein, is described in detail, herein In apply specific case the principle and implementation of this application are described, the explanation of above example is only intended to sides Assistant solves the present processes and its core concept;Meanwhile for those of ordinary skill in the art, the think of according to the application Think, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as pair The limitation of the application.

Claims (9)

1. a kind of processing method of video image, which is characterized in that including:
The primary video material edited will be needed to put on the time line;
Rank is acted on behalf of according to the selection of the editing environment of primary video material, the video material that obtains that treated;
To treated, video material is decoded operation;
Judge whether the decoding operate is supported to act on behalf of, if supporting agency, according to acting on behalf of rank to treated video material It is decoded, obtains decoded video material;
The decoded video material is subjected to video editing, generates video image;
If decoding operate is not supported to act on behalf of, to treated, video material is decoded decoder, and to decoded video element Material, which is compressed to, acts on behalf of rank, and compressed video material is carried out video editing, generates video image.
2. according to the method described in claim 1, it is characterized in that, the timeline includes track, it would be desirable to which editor's is primary Video material is placed in track into edlin.
3. according to the method described in claim 1, it is characterized in that, it is described act on behalf of rank include half act on behalf of rank and/ Or a quarter acts on behalf of rank and/or 1/8th acts on behalf of rank.
4. according to the method described in claim 3, it is characterized in that, described select generation according to the editing environment of primary video material The step of managing rank, obtaining treated video material include:
When it is that half acts on behalf of rank to act on behalf of rank, the length of primary video material and width are pressed according to half Contracting, using compressed video material as treated video material;
When it is that a quarter acts on behalf of rank to act on behalf of rank, the length of primary video material and width are pressed according to a quarter Contracting, using compressed video material as treated video material;
When act on behalf of rank be 1/8th act on behalf of rank when, wide press the length of primary video material and according to 1/8th Contracting, using compressed video material as treated video material.
5. according to the method described in claim 1, including:Preview is carried out to the generation video image using monitor.
6. a kind of processing unit of video image, which is characterized in that including:
Editor module, for putting on the time line the primary video material for needing to edit;
Selecting module, for acting on behalf of rank according to the selection of the editing environment of primary video material, the video material that obtains that treated;
Decoder module, for video material to be decoded operation to treated;
Judgment module, for judging whether the decoding operate is supported to act on behalf of, if support agency, according to act on behalf of rank to processing Video material afterwards is decoded, and obtains decoded video material;Output module is used for the decoded video material Video editing is carried out, video image is generated;
The judgment module further includes:If not supporting to act on behalf of, to treated, video material is decoded decoder, and to decoding Video material afterwards, which is compressed to, acts on behalf of rank, and compressed video material is carried out video editing, generates video image.
7. device according to claim 6, which is characterized in that the timeline includes track, it would be desirable to which editor's is primary Video material is put into track into edlin.
8. device according to claim 6, which is characterized in that it is described act on behalf of rank include half act on behalf of rank and/ Or a quarter acts on behalf of rank and/or 1/8th acts on behalf of rank.
9. device according to claim 8, which is characterized in that selecting module includes:
Half select submodule, for when act on behalf of rank be half act on behalf of rank when, by the length of primary video material It is compressed according to half with width, using compressed video material as treated video material;
A quarter select submodule, for when act on behalf of rank be a quarter act on behalf of rank when, by the length of primary video material It is compressed according to a quarter with width, using compressed video material as treated video material;
1/8th selection submodules, for when act on behalf of rank for 1/8th act on behalf of rank when, by the length of primary video material It is compressed according to 1/8th with wide, using compressed video material as treated video material.
CN201510614362.4A 2015-09-23 2015-09-23 The treating method and apparatus of video image Expired - Fee Related CN105262957B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510614362.4A CN105262957B (en) 2015-09-23 2015-09-23 The treating method and apparatus of video image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510614362.4A CN105262957B (en) 2015-09-23 2015-09-23 The treating method and apparatus of video image

Publications (2)

Publication Number Publication Date
CN105262957A CN105262957A (en) 2016-01-20
CN105262957B true CN105262957B (en) 2018-10-02

Family

ID=55102445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510614362.4A Expired - Fee Related CN105262957B (en) 2015-09-23 2015-09-23 The treating method and apparatus of video image

Country Status (1)

Country Link
CN (1) CN105262957B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413337A (en) * 2018-08-30 2019-03-01 北京达佳互联信息技术有限公司 Video Rendering method, apparatus, electronic equipment and storage medium
CN109660740A (en) * 2018-12-25 2019-04-19 成都索贝数码科技股份有限公司 A kind of video editing method based on three code rates
CN112291627B (en) * 2020-10-12 2022-12-09 广州市百果园网络科技有限公司 Video editing method and device, mobile terminal and storage medium
CN112104894B (en) * 2020-11-18 2021-03-09 成都索贝数码科技股份有限公司 Ultra-high-definition video editing method based on breadth transformation
CN114222187B (en) * 2021-08-12 2023-08-29 荣耀终端有限公司 Video editing method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083113A (en) * 2006-05-31 2007-12-05 索尼株式会社 Reproduction device and reproduction method, and program
CN101326821A (en) * 2006-03-14 2008-12-17 索尼株式会社 Image processing device and image processing method
CN101515267A (en) * 2008-02-19 2009-08-26 北京新岸线网络技术有限公司 Network media intelligent cataloging system
CN101567978A (en) * 2009-05-31 2009-10-28 上海文广新闻传媒集团 Finance and economic manufacturing-broadcasting picture and text system
CN104103301A (en) * 2013-04-05 2014-10-15 索尼公司 Recording apparatus, recording method, and reproducing apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4297122B2 (en) * 2006-03-01 2009-07-15 ソニー株式会社 Playback apparatus and playback method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101326821A (en) * 2006-03-14 2008-12-17 索尼株式会社 Image processing device and image processing method
CN101083113A (en) * 2006-05-31 2007-12-05 索尼株式会社 Reproduction device and reproduction method, and program
CN101515267A (en) * 2008-02-19 2009-08-26 北京新岸线网络技术有限公司 Network media intelligent cataloging system
CN101567978A (en) * 2009-05-31 2009-10-28 上海文广新闻传媒集团 Finance and economic manufacturing-broadcasting picture and text system
CN104103301A (en) * 2013-04-05 2014-10-15 索尼公司 Recording apparatus, recording method, and reproducing apparatus

Also Published As

Publication number Publication date
CN105262957A (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN105262957B (en) The treating method and apparatus of video image
US10930318B2 (en) Gapless video looping
RU2702233C2 (en) Information processing device and information processing method
CN105307027A (en) METHODS and APPARATUSES FOR ADAPTING CONTENT
US10924821B2 (en) Providing advanced playback and control functionality to video client
CN105940448A (en) Metadata for ducking control
US20180063602A1 (en) System and method to generate a video on-the-fly
CN111836076B (en) Video resolution switching method and device and electronic equipment
CN112738627B (en) Play control method and device
Ma et al. Implementation of an intelligent equalization tool using Yule-Walker for music mixing and mastering
JP2019529979A (en) Quantizer with index coding and bit scheduling
CN105992022A (en) On-line recording and downloading method and system
US9704535B2 (en) Systems and methods for enabling interaction with multi-channel media files
CN106507115B (en) Coding/decoding method, device and the terminal device of VR video based on iOS device
CN105681823A (en) Method and device for transcoding video file online
CN104994406B (en) A kind of video editing method and device based on Silverlight plug-in units
WO2017185798A1 (en) Method and device for sharing multimedia file
CN104780389B (en) A kind of method for processing video frequency and device
CN104333765B (en) A kind of processing method and processing unit of net cast stream
CN105992018B (en) Streaming media transcoding method and apparatus
CN104683882B (en) A kind of generation of Streaming Media speed file and player method, device
US20190244272A1 (en) Systems and Methods for Generating a Digital Signature for Virtual Application of Cosmetic Products
CN104853224B (en) A kind of video data handling procedure and device
CN103702172A (en) Method and system for carrying out dolby transcoding on AV (Audio/Video)
CN105578260A (en) Video editing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181002

Termination date: 20190923