CN106507170A - A kind of method for processing video frequency and device - Google Patents
A kind of method for processing video frequency and device Download PDFInfo
- Publication number
- CN106507170A CN106507170A CN201610970319.6A CN201610970319A CN106507170A CN 106507170 A CN106507170 A CN 106507170A CN 201610970319 A CN201610970319 A CN 201610970319A CN 106507170 A CN106507170 A CN 106507170A
- Authority
- CN
- China
- Prior art keywords
- destination object
- video
- target video
- target
- picture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/426—Internal components of the client ; Characteristics thereof
- H04N21/42653—Internal components of the client ; Characteristics thereof for processing graphics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47205—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Graphics (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The embodiment of the invention discloses a kind of method for processing video frequency and device, wherein method include:In user's playing video file, if receiving video pictures screening instruction, target video picture is then determined from the video file, region to be edited is determined in the target video picture, obtain destination object, and the destination object is added to the region to be edited of the target video picture, using with the addition of video file described in the target video frame updating of the destination object, destination object quickly can be added in the video pictures of video file, automatization, intelligent demand of the user to Video processing is met.
Description
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of method for processing video frequency and device.
Background technology
With the development of electronic technology, terminal can be used to play various videos (such as film, TV play, MV
Video), when oneself video interested is seen, user is highly desirable oneself to be a member in video or wishes to replace in video
Certain role, user be likely to wish add other objects in video, in prior art, need by professional image
Program adding the objects in video, complex disposal process, and high cost.
Content of the invention
Embodiment of the present invention technical problem to be solved is, there is provided a kind of method for processing video frequency and device, can be fast
Add destination object in the video pictures of video file in prompt ground.
In order to solve above-mentioned technical problem, a kind of method for processing video frequency is embodiments provided, including:
In user's playing video file, if receiving video pictures screening instruction, determine from the video file
Go out target video picture;
Region to be edited is determined in the target video picture;
Destination object is obtained, and the destination object is added to the region to be edited of the target video picture;
Using with the addition of video file described in the target video frame updating of the destination object.
Optionally, methods described includes:
Obtain the frame parameter information of the target video picture;
According to the display parameters that the frame parameter information of the target video picture adjusts the destination object;
The destination object after display parameters are adjusted is added to the region to be edited of the target video picture.
Wherein, the display parameters of the destination object include the colour of skin display parameters of the destination object, the target pair
The dressing parameter of elephant, one or more of the accessories parameter of the destination object.
Optionally, methods described includes:
Pending image is obtained in terminal database;
Destination object, and the chi in the region to be edited according to the target video picture is obtained in the pending image
Very little size, adjusts the size of the destination object.
Optionally, methods described includes:
Obtain the broadcast format of the video file;
Broadcast format according to the video file is encoded to the target video picture that with the addition of the destination object
Operation;
The target video picture after being encoded with operating replaces the target video picture in the video file.
Optionally, methods described also includes:
In the video file after the renewal, the video pictures that there is the destination object are retrieved;
The area image for including the destination object is cut out in the video pictures for retrieving;
The area image being cut out is fabricated to video file.
Correspondingly, the embodiment of the present invention additionally provides a kind of video process apparatus, including:
Determining module, in user's playing video file, if receiving video pictures screening instruction, regarding from described
Target video picture is determined in frequency file, in the target video picture determines region to be edited;
Acquisition module, for obtaining destination object;
Add module, for the destination object to be added to the region to be edited of the target video picture;
Update module, for using with the addition of video file described in the target video frame updating of the destination object.
Optionally, the add module, specifically for obtaining the frame parameter information of the target video picture, according to institute
The frame parameter information for stating target video picture adjusts the display parameters of the destination object, after the display parameters are adjusted
Destination object is added to the region to be edited of the target video picture.
Wherein, the display parameters of the destination object include the colour of skin display parameters of the destination object, the target pair
The dressing parameter of elephant, one or more of the accessories parameter of the destination object.
Optionally, the acquisition module, specifically for obtaining pending image in terminal database, according to the target
The size in the region to be edited of video pictures, obtains destination object in the pending image.
Optionally, the update module, specifically for obtaining the broadcast format of the video file, according to video text
The broadcast format of part is performed the encoding operation to the target video picture that with the addition of the destination object, is compiled using described
Target video picture after code operation replaces the target video picture in the video file.
Optionally, described device also includes:
Retrieval module, draws in the video file after the renewal, retrieving the video that there is the destination object
Face;
Shear module, for being cut out the administrative division map for including the destination object in the video pictures for retrieving
Picture;
Module is made, for the area image being cut out is fabricated to video file.
Using the embodiment of the present invention, quickly can add destination object in the video pictures of video file, meet and use
Automatization, intelligent demand of the family to Video processing.
Description of the drawings
In order to be illustrated more clearly that embodiment of the present invention technical scheme, embodiment will be described below needed for be used
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for this area general
For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of method for processing video frequency schematic flow sheet that one embodiment of the invention is provided;
Fig. 2 is a kind of method for processing video frequency schematic flow sheet that another embodiment of the present invention is provided;
Fig. 3 is a kind of video process apparatus structural representation that one embodiment of the invention is provided;
Fig. 4 is a kind of video process apparatus structural representation that another embodiment of the present invention is provided;
Fig. 5 is a kind of intelligent terminal's structural representation that yet another embodiment of the invention is provided.
Specific embodiment
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.It is based on this
Embodiment in bright, the every other enforcement obtained under the premise of creative work is not made by those of ordinary skill in the art
Example, belongs to the scope of protection of the invention.
Fig. 1 is referred to, is a kind of schematic flow sheet of method for processing video frequency provided in an embodiment of the present invention.As shown in figure 1,
The method is may apply in various terminals, for example:Smart mobile phone, panel computer, intelligent wearable device etc..Specifically, originally
The methods described of inventive embodiments comprises the steps:
S101, in user's playing video file, if receive video pictures screening instruction, from the video file
Determine target video picture.
In the embodiment of the present invention, at user's playing video file (such as film, TV play, MV videos), if terminal connects
Video pictures screening instruction is received, then the terminal determines target video picture from the video file, wherein the target video
Picture can be user's video pictures interested, and the target video picture can be the multiple videos pictures in video file
Face.
S102, in the target video picture, determine region to be edited.
In the embodiment of the present invention, terminal determines region to be edited in the target video picture, and the region to be edited can
Be according to user select the video pictures in subject area to be replaced, or the target video picture background area
Domain.
S103, acquisition destination object, and the destination object is added to the region to be edited of the target video picture.
In the embodiment of the present invention, terminal can by way of taking pictures the pending image of direct access, it is also possible to from terminal
Pending image is obtained in data base, after pending image is obtained, can be obtained and draw with target video by way of scratching figure
The consistent destination object of the size in region to be edited in face, the destination object can be character image, animal painting or build
Image etc. is built, then the destination object is added to the region to be edited of the target video picture.
S104, using with the addition of video file described in the target video frame updating of the destination object.
In the embodiment of the present invention, terminal can replace the video using the target video picture that with the addition of the destination object
The mode of the target video picture in file is updating the video file.
For example, terminal use play film video file when, if terminal receive video pictures screening instruction,
Target video picture is determined from the film video file, the wherein target video picture can be terminal use to the film
Video pictures interested in video file, if the terminal use wants to replace in target video picture using the image of personage's first
The image of personage's second, then terminal can determine target video picture personage's second image be located region be region to be edited,
Then terminal can obtain the pending image containing personage's first from terminal database or can pass through to shoot personage's first not
Image with posture or different angle then can pluck out people in the pending image obtaining the pending image of personage's first
The image size of the image of thing first, wherein personage's first can be big according to the size of the image size of personage's second or region to be edited
Little adjustment, then can replace the image of personage's second in the target video picture using the image of personage's first, that is to say, that will
The image of personage's first is added to the region to be edited of the target video picture, finally can with the addition of personage's first using this
The target video picture of image is replaced the mode of the target video picture in the video file to update the film video file, from
And obtaining includes the film video file of personage's first.
Destination object can be added in the video pictures of video file quickly in embodiments of the present invention, meet user
To the automatization of Video processing, intelligent demand.
Fig. 2 is referred to, is a kind of schematic flow sheet of method for processing video frequency that another kind embodiment of the invention is provided.The party
Method may apply in various intelligent terminal, for example:Smart mobile phone, panel computer, intelligent wearable device etc..Specifically, such as
Shown in Fig. 2, the method may comprise steps of:
S201, in user's playing video file, if receive video pictures screening instruction, from the video file
Determine target video picture.
S202, in the target video picture, determine region to be edited.
S203, acquisition destination object, and the destination object is added to the region to be edited of the target video picture.
Optionally, pending image is obtained in terminal database, acquisition destination object in the pending image, and according to
The size in the region to be edited of the target video picture, adjusts the size of the destination object.
In the embodiment of the present invention, the shape in the region to be edited of the target video picture can be rectangle, square, circle
Or other irregular figures, if the region to be edited is the figure of rule, can pass through to measure the length in region to be edited,
The size of wide or radius etc. determining the size in region to be edited, so as to be adjusted according to the size in the region to be edited
The whole size for obtaining destination object from the pending image, if the region to be edited is irregular figure, can be
Destination object is obtained in the pending image, then can be adjusted according to the size in the region to be edited of the target video picture
The size of the whole destination object, further can cause size and the target video of the destination object using image processing techniquess
The size in the region to be edited of picture is consistent.
Optionally, the frame parameter information of the target video picture is obtained, according to the frame parameter of the target video picture
Information adjusts the display parameters of the destination object, and the destination object after the display parameters adjustment is added to the target video picture
Region to be edited.
Wherein, the display parameters of the destination object include the colour of skin display parameters of the destination object, the destination object
Dress parameter, one or more of the accessories parameter of the destination object.
In the embodiment of the present invention, terminal can obtain the frame parameter information of the target video picture, and wherein the video is drawn
The frame parameter information in face includes brightness, contrast, saturation or form and aspect of video pictures etc., then can be regarded according to the target
The frame parameter information of frequency picture adjusts the display parameters of the destination object, and the display parameters of the wherein destination object include the mesh
The mark colour of skin display parameters of object, the dressing parameter of the destination object, one or more of the accessories parameter of the destination object, connect
The region to be edited that the destination object after the display parameters adjustment can be added to the target video picture.
For example, when destination object is character image, terminal can obtain the frame parameter of the target video picture
Information, then can adjust the character image dress ornament color or the figure map according to the frame parameter information of the target video picture
Colour of skin of picture etc., it is also possible to which the frame parameter information according to the target video picture to the character image collocation dressing or is matched somebody with somebody again
Decorations etc., so that the character image is mutually coordinated with the tone of target video picture.
S204, the broadcast format for obtaining the video file.
Wherein, the broadcast format of video file can be MPEG, AVI, MP4, WMV or RMVB etc..
S205, according to the broadcast format of the video file to the target video picture that with the addition of the destination object
Perform the encoding operation.
In the embodiment of the present invention, the form of the target video picture of destination object can be JPEG, BMP, PNG or PCX etc.,
The target video picture that with the addition of the destination object can be performed the encoding operation according to the broadcast format of the video file, so as to
The video file of the video pictures that with the addition of the destination object can be allowd to play.
S206, be encoded with operating after the target video picture replace the target video in the video file
Picture.
In the embodiment of the present invention, terminal can replace the video text using the target video picture after performing the encoding operation
Target video picture in part, so as to update the video file, wherein in the video file of the renewal, each video pictures is played
Time point can be reset according to the needs of user, it is also possible to keep with update before video file in each video pictures
The time point of broadcasting is consistent.
In addition, in the video file after the renewal, retrieving the video pictures that there is the destination object, retrieving at this
Video pictures in be cut out the area image that includes the destination object, the area image being cut out is fabricated to video text
Part.
In the embodiment of the present invention, in the video file after the renewal, terminal can be retrieved has the destination object
Video pictures, the destination object can be character image, animal painting or scene image etc., and then terminal can be retrieved at this
Video pictures in be cut out the area image that includes the destination object, then the area image that this is cut out can be fabricated to
Video file, so that form the video file including the destination object.
For example, in video file in the updated, terminal use wishes the video pictures by the third image of personage is included
Video file is fabricated to, terminal can retrieve the video pictures that there is the third image of personage, and then terminal can be retrieved at this
Video pictures in be cut out the area image that includes third image of personage, then the area image that this be cut out can be made
Into video file, so as to form the video file including the personage third.
In further example, terminal use is in playing animation video file, if terminal receives video pictures screening
Instruction, then determine target video picture from the animated video file, and wherein the target video picture can be terminal use
To video pictures interested in the animated video file, if the terminal use is wished target animal (such as cat, Canis familiaris L., long-neck
Deer or rabbit etc.) image is added in the target video picture, then and terminal can determine area to be edited in the target video picture
Domain, then terminal can obtain from terminal database the pending image containing target animal, can be dynamic by photographic subjects
The pending image of thing difference angle can download the pending image of target animal from the Internet, then can wait to locate at this
The image of target animal is plucked out in reason image, and the wherein image size of target animal can be adjusted according to the size of editing area
Whole, colour of skin display parameters, the mesh of the target animal can be adjusted with the frame parameter information according to the target video picture
Mark animal dressing parameter, one or more of the accessories parameter of the destination object, particularly, can be according to target video picture
Frame parameter information in each object conversation content, dub to the target animal, then can be by the target animal
Image is added to region to be edited in the target video picture, wherein can be added to this by adjusting the image of the target animal
Position in target video picture is regarded to avoid blocking the target by the size for adjusting the image of the target animal
Other objects in frequency picture, further, can also obtain the broadcast format of the animated video file, can be according to the video text
The broadcast format of part is performed the encoding operation to the target video picture that with the addition of the target animal, can carry out coding behaviour using this
Target video picture after work replaces the target video picture in the video file, and the animation so as to obtain including target animal is regarded
Frequency file.
In embodiments of the present invention after destination object is added in target video picture, can broadcasting according to video file
Put form to perform the encoding operation the video pictures that with the addition of destination object, the target video after finally performing the encoding operation is drawn
The target video picture in the video file is replaced in face, quickly can add target pair in the video pictures of video file
As meeting automatization, intelligent demand of the user to Video processing.
Fig. 3 is referred to, is a kind of video process apparatus schematic block diagram that one embodiment of the invention is provided.The device can set
Put in various intelligent terminal, for example:Smart mobile phone, panel computer, intelligent wearable device etc..Specifically, as shown in figure 3, should
Terminal 300 can include:
Determining module 301, in user's playing video file, if receiving video pictures screening instruction, from institute
State, in the target video picture, determine region to be edited.
Acquisition module 302, for obtaining destination object.
Add module 303, for the destination object to be added to the region to be edited of the target video picture.
Update module 304, for using with the addition of video file described in the target video frame updating of the destination object.
Destination object can be added in the video pictures of video file quickly in embodiments of the present invention, meet user
To the automatization of Video processing, intelligent demand.
Please also refer to Fig. 4, it is a kind of video process apparatus schematic block diagram of another embodiment of the present invention offer.The device
Various intelligent terminal can be arranged on, for example:Smart mobile phone, panel computer, intelligent wearable device etc..Specifically, such as Fig. 4 institutes
Show, the terminal includes determining module 301 mentioned above, acquisition module 302, add module 303, update module 304, the present invention
In embodiment, the terminal also includes retrieving module 305, shear module 306, makes module 307, wherein:
Retrieval module 305, for, in the video file after the renewal, retrieving the video that there is the destination object
Picture.
Shear module 306, for being cut out the region for including the destination object in the video pictures for retrieving
Image.
Module 307 is made, for the area image being cut out is fabricated to video file.
Optionally, the add module 303, specifically for obtaining the frame parameter information of the target video picture, according to this
The frame parameter information of target video picture adjusts the display parameters of the destination object, by the target pair after the display parameters adjustment
As being added to the region to be edited of the target video picture.
Wherein, the display parameters of the destination object include the colour of skin display parameters of the destination object, the destination object
Dress parameter, one or more of the accessories parameter of the destination object.
Optionally, the acquisition module 302, specifically for obtaining pending image in terminal database, pending at this
Destination object, and the size in the region to be edited according to the target video picture is obtained in image, adjusts the destination object
Size.
Optionally, the update module 304, specifically for obtaining the broadcast format of the video file, according to the video file
Broadcast format the target video picture that with the addition of the destination object is performed the encoding operation, after being performed the encoding operation using this
Target video picture replaces the target video picture in the video file.
In embodiments of the present invention, after using the target video frame updating video file that with the addition of the destination object,
Search operaqtion is carried out to the video file for updating to obtain the video pictures that there is destination object, is then drawn in the video for retrieving
The area image of destination object is cut out in face, the area image being cut out is fabricated to video file finally, is quickly obtained
Including the video file of destination object, automatization, intelligent demand of the user to Video processing is met.
Referring to Fig. 5, it is a kind of intelligent terminal's schematic diagram of further embodiment of this invention offer.The intelligent terminal can be intelligence
Energy mobile phone, panel computer, intelligent wearable device etc..Specifically, the intelligent terminal in the present embodiment as shown in Figure 5 can wrap
Include:One or more processors 503, one or more input equipments 501, one or more outut devices 502 and memorizer
504.Above-mentioned processor 503, input equipment 501, outut device 502 and memorizer are connected by bus 505.Memorizer 504 is used
In store instruction, processor 503 executes the instruction of the storage of memorizer 504 with language.Wherein:
The processor 503, in user's playing video file, if receiving video pictures screening instruction, from institute
State, region to be edited is determined in the target video picture, obtain target
Object, and the destination object is added to the region to be edited of the target video picture, using with the addition of the target pair
Video file described in the target video frame updating of elephant.
Optionally, the processor 503, specifically for obtaining the frame parameter information of the target video picture, according to the mesh
The frame parameter information of mark video pictures adjusts the display parameters of the destination object, by the destination object after the display parameters adjustment
It is added to the region to be edited of the target video picture.
Wherein, the display parameters of the destination object include the colour of skin display parameters of the destination object, the destination object
Dress parameter, one or more of the accessories parameter of the destination object.
Optionally, the processor 503, specifically for obtaining pending image in terminal database, in the pending figure
Destination object, and the size in the region to be edited according to the target video picture is obtained as in, adjusts the destination object
Size.
Optionally, the processor 503, specifically for obtaining the broadcast format of the video file, according to the video file
Broadcast format is performed the encoding operation to the target video picture that with the addition of the destination object, the mesh after being performed the encoding operation using this
Mark video pictures replace the target video picture in the video file.
Optionally, the processor 503, is additionally operable in the video file after the renewal, retrieves and there is the destination object
Video pictures, be cut out the area image for including the destination object in the video pictures for retrieving, this be cut out
Area image is fabricated to video file.
Destination object can be added in the video pictures of video file quickly in embodiments of the present invention, meet user
To the automatization of Video processing, intelligent demand.
It should be appreciated that in embodiments of the present invention, alleged processor 503 can be central processing module (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), special IC (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device can also be any conventional processor etc..
Input equipment 501 can include that Trackpad, fingerprint adopt sensor (for gathering the finger print information and fingerprint of user
Directional information), mike etc., outut device 502 can include display (LCD etc.), speaker etc..
The memorizer 504 can include read only memory and random access memory, and to processor 503 provide instruction and
Data.The a part of of memorizer 504 can also include nonvolatile RAM.
In implementing, processor 503, input equipment 501 described in the embodiment of the present invention, outut device 502 can
The implementation described in the first embodiment and second embodiment of method for processing video frequency provided in an embodiment of the present invention is executed,
Also the implementation of the terminal described by the embodiment of the present invention is can perform, is will not be described here.
Each functional module in each embodiment of the invention can be integrated in a processing module, or each
Module is individually physically present, or two or more modules are integrated in a module.Above-mentioned integrated module was both
Can be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
One of ordinary skill in the art will appreciate that realize all or part of flow process in above-described embodiment method, being can be with
Instruct related hardware to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosed is only a kind of preferred embodiment of the invention, can not limit certainly the power of the present invention with this
Sharp scope, one of ordinary skill in the art will appreciate that all or part of flow process of above-described embodiment is realized, and according to present invention power
Profit requires made equivalent variations, still falls within the covered scope of invention.
Claims (12)
1. a kind of method for processing video frequency, it is characterised in that include:
In user's playing video file, if receiving video pictures screening instruction, from the video file, mesh is determined
Mark video pictures;
Region to be edited is determined in the target video picture;
Destination object is obtained, and the destination object is added to the region to be edited of the target video picture;
Using with the addition of video file described in the target video frame updating of the destination object.
2. method according to claim 1, it is characterised in that described the destination object is added to the target video
The region to be edited of picture, including:
Obtain the frame parameter information of the target video picture;
According to the display parameters that the frame parameter information of the target video picture adjusts the destination object;
The destination object after display parameters are adjusted is added to the region to be edited of the target video picture.
3. method according to claim 2, it is characterised in that the display parameters of the destination object include the target pair
The colour of skin display parameters of elephant, the dressing parameter of the destination object, one or more of the accessories parameter of the destination object.
4. method according to claim 1, it is characterised in that the acquisition destination object, including:
Pending image is obtained in terminal database;
Destination object is obtained in the pending image, and big according to the size in the region to be edited of the target video picture
Little, adjust the size of the destination object.
5. method according to claim 1, it is characterised in that described using the target video that with the addition of the destination object
Video file described in frame updating, including:
Obtain the broadcast format of the video file;
Broadcast format according to the video file is performed the encoding operation to the target video picture that with the addition of the destination object;
The target video picture after being encoded with operating replaces the target video picture in the video file.
6. method according to claim 1, it is characterised in that described using the target video that with the addition of the destination object
After video file described in frame updating, also include:
In the video file after the renewal, the video pictures that there is the destination object are retrieved;
The area image for including the destination object is cut out in the video pictures for retrieving;
The area image being cut out is fabricated to video file.
7. a kind of video process apparatus, it is characterised in that include:
Determining module, in user's playing video file, if receiving video pictures screening instruction, from video text
Target video picture is determined in part, in the target video picture determines region to be edited;
Acquisition module, for obtaining destination object;
Add module, for the destination object to be added to the region to be edited of the target video picture;
Update module, for using with the addition of video file described in the target video frame updating of the destination object.
8. device according to claim 7, it is characterised in that
The add module, specifically for obtaining the frame parameter information of the target video picture, according to the target video
The frame parameter information of picture adjusts the display parameters of the destination object, and the destination object after the display parameters are adjusted adds
It is added to the region to be edited of the target video picture.
9. device according to claim 8, it is characterised in that the display parameters of the destination object include the target pair
The colour of skin display parameters of elephant, the dressing parameter of the destination object, one or more of the accessories parameter of the destination object.
10. device according to claim 7, it is characterised in that
The acquisition module, specifically for obtaining destination object in the pending image, and draws according to the target video
The size in the region to be edited in face, adjusts the size of the destination object.
11. devices according to claim 7, it is characterised in that
The update module, specifically for obtaining the broadcast format of the video file, according to the broadcasting lattice of the video file
Formula is performed the encoding operation to the target video picture that with the addition of the destination object, is encoded with the target after operating
Video pictures replace the target video picture in the video file.
12. devices according to claim 7, it is characterised in that described device also includes:
Retrieval module, for, in the video file after the renewal, retrieving the video pictures that there is the destination object;
Shear module, for being cut out the area image for including the destination object in the video pictures for retrieving;
Module is made, for the area image being cut out is fabricated to video file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610970319.6A CN106507170A (en) | 2016-10-27 | 2016-10-27 | A kind of method for processing video frequency and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610970319.6A CN106507170A (en) | 2016-10-27 | 2016-10-27 | A kind of method for processing video frequency and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106507170A true CN106507170A (en) | 2017-03-15 |
Family
ID=58322854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610970319.6A Pending CN106507170A (en) | 2016-10-27 | 2016-10-27 | A kind of method for processing video frequency and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106507170A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566915A (en) * | 2017-09-11 | 2018-01-09 | 上海与德科技有限公司 | A kind of synthetic method of advertisement |
CN108322824A (en) * | 2018-02-27 | 2018-07-24 | 四川长虹电器股份有限公司 | A kind of method and system that television image is carried out to scene displacement |
CN108629821A (en) * | 2018-04-20 | 2018-10-09 | 北京比特智学科技有限公司 | Animation producing method and device |
WO2019144839A1 (en) * | 2018-01-25 | 2019-08-01 | 北京一览科技有限公司 | Method and apparatus for replacing object in video |
CN111491124A (en) * | 2020-04-17 | 2020-08-04 | 维沃移动通信有限公司 | Video processing method and device and electronic equipment |
WO2020172826A1 (en) * | 2019-02-27 | 2020-09-03 | 华为技术有限公司 | Video processing method and mobile device |
CN114143398A (en) * | 2021-11-17 | 2022-03-04 | 西安维沃软件技术有限公司 | Video playing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070013813A1 (en) * | 2005-07-15 | 2007-01-18 | Microsoft Corporation | Poisson matting for images |
CN103607554A (en) * | 2013-10-21 | 2014-02-26 | 无锡易视腾科技有限公司 | Fully-automatic face seamless synthesis-based video synthesis method |
CN104376589A (en) * | 2014-12-04 | 2015-02-25 | 青岛华通国有资本运营(集团)有限责任公司 | Method for replacing movie and TV play figures |
CN105118082A (en) * | 2015-07-30 | 2015-12-02 | 科大讯飞股份有限公司 | Personalized video generation method and system |
CN105488784A (en) * | 2015-11-23 | 2016-04-13 | 广州一刻影像科技有限公司 | Automatic portrait matting method |
CN105654420A (en) * | 2015-12-21 | 2016-06-08 | 小米科技有限责任公司 | Face image processing method and device |
-
2016
- 2016-10-27 CN CN201610970319.6A patent/CN106507170A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070013813A1 (en) * | 2005-07-15 | 2007-01-18 | Microsoft Corporation | Poisson matting for images |
CN103607554A (en) * | 2013-10-21 | 2014-02-26 | 无锡易视腾科技有限公司 | Fully-automatic face seamless synthesis-based video synthesis method |
CN104376589A (en) * | 2014-12-04 | 2015-02-25 | 青岛华通国有资本运营(集团)有限责任公司 | Method for replacing movie and TV play figures |
CN105118082A (en) * | 2015-07-30 | 2015-12-02 | 科大讯飞股份有限公司 | Personalized video generation method and system |
CN105488784A (en) * | 2015-11-23 | 2016-04-13 | 广州一刻影像科技有限公司 | Automatic portrait matting method |
CN105654420A (en) * | 2015-12-21 | 2016-06-08 | 小米科技有限责任公司 | Face image processing method and device |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566915A (en) * | 2017-09-11 | 2018-01-09 | 上海与德科技有限公司 | A kind of synthetic method of advertisement |
WO2019144839A1 (en) * | 2018-01-25 | 2019-08-01 | 北京一览科技有限公司 | Method and apparatus for replacing object in video |
CN108322824A (en) * | 2018-02-27 | 2018-07-24 | 四川长虹电器股份有限公司 | A kind of method and system that television image is carried out to scene displacement |
CN108322824B (en) * | 2018-02-27 | 2020-11-03 | 四川长虹电器股份有限公司 | Method and system for carrying out scene replacement on television picture |
CN108629821A (en) * | 2018-04-20 | 2018-10-09 | 北京比特智学科技有限公司 | Animation producing method and device |
WO2020172826A1 (en) * | 2019-02-27 | 2020-09-03 | 华为技术有限公司 | Video processing method and mobile device |
CN111491124A (en) * | 2020-04-17 | 2020-08-04 | 维沃移动通信有限公司 | Video processing method and device and electronic equipment |
CN111491124B (en) * | 2020-04-17 | 2023-02-17 | 维沃移动通信有限公司 | Video processing method and device and electronic equipment |
CN114143398A (en) * | 2021-11-17 | 2022-03-04 | 西安维沃软件技术有限公司 | Video playing method and device |
CN114143398B (en) * | 2021-11-17 | 2023-08-25 | 西安维沃软件技术有限公司 | Video playing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106507170A (en) | A kind of method for processing video frequency and device | |
CN110070896B (en) | Image processing method, device and hardware device | |
CN113727017B (en) | Shooting method, graphical interface and related device | |
CN109492607B (en) | Information pushing method, information pushing device and terminal equipment | |
CN106250421A (en) | A kind of method shooting process and terminal | |
US11297225B2 (en) | Video producing method, apparatus, storage medium, and electronic device | |
KR20220148915A (en) | Audio processing methods, apparatus, readable media and electronic devices | |
CN108986117B (en) | Video image segmentation method and device | |
CN105094523A (en) | 3D animation display method and apparatus | |
CN113905175A (en) | Video generation method and device, electronic equipment and readable storage medium | |
EP4080507A1 (en) | Method and apparatus for editing object, electronic device and storage medium | |
CN113194256B (en) | Shooting method, shooting device, electronic equipment and storage medium | |
CN107203646A (en) | A kind of intelligent social sharing method and device | |
CN114630057A (en) | Method and device for determining special effect video, electronic equipment and storage medium | |
CN108898169B (en) | Picture processing method, picture processing device and terminal equipment | |
CN116245999A (en) | Text rendering method and device, electronic equipment and readable storage medium | |
CN116126177A (en) | Data interaction control method and device, electronic equipment and storage medium | |
CN115103206A (en) | Video data processing method, device, equipment, system and storage medium | |
US10097807B2 (en) | Method, apparatus and computer program product for blending multimedia content | |
CN111292276B (en) | Image processing method and device | |
CN115811665A (en) | Video generation method and device, terminal equipment and storage medium | |
CN111913771A (en) | Wallpaper display method, device and equipment | |
CN113626632B (en) | Album material display method and device and electronic equipment | |
CN117495694B (en) | Method for fusing video and map three-dimensional scene, electronic equipment and storage medium | |
CN111489769B (en) | Image processing method, device and hardware device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170315 |
|
RJ01 | Rejection of invention patent application after publication |