CN105262957A - Video image processing method and device - Google Patents

Video image processing method and device Download PDF

Info

Publication number
CN105262957A
CN105262957A CN201510614362.4A CN201510614362A CN105262957A CN 105262957 A CN105262957 A CN 105262957A CN 201510614362 A CN201510614362 A CN 201510614362A CN 105262957 A CN105262957 A CN 105262957A
Authority
CN
China
Prior art keywords
video material
behalf
rank
act
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.)
Granted
Application number
CN201510614362.4A
Other languages
Chinese (zh)
Other versions
CN105262957B (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

Abstract

The present application provides a video image processing method and device. The method comprises the steps of arranging the to-be-edited original video material in the timeline; selecting the level of an agent according to the editing environment of the original video material to obtain the processed video material; conducting the decoding operation on the processed video material; determining whether the decoding operation is enabled by the agent or not, and decoding the processed video material according to the level of the agent to obtain the decoded video material on the condition that the decoding operation is enabled by the agent; and editing the decoded video material to generate a video image. In this way, high-quality video materials can be smoothly edited based on low-hardware resources. Meanwhile, the problem that the hardware updating cost of computers is high is solved.

Description

The processing method of video image and device
Technical field
The application relates to image processing techniques, particularly relates to a kind of processing method and device of video image.
Background technology
In image/video process software, one demand very widely to the high efficiency editor of image/video, especially later stage packaging Software for producing, realize carrying out smoothness editor to high-quality video, need there is higher requirement to the hardware resource of computer, but generally, for the computer that a lot of user has, its hardware resource is relatively low, user is difficult to carry out flow process editor to high-quality video in the computer of this low hardware resource, if upgraded the hardware of computer, cost also can be very high, and the experience of user is poor.
Summary of the invention
This application provides a kind of processing method and device of video image, to solve the problem high to the hardware update cost that can not carry out smooth editor and computer of high-quality video of low hardware resource in current video processing procedure.
In order to solve the problem, this application discloses a kind of processing method of video image, comprising: the primary video material of needs editor is put on the time line;
Select to act on behalf of rank according to the editing environment of primary video material, obtain the video material after process;
Decode operation is carried out to the video material after process;
Judge whether described decode operation supports agency, if support agency, then according to acting on behalf of rank, the video material after process being decoded, obtaining decoded video material;
Described decoded video material is carried out video editing, generating video image.
Preferably, described timeline comprises track, edits needing the primary material of editor to be placed in track.
Preferably, described rank of acting on behalf of comprises 1/2nd and acts on behalf of rank and/or 1/4th and act on behalf of rank and/or 1/8th and act on behalf of rank.
Preferably, the described editing environment according to primary video material is selected to act on behalf of rank, and the step obtaining the video material after process comprises:
When act on behalf of rank be 1/2nd act on behalf of rank time, by the length of primary video material with widely to compress according to 1/2nd, using the video material after compression as the video material after process;
When act on behalf of rank be 1/4th act on behalf of rank time, by the length of primary video material with widely to compress according to 1/4th, using the video material after compression as the video material after process;
When act on behalf of rank be 1/8th act on behalf of rank time, by the length of primary video material with widely to compress according to 1/8th, using the video material after compression as the video material after process.
Preferably, also comprise: if decode operation does not support agency, decoder is decoded to the video material after process, and is compressed to decoded video material and acts on behalf of rank, and the video material after compression is carried out video editing, generating video image.
Preferably, usage monitoring device carries out preview to described generating video image.
In order to solve the problem, disclosed herein as well is a kind of processing unit of video image, comprising:
Editor module, for needing the primary video material of editor to put on the time line;
Selecting module, for selecting to act on behalf of rank according to the editing environment of primary video material, obtaining the video material after process;
Decoder module, for carrying out decode operation to the video material after process;
Judge module, for judging whether described decode operation supports agency, if support agency, then decoding to the video material after process according to acting on behalf of rank, obtaining decoded video material;
Output module, for carrying out video editing by described decoded video material, generating video image.
Preferably, described timeline comprises track, edits needing the primary material of editor to be put in track.
Preferably, described rank of acting on behalf of comprises 1/2nd and acts on behalf of rank and/or 1/4th and act on behalf of rank and 1/8th and act on behalf of rank.
Preferably, select module to comprise: 1/2nd chooser modules, for when act on behalf of rank be 1/2nd act on behalf of rank time, by the length of primary video material with widely to compress according to 1/2nd, using the video material after compression as the video material after processing;
/ 4th chooser modules, for when act on behalf of rank be 1/4th act on behalf of rank time, by the length of primary video material with widely to compress according to 1/4th, using the video material after compression as the video material after process;
/ 8th chooser modules, for when act on behalf of rank be 1/8th act on behalf of rank time, by the length of primary video material with widely to compress according to 1/8th, using the video material after compression as the video material after process.
Preferably, usage monitoring device carries out preview to described generating video image.
Compared with prior art, the application comprises following advantage:
The application is by needing the primary video material of editor to be placed on timeline, select different to act on behalf of rank according to the editing environment of primary video material, obtain the video material after process, then decode operation is carried out to the video material after process, if decode operation support is acted on behalf of, then according to acting on behalf of rank, the video material after process is decoded, obtain decoded video material, and video editing is carried out to decoded video material, generating video image, by selecting according to the editing environment of primary video material different to act on behalf of rank, other compression of different agents level is carried out to primary video material, thus solve the smoothness editor of low hardware resource to high-quality video, the problem that the hardware update cost of computer is high, reach without customer upgrade hardware resource, low hardware resource can be adopted, the smooth effect that high-quality video material is edited, improve Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the flow chart of the processing method of a kind of video image described in the embodiment of the present application one;
Fig. 2 is the flow chart of the processing method of a kind of video image described in the embodiment of the present application two;
Fig. 3 is the structured flowchart of the processing unit of a kind of video image described in the embodiment of the present application three.
Embodiment
For enabling above-mentioned purpose, the feature and advantage of the application more become apparent, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
Embodiment one
With reference to Fig. 1, it illustrates the processing method of a kind of video image described in the embodiment of the present application one, comprising:
Step 101: put needing the primary video material of editor on the time line.
Timeline is made up of track, primary video material is put in track and edits, track is divided into the orbital head containing some attributes of track and the track container all primary video materials put in track, timeline is longitudinally being made up of track from level to level, wherein timeline is being laterally time shaft, and represent the length information of timeline, the primary video material on track will arrange in time-axis direction order, will first broadcast on the time shaft left side, below by rear broadcast.
Step 102: select to act on behalf of rank according to the editing environment of primary video material, obtain the video material after process.
Agency can comprise for set computer hardware resource, by other edit mode of agents level, can realize carrying out live preview and smooth editor to high-quality video, after importing browser by primary video material, do not need material transcoding, as long as select to act on behalf of rank, live preview and direct editing can be carried out to primary video material.
Act on behalf of rank and larger primary video material can be compressed to very little video file, eachly act on behalf of the corresponding a kind of compress mode of rank, wherein, to act on behalf of rank be the compress mode of 1/2nd correspondences is by the length of video and widely compresses according to 1/2nd, such as: when primary video material length is 1024, wide is 2048, be two when acting on behalf of rank/for the moment, primary video material length after compression is 512, and wide is 1024, namely primary video material can be diminished by acting on behalf of rank.
Primary video material is generally all larger, because the computer hardware resource of different clients is different, therefore in order to make the video material after client process more clear, therefore need to select different to act on behalf of rank according to the editing environment of primary video material, rank of acting on behalf of according to selecting carries out compression process to primary video material, obtains the video material after process.
Video material after process still can reflect the feature of primary video material, and the size of the video material just after process diminishes than primary video material size.
Video material after process can be kept in internal memory or in database, does not do concrete restriction to this application.
Step 103: decode operation is carried out to the video material after process.
Decoder is used to carry out decode operation to the video material after process.
Step 104: judge whether the decode operation of described decoder supports agency, if support agency, then performs step 105.
Step 105: according to acting on behalf of rank, the video material after process being decoded, obtaining decoded video material.
The video material obtained after decoding is low quality video material.
Step 106: described decoded video material is carried out video editing, generating video image.
After video clipping completes, by the primary video material on agency's link return time line, the primary video material on timeline is exported according to video editing, thus achieve the video actions that editing completes and be synchronized to primary video material.
Step 107: the video image generated is exported.
Pass through the present embodiment, timeline is placed on by needing the primary video material of editor, select different to act on behalf of rank according to the editing environment of primary video material, obtain the video material after process, then decode operation is carried out to the video material after process, if decode operation support is acted on behalf of, then according to acting on behalf of rank, the video material after process is decoded, obtain decoded video material, and video editing is carried out to decoded video material, generating video image, by selecting according to the editing environment of primary video material different to act on behalf of rank, other compression of different agents level is carried out to primary video material, thus solve the problem that the impact of computer hardware resource on Video processing cause poor user experience.
Embodiment two
With reference to Fig. 2, show the flow chart of the processing method of a kind of video image in the embodiment of the present application two.In the present embodiment, specifically comprise:
Step 201: put needing the primary video material of editor on the time line.
Step 202: select to act on behalf of rank according to the editing environment of primary video material, obtain the video material after process.
Act on behalf of rank to comprise 1/2nd and act on behalf of rank and/or 1/4th and act on behalf of rank and/or 1/8th and act on behalf of rank.
When act on behalf of rank be 1/2nd act on behalf of rank time, by the length of primary video material with widely to compress according to 1/2nd, using the video material after compression as the video material after process.
When act on behalf of rank be 1/4th act on behalf of rank time, by the length of primary video material with widely to compress according to 1/4th, using the video material after compression as the video material after process.
When act on behalf of rank be 1/8th act on behalf of rank time, by the length of primary video material with widely to compress according to 1/8th, using the video material after compression as the video material after process.
Step 203: decode operation is carried out to the video material after process.
Step 204: judge whether described decode operation supports agency, if support agency, then performs step 205, if decode operation does not support agency, then performs step 206.
Step 205: according to acting on behalf of rank, the video material after process being decoded, obtaining decoded video material.
Step 206: decoder is decoded to the video material after process, and is compressed to decoded video material and acts on behalf of rank, carries out video editing, generating video image by the video material after compression.
Step 207: described decoded video material is carried out video editing, generating video image.
Step 208: usage monitoring device carries out preview to described generating video image.
Step 209: the video image generated is exported.
Pass through the present embodiment, by will the primary video material of editor be needed to be placed on timeline, select different to act on behalf of rank according to the editing environment of primary video material, obtain the video material after process, then decode operation is carried out to the video material after process, if decode operation support is acted on behalf of, then according to acting on behalf of rank, the video material after process is decoded, obtain decoded video material, and video editing is carried out to decoded video material, generating video image, by selecting according to the editing environment of primary video material different to act on behalf of rank, other compression of different agents level is carried out to primary video material, thus solve the problem that the impact of computer hardware resource on Video processing cause poor user experience.
It should be noted that, for aforesaid embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action might not be that the application is necessary.
Based on the explanation of said method embodiment, present invention also provides the processing unit embodiment of corresponding a kind of video image, realize the content described in said method embodiment.
Embodiment three
With reference to Fig. 3, it illustrates the structure chart of the processing unit of a kind of video image described in the embodiment of the present application three, this device specifically comprises:
Editor module 301, for needing the video material of editor to put on the time line.
Selecting module 302, for selecting to act on behalf of rank according to the editing environment of video material, obtaining the video material after process.
Decoder module 303, for carrying out decode operation to the video material after process.
Judge module 304, for judging whether described decode operation supports agency, if support agency, then decoding to the video material after process according to acting on behalf of rank, obtaining decoded video material.
Output module 305, for carrying out video editing by described decoded video material, generating video image.
Preferably, described timeline comprises track, edits needing the material of editor to be put in track.
Preferably, described rank of acting on behalf of comprises 1/2nd and acts on behalf of rank and/or 1/4th and act on behalf of rank and 1/8th and act on behalf of rank.
Preferably, select module to comprise: 1/2nd chooser modules, for when act on behalf of rank be 1/2nd act on behalf of rank time, by the length of video material with widely to compress according to 1/2nd, using the video material after compression as the video material after processing.
/ 4th chooser modules, for when act on behalf of rank be 1/4th act on behalf of rank time, by the length of video material with widely to compress according to 1/4th, using the video material after compression as the video material after process.
/ 8th chooser modules, for when act on behalf of rank be 1/8th act on behalf of rank time, by the length of video material with widely to compress according to 1/8th, using the video material after compression as the video material after process.
Preferably, usage monitoring device carries out preview to described generating video image.
In sum, the processing unit of a kind of video image of the embodiment of the present application mainly comprises following advantage:
By will the primary video material of editor be needed to be placed on timeline, select different to act on behalf of rank according to the editing environment of primary video material, obtain the video material after process, then decode operation is carried out to the video material after process, if decode operation support is acted on behalf of, then according to acting on behalf of rank, the video material after process is decoded, obtain decoded video material, and video editing is carried out to decoded video material, generating video image, by selecting according to the editing environment of primary video material different to act on behalf of rank, other compression of different agents level is carried out to primary video material, thus solve the problem that the impact of computer hardware resource on Video processing cause poor user experience.
For said apparatus embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Above to processing method and the device of a kind of video image that the application provides, be described in detail, apply specific case herein to set forth the principle of the application and execution mode, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.

Claims (10)

1. a processing method for video image, is characterized in that, comprising:
Put on the time line by needing the primary video material of editor;
Select to act on behalf of rank according to the editing environment of primary video material, obtain the video material after process;
Decode operation is carried out to the video material after process;
Judge whether described decode operation supports agency, if support agency, then according to acting on behalf of rank, the video material after process being decoded, obtaining decoded video material;
Described decoded video material is carried out video editing, generating video image.
2. method according to claim 1, is characterized in that, described timeline comprises track, edits needing the primary video material of editor to be placed in track.
3. method according to claim 1, is characterized in that, described rank of acting on behalf of comprises 1/2nd and acts on behalf of rank and/or 1/4th and act on behalf of rank and/or 1/8th and act on behalf of rank.
4. method according to claim 3, is characterized in that, the described editing environment according to primary video material is selected to act on behalf of rank, and the step obtaining the video material after process comprises:
When act on behalf of rank be 1/2nd act on behalf of rank time, by the length of primary video material with widely to compress according to 1/2nd, using the video material after compression as the video material after process;
When act on behalf of rank be 1/4th act on behalf of rank time, by the length of primary video material with widely to compress according to 1/4th, using the video material after compression as the video material after process;
When act on behalf of rank be 1/8th act on behalf of rank time, by the length of primary video material with widely to compress according to 1/8th, using the video material after compression as the video material after process.
5. method according to claim 1, also comprise: if decode operation does not support agency, decoder is decoded to the video material after process, and is compressed to decoded video material and acts on behalf of rank, video material after compression is carried out video editing, generating video image.
6. method according to claim 5, comprising: usage monitoring device carries out preview to described generating video image.
7. a processing unit for video image, is characterized in that, comprising:
Editor module, for needing the primary video material of editor to put on the time line;
Selecting module, for selecting to act on behalf of rank according to the editing environment of primary video material, obtaining the video material after process;
Decoder module, for carrying out decode operation to the video material after process;
Judge module, for judging whether described decode operation supports agency, if support agency, then decoding to the video material after process according to acting on behalf of rank, obtaining decoded video material;
Output module, for carrying out video editing by described decoded video material, generating video image.
8. device according to claim 7, is characterized in that, described timeline comprises track, edits needing the primary video material of editor to be put in track.
9. device according to claim 7, is characterized in that, described rank of acting on behalf of comprises 1/2nd and acts on behalf of rank and/or 1/4th and act on behalf of rank and/or 1/8th and act on behalf of rank.
10. device according to claim 9, is characterized in that, selects module to comprise:
/ 2nd chooser modules, for when act on behalf of rank be 1/2nd act on behalf of rank time, by the length of primary video material with widely to compress according to 1/2nd, using the video material after compression as the video material after process;
/ 4th chooser modules, for when act on behalf of rank be 1/4th act on behalf of rank time, by the length of primary video material with widely to compress according to 1/4th, using the video material after compression as the video material after process;
/ 8th chooser modules, for when act on behalf of rank be 1/8th act on behalf of rank time, by the length of primary video material with widely to compress according to 1/8th, using the video material after compression as the video material after process.
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 true CN105262957A (en) 2016-01-20
CN105262957B 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)

Cited By (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
CN112104894A (en) * 2020-11-18 2020-12-18 成都索贝数码科技股份有限公司 Ultra-high-definition video editing method based on breadth transformation
CN112291627A (en) * 2020-10-12 2021-01-29 广州市百果园网络科技有限公司 Video editing method and device, mobile terminal and storage medium
CN114222187A (en) * 2021-08-12 2022-03-22 荣耀终端有限公司 Video editing method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070212029A1 (en) * 2006-03-01 2007-09-13 Hitoshi Naito Reproduction apparatus and reproduction method
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070212029A1 (en) * 2006-03-01 2007-09-13 Hitoshi Naito Reproduction apparatus and reproduction method
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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
岳山: "《网络传播实用教程》", 31 March 2010, 安徽大学出版社 *

Cited By (6)

* 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
CN112291627A (en) * 2020-10-12 2021-01-29 广州市百果园网络科技有限公司 Video editing method and device, mobile terminal and storage medium
CN112104894A (en) * 2020-11-18 2020-12-18 成都索贝数码科技股份有限公司 Ultra-high-definition video editing method based on breadth transformation
CN114222187A (en) * 2021-08-12 2022-03-22 荣耀终端有限公司 Video editing method and electronic equipment
CN114222187B (en) * 2021-08-12 2023-08-29 荣耀终端有限公司 Video editing method and electronic equipment

Also Published As

Publication number Publication date
CN105262957B (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN105262957A (en) Video image processing method and device
EP3357253B1 (en) Gapless video looping
CN104796796B (en) Improve the fault-tolerant method of the HLS streaming players of Android platform
CN102055717A (en) Quick playing method, terminal and server
US20180063602A1 (en) System and method to generate a video on-the-fly
CN104780378A (en) Method, device and player for decoding video
US20120166667A1 (en) Streaming media
CN104185077A (en) Video editing method and device
CN109242934B (en) Animation code generation method and equipment
CN113938470B (en) Method and device for playing RTSP data source by browser and streaming media server
CN111836076A (en) Video resolution switching method and device and electronic equipment
CN108495174B (en) Method and system for generating video file by H5 page effect
CN113079406A (en) Video processing method and device
CN114299972A (en) Audio processing method, device, equipment and storage medium
CN107229516B (en) Data processing method and device
CN101442627A (en) Control method for peer-to-peer calculation set-top box player
CN105681823A (en) Method and device for transcoding video file online
CN104822079A (en) Video file real-time publication method and system
CN105323593A (en) Multimedia transcoding scheduling method and multimedia transcoding scheduling device
CN111083408B (en) Method, system and equipment for processing video storage service
CN105992018B (en) Streaming media transcoding method and apparatus
CN104994406B (en) A kind of video editing method and device based on Silverlight plug-in units
CN104333765B (en) A kind of processing method and processing unit of net cast stream
US9691430B2 (en) Opportunistic frame caching
CN105338371A (en) Multimedia transcoding scheduling method and apparatus

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