CN104967865A - Video previewing method and apparatus - Google Patents

Video previewing method and apparatus Download PDF

Info

Publication number
CN104967865A
CN104967865A CN201510130147.7A CN201510130147A CN104967865A CN 104967865 A CN104967865 A CN 104967865A CN 201510130147 A CN201510130147 A CN 201510130147A CN 104967865 A CN104967865 A CN 104967865A
Authority
CN
China
Prior art keywords
video
frame
buffer memory
preview
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510130147.7A
Other languages
Chinese (zh)
Other versions
CN104967865B (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.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing 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 Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201510130147.7A priority Critical patent/CN104967865B/en
Publication of CN104967865A publication Critical patent/CN104967865A/en
Application granted granted Critical
Publication of CN104967865B publication Critical patent/CN104967865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a video previewing method and apparatus, and belongs to the field of a computer technology. The video previewing method comprises the following steps: successively obtaining each video frame in a target video; performing special effect processing on at least one video frame in the target video to obtain each video frame corresponding to the target video after the processing; caching each video frame corresponding to the target video after the processing to a cache preview queue; and performing video previewing on each video frame cached in the cache preview queue. According to the invention, the problem in the prior art is solved that only after a special effect video is synthesized, can a terminal provide previewing of the special effect video for a user and the process consumes quite long time; and the effects of realizing the video previewing as long as each video frame corresponding to the target video after the processing is obtained and accordingly shortening the time length needed for the video previewing are achieved.

Description

Video previewing method and device
Technical field
The present invention relates to field of computer technology, particularly a kind of video previewing method and device.
Background technology
The application of short video sharing is popular a kind of application program on the mobile terminals such as such as smart mobile phone, panel computer and multimedia player at present.User can take several seconds brief videos by smart mobile phone and be shared with good friend, and short-sighted frequency can be diffused information as microblogging.
Short video sharing application can provide the function of short-sighted frequency being carried out to special effect processing.A kind of special effect processing process that correlation technique provides comprises: terminal obtains each frame frame of video in video successively; Respectively special effect processing is carried out to each frame frame of video and obtains the frame of video after processing; Each frame frame of video after process is synthesized and then finally obtained special efficacy video; The preview of this special efficacy video is provided to user.
Realizing in process of the present invention, inventor finds that above-mentioned technology at least exists following problem: terminal needs after special efficacy video synthesizes completely, could provide the preview of this special efficacy video to user, and the middle time consumed is longer.
Summary of the invention
In order to solve problems of the prior art, embodiments provide a kind of video previewing method and device.Described technical scheme is as follows:
First aspect, provide a kind of video previewing method, the method comprises:
Obtain each frame frame of video in target video successively;
Special effect processing is carried out at least one frame frame of video in target video, obtains each frame frame of video corresponding to target video after processing;
By each frame frame of video buffer memory corresponding to the target video after process in buffer memory preview queue;
Video preview is carried out by each frame frame of video of buffer memory in buffer memory preview queue.
Alternatively, carry out special effect processing at least one frame frame of video in target video, after obtaining each frame frame of video corresponding to target video after processing, the method also comprises:
Each frame frame of video synthesis special efficacy video corresponding to the target video after process;
Carry out video preview by each frame frame of video of buffer memory in buffer memory preview queue, comprising:
In the process of synthesis special efficacy video, carry out the preview of special efficacy video by each frame frame of video of buffer memory in buffer memory preview queue.
Alternatively, carry out the preview of special efficacy video by each frame frame of video of buffer memory in buffer memory preview queue, comprising:
Each frame frame of video of buffer memory in buffer memory preview queue is read successively with predeterminated frequency;
Play each frame frame of video read.
Alternatively, the method also comprises:
After synthesis special efficacy video, carry out the preview of special efficacy video by synthesizing the special efficacy video obtained.
Alternatively, special effect processing is carried out at least one frame frame of video in target video, obtains each frame frame of video corresponding to target video after processing, comprising:
Special effect processing is carried out to each frame in each frame frame of video, obtains each the frame frame of video after processing;
Or,
Special effect processing is carried out to the key frame in each frame frame of video, obtains the key frame after processing and other frame of video in each frame frame of video.
Second aspect, provide a kind of video preview device, this device comprises:
Acquisition module, for obtaining each frame frame of video in target video successively;
Processing module, for carrying out special effect processing at least one frame frame of video in target video, obtains each frame frame of video corresponding to target video after processing;
Cache module, for each frame frame of video buffer memory corresponding to the target video after processing module process in buffer memory preview queue;
First previewing module, carries out video preview for each frame frame of video of buffer memory in the buffer memory preview queue that obtained by cache module buffer memory.
Alternatively, this device also comprises:
Synthesis module, for each frame frame of video synthesis special efficacy video corresponding to the target video after the process that obtains according to processing module;
First previewing module, also in the process of synthesis module synthesis special efficacy video, carries out the preview of special efficacy video by each frame frame of video of buffer memory in buffer memory preview queue.
Alternatively, this first previewing module, comprising:
Reading unit, for reading each frame frame of video of buffer memory in buffer memory preview queue successively with predeterminated frequency;
Broadcast unit, for playing each frame frame of video that reading unit reads.
Alternatively, this device also comprises:
Second previewing module, for after synthesis module synthesis special efficacy video, carries out the preview of special efficacy video by synthesizing the special efficacy video obtained.
Alternatively, this processing module, comprising:
First processing unit, for carrying out special effect processing to each frame in each frame frame of video, obtains each the frame frame of video after processing;
Or,
Second processing unit, for carrying out special effect processing to the key frame in each frame frame of video, obtains the key frame after processing and other frame of video in each frame frame of video.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
After special effect processing is carried out to the frame of video in target video, by each frame frame of video buffer memory corresponding to the target video after process in buffer memory preview queue, and then carry out video preview by each frame frame of video of buffer memory in buffer memory preview queue; Solve terminal in prior art to need, after synthesis special efficacy video, the preview of this special efficacy video to be provided to user, the problem that the middle time consumed is longer; Reach obtain process after target video corresponding to each frame frame of video after can realize video preview, and then shorten video preview time required duration effect.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the video previewing method that one embodiment of the invention provides;
Fig. 2 A is the method flow diagram of the video previewing method that another embodiment of the present invention provides;
Fig. 2 B is the schematic diagram of the information flow direction involved by video previewing method that another embodiment of the present invention provides;
Fig. 3 is the block diagram of the video preview device that one embodiment of the invention provides;
Fig. 4 is the block diagram of the video preview device that another embodiment of the present invention provides;
Fig. 5 is the block diagram of the terminal that one embodiment of the invention provides.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, it illustrates the method flow diagram of the video previewing method that one embodiment of the invention provides, as shown in Figure 1, this video previewing method comprises:
Step 101, obtains each frame frame of video in target video successively.
Step 102, carries out special effect processing at least one frame frame of video in target video, obtains each frame frame of video corresponding to target video after processing.
Step 103, by each frame frame of video buffer memory corresponding to the target video after process in buffer memory preview queue.
Step 104, carries out video preview by each frame frame of video of buffer memory in buffer memory preview queue.
In sum, the video previewing method that the present embodiment provides, after special effect processing is carried out at least one frame frame of video in target video, by each frame frame of video buffer memory corresponding to the target video after process in buffer memory preview queue, and then carry out video preview by each frame frame of video of buffer memory in buffer memory preview queue; Solve terminal in prior art to need, after synthesis special efficacy video, the preview of this special efficacy video to be provided to user, the problem that the middle time consumed is longer; Reach obtain process after target video corresponding to each frame frame of video after can realize video preview, and then shorten video preview time required duration effect.
Please refer to Fig. 2 A, it illustrates the method flow diagram of the video previewing method that another embodiment of the present invention provides, as shown in Figure 2 A, this video previewing method comprises:
Step 201, obtains each frame frame of video in target video successively.
When terminal needs to carry out special effect processing to target video, terminal can obtain each frame frame of video in target video successively.Wherein, target video can be less than the short-sighted frequency of preset length for video length.Such as, target video is the short-sighted frequency that video length is less than 8S.
Step 202, carries out special effect processing at least one frame frame of video in target video, obtains each frame frame of video corresponding to target video after processing.
After terminal reads each frame frame of video in target video, terminal can carry out special effect processing to each frame frame of video, or terminal also only can carry out special effect processing to wherein partial video frame.So alternatively, this step can comprise any one in the possible implementation of the following two kinds:
The first:
Special effect processing is carried out to each frame in each frame frame of video, obtains each the frame frame of video after processing.
Terminal can carry out special effect processing to each frame in each frame frame of video got, and then obtains each the frame special efficacy frame of video after processing, and each frame special efficacy frame of video is each frame frame of video corresponding to the target video after process.
The second:
Special effect processing is carried out to the key frame in each frame frame of video, obtains the key frame after processing and other frame of video in each frame frame of video.
Alternatively, terminal can also extract the key frame in each frame frame of video, special effect processing is carried out to the key frame extracted, and then obtaining not processed other frame of video in the key frame after processing and target video, in the key frame after process and target video, other not processed frame of video are each frame frame of video corresponding to target video after process.
It should be noted is that, the present embodiment is just to carry out special effect processing by above-mentioned two kinds of processing modes to the frame of video in target video, and alternatively, terminal can also carry out special effect processing by other processing modes to the frame of video in target video.Such as, terminal is every predetermined frame number as carried out special effect processing every 3 frames to the frame of video in target video, and the present embodiment does not limit this.
Need to illustrate on the other hand, the special effect processing that terminal can also be walked abreast to the frame of video in target video by least two treatment progress, the present embodiment does not also limit this.
Step 203, by each frame frame of video buffer memory corresponding to the target video after process in buffer memory preview queue.
After performing step 202, terminal can by each frame frame of video buffer memory corresponding to the target video after process in buffer memory preview queue.
Alternatively, this step can comprise:
(1), when terminal carries out special effect processing to each frame in target video, each frame buffer that process can obtain by terminal is in buffer memory preview queue.
(2), when terminal carries out special effect processing to the key frame in each frame frame of video in target video, terminal by process after key frame and other not processed frame of video buffer memorys in buffer memory preview queue.
Alternatively, terminal can by the key frame after process and other not processed frame of video according to the order corresponding in target video of each frame of video successively buffer memory in buffer memory preview queue.Such as, the 5th frame in target video and the 8th frame are key frame, then terminal can by the 8th frame after the 5th frame after the 1st frame in target video, the 2nd frame, the 3rd frame, the 4th frame, process, the 6th frame, the 7th frame and process successively buffer memory in buffer memory preview queue.
Step 204, each frame frame of video synthesis special efficacy video corresponding to the target video after process.
After performing step 202, terminal each frame frame of video corresponding to the target video after process can also synthesize special efficacy video.
It should be noted that, the present embodiment just performs step 204 after first performing step 203, and alternatively, terminal can also perform step 203 and step 204 simultaneously, or perform step 203 after first performing step 204, the present embodiment does not limit its actual execution sequence.
Step 205, in the process of synthesis special efficacy video, carries out the preview of special efficacy video by each frame frame of video of buffer memory in buffer memory preview queue.
Alternatively, in the process of terminal synthesis special efficacy video, terminal can play each frame frame of video of buffer memory in buffer memory preview queue with predeterminated frequency.
Alternatively, this step can comprise:
The first, each frame frame of video of buffer memory in buffer memory preview queue is read successively with predeterminated frequency.
Terminal can read each frame frame of video of buffer memory in buffer memory preview queue successively with predeterminated frequency.Wherein, predeterminated frequency is more than or equal to predetermined threshold, and this predetermined threshold is the frame number of the frame of video of broadcasting per second in video.Such as, for video broadcasting 24 per second frame frame of video, this predetermined threshold value is 24HZ.
The second, play each frame frame of video read.
After terminal reads each frame frame of video, terminal can play each frame frame of video read successively.
Step 206, after synthesis special efficacy video, carries out the preview of special efficacy video by synthesizing the special efficacy video obtained.
After terminal synthesis obtains special efficacy video, terminal can carry out the preview of special efficacy video by synthesizing the special efficacy video obtained.
Such as, in the process of terminal synthesis special efficacy video, terminal carries out preview by each frame frame of video of buffer memory in buffer memory preview queue; And after special efficacy Video Composition, terminal carries out preview by synthesizing the special efficacy video obtained automatically.
In an application scenarios of the present embodiment, take target video as the short-sighted frequency of 8S be example, when user's request carries out special effect processing to this short-sighted frequency, terminal obtains each frame frame of video in this short-sighted frequency, special effect processing is carried out to each frame frame of video, obtains each frame special efficacy frame of video after processing.After this, each frame special efficacy frame of video obtained divides two-way to use by terminal.Wherein a road terminal is by each frame special efficacy frame of video buffer memory in buffer memory preview queue, and the previewing module in terminal carries out preview by each frame special efficacy frame of video of buffer memory in buffer memory preview queue; Wherein another road, terminal by each frame special efficacy frame of video synthesis special efficacy video, and after synthesis obtains special efficacy video, imports special efficacy video into previewing module, and previewing module carries out video preview by this special efficacy video, and its information flow direction figure please refer to Fig. 2 B.
In sum, the video previewing method that the present embodiment provides, after special effect processing is carried out at least one frame frame of video in target video, by each frame frame of video buffer memory corresponding to the target video after process in buffer memory preview queue, and then carry out video preview by each frame frame of video of buffer memory in buffer memory preview queue; Solve terminal in prior art to need, after synthesis special efficacy video, the preview of this special efficacy video to be provided to user, the problem that the middle time consumed is longer; Reach obtain process after target video corresponding to each frame frame of video after can realize video preview, and then shorten video preview time required duration effect.
In addition, because terminal carries out special effect processing to frame of video, and then it is shorter to obtain the duration needed for frame of video after processing, thus the video previewing method that the present embodiment provides reach user can without the need to the effect of wait and video-previewing.
Please refer to Fig. 3, it illustrates the block diagram of the video preview device that one embodiment of the invention provides, as shown in Figure 3, this video preview device comprises: acquisition module 310, processing module 320, cache module 330 and the first previewing module 340.
Acquisition module 310, for obtaining each frame frame of video in target video successively;
Processing module 320, for carrying out special effect processing at least one frame frame of video in target video, obtains each frame frame of video corresponding to target video after processing;
Cache module 330, for each frame frame of video buffer memory corresponding to the target video after processing module 320 being processed in buffer memory preview queue;
First previewing module 340, carries out video preview for each frame frame of video of buffer memory in the buffer memory preview queue that obtained by cache module 330 buffer memory.
In sum, the video preview device that the present embodiment provides, after special effect processing is carried out at least one frame frame of video in target video, by each frame frame of video buffer memory corresponding to the target video after process in buffer memory preview queue, and then carry out video preview by each frame frame of video of buffer memory in buffer memory preview queue; Solve terminal in prior art to need, after synthesis special efficacy video, the preview of this special efficacy video to be provided to user, the problem that the middle time consumed is longer; Reach obtain process after target video corresponding to each frame frame of video after can realize video preview, and then shorten video preview time required duration effect.
Please refer to Fig. 4, it illustrates the block diagram of the video preview device that one embodiment of the invention provides, as shown in Figure 4, this video preview device comprises: acquisition module 410, processing module 420, cache module 430 and the first previewing module 440.
Acquisition module 410, for obtaining each frame frame of video in target video successively;
Processing module 420, for carrying out special effect processing at least one frame frame of video in target video, obtains each frame frame of video corresponding to target video after processing;
Cache module 430, for each frame frame of video buffer memory corresponding to the target video after processing module 420 being processed in buffer memory preview queue;
First previewing module 440, carries out video preview for each frame frame of video of buffer memory in the buffer memory preview queue that obtained by cache module 430 buffer memory.
Alternatively, this device also comprises:
Synthesis module 450, for each frame frame of video synthesis special efficacy video corresponding to the target video after the process that obtains according to processing module 420;
First previewing module 440, also for synthesizing in the process of special efficacy video at synthesis module 450, carries out the preview of special efficacy video by each frame frame of video of buffer memory in buffer memory preview queue.
Alternatively, this first previewing module 440, comprising:
Reading unit 441, for reading each frame frame of video of buffer memory in buffer memory preview queue successively with predeterminated frequency;
Broadcast unit 442, for playing each frame frame of video that reading unit 441 reads.
Alternatively, this device also comprises:
Second previewing module 460, after synthesizing special efficacy video at synthesis module 450, carries out the preview of special efficacy video by synthesizing the special efficacy video obtained.
Alternatively, this processing module 420, comprising:
First processing unit 421, for carrying out special effect processing to each frame in each frame frame of video, obtains each the frame frame of video after processing;
Or,
Second processing unit 422, for carrying out special effect processing to the key frame in each frame frame of video, obtains the key frame after processing and other frame of video in each frame frame of video.
In sum, the video preview device that the present embodiment provides, after special effect processing is carried out at least one frame frame of video in target video, by each frame frame of video buffer memory corresponding to the target video after process in buffer memory preview queue, and then carry out video preview by each frame frame of video of buffer memory in buffer memory preview queue; Solve terminal in prior art to need, after synthesis special efficacy video, the preview of this special efficacy video to be provided to user, the problem that the middle time consumed is longer; Reach obtain process after target video corresponding to each frame frame of video after can realize video preview, and then shorten video preview time required duration effect.
In addition, because terminal carries out special effect processing to frame of video, and then it is shorter to obtain the duration needed for frame of video after processing, thus the video previewing method that the present embodiment provides reach user can without the need to the effect of wait and video-previewing.
Please refer to Fig. 5, it illustrates the structural representation of the terminal that one embodiment of the invention provides.This terminal is for implementing the video previewing method provided in above-described embodiment.Specifically:
Terminal 500 can comprise RF (Radio Frequency, radio frequency) circuit 510, the memory 520 including one or more computer-readable recording mediums, input unit 530, display unit 540, transducer 550, voicefrequency circuit 560, WiFi (wireless fidelity, Wireless Fidelity) module 570, include the parts such as processor 580 and power supply 590 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 5, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 510 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 580 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 510 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, RF circuit 510 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code division multiple access), WCDMA (Wideband CodeDivision Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Memory 520 can be used for storing software program and module, and processor 580 is stored in software program and the module of memory 520 by running, thus performs the application of various function and data processing.Memory 520 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 500.In addition, memory 520 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 520 can also comprise Memory Controller, to provide the access of processor 580 and input unit 530 pairs of memories 520.
Input unit 530 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, input unit 530 can comprise image input device 531 and other input equipments 532.Image input device 531 can be camera, also can be photoelectric scanning device.Except image input device 531, input unit 530 can also comprise other input equipments 532.Particularly, other input equipments 532 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 540 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 500 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 540 can comprise display floater 541, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display floater 541.
Terminal 500 also can comprise at least one transducer 550, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 541, proximity transducer when terminal 500 moves in one's ear, can cut out display floater 541 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for terminal 500 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 560, loud speaker 561, microphone 562 can provide the audio interface between user and terminal 500.Voicefrequency circuit 560 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 561, by loud speaker 561 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 562, voice data is converted to after being received by voicefrequency circuit 560, after again voice data output processor 580 being processed, through RF circuit 510 to send to such as another terminal, or export voice data to memory 520 to process further.Voicefrequency circuit 560 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 500.
WiFi belongs to short range wireless transmission technology, and by WiFi module 570, terminal 500 can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 5 shows WiFi module 570, be understandable that, it does not belong to must forming of terminal 500, can omit in the scope of essence not changing invention as required completely.
Processor 580 is control centres of terminal 500, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 520 and/or module is stored in by running or performing, and call the data be stored in memory 520, perform various function and the deal with data of terminal 500, thus integral monitoring is carried out to mobile phone.Optionally, processor 580 can comprise one or more process core; Preferably, processor 580 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 580.
Terminal 500 also comprises the power supply 590 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 580 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 590 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 500 can also comprise bluetooth module etc., does not repeat them here.
Concrete terminal 500 also includes memory, and one or more than one program, and one of them or more than one program are stored in memory in the present embodiment, and is configured to be performed by more than one or one processor.Above-mentioned more than one or one program package contains for performing video previewing method.
It should be noted that: the video preview device that above-described embodiment provides is when carrying out video preview, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the video preview device that above-described embodiment provides and the embodiment of the method for video previewing method belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a video previewing method, is characterized in that, described method comprises:
Obtain each frame frame of video in target video successively;
Special effect processing is carried out at least one frame frame of video in described target video, obtains each frame frame of video corresponding to described target video after processing;
By each frame frame of video buffer memory corresponding to the described target video after process in buffer memory preview queue;
Video preview is carried out by each frame frame of video of buffer memory in described buffer memory preview queue.
2. method according to claim 1, is characterized in that, describedly carries out special effect processing at least one frame frame of video in described target video, and after obtaining each frame frame of video corresponding to described target video after processing, described method also comprises:
Each frame frame of video synthesis special efficacy video corresponding to the described target video after process;
Describedly carry out video preview by each frame frame of video of buffer memory in described buffer memory preview queue, comprising:
In the process of the described special efficacy video of synthesis, carry out the preview of described special efficacy video by each frame frame of video of buffer memory in described buffer memory preview queue.
3. method according to claim 2, is characterized in that, describedly carries out the preview of described special efficacy video by each frame frame of video of buffer memory in described buffer memory preview queue, comprising:
Each frame frame of video of buffer memory in described buffer memory preview queue is read successively with predeterminated frequency;
Play the described each frame frame of video read.
4. method according to claim 2, is characterized in that, described method also comprises:
After the described special efficacy video of synthesis, carry out the preview of described special efficacy video by synthesizing the described special efficacy video obtained.
5. according to the arbitrary described method of Claims 1-4, it is characterized in that, described special effect processing carried out at least one frame frame of video in described target video, obtain each frame frame of video corresponding to described target video after processing, comprising:
Special effect processing is carried out to each frame in described each frame frame of video, obtains each the frame frame of video after processing;
Or,
Special effect processing is carried out to the key frame in described each frame frame of video, obtains the described key frame after processing and other frame of video in described each frame frame of video.
6. a video preview device, is characterized in that, described device comprises:
Acquisition module, for obtaining each frame frame of video in target video successively;
Processing module, for carrying out special effect processing at least one frame frame of video in described target video, obtains each frame frame of video corresponding to described target video after processing;
Cache module, for each frame frame of video buffer memory corresponding to the described target video after described processing module process in buffer memory preview queue;
First previewing module, carries out video preview for each frame frame of video of buffer memory in the described buffer memory preview queue that obtained by described cache module buffer memory.
7. device according to claim 6, is characterized in that, described device also comprises:
Synthesis module, for each frame frame of video synthesis special efficacy video corresponding to the described target video after the process that obtains according to described processing module;
Described first previewing module, also for synthesizing in the process of described special efficacy video at described synthesis module, carries out the preview of described special efficacy video by each frame frame of video of buffer memory in described buffer memory preview queue.
8. device according to claim 7, is characterized in that, described first previewing module, comprising:
Reading unit, for reading each frame frame of video of buffer memory in described buffer memory preview queue successively with predeterminated frequency;
Broadcast unit, for playing described each frame frame of video that described reading unit reads.
9. device according to claim 7, is characterized in that, described device also comprises:
Second previewing module, after synthesizing described special efficacy video at described synthesis module, carries out the preview of described special efficacy video by synthesizing the described special efficacy video obtained.
10., according to the arbitrary described device of claim 6 to 9, it is characterized in that, described processing module, comprising:
First processing unit, for carrying out special effect processing to each frame in described each frame frame of video, obtains each the frame frame of video after processing;
Or,
Second processing unit, for carrying out special effect processing to the key frame in described each frame frame of video, obtains the described key frame after processing and other frame of video in described each frame frame of video.
CN201510130147.7A 2015-03-24 2015-03-24 Video previewing method and device Active CN104967865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510130147.7A CN104967865B (en) 2015-03-24 2015-03-24 Video previewing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510130147.7A CN104967865B (en) 2015-03-24 2015-03-24 Video previewing method and device

Publications (2)

Publication Number Publication Date
CN104967865A true CN104967865A (en) 2015-10-07
CN104967865B CN104967865B (en) 2019-10-11

Family

ID=54221789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510130147.7A Active CN104967865B (en) 2015-03-24 2015-03-24 Video previewing method and device

Country Status (1)

Country Link
CN (1) CN104967865B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657539A (en) * 2015-12-30 2016-06-08 深圳Tcl数字技术有限公司 Video playing method and device
CN106713881A (en) * 2016-12-23 2017-05-24 维沃移动通信有限公司 Projection method and mobile terminal
CN107371061A (en) * 2017-08-25 2017-11-21 普联技术有限公司 A kind of video stream playing method, device and equipment
WO2018072652A1 (en) * 2016-10-17 2018-04-26 腾讯科技(深圳)有限公司 Video processing method, video processing device, and storage medium
CN108024072A (en) * 2017-11-30 2018-05-11 北京小米移动软件有限公司 Information processing method and equipment
CN109002361A (en) * 2017-06-07 2018-12-14 阿里巴巴集团控股有限公司 Data processing method, distribution method, electronic equipment, client and storage medium
CN112399087A (en) * 2020-12-07 2021-02-23 Oppo(重庆)智能科技有限公司 Image processing method, image processing apparatus, image capturing apparatus, electronic device, and storage medium
CN113612923A (en) * 2021-07-30 2021-11-05 重庆电子工程职业学院 Dynamic visual effect enhancement system and control method
WO2022089178A1 (en) * 2020-10-30 2022-05-05 北京字节跳动网络技术有限公司 Video processing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008099209A (en) * 2006-10-16 2008-04-24 Toshiba Corp Content reproducing apparatus and reproduction timing synchronizing method thereof
CN101227568A (en) * 2008-01-31 2008-07-23 成都索贝数码科技股份有限公司 Special effect transforming method of video image
CN102523387A (en) * 2011-12-09 2012-06-27 深圳市万兴软件有限公司 Method and device for realizing special flame effect in video
CN102572302A (en) * 2010-12-31 2012-07-11 新奥特(北京)视频技术有限公司 Multi treatment methods for key frame curve after modifying exit and entry points of materials
CN102724532A (en) * 2012-06-19 2012-10-10 清华大学 Planar video three-dimensional conversion method and system using same
CN103220490A (en) * 2013-03-15 2013-07-24 广东欧珀移动通信有限公司 Special effect implementation method in video communication and video user terminal
CN103402100A (en) * 2013-08-23 2013-11-20 北京奇艺世纪科技有限公司 Video processing method and mobile terminal
CN103716535A (en) * 2013-12-12 2014-04-09 乐视致新电子科技(天津)有限公司 Method for switching photographing mode, and electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008099209A (en) * 2006-10-16 2008-04-24 Toshiba Corp Content reproducing apparatus and reproduction timing synchronizing method thereof
CN101227568A (en) * 2008-01-31 2008-07-23 成都索贝数码科技股份有限公司 Special effect transforming method of video image
CN102572302A (en) * 2010-12-31 2012-07-11 新奥特(北京)视频技术有限公司 Multi treatment methods for key frame curve after modifying exit and entry points of materials
CN102523387A (en) * 2011-12-09 2012-06-27 深圳市万兴软件有限公司 Method and device for realizing special flame effect in video
CN102724532A (en) * 2012-06-19 2012-10-10 清华大学 Planar video three-dimensional conversion method and system using same
CN103220490A (en) * 2013-03-15 2013-07-24 广东欧珀移动通信有限公司 Special effect implementation method in video communication and video user terminal
CN103402100A (en) * 2013-08-23 2013-11-20 北京奇艺世纪科技有限公司 Video processing method and mobile terminal
CN103716535A (en) * 2013-12-12 2014-04-09 乐视致新电子科技(天津)有限公司 Method for switching photographing mode, and electronic device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657539A (en) * 2015-12-30 2016-06-08 深圳Tcl数字技术有限公司 Video playing method and device
WO2018072652A1 (en) * 2016-10-17 2018-04-26 腾讯科技(深圳)有限公司 Video processing method, video processing device, and storage medium
US11012740B2 (en) 2016-10-17 2021-05-18 Tencent Technology (Shenzhen) Company Limited Method, device, and storage medium for displaying a dynamic special effect
US11412292B2 (en) 2016-10-17 2022-08-09 Tencent Technology (Shenzhen) Company Limited Video processing method, video processing device, and storage medium
CN106713881A (en) * 2016-12-23 2017-05-24 维沃移动通信有限公司 Projection method and mobile terminal
CN109002361A (en) * 2017-06-07 2018-12-14 阿里巴巴集团控股有限公司 Data processing method, distribution method, electronic equipment, client and storage medium
CN107371061A (en) * 2017-08-25 2017-11-21 普联技术有限公司 A kind of video stream playing method, device and equipment
CN108024072A (en) * 2017-11-30 2018-05-11 北京小米移动软件有限公司 Information processing method and equipment
WO2022089178A1 (en) * 2020-10-30 2022-05-05 北京字节跳动网络技术有限公司 Video processing method and device
CN112399087A (en) * 2020-12-07 2021-02-23 Oppo(重庆)智能科技有限公司 Image processing method, image processing apparatus, image capturing apparatus, electronic device, and storage medium
CN113612923A (en) * 2021-07-30 2021-11-05 重庆电子工程职业学院 Dynamic visual effect enhancement system and control method
CN113612923B (en) * 2021-07-30 2023-02-03 重庆电子工程职业学院 Dynamic visual effect enhancement system and control method

Also Published As

Publication number Publication date
CN104967865B (en) 2019-10-11

Similar Documents

Publication Publication Date Title
CN104967865A (en) Video previewing method and apparatus
CN105025314A (en) Multimedia live broadcast method and device
CN103905885A (en) Video live broadcast method and device
CN104834529A (en) Method and device for optimizing performance of application
CN105554550A (en) Video playing method and device
CN104519404A (en) Graphics interchange format file playing method and device
CN104618217A (en) Method, terminal, server and system for sharing resource
CN103699309B (en) A kind of method for recording of synchronization video, device and mobile terminal
CN104426962A (en) Multi-terminal binding method, binding server, terminal and multi-terminal binding system
CN104967790A (en) Photo shooting method, photo shooting apparatus and mobile terminal
CN105516784A (en) Virtual good display method and device
CN104717341A (en) Message prompting method and terminal
CN104935955A (en) Live video stream transmission method, device and system
CN104837042A (en) Digital multimedia data encoding method and apparatus
CN105187733A (en) Video processing method, device and terminal
CN105007543A (en) Intercommunication method, apparatus, device and system
CN103338145B (en) Method, device and system for controlling voice data transmission
CN104518945A (en) Method, device, and system for sending and receiving social network information
CN104602135A (en) Method and device for controlling full screen play
CN104036536A (en) Generating method and apparatus of stop motion animation
CN105491135A (en) Data connection establishing method and device
CN104967608A (en) Method of playing multimedia file, mobile terminal and fixing terminal
CN103200077B (en) The method of data interaction during a kind of voice call, Apparatus and system
CN104967864A (en) Video merging method and apparatus
CN105335238A (en) Inter-process communication method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant