Specific embodiment
Embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the certain of the disclosure in attached drawing
Embodiment, it should be understood that, the disclosure can be realized by various forms, and should not be construed as being limited to this
In the embodiment that illustrates, providing these embodiments on the contrary is in order to more thorough and be fully understood by the disclosure.It should be understood that
It is that being given for example only property of the accompanying drawings and embodiments effect of the disclosure is not intended to limit the protection scope of the disclosure.
It should be appreciated that each step recorded in disclosed method embodiment can execute in a different order,
And/or parallel execution.In addition, method implementation may include additional step and/or omit the step of execution is shown.This public affairs
The range opened is not limited in this respect.
Terms used herein " comprising " and its deformation are that opening includes, i.e., " including but not limited to ".Term "based"
It is " being based at least partially on ".Term " one embodiment " expression " at least one embodiment ";Term " another embodiment " indicates
" at least one other embodiment ";Term " some embodiments " expression " at least some embodiments ".The correlation of other terms is fixed
Justice provides in will be described below.
It is noted that the concepts such as " first " that refers in the disclosure, " second " are only used for carrying out device, module or unit
It distinguishes, is not intended to limit these devices, module or unit one and is set to different devices, module or unit, be also not intended to limit
The sequence or relation of interdependence of function performed by these fixed devices, module or unit.
It is noted that referred in the disclosure "one", the modification of " multiple " be schematically and not restrictive this field
It will be appreciated by the skilled person that being otherwise construed as " one or more " unless clearly indicate otherwise in context.
The being merely to illustrate property of title of the message or information that are interacted between multiple devices in disclosure embodiment
Purpose, and be not used to limit the range of these message or information.
In order to be preferably illustrated to the scheme in the embodiment of the present disclosure, first below pair this disclosure relates to related skill
Art term is introduced and explains:
Disclosure terminal interface of spreading its tail refers to that terminal device is opened application program and arrived into before the application program homepage,
The interface that terminal device is shown to user, the displaying time at interface of spreading its tail are to spread its tail the time, and the time of spreading its tail is limited, generally
Time of spreading its tail is pre-set by terminal device, can be 3s, 5s, 7s or 10s etc., can be played in advertisement on interface of spreading its tail
Hold, application program homepage is entered after the time of spreading its tail.The video content playback method of the disclosure can be in time knot of spreading its tail
The content that does not play on screen interface is decontroled in Shu Houji continued broadcasting, can satisfy user's viewing completely spread its tail interface shown it is interior
The demand of appearance.
The video content shown on existing interface of spreading its tail, the video content is just vanished from sight after spreading its tail the time
, system is caused to show complete video content completely without normal direction user.If to be applied after spreading its tail the time simultaneously
Program homepage continues to show the video content spread its tail on interface, i.e., to realize that the video flowing for interface broadcasting of spreading its tail and application program are first
The linkage for the feed video flowing that page is shown, also can there are the following problems: 1, interface of spreading its tail to show region usually full frame, without
Different with the screen size of terminal device, when interfaces transition of spreading its tail is to application program homepage, video flowing is in application program homepage
The position showed be different, so that being difficult will the video flowing that shown on interface of spreading its tail and the video shown in application program homepage
Stream is overlapped and is engaged togather.2, when the video flowing played on interface of spreading its tail being zoomed to application program homepage, due to video flowing
The size of play area is changed, and the effect of video flowing linking also can be discontinuous or unnatural when scaling, is difficult the company of making
The broadcasting experience passed through.
Feed video flowing is the view that several information sources that user subscribes to are issued on the network platform (can be server)
Frequency content is formed by video flowing, and using the object of good friend or concern as the information source under feed scene, and video content is
It is the dynamic (video content of publication) of good friend or perpetual object, it can also be by other use for determining and matching of being drawn a portrait according to user
Family pushes the content from the information source to match as information source, to user, when good friend is enough or good friend issues dynamic
When frequent enough, what user was able to continuously receives video content.
How the technical solution of the disclosure and the technical solution of the disclosure are solved with specifically embodiment below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, embodiment of the disclosure is described.
Fig. 1 is please referred to, present disclose provides a kind of playback method of video content, this method specifically can be by electronic equipment
It executes, which can be terminal device, which can be bench device or mobile terminal, disclosure packet
It includes:
Step S101: it when the open command for receiving application program, is played in the first play area of the first screen interface
Target video, target video have the size to match with the first play area.
When terminal device receives the open command for the application program that user is inputted, in terminal device
First play area of the first screen interface plays target video.The open command for the application program that user is inputted
User be can be for the clicking operation of the application program identification shown on terminal interface, the first screen interface of terminal device
I.e. above-mentioned interface of spreading its tail, the first play area can be the whole region at interface of spreading its tail, i.e., full frame on the first screen interface to broadcast
Put target video, certain first play area may be the partial region at interface of spreading its tail, and target video refers to terminal device
Pre-configured video, user open application program every time, and the target video played on the first screen interface can be not
With.Target video can be ad content, be also possible to server end and be based on the possible interested content of the user, be directed to
Property to client send video, for example, the user recently browsing household electrical appliances, can targetedly to the user recommend have
Close the video of household electrical appliances.
When the first play area of the first screen interface plays target video, target video has and the first play area
The size to match, i.e., the broadcasting size of target video can be identical as the size of the first play area, for example, the first broadcast area
The size in domain and the broadcasting size of target video are equal are as follows: xcm*ycm, (indicate a length of xcm, width ycm), x and y are positive integer, x and y
Value can be arranged according to the actual size of the first screen interface of terminal device.
Step S102: it when the playing duration of target video reaches default playing duration threshold value, determines and passes through the second screen circle
Second play area of face broadcasting target video.
Terminal device is provided with the default playing duration threshold value that target video is played on the first screen interface in advance, i.e., above-mentioned
It spreads its tail the time, when playing target video on the first screen interface, when the playing duration of target video reaches default playing duration
Threshold value, expression time of spreading its tail terminate, and terminal device will enter application program homepage at once, to make terminal enter application program homepage
Target video is put in subsequent continued broadcasting, and terminal device is it needs to be determined that play the second broadcast area of target video by the second screen interface
Domain.
Second screen interface, that is, terminal device enters the screen interface after application program homepage, and the second play area is second
The partial region of screen interface.A kind of possible situation is: the second screen interface can be divided into multiple display areas, Ge Gezhan
Show that region can correspond to and show different contents, for example, a certain display area is used to play target view as the second play area
Frequently, other display areas are used to show the corresponding video preview information of Feed video flowing.
Step S103: being to match with the second play area by the size adjusting of target video according to the second play area
Size.
After determining the second play area, continue to play target in the second play area of the second screen interface if to realize
Video, it is also necessary to by the original size to match with the first play area of target video, be adjusted to and the second play area phase
Matched size.
The first play area and the second play area are generally same type of figure in the disclosure, such as are positive
Any one of polygon, circle and ellipse, regular polygon specifically can be rectangle, and the first play area and second are broadcast
It puts region and is also possible to different types of figure, this disclosure is not construed as limiting.
In the present embodiment, if play area is regular polygon, the size of play area refers to each in play area
The length of side length;If play area is round or ellipse, the size of play area may include the length of long axis and short axle
Degree.
Target video is namely zoomed to the second broadcasting by the first play area by the process that the disclosure carries out size adjusting
The process in region, according to different size adjusting modes (specific size adjusting mode is described below), in terminal interface
On show may is that the original size to match with the first play area of target video is gradually zoomed into the second broadcast area
The size that domain matches, the process are that visually, target video is in the second play area after scaling for user,
It may also is that popping up size adjusting in the second play area of the second screen interface after terminal device enters the second screen interface
Target video afterwards.
Step S104: it in the second play area of the second screen interface, from target video, corresponding with playing duration has broadcast
The next video frame for putting video frame at time point continues to play target video.
If playing duration of the above-mentioned target video on the first screen interface has reached default playing duration threshold value, terminal is set
For according to the playing duration, played time point (the i.e. knot of playing duration corresponding with playing duration in target video is determined
Beam time point) at video frame, to continue to play from the next frame of the video frame in the second play area of the second screen interface
Target video may be implemented after the first screen interface plays the duration of target video, continuous on the second screen interface
Play target video.
In the following, the content in conjunction with specific scene above-described embodiment is illustrated:
User clicks application program, and terminal device enters the interface of spreading its tail of the application program, and the first of interface of spreading its tail plays
Region, which plays, ad content, and the size of ad content matches with the first play area at this time, is x1cm*y1cm(x1 be it is long,
Y1 is width), the total duration of the ad content is 10s, and the playing duration at interface of spreading its tail is 3s, which is played to 3s
When, terminal device enters application program home interface, and terminal device has determined that ad content is broadcast the second of application program homepage
Region is put, the size of the second play area is x2cm*y2cm(x2 is length, y2 is wide), terminal device is according to the first play area
The size of size and the second play area carries out size adjusting, by the size of target video by x1cm*y1cmIt is adjusted to x2cm*
y2cm, the process of size adjusting is also the process for changing the play area of target video, and target video is located at after the completion of adjustment
In second play area, so as in the second play area, the next frame of the video frame corresponding to the 3s moment continues to play mesh
Mark the content of 3s to 10s in video.
In the disclosure, the first play area broadcasting of the first screen interface has target video, in the broadcasting of target video
When length reaches default playing duration threshold value, the second play area that target video is played by the second screen interface can be determined,
And the size that the size adjusting of target video matches for the second play area, while played from time point from playing duration
Next video frame of video frame, continue play target video, that is, realize in the second play area of the second screen interface with
It is suitably sized continuously to play the target video not played on the first screen interface, to meet user in displaying of spreading its tail
The desired demand for watching the video content not played on interface of spreading its tail after time.
Meanwhile second target video is played on screen interface the second play area be also it is fixed, can be to avoid difference
When the terminal device of screen size carries out the scaling of target video, the uncertainty of position (i.e. the second play area) is scaled, from
And the video flowing shown on the video flowing shown on interface of spreading its tail and application program homepage can be overlapped well and be engaged on one
It rises, realizes coherent broadcasting experience.
Optionally, the second play area that target video is played by the second screen interface is determined, comprising:
According to coordinate information of each endpoint of the second play area in the second screen interface, the second play area is determined
Position.
First play area and the second play area are generally positive polygonal, in the present embodiment, determine the second broadcast area
The mode in domain, which may is that establish on the second screen interface, rectangular coordinate system, determines each endpoint of the second play area the
Coordinate information in two screen interfaces, to determine the second play area in the second screen interface according to the coordinate information of each endpoint
Position, such as the second play area is rectangular area, the coordinates of four endpoints is (a1, b1), (a2, b2), (a3, b3), with
And (a4, b4), it is assured that the position of the second play area in a coordinate system to get to second by the coordinate of four endpoints
Position of the play area in the second screen interface.
In the present embodiment, the second play area is determined by coordinate position, it can be to avoid the terminal of different screen size
When equipment carries out the scaling of target video, the uncertainty of position (i.e. the second play area) is scaled, so as to well will
It spreads its tail the video flowing shown on interface and the video flowing shown in application program homepage is overlapped and is engaged togather, realize coherent broadcast
Put experience.
Optionally, target video is played in the first play area of the first screen interface, comprising:
The first play area by the first player in the first screen interface plays target video;
This method further include:
It, when the first play area of the first screen interface plays target video, is broadcast by second by the first player
Put device terminal device internal synchronization play target video, and the target video being played simultaneously in the second screen interface exist pair
The play area answered;
When the playing duration of target video reaches default playing duration threshold value, determines and target is played by the second screen interface
Second play area of video, comprising:
When the playing duration of target video reaches default playing duration threshold value, the target played on the first screen interface is determined
The target video frame of video frame and the target video being played simultaneously at the played time point of video, target video frame include
At the played time point for the target video being played simultaneously at the played time point of video frame and the target video being played simultaneously
Any one of next video frame of video frame;
Determine the similarity at played time point between video frame and target video frame;
If similarity is greater than predetermined similarity threshold, determine that the target video being played simultaneously is corresponding in the second screen interface
Play area be the second play area.
In the present embodiment, determine that the mode of the second play area may is that according to time point played in target video
The video similarity that played between the video frame at time point after video frame in place's video frame and target video determines second
Play area.Specific implementation is:
Terminal device plays target video in the first play area of the first screen interface by the first player, meanwhile,
Terminal device plays target video in terminal device internal synchronization by the second player, and the target video that inside plays is second
There are corresponding play area in screen interface, since terminal device at this time shows on the first screen interface to user
Hold, have not been entered into the second screen interface, the target video that inside plays can not in the second screen interface corresponding broadcast area
Domain is played to user, i.e., the broadcasting of the internal target video played is unaware for user.
When the playing duration of the target video of the first player plays reaches above-mentioned default playing duration threshold value, is determined
The target of the target video of the one player plays target video that video frame and internal synchronization play at played time point
Similarity between video frame, since target video is played simultaneously in two players, when default playing duration threshold value reaches, target
Video frame, which can be target video, played video frame at time point;It is also likely to be present minor deviations in actual operation, presets
When playing duration threshold value reaches, target video frame can also be the next frame of video frame at played time point.
If similarity is greater than predetermined similarity threshold, it is determined that the target video that the second player is played simultaneously is in the second screen
Corresponding play area is second play area in curtain interface, i.e. the target video played on the first screen interface can scale
The corresponding play area of target video played to internal synchronization.
In the present embodiment, determine that similarity has following at least one possible implementation between two video frames:
It determines two video frames corresponding center-of-mass coordinate in similarity algorithm model, then calculates the matter of two video frames
The cosine similarity of heart coordinate.
Similarity in two video frames between same designated area is determined as the similarity between two video frames, such as two
All there is facial image in same designated area in video frame, determine facial image in two video frames similarity be two video frames it
Between similarity.
A kind of possible scene of the present embodiment is: when default playing duration threshold value reaches, determining the first player the
Video frame at the played time point of the target video played on one screen interface, such as video frame A, while determining that second plays
The target video frame for the target video that device plays inside terminal device, target video frame may be video frame A, it is also possible to regard
Frequency frame is the next frame such as video frame B of A, and here by taking target video frame is video frame B as an example, the target video that inside plays exists
There are corresponding play area on second screen interface, the video frame A and the second player for calculating the first player plays are broadcast
The similarity between video frame B put, the generally higher than default similarity threshold of similarity between adjacent two frame, then internal broadcast
The target video frame put will in the target video that the corresponding play area of the second screen interface is exactly the broadcasting of the first screen interface
The second play area zoomed to.
In the present embodiment, the second play area is determined by the similarity between two video frames, it can be to avoid different screens
When the terminal device of curtain size carries out the scaling of target video, the uncertainty of position (i.e. the second play area) is scaled, thus
The video flowing shown on the video flowing shown on interface of spreading its tail and application program homepage can be overlapped well and be engaged togather,
Realize coherent broadcasting experience.
Optionally, if target video frame is the next view for the target video video frame at played time point being played simultaneously
Frequency frame;
After determining the similarity at played time point between video frame and target video frame, pass through the second screen interface
The second play area, from target video, from played time point corresponding with playing duration video frame next video frame, after
Before target video is put in continued broadcasting, this method further include:
If similarity is greater than predetermined similarity threshold, according to the target video frame in the target video being played simultaneously, determine
By the video frame in the target video of the first player plays with target video frame corresponding position, and determine the view of corresponding position
Frequency frame be target video in, it is corresponding with playing duration played time point at video frame next video frame.
In the present embodiment, the similarity being also based between two video frames finds the target on the first screen interface
The video frame of beginning play position after video scaling to the second screen interface, specifically:
If target video frame is that the target video that the second player is played simultaneously played video frame at time point
Next video frame, then in target video frame, the video at the played time point with the target video of the first player plays
In the case that the similarity of frame is greater than default similarity threshold, can also be found in the target video of the first player plays with
The video frame of target video frame same position, the video frame of the same position be in the target video of the first player plays
The next frame of video frame at play time, thus on the second screen interface, from from played time point video frame it is next
Frame starts to play target video.
Such as first video frame at played time point of target video for playing on screen interface be video frame A1, A1's
Next frame is A2, and the target video frame for the target video that inside plays is B2, and it is target video that the previous frame of B2, which is B1, A1 and B1,
The video frame of middle same position, while A2 and B2 are the video frames of same position in target video, only A1 and B2 is now
Know, calculate the similarity between A1 and B2, if it is greater than predetermined similarity threshold, then finds and play on the first screen interface
With the video frame B1 of B2 corresponding position in target video, that is, the next frame of A1 is had found, thus from B1 on the second screen interface
Start to continue to play target video.
The present embodiment by the similarity between two video frames, can find played on the first screen interface it is played when
Between at point the next frame of video frame reached seamless to play target video since next frame on the second screen interface
The purpose of linking.
Optionally, according to the second play area, the size adjusting of target video and the second play area are matched
Size, comprising:
Determine the proportionality coefficient between the size of target video and the size of the second play area;
According to proportionality coefficient, the size for the target video that the first play area of the first screen interface is played changes and is
The size to match with the second play area.
In the present embodiment, the mode for carrying out size adjusting may is that
Determine the proportionality coefficient between the size of target video and the size of the second play area, with the first play area and
For second play area is regular polygon, the proportionality coefficient between two sizes is the ratio that side length is corresponded in two sizes.
According to the proportionality coefficient, the size of each side length in the size for the target video for directly playing the first screen interface,
It zooms in or out to correspond to the size of side length in the size that matches with the second play area, it can by the first screen interface
The size for the target video that first play area plays, changes the size to match with the second play area.Such as the example above,
The size of target video and the first play area match for x1cm*y1cm(x1 is length, y1 is wide), the ruler of the second play area
Very little is x2cm*y2cm(x2 be long, y2 is wide), it is x1 that the proportionality coefficient between size, which includes: long ratio,cm: x2cm, wide ratio
For y1cm: y2cm, x1 is zoomed in or out as x2, y1 is zoomed in or out as y2, that is, completes the adjustment of size.
Optionally, according to proportionality coefficient, the size for the target video that the first play area of the first screen interface is played,
Variation is the size to match with the second play area, comprising:
According to proportionality coefficient, determines in the size of target video and correspond to side length in each side length and the size of the second play area
Length ratio;
According to the length ratio of each side length, the scaling multiple of each side length is determined;
According to scaling multiple, the ratio of scaling speed between each side length is determined;
Based on scaling speed ratio, each side length is executed and zooms in or out processing accordingly.
In the present embodiment, the concrete mode for carrying out change in size based on proportionality coefficient may is that according to proportionality coefficient, really
The length ratio for corresponding to side length in the size of video that sets the goal in each side length and the size of the second play area, so that it is determined that each side
Long scaling multiple, i.e., for each side length in the size of target video, to expand or shrink how many times accordingly can just become
Corresponding side length in the size of two play area, it is to be understood that the scaling multiple of side length can be for a certain side length and
Speech is minification, is amplification factor for another side length.
Since even if each side length scaling multiple is different, it is also desirable to which the same time completes scaling, if the scaling of each side length times
Number is different, and the scaling speed between each side length is also different, and needs the scaling multiple based on each side length, determines the contracting of each side length
Put speed, so that it is determined that between each side length scaling speed ratio, which zooms in and out, to complete to each side
Long diminution processing or enhanced processing.
For example, for the case where the first play area and the second play area are above-mentioned rectangle, such as the example above, target
The size of video and the first play area match for x1cm*y1cm(x1 is length, y1 is wide), the size of the second play area is
x2cm*y2cm(x2 is length, y2 is wide) determines that obtaining x2:x1 is 1/k1, y2:y1 k2, if 1/k1 is the positive number less than 1,
It is so long to need to reduce k1 times, it is wide need to expand k2 times could ruler by the size adjusting of target video for the second play area
Very little, the ratio of scaling speed is k1:k2 between long and width, so that the ratio based on the scaling speed, carries out diminution processing to length,
Processing is amplified to width simultaneously.In the following, being illustrated with specific data: the size that the first play area matches is 1*
6 (units: cm), the second play area 3*2 (unit: cm) become 3 for 1 and need to expand 3 times, and 6, which become 2, needs to reduce 3 times,
Each side length scaling speed ratio is 1:1.
As above-mentioned, presentation effect of the present embodiment on terminal interface is: the size of target video is gradually zoomed to the
The size that two play area match, the scaling process are that visually, target video is in after scaling for user
Then second play area of the second screen interface regards at playing duration corresponding played time point in the second play area
Next video frame of frequency frame continues to play target video.It is a kind of it might be that the mistake that the size of target video gradually scales
Journey is presented on the second screen interface, during target video gradually scales, can also play target video, i.e., from when playing
Next presentation of video frames target video of video frame at long corresponding played time point, as long as being equivalent to target video zooms to the
Second play area of two screen interfaces plays,, can also be with during scaling even if the scaling of play area has not been completed
Target video is played, the content of the target video played after the completion of scaling according to the first screen interface and during scaling connects
The target video not played is released in continued broadcasting.
In the present embodiment, target video can gradually be zoomed in and out based on different zoom speed proportional, this scaling
The effect of mode video flowing linking compares naturally, coherent broadcasting experience may be implemented.
Optionally, according to proportionality coefficient, the size for the target video that the first play area of the first screen interface is played,
The mode of size of the variation to match with the second play area may also is that
The adjustment of target video size is carried out in a certain frame, it is specific: to be regarded at playing duration corresponding played time point
Next video frame of frequency frame, by the first play area play target video size, change for the second play area phase
The size matched, so that the broadcasting size of the target video played since next video frame is to match with the second play area
Size.In this way after terminal device spreads its tail playing duration, the second play area of the second screen interface of terminal device
When playing target video since next video frame, broadcasting is exactly target video after size adjusting.
Presentation effect of the present embodiment on terminal interface is: after terminal device enters the second screen interface, in the second screen
Target video after the second play area pop-up size adjusting at curtain interface.
It in the present embodiment, can be in the ruler for the next video frame change target video that played video frame at time point
Very little, so that succeeding target video is all played with the size after the variation, the good of video flowing is may be implemented in this size scaling mode
Good linking, linking effect also compare naturally, coherent broadcasting experience may be implemented.
Fig. 2 is a kind of structural schematic diagram of the playing device for video content that the another embodiment of the disclosure provides, such as Fig. 2 institute
Show, the device of the embodiment of the present disclosure may include:
First video playback module 201, for when receiving the open command of application program, the of the first screen interface
One play area plays target video, and target video has the size to match with the first play area;
Play area determining module 202 determines when the playing duration for target video reaches default playing duration threshold value
The second play area of target video is played by the second screen interface;
Size adjustment module 203, for being to be played with second by the size adjusting of target video according to the second play area
The size that region matches;
Second video playback module 204, for the second play area in the second screen interface, from target video, with
Next video frame of video frame, continues to play target video at playing duration corresponding played time point.
In the disclosure, the first play area broadcasting of the first screen interface has target video, in the broadcasting of target video
When length reaches default playing duration threshold value, the second play area that target video is played by the second screen interface can be determined,
And the size that the size adjusting of target video matches for the second play area, while played from time point from playing duration
Next video frame of video frame, continue play target video, that is, realize in the second play area of the second screen interface with
It is suitably sized continuously to play the target video not played on the first screen interface, to meet user in displaying of spreading its tail
The desired demand for watching the video content not played on interface of spreading its tail after time.
Optionally, play area determining module 202 is determining that playing the second of target video by the second screen interface broadcasts
When putting region, it is specifically used for:
According to coordinate information of each endpoint of the second play area in the second screen interface, the second play area is determined
Position.
Optionally, the first video playback module 201 the first screen interface the first play area play target video when,
It is specifically used for:
The first play area by the first player in the first screen interface plays target video;
The device further includes third video playback module;
Third video playback module, is used for:
It, when the first play area of the first screen interface plays target video, is broadcast by second by the first player
Put device terminal device internal synchronization play target video, and the target video being played simultaneously in the second screen interface exist pair
The play area answered;
Play area determining module 202 determines logical when the playing duration of target video reaches default playing duration threshold value
In the case where crossing the second play area that the second screen interface plays target video, it is specifically used for:
When the playing duration of target video reaches default playing duration threshold value, the target played on the first screen interface is determined
The target video frame of video frame and the target video being played simultaneously at the played time point of video, target video frame include
At the played time point for the target video being played simultaneously at the played time point of video frame and the target video being played simultaneously
Any one of next video frame of video frame;
Determine the similarity at played time point between video frame and target video frame;
If similarity is greater than predetermined similarity threshold, determine that the target video being played simultaneously is corresponding in the second screen interface
Play area be the second play area.
Optionally, if target video frame is the next view for the target video video frame at played time point being played simultaneously
Frequency frame;
Play area determining module 202 is determining the similarity at played time point between video frame and target video frame
Later, the second video playback module 204 from target video and is played in the second play area for passing through the second screen interface
Next video frame of video frame at duration corresponding played time point, before continuing to play target video, the device further include:
Determining module, if being greater than predetermined similarity threshold for similarity, according to the mesh in the target video being played simultaneously
Video frame is marked, determines the video frame in the target video by the first player plays with target video frame corresponding position, and really
Determine corresponding position video frame be target video in, it is corresponding with playing duration played time point at video frame next video
Frame.
Optionally, the size adjusting of target video is and second by size adjustment module 203 according to the second play area
When the size that play area matches, it is specifically used for:
Determine the proportionality coefficient between the size of target video and the size of the second play area;
According to proportionality coefficient, the size for the target video that the first play area of the first screen interface is played changes and is
The size to match with the second play area.
Optionally, size adjustment module 203 plays the first play area of the first screen interface according to proportionality coefficient
The size of target video be specifically used for when changing the size to match with the second play area:
According to proportionality coefficient, determines in the size of target video and correspond to side length in each side length and the size of the second play area
Length ratio;
According to the length ratio of each side length, the scaling multiple of each side length is determined;
According to scaling multiple, the ratio of scaling speed between each side length is determined;
Based on scaling speed ratio, each side length is executed and zooms in or out processing accordingly.
Below with reference to Fig. 3, it illustrates the electronic equipment (end of example as shown in figure 1 for being suitable for being used to realize the embodiment of the present disclosure
End equipment) 600 structural schematic diagram.Terminal device in the embodiment of the present disclosure can include but is not limited to such as mobile phone,
Laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia broadcasting
Put device), the mobile terminal of car-mounted terminal (such as vehicle mounted guidance terminal) etc. and such as number TV, desktop computer etc.
Fixed terminal.Electronic equipment shown in Fig. 3 is only an example, should not function and use scope band to the embodiment of the present disclosure
Carry out any restrictions.
Electronic equipment includes: memory and processor, wherein processor here is properly termed as processing unit hereafter
601, memory may include read-only memory (ROM) 602, random access storage device (RAM) 603 and storage dress hereinafter
At least one in 608 is set, specific as follows shown:
As shown in figure 3, electronic equipment 600 may include processing unit (such as central processing unit, graphics processor etc.)
601, random access can be loaded into according to the program being stored in read-only memory (ROM) 602 or from storage device 608
Program in memory (RAM) 603 and execute various movements appropriate and processing.In RAM 603, it is also stored with electronic equipment
Various programs and data needed for 600 operations.Processing unit 601, ROM 602 and RAM 603 pass through the phase each other of bus 604
Even.Input/output (I/O) interface 605 is also connected to bus 604.
In general, following device can connect to I/O interface 605: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph
As the input unit 606 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration
The output device 607 of dynamic device etc.;Storage device 608 including such as tape, hard disk etc.;And communication device 609.Communication device
609, which can permit electronic equipment 600, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 3 shows tool
There is the electronic equipment 600 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with
Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising being carried on non-transient computer can
The computer program on medium is read, which includes the program code for method shown in execution flow chart.At this
In the embodiment of sample, which can be downloaded and installed from network by communication device 609, or be filled from storage
It sets 608 to be mounted, or is mounted from ROM 602.When the computer program is executed by processing unit 601, the disclosure is executed
The above-mentioned function of being limited in the method for embodiment.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated,
In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to
Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit
Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned
Any appropriate combination.
In some embodiments, client, server can use such as HTTP (HyperText Transfer
Protocol, hypertext transfer protocol) etc the network protocols of any currently known or following research and development communicated, and can
To be interconnected with the digital data communications (for example, communication network) of arbitrary form or medium.The example of communication network includes local area network
(" LAN "), wide area network (" WAN "), Internet (for example, internet) and ad-hoc network are (for example, the end-to-end net of ad hoc
Network) and any currently known or following research and development network.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not
It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity
When sub- equipment executes, so that the electronic equipment: when the open command for receiving application program, first in the first screen interface is broadcast
It puts region and plays target video, target video has the size to match with the first play area;The playing duration of target video
When reaching default playing duration threshold value, the second play area that target video is played by the second screen interface is determined;According to
The size adjusting of target video is the size to match with the second play area by two play area;In the second screen interface
Second play area, from target video, next video frame of played time point place video frame corresponding with playing duration, continuation
Play target video.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof
Machine program code, above procedure design language include but is not limited to object oriented program language-such as Java,
Smalltalk, C++ further include conventional procedural programming language-such as " C " language or similar program design language
Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence
Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or
It is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- packet
It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit
It is connected with ISP by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use
The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box
The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually
It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse
Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding
The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction
Combination realize.
Being described in the embodiment of the present disclosure involved module or unit can be realized by way of software, can also be with
It is realized by way of hardware.Wherein, module or the title of unit are not constituted to the unit itself under certain conditions
It limits, for example, the first video playback module is also described as " when the open command for receiving application program, in the first screen
First play area at curtain interface plays the module of target video ".
Function described herein can be executed at least partly by one or more hardware logic components.Example
Such as, without limitation, the hardware logic component for the exemplary type that can be used include: field programmable gate array (FPGA), specially
With integrated circuit (ASIC), Application Specific Standard Product (ASSP), system on chip (SOC), complex programmable logic equipment (CPLD) etc.
Deng.
In the context of the disclosure, machine readable media can be tangible medium, may include or is stored for
The program that instruction execution system, device or equipment are used or is used in combination with instruction execution system, device or equipment.Machine can
Reading medium can be machine-readable signal medium or machine-readable storage medium.Machine readable media can include but is not limited to electricity
Son, magnetic, optical, electromagnetism, infrared or semiconductor system, device or equipment or above content any conjunction
Suitable combination.The more specific example of machine readable storage medium will include the electrical connection of line based on one or more, portable meter
Calculation machine disk, hard disk, random access memory (RAM), read-only memory (ROM), Erasable Programmable Read Only Memory EPROM (EPROM
Or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage facilities or
Any appropriate combination of above content.
According to one or more other embodiments of the present disclosure, a kind of playback method of video content is provided, comprising:
When the open command for receiving application program, target video is played in the first play area of the first screen interface,
Target video has the size to match with the first play area;
When the playing duration of target video reaches default playing duration threshold value, determines and target is played by the second screen interface
Second play area of video;
It is the size to match with the second play area by the size adjusting of target video according to the second play area;
In the second play area of the second screen interface, from target video, played time point corresponding with playing duration
The next video frame for locating video frame continues to play target video.
Optionally, the second play area that target video is played by the second screen interface is determined, comprising:
According to coordinate information of each endpoint of the second play area in the second screen interface, the second play area is determined
Position.
Optionally, target video is played in the first play area of the first screen interface, comprising:
The first play area by the first player in the first screen interface plays target video;
Method further include:
It, when the first play area of the first screen interface plays target video, is broadcast by second by the first player
Put device terminal device internal synchronization play target video, and the target video being played simultaneously in the second screen interface exist pair
The play area answered;
When the playing duration of target video reaches default playing duration threshold value, determines and target is played by the second screen interface
Second play area of video, comprising:
When the playing duration of target video reaches default playing duration threshold value, the target played on the first screen interface is determined
The target video frame of video frame and the target video being played simultaneously at the played time point of video, target video frame include
At the played time point for the target video being played simultaneously at the played time point of video frame and the target video being played simultaneously
Any one of next video frame of video frame;
Determine the similarity at played time point between video frame and target video frame;
If similarity is greater than predetermined similarity threshold, determine that the target video being played simultaneously is corresponding in the second screen interface
Play area be the second play area.
Optionally, if target video frame is the next view for the target video video frame at played time point being played simultaneously
Frequency frame;
After determining the similarity at played time point between video frame and target video frame, pass through the second screen interface
The second play area, from target video, from played time point corresponding with playing duration video frame next video frame, after
Before target video is put in continued broadcasting, method further include:
If similarity is greater than predetermined similarity threshold, according to the target video frame in the target video being played simultaneously, determine
By the video frame in the target video of the first player plays with target video frame corresponding position, and determine the view of corresponding position
Frequency frame be target video in, it is corresponding with playing duration played time point at video frame next video frame.
Optionally, according to the second play area, the size adjusting of target video and the second play area are matched
Size, comprising:
Determine the proportionality coefficient between the size of target video and the size of the second play area;
According to proportionality coefficient, the size for the target video that the first play area of the first screen interface is played changes and is
The size to match with the second play area.
Optionally, according to proportionality coefficient, the size for the target video that the first play area of the first screen interface is played,
Variation is the size to match with the second play area, comprising:
According to proportionality coefficient, determines in the size of target video and correspond to side length in each side length and the size of the second play area
Length ratio;
According to the length ratio of each side length, the scaling multiple of each side length is determined;
According to scaling multiple, the ratio of scaling speed between each side length is determined;
Based on scaling speed ratio, each side length is executed and zooms in or out processing accordingly.
According to one or more other embodiments of the present disclosure, a kind of playing device of video content is additionally provided, the device packet
It includes:
First video playback module, for working as the open command for receiving application program, the first of the first screen interface
Play area plays target video, and target video has the size to match with the first play area;
Play area determining module when the playing duration for target video reaches default playing duration threshold value, determines logical
Cross the second play area that the second screen interface plays target video;
Size adjustment module, for being and the second broadcast area by the size adjusting of target video according to the second play area
The size that domain matches;
Second video playback module from target video and is played for the second play area in the second screen interface
Next video frame of video frame, continues to play target video at duration corresponding played time point.
Optionally, play area determining module is determining the second broadcast area that target video is played by the second screen interface
When domain, it is specifically used for:
According to coordinate information of each endpoint of the second play area in the second screen interface, the second play area is determined
Position.
Optionally, the first video playback module is when the first play area of the first screen interface plays target video, tool
Body is used for:
The first play area by the first player in the first screen interface plays target video;
The device further includes third video playback module;
Third video playback module, is also used to:
It, when the first play area of the first screen interface plays target video, is broadcast by second by the first player
Put device terminal device internal synchronization play target video, and the target video being played simultaneously in the second screen interface exist pair
The play area answered;
Play area determining module is determined when the playing duration of target video reaches default playing duration threshold value by the
In the case that two screen interfaces play the second play area of target video, it is specifically used for:
When the playing duration of target video reaches default playing duration threshold value, the target played on the first screen interface is determined
The target video frame of video frame and the target video being played simultaneously at the played time point of video, target video frame include
At the played time point for the target video being played simultaneously at the played time point of video frame and the target video being played simultaneously
Any one of next video frame of video frame;
Determine the similarity at played time point between video frame and target video frame;
If similarity is greater than predetermined similarity threshold, determine that the target video being played simultaneously is corresponding in the second screen interface
Play area be the second play area.
Optionally, if target video frame is the next view for the target video video frame at played time point being played simultaneously
Frequency frame;
Play area determining module determine the similarity at played time point between video frame and target video frame it
Afterwards, the second video playback module is by the second play area of the second screen interface, from target video, with playing duration pair
Next video frame that video frame at time point should be played, before continuing to play target video, the device further include:
Determining module, if being greater than predetermined similarity threshold for similarity, according to the mesh in the target video being played simultaneously
Video frame is marked, determines the video frame in the target video by the first player plays with target video frame corresponding position, and really
Determine corresponding position video frame be target video in, it is corresponding with playing duration played time point at video frame next video
Frame.
Optionally, size adjustment module broadcasts the size adjusting of target video with second according to the second play area
When putting the size that region matches, it is specifically used for:
Determine the proportionality coefficient between the size of target video and the size of the second play area;
According to proportionality coefficient, the size for the target video that the first play area of the first screen interface is played changes and is
The size to match with the second play area.
Optionally, size adjustment module plays the first play area of the first screen interface according to proportionality coefficient
The size of target video is specifically used for when changing the size to match with the second play area:
According to proportionality coefficient, determines in the size of target video and correspond to side length in each side length and the size of the second play area
Length ratio;
According to the length ratio of each side length, the scaling multiple of each side length is determined;
According to scaling multiple, the ratio of scaling speed between each side length is determined;
Based on scaling speed ratio, each side length is executed and zooms in or out processing accordingly.
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art
Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature
Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure
Can technical characteristic replaced mutually and the technical solution that is formed.
Although this is not construed as requiring these operations with institute in addition, depicting each operation using certain order
The certain order that shows executes in sequential order to execute.Under certain environment, multitask and parallel processing may be advantageous
's.Similarly, although containing several specific implementation details in being discussed above, these are not construed as to this public affairs
The limitation for the range opened.Certain features described in the context of individual embodiment can also be realized in combination single real
It applies in example.On the contrary, the various features described in the context of single embodiment can also be individually or with any suitable
The mode of sub-portfolio is realized in various embodiments.Although having used specific to structure feature and/or method logical action
This theme of language description it should be appreciated that theme defined in the appended claims is not necessarily limited to described above
Special characteristic or movement.On the contrary, special characteristic described above and movement are only to realize the exemplary forms of claims.