CN112533054B - Online video playing method and device and storage medium - Google Patents

Online video playing method and device and storage medium Download PDF

Info

Publication number
CN112533054B
CN112533054B CN201910885753.8A CN201910885753A CN112533054B CN 112533054 B CN112533054 B CN 112533054B CN 201910885753 A CN201910885753 A CN 201910885753A CN 112533054 B CN112533054 B CN 112533054B
Authority
CN
China
Prior art keywords
presentation
signaling
playing
online video
picture
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
CN201910885753.8A
Other languages
Chinese (zh)
Other versions
CN112533054A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910885753.8A priority Critical patent/CN112533054B/en
Publication of CN112533054A publication Critical patent/CN112533054A/en
Application granted granted Critical
Publication of CN112533054B publication Critical patent/CN112533054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4355Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reformatting operations of additional data, e.g. HTML pages on a television screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
    • H04N21/8133Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts specifically related to the content, e.g. biography of the actors in a movie, detailed information about an article seen in a video program

Abstract

The embodiment of the invention discloses a method and a device for playing an online video and a storage medium. The embodiment of the invention can acquire the associated presentation in the online video, convert the presentation into the preset format, detect the operation information of the online video on the presentation, and generate the signaling according to the operation information, wherein the signaling comprises the timestamp corresponding to the operation information, and the signaling is loaded in the process of playing the presentation in the preset format according to the timestamp of the signaling. The embodiment of the application can convert the presentation into the preset format to be loaded locally at the terminal, and realize the operation in the video process through signaling, so that the scheme can greatly reduce the video capacity, save the user flow, improve the downloading speed and effectively improve the video definition.

Description

Online video playing method and device and storage medium
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for playing an online video and a storage medium.
Background
With the rapid development of information technology, especially from the internet to the mobile internet, cross-space life, work and learning modes are created, and the mode of acquiring knowledge is fundamentally changed. The teaching and learning can be free from the limitation of time, space and place conditions, and the knowledge acquisition channel is flexible and diversified. Therefore, online education is in good supply, online education is taken as the name meaning, a teaching mode taking a network as a medium is adopted, through the network, students and teachers can develop teaching activities even if the students and teachers are separated by ten thousand miles, and users can watch online education videos in a live broadcast or recorded broadcast mode.
In the prior art, currently, an audio-video on demand technology is mainly adopted for video recording and playing, a main picture PPT and an audio are coded into a video stream, and synchronization of the main picture PPT and a picture-in-picture is realized through an audio time stamp (an external time stamp is adopted under the condition that no audio exists). For a scene of multiple paths of video streams, the flow loss of online watching recorded and broadcast videos is large for a user, different picture definitions need to be provided for different network states in consideration of the picture fluency problem, videos with multiple resolutions need to be considered in production of the recorded and broadcast videos for a background, switching downloading of the videos with different resolutions needs to be considered for a client, and the definition of the downloaded and watched videos is not high if the network state is poor.
Disclosure of Invention
The embodiment of the invention provides a method and a device for playing an online video and a storage medium, and aims to improve the definition of the video while reducing the capacity of the online education video.
In order to solve the above technical problem, the embodiments of the present invention provide the following technical solutions:
a playing method of an online video comprises the following steps:
acquiring a relevant presentation in an online video, and converting the presentation into a preset format;
detecting operation information performed on the presentation in the online video;
generating a signaling according to the operation information, wherein the signaling comprises a timestamp corresponding to the operation information;
and loading the signaling in the process of playing the presentation in the preset format according to the timestamp of the signaling.
An online video playing device, comprising:
the conversion unit is used for acquiring a presentation associated in the online education video and converting the presentation into a preset format;
the detection unit is used for detecting operation information of the presentation in the online education video;
a generating unit, configured to generate a signaling according to the operation information, where the signaling includes a timestamp corresponding to the operation information;
and the loading unit is used for loading the signaling in the process of playing the presentation in the preset format according to the timestamp of the signaling.
A storage medium, wherein the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the online video playing method.
The embodiment provided by the application can acquire the associated presentation in the online video, convert the presentation into the preset format, detect the operation information performed on the presentation in the online video, and generate the signaling according to the operation information, wherein the signaling comprises the timestamp corresponding to the operation information, and the signaling is loaded in the process of playing the presentation in the preset format according to the timestamp of the signaling. The embodiment of the application can convert the presentation into the preset format to be loaded locally at the terminal, and realize the operation in the video process through signaling, so that the scheme can greatly reduce the video capacity, save the user flow, improve the downloading speed and effectively improve the video definition.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic scene diagram of an online video playing system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for playing an online video according to an embodiment of the present invention;
fig. 3 is a schematic view of a scene of playing a video through a video stream according to an embodiment of the present invention;
fig. 4 is a scene schematic diagram of a playing method of an online video according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating the comparison of flow consumption according to an embodiment of the present invention;
fig. 6 is another schematic flow chart of a playing method of an online video according to an embodiment of the present application;
fig. 7 is a schematic technical framework diagram of a playing method of an online video according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an online video playing device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another online video playing apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein may be combined with other embodiments.
An execution main body of the online video playing method may be the online video playing device provided in the embodiment of the present invention, or a server integrated with the online video playing device, where the online video playing device may be implemented in a hardware or software manner.
The embodiment of the invention provides a method and a device for playing an online video and a storage medium.
Referring to fig. 1, fig. 1 is a schematic view of a scene of an online video playing system according to an embodiment of the present invention, including: a terminal 10 and a server 20. The terminal 10 and the server 20 may be connected via a communication network, which may include a wireless network including one or more of a wireless wide area network, a wireless local area network, a wireless metropolitan area network, and a wireless personal area network, as well as a wired network. The network includes network entities such as routers, gateways, etc., which are not shown in the figure. The terminal 10 may interact with the server 20 via a communication network, for example, by downloading an application (e.g., an instant messaging application) from the server 20.
The online video playing system may include an online video playing device, which may be specifically integrated in a terminal having a storage unit, a microprocessor, and an arithmetic capability, such as a tablet computer, a television, a mobile phone, a notebook computer, a desktop computer, and the like, and further including a display screen to have a video playing function, in fig. 1, the terminal is a terminal 10 in fig. 1, and multimedia applications, such as a video playing application or a music playing application, may be installed in the terminal 10. The terminal 10 may be configured to generate a video playing request, send the video playing request to the server 20, and receive video data returned by the server 20 according to the video playing request, and the terminal 10 may play the video data after receiving the video data.
The online video playing system may further include a server 20, which is mainly configured to receive a video playing request sent by the terminal 10, and then search corresponding video data according to the video playing request and send the video data to the terminal 10. The online video playing system may further include a memory configured to store an information base, where the information base includes an association relationship between the video playing request and the video data, and the like, so that the server may obtain the video data corresponding to the video playing request from the memory and send the video data to the terminal 10.
It should be noted that the scene schematic diagram of the online video playing system shown in fig. 1 is only an example, and the online video playing system and the scene described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention.
The following are detailed descriptions. The numbers in the following examples are not intended to limit the order of preference of the examples.
In this embodiment, a description will be given of a playback apparatus of an online video, which may be specifically integrated into a system composed of a plurality of terminals, each of which is a terminal having a video playback function and provided with a storage unit and a display screen.
A playing method of an online video comprises the following steps:
acquiring a presentation associated in an online education video, and converting the presentation into a preset format;
acquiring operation information of the presentation in the online education video;
generating a signaling according to the operation information, wherein the signaling comprises a timestamp corresponding to the operation information;
and displaying the signaling in the process of playing the presentation in the preset format according to the timestamp of the signaling.
In practical use, for a scene of multiple video streams, the multiple video streams can be combined into one stream by a mixed flow technology, and compared with a scheme of encoding a main picture PPT and audio into one video stream, the scheme can solve the synchronization problem of the multiple video streams of a client to a certain extent. However, for an educational scene, most pictures are mainly PPT with relatively small picture change or low frame rate, a picture-in-picture is a video acquired by a camera with a relatively high frame rate, and if one video stream is synthesized, the capacity of the video stream is increased compared with two video streams, so that more traffic of a user needs to be consumed. The method realizes PPT page turning, animation switching, real-time synchronization of a teacher end painting brush, question insertion and other operations through signaling to realize main picture video playing, can effectively reduce network flow consumption of a user, does not need to consider switching aiming at different network video picture definition, realizes the optimization experience of online and offline main picture quality watching, and is specifically described as follows:
referring to fig. 2, fig. 2 is a schematic flowchart illustrating a method for playing an online video according to an embodiment of the present invention.
The playing method of the online video comprises the following steps:
in step 101, a presentation associated in the online video is obtained, and the presentation is converted into a preset format.
In an embodiment of the application, the online video may be an online education video, where a presentation associated in the online education video is a presentation used in the process of speaking and then performing online education, such as a PPT file, a word file, an excel file, or a pdf file, and the number of the presentations may be one or more. Specifically, when the user clicks and plays the education video, the user terminal automatically generates an acquisition instruction, acquires the presentation associated with the education video from the server, and converts the presentation into a preset format, so that the converted presentation can be displayed and played on the user terminal.
In an embodiment of the application, the initial format of the presentation file may be determined according to a suffix name of the presentation file, where the suffix name of the presentation file includes a file suffix name corresponding to a ppt file, a word file, an excel file, a pdf file, and a file suffix name corresponding to a file in another format supported by the system. When the suffix name of the file belongs to one of the above-mentioned supported document file suffix names, it is judged as a presentation format file. For example, when the file suffix name is. Doc or. Docx, it is judged as a word file, and when the file suffix name is. PPT, it is judged as a PPT file.
For example, a presentation file associated with the acquired online education video may be converted into an SWF format file or an HTML5 format file. The SWF is a Flash animation file based on vectors, is generally created by using FLASH software and generates an SWF file format, and can also convert doc, PPT, PDF and other types of files into the SWF format through corresponding software. SWF format files are widely used to create attractive applications that contain rich video, sound, graphics, and animation. Raw content can be created in Flash or imported from other Adobe applications (such as Photoshop or Illustrator), simple animations can be quickly designed, and advanced interactive projects can be developed using Adobe AcitonScript 3.0. Which designers and developers can use to create presentations, applications, and other content that allows user interaction. Flash may contain simple animations, video content, complex presentations and applications and anything in between. By designing the SWF file format, the addition of user interactive contents can be realized by applications such as online education, video conferences and the like, so that the effects of more intuition, vividness and image are achieved. In the preferred embodiment of the invention, the document file format conversion is carried out by using iSpring software, wherein iSpring is an interactive courseware making tool, so that a presentation document can be easily added into sound, video, test questions, interaction and the like, and simultaneously, the presentation document is converted into a Flash film in an SWF file format by one key, and the original visual and animation effects can be kept while the conversion is carried out.
HTML5, a version of the HTML standard that replaces the HTML4.01 and XHTML1.0 standards made in 1999, is still in the development stage, but most browsers already support some HTML5 technology. HTML5 has two major features: first, the performance of the Web page is enhanced. Next, a function of a Web application such as a local database is added. When referring to HTML5 in a broad sense, we actually refer to a set of combinations of technologies including HTML, CSS, and javascript. It is desirable to reduce browser requirements for rich web application services (RIA) that require plug-ins, such as adobe flash, microsoft silverlight, and oracle java fx, and to provide a more standard set that effectively enhances web applications. Especially, the webpage multimedia characteristic of HTML supports multimedia functions of Audio, video and the like at a webpage end, brings out the best in each other with APPS, camera and Audio-Video functions carried by a website, and has the advantages of supporting multiple devices, crossing platforms and self-adaption. In the preferred embodiment of the present invention, the document file format conversion can also be performed by using the isring software, and the document format file is converted into the HTML5 format for presentation.
In an embodiment of the application, taking the example of converting the PPT file into the HTML5 format file as an example for explanation, the PPT document may be parsed first to obtain the resource file in the PPT file, and converted into the file format supported by the HTML 5. The specific implementation mode can be as follows: and converting various resources (such as pictures, videos, audios, flash animations) and the like used in the whole PPT document into a file format supported by HTML 5. Converting audio and video files used by the document into a standard format of HTML5, for example, all audio is converted into an mp3 format, and all video is converted into an mp4 format of h.264 coding; and converting the shape, rotation and shadow information into a standard format of HTML5 item by item according to the grasped position. And selecting shapes used in the PPT document to be marked by svg vectors according to situations, and generating a corresponding font svg file if external fonts exist. The converted resource file is then loaded to form an HTML page.
In step 102, operation information performed on the presentation in the online video is acquired.
In an embodiment of the application, the operation information performed on the presentation in the online education video may include opening, closing, turning pages, cutting animation, drawing a brush, inserting a white board, and performing exercises, and specifically, the operation information on the presentation may be acquired and stored in the server when the speaker performs online education, and then the user terminal may request the operation information on the presentation in the online education video when requesting the presentation from the server.
In an embodiment of the application, a drawing board may be disposed on an original presentation to record operation information of a speaker on the presentation when performing online education, so that data on the drawing board may be directly extracted after the online education is finished, that is, the operation information of the speaker on the presentation is obtained. Taking an example that a speaker opens a PPT courseware demonstration, the description layer operation data of the PPT courseware is document operation data of the speaker opening or closing the PPT courseware, turning pages and the like, and may also include operation data of text editing (modifying, inserting, thickening or changing fonts and sizes and the like), and the like, and also include description operation data of the speaker drawing, adding labels, drawing lines and the like on the PPT courseware, wherein the description operation data is on a drawing board on the upper layer of the PPT courseware.
In an embodiment of the application, the operation information may further include a time tag, so that an operation corresponding to the speaker may be displayed to the user according to a playing progress of the online education video when the subsequent user terminal plays the presentation, thereby avoiding a time difference.
For example, the following illustrates a process in which a speaker acquires operation information of a PPT file and processes the operation information: when the speaker selects a brush function on the 20 th page of a PPT courseware which is demonstrated in real time at the 20 th minute of a classroom, and presses a mouse at the position of x =10 and y =10 of the selected current page, the initial point position information (10, 10) is recorded in the drawing data; when a speaker moves a held mouse on a page, both the x value and the y value of a moving point are transmitted into the description data to record the position information of each point; when the speaker releases the mouse at the position x =200 and y =200 on the page, the drawing operation is finished, and the drawing data records the end position information (200 ); the speaker generates structured data according to the acquired description operation data, the operation type (painting brush function) and the position information and sends the structured data to the server; and after receiving the structured data sent by the caller, the server analyzes the structured data, adds time information (20 th minute is used as a time tag) to the analyzed data according to the analyzed operation data, and then stores the data in a data storage end, namely a server.
In step 103, signaling is generated according to the operation information, wherein the signaling includes a timestamp corresponding to the operation information.
In an application embodiment, the signaling is generated according to the operation information, and if the online education video includes a plurality of operation information for the presentation, a plurality of corresponding signaling is generated to obtain the signaling data packet. The signaling comprises a timestamp corresponding to the operation information. For example, the time axis for the brush operation in step 102 is 20 minutes.
Specifically, the time axis may be a time schedule corresponding to the operation information in the online education video, for example, when the online education video is played for 20 minutes, the teacher performs a painting operation, and thus the time axis corresponding to the painting operation after being converted into the signaling is 20 minutes. That is, generating a signaling according to the operation information, including:
determining time information of the operation information in the online education video playing process;
and generating the signaling according to the operation information and the time information.
In an application embodiment, a corresponding signaling may also be generated according to an operation type of the operation information, specifically, after the operation information is acquired, the operation type may be determined first, for example, if the operation type is a brush type, the brush operation is generated into the signaling according to a corresponding manner, if the operation type is a page turning type, the page turning operation is generated into the signaling according to a corresponding manner, and the like.
In practical use, the operation information further includes two types of transient operation and continuous operation, for example, a page turning, an opening, a closing and the like for the presentation are transient operations, and for example, a brush operation is a continuous operation, and a certain duration is provided for the continuous operation. Therefore, in one embodiment, if the operation information is an instant operation, the time axis included in the generated signaling is one, that is, the time when the operation occurs. If the operation information is a continuous operation, the number of time axes included in the generated signaling is two, and the two time axes are the start time and the end time of the operation. For example, the time axis of the signaling generated by the operation of turning the PPT from the first page to the second page is 1 minute, and the time axes of the signaling generated by the operation of performing the brush operation on the second page of the PPT may be two, which are 1 minute and 10 seconds, and 1 minute and 15 seconds, respectively.
In step 104, the signaling is loaded during the process of playing the presentation in the preset format according to the timestamp of the signaling.
In one embodiment, if only the main screen including the presentation is included in the online education video, synchronization with the audio or picture-in-picture is not required in this case, and the signaling is displayed according to the playing time of the online education video itself in the case of only one main screen. Because each signaling has a time stamp, the time stamp is displayed according to the playing progress from the beginning of the video.
Compared with the prior art, the embodiment provided by the invention converts the PPT into the HTML5, loads the HTML5 locally, and realizes the operations of PPT page turning, animation switching, real-time synchronization of teacher-side brushes, insertion of exercises and the like through signaling to realize the video playing of the main picture. The scheme can effectively reduce the network flow consumption of the user, does not need to consider the switching of the definition of different network video pictures, and realizes the optimization experience of the definition and stability of the main picture when the main picture is watched on line and off line.
Referring to fig. 3, fig. 3 is a schematic view of a scene for playing a video through a video stream according to an embodiment of the present invention, where the method has a high requirement on the network quality of a user, and needs to provide different image definitions for different network states, and when the network quality of the user is poor, the resolution of the video to be watched is low, and the definition is also poor, which affects the user's watching. With continuing reference to fig. 4, fig. 4 is a scene schematic diagram of a playing method of an online video according to an embodiment of the present invention, which is a method provided by the present application, and since the converted HTML5 page is directly loaded locally without playing through a video stream, and the operation of the speaker is realized through signaling, the image definition is greatly improved.
In addition, the original video streaming scheme is based on H264 video coding, and compression processing is performed after receiving the influence of a network and resolution, and the PPT content in the HTML5 scheme in the application is a vector diagram and is compressed losslessly, so that the definition is obviously improved. Meanwhile, the color of the brush pen is compressed and discolored in the video coding process, and the color and the thickness of the brush pen are reduced by 100% in a signaling scheme, so that the definition is obviously improved.
Furthermore, because the data capacity of the PPT file is much smaller than the capacity of the video itself, the online video playing method provided by the embodiment of the present application can also greatly save the data traffic of the user, and can improve the downloading speed and the playing efficiency. Referring to fig. 5, fig. 5 is a schematic diagram illustrating a comparison of flow consumption according to an embodiment of the present invention. For example, in the period from 16 days at 1 month to 13 days at 2 months, two education video playing methods are respectively used for comparison, and the same online education recorded and broadcast video is played, as can be seen from the figure, in the period when the video stream is used for playing, the flow consumed by the client is 117MB, wherein the flow consumed by the foreground is 115MB, and the flow consumed by the background is 1.76MB. After the playing method provided by the embodiment of the present application is used, the traffic consumed by the client in this period is only 39.59MB, where the traffic consumed by the foreground is 39.36MB, and the traffic consumed by the background is 233KB. Therefore, after the online video playing method provided by the user is used, the definition of the video is improved, and the consumption of data flow is reduced.
In an embodiment, if the online education video further includes audio, the online education video includes audio data. For example, if the speaker outputs an audio signal during the online lecture, the audio data needs to be played during the playing of the converted presentation. In this case, it is necessary to perform sound and picture synchronization first, specifically, an audio time stamp may be used to perform sound and picture synchronization, each signaling has a video time stamp, and all corresponding signaling is displayed according to the current audio time stamp. That is, according to the timestamp of the signaling, the signaling is displayed in the process of playing the presentation in the preset format, including:
synchronizing a timestamp of the signaling with the audio data;
and in the process of playing the presentation in the preset format and the audio data, displaying the signaling according to the playing progress of the audio data.
In another embodiment, if the online education video further includes a picture-in-picture, the online education video includes a picture-in-picture. For example, the speaker captures the picture of the speaker as a picture-in-picture in the education video through the camera in the process of online teaching. The pip is a video content presentation mode, which means that while one video is played in full screen, another video is played on a small area of the screen at the same time. At this time, the pip also needs to be played in the process of playing the converted presentation, wherein in this case, picture synchronization needs to be performed first, and in this case, considering that the main picture is a core part, the important point of attention of the students is the large-picture PPT region, so that the signaling, that is, the large-picture PPT, can be displayed by the video playing time, and the video content of the pip is displayed according to the time of the signaling as a reference. That is, according to the timestamp of the signaling, the signaling is displayed in the process of playing the presentation in the preset format, including:
synchronizing a timestamp of the signaling with the picture-in-picture;
and displaying the signaling in the process of playing the presentation in the preset format according to the timestamp of the signaling, and playing the picture-in-picture according to the timestamp of the signaling.
As can be seen from the above, the method for playing an online video according to the embodiment of the present application can acquire a presentation associated in the online video, convert the presentation into a preset format, detect operation information performed on the presentation in the online video, and generate a signaling according to the operation information, where the signaling includes a timestamp corresponding to the operation information, and load the signaling in a process of playing the presentation in the preset format according to the timestamp of the signaling. The embodiment of the application can convert the presentation into the preset format to be loaded locally at the terminal, and realize the operation in the video process through signaling, so that the scheme can greatly reduce the video capacity, save the user flow, improve the downloading speed and effectively improve the video definition.
The playing method of the online video described in the previous embodiment is described in further detail below by way of example.
In this embodiment, a description will be given by taking an example in which the online video playback device is specifically integrated in a terminal.
Referring to fig. 6, fig. 6 is another schematic flow chart of a playing method of an online video according to an embodiment of the present invention. The method flow can comprise the following steps:
step 201, acquiring a presentation associated in the online video, and extracting the layout information of the presentation and elements included in the presentation.
In an embodiment of the application, the online video may be an online education video, and a presentation associated in the online education video is a presentation used in the process of performing online education again by using a lecture, such as a PPT file. The number of the presentations can be one or more. Specifically, when the user clicks and plays the education video, the user terminal automatically generates an acquisition instruction, and acquires the presentation associated with the education video from the server.
Further, in an embodiment of the application, composition information of the presentation and elements included in the presentation may be further extracted, where the composition information of the presentation may include global information of the presentation, such as length and width, powerPoint version used, default style included, font size, and the like. The elements included in the presentation may be various resources used throughout the presentation, such as pictures, video, audio, flash animation, etc.,
step 202, converting the elements contained in the presentation, and modifying the typesetting information.
In an embodiment of the application, the extracted elements included in the presentation are converted, for example, audio and video files used by the document are converted into a standard format of HTML5, for example, all audio is converted into an mp3 format, and all video is converted into an h.264 encoded mp4 format; and converting the shape, rotation and shadow information into a standard format of HTML5 item by item according to the grasped position. And selecting shapes used in the PPT document to be marked by svg vectors according to situations, and generating a corresponding font svg file if an external font exists.
Further, the layout information needs to be modified adaptively, and in an embodiment, the layout information may be modified according to the device parameters of the current device, for example, modifying the size of the presentation, modifying the font size is more convenient for the user to view, and the like. The above modifying the pan information may be automatically and adaptively modifying by the user terminal system, or may be performed according to a user instruction, and the comparison is not further limited in the present application.
And step 203, generating a presentation in a preset format according to the modified typesetting information and the converted elements.
In an embodiment, the initial format of the presentation file may be determined according to the suffix name of the presentation file, and the initial format may be converted into a preset format, for example, the presentation file associated with the acquired online education video may be converted into an SWF format file or an HTML5 format file. Taking the example of converting the PPT file into the HTML5 format file as an example, a canvas is first prepared in HTML, wherein the canvas may use canvas elements, and wherein the canvas elements of HTML5 use JavaScript to draw images on web pages. Then, a frame is declared to the canvas by using the CSS to facilitate later display, then the canvas object is obtained in a loading event of the JS, next, a 2d context is obtained by a getContext method of the canvas object, a rectangle is drawn by using the context, and finally, an HTML5 page can be generated after the program is run.
And 204, detecting operation information performed on the presentation in the online video.
In an embodiment of the application, the operation information performed on the presentation in the online education video may include opening, closing, turning pages, cutting animation, drawing a brush, inserting a white board, and performing exercises, and specifically, the operation information on the presentation may be acquired and stored in the server when the speaker performs online education, and then the user terminal may request the operation information on the presentation in the online education video when requesting the presentation from the server.
In an embodiment of the application, a drawing board may be disposed on an original presentation to record operation information of a speaker on the presentation when performing online education, so that data on the drawing board may be directly extracted after the online education is finished, that is, the operation information of the speaker on the presentation is obtained. Taking an example that a speaker opens a PPT courseware demonstration, the description layer operation data of the PPT courseware is document operation data of the speaker opening or closing the PPT courseware, turning pages and the like, and may also include operation data of text editing (modifying, inserting, thickening or changing fonts and sizes and the like), and the like, and also include description operation data of the speaker drawing, adding labels, drawing lines and the like on the PPT courseware, wherein the description operation data is on a drawing board on the upper layer of the PPT courseware.
Step 205, generating a signaling according to the operation information, wherein the signaling includes a timestamp corresponding to the operation information.
In an embodiment of the application, the signaling is generated according to the operation information, and if the online education video includes a plurality of operation information performed on the presentation, a plurality of corresponding signaling is generated to obtain the signaling data packet. The signaling comprises a timestamp corresponding to the operation information.
Specifically, the time axis may be a time schedule corresponding to the operation information in the online education video, for example, when the online education video is played for 20 minutes, the teacher performs a painting operation, and thus the time axis corresponding to the painting operation after being converted into the signaling is 20 minutes.
Step 206, synchronizing the time stamp and the picture-in-picture of the signaling with the audio data.
In an embodiment of the application, the online video includes audio data and a picture-in-picture. The audio data may be an audio signal output by the speaker during the online lecture, and the audio data may be played during the playing of the converted presentation. The picture-in-picture can be used as a picture-in-picture in an education video for a speaker to capture own pictures through a camera in the process of online teaching. At this time, if the online video simultaneously includes the audio data and the picture-in-picture, synchronization is also needed, and considering that the audio data is most direct for the students to look and feel, the audio time can be used as a reference under this situation, so as to realize synchronization of three paths of data. In particular, both the time stamp and the picture-in-picture of the signaling may be synchronized with the audio data.
And step 207, loading the signaling and the picture-in-picture according to the playing progress of the audio data in the process of playing the presentation and the audio data in the preset format.
Referring to fig. 7, fig. 7 is a schematic technical framework diagram of a playing method of an online video according to an embodiment of the present application. When the online education video simultaneously comprises a main picture, audio and picture-in-picture, the auxiliary main picture is changed into a signaling mode from the existing video-on-demand scheme. The signaling simplification profile is: recorded broadcast signaling = H5 PPT + signaling (open, close, page turn, cut animation, brush, insert whiteboard, problem, etc.).
Compared with the prior art, the embodiment provided by the invention converts the PPT into the HTML5, loads the HTML5 locally, and realizes the operations of PPT page turning, animation switching, real-time synchronization of a teacher end painting brush, question insertion and the like through signaling to realize the video playing of the main picture. The scheme can effectively reduce the network flow consumption of the user, does not need to consider the switching aiming at the definition of different network video pictures, and realizes the optimization experience of the definition and stability of the main picture quality when watching the main picture online and offline.
As can be seen from the above, the method for playing an online video according to the embodiment of the present application can acquire a presentation associated in the online video, extract composition information of the presentation and elements included in the presentation, convert the elements included in the presentation, modify the composition information, generate a presentation in a preset format according to the modified composition information and the converted elements, detect operation information performed on the presentation in the online video, and generate a signaling according to the operation information, where the signaling includes a timestamp corresponding to the operation information, synchronize the timestamp and the picture-in-picture of the signaling with audio data, and load and signal according to a playing progress of the audio data during playing of the presentation in the preset format and the audio picture-in-picture data. The embodiment of the application can convert the presentation into the preset format to be loaded locally at the terminal, and realize the operation in the video process through signaling.
In order to better implement the online video playing method provided by the embodiment of the present invention, an embodiment of the present invention further provides a device based on the online video playing method. The meaning of the noun is the same as that in the above-mentioned online video playing method, and specific implementation details can refer to the description in the method embodiment.
In this embodiment, a description will be given of a playback apparatus of an online video, which may be specifically integrated into a system composed of a plurality of terminals, each of which is a terminal having a video playback function and provided with a storage unit and a display screen.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an online video playing device according to an embodiment of the present invention. The playing device of the online video may include:
a converting unit 301, configured to obtain a presentation associated in the online video, and convert the presentation into a preset format.
In an embodiment of the application, the online video may be an online education video, and a presentation associated in the online education video is a presentation used in the process of speaking and then performing online education, such as a PPT file, a word file, an excel file, or a pdf file.
In an embodiment of the application, the initial format of the presentation file may be determined according to a suffix name of the presentation file, where the suffix name of the presentation file includes a file suffix name corresponding to a ppt file, a word file, an excel file, a pdf file, and a file in another format supported by the system. When the suffix name of the file belongs to one of the above-mentioned supported document file suffix names, it is judged as a presentation format file. For example, when the file suffix name is. Doc or. Docx, it is judged as a word file, and when the file suffix name is. PPT, it is judged as a PPT file.
For example, a presentation file associated with the acquired online education video may be converted into an SWF format file or an HTML5 format file. Taking the example of converting the PPT file into the HTML5 format file as an example, the PPT file may be parsed to obtain the resource file in the PPT file, and converted into the file format supported by the HTML 5. The specific implementation mode can be as follows: and converting various resources (such as pictures, videos, audios, flash animations) and the like used in the whole PPT document into a file format supported by HTML 5. Converting audio and video files used by the document into a standard format of HTML5, for example, all audio is converted into an mp3 format, and all video is converted into an mp4 format of h.264 coding; and converting the shape, rotation and shadow information into a standard format of HTML5 item by item according to the grasped position. And selecting shapes used in the PPT document to be marked by svg vectors according to situations, and generating a corresponding font svg file if an external font exists. The converted resource file is then loaded to form an HTML page.
A detecting unit 302, configured to detect operation information performed on the presentation in the online video.
In an embodiment of the application, the operation information performed on the presentation in the online education video may include opening, closing, turning pages, cutting animation, drawing a brush, inserting a white board, and performing exercises, and specifically, the operation information on the presentation may be acquired and stored in the server when the speaker performs online education, and then the user terminal may request the operation information on the presentation in the online education video when requesting the presentation from the server.
In an application embodiment, a drawing board may be disposed on an original presentation to record operation information of a speaker for the presentation when performing online education, so that data on the drawing board may be directly extracted after the online education is finished, that is, the operation information of the speaker for the presentation. Taking an example that a speaker opens a PPT courseware demonstration, the description layer operation data of the PPT courseware is document operation data of the speaker opening or closing the PPT courseware, turning pages and the like, and may also include operation data of text editing (modifying, inserting, thickening or changing fonts and sizes and the like), and the like, and also include description operation data of the speaker drawing, adding labels, drawing lines and the like on the PPT courseware, wherein the description operation data is on a drawing board on the upper layer of the PPT courseware.
A generating unit 303, configured to generate a signaling according to the operation information, where the signaling includes a timestamp corresponding to the operation information.
In an embodiment of the application, the signaling is generated according to the operation information, and if the online education video includes a plurality of operation information performed on the presentation, a plurality of corresponding signaling is generated to obtain the signaling data packet.
A loading unit 304, configured to load the signaling according to the timestamp of the signaling in the process of playing the presentation in the preset format.
In one embodiment, if only the main screen including the presentation is included in the online education video, synchronization with the audio or the picture-in-picture is not required in this case, and the signaling is displayed according to the playing time of the online education video itself in the case of only one main screen.
In an embodiment, if the online education video further includes audio, the online education video includes audio data. For example, if the speaker outputs an audio signal during the online lecture, the audio data needs to be played during the playing of the converted presentation. In this case, it is necessary to perform sound and picture synchronization first, specifically, an audio time stamp may be used to perform sound and picture synchronization, each signaling has a video time stamp, and all corresponding signaling is displayed according to the current audio time stamp.
In another embodiment, if the online education video further includes a pip, the online education video includes a pip. For example, the speaker can capture the picture of the speaker as a picture-in-picture in the education video through the camera during the on-line teaching. The pip is a video content presentation mode, which means that while one video is played in a full screen, another video is played on a small area of a screen at the same time. At this time, the pip also needs to be played in the process of playing the converted presentation, wherein in this case, picture synchronization needs to be performed first, and in this case, considering that the main picture is a core part, the important point of attention of the students is the large-picture PPT region, so that the signaling, that is, the large-picture PPT, can be displayed by the video playing time, and the video content of the pip is displayed according to the time of the signaling as a reference.
In an embodiment, referring to fig. 9, the generating unit 303 may include:
a determining subunit 3031, configured to determine time information of the operation information in the online video playing process;
a generating subunit 3032, configured to generate the signaling according to the operation information and the time information.
In an embodiment, the online video includes audio data and a picture-in-picture, and the loading unit 304 may include:
a synchronization subunit 3041, configured to synchronize the timestamp of the signaling and the picture-in-picture with the audio data;
the loading subunit 3042 is configured to load the signaling and the pip according to the playing progress of the audio data in the process of playing the presentation in the preset format and the audio data.
As can be seen from the above, in the embodiment of the present invention, a presentation associated in an online video may be obtained, and the conversion unit 301 converts the presentation into a preset format, the detection unit 302 detects operation information performed on the presentation in the online video, the generation unit 303 generates a signaling according to the operation information, where the signaling includes a timestamp corresponding to the operation information, and the loading unit 304 loads the signaling according to the timestamp of the signaling in a process of playing the presentation in the preset format. The embodiment of the application can convert the presentation into the preset format to be loaded locally at the terminal, and realize the operation in the video process through signaling, so that the scheme can greatly reduce the video capacity, save the user flow, improve the downloading speed and effectively improve the video definition.
An embodiment of the present invention further provides a terminal, as shown in fig. 10, the terminal may include a Radio Frequency (RF) circuit 601, a memory 602 including one or more computer-readable storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a Wireless Fidelity (WiFi) module 607, a processor 608 including one or more processing cores, and a power supply 609. Those skilled in the art will appreciate that the terminal structure shown in fig. 10 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuit 601 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 601 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), long Term Evolution (LTE), email, short Message Service (SMS), and the like.
The memory 602 may be used to store software programs and modules, and the processor 608 executes various functional applications and information processing by operating the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 602 may also include a memory controller to provide the processor 608 and the input unit 603 access to the memory 602.
The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 603 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 608, and can receive and execute commands sent by the processor 608. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 603 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 604 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 604 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 608 to determine the type of touch event, and the processor 608 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 10 the touch sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 606, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 606 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 606 and converted into audio data, which is then processed by the audio data output processor 608, and then transmitted to, for example, another terminal via the RF circuit 601, or the audio data is output to the memory 602 for further processing. Audio circuitry 606 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
WiFi belongs to a short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 607 and provides wireless broadband internet access for the user. Although fig. 10 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the terminal, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 608 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby integrally monitoring the handset. Optionally, processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The terminal also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 608 via a power management system, such that functions such as managing charging, discharging, and power consumption are performed via the power management system. The power supply 609 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 608 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 608 runs the application programs stored in the memory 602, thereby implementing various functions:
acquiring a presentation associated in an online video, and converting the presentation into a preset format;
detecting operation information performed on the presentation in the online video;
generating a signaling according to the operation information, wherein the signaling comprises a timestamp corresponding to the operation information;
and loading the signaling in the process of playing the presentation in the preset format according to the timestamp of the signaling.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the playing method for the online video, and are not described again here.
As can be seen from the above, the terminal according to the embodiment of the present invention may acquire a presentation associated in an online video, convert the presentation into a preset format, detect operation information performed on the presentation in the online video, and generate a signaling according to the operation information, where the signaling includes a timestamp corresponding to the operation information, and load the signaling in a process of playing the presentation in the preset format according to the timestamp of the signaling. The embodiment of the application can convert the presentation into the preset format to be loaded locally at the terminal, and realize the operation in the video process through signaling, so that the scheme can greatly reduce the video capacity, save the user flow, improve the downloading speed and effectively improve the video definition.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the online video playing methods provided by the embodiments of the present invention. For example, the instructions may perform the steps of:
acquiring a relevant presentation in an online video, and converting the presentation into a preset format;
detecting operation information performed on the presentation in the online video;
generating a signaling according to the operation information, wherein the signaling comprises a timestamp corresponding to the operation information;
and loading the signaling in the process of playing the presentation in the preset format according to the timestamp of the signaling.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any one of the online video playing methods provided by the embodiments of the present invention, the beneficial effects that can be achieved by any one of the online video playing methods provided by the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The method, the apparatus, the storage medium, and the terminal for playing the online video provided by the embodiments of the present invention are described in detail above, and a specific example is applied in this document to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for playing an online video, the method comprising:
acquiring a relevant presentation in an online video, and converting the presentation into a preset format;
detecting operation information performed on the presentation in the online video;
generating a signaling according to the operation information, wherein the signaling comprises a timestamp corresponding to the operation information;
loading the signaling in the process of playing the presentation in the preset format according to the timestamp of the signaling;
the operation information includes description operation data, document operation data and text editing data, and the detecting operation information performed on the presentation in the online video includes:
setting a drawing board on the presentation, wherein the drawing board is used for recording drawing operation data aiming at the presentation;
detecting drawing operation data for the drawing board in the online video;
and detecting document operation data and character editing data performed on the presentation in the online video.
2. The method for playing the online video according to claim 1, wherein generating a signaling according to the operation information includes:
determining time information of the operation information in the online video playing process;
and generating the signaling according to the operation information and the time information.
3. The method for playing the online video according to claim 1, wherein obtaining a presentation associated with the online video and converting the presentation into a predetermined format includes:
acquiring a relevant presentation in an online video, and extracting typesetting information of the presentation and elements contained in the presentation;
converting elements contained in the presentation and modifying the typesetting information;
and generating the presentation in the preset format according to the modified typesetting information and the converted elements.
4. The method for playing the online video according to claim 1, wherein the online video includes audio data, and the loading the signaling during the playing of the presentation in the preset format according to the timestamp of the signaling comprises:
synchronizing a timestamp of the signaling with the audio data;
and loading the signaling according to the playing progress of the audio data in the process of playing the presentation in the preset format and the audio data.
5. The method for playing an online video according to claim 1, wherein the online video includes a picture-in-picture, and the loading the signaling during the playing of the presentation in the preset format according to the timestamp of the signaling comprises:
synchronizing a timestamp of the signaling with the picture-in-picture;
and loading the signaling in the process of playing the presentation in the preset format according to the timestamp of the signaling, and playing the picture-in-picture according to the timestamp of the signaling.
6. The method for playing an online video according to claim 1, wherein the online video includes audio data and a picture-in-picture, and wherein loading the signaling during playing the presentation in the preset format according to the timestamp of the signaling comprises:
synchronizing both a timestamp of the signaling and the picture-in-picture with the audio data;
and loading the signaling and the picture-in-picture according to the playing progress of the audio data in the process of playing the presentation with the preset format and the audio data.
7. An apparatus for playing an online video, comprising:
the conversion unit is used for acquiring a presentation associated in the online video and converting the presentation into a preset format;
a detection unit, configured to detect operation information performed on the presentation in the online video;
a generating unit, configured to generate a signaling according to the operation information, where the signaling includes a timestamp corresponding to the operation information;
the loading unit is used for loading the signaling in the process of playing the presentation in the preset format according to the timestamp of the signaling;
the operation information comprises description operation data, document operation data and text editing data, and the detection unit is used for:
setting a drawing board on the presentation, wherein the drawing board is used for recording drawing operation data aiming at the presentation;
detecting drawing operation data for the drawing board in the online video;
and detecting document operation data and character editing data performed on the presentation in the online video.
8. The apparatus for playing back an online video according to claim 7, wherein the generating unit comprises:
the determining subunit is used for determining time information of the operation information in the online video playing process;
and the generating subunit is used for generating the signaling according to the operation information and the time information.
9. The apparatus for playing online video according to claim 7, wherein the online video includes audio data and a picture-in-picture, the loading unit comprises:
a synchronization subunit configured to synchronize both a timestamp of the signaling and the picture-in-picture with the audio data;
and the loading subunit is used for loading the signaling and the picture-in-picture according to the playing progress of the audio data in the process of playing the presentation in the preset format and the audio data.
10. A storage medium, characterized in that the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the online video playing method according to any one of claims 1 to 6.
CN201910885753.8A 2019-09-19 2019-09-19 Online video playing method and device and storage medium Active CN112533054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910885753.8A CN112533054B (en) 2019-09-19 2019-09-19 Online video playing method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910885753.8A CN112533054B (en) 2019-09-19 2019-09-19 Online video playing method and device and storage medium

Publications (2)

Publication Number Publication Date
CN112533054A CN112533054A (en) 2021-03-19
CN112533054B true CN112533054B (en) 2023-02-28

Family

ID=74974043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910885753.8A Active CN112533054B (en) 2019-09-19 2019-09-19 Online video playing method and device and storage medium

Country Status (1)

Country Link
CN (1) CN112533054B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696923A (en) * 2004-05-10 2005-11-16 北京大学 Networked, multimedia synchronous composed storage and issuance system, and method for implementing the system
CN104159004A (en) * 2014-08-22 2014-11-19 福州新锐同创电子科技有限公司 A recording and broadcasting shortcut controller
CN104376001A (en) * 2013-08-13 2015-02-25 腾讯科技(深圳)有限公司 PPT (PowerPoint) playing method and PPT playing device
CN105407379A (en) * 2014-08-26 2016-03-16 天脉聚源(北京)教育科技有限公司 Synchronous recording method for multiple media
CN105589836A (en) * 2015-12-21 2016-05-18 华为技术有限公司 Document previewing method, terminal and server
CN107743247A (en) * 2017-09-27 2018-02-27 福建天泉教育科技有限公司 A kind of online demenstration method of PPT and system
CN108241601A (en) * 2016-12-26 2018-07-03 北京奇虎科技有限公司 A kind of online method and apparatus for making PowerPoint
CN109981711A (en) * 2017-12-28 2019-07-05 腾讯科技(深圳)有限公司 Document dynamic play method, apparatus, system and computer readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003319344A (en) * 2002-04-25 2003-11-07 Alpine Electronics Inc Image reproducing apparatus and dvd video reproducing apparatus
US20130167016A1 (en) * 2011-12-21 2013-06-27 The Boeing Company Panoptic Visualization Document Layout
CN104796779B (en) * 2015-03-25 2019-01-18 广东威创视讯科技股份有限公司 A kind of PPT is converted to the method and system that video plays out
CN108241598A (en) * 2016-12-26 2018-07-03 北京奇虎科技有限公司 The production method and device of a kind of PowerPoint
CN108241596A (en) * 2016-12-26 2018-07-03 北京奇虎科技有限公司 The production method and device of a kind of PowerPoint
CN108241597A (en) * 2016-12-26 2018-07-03 北京奇虎科技有限公司 The production method and device of a kind of PowerPoint
CN107920280A (en) * 2017-03-23 2018-04-17 广州思涵信息科技有限公司 The accurate matched method and system of video, teaching materials PPT and voice content

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696923A (en) * 2004-05-10 2005-11-16 北京大学 Networked, multimedia synchronous composed storage and issuance system, and method for implementing the system
CN104376001A (en) * 2013-08-13 2015-02-25 腾讯科技(深圳)有限公司 PPT (PowerPoint) playing method and PPT playing device
CN104159004A (en) * 2014-08-22 2014-11-19 福州新锐同创电子科技有限公司 A recording and broadcasting shortcut controller
CN105407379A (en) * 2014-08-26 2016-03-16 天脉聚源(北京)教育科技有限公司 Synchronous recording method for multiple media
CN105589836A (en) * 2015-12-21 2016-05-18 华为技术有限公司 Document previewing method, terminal and server
CN108241601A (en) * 2016-12-26 2018-07-03 北京奇虎科技有限公司 A kind of online method and apparatus for making PowerPoint
CN107743247A (en) * 2017-09-27 2018-02-27 福建天泉教育科技有限公司 A kind of online demenstration method of PPT and system
CN109981711A (en) * 2017-12-28 2019-07-05 腾讯科技(深圳)有限公司 Document dynamic play method, apparatus, system and computer readable storage medium

Also Published As

Publication number Publication date
CN112533054A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
US8683341B2 (en) Multimedia presentation editor for a small-display communication terminal or computing device
CN109981711B (en) Document dynamic playing method, device and system and computer readable storage medium
CN111669623B (en) Video special effect processing method and device and electronic equipment
US10049147B2 (en) Method, apparatus and terminal for processing documents
CN106919707B (en) Page display method and terminal based on H5
WO2017080145A1 (en) Information processing method and terminal, and computer storage medium
CN111970577A (en) Subtitle editing method and device and electronic equipment
CN111541930B (en) Live broadcast picture display method and device, terminal and storage medium
WO2018036544A1 (en) Method of playing video in browser window, device, and data storage medium
CN106610826B (en) Method and device for manufacturing online scene application
CN109756767B (en) Preview data playing method, device and storage medium
CN113783997B (en) Video publishing method and device, electronic equipment and storage medium
CN108989869B (en) Video picture playing method, device, equipment and computer readable storage medium
CN111222063A (en) Rich text rendering method and device, electronic equipment and storage medium
CN112329403A (en) Live broadcast document processing method and device
CN113313804A (en) Image rendering method and device, electronic equipment and storage medium
CN113886612A (en) Multimedia browsing method, device, equipment and medium
CN110300047B (en) Animation playing method and device and storage medium
US9280905B2 (en) Media outline
CN112533054B (en) Online video playing method and device and storage medium
WO2023024803A1 (en) Dynamic cover generating method and apparatus, electronic device, medium, and program product
CN116347158A (en) Video playing method and device, electronic equipment and computer readable storage medium
CN114786069A (en) Video generation method, device, medium and electronic equipment
US20230410394A1 (en) Image display method and apparatus, device, and medium
CN115103054B (en) Information processing method, device, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40040468

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant