CN108322831A - video playing control method, mobile terminal and computer readable storage medium - Google Patents

video playing control method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN108322831A
CN108322831A CN201810170662.1A CN201810170662A CN108322831A CN 108322831 A CN108322831 A CN 108322831A CN 201810170662 A CN201810170662 A CN 201810170662A CN 108322831 A CN108322831 A CN 108322831A
Authority
CN
China
Prior art keywords
video
played
time
frame
target image
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.)
Withdrawn
Application number
CN201810170662.1A
Other languages
Chinese (zh)
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.)
GUANGDONG MAXON COMMUNICATION CO Ltd
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
GUANGDONG MAXON COMMUNICATION CO Ltd
Shenzhen Tinno Mobile Technology Co Ltd
Shenzhen Tinno Wireless 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 GUANGDONG MAXON COMMUNICATION CO Ltd, Shenzhen Tinno Mobile Technology Co Ltd, Shenzhen Tinno Wireless Technology Co Ltd filed Critical GUANGDONG MAXON COMMUNICATION CO Ltd
Priority to CN201810170662.1A priority Critical patent/CN108322831A/en
Publication of CN108322831A publication Critical patent/CN108322831A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Abstract

The invention discloses a kind of video playing control method, mobile terminal and computer readable storage medium, video playing control method includes:Video to be played is scanned, the picture frame in each time interval being sequentially distributed on video time axis to be played is obtained;The target image frame of predetermined number is chosen from the picture frame of each time interval on time shaft;The target image frame adjacent to sequential on time shaft carries out image similarity comparison, obtains the similarity value between each adjacent target image frame;Time interval is as the acceleration area of time shaft where similarity value is more than the target image frame of pre-set threshold value, during playing video to be played, carries out default acceleration to the picture frame in acceleration area and plays.The present invention avoids user that the static scene not changed is checked and waited for for a long time, carries out complicated and inaccurate handover operation to the video of broadcasting without user, improves the viewing experience of user.

Description

Video playing control method, mobile terminal and computer readable storage medium
Technical field
The present invention relates to the video playing control field of smart machine more particularly to a kind of video playing control method, shiftings Dynamic terminal and computer readable storage medium.
Background technology
At present shooting video scene it is more and more, but shoot video we be typically all a mirror on earth, will not carry out It repeatedly interrupts shooting or opens the operation of shooting, so many contents are useful information in the video that a mirror is shot on earth, It is redundant information that can have many contents, for example shoots dynamic child, doggie etc., and child or doggie may in shooting process It remains static for a long time or motion amplitude very little, user is this to there is no the quiet of variation when checking broadcasting State scene user is not intended to check and wait for for a long time, user do not know yet this static scene can continue how long, lead to user couple The stand-by period of static scene is long in video display process or need to carry out complicated F.F. handover operation.
Invention content
The main purpose of the present invention is to provide a kind of video playing control method, mobile terminal and computer-readable storages Medium, it is intended to during solving user's broadcasting video, F.F. long to the stand-by period of static scene or that complexity need to be carried out The problem of handover operation.
To achieve the above object, the present invention provides a kind of video playing control method, the video playing control method packet Include following steps:
Video to be played is scanned, is obtained in each time interval being sequentially distributed on video time axis to be played Picture frame;
The target image frame of predetermined number is chosen from the picture frame of each time interval on time shaft;
The target image frame adjacent to sequential on time shaft carries out image similarity comparison, obtains each adjacent target image Similarity value between frame;
Time interval where similarity value is more than the target image frame of pre-set threshold value as the acceleration area of time shaft, During playing the video to be played, default acceleration is carried out to the picture frame in the acceleration area and is played.
Optionally, the step of the target image frame that predetermined number is chosen from the picture frame of each time interval on time shaft Suddenly include:
Obtain corresponding alternate image frame at the distributing position of each time interval on a timeline, and from each time interval One is randomly selected in alternate image frame, using the target image frame as each corresponding time interval.
Optionally, the target image frame adjacent to sequential on time shaft carries out image similarity comparison, obtains each phase The step of similarity value between adjacent target image frame includes:
Picture frame in the video to be played is analyzed, determine kernel object in video image frame to be played and Auxiliary object and kernel object and auxiliary object the first weight and the second weight in similarity comparison respectively, the first power It is great in the second weight;
Two adjacent target image frames on time shaft are divided into a comparison group, two target image frames in each comparison group Kernel object and auxiliary object carry out image similarity comparison respectively, obtain the kernel object similarity value and auxiliary of each comparison group Object similarity value;
Obtain the first product value of each comparison group kernel object similarity value and the first weight, auxiliary object similarity value with Second product value of the second weight, the similarity value by the sum of the first product value and the second product value as corresponding comparison group.
Optionally, described that similarity value is more than the target image frame place time interval of pre-set threshold value as time shaft The step of acceleration area includes:
Similarity value is selected on a timeline more than time interval where the target image frame of pre-set threshold value, this is selected Time interval is as standby time section;
Standby time section adjacent on time shaft is merged, new standby time section is generated, until time shaft Upper all standby time sections are non-conterminous;
Using all standby time sections on current time axis as the acceleration area of time shaft.
Optionally, described during playing the video to be played, the picture frame in the acceleration area is carried out pre- If the step of accelerating broadcasting includes:
To each acceleration area at the time shaft at the beginning of point addition beginning label, add knot at end time point Beam marks;
During playing the video to be played, if detecting beginning label, to time point where beginning label it Picture frame afterwards carries out default acceleration and plays;If detecting end label, to the image after terminating time point where marking Frame restores to current default speed to play.
Optionally, if described detect beginning label, the picture frame after time point where beginning label is carried out pre- If the step of accelerating broadcasting includes:
If detecting beginning label, it is determined that be currently located pre- playing duration of the acceleration area under current default speed;
According to the pre- playing duration and default acceleration playing duration, the target for being currently located acceleration area picture frame is determined Broadcasting speed;
Picture frame after time point where beginning label is played out with target broadcasting speed, until detecting end Label.
Optionally, it is described to each acceleration area at the time shaft at the beginning of point addition beginning label, at the end of Between include after the step of addition terminates label at point:
The beginning label and end label are shown on the broadcasting item of video to be played, if being detected at beginning label To handover operation, then by the successive image frame after beginning label is directly skipped, playing progress rate is switched to and detects switching behaviour Make the associated end mark of beginning label.
Optionally, described that video to be played is scanned, what acquisition was sequentially distributed on video time axis to be played Include before the step of picture frame in each time interval:
Accelerate playing function key in the broadcast interface display of video to be played, the acceleration playing function key is opened if detecting It opens, then executes and video to be played is scanned, obtain each time interval being sequentially distributed on video time axis to be played In picture frame the step of;
If detecting, the acceleration playing function key is closed, and the video to be played is played with current default speed.
The present invention also provides a kind of mobile terminal, the mobile terminal includes:It memory, processor and is stored in described On memory and the control program of video playing that can run on the processor, the control program of the video playing is by institute It states when processor executes and realizes such as the step of above-mentioned video playing control method.
The present invention also provides a kind of computer readable storage medium, video is stored on the computer readable storage medium The control program of broadcasting realizes such as above-mentioned video playing controlling party when the control program of the video playing is executed by processor The step of method.
The present invention is by during playing video to be played, carrying out default acceleration to the picture frame in acceleration area and broadcasting It puts, to be compared based on image similarity, automatic identification is carried out to acceleration area in video to be played, is accelerated to accurately determine Static scene in section, and in video playing to be played to acceleration area, to the picture frame of static scene in acceleration area It carries out default acceleration to play, such as is unified in the picture frame played in 1.5 seconds in current acceleration area, avoid user to not having The static scene of variation is checked and is waited for for a long time, and complicated and inaccurate switching is carried out to the video of broadcasting without user Operation improves the viewing experience of user.
Description of the drawings
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of one embodiment of video playing control method of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
As shown in Figure 1, video playing control method of the present invention is applied to mobile terminal, Fig. 1 is the embodiment of the present invention The mobile terminal structure schematic diagram for the hardware running environment being related to.
Mobile terminal of the embodiment of the present invention may include smart mobile phone, wearable networking AR/VR devices, intelligent sound box, Many networked devices such as autonomous driving vehicle.
As shown in Figure 1, the mobile terminal may include:Processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 may include optionally that the wired of standard connects Mouth, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory, can also be stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
Optionally, mobile terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, Voicefrequency circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensors.Specifically Ground, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to the bright of ambient light Secretly adjust the brightness of display screen, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear. As a kind of motion sensor, gravity accelerometer can detect in all directions the big of (generally three axis) acceleration It is small, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile terminal posture, (for example horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor are can also configure, details are not described herein.
It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 1 does not constitute the limit to mobile terminal It is fixed, may include either combining certain components or different components arrangement than illustrating more or fewer components.
As shown in Figure 1, as may include operating system, net in a kind of memory 1005 of computer readable storage medium Network communication module, Subscriber Interface Module SIM and video playing control program.
In mobile terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, with background server Into row data communication;User interface 1003 is mainly used for connecting other mobile terminals or server, with other mobile terminals or clothes Device be engaged in into row data communication;And processor 1001 can be used for calling the terminal video stored in memory 1005 to play control journey Sequence.
Based on above-mentioned terminal hardware structure and communications network system, propose that mobile terminal video of the present invention plays controlling party The each embodiment of method.
The present invention provides a kind of video playing control method, in video playing control method first embodiment, with reference to attached Fig. 2, this method include:
Step S10 is scanned video to be played, obtain be sequentially distributed on video time axis to be played it is each when Between picture frame in section;
Video to be played is the video that user will play or preengage broadcasting, such as user's selection broadcasting A videos, A videos At once it is chosen to be video to be played, in player initialization procedure, executes video playing control method flow of the present invention.One A video includes time shaft and the picture frame that sequential sequencing is arranged in order along the time axis.It is swept to video to be played After retouching, it can obtain and be arranged in order in each time interval of distribution according to sequential tandem on video time axis to be played Picture frame.
Such as the reproduction time of a video has ten minutes, the time shaft of the video then with ten minutes (600 seconds) when Long, 30 frame played 30 each second and schemed there are the picture frame being arranged in order in 30 sequential in 1 second that is, on time shaft each second As frame;Each time interval can be N (N is the natural number more than 0), and optionally, each time interval is 1 second, is broadcast to treat It puts after video completes scanning, is arranged successively 600 time intervals on the time shaft of video to be played according to playing sequencing, often In a time interval 30 picture frames are sequentially distributed according to broadcasting sequencing.
Optionally, include before step S10:
Step A1 accelerates playing function key in the broadcast interface display of video to be played;
Step A2, if detecting, the acceleration playing function key is opened, and execution is scanned video to be played, is obtained The step of picture frame in each time interval being sequentially distributed on video time axis to be played;
Step A3, if detecting, the acceleration playing function key is closed, and is played with current default speed described to be played Video.
It is the switch for starting video playing control method corresponding function of the present invention to accelerate playing function key, in video to be played Playout software broadcast interface displaying accelerate playing function key.The acceleration playing function key can be stirred for bar shaped and virtually be pressed Key, it includes bar shaped outer rim and the key of stirring that is arranged in bar shaped outer rim that bar shaped, which can stir virtual key, and user can to bar shaped It stirs virtual key to be pressed or when slide, when stirring key and being in bar shaped outer rim one end, opens video of the present invention and broadcast Place control method corresponding function;When stirring key and being in the bar shaped outer rim other end, video playing control method pair of the present invention is closed Answer function.
For example, when stirring key and being in bar shaped outer rim one end, detects that the acceleration playing function key is opened, then execute step Rapid S10;When stirring key and being in the bar shaped outer rim other end, detect that the acceleration playing function key is closed, then with video playing Software current default speed plays the video to be played.
Step S20 chooses the target image frame of predetermined number from the picture frame of each time interval on time shaft;
For example, time interval is 1 second, a time interval includes 30 picture frames, at 1 second each from time shaft Between section 30 picture frames in select the picture frame of predetermined number as target image frame, predetermined number can be one or more It is a, preferably one.
Specifically, step S20 includes:
Step S21, obtains corresponding alternate image frame at the distributing position of each time interval on a timeline, and from it is each when Between section alternate image frame in randomly select one, using the target image frame as each corresponding time interval.
When the duration of a time interval is smaller, the variation of the picture frame in time interval generally change it is relatively small, In order to mitigate the calculation amount of subsequent image similarity comparison, can be chosen as possible from the alternate image frame in each time interval few The target image frame of amount.For example, it includes 30 alternate image frames that time interval, which is in 1 second, 1 second, it can be from the 30 of each time interval One is taken at random in a alternate image frame, is alternate image frame the 1st second on time shaft as target image frame, such as time interval Frame 001 is followed successively by frame 030, randomly chooses target image frame of the spare frame 010 as the 1st second time interval, then similarly according to It is secondary to recycle the target image frame for selecting follow-up time section.For another example, time interval is the one third second, and video to be played has ten Minute, each second, 30 frame extracted for 10 minutes then 3 frames of extraction per second (i.e. 3 target image frames), extract 180 frames for one minute 1800 frames (i.e. 1800 target image frames).
Step S30, the target image frame adjacent to sequential on time shaft carry out image similarity comparison, obtain each adjacent Similarity value between target image frame;
Sequential can be played according to time shaft epigraph frame, image similarity ratio is carried out to adjacent target image frame successively It is right, need to only similarity comparison be carried out to continuous target image frame, picture frame all in video to be played need not be carried out Similarity compares, to obtain the similarity value between each adjacent target image frame.Such as choose video to be played 1st second extremely After 3rd second target image frame, image similarity comparison is carried out to first three seconds target image frame, is completed simultaneously when comparing After obtaining the similarity value between first three seconds each adjacent target image frame, continue to choose video to be played 4th second extremely 6th second target image frame carries out image similarity comparison, and so on, the similarity ratio until completing all target image frames It is right, obtain the similarity value between all adjacent target picture frames.
Step S40, time interval where similarity value is more than the target image frame of pre-set threshold value add as time shaft Fast section carries out default acceleration to the picture frame in the acceleration area and plays during playing the video to be played.
It determines that similarity value is more than the target image frame of predetermined threshold value, and similarity value to each other is more than predetermined threshold value Time interval where target image frame is set as the acceleration area of time shaft, and wherein similarity value is more than the target figure of predetermined threshold value As closely similar between frame, i.e. difference between two target image frames is smaller, and similarity value is bigger.To at video to be played When broadcast state, when playing to acceleration area, default acceleration is carried out to the picture frame in acceleration area and is played.
In the present embodiment, by being scanned to video to be played, obtain along on video time axis to be played successively Picture frame in each time interval of distribution;Then the mesh of predetermined number is chosen from the picture frame of each time interval on time shaft Logo image frame;The target image frame adjacent to sequential on time shaft carries out image similarity comparison again, obtains each adjacent target Similarity value between picture frame;Time interval where similarity value is finally more than the target image frame of pre-set threshold value as when The acceleration area of countershaft carries out default acceleration to the picture frame in acceleration area and plays during playing video to be played, from And compared based on image similarity, automatic identification is carried out to acceleration area in video to be played, to accurately determine acceleration area In static scene the picture frame of static scene in acceleration area is carried out and in video playing to be played to acceleration area It is default to accelerate to play, such as it is unified in the picture frame played in 1.5 seconds in current acceleration area, avoid user to not changing Static scene checked and waited for for a long time, carrying out complicated and inaccurate switching to the video of broadcasting without user grasps Make, improves the viewing experience of user.
Such as in the shooting video of fireworks, the following period of time of spark is bought after fireworks point combustion wire and is not discharged, Fireworks in video do not change, at this time can be to carrying out acceleration broadcasting this period.
Further, in another embodiment of video playing control method of the present invention, step S30 includes:
Step S31 analyzes the picture frame in video to be played, determines the core pair in video image frame to be played As and auxiliary object and kernel object and auxiliary object the first weight and the second weight in similarity comparison respectively, the One weight is more than the second weight;
Two adjacent target image frames on time shaft are divided into a comparison group, two targets in each comparison group by step S32 The kernel object of picture frame and auxiliary object carry out image similarity comparison respectively, obtain the kernel object similarity of each comparison group Value and auxiliary object similarity value;
Step S33 obtains the first product value, the auxiliary object phase of each comparison group kernel object similarity value and the first weight Like the second product value of angle value and the second weight, by the sum of the first product value and the second product value as the similar of corresponding comparison group Angle value.
Such as it is the personage shot to play in video, then can determine that personage is kernel object, personage is in similarity comparison First weight is more than 0.5, such as the first weight is 0.7, it may be determined that the background where personage is auxiliary object, and the second weight can be 0.3。
Such as have 6 time intervals on the time shaft of video to be played, it is section A, interval B, area respectively successively in sequential Between C, section D, section E and section F, the target image frame of each time interval is respectively frame a, frame b, frame c, frame d, frame e and frame f, To which frame a and frame b is a comparison group, frame c and frame d are a comparison group, and frame e and frame f are a comparison group, then three ratios The image similarity for carrying out kernel object and auxiliary object respectively to the target image frame in group compares, and can be obtained frame a's and frame b The kernel object similarity value 90 of kernel object similarity value 80, auxiliary object similarity value 80, frame c and frame d, auxiliary object phase Like angle value 50, kernel object similarity value 50, the auxiliary object similarity value 80 of frame e and frame f.First to frame a and frame b multiplies Product value=80*0.7=56, the second product value=80*0.3=24, to which the similarity value of comparison group where frame a and frame b is 80; The similarity value of comparison group is 78 where frame c known to similarly and frame d, and the similarity value of frame e and the places frame f comparison group is 59, if Pre-set threshold value is 70, then acceleration area of the time interval as time shaft, frame e and frame f where frame a and frame b and frame c and frame d Acceleration area of the place time interval not as time shaft.
In the present embodiment, the classification of kernel object and auxiliary object is carried out to the content in picture frame, and assigns core The object weight different with auxiliary object, influence when to weaken that auxiliary object changes in picture frame to similarity value, When user is less concerned about that auxiliary object changes i.e. in picture frame, still by the changed picture frame institute of auxiliary object In time interval as acceleration area, the static scene for the variation for avoiding user not noticeable falls into a long wait.
Optionally, time interval where similarity value being more than the target image frame of pre-set threshold value in step S40 as when The step of acceleration area of countershaft includes:
Step S41 selects target image frame place time interval of the similarity value more than pre-set threshold value on a timeline, will The time interval selected is as standby time section;
Step S42 merges standby time section adjacent on time shaft, generates new standby time section, directly All standby time sections are non-conterminous on to time shaft;
Step S43, using all standby time sections on current time axis as the acceleration area of time shaft.
Connect step S33 examples below, the similarity value of comparison group compares where being 80, frame c and frame d where frame a and frame b The similarity value of group is 78, the similarity value of comparison group is 59 where frame e and frame f, if pre-set threshold value is 70, frame a and frame b, And time interval where frame c and frame d is standby time section, then by two standby times of frame a and frame b and frame c and frame d An acceleration area is merged into section, completes the merging between the adjacent time interval for meeting preset threshold condition to form one Acceleration area is avoided to carrying out repeating label in an acceleration area, and then is avoided to the anti-of the default acceleration processing of acceleration area It is multiple to start or close.
Further, in the another embodiment of video playing control method of the present invention, to be played regard is being played in step S40 During frequency, carrying out the step of default acceleration plays to the picture frame in acceleration area includes:
Step S44, to each acceleration area at the time shaft at the beginning of point addition beginning label, add at end time point End is added to mark;
Step S45, during playing video to be played, if detecting beginning label, to the time where beginning label Picture frame after point carries out default acceleration and plays;
Step S46 restores to current picture frame after terminating time point where marking if detecting end label Default speed plays.
After determining acceleration area on the time shaft of video to be played, to all acceleration areas at the beginning of time shaft Between addition beginning label at point, addition terminates label at end time point, beginning label and to terminate label be electronic marker, with The reproduction time range that acceleration area is identified for playout software, to during playing video to be played, if detecting beginning Label then carries out default acceleration to the picture frame after time point where beginning label and plays;It is right if detecting end label Terminate the picture frame where label after time point to restore to current default speed to play, provide a kind of realizations accelerate to play with Default speed plays the technical solution of switching.
In addition, being merged to multiple adjacent acceleration areas, the acceleration area new as one, multigroup open can be arranged less Begin label and end label, and during playing video to be played, due to unnecessary beginning label and terminates subtracting for label Less, it is soft to improve broadcasting without switching repeatedly between accelerating broadcasting and default speed to play both of which repeatedly for playout software The realization difficulty of part.
Optionally, step S45 includes:
Step S451, if detecting beginning label, it is determined that it is pre- under current default speed to be currently located acceleration area Playing duration;
Step S452, according to pre- playing duration and default acceleration playing duration, determination is currently located acceleration area picture frame Target broadcasting speed;
Step S453 plays out the picture frame after time point where beginning label with target broadcasting speed, until Detect end label.
Default acceleration playing duration can be that system setting or user are voluntarily arranged, and enter the broadcasting stage in video to be played Afterwards, if detecting beginning label on a timeline, show that acceleration area will be entered, the acceleration area that determination will enter is being worked as Required pre- playing duration is finished under preceding default speed (i.e. the broadcasting speed of playout software current default), is then determined Pre- playing duration and the default duration ratio for accelerating playing duration, determine the current default speed of duration scalar multiple for current institute In the target broadcasting speed of acceleration area picture frame, then to being currently located after acceleration area beginning label place time point Picture frame is played out with target broadcasting speed, until detecting end label.The acceleration to acceleration area is realized to play.
Such as after detecting beginning label, determine that the pre- playing duration of acceleration area is 6 seconds, default acceleration playing duration is 1.5 seconds, duration scalar multiple was 4, to which target broadcasting speed need to be 4 times of current default speed, and then to beginning label institute Picture frame after time point is played out with 4 times of current default speed, until detecting end label.That is, pre- If it can detect acceleration area to accelerate playing process, acceleration area accelerates playing duration to play for 1.5 seconds with default Finish, as acceleration area pre- playing duration be 3 seconds when, target broadcasting speed need to be 2 times of current default speed.
Optionally, step S44 adds beginning label, end time to each acceleration area at time shaft at the beginning of point Addition, which terminates to mark, at point includes later:
Beginning label and end label are shown on the broadcasting item of video to be played, cut if being detected at beginning label Operation is changed, then will directly skip the successive image frame after beginning label, playing progress rate is switched to and detects that handover operation is opened Begin to mark associated end mark.
Such as an acceleration area includes beginning label B and terminates label E on video time axis to be played, by beginning label B and end label E are shown in the form of visual marker on the broadcasting item of video to be played, if at beginning label B or opening Begin to detect handover operation input by user between label B and end label E, then playing progress rate is directly switch into end label E provides a kind of implementation being switched fast acceleration area, the duration of acceleration area is longer, the patient lower scene of user Under have positive effect.If handover operation is not detected from after beginning label B, after time point where beginning label Picture frame carries out default acceleration and plays, until detecting end label, the then picture frame after time point where being marked to end Restore to current default speed to play.
The present invention also provides a kind of mobile terminal, the mobile terminal includes:It memory, processor and is stored in described On memory and the control program of video playing that can run on the processor, the control program of the video playing is by institute State the step of realizing above-mentioned video playing control method when processor executes.
The present invention also provides a kind of computer readable storage medium, video is stored on the computer readable storage medium The control program of broadcasting, the control program of the video playing realize above-mentioned video playing control method when being executed by processor The step of.
In the embodiment of mobile terminal of the present invention and computer readable storage medium, above-mentioned video playing control is contained Content and each embodiment of above-mentioned video playing control method are expanded and explained to all technical features of each embodiment of method, specification Essentially identical, this will not be repeated here.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of video playing control method, which is characterized in that the video playing control method includes the following steps:
Video to be played is scanned, the figure in each time interval being sequentially distributed on video time axis to be played is obtained As frame;
The target image frame of predetermined number is chosen from the picture frame of each time interval on time shaft;
The target image frame adjacent to sequential on time shaft carries out image similarity comparison, obtain each adjacent target image frame it Between similarity value;
Time interval is being played as the acceleration area of time shaft where similarity value is more than the target image frame of pre-set threshold value During the video to be played, default acceleration is carried out to the picture frame in the acceleration area and is played.
2. video playing control method as described in claim 1, which is characterized in that the time interval each from time shaft The step of target image frame of selection predetermined number, includes in picture frame:
Obtain corresponding alternate image frame at the distributing position of each time interval on a timeline, and from the spare of each time interval One is randomly selected in picture frame, using the target image frame as each corresponding time interval.
3. video playing control method as claimed in claim 2, which is characterized in that the mesh adjacent to sequential on time shaft Logo image frame carries out image similarity comparison, and the step of obtaining the similarity value between each adjacent target image frame includes:
Picture frame in the video to be played is analyzed, determines the kernel object in video image frame to be played and auxiliary The first weight and the second weight in similarity comparison, the first weight are big respectively for object and kernel object and auxiliary object In the second weight;
Two adjacent target image frames on time shaft are divided into a comparison group, the core of two target image frames in each comparison group Object and auxiliary object carry out image similarity comparison respectively, obtain the kernel object similarity value and auxiliary object of each comparison group Similarity value;
Obtain the first product value, the auxiliary object similarity value and second of each comparison group kernel object similarity value and the first weight Second product value of weight, the similarity value by the sum of the first product value and the second product value as corresponding comparison group.
4. video playing control method as described in claims 1 to 3, which is characterized in that it is described similarity value is more than it is default The step of acceleration area of the time interval where the target image frame of threshold values as time shaft includes:
Similarity value is selected on a timeline more than time interval, the time that this is selected where the target image frame of pre-set threshold value Section is as standby time section;
Standby time section adjacent on time shaft is merged, new standby time section is generated, until institute on time shaft There is standby time section non-conterminous;
Using all standby time sections on current time axis as the acceleration area of time shaft.
5. video playing control method as claimed in claim 4, which is characterized in that described to play the video mistake to be played Cheng Zhong, carrying out the step of default acceleration plays to the picture frame in the acceleration area includes:
To each acceleration area at the time shaft at the beginning of point addition beginning label, addition terminates mark at end time point Note;
During playing the video to be played, if detecting beginning label, after time point where beginning label Picture frame carries out default acceleration and plays;It is extensive to the picture frame after terminating time point where marking if detecting end label It is played again to current default speed.
6. video playing control method as claimed in claim 5, which is characterized in that detect beginning label if described, it is right Picture frame after time point where beginning label carries out presetting the step of accelerating broadcasting:
If detecting beginning label, it is determined that be currently located pre- playing duration of the acceleration area under current default speed;
According to the pre- playing duration and default acceleration playing duration, determine that the target for being currently located acceleration area picture frame plays Speed;
Picture frame after time point where beginning label is played out with target broadcasting speed, until detecting end mark Note.
7. video playing control method as claimed in claim 5, which is characterized in that it is described to each acceleration area in the time Beginning label is added at the beginning of axis at point, includes after the step of addition terminates label at end time point:
The beginning label and end label are shown on the broadcasting item of video to be played, cut if being detected at beginning label Operation is changed, then will directly skip the successive image frame after beginning label, playing progress rate is switched to and detects that handover operation is opened Begin to mark associated end mark.
8. video playing control method as described in claim 1, which is characterized in that it is described that video to be played is scanned, Include before the step of obtaining the picture frame in each time interval being sequentially distributed on video time axis to be played:
Accelerate playing function key in the broadcast interface display of video to be played, if detecting, the acceleration playing function key is opened, It then executes and video to be played is scanned, obtain in each time interval being sequentially distributed on video time axis to be played The step of picture frame;
If detecting, the acceleration playing function key is closed, and the video to be played is played with current default speed.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes:Memory, processor and it is stored in described deposit On reservoir and the control program of video playing that can run on the processor, the control program of the video playing are described It is realized such as the step of video playing control method described in any item of the claim 1 to 8 when processor executes.
10. a kind of computer readable storage medium, which is characterized in that be stored with video on the computer readable storage medium and broadcast The control program put is realized when the control program of the video playing is executed by processor such as any one of claim 1 to 8 institute The step of video playing control method stated.
CN201810170662.1A 2018-02-28 2018-02-28 video playing control method, mobile terminal and computer readable storage medium Withdrawn CN108322831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810170662.1A CN108322831A (en) 2018-02-28 2018-02-28 video playing control method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810170662.1A CN108322831A (en) 2018-02-28 2018-02-28 video playing control method, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108322831A true CN108322831A (en) 2018-07-24

Family

ID=62900707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810170662.1A Withdrawn CN108322831A (en) 2018-02-28 2018-02-28 video playing control method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108322831A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110049309A (en) * 2018-12-10 2019-07-23 阿里巴巴集团控股有限公司 The Detection of Stability method and apparatus of picture frame in video flowing
CN110047520A (en) * 2019-03-19 2019-07-23 北京字节跳动网络技术有限公司 Control method, device, electronic equipment and the computer readable storage medium that audio plays
CN110225310A (en) * 2019-06-24 2019-09-10 浙江大华技术股份有限公司 Computer readable storage medium, the display methods of video and device
CN112153462A (en) * 2019-06-26 2020-12-29 腾讯科技(深圳)有限公司 Video processing method, device, terminal and storage medium
CN112565909A (en) * 2020-11-30 2021-03-26 维沃移动通信有限公司 Video playing method and device, electronic equipment and readable storage medium
CN113438538A (en) * 2021-06-28 2021-09-24 康键信息技术(深圳)有限公司 Short video preview method, device, equipment and storage medium
CN113645477A (en) * 2021-08-09 2021-11-12 杭州米络星科技(集团)有限公司 Live broadcast data processing method and device, live broadcast client equipment and storage medium
CN113706807A (en) * 2020-05-20 2021-11-26 杭州海康威视数字技术股份有限公司 Method, device, equipment and storage medium for sending alarm information
CN115022679A (en) * 2022-05-30 2022-09-06 北京百度网讯科技有限公司 Video processing method, video processing device, electronic equipment and medium
WO2022206312A1 (en) * 2021-03-31 2022-10-06 影石创新科技股份有限公司 Automatic cropping method and apparatus for panoramic video, and terminal and storage medium

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110049309A (en) * 2018-12-10 2019-07-23 阿里巴巴集团控股有限公司 The Detection of Stability method and apparatus of picture frame in video flowing
CN110047520A (en) * 2019-03-19 2019-07-23 北京字节跳动网络技术有限公司 Control method, device, electronic equipment and the computer readable storage medium that audio plays
CN110047520B (en) * 2019-03-19 2021-09-17 北京字节跳动网络技术有限公司 Audio playing control method and device, electronic equipment and computer readable storage medium
CN110225310A (en) * 2019-06-24 2019-09-10 浙江大华技术股份有限公司 Computer readable storage medium, the display methods of video and device
CN112153462A (en) * 2019-06-26 2020-12-29 腾讯科技(深圳)有限公司 Video processing method, device, terminal and storage medium
CN113706807B (en) * 2020-05-20 2023-02-10 杭州海康威视数字技术股份有限公司 Method, device, equipment and storage medium for sending alarm information
CN113706807A (en) * 2020-05-20 2021-11-26 杭州海康威视数字技术股份有限公司 Method, device, equipment and storage medium for sending alarm information
CN112565909A (en) * 2020-11-30 2021-03-26 维沃移动通信有限公司 Video playing method and device, electronic equipment and readable storage medium
WO2022206312A1 (en) * 2021-03-31 2022-10-06 影石创新科技股份有限公司 Automatic cropping method and apparatus for panoramic video, and terminal and storage medium
CN113438538A (en) * 2021-06-28 2021-09-24 康键信息技术(深圳)有限公司 Short video preview method, device, equipment and storage medium
CN113438538B (en) * 2021-06-28 2023-02-10 康键信息技术(深圳)有限公司 Short video preview method, device, equipment and storage medium
CN113645477A (en) * 2021-08-09 2021-11-12 杭州米络星科技(集团)有限公司 Live broadcast data processing method and device, live broadcast client equipment and storage medium
CN115022679A (en) * 2022-05-30 2022-09-06 北京百度网讯科技有限公司 Video processing method, video processing device, electronic equipment and medium
CN115022679B (en) * 2022-05-30 2023-08-29 北京百度网讯科技有限公司 Video processing method, device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN108322831A (en) video playing control method, mobile terminal and computer readable storage medium
US10974146B2 (en) Storage medium storing game program, game processing method, and information processing apparatus
CN113596552B (en) Display device and information display method
US7819731B2 (en) Method for generating game element from photographed image
CN108712674A (en) Video playing control method, playback equipment and storage medium
CN112527171B (en) Multimedia file playing method, device, equipment and medium
CN110771175A (en) Video playing speed control method and device and motion camera
CN112330371A (en) AI-based intelligent advertisement pushing method, device, system and storage medium
US20080161080A1 (en) Systems, methods, devices, and computer program products providing a brain-exercising game
US8483435B2 (en) Information processing device, information processing system, information processing method, and information storage medium
CN107133561A (en) Event-handling method and device
KR101943554B1 (en) Method and server for providing sports game information
CN114679619A (en) Method, system, equipment and storage medium for enhanced display of ski competition information
US11749309B2 (en) Information processor, information processing method, and program
CN106604092A (en) Video playing method and device
CN112261465A (en) Video processing method and device
CN106484395A (en) Affair displaying method and device
CN105916049A (en) Method and device for automatically switching watching mode
CN106331786B (en) Picture and text mode shows the method and system of playlist
CN114866849B (en) Video playing method, device, equipment and computer readable storage medium
US20230041552A1 (en) Relevancy-based video help in a video game
CN117714800A (en) Information display method, device, medium and electronic equipment
CN106060673A (en) Method and robot device for assisting interaction between user and television
US20220258051A1 (en) Information processing device and image generation method
CN111988635A (en) AI (Artificial intelligence) -based competition 3D animation live broadcast method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180724