CN111078070B - PPT video barrage play control method, device, terminal and medium - Google Patents

PPT video barrage play control method, device, terminal and medium Download PDF

Info

Publication number
CN111078070B
CN111078070B CN201911204009.3A CN201911204009A CN111078070B CN 111078070 B CN111078070 B CN 111078070B CN 201911204009 A CN201911204009 A CN 201911204009A CN 111078070 B CN111078070 B CN 111078070B
Authority
CN
China
Prior art keywords
slide
playing
image
ppt
video file
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.)
Active
Application number
CN201911204009.3A
Other languages
Chinese (zh)
Other versions
CN111078070A (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.)
Shenzhen Mirror Play Technology Co.,Ltd.
Original Assignee
Shenzhen Mirror Play 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 Shenzhen Mirror Play Technology Co ltd filed Critical Shenzhen Mirror Play Technology Co ltd
Priority to CN201911204009.3A priority Critical patent/CN111078070B/en
Publication of CN111078070A publication Critical patent/CN111078070A/en
Application granted granted Critical
Publication of CN111078070B publication Critical patent/CN111078070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • 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
    • 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/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Abstract

The embodiment of the application discloses a PPT video barrage play control method, a PPT video barrage play control device, a PPT video barrage play control terminal and a computer-readable storage medium, wherein the method comprises the following steps: playing the PPT video file in a full-screen playing state; wherein the PPT video file comprises images corresponding to each slide in the PPT document and a playing time stamp of each slide; under the condition that bullet screen information exists at the current playing moment and bullet screen functions are in an activated state, the bullet screen information is displayed in a first sub-area, and a PPT video file is played in a second sub-area; the first sub-area and the second sub-area form a display area of the PPT video file in a full-screen playing state, and the first sub-area and the second sub-area are not overlapped. By implementing the method and the device, the problem that the user watching experience is poor due to the fact that the bullet screen is displayed, the playing progress needs to be adjusted back and forth or the bullet screen is opened and closed, and the video playing efficiency is not high in the prior art can be solved.

Description

PPT video barrage play control method, device, terminal and medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method, an apparatus, a terminal, and a computer-readable storage medium for controlling playback of a PPT video bullet screen.
Background
PPT (Power Point) is presentation graphics software produced by Microsoft corporation, and is mainly used for making slides. The software is capable of creating vivid visual effects and supporting multimedia functions. Currently, when a PPT document is played, a process of the PPT playing is often recorded as a video, so that the PPT document can be converted into a PPT video file in a video format such as Flash, and the video can be shared by more people, for example, people can watch the video online or offline.
When a user watches a video, the barrage message function can be started, a message barrage is written according to related content in the video, and then message barrages of the previous user can be displayed when other subsequent users watch the video. In the prior art, the manner of displaying the bullet screen is usually floating in the video display layer, and the user has poor viewing experience.
In the process of playing a PPT video file, if a barrage affects the video content watched by a user, the user often needs to adjust the video for review, or turn on and turn off the barrage function, which causes video playing efficiency to be low. How to better set the playing and displaying of the video barrage is a hot problem of research of people.
Disclosure of Invention
The embodiment of the application provides a PPT video barrage playing control method, a PPT video barrage playing control device, a PPT video barrage playing control terminal and a computer-readable storage medium, and can solve the problem that in the prior art, due to poor watching experience of a user caused by barrage display, the playing progress needs to be adjusted back and forth or the barrage function needs to be opened and closed, and the video playing efficiency is low.
The PPT video file playing progress bar is accurately adjusted to the node needing to be played, and the requirement of a user for quickly and accurately adjusting the PPT video file playing progress can be met.
In a first aspect, an embodiment of the present application provides a method for controlling playback of a PPT video bullet, where the method includes:
playing the PPT video file in a full-screen playing state; wherein the PPT video file comprises an image corresponding to each slide in the PPT document and a playing time stamp of each slide;
under the condition that bullet screen information exists at the current playing moment and bullet screen functions are in an activated state, displaying the bullet screen information in a first sub-area, and playing the PPT video file in a second sub-area; the first sub-area and the second sub-area form a display area of the PPT video file in a full-screen playing state, and the first sub-area and the second sub-area are not overlapped.
According to the embodiment of the application, the whole display area is divided into two areas in the full-screen playing state, the first sub area is used for displaying the barrage information, the second sub area is used for displaying the original PPT video file, the content of the PPT video file can not be completely shielded by the barrage information, the problem that in the prior art, due to the fact that the barrage display causes poor watching experience of a user, the playing progress needs to be adjusted back and forth or the barrage function needs to be opened and closed, and the video playing efficiency is low is caused is solved, and therefore the video playing efficiency is improved.
In a possible implementation manner, after the playing the PPT video file in the full-screen playing state, the method further includes:
receiving a playing control instruction aiming at a PPT video file in a playing state;
responding to the playing control instruction, and displaying a first slide image in a first preset area for playing the PPT video file; wherein the first slide image is a slide image indicated to be displayed by the play control instruction;
receiving a page turning instruction input by a user in the first preset area, and turning the slide images according to the page turning instruction;
receiving a page turning determination instruction input by a user aiming at the second slide image;
and adjusting the playing progress of the PPT video file to the playing time stamp corresponding to the second slide image according to the page turning determining instruction, and playing.
By implementing the embodiment of the application, the terminal can acquire the playing time stamp corresponding to the second slide image from the mapping relation between the slide images and the playing time stamp, and then adjust the playing progress of the PPT video file to the playing time stamp corresponding to the second slide image for playing, so that the playing progress bar of the PPT video file can be accurately adjusted to the node needing to be played, and the requirement of a user for quickly and accurately adjusting the playing progress of the PPT video file can be met.
In one possible implementation, the method further includes:
when the PPT video file is subjected to page recommendation display, displaying a display motion picture on the page; wherein the display motion picture is generated according to a key slide image contained in the PPT document.
In a possible implementation manner, the first dynamic image includes a frame of video frame image obtained by obtaining time point information of animation effect display completed by each animation playing element, and extracting according to the time point information of animation effect display, and a dynamic image generated according to the video frame image corresponding to each animation playing element.
In one possible implementation manner, the page turning instruction includes a first fast page turning instruction; the turning of the slide images according to the page turning instruction comprises the following steps:
if the number of the slide images contained in the PPT document is smaller than a first threshold value, turning the slide images currently displayed to a third slide image according to the first quick page turning instruction; the third slide image is the next N or the last N images of the slide image currently displayed;
if the number of the slide images contained in the PPT document is larger than or equal to the first threshold value, turning from the slide image currently displayed to a fourth slide image; the fourth slide image is the lower M or upper M images of the slide image currently displayed;
the N and the M are positive integers, and the N is smaller than the M.
In one possible implementation manner, the page turning instruction includes a second fast page turning instruction; the turning of the slide images according to the page turning instruction comprises the following steps:
according to the second quick page turning instruction, turning up the images in the previous image set or turning down the images in the next image set from the image set where the slide images are currently displayed;
wherein, the flipping from the image set where the slide image is currently displayed to the image in the previous image set or the flipping to the image in the next image set, further comprises: and determining a plurality of image sets according to the relevance between the slide presentation contents in the PPT document.
By implementing the embodiment of the application, the slide images are clustered according to the relevance between every two slide demonstration contents in the PPT document, so that a plurality of slide images are turned over by one-time page turning operation, and then, a user can input a page turning determination instruction in the slide images contained in the slide image set, so that the complexity of the page turning operation is reduced. In practical application, the page turning experience of a user can be improved.
In a second aspect, an embodiment of the present application provides a play control device for a PPT video bullet, where the device includes a unit for performing the method of the first aspect. Specifically, the apparatus may include:
the display unit is used for displaying the PPT video file in a full-screen display state; wherein the PPT video file comprises an image corresponding to each slide in the PPT document and the playing time of each slide;
the bullet screen processing unit is used for displaying bullet screen information in a first sub-area and playing the PPT video file in a second sub-area under the conditions that bullet screen information exists at the current playing moment and bullet screen functions are in an activated state; the first sub-area and the second sub-area form a display area of the PPT video file in a full-screen playing state, and the first sub-area and the second sub-area are not overlapped.
In a possible implementation manner, the play control device for a PPT video bullet screen may further include:
the first receiving unit is used for receiving a playing control instruction aiming at the PPT video file in a playing state;
the display unit is used for responding to the playing control instruction and displaying a first slide image in a first preset area for playing the PPT video file; wherein the first slide image is a slide image indicated to be displayed by the play control instruction;
the second receiving unit is used for receiving a page turning instruction input by a user in the first preset area;
the page turning unit is used for turning the slide images according to the page turning instruction;
a third receiving unit, configured to receive a page turning determination instruction input by a user for the second slide image;
and the adjusting unit is used for adjusting the playing progress of the PPT video file to the playing time corresponding to the second slide image according to the page turning determining instruction and playing the PPT video file.
In one possible implementation manner, the PPT document includes a first slide, the first slide includes animation play elements, an image corresponding to the first slide is a first dynamic image, and the first dynamic image is generated according to a play sequence of the animation play elements.
In one possible implementation, the apparatus further includes:
the first processing unit is used for displaying a display motion picture on the page when the page recommendation display is carried out on the PPT video file; wherein the display motion picture is generated according to a key slide image contained in the PPT document.
In one possible implementation manner, the page turning instruction includes a first fast page turning instruction; the page turning unit is specifically configured to:
if the number of the slide images contained in the PPT document is smaller than a first threshold value, turning the slide images currently displayed to a third slide image according to the first quick page turning instruction; the third slide image is the next N or the last N images of the slide image currently displayed;
if the number of the slide images contained in the PPT document is larger than or equal to the first threshold value, turning from the slide image currently displayed to a fourth slide image; the fourth slide image is the lower M or upper M images of the slide image currently displayed;
the N and the M are positive integers, and the N is smaller than the M.
In one possible implementation manner, the page turning instruction includes a second fast page turning instruction; the page turning unit is specifically configured to:
according to the second quick page turning instruction, turning up the images in the previous image set or turning down the images in the next image set from the image set where the slide images are currently displayed;
wherein, the flipping from the image set where the slide image is currently displayed to the image in the previous image set or the flipping to the image in the next image set, further comprises: and determining a plurality of image sets according to the relevance between the slide presentation contents in the PPT document.
In a third aspect, an embodiment of the present application provides a terminal, including a processor and a memory, where the processor and the memory are connected to each other, where the memory is used to store a computer program that supports the terminal to execute the method described above, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method described above in the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program, the computer program comprising program instructions that, when executed by a processor, cause the processor to perform the method of the first aspect.
In a fifth aspect, embodiments of the present application further provide a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor to execute the method of the first aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below.
Fig. 1A is a schematic flowchart of a play control method for a PPT video bullet screen according to an embodiment of the present application;
fig. 1B is a schematic diagram of an architecture of a PPT processing system 100 according to an embodiment of the present application;
fig. 1C is a schematic view of a display interface of a terminal according to an embodiment of the present application;
fig. 2A is a schematic diagram illustrating a state of switching from a video playing state to a slide show image display state according to an embodiment of the present application;
fig. 2B is a diagram illustrating a page up operation or a page down operation performed on a slide image according to an embodiment of the present application;
fig. 2C is a schematic diagram of playing back a PPT video file according to an embodiment of the present application;
fig. 2D is a schematic diagram illustrating a partitioned display of bullet screen information and a playing of a PPT video file according to an embodiment of the present application;
fig. 2E is a schematic diagram of another partition display bullet screen information and playing of a PPT video file according to an embodiment of the present application;
fig. 3 is a schematic block diagram of a video playback control provided in an embodiment of the present application;
fig. 4 is a schematic block diagram of a terminal according to another embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In the embodiment of the application, for each slide of the PPT document, a corresponding slide image can be generated. In the case that the slide show includes a plurality of animation playback elements, the generated slide show image includes a plurality of sub-images, that is, one animation playback element has a sub-image corresponding thereto.
In the embodiment of the present application, the playing time of the slide image may be calculated by using the time when the video starts playing as the starting time.
In this embodiment of the application, the Video format of the PPT Video file may include WMV (windows media player, a streaming media format derived by microsoft), MPEG-1(Motion Picture Experts Group, VCD format), AVI (Audio Video Interleaved format), swf (shock wave flash, a special format for flash of animation design software, an animation file format supporting vectors and dot matrix graphics), and the like, and the embodiment of the application is not limited specifically.
Fig. 1A is a schematic flowchart of a play control method for a PPT video bullet, which is provided in this embodiment of the present application, and as shown in fig. 1A, the method includes, but is not limited to, the following steps:
step S100, receiving a playing control instruction aiming at a PPT video file in a playing state; wherein the PPT video file comprises an image corresponding to each slide in the PPT document and a playing time stamp of each slide.
In this embodiment of the present application, fig. 1B is a schematic architecture diagram of a PPT processing system 100 applied between a terminal and a server according to this embodiment of the present application, including: a terminal 101, a server 102, and a network 103. The terminal 101 communicates with the server 102 via the network 103.
A client runs on the terminal 101, and a user can log in the client and then send to-be-transferred information of a PPT document to the server 102; after acquiring the to-be-transferred information of the PPT document uploaded by the client, the server 102 generates a PPT video file corresponding to the PPT document according to the to-be-transferred information, and then the server 102 sends the generated PPT video file to the terminal 101.
In the system architecture, a network serves as a transmission medium for implementing the interaction between the terminal 101 and the server 102.
It should be noted that in the above system, the number of the terminals 101 includes, but is not limited to, one.
Here, the information to be transferred may be a PPT document and recorded audio information when the PPT document is played, may also be recorded video information in a playing process of the PPT document (for example, the video information includes an explanation audio), and may also be recorded video information in a playing process of the PPT document and a corresponding PPT document, which is not specifically limited in the embodiment of the present application.
In this embodiment of the application, generating a PPT video file corresponding to a PPT document according to-be-transferred information may include: generating a corresponding slide image or picture for each slide in the PPT document; acquiring a playing time stamp of each slide in the playing process, and establishing a mapping relation between the generated image and the time stamp so as to generate a PPT video file; the mapping relationship facilitates the subsequent operation of adjusting the playing progress.
In the embodiment of the present application, the image corresponding to the slide show is specifically an image containing part or all of the content in the slide show. The presentation time stamp for each slide image includes: the starting time point and the duration of each slide image. For example, as shown in table 1, the PPT document includes 10 slides, and for each slide, a corresponding slide image is generated, namely image 1, image 2, and image 10. Taking image 1 as an example, the starting time point of the image starting playing is 0s, and the duration of the image playing is 2min20 s.
TABLE 1 mapping relationship between images and timestamps
Slide show Numbering Starting point in time Duration of continuous play
Image 1 1 0s 2min20s
Image 2 2 2min20s 2min25s
Image 3 3 4min45s 2min35s
...... ...... ...... ......
Image 10 10 45min20s 4min00s
In the embodiment of the present application, the play control instruction may be triggered according to a first operation input by a user, where the first operation may be a click operation, a press operation, a slide operation, or the like. For example, the user performs a one-click operation on an arbitrary position in the first preset area by using a finger, and at this time, as shown in fig. 1C, a touch button is displayed in the first preset area of the terminal, and specifically, the touch button may include: a play button and a page turning button; wherein, the play button is used for controlling the play of the video layer (the play can include play start and play pause); and the page turning button is used for controlling the turning of the slide images. In an embodiment of the present application, the page turning buttons may include a page up button, a page down button, a fast page up button, and a fast page down button. Wherein, the page up button is used to flip the currently displayed slide image (i.e., the first slide image) to the upper 1 slide image; a page down button for flipping the currently displayed slide image to the next 1 slide image; a fast page-up button for flipping the currently displayed slide image to the top N slide images, where N is a positive integer greater than 1; a fast page down button for flipping the currently displayed slide image to the next N slide images, where N is a positive integer greater than 1. It should be noted that the display of the play button and the page turning button provided in the embodiment of the present application is only an example and should not be limited, for example, the page turning button may be displayed on the left and right sides of the terminal.
In this embodiment, in combination with an actual application scenario, after a user initiates a play control instruction, it means that the user has a strong interest in a specific content in the PPT video file, or the user has a need to watch the specific content in the PPT video file again (for example, the played PPT video content is questioned or not clearly heard), and so on.
In this embodiment of the application, the first preset region may be a display region of the entire terminal, or may be a certain partial region in the display region of the terminal, and this embodiment of the application is not particularly limited.
In the embodiment of the application, because the PPT video file not only includes the content of the PPT document, but also includes the information of the PPT document to be transferred, compared with a single PPT document, the representation of the PPT is maximally retained, and the PPT video file can be enriched.
Step S102, responding to the playing control instruction, and displaying a first slide image in a first preset area for playing the PPT video file; wherein the first slide image is the slide image indicated to be displayed by the play control instruction.
In the embodiment of the application, the PPT video file is played in the first preset area. After the terminal receives a playing control instruction aiming at the PPT video file in a playing state, a first slide image is displayed in a first preset area. That is, when the first preset area is a full-screen area of the terminal display screen, the PPT video file that is originally in the playing state is covered by the first slide image, that is, for the user, it is equivalent to only see the slide image, and the video playing is perceived to be suspended. In practical applications, the overlaid PPT video file may be paused or resumed, and the embodiment of the present application is not particularly limited. Fig. 2A is a schematic diagram illustrating a state of switching from a video playing state to a slide image display state according to an embodiment of the present application.
In this embodiment of the application, the currently displayed first slide image is one of a slide image corresponding to the current playing time, a previous slide image of the slide image corresponding to the current playing time, a next slide image of the slide image corresponding to the current playing time, N slide images (N is a positive integer greater than 1) of the previous slide image of the slide image corresponding to the current playing time, and N slide images (N is a positive integer greater than 1) of the next slide image of the slide image corresponding to the current playing time.
In this embodiment of the present application, in a case that a slide includes an animation playback element, a slide image corresponding to a current playback time may be a sub-image corresponding to a certain animation playback element, or may be an image in which all animation playback elements complete animation effect display.
In some implementations, if the PPT document contains a first slide, the first slide contains animation playback elements, which may include an entry effect or an exit effect for text, pictures, charts, video, and the like. At this time, the terminal may obtain a playing sequence of animation playing elements included in the first slide, and generate the first dynamic image of the first slide according to the playing sequence of the animation playing elements, and then, after the terminal receives a playing control instruction initiated by a user, if a slide image corresponding to a current playing time includes animation playing elements, then the slide image corresponding to the current playing time is displayed, the playing dynamic image is displayed according to the playing sequence of the included animation playing elements, that is, the PPT video file in the playing state is covered by the dynamic image of the slide. The dynamic images of the slides can represent the richness of the slide demonstration effect, so that the user can better know the PPT document content, and the use experience of the user can be improved.
In some implementations, the implementation process of the terminal generating the dynamic image according to the playing sequence of the animation playing elements may include: the terminal obtains the starting playing time and the ending playing time of each animation playing element in the PPT video file, and then the PPT video file can be cut according to the starting playing time and the ending playing time of each animation playing element to obtain the animation playing video corresponding to each animation playing element. Taking the first animation playing video corresponding to the first animation playing element as an example, in this case, the terminal decodes the first animation playing video to obtain a video frame sequence corresponding to the first animation playing video, and then extracts a preset number of video frames in the video frame sequence according to a preset extraction rule, so as to generate a dynamic image corresponding to the first animation playing element according to the extracted video frames. Here, the preset decimation rule may include decimation at a fixed video frame interval, for example, decimation by one video frame every two frames, decimation by one video frame every three frames, and so on. In this implementation, it can be ensured that the generated dynamic image completely contains the characteristics of the animation playing element.
In this embodiment of the application, the terminal may determine whether the video frame of the PPT video file includes an animation playing element by detecting whether the video frame of the PPT video file changes, and acquire the animation playing video corresponding to the animation playing element when detecting that the video frame of the PPT video file changes.
In the embodiment of the application, the terminal may detect whether a video frame of the PPT video file has changed by using an image recognition detection algorithm, for example, the image recognition detection algorithm may include a convolutional neural network, and may also include a deep learning neural network, and the like.
In some implementations, the implementation process of the terminal generating the dynamic image according to the playing sequence of the animation playing elements may include: the terminal acquires time point information of each animation playing element for finishing animation effect display, acquires a frame of video frame image according to the time point information of each animation effect display, and then generates a dynamic image according to the video frame image corresponding to each animation playing element. For example, the slide image 1 includes 3 animation playback elements, where the time point information when the animation playback element 1 completes the animation effect display is 0 second 00, the time point information when the animation playback element 2 completes the animation effect display is 1 second 20, and the time point information when the animation playback element 3 completes the animation effect display is 3 seconds 40, and the terminal respectively obtains video frame images corresponding to the 3 pieces of time point information, and then generates a dynamic image according to the 3 pieces of video frame images. In practical applications, considering that the time duration for displaying the dynamic image is a set time duration (e.g., 3 seconds), in this case, the video frame image sequences of 1 second may be respectively obtained according to the above-mentioned 3 time point information (i.e., an average obtaining manner), and then the dynamic image is generated according to the 3 video frame image sequences.
In some implementations, taking slide image 1 as an example, the playing duration of slide image 1 is 4 seconds, where the time point information of animation effect display completed by animation play element 1 is 0 second 00, the time point information of animation effect display completed by animation play element 2 is 1 second 20, and the time point information of animation effect display completed by animation play element 3 is 3 seconds 40, and the implementation process of generating dynamic images by the terminal according to the playing sequence of animation play elements may include: the terminal determines the display duration of each animation playing element according to the playing duration of the slide image 1 and the time point information of each animation playing element for finishing the animation effect display, and then determines the occupation ratio between the display duration and the playing duration of each animation playing element. Considering that the time length for displaying the dynamic image is a set time length (for example, 3 seconds), in this case, a corresponding video frame image sequence is obtained according to the ratio between the display time length and the playing time length of each animation playing element, and then the dynamic image is generated according to the obtained plurality of video frame image sequences.
And step S104, receiving a page turning instruction input by a user in the first preset area, and turning the slide images according to the page turning instruction.
In this embodiment of the application, the page turning instruction may be triggered according to a second operation input by the user, where the second operation may be a click operation, a press operation, a slide operation, or the like. For example, the user performs one pressing operation on a page turning button displayed in the first preset area. Then, after receiving a page turning instruction input by the user in the first preset area, as shown in fig. 2B, the terminal may perform a page turning up operation or a page turning down operation on a plurality of slide images to implement page turning of the slide images.
If the next slide image contains animation play elements after the current slide image is turned to the next slide image, then the next slide image is displayed according to the playing sequence of the animation play elements contained in the next slide image.
In this embodiment, the page turning instruction may include a normal page turning instruction and a fast page turning instruction.
Taking a common page turning instruction as an example, in some implementation manners, after receiving a page turning instruction input by a user, a terminal turns 1 slide image by a page turning operation once, for example, the number of the slide images is 10, and the images are respectively image 1, image 2, image 10, and a user performs a page turning operation for image 1, and at this time, image 2 is displayed on a display screen of the terminal, that is, image 2 is turned from currently displayed image 1. In the case where the number of slide images is small, it may be convenient for the user to better input a page turn determination instruction.
Taking a fast page turning instruction as a first fast page turning instruction as an example, if the number of the slide images contained in the PPT document is smaller than a first threshold value, turning the slide images currently displayed to a third slide image according to the first fast page turning instruction; the third slide image is the next N or the last N images of the slide image currently displayed. If the number of the slide images contained in the PPT document is larger than or equal to the first threshold value, turning from the slide image currently displayed to a fourth slide image; the fourth slide image is the lower M or upper M images of the slide image currently displayed; the N and the M are positive integers, and the N is smaller than the M.
In some implementations, the number of slide images that can be turned by one page-turning operation may be set according to how many slide images are, for example, when the number of slide images is smaller than a set first threshold (for example, the first threshold is 30), the number of slides that can be turned by one page-turning operation is N each time under the effect of the first fast page-turning instruction, for example, 3 slide images can be turned by one page-turning operation; for another example, when the number of slide images is greater than or equal to the set first threshold, the number of slide images is M each time under the effect of the first fast page turning instruction, and for example, 5 slide images may be turned by one page turning operation. The number of slide images turned each time may be N when the number of slide images is less than or equal to a set first threshold (e.g., the first threshold is 30), and M when the number of slide images is greater than the set first threshold.
Taking the example that the fast page turning instruction comprises a second fast page turning instruction, according to the second fast page turning instruction, turning up the image in the previous image set or turning down the image in the next image set from the image set where the slide image currently displayed is located; wherein, the flipping from the image set where the slide image is currently displayed to the image in the previous image set or the flipping to the image in the next image set, further comprises: and determining a plurality of image sets according to the relevance between the slide presentation contents in the PPT document.
The image in the flipped image set may be the first image or the key image in the image set, or the last image. The key image can be an image which can represent the content of the image set after being analyzed by a related content analysis algorithm.
In some implementation manners, from the user experience, when a user learns by using a PPT video file, in order to better understand a certain related knowledge point in the PPT document (that is, there is often a greater association degree between two adjacent slide presentation contents in the PPT document) so as to achieve the best learning effect, the user often has a higher requirement for adjusting the playing progress of the PPT video file. In this case, the terminal may obtain the association degree between two slide presentations in the PPT document, and then determine whether the association degree between two slide presentations is greater than a preset threshold (for example, the preset threshold may be 0.6, or may be 0.8, or the like), and cluster two slides when the association degree between two slide presentations is greater than the preset threshold, so as to obtain M image sets. Here, M is a positive integer greater than 0.
For example, taking the PPT document as "yearly summary" as an example, the PPT document contains 10 slides, where slide 1 forms a slide image set a "summary outline", slide 2, slide 3, slide 4, slide 5, and slide 6 form a slide image set B "work summary", slide 7 and slide 8 form a slide image set C "problem", and slide 9 and slide 10 form a slide image set D "new plan", that is, the PPT document can be divided into 4 slide image sets in content. Then, in this case, one slide image set is flipped by a page flip operation, and then, the user can input a page flip determination instruction in the slide images included in the slide image set to reduce the complexity of the page flip operation.
And step S106, receiving a page turning determination instruction input by the user aiming at the second slide image.
In this embodiment of the application, the page turning determination instruction may be triggered according to a third operation input by the user, where the third operation may be a click operation, a press operation, a slide operation, or the like. Here, by inputting a page-turning determination instruction to the second slide image, an adjusted playback node of the PPT video file may be determined, and then playback may be performed according to the adjusted playback node. The first operation, the second operation, and the third operation may be the same or different, and the present application is not particularly limited.
And S108, adjusting the playing progress of the PPT video file to the playing time stamp corresponding to the second slide image according to the page turning determination instruction, and playing.
In the embodiment of the application, after the terminal receives a page turning determination instruction input by a user for a second slide image, the terminal obtains a play timestamp corresponding to the second slide image from a mapping relation between the slide images and the play timestamps, and then the terminal starts to play a PPT video file from the play timestamp corresponding to the second slide image in a first preset area, that is, the PPT video file is adjusted to the play timestamp corresponding to the second slide image for playing, so that the adjustment of the play schedule can be completed.
In practical applications, after the terminal receives a page turning determination instruction input by a user for the second slide image, the terminal starts to play the PPT video file from the play timestamp corresponding to the second slide image in the first preset area, and at the same time, the terminal may hide the second slide image, which may be understood as overlaying the PPT video file in the play state on the second slide image.
In order to facilitate better understanding of the technical solutions described in the present application, the following description is made with reference to specific examples. For example, taking the PPT video file as "yearly summary" as an example, the PPT video file contains 10 slide images, and specifically, the mapping relationship between the 10 slide images and the playing time stamp can be shown in table 2:
TABLE 2 mapping relationship between images and timestamps
Slide show Numbering Starting point in time Duration of continuous play
Image 1 1 0s 0min25s
Image 2 2 0min25s 0min15s
Image 3 3 0min40s 0min25s
Image 4 4 1min05s 0min20s
Image 5 5 1min25s 0min18s
Image 6 6 1min43s 0min15s
Image 7 7 1min58s 0min32s
Image 8 8 2min30s 0min40s
Image 9 9 3min10s 0min50s
Image 10 10 4min00s 1min00s
In practical application, the terminal plays the PPT video file "summary in year", and the slide image played at the current time is image 5. The user inputs a playing control instruction for the PPT video file "yearly summary" in a playing state, the terminal displays a slide image (i.e. image 5) corresponding to the current playing time in a first preset area of the PPT video file according to the playing control instruction after receiving the playing control instruction, at this time, the terminal receives a page turning operation input by the user in the first preset area to turn the slide image, and then, the terminal receives a page turning determination instruction input by the user for a second slide image (image 2), the terminal obtains a playing time stamp (0min25s) corresponding to the second slide image (image 2) from a mapping relation (as shown in table 2) between the slide images and the playing time stamps, and then, the terminal starts playing the PPT video file from the playing time stamp (0min25s) corresponding to the second slide image in the first preset area, thereby, the adjustment of the playing progress can be completed.
By implementing the embodiment of the application, the terminal can acquire the playing time stamp corresponding to the second slide image from the mapping relation between the slide images and the playing time stamps, then, the playing progress of the PPT video file is adjusted to the playing time stamp corresponding to the second slide image to be played, the playing progress bar of the PPT video file can be accurately adjusted to the node needing to be played, and the requirement of a user for quickly and accurately adjusting the playing progress of the PPT video file can be met.
In some implementations, for example, in an application scenario where a user watches an online lecture PPT video, if the user has a question about the content spoken or does not clearly listen to the content spoken, as shown in fig. 2C, the PPT video file may be played back through a second preset region. Here, the second preset area may be understood as a small playback window, wherein the second preset area is a different display area from the first preset area. In practical applications, the second preset area is triggered by the terminal receiving a touch operation input by the user, for example, the user performs a click operation on a display button of the second preset area, and after the terminal receives the click operation performed by the user on the display button of the second preset area, the terminal displays the second preset area. In some implementations, the played-back PPT video file can be played starting at the play timestamp corresponding to the second slide image, in which case the user can again view content that is questionable or not clearly heard. It can be understood that the terminal can hide the second preset area according to the touch operation input by the user, so as to avoid interfering with the playing effect of the first preset area.
In the embodiment of the application, the length of the played back PPT video file may be preset or may be set according to user requirements, for example, the length of the played back PPT video file may be 20s, and the like.
In some implementations, in order to attract a lot of users to watch the PPT video file, a page of the video playing platform may display a high-quality PPT video file in a page recommendation list, where the page may be a top page of the application platform. In the prior art, a PPT video file is often presented in a page recommendation list in a static manner, and the realization manner cannot completely reflect the characteristics of the PPT video file, so that the eyes of a user cannot be attracted to the greatest extent. Based on this, in the embodiment of the application, when performing page recommendation display on a PPT video file, a key slide image in the PPT document is acquired, and a display motion map is generated according to the key slide image and displayed on a page with the display motion map, where the display motion map may be used to describe characteristics of the PPT video file. Therefore, when a user selects a PPT video file which is interested in, the user can quickly know which key contents are covered by the PPT video file by displaying the motion picture, and the clicking efficiency of the PPT video file can be improved.
In this embodiment of the application, the terminal may select one or more representative slide images from the generated slide images as key slide images, and then generate a display moving picture according to the key slide images.
In the embodiment of the application, the slide images can be screened according to the key content in the PPT document, so that one or more representative slide images can be screened and obtained as the key slide images. Specifically, after being analyzed by a related content analysis algorithm, one or more key slide images which can represent the content of the image set are obtained.
It should be noted that, in the embodiment of the present application, an execution sequence of generating a display motion picture by a terminal according to a key slide image is not limited, for example, in some implementations, when the terminal performs page recommendation display on a PPT video file, the slide images may be first screened to obtain the key slide image, and then the display motion picture is generated according to the key slide image; in some implementations, the display animation can also be generated from the key slide image when the page recommendation display is not performed on the PPT video file. It should be noted that the implementation manner and the execution sequence of generating the display images according to the key slide images are only an exemplary case, and are not exhaustive, and those skilled in the art may make other modifications or changes based on the technical solutions of the present application while understanding the spirit of the technical solutions of the present application, so long as the implemented functions and the achieved technical effects are similar to the present application, and the scope of the present application should be covered.
In some implementations, the PPT video file may include barrage information, which may be a note clip generated when the user last viewed the PPT video file, or comment information generated when the user viewed the PPT video file, for example, the comment information may include but is not limited to: "Tainiu! "," too wonderful! "and the like.
For example, as shown in fig. 2D, under the condition that the PPT video file is in a full-screen playing state and the popup information is in an activated state, the first preset region may be divided to obtain a first sub-region and a second sub-region, where the first sub-region and the second sub-region are both located in a display region where the PPT video file is in the full-screen playing state, and the first sub-region and the second sub-region are not overlapped with each other, specifically, the popup information is displayed in the first sub-region, the PPT video file is played in the second sub-region, and a region equivalent to the original PPT video file played is scaled to the second sub-region to be played, so that the popup information and the PPT video file are displayed in the sub-region, and the popup information is prevented from blocking the contents of the PPT video file. Or it can be understood from another direction that the blank area also belongs to the second sub-area in fig. 2D, that is, the first sub-area and the second sub-area constitute a full-screen area, but the PPT video file is not displayed in the entire second sub-area, the area of the original PPT video file played is scaled to the second sub-area according to a certain proportion to be played, in order to ensure the playing proportion of the original PPT video file played, the left and right edges of the second sub-area are blank areas (the blank areas refer to areas without content display, and may be full-white areas or full-black areas, etc.)
For another example, as shown in fig. 2E, when the PPT video file is in a full-screen playing state and the bullet screen information is in an activated state, the first preset region may be divided to obtain a first sub-region and a second sub-region, where the first sub-region and the second sub-region form a display region where the PPT video file is in the full-screen playing state, and the first sub-region and the second sub-region are not overlapped with each other, specifically, the bullet screen information is displayed in the first sub-region, and the PPT video file is played in the second sub-region, so that the bullet screen information and the PPT video file can be displayed in different regions, and the bullet screen information is prevented from blocking the contents of the PPT document.
In this embodiment of the present application, the bullet screen information being in the activated state may be triggered by the user turning on a "bullet screen switch button".
In some implementation manners, the size of the second sub-region may be obtained by scaling the display region of the PPT video file in the full-screen playing state according to a preset ratio, or by expanding a scaling edge and a blank region generated at an edge of the display region of the terminal after scaling the display region of the PPT video file in the full-screen playing state according to the preset ratio, which is not specifically limited in the embodiment of the present application.
Through dividing whole display area into two regions under full screen play state, first subregion is used for showing bullet screen information, and the play of second subregion shows original PPT video file, and the content of PPT video file can not sheltered from by bullet screen information completely, has solved among the prior art and has aroused the user to watch experience because of bullet screen display poor, need make a round trip to adjust the broadcast progress or switch bullet screen function, leads to the problem that video broadcast efficiency is not high to video broadcast efficiency has been improved.
In some implementation manners, the terminal can also detect a blank area in the PPT video file in a playing state through an intelligent algorithm, and display the bullet screen information in the blank area of the PPT video file.
It is noted that while for simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently. Further, those skilled in the art will also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
It is further noted that, although the steps in the flowchart of fig. 1A are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 1A may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In order to better implement the method of the embodiment of the present application, the embodiment of the present application further describes a schematic structural diagram of a playback control device for a PPT video bullet, which belongs to the same application concept as the embodiment of the method described in fig. 1A. The following detailed description is made with reference to the accompanying drawings:
as shown in fig. 3, the play control device 30 for PPT video barrage may include:
the playing unit 300 is used for playing the PPT video file in a full-screen playing state; wherein the PPT video file comprises an image corresponding to each slide in the PPT document and the playing time of each slide;
the bullet screen processing unit 302 is configured to display bullet screen information in a first sub-area and play the PPT video file in a second sub-area when bullet screen information exists at a current playing time and a bullet screen function is in an activated state; the first sub-area and the second sub-area form a display area of the PPT video file in a full-screen playing state, and the first sub-area and the second sub-area are not overlapped.
In a possible implementation manner, the play control device 30 for a PPT video bullet screen may further include: :
the first receiving unit is used for receiving a playing control instruction aiming at the PPT video file in a playing state;
the display unit is used for responding to the playing control instruction and displaying a first slide image in a first preset area for playing the PPT video file; wherein the first slide image is a slide image indicated to be displayed by the play control instruction;
the second receiving unit is used for receiving a page turning instruction input by a user in the first preset area;
the page turning unit is used for turning the slide images according to the page turning instruction;
a third receiving unit, configured to receive a page turning determination instruction input by a user for the second slide image;
and the adjusting unit is used for adjusting the playing progress of the PPT video file to the playing time corresponding to the second slide image according to the page turning determining instruction and playing the PPT video file.
In one possible implementation manner, the PPT document includes a first slide, the first slide includes animation play elements, an image corresponding to the first slide is a first dynamic image, and the first dynamic image is generated according to a play sequence of the animation play elements.
In one possible implementation, the apparatus 30 further includes:
the first processing unit is used for displaying a display dynamic graph on the page when the page recommendation display is carried out on the PPT video file; wherein the display motion picture is generated according to a key slide image contained in the PPT document.
In one possible implementation manner, the page turning instruction includes a first fast page turning instruction; the page turning unit is specifically configured to:
if the number of the slide images contained in the PPT document is smaller than a first threshold value, turning the slide images currently displayed to a third slide image according to the first quick page turning instruction; the third slide image is the next N or the last N images of the slide image currently displayed;
if the number of the slide images contained in the PPT document is larger than or equal to the first threshold value, turning from the slide image currently displayed to a fourth slide image; the fourth slide image is the lower M or upper M images of the slide image currently displayed;
the N and the M are positive integers, and the N is smaller than the M.
In one possible implementation manner, the page turning instruction includes a second fast page turning instruction; the page turning unit is specifically configured to:
according to the second quick page turning instruction, turning up the images in the previous image set or turning down the images in the next image set from the image set where the slide images are currently displayed;
wherein, the flipping from the image set where the slide image is currently displayed to the image in the previous image set or the flipping to the image in the next image set, further comprises: and determining a plurality of image sets according to the relevance between the slide presentation contents in the PPT document.
In one possible implementation manner, the PPT video file further includes bullet screen information; the device 30 further comprises:
the second processing unit is used for displaying the bullet screen information in the first sub-area and playing the PPT video file in the second sub-area under the condition that the PPT video file is in a full-screen playing state and the bullet screen information is in an activated state; the first sub-area and the second sub-area are both located in a display area of the PPT video file in a full-screen playing state, and the first sub-area and the second sub-area are not overlapped.
In one possible implementation manner, the PPT video file further includes bullet screen information; the device 30 further comprises:
the third processing unit is used for displaying the bullet screen information in the first sub-area and playing the PPT video file in the second sub-area under the condition that the PPT video file is in a full-screen playing state and the bullet screen information is in an activated state; the first sub-area and the second sub-area form a display area of the PPT video file in a full-screen playing state, and the first sub-area and the second sub-area are not overlapped.
By implementing the embodiment of the application, the terminal can acquire the playing time stamp corresponding to the second slide image from the mapping relation between the slide images and the playing time stamps, then, the playing progress of the PPT video file is adjusted to the playing time stamp corresponding to the second slide image to be played, the playing progress bar of the PPT video file can be accurately adjusted to the node needing to be played, and the requirement of a user for quickly and accurately adjusting the playing progress of the PPT video file can be met.
In order to better implement the above scheme of the embodiment of the present application, the present application further provides another schematic structural diagram of the terminal, and the following detailed description is provided with reference to the accompanying drawings:
as shown in fig. 4, which is a schematic structural diagram of another terminal provided in the embodiment of the present application, the terminal 400 may include at least one processor 401, a communication bus 402, a memory 403, and at least one communication interface 404.
Processor 401 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an Application-Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to control the execution of programs in accordance with the teachings of the present disclosure.
Communication bus 402 may include a path that transfers information between the above components. The communication interface 404 may be any device, such as a transceiver, for communicating with other devices or communication Networks, such as ethernet, Radio Access Technology (RAN), Wireless Local Area Networks (WLAN), etc.
The Memory 403 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 403 is used for storing program codes for executing the scheme of the application, and is controlled by the processor 401 to execute. The processor 401 is configured to execute the program code stored in the memory 403, and perform the following steps:
playing the PPT video file in a full-screen playing state; wherein the PPT video file comprises an image corresponding to each slide in the PPT document and a playing time stamp of each slide;
under the condition that bullet screen information exists at the current playing moment and bullet screen functions are in an activated state, displaying the bullet screen information in a first sub-area, and playing the PPT video file in a second sub-area; the first sub-area and the second sub-area form a display area of the PPT video file in a full-screen playing state, and the first sub-area and the second sub-area are not overlapped.
After the processor 401 plays the PPT video file in a full-screen playing state, the method may further include:
receiving a playing control instruction aiming at a PPT video file in a playing state;
responding to the playing control instruction, and displaying a first slide image in a first preset area for playing the PPT video file; wherein the first slide image is a slide image indicated to be displayed by the play control instruction;
receiving a page turning instruction input by a user in the first preset area, and turning the slide images according to the page turning instruction;
receiving a page turning determination instruction input by a user aiming at the second slide image;
and adjusting the playing progress of the PPT video file to the playing time stamp corresponding to the second slide image according to the page turning determining instruction, and playing.
The PPT document comprises a first slide, the first slide comprises animation playing elements, an image corresponding to the first slide is a first dynamic image, and the first dynamic image is generated according to the playing sequence of the animation playing elements.
Wherein the processor 401 is further configured to:
when the PPT video file is subjected to page recommendation display, displaying a display motion picture on the page; wherein the display motion picture is generated according to a key slide image contained in the PPT document.
The page turning instruction comprises a first quick page turning instruction; the turning of the slide images by the processor 401 according to the page turning instruction may include:
if the number of the slide images contained in the PPT document is smaller than a first threshold value, turning the slide images currently displayed to a third slide image according to the first quick page turning instruction; the third slide image is the next N or the last N images of the slide image currently displayed;
if the number of the slide images contained in the PPT document is larger than or equal to the first threshold value, turning from the slide image currently displayed to a fourth slide image; the fourth slide image is the lower M or upper M images of the slide image currently displayed;
the N and the M are positive integers, and the N is smaller than the M.
The page turning instruction comprises a second quick page turning instruction; the processor 401 turns the slide images according to the page turning instruction, including:
according to the second quick page turning instruction, turning up the images in the previous image set or turning down the images in the next image set from the image set where the slide images are currently displayed;
wherein, the flipping from the image set where the slide image is currently displayed to the image in the previous image set or the flipping to the image in the next image set, further comprises: and determining a plurality of image sets according to the relevance between the slide presentation contents in the PPT document.
In particular implementations, processor 401 may include one or more CPUs such as CPU0 and CPU1 in fig. 4 as an alternative embodiment.
In this implementation, as an alternative embodiment, the terminal 400 may include multiple processors, such as the processor 401 and the processor 408 in fig. 4. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In this embodiment, as an alternative embodiment, the terminal 400 may further include an output device 405 and an input device 406. An output device 405 is in communication with the processor 401 and may display information in a variety of ways. For example, the output device 405 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) Display device, a Cathode Ray Tube (CRT) Display device, a projector (projector), or the like. The input device 406 is in communication with the processor 401 and can accept user input in a variety of ways. For example, the input device 406 may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.
In a specific implementation, the terminal 400 may include a Mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), an intelligent wearable Device (such as a smart watch and a smart band), and other terminals that can be used by various users, and the embodiment of the present application is not limited in particular.
The present embodiments also provide a computer storage medium having instructions stored therein, which when executed on a computer or a processor, cause the computer or the processor to perform one or more steps of the method according to any one of the above embodiments. Based on the understanding that the constituent modules of the above-mentioned apparatus, if implemented in the form of software functional units and sold or used as independent products, may be stored in the computer-readable storage medium, and based on this understanding, the technical solutions of the present application, in essence, or a part contributing to the prior art, or all or part of the technical solutions, may be embodied in the form of software products, and the computer products are stored in the computer-readable storage medium.
The computer readable storage medium may be an internal storage unit of the device according to the foregoing embodiment, such as a hard disk or a memory. The computer readable storage medium may be an external storage device of the above-described apparatus, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the computer-readable storage medium may include both an internal storage unit and an external storage device of the device. The computer-readable storage medium is used for storing the computer program and other programs and data required by the apparatus. The above-described computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the above embodiments of the methods when the computer program is executed. And the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The modules in the device can be merged, divided and deleted according to actual needs.
It is to be understood that one of ordinary skill in the art would recognize that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed in the various embodiments disclosed herein can be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
Those of skill would appreciate that the functions described in connection with the various illustrative logical blocks, modules, and algorithm steps disclosed in the various embodiments disclosed herein may be implemented as hardware, software, firmware, or any combination thereof. If implemented in software, the functions described in the various illustrative logical blocks, modules, and steps may be stored on or transmitted over as one or more instructions or code on a computer-readable medium and executed by a hardware-based processing unit. The computer-readable medium may include a computer-readable storage medium, which corresponds to a tangible medium, such as a data storage medium, or any communication medium including a medium that facilitates transfer of a computer program from one place to another (e.g., according to a communication protocol). In this manner, a computer-readable medium may generally correspond to (1) a non-transitory tangible computer-readable storage medium, or (2) a communication medium, such as a signal or carrier wave. A data storage medium may be any available medium that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementing the techniques described herein. The computer program product may include a computer-readable medium.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. A PPT video barrage playing control method is characterized by comprising the following steps:
playing the PPT video file in a full-screen playing state; wherein the PPT video file comprises an image corresponding to each slide in the PPT document and a playing time stamp of each slide;
under the condition that bullet screen information exists at the current playing moment and bullet screen functions are in an activated state, displaying the bullet screen information in a first sub-area, and playing the PPT video file in a second sub-area; the first sub-area and the second sub-area form a display area of the PPT video file in a full-screen playing state, and the first sub-area and the second sub-area are not overlapped; the region equivalent to the original PPT video file is scaled to a second sub-region according to a certain proportion for playing;
after the PPT video file is played in a full-screen playing state, the method further includes:
receiving a playing control instruction aiming at a PPT video file in a playing state;
responding to the playing control instruction, and displaying a first slide image in a first preset area for playing the PPT video file; covering the PPT video file which is originally in a playing state through a first slide image; wherein the first slide image is a slide image indicated to be displayed by the play control instruction;
receiving a page turning instruction input by a user in the first preset area, and turning the slide images according to the page turning instruction;
receiving a page turning determination instruction input by a user aiming at the second slide image;
adjusting the playing progress of the PPT video file to a playing time stamp corresponding to the second slide image according to the page turning determining instruction to play;
the PPT document comprises a first slide, the first slide comprises animation playing elements, an image corresponding to the first slide is a first dynamic image, and the first dynamic image is generated according to the playing sequence of the animation playing elements; and after receiving the playing control instruction initiated by the user, if the slide image corresponding to the current playing time contains the animation playing elements, displaying and playing the dynamic image according to the playing sequence of the contained animation playing elements when displaying the slide image corresponding to the current playing time, and covering the PPT video file in the playing state through the dynamic image of the slide.
2. The method according to claim 1, wherein the first dynamic image comprises a frame of video frame image obtained by obtaining time point information of each animation playing element completing animation effect display, extracting the time point information of each animation effect display, and a dynamic image generated according to the video frame image corresponding to each animation playing element.
3. The method of claim 1, further comprising:
when the PPT video file is subjected to page recommendation display, displaying a display motion picture on the page; wherein the display motion picture is generated according to a key slide image contained in the PPT document.
4. The method of claim 1, wherein the page flip instruction comprises a first fast page flip instruction; the turning of the slide images according to the page turning instruction comprises the following steps:
if the number of the slide images contained in the PPT document is smaller than a first threshold value, turning the slide images currently displayed to a third slide image according to the first quick page turning instruction; the third slide image is the next N or the last N images of the slide image currently displayed;
if the number of the slide images contained in the PPT document is larger than or equal to the first threshold value, turning from the slide image currently displayed to a fourth slide image; the fourth slide image is the lower M or upper M images of the slide image currently displayed;
the N and the M are positive integers, and the N is smaller than the M.
5. The method of claim 1, wherein the page flip instruction comprises a second fast page flip instruction; the turning of the slide images according to the page turning instruction comprises the following steps:
according to the second quick page turning instruction, turning up the images in the previous image set or turning down the images in the next image set from the image set where the slide images are currently displayed;
wherein, the flipping from the image set where the slide image is currently displayed to the image in the previous image set or the flipping to the image in the next image set, further comprises: and determining a plurality of image sets according to the relevance between the slide presentation contents in the PPT document.
6. A PPT video barrage play control device is characterized by comprising:
the display unit is used for displaying the PPT video file in a full-screen display state; wherein the PPT video file comprises an image corresponding to each slide in the PPT document and the playing time of each slide;
the bullet screen processing unit is used for displaying bullet screen information in a first sub-area and playing the PPT video file in a second sub-area under the conditions that bullet screen information exists at the current playing moment and bullet screen functions are in an activated state; the first sub-area and the second sub-area form a display area of the PPT video file in a full-screen playing state, and the first sub-area and the second sub-area are not overlapped; the region equivalent to the original PPT video file is scaled to a second sub-region according to a certain proportion for playing;
the first receiving unit is used for receiving a playing control instruction aiming at the PPT video file in a playing state; wherein the PPT video file comprises an image corresponding to each slide in the PPT document and the playing time of each slide;
the display unit is used for responding to the playing control instruction and displaying a first slide image in a first preset area for playing the PPT video file; covering the PPT video file which is originally in a playing state through a first slide image; wherein the first slide image is a slide image indicated to be displayed by the play control instruction;
the second receiving unit is used for receiving a page turning instruction input by a user in the first preset area;
the page turning unit is used for turning the slide images according to the page turning instruction;
a third receiving unit, configured to receive a page turning determination instruction input by a user for the second slide image;
the adjusting unit is used for adjusting the playing progress of the PPT video file to the playing time corresponding to the second slide image according to the page turning determining instruction to play;
the PPT document comprises a first slide, the first slide comprises animation playing elements, an image corresponding to the first slide is a first dynamic image, and the first dynamic image is generated according to the playing sequence of the animation playing elements; after the first receiving unit receives the play control instruction initiated by the user, if the slide image corresponding to the current play time contains the animation play elements, the display unit displays the played dynamic image according to the play sequence of the contained animation play elements when displaying the slide image corresponding to the current play time, and the PPT video file in the play state is covered by the dynamic image of the slide.
7. A terminal, characterized in that it comprises a processor and a memory, said processor and memory being interconnected, wherein said memory is adapted to store a computer program comprising program instructions, said processor being configured to invoke said program instructions to perform the method according to any one of claims 1-5.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the method according to any one of claims 1-5.
CN201911204009.3A 2019-11-29 2019-11-29 PPT video barrage play control method, device, terminal and medium Active CN111078070B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911204009.3A CN111078070B (en) 2019-11-29 2019-11-29 PPT video barrage play control method, device, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911204009.3A CN111078070B (en) 2019-11-29 2019-11-29 PPT video barrage play control method, device, terminal and medium

Publications (2)

Publication Number Publication Date
CN111078070A CN111078070A (en) 2020-04-28
CN111078070B true CN111078070B (en) 2021-06-15

Family

ID=70312318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911204009.3A Active CN111078070B (en) 2019-11-29 2019-11-29 PPT video barrage play control method, device, terminal and medium

Country Status (1)

Country Link
CN (1) CN111078070B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111610914A (en) * 2020-05-12 2020-09-01 百度在线网络技术(北京)有限公司 Multimedia playing method and device, electronic equipment and storage medium
CN113672132A (en) * 2020-05-13 2021-11-19 聚好看科技股份有限公司 Method for adjusting display position of textbox control and display equipment
CN113766336B (en) * 2020-06-04 2023-09-22 腾讯科技(深圳)有限公司 Video playing control method and device, computer equipment and storage medium
CN112616078A (en) * 2020-12-10 2021-04-06 维沃移动通信有限公司 Screen projection processing method and device, electronic equipment and storage medium
CN112861047B (en) * 2021-01-27 2022-04-15 创盛视联数码科技(北京)有限公司 Document playback method and system for online platform
CN114217889B (en) * 2021-11-11 2023-08-11 北京百度网讯科技有限公司 Display method, device, equipment and storage medium
CN115277650B (en) * 2022-07-13 2024-01-09 深圳乐播科技有限公司 Screen-throwing display control method, electronic equipment and related device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1692644A (en) * 2002-12-18 2005-11-02 索尼株式会社 Information processing device, information processing method and program, and recording medium
CN101377738A (en) * 2007-08-27 2009-03-04 汉王科技股份有限公司 Method for implementing page turning of electric document
CN101454837A (en) * 2006-01-06 2009-06-10 惠普开发有限公司 Converting a still image in a slide show to a plurality of video frame images
CN101535989A (en) * 2006-09-01 2009-09-16 Lg电子株式会社 Aparatus for displaying slide show function and method of controlling the same
CN102156613A (en) * 2011-03-29 2011-08-17 汉王科技股份有限公司 Display method and device thereof for presentations
CN102279705A (en) * 2011-08-03 2011-12-14 惠州Tcl移动通信有限公司 Method for wirelessly switching slides and terminal thereof
CN103973732A (en) * 2013-01-29 2014-08-06 腾讯科技(深圳)有限公司 PPT playing method and device
CN106057022A (en) * 2016-08-18 2016-10-26 张颂忠 PPT page turning remote controller
CN107181976A (en) * 2017-04-28 2017-09-19 华为技术有限公司 A kind of barrage display methods and electronic equipment
CN109089170A (en) * 2018-09-11 2018-12-25 传线网络科技(上海)有限公司 Barrage display methods and device
CN109614030A (en) * 2018-11-29 2019-04-12 广州视源电子科技股份有限公司 Courseware development, review methods, device, system, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635849B (en) * 2015-12-25 2018-06-05 网易传媒科技(北京)有限公司 Text display method and device when multimedia file plays
CN106776890B (en) * 2016-11-29 2021-06-29 北京小米移动软件有限公司 Method and device for adjusting video playing progress
CN106713964A (en) * 2016-12-05 2017-05-24 乐视控股(北京)有限公司 Method of generating video abstract viewpoint graph and apparatus thereof
CN109271532A (en) * 2017-07-18 2019-01-25 北京国双科技有限公司 A kind of method and device of multimedia file playback
CN109936756A (en) * 2017-12-15 2019-06-25 优酷信息技术(北京)有限公司 The determination method and device of video cover
CN110427499B (en) * 2018-04-26 2023-08-29 腾讯科技(深圳)有限公司 Method and device for processing multimedia resources, storage medium and electronic device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1692644A (en) * 2002-12-18 2005-11-02 索尼株式会社 Information processing device, information processing method and program, and recording medium
CN101454837A (en) * 2006-01-06 2009-06-10 惠普开发有限公司 Converting a still image in a slide show to a plurality of video frame images
CN101535989A (en) * 2006-09-01 2009-09-16 Lg电子株式会社 Aparatus for displaying slide show function and method of controlling the same
CN101377738A (en) * 2007-08-27 2009-03-04 汉王科技股份有限公司 Method for implementing page turning of electric document
CN102156613A (en) * 2011-03-29 2011-08-17 汉王科技股份有限公司 Display method and device thereof for presentations
CN102279705A (en) * 2011-08-03 2011-12-14 惠州Tcl移动通信有限公司 Method for wirelessly switching slides and terminal thereof
CN103973732A (en) * 2013-01-29 2014-08-06 腾讯科技(深圳)有限公司 PPT playing method and device
CN106057022A (en) * 2016-08-18 2016-10-26 张颂忠 PPT page turning remote controller
CN107181976A (en) * 2017-04-28 2017-09-19 华为技术有限公司 A kind of barrage display methods and electronic equipment
CN109089170A (en) * 2018-09-11 2018-12-25 传线网络科技(上海)有限公司 Barrage display methods and device
CN109614030A (en) * 2018-11-29 2019-04-12 广州视源电子科技股份有限公司 Courseware development, review methods, device, system, equipment and storage medium

Also Published As

Publication number Publication date
CN111078070A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN111078070B (en) PPT video barrage play control method, device, terminal and medium
CN111078078B (en) Video playing control method, device, terminal and computer readable storage medium
CN111131876B (en) Control method, device and terminal for live video and computer readable storage medium
US11887630B2 (en) Multimedia data processing method, multimedia data generation method, and related device
CN111970577B (en) Subtitle editing method and device and electronic equipment
US20190364133A1 (en) Display processing method and apparatus, and electronic terminal therefor
CN114077375B (en) Target object display method and device, electronic equipment and storage medium
CN108256921B (en) Method and device for pushing information for user
CN113992934B (en) Multimedia information processing method, device, electronic equipment and storage medium
CN112437353B (en) Video processing method, video processing device, electronic apparatus, and readable storage medium
WO2023088442A1 (en) Live streaming preview method and apparatus, and device, program product and medium
US10685642B2 (en) Information processing method
CN113886612A (en) Multimedia browsing method, device, equipment and medium
CN112989112B (en) Online classroom content acquisition method and device
CN110647374A (en) Interaction method and device for holographic display window and electronic equipment
CN112181252B (en) Screen capturing method and device and electronic equipment
CN115454302A (en) Live broadcast room display method and device, electronic equipment and storage medium
CN115086734A (en) Information display method, device, equipment and medium based on video
CN112118484B (en) Video bullet screen display method and device, computer equipment and readable storage medium
US20230185444A1 (en) Multimedia information playback and apparatus, electronic device, and computer storage medium
CN116048337A (en) Page display method, device, equipment and storage medium
CN115550723A (en) Multimedia information display method and device and electronic equipment
CN116137662A (en) Page display method and device, electronic equipment, storage medium and program product
CN116089757A (en) Page display method and device, electronic equipment, storage medium and program product
RU2690888C2 (en) Method, apparatus and computing device for receiving broadcast content

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210520

Address after: 518000 1904 gongkan building, South Keji South 8th Road, high tech park, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Mirror Play Technology Co.,Ltd.

Address before: 1903, gongkan building, South Keji South 8th Road, high tech park, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen zichat Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant