CN109982120B - Multimedia playing method and device - Google Patents

Multimedia playing method and device Download PDF

Info

Publication number
CN109982120B
CN109982120B CN201711454906.0A CN201711454906A CN109982120B CN 109982120 B CN109982120 B CN 109982120B CN 201711454906 A CN201711454906 A CN 201711454906A CN 109982120 B CN109982120 B CN 109982120B
Authority
CN
China
Prior art keywords
video frame
frame
determining
video
network speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711454906.0A
Other languages
Chinese (zh)
Other versions
CN109982120A (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.)
Feihu Information Technology Tianjin Co Ltd
Original Assignee
Feihu Information Technology Tianjin 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 Feihu Information Technology Tianjin Co Ltd filed Critical Feihu Information Technology Tianjin Co Ltd
Priority to CN201711454906.0A priority Critical patent/CN109982120B/en
Publication of CN109982120A publication Critical patent/CN109982120A/en
Application granted granted Critical
Publication of CN109982120B publication Critical patent/CN109982120B/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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44227Monitoring of local network, e.g. connection or bandwidth variations; Detecting new devices in the local network

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The multimedia playing method comprises the steps of firstly creating a canvas label, then acquiring current network speed information, determining a target video frame matched with the network speed information, and finally playing the target video frame by frame according to the canvas label. As can be seen, the multimedia playing method provided in this embodiment performs video playing according to the mode of obtaining video frames at the current network speed, where the video frames are pictures and the network resources required by the video frames are much smaller than the segmented video. And when the network condition is not good, the number of acquired video frames can be reduced, and the acquired video frames are played, so that the unsmooth watching effect can not be generated, and the watching experience of a user is improved.

Description

Multimedia playing method and device
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a multimedia playing method and apparatus.
Background
Currently, network multimedia played on a mobile device is generally controlled based on a video tag. For example, video files with various definitions are stored in the background of the server, the whole video with each definition is segmented, and a video tag is set for each segmented video. When a user watches a video, the video player first obtains an initial stage of the video with corresponding definition (such as the first ten minutes of the video content) according to the current network condition or the definition designated by the user, and plays the video.
When a user needs to perform operations such as fast forward, rewind and the like, the progress bar can be slid, and at this time, the video player acquires the video tag corresponding to the progress bar and then acquires the segmented video corresponding to the video tag.
However, the inventor found that the segmented video relieves the bandwidth pressure to some extent, but the flow of the segmented video is relatively large (about 3 MB), and the video player still cannot load the segmented video normally under bad network conditions. At this time, a method of reducing resolution is generally adopted, that is, a video player loads a segmented video with lower resolution, however, this may reduce the viewing experience of the user.
Therefore, how to provide a multimedia playing method that can ensure the video watching when the network condition is not good and does not reduce the watching experience of the user is a major technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
In view of this, the embodiment of the present application provides a multimedia playing method, which can ensure normal playing of a video without reducing the definition of the video when the network situation is not good, and improve the viewing experience of a user.
In order to achieve the above purpose, the embodiments of the present application provide the following technical solutions:
a multimedia playing method is applied to a client, the client creates a canvas video player in advance, and the method comprises the following steps:
create a canvas label;
acquiring current network speed information, and determining a target video frame matched with the network speed information;
and playing the target video frame by frame according to the canvas label.
Optionally, the obtaining of the current network speed information and the determining of the target video frame matched with the network speed information include;
acquiring a characteristic identifier representing the current network speed information;
and determining a video frame corresponding to the feature identifier in the server as a target video frame according to the feature identifier, wherein the target video frame comprises a basic video frame and a key video frame.
Optionally, the playing the target video frame by frame according to the canvas tag includes:
and the canvas video player sequentially plays the basic video frames and the key video frames in the target video frames in a frame-by-frame animation mode.
Optionally, the method further includes:
determining the characteristic information of a basic video frame and a key video frame in the target video frame;
and preprocessing the target video frame according to the characteristic information to obtain an optimized video frame, and caching the optimized video frame.
Optionally, the method further includes:
acquiring current network speed information in real time, and determining the type of the current network speed information;
and determining the video frame corresponding to the type as the target video frame according to the type.
A multimedia playing apparatus applied to a client, the client creating a canvas video player in advance, comprising:
a creation module for creating a canvas label;
the first determining module is used for acquiring current network speed information and determining a target video frame matched with the network speed information;
and the playing module is used for playing the target video frames frame by frame according to the canvas label.
Optionally, the first determining module includes;
the first acquisition unit is used for acquiring a characteristic identifier representing the current network speed information;
and the determining unit is used for determining the video frame corresponding to the feature identifier in the server as a target video frame according to the feature identifier, wherein the target video frame comprises a basic video frame and a key video frame.
Optionally, the playing module includes:
and the playing unit is used for sequentially playing the basic video frames and the key video frames in the target video frames by the canvas video player according to a frame-by-frame animation mode.
Optionally, the method further includes:
the second determination module is used for determining the characteristic information of the basic video frame and the key video frame in the target video frame;
and the storage module is used for preprocessing the target video frame according to the characteristic information to obtain an optimized video frame and caching the optimized video frame.
Optionally, the method further includes:
the second acquisition module is used for acquiring the current network speed information in real time and determining the type of the current network speed information;
and the third determining module is used for determining the video frame corresponding to the type as the target video frame according to the type.
Based on the technical scheme, the application provides a multimedia playing method which is applied to a client, wherein a canvas video player is created in advance by the client, a canvas label is created firstly, then current network speed information is obtained, a target video frame matched with the network speed information is determined, and finally the target video frame is played frame by frame according to the canvas label. As can be seen, the multimedia playing method provided in this embodiment performs video playing according to the mode of obtaining video frames at the current network speed, where the video frames are pictures and the network resources required by the video frames are much smaller than the segmented video. And when the network condition is not good, the number of acquired video frames can be reduced, and the acquired video frames are played, so that the unsmooth watching effect can not be generated, and the watching experience of a user is improved. In addition, the multimedia playing method provided by the embodiment can also add a video frame editing function, that is, the video frame is played by the video player after being subjected to picture processing, so that the editability of the video is increased.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a structural diagram of a multimedia playing system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a multimedia playing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a multimedia playing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart illustrating a multimedia playing method according to an embodiment of the present application;
fig. 5 is a schematic flowchart illustrating a multimedia playing method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a multimedia playing method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a multimedia playing device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
Fig. 1 is a block diagram of a multimedia playing system according to an embodiment of the present disclosure, where the multimedia playing system shown in the figure can be used to implement a multimedia playing method according to an embodiment of the present disclosure. Referring to fig. 1, the multimedia playing system may include: a server 100 and a plurality of clients 200;
the server is a service device for providing services for users on a network side, and may be a server cluster formed by a plurality of servers or a single server.
The client is a program corresponding to the server and providing a local service for the user, and in practical applications, the client may be generally loaded on user equipment such as a mobile phone, a tablet computer, a notebook computer, and the like.
Based on the multimedia playing system shown in fig. 1, the multimedia playing method provided by the present application is described below from the perspective of the client. As shown in fig. 2, a flowchart of a multimedia playing method provided in an embodiment of the present application is shown, where the method is applied to a client, where the client creates a canvas video player in advance, and the multimedia playing method includes the steps of:
s21, creating a canvas label;
first, in the mobile front end page, a canvas tag is loaded and a canvas video player program adapted to it is prepared.
S22, acquiring current network speed information, and determining a target video frame matched with the network speed information;
as shown in fig. 3, in the multimedia playing method provided in this embodiment, the obtaining of the current network speed information and the determining of the target video frame matched with the network speed information may be implemented by the following steps:
s31, acquiring a characteristic mark representing the current network speed information;
s32, according to the feature identification, determining that the video frame corresponding to the feature identification in the server is a target video frame, wherein the target video frame comprises a basic video frame and a key video frame.
It should be noted that, in this embodiment, the original video source file (which may contain different definitions) uploaded to the server is preprocessed by a preprocessing program, specifically, the extraction of the video frames includes frame-by-frame extraction and key frame extraction.
Wherein, the process of extracting frame by frame is to perform denser screenshot on the video (such as 24 or 48 frames per second) to ensure the smooth playing of the video later; the key frame extraction is related to the specific content of the video, so that a video producer needs to mark the positions of the key frames in the matching data of the video, and then a preprocessing program carries out screenshot according to the position data, if the positions of the key frames are not marked, a frame is captured at a certain time interval (such as 30s) by default.
After all the picture frames are extracted, lossless compression can be performed on the pictures, so that the flow consumption of the mobile terminal is saved to the maximum extent.
After the video frame is set, the current network speed needs to be detected in this step, for example, a network speed detection program is used to detect the current network status, and according to the unique identifier (feature identifier vid) of the video, the client acquires the key frame and the frame-by-frame picture required for playing at the initial stage matched with the current network status from the server.
And S23, playing the target video frames frame by frame according to the canvas label.
As shown in fig. 4, this embodiment further provides a specific implementation step of playing the target video frame by frame according to the canvas tag, which is as follows:
s41, the canvas video player plays the basic video frames and the key video frames in the target video frames sequentially according to a frame-by-frame animation mode.
Specifically, the canvas video player program sequentially plays the frame-by-frame pictures that have been loaded locally in a frame-by-frame animation manner in the canvas element of the page to simulate the playing effect of the video source file, and acquires the pictures required for subsequent playing from the server in real time during the playing process. Because the requirement of the picture on the network is far lower than that of the segmented video on the network, the definition of the multimedia playing method provided by the embodiment can not be reduced under the condition of poor network, so that the watching experience of a user is improved.
In addition, on the basis of the above embodiment, as shown in fig. 5, the multimedia playing method provided in this embodiment further includes the steps of:
s51, determining the characteristic information of the basic video frame and the key video frame in the target video frame;
s52, preprocessing the target video frame according to the characteristic information to obtain an optimized video frame, and caching the optimized video frame.
Specifically, a canvas video playing optimization program is adopted to optimize the playing effect, firstly, a cache mechanism is added, so that the playing is smoother without pause feeling, for example, if a user backs to a position where the user previously plays, a loaded picture can be directly obtained from the cache, and the picture does not need to be obtained from a server again; secondly, according to the characteristics of the pictures, the transition between frames is optimized, for example, if a large number of still pictures exist, the acquisition and loading processes of some pictures can be omitted, so as to save the bandwidth.
Further, on the basis of the foregoing embodiment, as shown in fig. 6, the multimedia playing method provided in this embodiment further includes the steps of:
s61, acquiring current network speed information in real time, and determining the type of the current network speed information;
and S62, determining the video frame corresponding to the type as the target video frame according to the type.
In the process of video playing, the network condition is regularly detected, and the loading of the frame of the picture is adjusted at any time, specifically, the loading is controlled from two dimensions of the interval and the definition of the frame and the frame, for example, when the network is poor, the picture acquired from the server can be reduced from high definition to standard definition, or 48 frames can be played per second to 24 frames per second, or the two methods are carried out simultaneously.
In addition, if the network conditions have been so poor that it is completely impossible to read frame-by-frame pictures from the background, the key frame pictures can be played back in the form of a slideshow.
In the following, the multimedia playing apparatus provided in the embodiments of the present application is introduced, and the multimedia playing apparatus described below and the multimedia playing method described above are referred to correspondingly. As shown in fig. 7, which is a block diagram of a multimedia playing device provided in an embodiment of the present application, referring to fig. 7, the multimedia playing device may include:
a creation module 71 for creating a canvas label;
a first determining module 72, configured to obtain current network speed information, and determine a target video frame matched with the network speed information;
and the playing module 73 is configured to play the target video frame by frame according to the canvas tag.
Optionally, the first determining module includes;
the first acquisition unit is used for acquiring a characteristic identifier representing the current network speed information;
and the determining unit is used for determining the video frame corresponding to the feature identifier in the server as a target video frame according to the feature identifier, wherein the target video frame comprises a basic video frame and a key video frame.
Optionally, the playing module includes:
and the playing unit is used for sequentially playing the basic video frames and the key video frames in the target video frames by the canvas video player according to a frame-by-frame animation mode.
Optionally, the method further includes:
the second determination module is used for determining the characteristic information of the basic video frame and the key video frame in the target video frame;
and the storage module is used for preprocessing the target video frame according to the characteristic information to obtain an optimized video frame and caching the optimized video frame.
Optionally, the method further includes:
the second acquisition module is used for acquiring the current network speed information in real time and determining the type of the current network speed information;
and the third determining module is used for determining the video frame corresponding to the type as the target video frame according to the type.
The working principle of this embodiment of the apparatus is described in the above embodiment of the method, and will not be described repeatedly.
The multimedia playing device comprises a processor and a memory, wherein the creating module, the first determining module, the playing module and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the problem that video playing is blocked when a network is not good in the prior art is solved by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium having a program stored thereon, which when executed by a processor implements the multimedia playing method.
The embodiment of the invention provides a processor, which is used for running a program, wherein the multimedia playing method is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps:
a multimedia playing method is applied to a client, the client creates a canvas video player in advance, and the method comprises the following steps:
create a canvas label;
acquiring current network speed information, and determining a target video frame matched with the network speed information;
and playing the target video frame by frame according to the canvas label.
Optionally, the obtaining of the current network speed information and the determining of the target video frame matched with the network speed information include;
acquiring a characteristic identifier representing the current network speed information;
and determining a video frame corresponding to the feature identifier in the server as a target video frame according to the feature identifier, wherein the target video frame comprises a basic video frame and a key video frame.
Optionally, the playing the target video frame by frame according to the canvas tag includes:
and the canvas video player sequentially plays the basic video frames and the key video frames in the target video frames in a frame-by-frame animation mode.
Optionally, the method further includes:
determining the characteristic information of a basic video frame and a key video frame in the target video frame;
and preprocessing the target video frame according to the characteristic information to obtain an optimized video frame, and caching the optimized video frame.
Optionally, the method further includes:
acquiring current network speed information in real time, and determining the type of the current network speed information;
and determining the video frame corresponding to the type as the target video frame according to the type.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
create a canvas label;
acquiring current network speed information, and determining a target video frame matched with the network speed information;
and playing the target video frame by frame according to the canvas label.
Optionally, the obtaining of the current network speed information and the determining of the target video frame matched with the network speed information include;
acquiring a characteristic identifier representing the current network speed information;
and determining a video frame corresponding to the feature identifier in the server as a target video frame according to the feature identifier, wherein the target video frame comprises a basic video frame and a key video frame.
Optionally, the playing the target video frame by frame according to the canvas tag includes:
and the canvas video player sequentially plays the basic video frames and the key video frames in the target video frames in a frame-by-frame animation mode.
Optionally, the method further includes:
determining the characteristic information of a basic video frame and a key video frame in the target video frame;
and preprocessing the target video frame according to the characteristic information to obtain an optimized video frame, and caching the optimized video frame.
Optionally, the method further includes:
acquiring current network speed information in real time, and determining the type of the current network speed information;
and determining the video frame corresponding to the type as the target video frame according to the type.
Therefore, in the scheme, the key video frames are extracted frame by frame and the canvas is used for simulating the playing of the video, so that the controllability of the video playing is improved. Because the video is organized in the form of pictures, when the network is poor, the video can be played in a frame-extracting mode instead of reducing the resolution, and the network adaptation is more flexible; and can adjust the play speed, the number of frames played per second, color, contrast freely, can add the filter even and other richer functions.
In summary, the present application provides a multimedia playing method, which is applied to a client, wherein the client creates a canvas video player in advance, and the multimedia playing method first creates a canvas tag, then obtains current network speed information, determines a target video frame matched with the network speed information, and finally plays the target video frame by frame according to the canvas tag. As can be seen, the multimedia playing method provided in this embodiment performs video playing according to the mode of obtaining video frames at the current network speed, where the video frames are pictures and the network resources required by the video frames are much smaller than the segmented video. And when the network condition is not good, the number of acquired video frames can be reduced, and the acquired video frames are played, so that the unsmooth watching effect can not be generated, and the watching experience of a user is improved. In addition, the multimedia playing method provided by the embodiment can also add a video frame editing function, that is, the video frame is played by the video player after being subjected to picture processing, so that the editability of the video is increased.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A multimedia playing method is applied to a client, wherein the client creates a canvas video player in advance, and the method comprises the following steps:
create a canvas label;
acquiring current network speed information, and determining a target video frame matched with the network speed information; the acquiring current network speed information and determining a target video frame matched with the network speed information includes: acquiring a characteristic identifier representing the current network speed information; determining a video frame corresponding to the feature identifier in a server as a target video frame according to the feature identifier, wherein the target video frame comprises a basic video frame and a key video frame, and the position of the key video frame is marked in video data stored in the server;
and playing the target video frame by frame according to the canvas label.
2. The multimedia playing method according to claim 1, wherein said playing the target video frame by frame according to the canvas tag comprises:
and the canvas video player sequentially plays the basic video frames and the key video frames in the target video frames in a frame-by-frame animation mode.
3. The multimedia playing method according to claim 1, further comprising:
determining the characteristic information of a basic video frame and a key video frame in the target video frame;
and preprocessing the target video frame according to the characteristic information to obtain an optimized video frame, and caching the optimized video frame.
4. The multimedia playing method according to claim 1, further comprising:
acquiring current network speed information in real time, and determining the type of the current network speed information;
and determining the video frame corresponding to the type as the target video frame according to the type.
5. A multimedia playing apparatus, applied to a client that creates a canvas video player in advance, comprising:
a creation module for creating a canvas label;
the first determining module is used for acquiring current network speed information and determining a target video frame matched with the network speed information; wherein the first target module comprises: the first acquisition unit is used for acquiring a characteristic identifier representing the current network speed information; a determining unit, configured to determine, according to the feature identifier, that a video frame corresponding to the feature identifier in a server is a target video frame, where the target video frame includes a basic video frame and a key video frame, and a position where the key video frame is located is marked in video data stored in the server;
and the playing module is used for playing the target video frames frame by frame according to the canvas label.
6. The multimedia playback apparatus of claim 5, wherein the playback module comprises:
and the playing unit is used for sequentially playing the basic video frames and the key video frames in the target video frames by the canvas video player according to a frame-by-frame animation mode.
7. The multimedia playback apparatus of claim 5, further comprising:
the second determination module is used for determining the characteristic information of the basic video frame and the key video frame in the target video frame;
and the storage module is used for preprocessing the target video frame according to the characteristic information to obtain an optimized video frame and caching the optimized video frame.
8. The multimedia playback apparatus of claim 5, further comprising:
the second acquisition module is used for acquiring the current network speed information in real time and determining the type of the current network speed information;
and the third determining module is used for determining the video frame corresponding to the type as the target video frame according to the type.
CN201711454906.0A 2017-12-28 2017-12-28 Multimedia playing method and device Active CN109982120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711454906.0A CN109982120B (en) 2017-12-28 2017-12-28 Multimedia playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711454906.0A CN109982120B (en) 2017-12-28 2017-12-28 Multimedia playing method and device

Publications (2)

Publication Number Publication Date
CN109982120A CN109982120A (en) 2019-07-05
CN109982120B true CN109982120B (en) 2021-06-15

Family

ID=67074155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711454906.0A Active CN109982120B (en) 2017-12-28 2017-12-28 Multimedia playing method and device

Country Status (1)

Country Link
CN (1) CN109982120B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225413B (en) * 2019-07-09 2021-09-10 广州品唯软件有限公司 Video playing method and device
CN111182334B (en) * 2019-12-30 2022-03-25 咪咕视讯科技有限公司 Data processing method, server, terminal, and storage medium
CN115278349B (en) * 2022-07-21 2023-05-23 北京邮电大学 Method for processing drag watching video under wireless communication environment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104837051A (en) * 2015-05-26 2015-08-12 腾讯科技(北京)有限公司 Video playing method and client side
CN105744340A (en) * 2016-02-26 2016-07-06 上海卓越睿新数码科技有限公司 Real-time screen fusion method for live broadcast video and presentation file
CN105898291A (en) * 2015-12-14 2016-08-24 乐视云计算有限公司 Network video playing method and device
CN106817354A (en) * 2015-12-01 2017-06-09 阿里巴巴集团控股有限公司 A kind of video stream transmission method, equipment and system
CN106911943A (en) * 2017-02-21 2017-06-30 腾讯科技(深圳)有限公司 A kind of video display method and its device
CN107071536A (en) * 2017-03-29 2017-08-18 武汉斗鱼网络科技有限公司 User's switching definition loads the method and system of video flowing
CN107438194A (en) * 2017-08-09 2017-12-05 青岛海信电器股份有限公司 A kind of intelligent television UI object rendering methods and intelligent television

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7639308B2 (en) * 2004-04-19 2009-12-29 Broadcom Corporation Television channel selection canvas

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104837051A (en) * 2015-05-26 2015-08-12 腾讯科技(北京)有限公司 Video playing method and client side
CN106817354A (en) * 2015-12-01 2017-06-09 阿里巴巴集团控股有限公司 A kind of video stream transmission method, equipment and system
CN105898291A (en) * 2015-12-14 2016-08-24 乐视云计算有限公司 Network video playing method and device
CN105744340A (en) * 2016-02-26 2016-07-06 上海卓越睿新数码科技有限公司 Real-time screen fusion method for live broadcast video and presentation file
CN106911943A (en) * 2017-02-21 2017-06-30 腾讯科技(深圳)有限公司 A kind of video display method and its device
CN107071536A (en) * 2017-03-29 2017-08-18 武汉斗鱼网络科技有限公司 User's switching definition loads the method and system of video flowing
CN107438194A (en) * 2017-08-09 2017-12-05 青岛海信电器股份有限公司 A kind of intelligent television UI object rendering methods and intelligent television

Also Published As

Publication number Publication date
CN109982120A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN108683826B (en) Video data processing method, video data processing device, computer equipment and storage medium
US11176967B2 (en) Automatic generation of video playback effects
US11438510B2 (en) System and method for editing video contents automatically technical field
US8891939B2 (en) Systems and methods for video-aware screen capture and compression
US10452920B2 (en) Systems and methods for generating a summary storyboard from a plurality of image frames
CN109982120B (en) Multimedia playing method and device
US20180373736A1 (en) Method and apparatus for storing resource and electronic device
US20150156557A1 (en) Display apparatus, method of displaying image thereof, and computer-readable recording medium
CN109309842B (en) Live broadcast data processing method and device, computer equipment and storage medium
WO2017202170A1 (en) Method and device for video compression and electronic device
CN107943811B (en) Content publishing method and device
CN107333163A (en) A kind of method for processing video frequency and device, a kind of terminal and storage medium
CN110166795B (en) Video screenshot method and device
CN111095939A (en) Identifying previously streamed portions of a media item to avoid repeated playback
CN107995482B (en) Video file processing method and device
CN112929728A (en) Video rendering method, device and system, electronic equipment and storage medium
CN111954041A (en) Video loading method, computer equipment and readable storage medium
CN109495789B (en) Media file playing method, equipment and communication system
CN112055258A (en) Time delay testing method and device for loading live broadcast picture and electronic equipment
CN107004018B (en) Data processing method and device
CN117014649A (en) Video processing method and device and electronic equipment
CN114218409A (en) Front-end animation performance optimization method and device and computer equipment
CN110677728B (en) Method, device and equipment for playing video and storage medium
CN114299089A (en) Image processing method, image processing device, electronic equipment and storage medium
CN113891136A (en) Video playing method and device, electronic equipment and 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