CN104093090A - Video processing method and device - Google Patents

Video processing method and device Download PDF

Info

Publication number
CN104093090A
CN104093090A CN201410265398.1A CN201410265398A CN104093090A CN 104093090 A CN104093090 A CN 104093090A CN 201410265398 A CN201410265398 A CN 201410265398A CN 104093090 A CN104093090 A CN 104093090A
Authority
CN
China
Prior art keywords
video
pending
pending video
cut
preview
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
CN201410265398.1A
Other languages
Chinese (zh)
Other versions
CN104093090B (en
Inventor
吴宪
徐柯
刘少华
王希山
房玉玺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201410265398.1A priority Critical patent/CN104093090B/en
Publication of CN104093090A publication Critical patent/CN104093090A/en
Application granted granted Critical
Publication of CN104093090B publication Critical patent/CN104093090B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention provides a video processing method and device. The video processing method and device solve the problem that existing video processing efficiency is low. The method includes the steps of displaying playing information of at least two videos to be processed in a mobile terminal according to the obtaining sequence; selecting the target videos to be processed and displaying image data corresponding to preview frames of all cut time points in the target videos to be processed; recording received cut processing information of each target video to be processed, wherein the cut processing information includes the cut starting time points and the cut stopping time points of the videos to be processed; sequentially conducting preview playing on the cut videos of the videos to be processed, wherein the videos to be processed are played from the cut starting time points in the preview playing process and playing is not stopped until the playing time reaches the cut stopping time points. By means of the method and the device, the time points to be cut can be visually and accurately determined, preview playing can be conducted on the cut videos without directly cutting the videos, and cutting efficiency is improved.

Description

A kind of method for processing video frequency and device
Technical field
The present invention relates to video processing technique, particularly relate to a kind of method for processing video frequency and a kind of video process apparatus.
Background technology
Along with the development of mobile terminal, increasing user's displaying video in mobile terminal, and corresponding image material is carried out to Video processing, as cut, paste and increase effect etc.
But, conventionally while carrying out the processing of image material on mobile terminal, only can be for processing such as one section of material cut, allow to cutting multistage image material, also be to add respectively every section of video, then this section of video play, after finishing playing, user need to according to the impression to video playback or manually recording select time cuts, cannot immediately determine whether corresponding video content of the time of selecting needs, therefore may need repeatedly watch video and cut, efficiency is lower.
Summary of the invention
The embodiment of the present invention provides a kind of method for processing video frequency, to solve the lower problem of existing Video processing efficiency.
Accordingly, the embodiment of the present invention also provides a kind of video process apparatus, in order to ensure the implementation and application of said method.
In order to address the above problem, the invention discloses a kind of method for processing video frequency, comprising: in mobile terminal, according to obtaining order, the broadcast information of at least two pending videos is shown; Choose the pending video of target, and each preview frame correspondence image data that cut time point in the pending video of target are shown; The process information that cuts of the pending video of each target receiving is carried out respectively to record, wherein, described in cut that process information comprises pending video initially cut time point and end cuts time point; Successively the video that cuts of each pending video is carried out to preview broadcasting, wherein, preview starts to play described pending video from the initial time point that cuts while broadcasting, finishes to stop playing while cutting time point until reproduction time reaches.
Optionally, describedly in mobile terminal, according to obtaining order, the broadcast information of at least two pending videos is shown, comprising: according to selecting acquisition of information at least two pending videos, and obtain the broadcast information of each pending video; In the primary importance of described mobile terminal, successively the broadcast information of each pending video is shown according to obtaining order.
Optionally, also comprise: receive indication information described pending video is decoded, determine each frame of video of described pending video; In the second place of described mobile terminal, according to pending video described in described presentation of video frames.
Optionally, described each preview frame correspondence image data that cut time point in the pending video of target are shown, comprising: the pending video of target is decoded, determine each frame of video that time point comprises that cuts; From each at least one frame of video of described extraction that cuts the frame of video that time point comprises respectively as preview frame; Obtain each preview frame correspondence image data, in the primary importance of described mobile terminal, show the each preview frame correspondence image data that respectively cut time point.
Optionally, also comprise the step that each pending video is reordered: in the primary importance of described mobile terminal, determine and choose pending video according to trigger message, other pending videos are not for choosing pending video; To choose pending video simultaneously and respectively not choose pending video oppositely to move according to slip information, and choosing pending video to be inserted on assigned address described in inciting somebody to action; Wherein, described assigned address comprises: do not choose between pending video for any two, or respectively do not choose pending video foremost, or respectively do not choose the rearmost end of pending video.
Optionally, describedly will choose pending video and respectively not choose pending video oppositely to move simultaneously according to slip information, comprise: according to described in choose the quantity that cuts video in the positional information of pending video and described mobile terminal, calculate sliding distance and do not choose the ratio of pending video moving step length; From described slip information, obtain glide direction, by the described sliding distance of choosing pending video to move described slip information instruction, in the opposite direction of described glide direction, do not choose pending video to move with described sliding distance corresponding step-length by described according to described ratio according to described glide direction simultaneously.
Optionally, the described video that cuts to each pending video carries out preview broadcasting, comprising: determine preview playing sequence according to the order of obtaining order or reorder; In the second place of described mobile terminal, play the video that cuts of each pending video according to described preview playing sequence preview.
Optionally, also comprise: cut time point and end and cut time point and determine and cut the time period according to cutting initial in process information; Cut the time period the pending video of described target cut according to described, described in obtaining, cut the time period corresponding cut video; Splice generation splicing video according to the order of obtaining order or reorder to respectively cutting video.
Accordingly, the invention also discloses a kind of video process apparatus, comprising: the first display module, for the broadcast information of at least two pending videos being shown according to obtaining order at mobile terminal; Each preview frame correspondence image data that cut time point in the pending video of target are shown; Decoder module, for choosing the pending video of target, and each at least one preview frame that cuts time point in the pending video of definite target; Cut module, for the process information that cuts of the pending video of each target receiving is carried out respectively to record, wherein, described in cut that process information comprises pending video initially cut time point and end cuts time point; The second display module, carries out preview broadcasting for the video that cuts to each pending video successively, and wherein, preview starts to play described pending video from the initial time point that cuts while broadcasting, finishes to stop playing while cutting time point until reproduction time reaches.
Optionally, described the first display module, selects at least two pending videos of acquisition of information for foundation, and obtains the broadcast information of each pending video; In the primary importance of described mobile terminal, successively the broadcast information of each pending video is shown according to obtaining order.
Optionally, described decoder module, also decodes to described pending video for receiving indication information, determines each frame of video of described pending video; The second display module, also for the second place at described mobile terminal, according to pending video described in described presentation of video frames.
Optionally, described decoder module, for the pending video of target is decoded, determines each frame of video that time point comprises that cuts; From each at least one frame of video of described extraction that cuts the frame of video that time point comprises respectively as preview frame; Described the first display module for obtaining each preview frame correspondence image data, shows the each preview frame correspondence image data that respectively cut time point in the primary importance of described mobile terminal.
Optionally, also comprise: the module that reorders, for reordering to respectively cutting video; Concrete, in the primary importance of described mobile terminal, determine and choose pending video according to trigger message, other cut video for not choosing pending video; To choose pending video simultaneously and respectively not choose pending video oppositely to move according to slip information, and choosing pending video to be inserted on assigned address described in inciting somebody to action; Wherein, described assigned address comprises: do not choose between pending video for any two, or respectively do not choose pending video foremost, or respectively do not choose the rearmost end of pending video.
Optionally, described in the module that reorders, for choosing the positional information of pending video and described mobile terminal to cut the quantity of video described in foundation, calculate sliding distance and do not choose the ratio of pending video moving step length; From described slip information, obtain glide direction, by the described sliding distance of choosing pending video to move described slip information instruction, in the opposite direction of described glide direction, do not choose pending video to move with described sliding distance corresponding step-length by described according to described ratio according to described glide direction simultaneously.
Optionally, described the second display module, for determining preview playing sequence according to the order of obtaining order or reorder; In the second place of described mobile terminal, play the video that cuts of each pending video according to described preview playing sequence preview.
Optionally, described in cut module, also for initially cutting time point and end and cut time point and determine and cut the time period according to what cutting process information; Cut the time period the pending video of described target cut according to described, described in obtaining, cut the time period corresponding cut video; Described device also comprises: concatenation module, splice generation splicing video for the order according to obtaining order or reorder to respectively cutting video.
Compared with prior art, the embodiment of the present invention comprises following advantage:
In mobile terminal, according to obtaining order, the broadcast information of at least two pending videos is shown, then choose the pending video of target, and each preview frame correspondence image data that cut time point in the pending video of this target are shown, before the pending video of target is cut, can carry out preview to its each time point that cuts by preview frame, thereby can intuitive and accurately determine and improve the efficiency cutting by the time point that will cut.Then to comprising that the process information that cuts that starting and ending cuts time point preserves, then start to play described pending video from the initial time point that cuts, until reaching, reproduction time finishes to stop playing while cutting time point, to realize, the preview that cuts video of pending video is play, directly do not cutting on the basis of pending video, also can carry out preview broadcasting to the video that cuts of each pending video, thereby can not lose pending video, if have, demand is follow-up can directly re-start and cut this pending video, and do not cut video and get final product the effect after preview cuts, further improve the treatment effeciency of video.
Brief description of the drawings
Fig. 1 is the flow chart of steps of a kind of method for processing video frequency embodiment of the present invention;
Fig. 2 is the flow chart of steps of the optional embodiment of a kind of method for processing video frequency of the present invention;
Fig. 3 is how pending video preview schematic diagram in a kind of optional embodiment of the present invention;
Fig. 4 is how pending video preview schematic diagram in a kind of optional embodiment of the present invention;
Fig. 5 is that in a kind of optional embodiment of the present invention, video is deleted schematic diagram;
Fig. 6 is the structured flowchart of a kind of video process apparatus embodiment of the present invention;
Fig. 7 is the structured flowchart of the optional embodiment of a kind of video process apparatus of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
One of core idea of the embodiment of the present invention is, a kind of method for processing video frequency is provided, to solve the lower problem of existing Video processing efficiency.The embodiment of the present invention can show the broadcast information of at least two pending videos according to obtaining order in mobile terminal, then choose the pending video of target, and each preview frame correspondence image data that cut time point in the pending video of this target are shown, before the pending video of target is cut, can carry out preview to its each time point that cuts by preview frame, thereby can intuitive and accurately determine and improve the efficiency cutting by the time point that will cut.Then to comprising that the process information that cuts that starting and ending cuts time point preserves, then start to play described pending video from the initial time point that cuts, until reaching, reproduction time finishes to stop playing while cutting time point, to realize, the preview that cuts video of pending video is play, directly do not cutting on the basis of pending video, also can carry out preview broadcasting to the video that cuts of each pending video, thereby can not lose pending video, if have, demand is follow-up can directly re-start and cut this pending video, and do not cut video and get final product the effect after preview cuts, further improve the treatment effeciency of video.
Embodiment mono-
With reference to Fig. 1, show the flow chart of steps of a kind of method for processing video frequency embodiment of the present invention, specifically can comprise the steps:
Step 102 shows the broadcast information of at least two pending videos according to obtaining order in mobile terminal.
Carry out Video processing in mobile terminal time, sometimes need how each video to cut, paste and form one section of new video.In the embodiment of the present invention, determining after at least two pending videos that user selects, determining the broadcast information of each pending video and according to obtaining order, each broadcast information be illustrated in mobile terminal simultaneously.Wherein, broadcast information refers to the information relevant to video playback, as playing duration, the video name etc. of this video.In the screen of mobile terminal, show the broadcast information of multiple pending videos and pending video simultaneously, wherein can be according to the sequencing of selecting, and broadcast information is determined the display position of each pending video in screen.
Step 104, chooses the pending video of target, and each preview frame correspondence image data that cut time point in the pending video of target are shown.
In the embodiment of the present invention, cut time point and refer to the chronomere that video cuts, which kind of chronomere to carry out cutting of video with, as cut time point and be set to 1 second, video is cut exactly and cut by second.
Carrying out video while cutting, need cut each pending video respectively, therefore can be from pending video the pending video of select target.Then for each time point that cuts of the pending video of target, determine at least one preview frame, extract preview frame as waited operation to obtain the frame of video from cutting time point by decoding, then each preview frame correspondence image data that cut time point are shown successively, in mobile terminal, the pending video of target each cut to the video image that time point is corresponding and carry out preview, be convenient to user and determine intuitively each video information that cuts time point, thereby improve the accuracy and efficiency that candidate selects cutting time point.
Step 106, carries out respectively record to the process information that cuts of the pending video of each target receiving.
By preview frame correspondence image data are carried out to preview displaying, user can determine each video information that cuts time point intuitively, thereby selects accurately the initial mobile terminal that cuts process information feedback that cuts time point and finish to cut time point formation.
Mobile terminal receives and cuts after process information, wouldn't directly cut the pending video of described target, but carry out record to cutting process information, so just can not damage on the basis of the pending video of target, determine the video after cutting according to cutting process information, be convenient to follow-uply again cut, reduce the waste that cuts middle time and resource simultaneously.
Step 108, carries out preview broadcasting to the video that cuts of each pending video successively, and wherein, preview starts to play described pending video from the initial time point that cuts while broadcasting, finishes to stop playing while cutting time point until reproduction time reaches.
Cannot play-over and cut video owing to wouldn't directly pending video being cut, therefore cut video for the ease of user's preview, can, by according to cutting the pending video of wanting seeking time to play in process information, carry out preview broadcasting to cutting video.In the time playing pending video, directly start to play from the initial time point that cuts, finish to stop playing while cutting time point until reproduction time reaches, thereby do not damaging on the basis of pending video, also can preview cut video.If after this user is dissatisfied to cutting video, can directly select again to cut, and cut again after again obtaining pending video, improve Video processing efficiency, be the treatment effeciency that video-previewing has also further improved video without cutting simultaneously.
And can be chosen in pending video cut process information determine after, the video that cuts of this pending video is carried out to preview, also can be chosen in all pending videos cut process information all determine after, successively the video that cuts of each pending video is carried out to preview according to a definite sequence.
In sum, in mobile terminal, according to obtaining order, the broadcast information of at least two pending videos is shown, then choose the pending video of target, and each preview frame correspondence image data that cut time point in the pending video of this target are shown, before the pending video of target is cut, can carry out preview to its each time point that cuts by preview frame, thereby can intuitive and accurately determine and improve the efficiency cutting by the time point that will cut.Then to comprising that the process information that cuts that starting and ending cuts time point preserves, then start to play described pending video from the initial time point that cuts, until reaching, reproduction time finishes to stop playing while cutting time point, to realize, the preview that cuts video of pending video is play, directly do not cutting on the basis of pending video, also can carry out preview broadcasting to the video that cuts of each pending video, thereby can not lose pending video, if have, demand is follow-up can directly re-start and cut this pending video, and do not cut video and get final product the effect after preview cuts, further improve the treatment effeciency of video.
Embodiment bis-
On the basis of above-described embodiment, the present embodiment further provides method for processing video frequency.
With reference to Fig. 2, show the flow chart of steps of the optional embodiment of a kind of method for processing video frequency of the present invention, specifically can comprise the steps:
Step 202, according to selecting at least two pending videos of acquisition of information, and obtains the broadcast information of each pending video.
Step 204, in the primary importance of mobile terminal, shows the broadcast information of each pending video successively according to obtaining order.
Step 206, receives indication information described pending video is decoded, and determines each frame of video of described pending video.
Step 208, in the second place of described mobile terminal, according to pending video described in described presentation of video frames.
In the embodiment of the present invention, carry out the processing operations such as cutting of many videos for ease of user, the multiple pending video that user is selected is all illustrated in the screen of mobile terminal, first from the selection information of feedback, obtain at least two pending videos, and obtain the broadcast information of each pending video, as playing duration, the video name etc. of this video, then in mobile terminal, show the broadcast information of each pending video, and can carry out playblast to corresponding pending video according to user's selection.
Wherein, for the ease of user, video is carried out to preview and to processing such as many videos cut, can carry out split screen processing to the viewing area of mobile terminal screen, thereby make the broadcasting of pending video and its broadcast information divide different regions to show, at least comprise primary importance and the second place.Wherein, primary importance, for showing identification information and the broadcast information of each pending video,, is convenient to user and is watched video to select to cut the time period for pending video is play in the second place.
Thereby the identification information of each pending video and broadcast information can be illustrated in primary importance, wherein identification information refers to the information that can identify pending video, as icon, the first two field picture etc., thereby in primary importance, can demonstrate each pending video and be convenient to user's selection, in the time that the region of primary importance is not enough to show all pending videos, as shorter in the length of primary importance and pending video is more, the identification information of pending video all cannot be presented in primary importance, can sort to each pending video according to the order of obtaining pending video, according to the identification information of clooating sequence pending video in display section in primary importance, the identification information of other pending videos that do not show can be by sliding, the movement instructions such as click on scroll bar are moved and show according to clooating sequence.
In order to make user carry out preview to pending video information before cutting, to pre-determine the time period cutting, in the second place, pending video information is play.In actual treatment, user can select a certain pending video to send indication information in primary importance, and the pending video that described indication information is used to indicate choosing is play.Video process apparatus can receive this execution information, then the pending video of choosing is decoded, and obtains each frame of video of pending video by decoding, plays after then each frame of video being played up etc. to processing in the second place.
How pending video preview schematic diagram in the optional embodiment of one as shown in Figure 3, it adopts the mode of upper and lower split screen, and wherein A part is as the second place, for pending video is carried out to preview broadcasting; B part is as primary importance, for showing identification information and the broadcast information of pending video.Wherein, in B part, B1 is the playing progress bar of each pending video of interpolation; B2 is the duration information of the pending video of current broadcasting, also can further show total duration and current playing duration etc.; B3 is the identification information of the pending video of part.
As B1 in Fig. 3 comprises 12 playing progress bar, current 12 the pending videos that at least loaded are described, and in B3, only shown 6 pending videos, illustrate other pending videos due to B region (screen) restriction do not show, follow-up can by movement wait operate show.Current Fig. 3 has selected time-out to playing the 3rd video, in the 3rd of B1 the playing progress bar, exist round dot to identify as the first broadcasting, simultaneously on the identification information of the 3rd the pending video of B3, also exist vertical line to identify as the second broadcasting, for showing intuitively the information such as play position of current pending video.
Certainly, also can comprise other bands of position in mobile terminal, as the C region in Fig. 3, can select to continue to add material (being pending video) etc., the embodiment of the present invention is not construed as limiting this.
In actual treatment, be that above-mentioned steps 206 and 208 is nonessential to the broadcasting of pending video, the broadcast information of also showing each pending video in the primary importance of mobile terminal can be carried out the follow-up step such as cut, the embodiment of the present invention is not construed as limiting this, can carry out according to actual demand.
Step 210, determines the pending video of target and the pending video of target is decoded, and determines each frame of video that time point comprises that cuts.
Step 212, from each at least one frame of video of described extraction that cuts the frame of video that time point comprises respectively as preview frame.
Step 214, obtains each preview frame correspondence image data, shows the each preview frame correspondence image data that respectively cut time point in the primary importance of described mobile terminal.
User can add pending video, or after pending video is play, determines the pending video of target cutting.In order to improve the accuracy and efficiency cutting, the embodiment of the present invention provides the preview function that cuts time point in the time that user's execution cuts, therefore video process apparatus is being selected according to user to determine after the pending video of target, can decode to the pending video of target, thereby determine each frame of video, wherein set in advance the chronomere cutting and cut time point, as 1 second, now each frame of video that time point comprises that cuts is obtained in decoding, then from cutting that frame of video that time point comprises is all sampled or the operation such as extraction to each, therefrom extract at least one frame of video as preview frame.
Then obtain view data corresponding to each preview frame, i.e. image corresponding to this frame of video in the pending video of this target.In the embodiment of the present invention, primary importance also provides the preview function that cuts time point, also respectively cuts each preview frame correspondence image data of time point for the pending video of display-object.Therefore after the pending video of selected target, owing to will the pending video of this target being cut, therefore after this primary importance no longer shows each pending video, but shows the each preview frame correspondence image data that respectively cut time point.Current, with showing that pending video is consistent, due to the size restrictions of primary importance, only display section preview frame, all the other do not show based on mobile message and show.
Be illustrated in figure 4 how pending video preview schematic diagram in a kind of optional embodiment, using the 3rd pending video as the pending video of target, 1 second unit is set for cutting time point, after obtaining each frame of video per second by decoding, extraction 4 frame of video are wherein as preview frame, individual preview frame is illustrated in B3, now in B2, can respective identification goes out the corresponding time point that cuts.
And, can carry out focus displaying to the time point that cuts of choosing, in Fig. 4, choosing and cutting time point is the 3rd second, each preview frame correspondence image data of the 3rd second are highlighted, and corresponding the preview window can be set, and other seconds display section preview frame correspondence image data only.
Step 216, carries out respectively record to the process information that cuts of the pending video of each target receiving.
Step 218, carries out preview broadcasting to the video that cuts of each pending video successively.
The embodiment of the present invention comprises the initial process information that cuts that cuts time point and finish to cut time point by record, determine the video that cuts of pending video, thereby before final definite cutting, pending video is not cut, avoid pending video to cause damage.
In the time carrying out preview broadcasting, play the corresponding video that cuts the time period in pending video according to cutting process information, thereby to all pending videos cut video carry out preview play time, to each pending video successively according to above-mentioned steps plays get final product preview cut the effect after video-splicing.
Therefore, the embodiment of the present invention can all be shown each pending video in primary importance, realize the demonstration of gathering to pending video, also can carry out preview to the time point that respectively cuts of the pending video of target, realize the expansion of pending video is shown, display mode is more flexible, meets the processing demands of different operating step.
In optional embodiment of the present invention, also comprise the step that each pending video is reordered: in the primary importance of described mobile terminal, determine and choose pending video according to trigger message, other cut video for not choosing pending video; To choose pending video simultaneously and respectively not choose pending video oppositely to move according to slip information, and choosing pending video to be inserted on assigned address described in inciting somebody to action.
After cutting by multiple videos, can splice and generate a splicing video, cut and carried out after preview broadcasting, user may need the order to cutting video to adjust, be convenient to the splicing of subsequent video, owing to not cutting pending video, therefore can directly realize and cut reordering of video by the pending video that reorders.
When cutting video and reorder, can determine and choose pending video according to trigger message, as received a certain length that cuts video by trigger messages such as message or click message, this is cut to video as choosing pending video, locate to choose other beyond pending video to cut video for not choosing pending video.Then by slip information to choosing pending video to move according to a direction, respectively do not choose pending video to carry out moving according to the opposite direction of choosing pending video simultaneously, reaching behind the formulation position of wanting to move, will choose pending video to be inserted on assigned address.Wherein, described assigned address comprises: do not choose between pending video for any two, or respectively do not choose pending video foremost, or respectively do not choose the rearmost end of pending video.Can will choose pending video and be inserted into certain two adjacent not choosing between pending video along with movement, or be inserted into cut video foremost or rearmost end, realize and cut reordering of video.
In optional embodiment of the present invention, describedly will choose pending video and respectively not choose pending video oppositely to move simultaneously according to slip information, comprise: according to described in choose the quantity that cuts video in the positional information of pending video and described mobile terminal, calculate sliding distance and do not choose the ratio of pending video moving step length; From described slip information, obtain glide direction, by the described sliding distance of choosing pending video to move described slip information instruction, in the opposite direction of described glide direction, do not choose pending video to move with described sliding distance corresponding step-length by described according to described ratio according to described glide direction simultaneously.
In the embodiment of the present invention, in order to realize and to cut reordering of video fast, will choose pending video and respectively not choose pending video oppositely to move simultaneously.Now will calculate sliding distance and not choose the ratio of pending video moving step length, obtain the positional information of choosing pending video, choosing pending video as determined is L1 apart from the distance of glide direction caudal end, the quantity that cuts video in described mobile terminal is X1, be X2 in the number of videos of the described glide direction side of choosing pending video, each to cut the length that video takies be L2, sliding distance and not choose the ratio of pending video moving step length be L1/ (X2*L2).
When mobile, move and choose pending video according to obtaining glide direction in slip information, along with choosing the movement of pending video, to not choose pending video to move according to the opposite direction of described glide direction, now according to above-mentioned ratio, do not choose pending video to move the step-length corresponding with choosing pending video sliding distance, until choose pending video to reach assigned address, carry out update and complete and reorder.
In the embodiment of the present invention, choose pending video and respectively do not choose pending video oppositely to move simultaneously, be different from the caudal end that cuts video and slide into current demonstration and cut video by choosing, cut to not choosing the technical scheme that video slides again, carry out the oppositely mobile sliding distance that reduces simultaneously and improve the efficiency reordering simultaneously.
In optional embodiment of the present invention, the video that cuts of each pending video is carried out to preview broadcasting, comprising: determine preview playing sequence according to the order of obtaining order or reorder; In the second place of described mobile terminal, play the video that cuts of each pending video according to described preview playing sequence preview.
Can be before reordering or after reordering to the preview broadcasting that cuts video, before wherein reordering owing to cutting the DISPLAY ORDER of each pending video and cut the DISPLAY ORDER of video, therefore the order that can obtain order or reorder is determined preview playing sequence, then in the second place of mobile terminal, play the video that cuts of each pending video according to described preview playing sequence preview.Preview is play basically identical with above-described embodiment, therefore repeats no more.
In optional embodiment of the present invention, also comprise the step that pending video is cut and spliced, comprising: cut time point and end and cut time point and determine and cut the time period according to cutting initial in process information; Cut the time period the pending video of described target cut according to described, described in obtaining, cut the time period corresponding cut video; Splice generation splicing video according to the order of obtaining order or reorder to respectively cutting video.
Determining the current selection that cuts time point by preview, after determining that can carry out video cuts, can adopt to cut initial in process information and cut time point and end and cut time point and determine and cut the time period, determine the time period that the pending video of target is cut.From the pending video of target, cut out this cut the time period corresponding cut video, thereby from the pending video of target, intercepted the video needing.Then splice generation splicing video according to the order of obtaining order or reorder to respectively cutting video, complete the processing operation of video.
In the embodiment of the present invention, can also cut video or pending video is deleted to unwanted, can choose as shown in Figure 5 the video that will delete, this video be dragged to the dustbin showing in Fig. 5 and identify deletion.
It should be noted that, for embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not subject to the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action might not be that the embodiment of the present invention is necessary.
Embodiment tri-
On the basis of above-described embodiment, the present embodiment also provides a kind of video process apparatus.
With reference to Fig. 6, show the structured flowchart of a kind of video process apparatus embodiment of the present invention, specifically can comprise as lower module:
The first display module 602, for showing the broadcast information of at least two pending videos according to obtaining order at mobile terminal; Each preview frame correspondence image data that cut time point in the pending video of target are shown.
Decoder module 604, for choosing the pending video of target, and each at least one preview frame that cuts time point in the pending video of definite target.
Cut module 606, for the process information that cuts of the pending video of each target receiving is carried out respectively to record, wherein, described in cut that process information comprises pending video initially cut time point and end cuts time point.
The second display module 608, carries out preview broadcasting for the video that cuts to each pending video successively, and wherein, preview starts to play described pending video from the initial time point that cuts while broadcasting, finishes to stop playing while cutting time point until reproduction time reaches.
In sum, in mobile terminal, according to obtaining order, the broadcast information of at least two pending videos is shown, then choose the pending video of target, and each preview frame correspondence image data that cut time point in the pending video of this target are shown, before the pending video of target is cut, can carry out preview to its each time point that cuts by preview frame, thereby can intuitive and accurately determine and improve the efficiency cutting by the time point that will cut.Then to comprising that the process information that cuts that starting and ending cuts time point preserves, then start to play described pending video from the initial time point that cuts, until reaching, reproduction time finishes to stop playing while cutting time point, to realize, the preview that cuts video of pending video is play, directly do not cutting on the basis of pending video, also can carry out preview broadcasting to the video that cuts of each pending video, thereby can not lose pending video, if have, demand is follow-up can directly re-start and cut this pending video, and do not cut video and get final product the effect after preview cuts, further improve the treatment effeciency of video.
With reference to Fig. 7, show the structured flowchart of the optional embodiment of a kind of video process apparatus of the present invention, specifically can comprise as lower module:
Wherein, the first display module 602, selects at least two pending videos of acquisition of information for foundation, and obtains the broadcast information of each pending video; In the primary importance of described mobile terminal, successively the broadcast information of each pending video is shown according to obtaining order.
Described decoder module 604, also decodes to described pending video for receiving indication information, determines each frame of video of described pending video; The second display module 608, also for the second place at described mobile terminal, according to pending video described in described presentation of video frames.
Described decoder module 604, for the pending video of target is decoded, determines each frame of video that time point comprises that cuts; From each at least one frame of video of described extraction that cuts the frame of video that time point comprises respectively as preview frame; Described the first display module 602 for obtaining each preview frame correspondence image data, shows the each preview frame correspondence image data that respectively cut time point in the primary importance of described mobile terminal.
The module 610 that reorders, for reordering to respectively cutting video; Concrete, in the primary importance of described mobile terminal, determine and choose pending video according to trigger message, other cut video for not choosing pending video; To choose pending video simultaneously and respectively not choose pending video oppositely to move according to slip information, and choosing pending video to be inserted on assigned address described in inciting somebody to action; Wherein, described assigned address comprises: do not choose between pending video for any two, or respectively do not choose pending video foremost, or respectively do not choose the rearmost end of pending video.
The described module 610 that reorders, for choosing the positional information of pending video and described mobile terminal to cut the quantity of video described in foundation, calculates sliding distance and does not choose the ratio of pending video moving step length; From described slip information, obtain glide direction, by the described sliding distance of choosing pending video to move described slip information instruction, in the opposite direction of described glide direction, do not choose pending video to move with described sliding distance corresponding step-length by described according to described ratio according to described glide direction simultaneously.
The second display module 608, for determining preview playing sequence according to the order of obtaining order or reorder; In the second place of described mobile terminal, play the video that cuts of each pending video according to described preview playing sequence preview.
The described module 606 that cuts, for initially cutting time point and end and cut time point and determine and cut the time period according to what cutting process information; Cut the time period the pending video of described target cut according to described, described in obtaining, cut the time period corresponding cut video; Concatenation module 612, splices generation splicing video for the order according to obtaining order or reorder to respectively cutting video.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.
Those skilled in the art should understand, the embodiment of the embodiment of the present invention can be provided as method, device or computer program.Therefore, the embodiment of the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the embodiment of the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The embodiment of the present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, terminal equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminal equipment to produce a machine, the instruction that makes to carry out by the processor of computer or other programmable data processing terminal equipment produces the device for realizing the function of specifying at flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing terminal equipment with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable terminal equipment, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame on computer or other programmable terminal equipment.
Although described the preferred embodiment of the embodiment of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and amendment to these embodiment.So claims are intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of embodiment of the present invention scope.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the terminal equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or terminal equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal equipment that comprises described key element and also have other identical element.
Above to a kind of method for processing video frequency provided by the present invention and a kind of video process apparatus, be described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (16)

1. a method for processing video frequency, is characterized in that, comprising:
In mobile terminal, according to obtaining order, the broadcast information of at least two pending videos is shown;
Choose the pending video of target, and each preview frame correspondence image data that cut time point in the pending video of target are shown;
The process information that cuts of the pending video of each target receiving is carried out respectively to record, wherein, described in cut that process information comprises pending video initially cut time point and end cuts time point;
Successively the video that cuts of each pending video is carried out to preview broadcasting, wherein, preview starts to play described pending video from the initial time point that cuts while broadcasting, finishes to stop playing while cutting time point until reproduction time reaches.
2. method according to claim 1, is characterized in that, described in mobile terminal according to obtain order the broadcast information of at least two pending videos is shown, comprising:
According to selecting at least two pending videos of acquisition of information, and obtain the broadcast information of each pending video;
In the primary importance of described mobile terminal, successively the broadcast information of each pending video is shown according to obtaining order.
3. method according to claim 1 and 2, is characterized in that, also comprises:
Receive indication information described pending video is decoded, determine each frame of video of described pending video;
In the second place of described mobile terminal, according to pending video described in described presentation of video frames.
4. method according to claim 1, is characterized in that, described each preview frame correspondence image data that cut time point in the pending video of target is shown, comprising:
The pending video of target is decoded, determine each frame of video that time point comprises that cuts;
From each at least one frame of video of described extraction that cuts the frame of video that time point comprises respectively as preview frame;
Obtain each preview frame correspondence image data, in the primary importance of described mobile terminal, show the each preview frame correspondence image data that respectively cut time point.
5. method according to claim 1, is characterized in that, also comprises the step that each pending video is reordered:
In the primary importance of described mobile terminal, determine and choose pending video according to trigger message, other pending videos are not for choosing pending video;
To choose pending video simultaneously and respectively not choose pending video oppositely to move according to slip information, and choosing pending video to be inserted on assigned address described in inciting somebody to action;
Wherein, described assigned address comprises: do not choose between pending video for any two, or respectively do not choose pending video foremost, or respectively do not choose the rearmost end of pending video.
6. method according to claim 5, is characterized in that, describedly will choose pending video and respectively not choose pending video oppositely to move simultaneously according to slip information, comprising:
According to described in choose the quantity that cuts video in the positional information of pending video and described mobile terminal, calculate sliding distance and do not choose the ratio of pending video moving step length;
From described slip information, obtain glide direction, by the described sliding distance of choosing pending video to move described slip information instruction, in the opposite direction of described glide direction, do not choose pending video to move with described sliding distance corresponding step-length by described according to described ratio according to described glide direction simultaneously.
7. method according to claim 5, is characterized in that, the described video that cuts to each pending video carries out preview broadcasting, comprising:
Determine preview playing sequence according to the order of obtaining order or reorder;
In the second place of described mobile terminal, play the video that cuts of each pending video according to described preview playing sequence preview.
8. method according to claim 5, is characterized in that, also comprises:
Cut time point and end and cut time point and determine and cut the time period according to cutting initial in process information;
Cut the time period the pending video of described target cut according to described, described in obtaining, cut the time period corresponding cut video;
Splice generation splicing video according to the order of obtaining order or reorder to respectively cutting video.
9. a video process apparatus, is characterized in that, comprising:
The first display module, for showing the broadcast information of at least two pending videos according to obtaining order at mobile terminal; Each preview frame correspondence image data that cut time point in the pending video of target are shown;
Decoder module, for choosing the pending video of target, and each at least one preview frame that cuts time point in the pending video of definite target;
Cut module, for the process information that cuts of the pending video of each target receiving is carried out respectively to record, wherein, described in cut that process information comprises pending video initially cut time point and end cuts time point;
The second display module, carries out preview broadcasting for the video that cuts to each pending video successively, and wherein, preview starts to play described pending video from the initial time point that cuts while broadcasting, finishes to stop playing while cutting time point until reproduction time reaches.
10. device according to claim 9, is characterized in that:
Described the first display module, selects at least two pending videos of acquisition of information for foundation, and obtains the broadcast information of each pending video; In the primary importance of described mobile terminal, successively the broadcast information of each pending video is shown according to obtaining order.
11. according to the device described in claim 9 or 10, it is characterized in that:
Described decoder module, also decodes to described pending video for receiving indication information, determines each frame of video of described pending video;
The second display module, also for the second place at described mobile terminal, according to pending video described in described presentation of video frames.
12. devices according to claim 9, is characterized in that:
Described decoder module, for the pending video of target is decoded, determines each frame of video that time point comprises that cuts; From each at least one frame of video of described extraction that cuts the frame of video that time point comprises respectively as preview frame;
Described the first display module for obtaining each preview frame correspondence image data, shows the each preview frame correspondence image data that respectively cut time point in the primary importance of described mobile terminal.
13. devices according to claim 9, is characterized in that, also comprise:
The module that reorders, for reordering to respectively cutting video; Concrete, in the primary importance of described mobile terminal, determine and choose pending video according to trigger message, other cut video for not choosing pending video; To choose pending video simultaneously and respectively not choose pending video oppositely to move according to slip information, and choosing pending video to be inserted on assigned address described in inciting somebody to action; Wherein, described assigned address comprises: do not choose between pending video for any two, or respectively do not choose pending video foremost, or respectively do not choose the rearmost end of pending video.
14. devices according to claim 13, is characterized in that:
The described module that reorders, for choosing the positional information of pending video and described mobile terminal to cut the quantity of video described in foundation, calculates sliding distance and does not choose the ratio of pending video moving step length; From described slip information, obtain glide direction, by the described sliding distance of choosing pending video to move described slip information instruction, in the opposite direction of described glide direction, do not choose pending video to move with described sliding distance corresponding step-length by described according to described ratio according to described glide direction simultaneously.
15. devices according to claim 13, is characterized in that:
Described the second display module, for determining preview playing sequence according to the order of obtaining order or reorder; In the second place of described mobile terminal, play the video that cuts of each pending video according to described preview playing sequence preview.
16. devices according to claim 13, is characterized in that:
The described module that cuts, also for initially cutting time point and end and cut time point and determine and cut the time period according to what cutting process information; Cut the time period the pending video of described target cut according to described, described in obtaining, cut the time period corresponding cut video;
Described device also comprises: concatenation module, splice generation splicing video for the order according to obtaining order or reorder to respectively cutting video.
CN201410265398.1A 2014-06-13 2014-06-13 A kind of method for processing video frequency and device Active CN104093090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410265398.1A CN104093090B (en) 2014-06-13 2014-06-13 A kind of method for processing video frequency and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410265398.1A CN104093090B (en) 2014-06-13 2014-06-13 A kind of method for processing video frequency and device

Publications (2)

Publication Number Publication Date
CN104093090A true CN104093090A (en) 2014-10-08
CN104093090B CN104093090B (en) 2018-04-13

Family

ID=51640762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410265398.1A Active CN104093090B (en) 2014-06-13 2014-06-13 A kind of method for processing video frequency and device

Country Status (1)

Country Link
CN (1) CN104093090B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303669A (en) * 2016-08-17 2017-01-04 深圳鑫联迅科技有限公司 A kind of video clipping method and device
CN107609149A (en) * 2017-09-21 2018-01-19 北京奇艺世纪科技有限公司 A kind of video locating method and device
CN108024083A (en) * 2017-11-28 2018-05-11 北京川上科技有限公司 Handle method, apparatus, electronic equipment and the computer-readable recording medium of video
CN109618225A (en) * 2018-12-25 2019-04-12 百度在线网络技术(北京)有限公司 Video takes out frame method, device, equipment and medium
WO2019120013A1 (en) * 2017-12-20 2019-06-27 北京达佳互联信息技术有限公司 Video editing method and apparatus, and smart mobile terminal
CN113470038A (en) * 2020-03-31 2021-10-01 京东方科技集团股份有限公司 Video cutting method and device, electronic equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101663709A (en) * 2006-12-22 2010-03-03 苹果公司 Regular sampling and presentation of continuous media stream
CN103606158A (en) * 2013-11-29 2014-02-26 深圳市龙视传媒有限公司 Preprocessing method and terminal for video clipping

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101663709A (en) * 2006-12-22 2010-03-03 苹果公司 Regular sampling and presentation of continuous media stream
CN103606158A (en) * 2013-11-29 2014-02-26 深圳市龙视传媒有限公司 Preprocessing method and terminal for video clipping

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303669A (en) * 2016-08-17 2017-01-04 深圳鑫联迅科技有限公司 A kind of video clipping method and device
CN106303669B (en) * 2016-08-17 2019-08-09 深圳鑫联迅科技有限公司 A kind of video clipping method and device
CN107609149A (en) * 2017-09-21 2018-01-19 北京奇艺世纪科技有限公司 A kind of video locating method and device
CN107609149B (en) * 2017-09-21 2020-06-19 北京奇艺世纪科技有限公司 Video positioning method and device
CN108024083A (en) * 2017-11-28 2018-05-11 北京川上科技有限公司 Handle method, apparatus, electronic equipment and the computer-readable recording medium of video
WO2019120013A1 (en) * 2017-12-20 2019-06-27 北京达佳互联信息技术有限公司 Video editing method and apparatus, and smart mobile terminal
US11100955B2 (en) 2017-12-20 2021-08-24 Beijing Dajia Information Technology Co., Ltd. Method, apparatus and smart mobile terminal for editing video
US11568899B2 (en) 2017-12-20 2023-01-31 Beijing Dajia Internet Information Technology Co., Ltd. Method, apparatus and smart mobile terminal for editing video
CN109618225A (en) * 2018-12-25 2019-04-12 百度在线网络技术(北京)有限公司 Video takes out frame method, device, equipment and medium
CN113470038A (en) * 2020-03-31 2021-10-01 京东方科技集团股份有限公司 Video cutting method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN104093090B (en) 2018-04-13

Similar Documents

Publication Publication Date Title
CN104093090A (en) Video processing method and device
CN105307028A (en) Video editing method and device specific to video materials of plurality of lenses
WO2020107297A1 (en) Video clipping control method, terminal device, system
CN104918095A (en) Multimedia stream data preview display method and device
CN103702214A (en) Video playing method and electronic equipment
CN110494833B (en) Multimedia editing method and intelligent terminal
US10090018B2 (en) Method and device for generating video slides
WO2017014800A1 (en) Video editing on mobile platform
CN103024576B (en) The method of positioning video play time
CN104038848A (en) Video processing method and video processing device
CN105898523B (en) A kind of video broadcasting method and device
CN104135693A (en) A video playing method, smart TV and server
CN107920274A (en) A kind of method for processing video frequency, client and server
CN111835985B (en) Video editing method, device, apparatus and storage medium
CN104038705A (en) Video producing method and device
CN104378685A (en) Video switching method and device
CN104424970A (en) Synchronization method and device for multimedia play information
US20240177365A1 (en) Previewing method and apparatus for effect application, and device, and storage medium
CN103442299A (en) Display method for playing records and electronic equipment
CN109429093B (en) Video editing method and terminal
CN105025358A (en) Video playing method and device based on EPG
KR101964346B1 (en) Apparatus for editing video using absolute time and method thereof
CN104394478A (en) Method and player for playing video
CN103500122A (en) Multimedia file playing method and electronic equipment
CN103500234A (en) Method for downloading multi-media files and electronic equipment

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