CN114390353A - 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 PDF

Info

Publication number
CN114390353A
CN114390353A CN202011131342.9A CN202011131342A CN114390353A CN 114390353 A CN114390353 A CN 114390353A CN 202011131342 A CN202011131342 A CN 202011131342A CN 114390353 A CN114390353 A CN 114390353A
Authority
CN
China
Prior art keywords
program
playing
media
image
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011131342.9A
Other languages
Chinese (zh)
Other versions
CN114390353B (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.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202011131342.9A priority Critical patent/CN114390353B/en
Publication of CN114390353A publication Critical patent/CN114390353A/en
Application granted granted Critical
Publication of CN114390353B publication Critical patent/CN114390353B/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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-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
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • 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/45Management 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/462Content 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-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)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention provides a program playing method, a device and a 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 to synthesize a plurality of frames of program images of the target program and play time corresponding to each frame of program image according to the program information; 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

Program playing method, device and system and computer readable storage medium
Technical Field
The present invention relates to the technical field of multimedia playing control, and in particular, to a program playing method, a program playing apparatus, a program playing system, and a computer-readable storage medium.
Background
In the field of LED display screen playing control, a program making end, such as program making software, is usually used to make a program, and send the made program 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 duration and other media information included in a program, and then sends the description information of the program to a program playing control terminal, where the program playing control terminal displays the media in the program in a playing window of the playing control terminal according to the description information, and then hides a previous playing window when switching the media and displays a next playing window. However, due to the system mechanism of the platform on which the play control terminal is installed, the problem of flickering occurs when the play window is switched, which affects the display effect.
Disclosure of Invention
Therefore, to overcome the defects and shortcomings in the prior art, embodiments of the present invention provide a program playing method, a program playing apparatus, a program playing system, and a computer readable storage medium, so as to solve the problem of flickering of a playing window when a program playing control terminal plays a program, and improve the program display effect.
In one aspect, a method for playing a program provided in 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 to synthesize a plurality of frames of program images of the target program and play time corresponding to each frame of program image according to the program information; 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.
In the program playing method provided by this embodiment, a target program sent by a program making terminal is received, program information of the target program is acquired, a plurality of frames of program images of the target program and playing time corresponding to each frame of the program images are determined and synthesized according to the program information, then each frame of the program images is drawn, and the drawn program images are played at the corresponding playing time to play the target program.
In one embodiment of the present invention, the program information includes media content, a media special effect, a media play start time, a media play duration, and a number of program image frames per unit time that constitute the target program; the determining, according to the program information, to synthesize multiple frames of program images included in the target program and the playing time corresponding to each frame of the program image specifically includes: obtaining the total playing time length of the target program according to the media playing starting time and the media playing time length; obtaining the total frame number of the program images of the target program according to the total playing time and the number of the program image frames in the unit time; determining the image contents of a plurality of frames of the program images according to the media contents, the media playing starting time, the media playing duration and the media special effect; and calculating the playing time corresponding to each frame of the program image according to the total playing time and the total number of the program image frames.
In an embodiment of the present invention, the determining the image content of the multiple frames of the program images 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 each frame of the program image according to the media content, the media play starting time, the media play duration 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 next frame program image which are sequentially played; the drawing each frame of the program image and playing the drawn program image at the corresponding playing time specifically includes: 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 in response to the completion of the drawing of the next frame of program image and the end of the playing of the previous frame of program image, playing the next frame of program image at the playing time corresponding to the next frame of program image.
On the other hand, a program playing apparatus provided in an embodiment of the present invention includes: the receiving module is used for receiving a target program sent by a 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 and playing time corresponding to each frame of program images according to the program information; 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 a receiving module, an obtaining module and a playing module, so that a target program sent by a program making terminal can be received, program information of the target program can be obtained, a multi-frame program image of the target program and playing time corresponding to each frame of the program image are determined and synthesized according to the program information, then each frame of the program image is drawn, and the drawn program image is played at the corresponding playing time to play the target program.
In one embodiment of the present invention, the program information includes media content, a media special effect, a media play start time, a media play duration, and a number of program image frames per unit time that constitute the target program; the acquisition module includes: the first obtaining unit is used for obtaining the total playing time length of the target program according to the media playing starting time and the media playing time length; a second obtaining unit, configured to obtain a total number of program image frames of the target program according to the total playing time and the number of program image frames in the unit time; the determining unit is used for determining the image contents of the multiple frames of the program images according to the media contents, the media playing starting time, the media playing duration 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 number of the program image frames.
In an embodiment of the present invention, the determining unit is specifically configured to: and calculating the media display content and the corresponding display position information of each frame of the program image according to the media content, the media play starting time, the media play duration 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 next frame program image which are sequentially played; the playing module specifically comprises: the first playing unit is used for 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 the second playing unit is used for responding to the completion of drawing the next frame of program image and the end of playing 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 another aspect, an embodiment of the present invention provides a program playing system, which includes a memory and a processor connected to the memory, where the processor stores a computer program, and executes the program playing method described above when the processor runs the computer program.
In still another aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the stored computer program, when executed by a processor, can implement the program playing method as described above.
One or more of the above technical solutions may have the following advantages or beneficial effects: the method comprises the steps of receiving a target program sent by a program making end, obtaining program information of the target program, determining and synthesizing multi-frame program images of the target program and playing time corresponding to each frame of the program images according to the program information, then drawing each frame of the program images, and playing the drawn program images at the corresponding playing time to play the target program.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are 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 flowchart illustrating a program playing method according to a first embodiment of the present invention.
Fig. 2 is a schematic flowchart of step S200 in fig. 1.
Fig. 3 is a schematic flowchart of step S300 in fig. 1.
Fig. 4A and 4B are schematic diagrams of each frame of program image.
Fig. 5 is a block diagram of a program playing apparatus according to a second embodiment of the present invention.
Fig. 6 is a block diagram of the acquisition module in fig. 5.
Fig. 7 is a block diagram of the playing module in fig. 5.
Fig. 8 is a schematic structural diagram of a program playing system according to a 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 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
[ first embodiment ] A method for manufacturing a semiconductor device
As shown in fig. 1, a program playing method according to a first embodiment of the present invention is provided to solve the problem of flickering of a playing window when a program playing control end plays a program, and improve a program display effect. The program playing method comprises the following steps:
s100, receiving a target program sent by a program production end and acquiring program information of the target program;
s200, determining to synthesize multi-frame program images of the target program and playing time corresponding to each frame of program images according to the program information;
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, a media special effect, a media play start time, a media play duration, and a number of program image frames in a unit time, which constitute the target program; step S200, determining to synthesize a plurality of frames of program images included in the target program and a playing time corresponding to each frame of the program image according to the program information, specifically including:
s210, obtaining the total playing time length of the target program according to the media playing start time and the media playing time length;
s220, obtaining the total number of program image frames of the target program according to the total playing time and the number of the program image frames in the unit time;
s230, determining the image content of a plurality of frames of the program images according to the media content, the media playing starting time, the media playing time and the media special effect;
s240, calculating the playing time corresponding to each frame of the program image according to the total playing time and the total number of the program image frames.
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, the drawing each frame of the program image, and playing the drawn program image at the corresponding playing time 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;
s320, in response to the drawing of the next frame of program image is finished and the playing of the previous frame of program image is finished, 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, which may be, for example, program playing software installed on a personal computer, a mobile phone end, and the like, and for facilitating 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, a user uploads media of a target program to be created, and sets information such as media attribute and media playing duration to create the program in program playing software of a program creation end, the program creation end sends the created target program to a program playing control end, and the program playing control end receives the target program sent by the program creation end and obtains program information of the target program. Specifically, the program information may include, for example, media content, media playing start time, media playing duration, media attributes, media special effects, and a number of program image frames in a unit time, the media may include, for example, multiple media and multiple media types, such as picture media, text media, weather plug-in media, audio media, video media, and the like, and the media attributes may include, for example, information such as a media display position, a media size, and the like, which is not limited thereto in the embodiments of the present invention.
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 the image frames in unit time is 30 frames of images per second; the media playing time of the picture media is 20s, the picture media is played from the 1 st second of the target program, and the media special effect enters a playing window from left to right and has the special effect time of 5 s; the playing time of the text media is 60s, the text media is played from the 1 st second of the target program, and the media effect is that characters scroll from right to left.
As mentioned above, the program playing control end may, for example, obtain the program information as described above, obtain the total playing duration of the target program as 60s according to the media starting playing time and the media playing duration, then obtain the total image frame number of the target program as 1800 frames according to the total playing duration 60s and the program image frame number in the unit time, that is, 30 frames/s, obtain the image content corresponding to each frame of program image in the 1800 frames of program image of the target program 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, the text media playing duration, and the like, where the image content includes the media display content and the corresponding display position information, where the media display content may, for example, be the picture display content of each frame of program image, and the corresponding display position information may, for example, be the display start coordinate of the media display content, the display start coordinate of each frame of program image, and the corresponding display position information may, for example, where the media display start coordinate is the display start coordinate of each frame of the target program image, The width and height of the display content are, of course, not limited thereto in the embodiments of the present invention. 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; then, the playing time of each frame of program image of the target program is calculated according to the total playing time and the total number of frames of the program image, and for example, the drawing time of the first frame of program image is 1-33ms, the playing time is 34ms, the drawing time of the second frame of program image is 33-66ms, and the playing time is 67ms, which is only exemplified here and not repeated herein.
Then, drawing each frame of the program image, and playing the drawn program image at the corresponding playing time. Specifically, for example, the program images may be sequentially drawn at the drawing time corresponding to each frame of the program image, and then the program images may be played at the corresponding playing time. Specifically, the multi-frame program image includes 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 in response to the completion of the drawing of the next frame of program image and the end of the playing of the previous frame of program image, playing the next frame of program image at the playing time corresponding to the next frame of program image. For example, the first frame program image is rendered between the rendering time of the first frame program image, i.e. 1 ms to 33ms, according to the program content corresponding to the first frame program image, and then the first frame program image is played at the playing time of the first frame program image, i.e. 34ms, which may be, for example, the first frame program image is played 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 in 33-66ms, and playing the second frame program image at 67ms instead of the first frame program image; and finishing the drawing and playing of 1800 frames of program images in sequence, namely finishing 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 also the same.
As mentioned above, referring to fig. 4A and 4B, the program playing control end specifically draws the program image, for example, draws the media image on the canvas, and first draws the first frame image 10 (first frame first media image) of the picture media at 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, drawing a first frame image 20 (a first frame second media image) of the text media at the text media display position of the canvas, specifically, drawing the first frame image of the text media according to a second media content corresponding to the first frame program image, that is, the text content, the font size, the font style, the color and other media attributes of the text media; after all media on the first frame program image are drawn, the whole canvas is saved as a picture, i.e. the first frame program image (as shown in fig. 4A). The effect of the second frame program image may be as shown in fig. 4B, and the specific drawing process is the same as the drawing process of the first frame program image, which is not described herein again. It is worth mentioning that, in the process of drawing the program image, the canvas may be hidden, that is, 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, for example, a weather plug-in media, specifically, for example, the playing time of the weather plug-in media is 60s, the target program starts to be played from the 1 st second of the target program, and the media special effect is updated every 30 seconds, then a first frame of weather plug-in media is drawn at the weather plug-in media display position of the canvas, for example, current weather information may be acquired, and then the weather plug-in is drawn according to the current weather information; when drawing the weather plug-in media after the 10 th second, the current weather information needs to be obtained again for drawing. Of course, other types of media may be included in the target program, and the embodiments of the present invention are not limited thereto.
In summary, in the program playing method of this embodiment, a target program sent by a program making end is received, program information of the target program is obtained, a plurality of frames of program images of the target program and playing time corresponding to each frame of the program images are determined and synthesized according to the program information, then each frame of the program images is drawn, and the drawn program images are played at the corresponding playing time to play the target program, so that switching of a playing window is not required when the program is played, the problem of flickering of the playing window when a program playing control end plays the program 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 apparatus 40, including: a receiving module 100, an obtaining module 200 and a sending 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, to synthesize multiple frames of program images of the target program and play time corresponding to each frame of the program images.
The playing module 300 is configured to draw each frame of the program image, and play the drawn program image at the corresponding playing time to play the target program.
Referring to fig. 6, the program information includes media content, a media special effect, a media play start time, a media play duration, and a number of program image frames in a unit time, which constitute the target program; the acquisition module 200 includes:
the first obtaining unit 210 is configured to obtain a total playing time length of the target program according to the media playing start time and the media playing time length.
A second obtaining unit 220, configured to obtain a total number of program image frames of the target program according to the total playing time and the number of program image frames in the unit time.
The determining unit 230 is configured to determine image contents of multiple frames of the program images according to the media content, the media playing start time, the media playing duration, and the media special effect.
A third obtaining unit 240, configured to calculate, according to the total playing time and the total number of program images, the playing time corresponding to each frame of the program images.
Wherein the determining unit 230 is specifically configured to: and calculating the media display content and the corresponding display position information of each frame of the program image according to the media content, the media play starting time, the media play duration 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 that are sequentially played; the play module 300 includes:
the first playing unit 310 is configured to play the previous frame of program image at the playing time corresponding to the previous frame of program image, and simultaneously draw the next frame of program image according to the image content of the next frame of program image.
The second playing unit 320 is configured to, in response to that the drawing of the next frame of program image is completed and the playing of the previous frame of program image is finished, play the next frame of program image at the playing time corresponding to the next frame of program image.
For the specific operation and technical effects between the modules in the program playing apparatus 40 in this embodiment, reference is made to the description of the foregoing first embodiment.
[ third embodiment ]
As shown in fig. 8, a program playing system 400 is provided according to a third embodiment of the present invention. The program playing 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 having stored thereon a computer program 421. The processor 410 may be, for example, an embedded processor. The processor 410 executes the computer program 421 to execute the program playing method in the first embodiment.
The specific operation and technical effects of the program playing system 400 in this embodiment are described in the foregoing first embodiment.
[ fourth example ] A
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 disks, floppy disks, and magnetic tape), optical media (e.g., CDROM disks and DVDs), magneto-optical media (e.g., optical disks), and hardware devices specially constructed for storing and executing computer-executable instructions (e.g., Read Only Memories (ROMs), Random Access Memories (RAMs), flash memories, etc.). The 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 can be arbitrarily combined and collocated without conflict between technical features and structural contradictions, which do not violate the purpose of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of one logic function, and an actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
The integrated units/modules, which are implemented in the form of software functional units/modules, may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present 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 solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for playing back a program, comprising:
receiving a target program sent by a program making end and acquiring program information of the target program;
determining to synthesize a plurality of frames of program images of the target program and play time corresponding to each frame of program image according to the program information;
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.
2. The program playing method according to claim 1, wherein the program information includes media content, a media special effect, a media playing start time, a media playing duration, and a number of program image frames per unit time that constitute the target program; the determining, according to the program information, to synthesize multiple frames of program images included in the target program and the playing time corresponding to each frame of the program image specifically includes:
obtaining the total playing time length of the target program according to the media playing starting time and the media playing time length;
obtaining the total frame number of the program images of the target program according to the total playing time and the number of the program image frames in the unit time;
determining the image contents of a plurality of frames of the program images according to the media contents, the media playing starting time, the media playing duration and the media special effect;
and calculating the playing time corresponding to each frame of the program image according to the total playing time and the total number of the program image frames.
3. The method for playing back a program according to claim 2, wherein the determining the image content of the plurality of frames of the program images according to the media content, the media playback start time, the media playback time, and the media special effect specifically includes:
and calculating the media display content and the corresponding display position information of each frame of the program image according to the media content, the media play starting time, the media play duration and the media special effect.
4. The program playing method according to claim 2 or 3, wherein said multi-frame program image comprises a previous frame program image and a next frame program image which are played in sequence; the drawing each frame of the program image and playing the drawn program image at the corresponding playing time specifically includes:
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 in response to the completion of the drawing of the next frame of program image and the end of the playing of the previous frame of program image, playing the next frame of program image at the playing time corresponding to the next frame of program image.
5. A program playing apparatus, comprising:
the receiving module is used for receiving a target program sent by a 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 and playing time corresponding to each frame of program images according to the program information;
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.
6. The program playing apparatus according to claim 5, wherein the program information includes media content, a media special effect, a media playing start time, a media playing duration, and a program image frame number per unit time that constitute the target program; the acquisition module includes:
the first obtaining unit is used for obtaining the total playing time length of the target program according to the media playing starting time and the media playing time length;
a second obtaining unit, configured to obtain a total number of program image frames of the target program according to the total playing time and the number of program image frames in the unit time;
the determining unit is used for determining the image contents of the multiple frames of the program images according to the media contents, the media playing starting time, the media playing duration 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 number of the program image frames.
7. The program playing apparatus as claimed in claim 6, wherein said determining unit is specifically configured to:
and calculating the media display content and the corresponding display position information of each frame of the program image according to the media content, the media play starting time, the media play duration and the media special effect.
8. The program playing apparatus according to claim 6 or 7, wherein said plurality of frames of program images include a previous frame of program image and a next frame of program image which are played in sequence; the playing module specifically comprises:
the first playing unit is used for 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 the second playing unit is used for responding to the completion of drawing the next frame of program image and the end of playing 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.
9. A program playing system comprising a memory and a processor connected to the memory, the processor storing a computer program, the processor executing the computer program to perform the program playing method of any one of claims 1 to 4.
10. A computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, is capable of implementing a program playing method according to any one of claims 1 to 4.
CN202011131342.9A 2020-10-21 2020-10-21 Program playing method, device and system and computer readable storage medium Active CN114390353B (en)

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 true CN114390353A (en) 2022-04-22
CN114390353B 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
吕云飞;孙宏坤;: "利用OpenGL技术提高Solaris系统下视频播放性能", 计算机应用, no. 2, 15 December 2008 (2008-12-15) *

Also Published As

Publication number Publication date
CN114390353B (en) 2024-05-10

Similar Documents

Publication Publication Date Title
CN106507200B (en) Video playing content insertion method and system
CN109672902A (en) A kind of video takes out frame method, device, electronic equipment and storage medium
CN111432262B (en) Page video rendering method and device
CN112055254B (en) Video playing method, device, terminal and storage medium
CN111064863B (en) Image data processing method and related device
CN106408623A (en) Character presentation method, device and terminal
CN106470353B (en) Multimedia data processing method and device and electronic equipment
CN113038222A (en) Video processing method and device, electronic equipment and storage medium
CN103810738B (en) Gif file rendering intent and device
CN114679665A (en) Bluetooth headset audio and video synchronization method and device, electronic equipment and storage medium
WO2021139359A1 (en) Image processing method and apparatus, electronic device, and storage medium
CN114390353A (en) Program playing method, device and system and computer readable storage medium
CN107995538B (en) Video annotation method and system
CN111954041A (en) Video loading method, computer equipment and readable storage medium
CN106331553B (en) Video storage method and device and electronic equipment
CN114390354A (en) Program production method, device and system and computer readable storage medium
CN116309964A (en) Video generation method, device, equipment and storage medium
CN111506241A (en) Special effect display method and device for live broadcast room, electronic equipment and computer medium
CN112333521A (en) Expression playing method and device, electronic equipment and computer readable storage medium
CN108235144B (en) Playing content obtaining method and device and computing equipment
CN113676765B (en) Interactive animation display method and device
CN113791962B (en) Picture frame rate determining method and device
CN114625463B (en) Window display method, device, mobile terminal and storage medium
CN114339338B (en) Image custom rendering method based on vehicle-mounted video and storage medium
CN110225413B (en) Video playing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant