CN114390353B - Program playing method, device and system and computer readable storage medium - Google Patents
Program playing method, device and system and computer readable storage medium Download PDFInfo
- Publication number
- CN114390353B CN114390353B CN202011131342.9A CN202011131342A CN114390353B CN 114390353 B CN114390353 B CN 114390353B CN 202011131342 A CN202011131342 A CN 202011131342A CN 114390353 B CN114390353 B CN 114390353B
- Authority
- CN
- China
- Prior art keywords
- program
- playing
- frame
- image
- media
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47217—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the invention provides a program playing method, device and system and a computer readable storage medium. The method for example comprises the steps of: receiving a target program sent by a program making end and acquiring program information of the target program; determining multi-frame program images for synthesizing the target program according to the program information, and playing time corresponding to each frame of the program images; and drawing each frame of the program image, and playing the drawn program image at the corresponding playing time so as to play the target program. The embodiment solves the problem that the playing window flickers when the program playing control terminal plays the program, and improves the program display effect.
Description
Technical Field
The present invention relates to the field of multimedia playing control technology, and in particular, to a program playing method, a program playing device, a program playing system, and a computer readable storage medium.
Background
In the field of LED display screen playing control, program production is generally performed by a program producing end, for example, program producing software, and the produced program is sent to a program playing control end, and then the program playing control end controls the program to be played on a display screen. In the prior art, program making software generally generates description information from media content, playing time length and other media information contained in a program, then sends the description information of the program to a program playing control end, and the program playing control end displays media in the program in a playing window of the playing control end according to the description information, then conceals the last playing window when the media is switched, and displays the next playing window. However, due to the system mechanism of the platform provided with the play control end, the problem of flicker can be generated when the play window is switched, and the display effect is affected.
Disclosure of Invention
Therefore, to overcome the defects and shortcomings in the prior art, the embodiments of the present invention provide a program playing method, a program playing device, a program playing system and a computer readable storage medium, so as to solve the problem that a playing window flickers when a program is played by a program playing control end, and improve the display effect of the program.
In one aspect, a program playing method provided by an embodiment of the present invention includes: receiving a target program sent by a program making end and acquiring program information of the target program; determining multi-frame program images for synthesizing the target program according to the program information, and playing time corresponding to each frame of the program images; and drawing each frame of the program image, and playing the drawn program image at the corresponding playing time so as to play the target program.
According to the program playing method, the target program sent by the program making end is received, the program information of the target program is obtained, multi-frame program images of the target program are determined and synthesized according to the program information, playing time corresponding to each frame of the program images is obtained, each frame of the program images is drawn, the drawn program images are played at the corresponding playing time, and therefore the target program is played, switching of playing windows is not needed when the program is played, the problem that the playing windows flash when the program is played by the program playing control end is solved, and the program display effect is improved.
In one embodiment of the present invention, the program information includes media content, media special effects, media play start time, media play duration, and number of program image frames per unit time that constitute the target program; the method for determining and synthesizing the multi-frame program image included in the target program according to the program information and the playing time corresponding to each frame of the program image specifically comprises the following steps: obtaining the total playing duration of the target program according to the media playing start time and the media playing duration; obtaining the total number of the program images of the target program according to the total playing duration and the number of the program images in the unit time; determining the image content of a plurality of frames of program images according to the media content, the media playing start time, the media playing time and the media special effects; and calculating the playing time corresponding to each frame of the program image according to the playing total duration and the total frame number of the program image.
In one embodiment of the present invention, the determining the image content of the multi-frame program image according to the media content, the media playing start time, the media playing duration and the media special effect specifically includes: and calculating the media display content and the corresponding display position information of the program image of each frame according to the media content, the media play start time, the media play time and the media special effect.
In one embodiment of the present invention, the multi-frame program image includes a previous frame program image and a subsequent frame program image that are sequentially played; and the step of drawing each frame of the program image and playing the drawn program image at the corresponding playing time, specifically comprising the following steps: playing the previous frame of program image at the playing time corresponding to the previous frame of program image, and simultaneously drawing the next frame of program image according to the image content of the next frame of program image; and responding to the completion of the drawing of the next frame of program image and the completion of the playing of the previous frame of program image, and playing the next frame of program image at the playing time corresponding to the next frame of program image.
On the other hand, the program playing device provided by the embodiment of the invention comprises: the receiving module is used for receiving a target program sent by the program making end and acquiring program information of the target program; the acquisition module is used for determining and synthesizing multi-frame program images of the target program according to the program information and playing time corresponding to each frame of the program images; and the playing module is used for drawing each frame of the program image and playing the drawn program image at the corresponding playing time so as to play the target program.
The program playing device of the embodiment is provided with the receiving module, the acquiring module and the playing module, so that the problem of flickering of a playing window when a program is played by a program playing control end is solved by receiving a target program sent by a program making end, acquiring program information of the target program, determining and synthesizing multi-frame program images of the target program according to the program information, and playing time corresponding to each frame of the program images, then drawing each frame of the program images, and playing the drawn program images at the corresponding playing time so as to play the target program.
In one embodiment of the present invention, the program information includes media content, media special effects, media play start time, media play duration, and number of program image frames per unit time that constitute the target program; the acquisition module comprises: the first acquisition unit is used for acquiring the total playing duration of the target program according to the media playing start time and the media playing duration; the second acquisition unit is used for acquiring the total frame number of the program image of the target program according to the total playing time and the frame number of the program image in the unit time; the determining unit is used for determining the image content of the multi-frame program image according to the media content, the media playing start time, the media playing time and the media special effect; and the third acquisition unit is used for calculating the playing time corresponding to each frame of the program image according to the total playing time and the total frame number of the program image.
In an embodiment of the invention, the determining unit is specifically configured to: and calculating the media display content and the corresponding display position information of the program image of each frame according to the media content, the media play start time, the media play time and the media special effect.
In one embodiment of the present invention, the multi-frame program image includes a previous frame program image and a subsequent frame program image that are sequentially played; the playing module specifically comprises: a first playing unit, configured to play the previous frame of program image at the playing time corresponding to the previous frame of program image, and draw the next frame of program image according to the image content of the next frame of program image at the same time; and the second playing unit is used for responding to the completion of the drawing of the next frame of program image and the completion of the playing of the previous frame of program image, and playing the next frame of program image at the playing time corresponding to the next frame of program image.
In still another aspect, an embodiment of the present invention provides a program playing system, including a memory and a processor connected to the memory, where the processor stores a computer program, and when the processor runs the computer program, the processor executes a program playing method as described above.
In yet another aspect, an embodiment of the present invention provides a computer readable storage medium, where a computer program is stored, where the stored computer program is capable of implementing a program playing method as described above when executed by a processor.
The above technical solution may have the following advantages or benefits: the method comprises the steps of receiving a target program sent by a program making end, acquiring program information of the target program, determining and synthesizing multi-frame program images of the target program according to the program information, and playing time corresponding to each frame of the program images, then drawing each frame of the program images, and playing the drawn program images at the corresponding playing time so as to play the target program, so that switching of playing windows is not needed when the program is played, the problem that the playing windows flash when a program is played by a program playing control end is solved, and the program display effect is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a program playing method according to a first embodiment of the present invention.
Fig. 2 is a schematic flow chart of step S200 in fig. 1.
Fig. 3 is a flow chart of step S300 in fig. 1.
Fig. 4A and 4B are schematic diagrams of each frame of program image.
Fig. 5 is a schematic block diagram of a program playing device according to a second embodiment of the present invention.
Fig. 6 is a schematic block diagram of the acquisition module in fig. 5.
Fig. 7 is a schematic block diagram of the playing module in fig. 5.
Fig. 8 is a schematic structural diagram of a program playing system according to the third embodiment.
Fig. 9 is a schematic structural diagram of a computer readable storage medium according to a fourth embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
[ First embodiment ]
As shown in fig. 1, the method for playing a program according to the first embodiment of the present invention solves the problem that a playing window blinks when a program is played by a program playing control end, and improves the display effect of the program. The program playing method comprises the following steps:
s100, receiving a target program sent by a program making end and acquiring program information of the target program;
s200, determining and synthesizing multi-frame program images of the target program according to the program information, and playing time corresponding to each frame of the program images;
and S300, drawing each frame of the program image, and playing the drawn program image at the corresponding playing time so as to play the target program.
Referring to fig. 2, the program information includes media content, media special effects, media play start time, media play duration, and number of program image frames per unit time constituting the target program; step S200, determining, according to the program information, a multi-frame program image included in the synthesized target program and a playing time corresponding to each frame of the program image, where the steps specifically include:
s210, obtaining the total playing duration of the target program according to the media playing start time and the media playing duration;
S220, obtaining the total frame number of the program image of the target program according to the total playing time and the frame number of the program image in the unit time;
s230, determining the image content of the multi-frame program image according to the media content, the media playing start time, the media playing time and the media special effect;
S240, calculating to obtain the playing time corresponding to each frame of the program image according to the playing total duration and the total frame number of the program image.
Referring to fig. 3, the multi-frame program image includes a previous frame program image and a next frame program image that are sequentially played; step S300, drawing each frame of the program image, and playing the drawn program image at the corresponding playing time, which specifically includes:
S310, playing the previous frame of program image at the playing time corresponding to the previous frame of program image, and simultaneously drawing the next frame of program image according to the image content of the next frame of program image;
And S320, responding to the completion of drawing of the next frame of program image and the end of playing of the previous frame of program image, and playing the next frame of program image at the playing time corresponding to the next frame of program image.
The program playing method provided in this embodiment is applied to a program playing control end, and the program playing control end may be, for example, program playing software installed on a personal computer, a mobile phone end, etc., and in order to facilitate a clearer understanding of this embodiment, the program playing method of this embodiment will be described in detail below with reference to fig. 4A and 4B.
Specifically, for example, program playing software at a program making end uploads media of a target program to be made, sets media attributes, media playing time and other information to make the program, the program making end sends the made target program to a program playing control end, and the program playing control end receives the target program sent by the program making end and acquires program information of the target program. Specifically, the program information may include, for example, media content, media play start time, media play duration, media attribute, media special effects, and number of frames of a program image in a unit time, and the media may include, for example, a plurality of media and a plurality of media types, for example, a picture media, a text media, a weather plug-in media, an audio media, a video media, and the like, and the media attribute may include, for example, information of a media display position, a media size, and the like, and the embodiment of the invention is not limited thereto.
Specifically, the media of the target program in the present embodiment may include, for example, a picture media (i.e., a first media) and a text media (i.e., a second media); for example: the number of image frames in unit time is 30 frames per second; the media playing time of the picture media is 20s, the picture media starts to be played from the 1 st second of the target program, and the media special effect is that the picture media enters a playing window from left to right and the special effect time is 5s; the playing time of the text media is 60s, the text media starts to be played from the 1 st second of the target program, and the media effect is that the text scrolls from right to left.
In view of the foregoing, the program playing control end may obtain, for example, the program information as described above, obtain, according to the media playing start time and the media playing duration, a playing total duration of the target program to be 60s, and then obtain, according to the playing total duration to be 60s and the program image frame number in the unit time, that is, 30 frames/s, an image total frame number of the target program to be 1800 frames, obtain, according to the information such as the picture media, the text media, the picture media special effect, the text media special effect, the picture media playing duration, and the text media playing duration, an image content corresponding to each of 1800 frames of program images of the target program, where the image content includes a media display content and corresponding display position information, and the media display content may be, for example, a display start coordinate of each frame of the media display content, a width of the display content, and a height of the display content. The image content may include, for example, a first media image (picture media image) and display position information of the first media image, a second media image (text media image) and display position information of the second media image; and then calculating the playing time of each frame of program image of the target program according to the total playing time length and the total frame number of the program images, wherein the drawing time of the first frame of program image is 1-33ms, the playing time of the first frame of program image is 34ms, the drawing time of the second frame of program image is 33-66ms, and the playing time of the second frame of program image is 67ms, which are only illustrative and are not repeated.
And then, drawing each frame of the program image, and playing the drawn program image at the corresponding playing time. Specifically, for example, the program image may be drawn at the drawing time corresponding to each frame of the program image in sequence, and then the program image may be played at the corresponding playing time. Specifically, the multi-frame program image comprises a previous frame program image and a next frame program image which are sequentially played, the previous frame program image is played at the playing time corresponding to the previous frame program image, and the next frame program image is drawn according to the image content of the next frame program image; and responding to the completion of the drawing of the next frame of program image and the completion of the playing of the previous frame of program image, and playing the next frame of program image at the playing time corresponding to the next frame of program image. For example, according to the program content corresponding to the first frame program image, the first frame program image is drawn between the drawing time of the first frame program image, i.e. 1 st ms to 33 st ms, and then the first frame program image is played at the playing time of the first frame program image, i.e. 34 th ms, and the first frame program image may be played, for example, in a playing window of a program playing control end (for example, as shown in fig. 4A); then drawing a second frame program image (for example, as shown in fig. 4B) according to the image content corresponding to the second frame program image at 33-66ms, and replacing the first frame program image at 67ms to play the second frame program image; and sequentially completing the drawing and playing of 1800 frames of program images, namely completing the program playing of the target program, wherein the end time of the drawing time corresponding to the first frame of program image is the same as the start time of the drawing time corresponding to the second frame of program image, the drawing interval time of each frame of program image is the same, and the playing time interval is the same.
4A and 4B, the program playing control end draws the program image, for example, draws the media image on the canvas, firstly draws the first frame image 10 (first frame first media image) of the picture media on the picture media display position of the canvas according to the first media image content corresponding to the first frame program image and the image content of the picture media; then, a first frame image 20 (a first frame second media image) of the text media is drawn on the text media display position of the canvas, and specifically, the first frame image of the text media can be drawn according to the second media content corresponding to the first frame program image, namely, the text content of the text media, and media attributes such as word size, font, color and the like; after the media drawing on all the first frame program images is completed, the whole canvas is saved as one picture, namely the first frame program image (shown in fig. 4A). The second frame program image effect may be, for example, as shown in fig. 4B, and the specific drawing process is the same as that of the first frame program image, and will not be described herein. It is worth mentioning that in the process of drawing the program image, the canvas may be hidden, i.e. the drawing process is hidden and not displayed, so that the user experience may be improved.
It should be noted that, the target program may further include a weather plug-in media, for example, specifically, the playing duration of the weather plug-in media may be 60s, the playing is started from the 1 st second of the target program, the special effect of the media is updated every 30 seconds, the first frame of weather plug-in media is drawn on the weather plug-in media display position of the canvas, for example, the current weather information may be obtained, and then the weather plug-in is drawn according to the current weather information; the current weather information needs to be retrieved for drawing when drawing the weather plug-in media after 10 seconds. Of course, other types of media may be included in the target program, which is not limited by the embodiment of the present invention.
In summary, the program playing method of the present embodiment receives the target program sent by the program making end, obtains the program information of the target program, determines and synthesizes the multi-frame program image of the target program according to the program information, and the playing time corresponding to each frame of the program image, then draws each frame of the program image, and plays the drawn program image at the corresponding playing time to play the target program, so that the switching of the playing window is not required when the program is played, the problem that the playing window flickers when the program is played by the program playing control end is solved, and the program display effect is improved.
[ Second embodiment ]
As shown in fig. 5, a second embodiment of the present invention provides a program playing device 40, including: a receiving module 100, an acquiring module 200 and a transmitting module 300.
The receiving module 100 is configured to receive a target program sent by a program production end, and obtain program information of the target program.
The obtaining module 200 is configured to determine, according to the program information, a multi-frame program image for synthesizing the target program, and a playing time corresponding to each frame of the program image.
And the playing module 300 is used for drawing each frame of the program image and playing the drawn program image at the corresponding playing time so as to play the target program.
Referring to fig. 6, the program information includes media content, media special effects, media play start time, media play duration, and number of program image frames per unit time constituting the target program; the acquisition module 200 includes:
the first obtaining unit 210 is configured to obtain a total playing duration of the target program according to the media playing start time and the media playing duration.
The second obtaining unit 220 is configured to obtain a total number of program images of the target program according to the total playing duration and the number of program images in the unit time.
A determining unit 230, configured to determine image contents of a plurality of frames of the program image according to the media content, the media playing start time, the media playing duration and the media special effect.
And a third obtaining unit 240, configured to calculate the playing time corresponding to the program image of each frame according to the total playing time and the total frame number of the program image.
Wherein, the determining unit 230 is specifically configured to: and calculating the media display content and the corresponding display position information of the program image of each frame according to the media content, the media play start time, the media play time and the media special effect.
Referring to fig. 7, the multi-frame program image includes a previous frame program image and a next frame program image sequentially played; the playing module 300 includes:
A first playing unit 310, configured to play the previous frame of program image at the playing time corresponding to the previous frame of program image, and draw the next frame of program image according to the image content of the next frame of program image.
And a second playing unit 320, configured to play the next frame of program image at the playing time corresponding to the next frame of program image in response to the drawing of the next frame of program image being completed and the playing of the previous frame of program image being completed.
The specific working procedures and technical effects between the respective modules in the program playback apparatus 40 in the present embodiment are referred to the description of the foregoing first embodiment.
[ Third embodiment ]
As shown in fig. 8, a third embodiment of the present invention provides a program playing system 400. The program play system 400 includes, for example, a memory 420 and a processor 410 coupled to the memory 420. The memory 420 may be, for example, a non-volatile memory, on which the computer program 421 is stored. The processor 410 may be, for example, an embedded processor. The processor 410, when executing the computer program 421, performs the program playing method in the foregoing first embodiment.
The specific operation and technical effects of the program broadcasting system 400 in this embodiment are referred to the description of the foregoing first embodiment.
[ Fourth embodiment ]
As shown in fig. 9, a fourth embodiment of the present invention provides a computer-readable storage medium 500. The computer-readable storage medium 500 is, for example, a nonvolatile memory, which is, for example: magnetic media (e.g., hard disk, floppy disk, and magnetic strips), optical media (e.g., CDROM disks and DVDs), magneto-optical media (e.g., optical disks), and hardware devices that are specially constructed for storing and performing computer-executable instructions (e.g., read-only memory (ROM), random Access Memory (RAM), flash memory, etc.). Computer-readable storage medium 500 has stored thereon computer-executable instructions 510. The computer-readable storage medium 500 may execute the computer-executable instructions 510 by one or more processors or processing devices to implement the program playing method in the foregoing first embodiment.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and the technical solutions of the embodiments may be arbitrarily combined and matched without conflict in technical features, contradiction in structure, and departure from the purpose of the present invention.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the partitioning of elements is merely a logical functional partitioning, and there may be additional partitioning in actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not implemented. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated in one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated in one unit/module. The integrated units/modules may be implemented in hardware or in hardware plus software functional units/modules.
The integrated units/modules implemented in the form of software functional units/modules described above may be stored in a computer readable storage medium. The software functional units described above are stored in a storage medium and include instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device, etc.) to perform some steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory RAM), a magnetic disk, or an optical disk, etc., which can store program codes.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (8)
1. A program broadcasting method, characterized by comprising:
receiving a target program sent by a program making end and acquiring program information of the target program;
determining multi-frame program images for synthesizing the target program according to the program information, and playing time corresponding to each frame of the program images;
Drawing each frame of the program image, and playing the drawn program image at the corresponding playing time so as to play the target program;
The program information comprises media content, media special effects, media playing start time and media playing duration which form the target program; the determining, according to the program information, a multi-frame program image included in the synthesized target program and a playing time corresponding to each frame of the program image includes: determining the image content of a plurality of frames of program images according to the media content, the media playing starting time, the media playing duration and the media special effect;
Wherein, the determining the image content of the multi-frame program image according to the media content, the media playing start time, the media playing time and the media special effect specifically includes:
and calculating the media display content and the corresponding display position information of the program image of each frame according to the media content, the media play start time, the media play time and the media special effect.
2. The program broadcasting method of claim 1, wherein said program information further includes a number of program image frames per unit time constituting said target program; the method for determining and synthesizing the multi-frame program image included in the target program according to the program information, and the playing time corresponding to each frame of the program image, further comprises:
Obtaining the total playing duration of the target program according to the media playing start time and the media playing duration;
Obtaining the total number of the program images of the target program according to the total playing duration and the number of the program images in the unit time;
And calculating the playing time corresponding to each frame of the program image according to the playing total duration and the total frame number of the program image.
3. The program broadcasting method as set forth in claim 2, wherein the multi-frame program image includes a previous frame program image and a subsequent frame program image which are sequentially broadcast; and the step of drawing each frame of the program image and playing the drawn program image at the corresponding playing time, specifically comprising the following steps:
playing the previous frame of program image at the playing time corresponding to the previous frame of program image, and simultaneously drawing the next frame of program image according to the image content of the next frame of program image;
And responding to the completion of the drawing of the next frame of program image and the completion of the playing of the previous frame of program image, and playing the next frame of program image at the playing time corresponding to the next frame of program image.
4. A program broadcasting apparatus, comprising:
The receiving module is used for receiving a target program sent by the program making end and acquiring program information of the target program;
the acquisition module is used for determining and synthesizing multi-frame program images of the target program according to the program information and playing time corresponding to each frame of the program images;
The playing module is used for drawing each frame of the program image and playing the drawn program image at the corresponding playing time so as to play the target program;
The program information comprises media content, media special effects, media playing start time and media playing duration which form the target program; the acquisition module comprises: a determining unit, configured to determine image contents of a plurality of frames of the program images according to the media content, the media play start time, the media play duration and the media special effect;
wherein, the determining unit is specifically configured to:
and calculating the media display content and the corresponding display position information of the program image of each frame according to the media content, the media play start time, the media play time and the media special effect.
5. The program playback apparatus of claim 4, wherein the program information further includes a number of program image frames per unit time that constitute the target program; the acquisition module comprises:
the first acquisition unit is used for acquiring the total playing duration of the target program according to the media playing start time and the media playing duration;
The second acquisition unit is used for acquiring the total frame number of the program image of the target program according to the total playing time and the frame number of the program image in the unit time;
And the third acquisition unit is used for calculating the playing time corresponding to each frame of the program image according to the total playing time and the total frame number of the program image.
6. The program broadcasting apparatus defined in claim 5, wherein the plural frame program images include a preceding frame program image and a following frame program image which are sequentially broadcast; the playing module specifically comprises:
a first playing unit, configured to play the previous frame of program image at the playing time corresponding to the previous frame of program image, and draw the next frame of program image according to the image content of the next frame of program image at the same time;
and the second playing unit is used for responding to the completion of the drawing of the next frame of program image and the completion of the playing of the previous frame of program image, and playing the next frame of program image at the playing time corresponding to the next frame of program image.
7. A program playing system comprising a memory and a processor connected to the memory, the processor storing a computer program, the processor executing the program playing method according to any one of claims 1 to 3 when the computer program is run.
8. A computer readable storage medium having stored therein a computer program which when executed by a processor is capable of implementing a program playing method as claimed in any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011131342.9A CN114390353B (en) | 2020-10-21 | 2020-10-21 | Program playing method, device and system and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011131342.9A CN114390353B (en) | 2020-10-21 | 2020-10-21 | Program playing method, device and system and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114390353A CN114390353A (en) | 2022-04-22 |
CN114390353B true CN114390353B (en) | 2024-05-10 |
Family
ID=81194246
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011131342.9A Active CN114390353B (en) | 2020-10-21 | 2020-10-21 | Program playing method, device and system and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114390353B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6167562A (en) * | 1996-05-08 | 2000-12-26 | Kaneko Co., Ltd. | Apparatus for creating an animation program and method for creating the same |
CN107786748A (en) * | 2017-10-31 | 2018-03-09 | 广东欧珀移动通信有限公司 | Method for displaying image and equipment |
CN108989869A (en) * | 2017-05-31 | 2018-12-11 | 腾讯科技(深圳)有限公司 | Video pictures playback method, device, equipment and computer readable storage medium |
CN109168027A (en) * | 2018-10-25 | 2019-01-08 | 北京字节跳动网络技术有限公司 | Instant video methods of exhibiting, device, terminal device and storage medium |
CN109168026A (en) * | 2018-10-25 | 2019-01-08 | 北京字节跳动网络技术有限公司 | Instant video display methods, device, terminal device and storage medium |
CN109901901A (en) * | 2019-01-29 | 2019-06-18 | 上海华章信息科技有限公司 | Variable frame rate boot animation implementation method |
CN110557670A (en) * | 2019-09-17 | 2019-12-10 | 广州华多网络科技有限公司 | Method, device, terminal and storage medium for playing video in webpage |
CN110795177A (en) * | 2018-08-03 | 2020-02-14 | 浙江宇视科技有限公司 | Graph drawing method and device |
-
2020
- 2020-10-21 CN CN202011131342.9A patent/CN114390353B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6167562A (en) * | 1996-05-08 | 2000-12-26 | Kaneko Co., Ltd. | Apparatus for creating an animation program and method for creating the same |
CN108989869A (en) * | 2017-05-31 | 2018-12-11 | 腾讯科技(深圳)有限公司 | Video pictures playback method, device, equipment and computer readable storage medium |
CN107786748A (en) * | 2017-10-31 | 2018-03-09 | 广东欧珀移动通信有限公司 | Method for displaying image and equipment |
CN110795177A (en) * | 2018-08-03 | 2020-02-14 | 浙江宇视科技有限公司 | Graph drawing method and device |
CN109168027A (en) * | 2018-10-25 | 2019-01-08 | 北京字节跳动网络技术有限公司 | Instant video methods of exhibiting, device, terminal device and storage medium |
CN109168026A (en) * | 2018-10-25 | 2019-01-08 | 北京字节跳动网络技术有限公司 | Instant video display methods, device, terminal device and storage medium |
CN109901901A (en) * | 2019-01-29 | 2019-06-18 | 上海华章信息科技有限公司 | Variable frame rate boot animation implementation method |
CN110557670A (en) * | 2019-09-17 | 2019-12-10 | 广州华多网络科技有限公司 | Method, device, terminal and storage medium for playing video in webpage |
Non-Patent Citations (1)
Title |
---|
利用OpenGL技术提高Solaris系统下视频播放性能;吕云飞;孙宏坤;;计算机应用;20081215(S2);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114390353A (en) | 2022-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110557670B (en) | Method, device, terminal and storage medium for playing video in webpage | |
CN110536144B (en) | Live broadcast processing method and device and storage medium | |
CN109089127A (en) | A kind of video-splicing method, apparatus, equipment and medium | |
CN108347647A (en) | Video picture displaying method, device, television set and storage medium | |
CN107911709A (en) | live interface display method, device and terminal | |
CN106303692A (en) | Video loading method and device | |
CN106911959B (en) | Voice picture reading method and system based on smart television | |
CN114466216B (en) | Live broadcast room display method, server side and live broadcast client side | |
CN108769816B (en) | Video playing method, device and storage medium | |
CN113038222A (en) | Video processing method and device, electronic equipment and storage medium | |
CN106408623A (en) | Character presentation method, device and terminal | |
CN114679665A (en) | Bluetooth headset audio and video synchronization method and device, electronic equipment and storage medium | |
CN111698261B (en) | Video playing method, device, equipment and storage medium based on streaming media | |
WO2023169240A1 (en) | Subtitle synchronization method and apparatus, set-top box and computer readable storage medium | |
CN114390353B (en) | Program playing method, device and system and computer readable storage medium | |
CN109525852B (en) | Live video stream processing method, device and system and computer readable storage medium | |
CN114257844A (en) | Multi-video synchronous playing method, device, equipment and readable storage medium | |
CN107995538B (en) | Video annotation method and system | |
CN111954041A (en) | Video loading method, computer equipment and readable storage medium | |
CN114390354B (en) | Program production method, device and system and computer readable storage medium | |
CN114765692B (en) | Live broadcast data processing method, device, equipment and medium | |
CN112118484A (en) | Video bullet screen display method and device, computer equipment and readable storage medium | |
CN113157178B (en) | Information processing method and device | |
CN114035758A (en) | Image mosaic display system and image mosaic display method | |
CN115065837B (en) | Video insertion method, device, equipment and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |