CN110519645A - Playback method, device, electronic equipment and the computer-readable medium of video content - Google Patents

Playback method, device, electronic equipment and the computer-readable medium of video content Download PDF

Info

Publication number
CN110519645A
CN110519645A CN201910838198.3A CN201910838198A CN110519645A CN 110519645 A CN110519645 A CN 110519645A CN 201910838198 A CN201910838198 A CN 201910838198A CN 110519645 A CN110519645 A CN 110519645A
Authority
CN
China
Prior art keywords
target video
play area
video
screen interface
played
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910838198.3A
Other languages
Chinese (zh)
Other versions
CN110519645B (en
Inventor
王慧松
王俊豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910838198.3A priority Critical patent/CN110519645B/en
Publication of CN110519645A publication Critical patent/CN110519645A/en
Application granted granted Critical
Publication of CN110519645B publication Critical patent/CN110519645B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • 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/47214End-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 content reservation or setting reminders; for requesting event notification, e.g. of sport results or stock market
    • 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/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game

Abstract

Present disclose provides the playback method of video content, device, electronic equipment and computer-readable mediums.It is related to computer field.This method comprises: playing target video in the first play area of the first screen interface, target video has the size to match with the first play area when the open command for receiving application program;When the playing duration of target video reaches default playing duration threshold value, the second play area that target video is played by the second screen interface is determined;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, next video frame of played time point place video frame corresponding with playing duration, continue broadcasting target video.After the disclosure realizes default playing duration threshold value arrival, continue the content for playing the target video not played on the first screen interface on the second screen interface.

Description

Playback method, device, electronic equipment and the computer-readable medium of video content
Technical field
This disclosure relates to field of computer technology, specifically, this disclosure relates to a kind of playback method of video content, dress It sets, electronic equipment and computer-readable medium.
Background technique
User generally has the content of time display systems push in several seconds when opening screen interactive application, with Just enter application program homepage afterwards, the content of this system push is known as in the content shown on interface of spreading its tail.It spreads its tail on interface Show that the time of content is limited, after entering application program homepage, which just vanishes from sight, and system is caused to be used without normal direction Family shows complete content completely, if user wants to further appreciate that the content, can allow use without a kind of suitable mode Family is got, and is unable to satisfy user and is wanted to watch the video content not played on interface of spreading its tail after spreading its tail and showing the time Demand.
Summary of the invention
The Summary is provided so that with brief form introduction design, these designs will be in specific implementation below Mode part is described in detail.The Summary is not intended to identify the key feature of claimed technical solution or must Feature is wanted, is intended to be used to limit the range of the technical solution of required protection.
The first aspect of the disclosure provides a kind of playback method of video content characterized by 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.
Disclosure second aspect provides a kind of playing device of video content, comprising:
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.
The disclosure third aspect provides a kind of electronic equipment characterized by comprising
Electronic equipment includes memory and processor;
Computer program is stored in memory;
Processor, the method for executing any one of first aspect when running a computer program.
Disclosure fourth aspect provides a kind of computer-readable medium, is stored thereon with computer program, and feature exists In the method for any one of execution first aspect when the program is executed by processor.
Technical solution provided by the present disclosure has the benefit that
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.
Detailed description of the invention
In conjunction with attached drawing and refer to following specific embodiments, the above and other feature, advantage of each embodiment of the disclosure and Aspect will be apparent.In attached drawing, the same or similar appended drawing reference indicates the same or similar element.It should manage Solution attached drawing is schematically that original part and element are not necessarily drawn to scale.
Fig. 1 is a kind of embodiment schematic diagram of the playback method of video content of the disclosure;
Fig. 2 is the structural schematic diagram of the playing device of disclosure video content;
Fig. 3 is the structural schematic diagram of disclosure electronic equipment.
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.

Claims (10)

1. a kind of playback method of video content characterized by comprising
When the open command for receiving application program, target video is played in the first play area of the first screen interface, it is described Target video has the size to match with first play area;
When the playing duration of the target video reaches default playing duration threshold value, determine by described in the broadcasting of the second screen interface Second play area of target video;
According to second play area, the size adjusting of the target video and second play area are matched Size;
In second play area of the second screen interface, from the target video, corresponding with the playing duration broadcast The next video frame for putting video frame at time point continues to play the target video.
2. the method according to claim 1, wherein the determination plays the target by the second screen interface Second play area of video, comprising:
According to coordinate information of each endpoint of second play area in second screen interface, described second is determined The position of play area.
3. the method according to claim 1, wherein first play area in the first screen interface plays Target video, comprising:
The first play area by the first player in first screen interface plays the target video;
The method also includes:
By first player when the first play area of first screen interface plays target video, by the Two players play the target video in the terminal device internal synchronization, and the target video being played simultaneously exists There are corresponding play area in second screen interface;
When the playing duration of the target video reaches default playing duration threshold value, determine by described in the broadcasting of the second screen interface Second play area of target video, comprising:
When the playing duration of the target video reaches default playing duration threshold value, determines and played on first screen interface The target video frame of video frame and the target video being played simultaneously at the played time point of the target video, institute It states video frame at the played time point that target video frame includes the target video being played simultaneously and is played simultaneously described Any one of next video frame of video frame at the played time point of target video;
Determine the similarity at the played time point between video frame and the target video frame;
If the similarity is greater than predetermined similarity threshold, the target video being played simultaneously described in determination is in second screen circle Corresponding play area is second play area in face.
4. according to the method described in claim 3, it is characterized in that, if the target video frame is the target being played simultaneously Next video frame of video video frame at played time point;
It is described to pass through after similarity at the determination played time point between video frame and the target video frame Second play area of second screen interface, from the target video, the played time corresponding with the playing duration Next video frame of video frame at point, before continuing to play the target video, the method also includes:
If the similarity is greater than predetermined similarity threshold, according to the target video frame in the target video being played simultaneously, Video frame in the target video that determination passes through the first player plays with the target video frame corresponding position, and described in determination The video frame of corresponding position is video frame is next in the target video, at played time point corresponding with the playing duration Video frame.
5. method according to claim 1 to 4, which is characterized in that it is described according to second play area, It is the size to match with second play area by the size adjusting of the target video, comprising:
Determine the proportionality coefficient between the size of the target video and the size of second play area;
According to the proportionality coefficient, the size for the target video that the first play area of first screen interface is played becomes Turn to the size to match with second play area.
6. the method according to any one of claim 5, which is characterized in that it is described according to the proportionality coefficient, it will be described The size for the target video that first play area of the first screen interface plays, changes to match with second play area Size, comprising:
According to the proportionality coefficient, determine in the size of the target video in the size of each side length and second play area The length ratio of corresponding side length;
According to the length ratio of each side length, the scaling multiple of each side length is determined;
According to the scaling multiple, the ratio of scaling speed between each side length is determined;
Based on the scaling speed ratio, each side length is executed and zooms in or out processing accordingly.
7. a kind of playing device of video content characterized by comprising
First video playback module, for being played when the open command for receiving application program, first in the first screen interface Region plays target video, and the target video has the size to match with first play area;
Play area determining module when the playing duration for the target video reaches default playing duration threshold value, determines logical Cross the second play area that the second screen interface plays the target video;
The size adjusting of the target video is and described the by size adjustment module for according to second play area The size that two play area match;
Second video playback module, for second play area in the second screen interface, from the target video, with Next video frame of video frame, continues to play the target video at the playing duration corresponding played time point.
8. device according to claim 7, which is characterized in that the play area determining module is being determined through the second screen When curtain interface plays the second play area of the target video, it is specifically used for:
According to coordinate information of each endpoint of second play area in second screen interface, described second is determined The position of play area.
9. a kind of electronic equipment characterized by comprising
The electronic equipment includes memory and processor;
Computer program is stored in the memory;
The processor, for the perform claim requirement described in any item methods of 1-6 when running the computer program.
10. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that the program is executed by processor Shi Shixian method described in any one of claims 1-6.
CN201910838198.3A 2019-09-05 2019-09-05 Video content playing method and device, electronic equipment and computer readable medium Active CN110519645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910838198.3A CN110519645B (en) 2019-09-05 2019-09-05 Video content playing method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910838198.3A CN110519645B (en) 2019-09-05 2019-09-05 Video content playing method and device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN110519645A true CN110519645A (en) 2019-11-29
CN110519645B CN110519645B (en) 2022-09-23

Family

ID=68631407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910838198.3A Active CN110519645B (en) 2019-09-05 2019-09-05 Video content playing method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN110519645B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111562895A (en) * 2020-03-25 2020-08-21 北京字节跳动网络技术有限公司 Multimedia information display method and device and electronic equipment
CN111797933A (en) * 2020-07-10 2020-10-20 百度在线网络技术(北京)有限公司 Template matching method and device, electronic equipment and storage medium
CN112616075A (en) * 2020-11-30 2021-04-06 当趣网络科技(杭州)有限公司 Pushing processing method and system based on smart television, electronic equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105679213A (en) * 2014-11-18 2016-06-15 中广美意文化传播控股有限公司 Split-screen displaying and playing method of display screen and player
US20170208356A1 (en) * 2014-07-15 2017-07-20 Conew Network Technology (Beijing) Co., Ltd. Video playing method and system
CN106998393A (en) * 2017-05-24 2017-08-01 维沃移动通信有限公司 A kind of video playing control method and mobile terminal
CN107846511A (en) * 2017-10-30 2018-03-27 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable recording medium for accessing moving advertising
CN108965980A (en) * 2018-07-20 2018-12-07 腾讯科技(深圳)有限公司 Recommendation display methods, device, terminal and storage medium
CN108965907A (en) * 2018-07-11 2018-12-07 北京字节跳动网络技术有限公司 For playing the methods, devices and systems of video
CN109933386A (en) * 2019-03-28 2019-06-25 努比亚技术有限公司 The starting method, apparatus and computer readable storage medium of picture-in-picture mode

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170208356A1 (en) * 2014-07-15 2017-07-20 Conew Network Technology (Beijing) Co., Ltd. Video playing method and system
CN105679213A (en) * 2014-11-18 2016-06-15 中广美意文化传播控股有限公司 Split-screen displaying and playing method of display screen and player
CN106998393A (en) * 2017-05-24 2017-08-01 维沃移动通信有限公司 A kind of video playing control method and mobile terminal
CN107846511A (en) * 2017-10-30 2018-03-27 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable recording medium for accessing moving advertising
CN108965907A (en) * 2018-07-11 2018-12-07 北京字节跳动网络技术有限公司 For playing the methods, devices and systems of video
CN108965980A (en) * 2018-07-20 2018-12-07 腾讯科技(深圳)有限公司 Recommendation display methods, device, terminal and storage medium
CN109933386A (en) * 2019-03-28 2019-06-25 努比亚技术有限公司 The starting method, apparatus and computer readable storage medium of picture-in-picture mode

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BOSS: "头条炫屏广告:看了这个广告,再也不想点"跳过"了", 《HTTP://WWW.WOSHIZMT.CN/DSP/JRTT/1312.HTML》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111562895A (en) * 2020-03-25 2020-08-21 北京字节跳动网络技术有限公司 Multimedia information display method and device and electronic equipment
CN111562895B (en) * 2020-03-25 2023-09-22 抖音视界有限公司 Multimedia information display method and device and electronic equipment
CN111797933A (en) * 2020-07-10 2020-10-20 百度在线网络技术(北京)有限公司 Template matching method and device, electronic equipment and storage medium
CN112616075A (en) * 2020-11-30 2021-04-06 当趣网络科技(杭州)有限公司 Pushing processing method and system based on smart television, electronic equipment and medium
CN112616075B (en) * 2020-11-30 2023-04-11 当趣网络科技(杭州)有限公司 Pushing processing method and system based on smart television, electronic equipment and medium

Also Published As

Publication number Publication date
CN110519645B (en) 2022-09-23

Similar Documents

Publication Publication Date Title
CN110324646A (en) Method for displaying and processing, device and the electronic equipment of special efficacy
CN109089059A (en) Method, apparatus, electronic equipment and the computer storage medium that video generates
CN110519645A (en) Playback method, device, electronic equipment and the computer-readable medium of video content
CN113630615B (en) Live broadcast room virtual gift display method and device
KR102248799B1 (en) Target object display method and apparatus, and electronic device
JP7407340B2 (en) Hotspot list display methods, devices, electronic devices and storage media
CN112965780B (en) Image display method, device, equipment and medium
CN111339418B (en) Page display method, page display device, electronic equipment and computer readable medium
CN109408189A (en) Dynamic adjusting method, device, equipment and the medium of client end interface layout
US11863835B2 (en) Interaction method and apparatus, and electronic device
CN110278446A (en) Determine that virtual present shows the method, apparatus and electronic equipment of information
CN110070896A (en) Image processing method, device, hardware device
US20220353587A1 (en) Method and apparatus for generating music poster, electronic device, and medium
WO2023125164A1 (en) Page display method and apparatus, and electronic device and storage medium
CN115190366B (en) Information display method, device, electronic equipment and computer readable medium
CN110225246A (en) Generation method, device, electronic equipment and the computer readable storage medium of event scripts
CN113112986A (en) Audio synthesis method, apparatus, device, medium, and program product
CN110070592A (en) Generation method, device and the hardware device of special efficacy packet
CN110087122A (en) For handling system, the method and apparatus of information
JP7417733B2 (en) Video playback page display methods, devices, electronic devices and media
EP4344218A1 (en) Special effect playback method and system for live broadcast room, and device
WO2023056925A1 (en) Document content updating method and apparatus, and electronic device
CN111667313A (en) Advertisement display method and device, client device and storage medium
EP4369188A1 (en) Progress adjustment method and apparatus, electronic device and storage medium
WO2023071631A1 (en) Video processing method and apparatus, and device

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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.