Movatterモバイル変換


[0]ホーム

URL:


CN104883514B - Video processing method and device - Google Patents

Video processing method and device
Download PDF

Info

Publication number
CN104883514B
CN104883514BCN201510236430.8ACN201510236430ACN104883514BCN 104883514 BCN104883514 BCN 104883514BCN 201510236430 ACN201510236430 ACN 201510236430ACN 104883514 BCN104883514 BCN 104883514B
Authority
CN
China
Prior art keywords
processed
video
image
region
image data
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.)
Active
Application number
CN201510236430.8A
Other languages
Chinese (zh)
Other versions
CN104883514A (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.)
Beijing Jupiter Technology Co ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co LtdfiledCriticalBeijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510236430.8ApriorityCriticalpatent/CN104883514B/en
Publication of CN104883514ApublicationCriticalpatent/CN104883514A/en
Application grantedgrantedCritical
Publication of CN104883514BpublicationCriticalpatent/CN104883514B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The embodiment of the invention discloses a video processing method, which comprises the following steps: acquiring a video to be processed, and determining each frame of image to be processed in the video to be processed; determining an image area to be processed in each frame of image according to a predefined image processing rule; and adjusting the pixel value of the image area to be processed to the limited pixel value according to the pixel value limited in the image processing rule to obtain target image data with a preset display effect, and adding the target image data to the video to be processed to obtain a processed video. The embodiment of the invention also discloses a video processing device. The invention has the advantages of improving the interest of the video to be processed and enhancing the user experience of video processing.

Description

A kind of method for processing video frequency and device
Technical field
The present invention relates to electronic technology field more particularly to a kind of method for processing video frequency and device.
Background technique
With the high-speed intelligent of mobile phone, mobile phone has become essential life companion in people's daily life.WithIncreasingly diversification, especially the cell-phone camera function of cell-phone function are become stronger day by day, and mobile phone user is increasingly keen to using handMachine shoots video clip, and the video clip that oneself is shot uploads to the communal space.However, mobile phone user's uploaded videos segmentWhen to the communal space, if it is desired to which when the video of upload includes multiple segments, then needing repeatedly to upload could will be on complete videoReach the communal space, troublesome in poeration, upload low efficiency.
Demand is shared in order to preferably meet the video of mobile phone user, the prior art provides Video processing software, can incite somebody to actionMultiple video clips are cut, are spliced, and multiple video clips are merged into a video, mobile phone user can be by multiple piece of videoSection uploads after being spliced into a video.However, the Video processing software that the prior art provides is only simply by multiple piece of videoSection merges, and does not handle video, and when mobile phone user watches video, the junction of video clip may appear to seemStiff, the user experience of video processing is low, and viewing effect is single.
Summary of the invention
The embodiment of the present invention provides a kind of method for processing video frequency and device, and the interest of video processing, enhancing view can be improvedThe user experience of frequency processing.
First aspect of the embodiment of the present invention provides a kind of method for processing video frequency, may include:
Video to be processed is obtained, determines each frame image to be processed in the video to be processed;
According to predefined image procossing rule, the image-region to be processed in each frame image is determined;
The pixel value limited in rule is handled according to described image, and the pixel value of the image-region to be processed is adjusted toThe pixel value of the restriction obtains the destination image data with predetermined display effect, and the destination image data is addedExtremely in the video to be processed, processing rear video is obtained.
Wherein, the video to be processed is spliced to obtain by multiple video clips;
It is described to obtain video to be processed and include:
Obtain multiple video clips from network share space or terminal local memory space, and by the multiple videoFragment assembly is the video to be processed.
Wherein, the video to be processed is spliced to obtain by multiple video clips;
It is described to obtain video to be processed, determine each frame image to be processed in the video to be processed, including:
The video to be processed that multiple video clips are spliced is obtained, and obtains at least one in the video to be processed and spellsConnect an at least frame image for each stitching portion in place;
An at least frame image at least one stitching portion is determined as each frame image to be processed.
Wherein, described according to predefined image procossing rule, determine the image-region to be processed in each frame imageBefore, the method also includes:
According to scheduled display effect, define at the image handled each frame image to be processed in video to be processedReason rule;
Wherein, the predetermined display effect is specially:Latticed display effect or right-angled intersection threadiness display effect,Or rotational display effect.
Wherein, the image processing data that limits includes in described image processing rule:The position of the image-region to be processedIt sets, the pixel value to be filled of image-region to be processed.
Wherein, the position of the image-region to be processed, including:Every frame image is divided into the subgraph of multiple enclosed regionsThe dividing line region of picture or the specified subregion in the enclosed region.
It is wherein, described that image-region to be processed in each frame image is determined according to predefined image procossing rule,Including:
Handle the dividing line region that limits in rule according to described image, by each frame image to be processed withThe corresponding image-region in the dividing line region is determined as the image-region to be processed;Or
The dividing line region limited in rule and the specified subregion are handled according to described image, by described wait locateImage-region corresponding with the dividing line region and the specified subregion is determined as described wait locate in each frame image of reasonManage image-region.
Wherein, the pixel value to be filled of the pending area is black;
It is described that the pixel value limited in rule is handled according to described image, by the pixel value tune of the image-region to be processedThe whole pixel value for the restriction, obtains the destination image data with predetermined display effect, including:
The pixel value of the image-region to be processed is adjusted to black, obtains the target with the predetermined display effectImage data.
Wherein, described that the destination image data is added in the video to be processed, obtain processing rear video, packetIt includes:
Each frame figure to be processed in the video to be processed is replaced with the frame image comprising the destination image dataThe destination image data is added in the video to be processed by picture;Or
The original digital image data that the image-region to be processed is covered with the destination image data, by the target imageData are added in the video to be processed.
Wherein, described that the destination image data is added in the video to be processed, after obtaining processing rear video,The method also includes:
The processing rear video comprising the destination image data is saved to terminal local memory space, or is sharedTo the communal space.
Second aspect of the embodiment of the present invention provides a kind of video process apparatus, may include:
It obtains module and determines each frame image to be processed in the video to be processed for obtaining video to be processed;
Determining module, for determining the image to be processed in each frame image according to predefined image procossing ruleRegion;
Processing module, for handling the pixel value limited in rule according to described image, by the image-region to be processedPixel value be adjusted to the pixel value of the restriction, obtain the destination image data with predetermined display effect, and by the meshLogo image data are added in the video to be processed, obtain processing rear video.
Wherein, the video to be processed is spliced to obtain by multiple video clips;The acquisition module is specifically used for:
Obtain multiple video clips from network share space or terminal local memory space, and by the multiple videoFragment assembly is the video to be processed.
Wherein, the video to be processed is spliced to obtain by multiple video clips;The acquisition module is specifically used for:
The video to be processed that multiple video clips are spliced is obtained, and obtains at least one in the video to be processed and spellsConnect an at least frame image for each stitching portion in place;
An at least frame image at least one stitching portion is determined as each frame image to be processed.
Wherein, described device further includes:
Setup module, for according to scheduled display effect, definition to each frame image to be processed in video to be processed intoThe image procossing rule of row processing;
Wherein, the predetermined display effect is specially:Latticed display effect or right-angled intersection threadiness display effect,Or rotational display effect.
Wherein, the image processing data that limits includes in described image processing rule:The position of the image-region to be processedIt sets, the pixel value to be filled of image-region to be processed.
Wherein, the position of the image-region to be processed, including:Every frame image is divided into the subgraph of multiple enclosed regionsThe dividing line region of picture or the specified subregion in the enclosed region.
Wherein, the determining module is specifically used for:
Handle the dividing line region that limits in rule according to described image, by each frame image to be processed withThe corresponding image-region in the dividing line region is determined as the image-region to be processed;Or
The dividing line region limited in rule and the specified subregion are handled according to described image, by described wait locateImage-region corresponding with the dividing line region and the specified subregion is determined as described wait locate in each frame image of reasonManage image-region.
Wherein, the pixel value to be filled of the pending area is black;
The processing module is specifically used for:
The pixel value of the image-region to be processed is adjusted to black, obtains the target with the predetermined display effectImage data.
Wherein, the processing module is specifically used for:
Each frame figure to be processed in the video to be processed is replaced with the frame image comprising the destination image dataThe destination image data is added in the video to be processed by picture;Or
The original digital image data that the image-region to be processed is covered with the destination image data, by the target imageData are added to the video to be processed.
Wherein, the terminal further includes:
Preserving module, for by include the destination image data the processing rear video save to terminal local storeSpace, or share to the communal space.
The third aspect of the embodiment of the present invention provides a kind of terminal, may include:Second aspect of the embodiment of the present invention providesVideo process apparatus and memory;
The memory, is used to store a set of program code;
The video process apparatus, for calling the program code stored in the memory to execute as aforementioned present invention is realApply the operations in the video process apparatus that a second aspect provides.
The embodiment of the present invention can obtain video to be processed first and determine each frame image to be processed in video to be processed, rootThe image-region to be processed in each frame image of video to be processed is determined according to predefined image procossing rule, and then by above-mentioned fingerThe pixel value for determining image data is filled with preset pixel value, obtains having the destination image data of predetermined display effect simultaneouslyThe video that obtains that treated is added it in video to be processed.The embodiment of the present invention is right according to predefined image procossing ruleVideo to be processed is handled, and the appreciation effect of video to be processed is enhanced, and improves the user experience of video processing, can also be incited somebody to actionIt handles obtained destination image data to save to video to be processed, will have the destination image data for being particularly shown effect to shareTo the communal space, the interest of video sharing is improved.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodimentAttached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, forFor those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings otherAttached drawing.
Fig. 1 is the first embodiment flow diagram of method for processing video frequency provided in an embodiment of the present invention;
Fig. 2 is the effect diagram in the first embodiment of method for processing video frequency provided in an embodiment of the present invention;
Fig. 3 is the second embodiment flow diagram of method for processing video frequency provided in an embodiment of the present invention;
Fig. 4 is the first effect diagram in the second embodiment of method for processing video frequency provided in an embodiment of the present invention;
Fig. 5 is the second effect diagram in the second embodiment of method for processing video frequency provided in an embodiment of the present invention;
Fig. 6 is the third effect diagram in the second embodiment of method for processing video frequency provided in an embodiment of the present invention;
Fig. 7 is the schematic structural diagram of the first embodiment of video process apparatus provided in an embodiment of the present invention;
Fig. 8 is the schematic structural diagram of the second embodiment of video process apparatus provided in an embodiment of the present invention;
Fig. 9 is the example structure schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based onEmbodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every otherEmbodiment shall fall within the protection scope of the present invention.
In the specific implementation, terminal described in the embodiment of the present invention may include:Mobile phone, tablet computer, laptopOr digital camera etc., above-mentioned terminal are only citings, and it is non exhaustive, including but not limited to above-mentioned terminal.To be with mobile phone belowExample, in conjunction with Fig. 1 to Fig. 5, is specifically described method for processing video frequency provided in an embodiment of the present invention and device.
It is the first embodiment flow diagram of method for processing video frequency provided in an embodiment of the present invention referring to Fig. 1.This implementationMethod for processing video frequency described in example, including step:
S101 obtains video to be processed, determines each frame image to be processed in the video to be processed.
In the specific implementation, method for processing video frequency provided in an embodiment of the present invention can be by some module in mobile phone or mobile phoneIt executes, will use mobile phones as an example be specifically described below.
In some possible embodiments, mobile phone can be obtained first from network share space or mobile phone local storage spaceVideo to be processed is taken, above-mentioned video to be processed can be spliced to obtain by multiple video clips.In the specific implementation, mobile phone acquire toAfter handling video, then dissection process can be carried out to above-mentioned video to be processed, and record to be processed in above-mentioned video to be processedThe image data information of each frame.Specifically, mobile phone can by open GL (Open Graphics Library,OpenGL) shading language (Shading Language, SL) realizes the processing to video to be processed.Mobile phone can be by treating placeThe parsing for managing video, obtains the image data information of each frame in video to be processed, wherein above-mentioned image data information includes:The time of the image data of each frame or the image data of above-mentioned each frame in above-mentioned video to be processed in video to be processedPosition.That is, when mobile phone can obtain video playing from above-mentioned video to be processed, the image data of each frame corresponding time point,Or each moment corresponding image data etc., and then can be shown in video playing according to the video of terminal when video playingThe corresponding image procossing rule in region to the image data or corresponding image data of each moment of above-mentioned each frame atReason.
S102 determines the image-region to be processed in each frame image according to predefined image procossing rule.
In some possible embodiments, mobile phone can pre-define the image procossing rule handled video to be processedThen, specifically, mobile phone can limit the position of image-region to be processed in video display area in above-mentioned image procossing rule, withAnd the above-mentioned pixel value to be filled of image-region to be processed.Every frame image is divided in the specific implementation, mobile phone can pre-defineFor the dividing line of the subgraph of multiple enclosed regions, and record specific location of the every dividing line in video display area (i.e.The position of image-region to be processed in video display area), including:The width W and length L of dividing line start position A, dividing lineDeng the schematic diagram that such as Fig. 2, Fig. 2 are handled for video provided in an embodiment of the present invention.Wherein, above-mentioned multiple enclosed regions can beAny number of (such as 4,9 or 16 etc.), mobile phone user can self-defining according to actual needs, herein with no restrictions.Mobile phone limits the above-mentioned every frame image for showing video display area in above-mentioned image procossing rule and is divided into multiple closed areasAfter the position of the dividing line of the subgraph in domain, when above-mentioned video to be processed plays on mobile phone, mobile phone then can be according to wait locateThe image data information for managing each frame in video, determine in above-mentioned video to be processed with limit in above-mentioned image procossing rule toHandle image-region.Specifically, mobile phone can be during video playing to be processed, according to the image data of each frame above-mentionedTime location in video to be processed determines the image of each frame when video playing to be processed in conjunction with the position of above-mentioned dividing lineThe image information (i.e. specified image data) in specific region corresponding with the position of above-mentioned dividing line in data, and then can be according to pre-Above-mentioned specified image data is further processed in the image procossing rule of definition.
S103 handles the pixel value limited in rule according to described image, by the pixel value of the image-region to be processedIt is adjusted to the pixel value of the restriction, obtains the destination image data with predetermined display effect, and by the target image numberAccording to being added in the video to be processed, processing rear video is obtained.
In some possible embodiments, it can pre-define when mobile phone defines above-mentioned image procossing rule to above-mentioned imageThe pixel value to be filled of image-region to be processed limited in processing rule.In the specific implementation, when mobile phone is according to above-mentioned imageIt, then can basis after the image data information of each frame has determined image-region to be processed in processing rule and video to be processedThe pixel value limited in above-mentioned image procossing rule modifies to the pixel value of above-mentioned image-region to be processed, by above-mentioned wait locateThe pixel value of reason image-region is revised as the pixel value limited in image procossing rule, obtains the target with predetermined display effectImage data.Such as Fig. 2, when video to be processed plays on mobile phone, mobile phone has been determined according to above-mentioned image procossing rule wait locateIt manages in video after image-region to be processed corresponding with each dividing line region in Fig. 2, if being limited in image procossing ruleFiller pixels value be black, then the pixel value of above-mentioned image-region to be processed can be revised as black, and then obtain with netThe image data of trellis display effect.After mobile phone is revised as black to the pixel value of above-mentioned image-region to be processed, then it can incite somebody to actionIt handles obtained destination image data to save into above-mentioned video to be processed, above-mentioned target is played in video display process to be processedWhen image data, then it can be seen that the video image with latticed display effect, enhances the interest of video playing.In this hairIn bright embodiment, mobile phone can determine each frame image in video to be processed according to the video to be processed of acquisition, and can determine eachImage-region to be processed in frame image, and then predetermined display effect, such as net can be added on above-mentioned image-region to be processedTrellis display effect etc. reduces the excessive lofty property of the image data of image-region to be processed in video, enhancing video processingUser experience.
In embodiments of the present invention, mobile phone can obtain the video to be processed that multiple video clips are spliced, and root firstAccording to predefined image procossing rule, in conjunction with the image data information of each frame in video to be processed, determine in video to be processedImage-region to be processed, and then the pixel value of above-mentioned image-region to be processed is adjusted to predefined pixel value, is hadThere is the destination image data of predetermined display effect.The embodiment of the present invention obtains splicing according to predefined image procossing ruleVideo to be processed is handled, and the appreciation effect of video to be processed is enhanced, and is improved the user experience of splicing video, is improvedThe interest of video sharing.
It is the second embodiment flow diagram of method for processing video frequency provided in an embodiment of the present invention referring to Fig. 3.This implementationMethod for processing video frequency described in example, including step:
S201 obtains multiple video clips from network share space or terminal local memory space, and will be described moreA video clip is spliced into the video to be processed.
In some possible embodiments, mobile phone user can voluntarily shoot video clip by the camera function of mobile phone,And multiple video clips that shooting obtains are stored into mobile phone local storage space.It, can be direct when mobile phone carries out video-splicingMultiple video clips are obtained from mobile phone local storage space, the multiple video clips that will acquire are spliced into a video(video i.e. to be processed).In the specific implementation, mobile phone can also be downloaded more from network share space when mobile phone is in connected stateThe video clip that downloading obtains can also be stored to mobile phone local storage space, and then can downloaded above-mentioned by a video clipTo video clip cut, spliced, obtain the video to be processed spliced by multiple video clips.Mobile phone obtainsAfter obtaining video to be processed, above-mentioned video to be processed can be stored in mobile phone local storage space, can also shared total to networkSpace is enjoyed, herein with no restrictions.Wherein, above-mentioned network share space may include:QQ space, Renren Network, microblogging, wechat, BaiduThe communal space that social network-i i-platforms provide such as is known at by cloud, ends of the earth community, and above-mentioned social network-i i-platform is only citing, rather thanExhaustion, including but not limited to above-mentioned social network-i i-platform, herein with no restrictions.
S202 obtains the video to be processed that multiple video clips are spliced, and obtains in the video to be processed at leastAn at least frame image for each stitching portion in one stitching portion, an at least frame image at least one stitching portion is trueIt is set to each frame image to be processed.
In some possible embodiments, mobile phone can be first from network share space or mobile phone local storage spaceVideo to be processed is obtained, above-mentioned video to be processed is spliced to obtain by multiple video clips.In the specific implementation, mobile phone acquire toAfter handling video, then dissection process can be carried out to above-mentioned video to be processed, obtain each of each stitching portion in video to be processedMultiple frame images of each stitching portion in stitching portions multiple in video to be processed are determined as each frame figure to be processed by frame imagePicture is handled with each frame image to each stitching portion.Specifically, mobile phone can be realized by OpenGL SL to be processedThe processing of video.Mobile phone can handle by the parsing to video to be processed and obtain each frame to be processed in video to be processedImage data information, wherein the image data information of above-mentioned each frame includes:The image data of each frame in video to be processed,Or time location of the image data of above-mentioned each frame in above-mentioned video to be processed.That is, mobile phone can be from above-mentioned view to be processedWhen obtaining video playing in frequency, the image data of each frame corresponding time point or corresponding image data of each moment etc.,And then it can be in video playing, according to the corresponding image procossing rule of the video display area of terminal when video playing to above-mentioned everyThe image data of one frame or corresponding image data of each moment are handled.
S203 is handled each frame image to be processed in video to be processed according to scheduled display effect, definitionImage procossing rule.
S204 determines the image-region to be processed in each frame image according to predefined image procossing rule.
In some possible embodiments, when mobile phone can pre-define terminal plays video, the video viewing area of mobile phoneThe image procossing rule of the video image data shown on domain, wherein the image procossing letter limited in above-mentioned image procossing ruleBreath includes:The position of image-region to be processed or above-mentioned image-region to be processed to be filled in above-mentioned video display areaThe information such as pixel value.Wherein, the position of image-region to be processed includes in above-mentioned video display area:Every frame image is dividedFor the specified subregion etc. in the dividing line region of the subgraph of multiple enclosed regions or above-mentioned enclosed region.Specific implementationIn, mobile phone can pre-define the dividing line that video display area is divided into multiple enclosed regions, and record every dividing line and existSpecific location in video display area, wherein the display area where above-mentioned every dividing line is image-region to be processed,Including:Dividing line start position A, the width W of dividing line and length L etc..Such as Fig. 2, division effect shown in Fig. 2 is to show videoShow that region division is the latticed image display area of multiple enclosed regions.In addition, the embodiment of the present invention is by video viewing areaVideo display area can be also divided into the image of the cross wire of multiple enclosed regions when domain is divided into multiple enclosed regionsDisplay area, such as Fig. 4, Fig. 4 are another schematic diagram of video provided in an embodiment of the present invention processing.Mobile phone is in above-mentioned image procossingIt limits and is divided into video display area after the position of the display area where the dividing line of multiple enclosed regions in rule, whenFor above-mentioned video to be processed when playing on mobile phone, mobile phone then can be according to the image data information of frame each in video to be processed, reallySpecified image data corresponding with the display area where above-mentioned dividing line in fixed above-mentioned video to be processed.Specifically, mobile phone canDuring video playing to be processed, according to time location of the image data of each frame in above-mentioned video to be processed, knotThe position for stating dividing line is closed, determines the position pair when video playing to be processed in the image data of each frame with above-mentioned dividing lineThe image information (image-region i.e. to be processed or specified image data) in the specific region answered, and then can be according to predefinedAbove-mentioned specified image data is further processed in image procossing rule.
In some possible embodiments, the video limited in image procossing rule described in the embodiment of the present inventionThe position of display area to be processed further includes in display area:Specified sub-district in the enclosed region that above-mentioned dividing line dividesDomain.That is, in embodiments of the present invention, mobile phone is in addition to carrying out specified image data corresponding with the display area where dividing lineExcept processing, further, specified subregion can be also set in the enclosed region that dividing line divides, by specified sub-districtDomain is further processed, such as add predetermined display effect etc..If Fig. 5, Fig. 5 are video provided in an embodiment of the present invention processingAnother schematic diagram, mobile phone can also set specified subregion in the enclosed region that dividing line divides, by specified sub-districtDomain is further processed.For example, can be set in enclosed region B specified subregion as:In addition to enclosed region in enclosed region BAll areas other than B1, or set in enclosed region C specified subregion as:In addition to enclosed region C1 in enclosed region CSet in all areas in addition or enclosed region D specified subregion as:In enclosed region D in addition to enclosed region D1 with forAll areas etc..Mobile phone sets above-mentioned stroke that video display area is divided into multiple enclosed regions in image procossing ruleAfter specified subregion in the position of separated time and above-mentioned each enclosed region, then it can be set according in image procossing ruleThe information such as pixel value to specified figure corresponding with the position of above-mentioned dividing line or above-mentioned specified subregion in video to be processedAs data are further processed.
S205 handles the pixel value limited in rule according to described image, by the pixel value of the image-region to be processedIt is adjusted to the pixel value of the restriction, obtains the destination image data with predetermined display effect, and by the target image numberAccording to being added in the video to be processed, processing rear video is obtained.
In some possible embodiments, it when mobile phone defines above-mentioned image procossing rule, can pre-define to above-mentioned figureThe pixel value being filled as the image-region to be processed limited in processing rule.In the specific implementation, when mobile phone is according to above-mentioned figureAs the image data information of each frame in processing rule and video to be processed has determined specified image data (image i.e. to be processedThe image data in region) after, then it can be according to the pixel value limited in above-mentioned image procossing rule to above-mentioned image district to be processedThe pixel value in domain is modified, and the pixel value of above-mentioned image to be processed is adjusted to the pixel value limited in image procossing rule,Obtain the destination image data with predetermined display effect.Such as Fig. 2, when video to be processed plays on mobile phone, mobile phone according toAbove-mentioned image procossing rule has determined image-region to be processed corresponding with each dividing line region in Fig. 2 in video to be processedIt later, can be by the pixel value of above-mentioned image-region to be processed if the filler pixels value limited in image procossing rule is blackIt is filled with black, and then obtains the image data with latticed display effect.Such as Fig. 4, when video to be processed is broadcast on mobile phoneWhen putting, mobile phone has determined corresponding with each dividing line region in Fig. 4 in video to be processed according to above-mentioned image procossing ruleAfter image-region to be processed, if the filler pixels value that limits, can be by above-mentioned figure to be processed as black in image procossing ruleAs the pixel value in region is adjusted to black, and then obtain the image data of the display effect with cross wire.In addition, as schemed5, when video to be processed plays on mobile phone, mobile phone according to above-mentioned image procossing rule determined in video to be processed with Fig. 5In each dividing line region and specified subregion corresponding image-region to be processed after, if being limited in image procossing ruleFiller pixels value is black, then the pixel value of above-mentioned image-region to be processed can be adjusted to black, and then obtain with gridThe image data of shape display effect and rotational display effect, such as Fig. 6.Fig. 6 passes through the corresponding image data of specified subregionPixel value is adjusted to black (wherein, shade filling represents black), as three closed areas can be achieved in the broadcasting of video to be processedThe simulation effect that image in domain (B, C and D) is overturn simultaneously, improves the interest of video.
S206 saves the processing rear video comprising the destination image data to terminal local memory space, orPerson shares to the communal space.
In some possible embodiments, mobile phone is adjusted to black to the pixel value of above-mentioned image-region to be processed and obtainsAfter destination image data, then above-mentioned image data can be saved into above-mentioned video to be processed.Specifically, mobile phone is available includesThe frame image of above-mentioned destination image data replaces each frame image to be processed in video to be processed, and destination image data is addedTo in video to be processed.Further, mobile phone also available targets image data covers the original digital image data of image-region to be processed,Destination image data to be added in video to be processed.Above-mentioned destination image data is played in video display process to be processedWhen, then it can be seen that the video image with latticed display effect, enhances the interest of video playing.In the embodiment of the present inventionIn, mobile phone can according to splicing video the characteristics of, record the corresponding each frame image data information in stitching portion of video-splicing, and canThe position of display area to be processed is set as to the image data information pair with each stitching portion when defining image procossing ruleThe region answered, and then predetermined display effect can be added in the image data at above-mentioned video-splicing, such as latticed display effectFruit etc..The lofty property of image data excessively at video-splicing is reduced, the user experience of video-splicing is enhanced.In the specific implementation,Mobile phone saves the destination image data that above-mentioned processing obtains to video to be processed, can also will include above-mentioned destination image dataProcessing rear video save to mobile phone local storage space, or share to network share space.Mobile phone is by above-mentioned comprising targetThe processing rear video of image is saved to network share space, other terminals from downloaded in above-mentioned network share space it is above-mentioned fromAfter managing rear video, above-mentioned processing rear video is played out, can be directly viewable with above-mentioned latticed display effect orThe video image of cross wire display effect or rotational display effect weakens the lofty transition effect at video-splicingFruit enhances the appreciating of video.
In embodiments of the present invention, mobile phone is also dynamically adapted image procossing rule, i.e., over time, by imageThe display area to be processed limited in processing rule is converted, is adjusted, and obtains dynamic image-region to be processed, mobile phone can rootImage-region to be processed is determined according to above-mentioned image procossing rule and the pixel value of image-region to be processed is modified, is saved.When the processing rear video of the destination image data obtained comprising above-mentioned modification plays out, with the passage of play time, thenIt can be seen that the display effects such as grid or cross wire or rotation image of transformation, enhance video playing interest.
In embodiments of the present invention, mobile phone can obtain multiple video clips first and spell above-mentioned multiple video clipsIt connects, video to be processed is obtained, and according to predefined image procossing rule, in conjunction with the image data of each frame in video to be processedInformation determines in the enclosed region divided in video to be processed with predefined dividing line region or dividing lineThe specified corresponding image-region to be processed of subregion, and then the pixel value of above-mentioned image-region to be processed is adjusted to black, it obtainsTo the destination image data with latticed display effect or cross wire display effect or rotates effe.The present invention is realIt applies example to be handled according to the video to be processed that predefined image procossing rule obtains splicing, enhances video to be processedAppreciation effect improves the user experience of splicing video, can also save the destination image data that processing obtains to view to be processedFrequently, and then can there will be the video sharing for being particularly shown effect to the communal space, improve the interest of video sharing.
It is the schematic structural diagram of the first embodiment of video process apparatus provided in an embodiment of the present invention referring to Fig. 7.This implementationVideo process apparatus described in example, including:
It obtains module 10 and determines each frame image to be processed in the video to be processed for obtaining video to be processed.
Determining module 20, for determining the figure to be processed in each frame image according to predefined image procossing ruleAs region.
Processing module 30, for handling the pixel value limited in rule according to described image, by the image district to be processedThe pixel value in domain is adjusted to the pixel value of the restriction, obtains the destination image data with predetermined display effect, and will be describedDestination image data is added in the video to be processed, obtains processing rear video.
In the specific implementation, video process apparatus provided in an embodiment of the present invention concretely some in mobile phone or mobile phoneModule will use mobile phones as an example be specifically described below.
In some possible embodiments, mobile phone, which can first pass through, obtains module 10 from network share space or mobile phone sheetVideo to be processed is obtained in ground memory space, above-mentioned video to be processed can be spliced to obtain by multiple video clips.In the specific implementation,After acquisition module 10 acquires video to be processed, then dissection process can be carried out to above-mentioned video to be processed, and record above-mentionedThe image data information of each frame to be processed in video to be processed.It can be by OpenGL SL come real specifically, obtaining module 10Now to the processing of video to be processed.Obtaining module 10 can be obtained each in video to be processed by the parsing to video to be processedThe image data information of frame, wherein above-mentioned image data information includes:The image data of each frame in video to be processed, orTime location of the image data of above-mentioned each frame in above-mentioned video to be processed.It can be from above-mentioned to be processed that is, obtaining module 10When obtaining video playing in video, the image data of each frame corresponding time point or corresponding image data of each momentDeng, and then can be shown by determining module 20 and processing module 30 in video playing according to the video of terminal when video playingThe corresponding image procossing rule in region to the image data or corresponding image data of each moment of above-mentioned each frame atReason.In the specific implementation, the specific implementation process of above-mentioned acquisition module can be found in method for processing video frequency provided in an embodiment of the present inventionFirst embodiment in step S101, details are not described herein.
In some possible embodiments, mobile phone can pre-define the image procossing rule handled video to be processedThen, specifically, mobile phone can limit the position of image-region to be processed in video display area in above-mentioned image procossing rule, withAnd the above-mentioned pixel value to be filled of image-region to be processed.Every frame image is divided in the specific implementation, mobile phone can pre-defineFor the dividing line of the subgraph of multiple enclosed regions, and record specific location of the every dividing line in video display area (i.e.The position of image-region to be processed in video display area), including:The width W and length L of dividing line start position A, dividing lineDeng the schematic diagram that such as Fig. 2, Fig. 2 are handled for video provided in an embodiment of the present invention.Wherein, above-mentioned multiple enclosed regions can beAny number of (such as 4,9 or 16 etc.), mobile phone user can self-defining according to actual needs, herein with no restrictions.Mobile phone limits the above-mentioned every frame image for showing video display area in above-mentioned image procossing rule and is divided into multiple closed areasAfter the position of the dividing line of the subgraph in domain, when above-mentioned video to be processed plays on mobile phone, determining module 20 can then be tiedIt closes and states image procossing rule, according to the image data information of frame each in video to be processed, determine in above-mentioned video to be processedWith the image-region to be processed limited in above-mentioned image procossing rule.Specifically, determining module 20 can be in video playing to be processedDuring, according to time location of the image data of each frame in above-mentioned video to be processed, in conjunction with the position of above-mentioned dividing lineIt sets, determines the figure in specific region corresponding with the position of above-mentioned dividing line in the image data of each frame when video playing to be processedAs information (i.e. specified image data), and then can be specified according to predefined image procossing rule to above-mentioned by processing module 30Image data is further processed.In the specific implementation, the specific implementation process of above-mentioned determining module can be found in implementation of the present inventionStep S102 in the first embodiment for the method for processing video frequency that example provides, details are not described herein.
In some possible embodiments, it can pre-define when mobile phone defines above-mentioned image procossing rule to above-mentioned imageThe pixel value to be filled of image-region to be processed limited in processing rule.In the specific implementation, when determining module 20 is according to upperState predefined image procossing rule and obtain each frame in the video to be processed that module 10 acquires picture number it is believed thatAfter breath has determined image-region to be processed, processing module 30 then can be according to the pixel value pair limited in above-mentioned image procossing ruleThe pixel value of above-mentioned image-region to be processed is modified, and the pixel value of above-mentioned image-region to be processed is revised as image procossingThe pixel value limited in rule obtains the destination image data with predetermined display effect.Such as Fig. 2, when video to be processed is in handWhen playing on machine, determining module 20 has been determined in video to be processed according to above-mentioned image procossing rule and has been divided with each item in Fig. 2After the corresponding image-region to be processed in line region, if the filler pixels value limited in above-mentioned image procossing rule is located as blackThe pixel value of above-mentioned image-region to be processed can be then adjusted to black by reason module 30, and then obtain having latticed display effectImage data.After processing module 30 is adjusted to black to the pixel value of above-mentioned image-region to be processed, preserving module 40 is thenThe destination image data that processing obtains can be saved into above-mentioned video to be processed, be played in video display process to be processed above-mentionedWhen destination image data, then it can be seen that the video image with latticed display effect, enhances the interest of video playing.?In the embodiment of the present invention, each frame image in video to be processed can be determined according to the video to be processed of acquisition by obtaining module 10, andAnd can determine the image-region to be processed in each frame image, determining module 20 can add predetermined on above-mentioned image-region to be processedDisplay effect, such as latticed display effect etc. reduce the excessive lofty property of the image data of image-region to be processed in video,Enhance the user experience of video processing.In the specific implementation, the specific implementation process of above-mentioned processing module and preserving module can be found inStep S103 in the first embodiment of method for processing video frequency provided in an embodiment of the present invention, details are not described herein.
In embodiments of the present invention, mobile phone can obtain the video to be processed that multiple video clips are spliced, and root firstAccording to predefined image procossing rule, in conjunction with the image data information of each frame in video to be processed, determine in video to be processedImage-region to be processed, and then the pixel value of above-mentioned image-region to be processed is adjusted to predefined pixel value, is hadThere is the destination image data of predetermined display effect.The embodiment of the present invention obtains splicing according to predefined image procossing ruleVideo to be processed is handled, and the appreciation effect of video to be processed is enhanced, and is improved the user experience of splicing video, is improvedThe interest of video sharing.
It is the schematic structural diagram of the second embodiment of video process apparatus provided in an embodiment of the present invention referring to Fig. 8.This implementationVideo process apparatus described in example, including:
It obtains module 11 and determines each frame image to be processed in the video to be processed for obtaining video to be processed.
Determining module 70, for determining the figure to be processed in each frame image according to predefined image procossing ruleAs region.
Processing module 80, for handling the pixel value limited in rule according to described image, by the image district to be processedThe pixel value in domain is adjusted to the pixel value of the restriction, obtains the destination image data with predetermined display effect, and will be describedDestination image data is added in the video to be processed, obtains processing rear video.
In some possible embodiments, it is real to can be performed above-mentioned first for acquisition module 11 described in the embodiment of the present inventionImplementation performed by the acquisition module 10 in example is applied, can also carry out following operation:
In some possible embodiments, above-mentioned video to be processed is spliced to obtain by multiple video clips;Above-mentioned acquisitionModule 11 is specifically used for:
Obtain multiple video clips from network share space or terminal local memory space, and by the multiple videoFragment assembly is the video to be processed.
In some possible embodiments, above-mentioned video to be processed is spliced to obtain by multiple video clips;Above-mentioned acquisitionModule 11 is specifically used for:
The video to be processed that multiple video clips are spliced is obtained, and obtains at least one in the video to be processed and spellsConnect an at least frame image for each stitching portion in place;
An at least frame image at least one stitching portion is determined as each frame image to be processed.
In some possible embodiments, video process apparatus described in the embodiment of the present invention further includes:
Setup module 60, for defining to each frame image to be processed in video to be processed according to scheduled display effectThe image procossing rule handled;
Wherein, the predetermined display effect is specially:Latticed display effect or right-angled intersection threadiness display effect,Or rotational display effect.
In some possible embodiments, the determining module in above-described embodiment specifically can be performed in above-mentioned determining module 70Implementation performed by 20, also particularly useful for:
Handle the dividing line region that limits in rule according to described image, by each frame image to be processed withThe corresponding image-region in the dividing line region is determined as the image-region to be processed;Or
The dividing line region limited in rule and the specified subregion are handled according to described image, by described wait locateImage-region corresponding with the dividing line region and the specified subregion is determined as described wait locate in each frame image of reasonManage image-region.
In some possible embodiments, place described in above-described embodiment specifically can be performed in above-mentioned processing module 80Implementation performed by module 30 is managed, also particularly useful for:
The pixel value of the image-region to be processed is adjusted to black, obtains the target with the predetermined display effectImage data.
In some possible embodiments, above-mentioned processing module 80 is specifically used for:
Each frame figure to be processed in the video to be processed is replaced with the frame image comprising the destination image dataThe destination image data is added in the video to be processed by picture;Or
The original digital image data that the image-region to be processed is covered with the destination image data, by the target imageData are added in the video to be processed.
In some possible embodiments, video process apparatus described in the embodiment of the present invention further includes:
Preserving module 90, for will include that the processing rear video of the destination image data is saved to terminal local and depositedSpace is stored up, or is shared to the communal space.
In some possible embodiments, mobile phone user can voluntarily shoot video clip by the camera function of mobile phone,And multiple video clips that shooting obtains are stored into mobile phone local storage space.The acquisition module 11 of mobile phone carries out video spellingWhen connecing, multiple video clips can be directly obtained from mobile phone local storage space, the multiple video clips splicing that will acquireFor a video (video i.e. to be processed).In the specific implementation, obtaining module 11 can be total from network when mobile phone is in connected stateIt enjoys and downloads multiple video clips in space, the obtained video clip of downloading can also be stored to mobile phone local storage space, in turnThe video clip that above-mentioned downloading obtains can be cut, be spliced, obtain one by multiple video clips splice toManage video.After the acquisition processing of module 11 obtains video to be processed, above-mentioned video to be processed can be stored in mobile phone and be locally storedSpace can also share to network share space, herein with no restrictions.Wherein, above-mentioned network share space may include:QQ space,The communal space that social network-i i-platforms provide such as is known at by Renren Network, microblogging, wechat, Baidu's cloud, ends of the earth community, above-mentioned social activityThe network platform is only citing, and non exhaustive, including but not limited to above-mentioned social network-i i-platform, herein with no restrictions.Specific implementationIn, the specific implementation process of above-mentioned acquisition module 11 can be found in the first implementation of method for processing video frequency provided in an embodiment of the present inventionStep S201 in example, details are not described herein.
In some possible embodiments, obtaining module 11 can be from network share space or mobile phone local storage spaceIt is middle to obtain video to be processed.In the specific implementation, after acquisition module 11 acquires video to be processed, then it can be to above-mentioned to be processedVideo carries out dissection process, each frame image of each stitching portion in video to be processed is obtained, by splicings multiple in video to be processedMultiple frame images of each stitching portion are determined as each frame image to be processed in place, with each frame image to each stitching portion intoRow processing.Specifically, the processing to video to be processed can be realized by OpenGL SL by obtaining module 11, by to be processedThe parsing of video, processing obtain the image data information of each frame to be processed in video to be processed.Wherein, above-mentioned each frameImage data information includes:The image data of each frame or the image data of above-mentioned each frame are above-mentioned in video to be processedTime location in video to be processed.That is, when acquisition module 11 can obtain video playing from above-mentioned video to be processed, each frameImage data corresponding time point or corresponding image data of each moment etc., and then determining module 70 and place can be passed throughModule 80 is managed in video playing, according to the corresponding image procossing rule of the video display area of terminal when video playing to above-mentionedThe image data of each frame or corresponding image data of each moment are handled.In the specific implementation, above-mentioned acquisition moduleSpecific implementation process can be found in the step S202 in the first embodiment of method for processing video frequency provided in an embodiment of the present invention, hereinIt repeats no more.
In some possible embodiments, when mobile phone can pre-define terminal plays video by setup module 60, handThe image procossing rule of the video image data shown on the video display area of machine.Wherein, it is limited in above-mentioned image procossing ruleFixed image processing data includes:The position of image-region to be processed or above-mentioned figure to be processed in above-mentioned video display areaAs information such as the pixel values to be filled of region.The position of image-region to be processed includes in above-mentioned video display area:It will be everyFrame image is divided into the specified subregion in the dividing line region or above-mentioned enclosed region of the subgraph of multiple enclosed regionsDeng.In the specific implementation, setup module 60 can pre-define the dividing line that video display area is divided into multiple enclosed regions, andRecord specific location of the every dividing line in video display area, wherein the display area where above-mentioned every dividing line isFor image-region to be processed, including:Dividing line start position A, the width W of dividing line and length L etc..It is shown in Fig. 2 such as Fig. 2Dividing effect is that video display area is divided into the latticed image display area of multiple enclosed regions.In addition, setting mouldVideo display area can be also divided into multiple enclosed regions when video display area is divided into multiple enclosed regions by block 60The image display area of cross wire, such as Fig. 4, Fig. 4 are another schematic diagram of video provided in an embodiment of the present invention processing.IfThe restriction in above-mentioned image procossing rule of module 60 is set to be divided into video display area where the dividing line of multiple enclosed regionsDisplay area position after, when above-mentioned video to be processed plays on mobile phone, determining module 70 then can be according to be processedThe image data information of each frame in video determines corresponding with the display area where above-mentioned dividing line in above-mentioned video to be processedSpecified image data.Specifically, determining module 70 can be during video playing to be processed, according to the picture number of each frameIt is determined in conjunction with the position for the dividing line that above-mentioned setup module 60 is set wait locate according to the time location in above-mentioned video to be processedWhen managing video playing in the image data of each frame specific region corresponding with the position of above-mentioned dividing line image information (toHandle image-region or specified image data), and then can be by processing module 80 according to the predefined image of setup module 60Above-mentioned specified image data is further processed in processing rule.
In some possible embodiments, the view limited in above-mentioned setup module 60 image procossing predetermined ruleThe position of display area to be processed further includes in frequency display area:Specified son in the enclosed region that above-mentioned dividing line dividesRegion.That is, in embodiments of the present invention, processing module 80 is in addition to can be by specified figure corresponding with the display area where dividing lineExcept being handled as data, further, setup module 60 can also be set in the enclosed region that dividing line divides to be referred toStator region, to be further processed by processing module 80 by specified subregion, such as add predetermined display effect etc..Such asFig. 5, Fig. 5 are the another schematic diagram of video provided in an embodiment of the present invention processing, and setup module 60 can also be divided in dividing lineTo enclosed region in set specified subregion, specified subregion to be further processed by processing module 80.For example,Setup module 60 can be set in enclosed region B specified subregion as:It is all other than enclosed region B1 in enclosed region BRegion, or set in enclosed region C specified subregion as:All areas in enclosed region C other than enclosed region C1Set in domain or enclosed region D specified subregion as:In enclosed region D in addition to enclosed region D1 with for all areas etc..Setup module 60 sets the above-mentioned dividing line that video display area is divided into multiple enclosed regions in image procossing ruleAfter specified subregion in position and above-mentioned each enclosed region, processing module 80 can then be set according to setup module 60Image procossing rule in the information such as the pixel value that limits in video to be processed with the position of above-mentioned dividing line or above-mentioned fingerThe corresponding specified image data of stator region is further processed.In the specific implementation, above-mentioned setup module and determining moduleSpecific implementation process can be found in the step S203- in the first embodiment of method for processing video frequency provided in an embodiment of the present inventionS204, details are not described herein.
In some possible embodiments, it when setup module 60 defines above-mentioned image procossing rule, can pre-define pairThe pixel value that the image-region to be processed limited in above-mentioned image procossing rule is filled.In the specific implementation, working as determining module70 have determined image district to be processed according to the image data information of each frame in above-mentioned image procossing rule and video to be processedAfter domain, processing module 80 then can be according to the pixel value limited in above-mentioned image procossing rule to above-mentioned image-region to be processedPixel value is modified, and the pixel value of above-mentioned image-region to be processed is revised as to the pixel value limited in image procossing rule,Obtain the destination image data with predetermined display effect.Such as Fig. 2, when video to be processed plays on mobile phone, determining module70 have determined figure to be processed corresponding with each dividing line region in Fig. 2 in video to be processed according to above-mentioned image procossing ruleAs after region, if the filler pixels value limited during the image procossing that set of setup module 60 is regular as black, processing module 80Then the pixel value of above-mentioned image-region to be processed can be revised as black, and then obtain the picture number with latticed display effectAccording to.Such as Fig. 4, when video to be processed plays on mobile phone, determining module 70 has been determined according to above-mentioned image procossing rule wait locateIt manages in video after image-region to be processed corresponding with each dividing line region in Fig. 4, if the figure that setup module 60 is setAs handling the filler pixels value limited in rule as black, processing module 80 then can be by the pixel value of above-mentioned image-region to be processedIt is revised as black, and then obtains the image data of the display effect with cross wire.In addition, such as Fig. 5, when video to be processedWhen being played on mobile phone, determining module 70 according to above-mentioned image procossing rule determined in video to be processed with each item in Fig. 5After dividing line region and the corresponding image-region to be processed of specified subregion, if the image procossing rule that setup module 60 is setAs black, the pixel value of above-mentioned image-region to be processed can then be revised as black the middle filler pixels value limited by processing module 80Color, and then obtain the image data with latticed display effect and rotational display effect, such as Fig. 6.Fig. 6 passes through specified sub-districtThe pixel value of the corresponding image data in domain is adjusted to black (wherein, shade filling represents black), with broadcasting for video to be processedThe simulation effect for putting the image in achievable three enclosed regions (B, C and D) while overturning, improves the interest of video.ToolDuring body is realized, the specific implementation process of above-mentioned processing module can be found in the first of method for processing video frequency provided in an embodiment of the present inventionStep S205 in embodiment, details are not described herein.
In some possible embodiments, processing module 80 is revised as the pixel value of above-mentioned image-region to be processed blackAfter color obtains destination image data, then above-mentioned image data can be saved to above-mentioned video to be processed by preserving module 90In.Specifically, preserving module 90 can be replaced with the frame image comprising above-mentioned destination image data it is to be processed in video to be processedEach frame image, destination image data is added in video to be processed.Further, the also available targets image of preserving module 90The original digital image data of data cover image-region to be processed, destination image data is added in video to be processed.It is to be processedWhen playing above-mentioned destination image data in video display process, then it can be seen that the video image with latticed display effect, increasesThe strong interest of video playing.In embodiments of the present invention, the characteristics of module 11 can be according to splicing video is obtained, video is recordedThe corresponding each frame image data information in the stitching portion of splicing, and can by setup module 60 when defining image procossing rule,The position of display area to be processed is set as region corresponding with the image data information of each stitching portion, and then place can be passed throughReason module 80 adds predetermined display effect, such as latticed display effect etc. in the image data at above-mentioned video-splicing, dropsThe lofty property of image data excessively at low video-splicing, enhances the user experience of video-splicing.In the specific implementation, preserving module90 save the destination image data that the processing of processing module 80 obtains to video to be processed, can also will include above-mentioned target imageThe processing rear video of data is saved to mobile phone local storage space, or is shared to network share space.Preserving module 90 will be upperIt states the processing rear video comprising target image to save to network share space, other terminals are from above-mentioned network share spaceAfter downloading above-mentioned processing rear video, above-mentioned processing rear video is played out, can be directly viewable with above-mentioned latticed aobviousThe video image for showing effect or cross wire display effect or rotational display effect weakens lofty at video-splicingTransition effect, enhance the appreciating of video.
In embodiments of the present invention, setup module 60 is also dynamically adapted image procossing rule, i.e., over time,The display area to be processed limited in image procossing rule is converted, is adjusted, obtains dynamic image-region to be processed, reallyCover half block 70 can determine image-region to be processed according to above-mentioned image procossing rule, and pass through processing module 80 for image to be processedThe pixel value in region is modified, is saved.When the processing rear video of the destination image data obtained comprising above-mentioned modification is broadcastWhen putting, with the passage of play time, then it can be seen that the displays effect such as the grid or cross wire of transformation or rotation imageFruit enhances video playing interest.In the specific implementation, the specific implementation process of above-mentioned preserving module can be found in implementation of the present inventionStep S206 in the first embodiment for the method for processing video frequency that example provides, details are not described herein.
In embodiments of the present invention, mobile phone can obtain multiple video clips first and spell above-mentioned multiple video clipsIt connects, video to be processed is obtained, and according to predefined image procossing rule, in conjunction with the image data of each frame in video to be processedInformation determines in the enclosed region divided in video to be processed with predefined dividing line region or dividing lineThe specified corresponding image-region to be processed of subregion, and then the pixel value of above-mentioned image-region to be processed is adjusted to black, it obtainsTo the destination image data with latticed display effect or cross wire display effect or rotates effe.The present invention is realIt applies example to be handled according to the video to be processed that predefined image procossing rule obtains splicing, enhances video to be processedAppreciation effect improves the user experience of splicing video, can also save the destination image data that processing obtains to view to be processedFrequently, and then can there will be the video sharing for being particularly shown effect to the communal space, improve the interest of video sharing.
It is the example structure schematic diagram of terminal provided in an embodiment of the present invention referring to Fig. 9.It is as described in this embodimentTerminal, including:Memory 1000 and video process apparatus 2000, above-mentioned memory 1000 are connected with video process apparatus 2000.
In the specific implementation, above-mentioned memory 1000 is used to store a set of program code, above-mentioned video process apparatus 2000 is usedIn calling the program code stored in above-mentioned memory 1000, execute described in method for processing video frequency provided by the above embodimentImplementation, details are not described herein.That is, in embodiments of the present invention, above-mentioned video process apparatus 2000 concretely this hairVideo process apparatus described in the first embodiment or second embodiment of the video process apparatus that bright embodiment provides,Implementation can be found in above-described embodiment, and details are not described herein.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically showThe description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or examplePoint is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are notIt must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in officeIt can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this fieldArt personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examplesIt closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importanceOr implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed orImplicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, threeIt is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includesIt is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portionPoint, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitableSequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the inventionEmbodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered useIn the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, forInstruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instructionThe instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or setIt is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or passDefeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipmentIt sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiringInterconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only depositsReservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitableMedium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other mediaHis suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentionedIn embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storageOr firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardwareAny one of column technology or their combination are realized:With for realizing the logic gates of logic function to data-signalDiscrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), sceneProgrammable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carriesIt suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage mediumIn matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing moduleIt is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mouldBlock both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such asFruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computerIn read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching aboveThe embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the inventionSystem, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the inventionType.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be withRelevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage mediumIn, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magneticDish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random AccessMemory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainlyIt encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

CN201510236430.8A2015-05-112015-05-11Video processing method and deviceActiveCN104883514B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510236430.8ACN104883514B (en)2015-05-112015-05-11Video processing method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510236430.8ACN104883514B (en)2015-05-112015-05-11Video processing method and device

Publications (2)

Publication NumberPublication Date
CN104883514A CN104883514A (en)2015-09-02
CN104883514Btrue CN104883514B (en)2018-11-23

Family

ID=53950838

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510236430.8AActiveCN104883514B (en)2015-05-112015-05-11Video processing method and device

Country Status (1)

CountryLink
CN (1)CN104883514B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109429084B (en)*2017-08-242022-03-29北京搜狗科技发展有限公司Video processing method and device for video processing
CN108449627B (en)*2018-03-162021-08-10北京视觉世界科技有限公司Video processing method, video source identification method, video processing device, video source identification device and video source identification medium
CN110856044A (en)*2019-11-192020-02-28深圳市迅雷网络技术有限公司Video image quality enhancement transmission method and related device
CN111050152B (en)*2019-12-302023-03-21联想(北京)有限公司Image processing method, display device and electronic device
CN112184854B (en)*2020-09-042023-11-21上海硬通网络科技有限公司Animation synthesis method and device and electronic equipment
CN115334235B (en)*2022-07-012024-06-04西安诺瓦星云科技股份有限公司Video processing method, device, terminal equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103078937A (en)*2012-12-312013-05-01合一网络技术(北京)有限公司Method, client, server and system for implementing multi-video cloud synthesis on basis of information network
CN103347155A (en)*2013-06-182013-10-09北京汉博信息技术有限公司Transition special effect module and method for achieving switching of different transition effects of two video streams
CN104144301A (en)*2014-07-302014-11-12厦门美图之家科技有限公司Method for transition special effects on basis of mixed modes

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
GB201208088D0 (en)*2012-05-092012-06-20Ncam Sollutions LtdNcam
CN104394313A (en)*2014-10-272015-03-04成都理想境界科技有限公司Special effect video generating method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103078937A (en)*2012-12-312013-05-01合一网络技术(北京)有限公司Method, client, server and system for implementing multi-video cloud synthesis on basis of information network
CN103347155A (en)*2013-06-182013-10-09北京汉博信息技术有限公司Transition special effect module and method for achieving switching of different transition effects of two video streams
CN104144301A (en)*2014-07-302014-11-12厦门美图之家科技有限公司Method for transition special effects on basis of mixed modes

Also Published As

Publication numberPublication date
CN104883514A (en)2015-09-02

Similar Documents

PublicationPublication DateTitle
CN104883514B (en)Video processing method and device
CA2962825C (en)User interaction analysis module
CN110290425A (en)A kind of method for processing video frequency, device and storage medium
CN110049371A (en)Video Composition, broadcasting and amending method, image synthesizing system and equipment
CN109840879B (en)Image rendering method and device, computer storage medium and terminal
CN106713988A (en)Beautifying method and system for virtual scene live
CN104917666A (en)Method of making personalized dynamic expression and device
CN108647313A (en)A kind of real-time method and system for generating performance video
CN106804002A (en)A kind of processing system for video and method
CN104463932B (en)The method and apparatus for realizing animation effect
CN106507170A (en)A kind of method for processing video frequency and device
CN114501100B (en)Live page jump method and system
CN108734756B (en)Animation production method and device, storage medium and electronic device
CN114285961A (en) Image processing method, device, computer equipment and storage medium
CN108616768B (en) Synchronous playback method, device, storage location and electronic device for multimedia resources
CN105187737A (en)Image special effect processing display method, system and shooting terminal
CN116437153A (en)Previewing method and device of virtual model, electronic equipment and storage medium
CN108694601B (en)Media file delivery method and device
CN108399038A (en)A kind of picture synthetic method and mobile terminal
CN107241635B (en)Bullet screen position switching method and device
CN104994920A (en)Presenting digital content item with tiered functionality
CN108786113B (en)Data playing method and device, storage medium and electronic device
CN110213600A (en)Net cast method, device and equipment
CN108600614A (en)Image processing method and device
CN111935534B (en)Method and device for playing back recorded video

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
EXSBDecision made by sipo to initiate substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20201117

Address after:Room 115, area C, 1 / F, building 8, yard 1, yaojiayuan South Road, Chaoyang District, Beijing

Patentee after:Beijing LEMI Technology Co.,Ltd.

Address before:100085 Beijing City, Haidian District Road 33, two floor East Xiaoying

Patentee before:BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20230915

Address after:100000 3870A, 3rd Floor, Building 4, No. 49 Badachu Road, Shijingshan District, Beijing

Patentee after:Beijing Jupiter Technology Co.,Ltd.

Address before:Room 115, area C, 1 / F, building 8, yard 1, yaojiayuan South Road, Chaoyang District, Beijing

Patentee before:Beijing LEMI Technology Co.,Ltd.


[8]ページ先頭

©2009-2025 Movatter.jp