CN113766270A - Video playing method, system, server, terminal equipment and electronic equipment - Google Patents

Video playing method, system, server, terminal equipment and electronic equipment Download PDF

Info

Publication number
CN113766270A
CN113766270A CN202110214859.2A CN202110214859A CN113766270A CN 113766270 A CN113766270 A CN 113766270A CN 202110214859 A CN202110214859 A CN 202110214859A CN 113766270 A CN113766270 A CN 113766270A
Authority
CN
China
Prior art keywords
video
storage address
target video
playing
format
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.)
Pending
Application number
CN202110214859.2A
Other languages
Chinese (zh)
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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202110214859.2A priority Critical patent/CN113766270A/en
Publication of CN113766270A publication Critical patent/CN113766270A/en
Pending legal-status Critical Current

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • 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/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

An embodiment of the application provides a video playing method, a system, a server, a terminal device, an electronic device, a storage medium and a program product, which include: the method comprises the steps that a server receives a playing request for playing a target video sent by a terminal device, the server determines and feeds back a first storage address to the terminal device according to the playing request, the first storage address is a storage address for storing the target video in a first coding format, the first storage address carries an identifier of a second video coding standard, the first storage address and the identifier are used for determining a second storage address, the second storage address is a storage address for the target video in a second coding format, if the terminal device supports playing of a video generated by the second video coding standard, the second storage address is used for playing the target video in the second coding format, and the level of the second video coding standard is higher than that of the first video coding standard, so that the reliability and accuracy of video playing are achieved, the resource utilization rate is improved, and the video playing experience of a user is enhanced.

Description

Video playing method, system, server, terminal equipment and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of computers and the technical field of internet, in particular to a video playing method, a video playing system, a server, terminal equipment, electronic equipment, a storage medium and a program product.
Background
H.264 and h.265 are video coding standards, and h.265 is a further upgrade of h.264, and the h.265 video coding standard has many advantages in video playing systems, such as bandwidth reduction, etc.
From the dimension of the player, part of the player supports video generated by adopting the video coding standard of H.264 (H.264 video for short), and part of the player supports video generated by adopting the video coding standard of H.265 (H.265 video); from the dimensionality of the video stored by the server, part of the video is h.264 video, and part of the video is h.265 video. In the prior art, the h.264 video in the server is upgraded to the h.265 video, and the player is upgraded accordingly.
However, the video upgrade and the player upgrade in the server may not be performed synchronously, and there may be a problem that the player cannot support the upgraded video playing in the server due to incompatibility between the video in the server and the player.
Disclosure of Invention
The embodiment of the application provides a video playing method, a video playing system, a server, a terminal device, an electronic device, a storage medium and a program product, which are used for solving the problem of low reliability of video playing.
In a first aspect, an embodiment of the present application provides a video playing method, which is applied to a server, and includes:
receiving a playing request for playing a target video sent by terminal equipment;
determining and feeding back a first storage address to the terminal equipment according to the playing request;
the first storage address is a storage address for storing a target video in a first coding format, the first storage address carries an identifier of a second video coding standard, the first storage address and the identifier are used for determining a second storage address, the second storage address is a storage address of a target video in a second coding format, if the terminal device supports playing of a video generated by the second video coding standard, the second storage address is used for playing the target video in the second coding format, the target video in the first coding format is generated based on the first video coding standard, the target video in the second coding format is generated based on the second video coding standard, and the level of the second video coding standard is higher than that of the first video coding standard.
In some embodiments, the second storage address is obtained by converting the first storage address and the identifier based on a preset conversion protocol between the terminal device and the server.
In some embodiments, before receiving a play request for playing a target video sent by a terminal device, the method further includes:
acquiring a storage request for indicating storage of the target video in the first coding format;
and storing the target video in the first coding format based on a preset first storage address.
In some embodiments, after storing the target video in the first encoding format based on a preset first storage address, the method further includes:
and converting the target video in the first coding format into the target video in the second coding format, and adding the identifier in the first storage address.
In some embodiments, after converting the target video in the first encoding format to the target video in the second encoding format, the method further comprises:
and determining a second storage address according to the first storage address and the identifier, and storing the target video in the second coding format based on the second storage address.
In some embodiments, the memory for storing the target video in the first encoding format and/or the target video in the second encoding format is a local memory or a cloud memory.
In some embodiments, if the terminal device does not support playing of a video generated by a second video coding standard, or the first storage address does not carry an identifier of the second video coding standard, the first storage address is used to acquire and play the target video in the first coding format.
In some embodiments, determining and feeding back the first storage address to the terminal device according to the play request includes:
and determining and feeding back the first storage address to the terminal equipment according to a preset mapping relation between the video and the storage address.
In a second aspect, an embodiment of the present application provides a video playing method, which is applied to a terminal device, and includes:
sending a playing request for playing a target video to a server, and receiving a first storage address fed back by the server based on the playing request, wherein the first storage address is a storage address of the target video in a first coding format, and the target video in the first coding format is generated based on a first video coding standard;
if the terminal equipment supports playing of a video generated by a second video coding standard, and if the first storage address carries an identifier of the second video coding standard, determining a second storage address according to the first storage address and the identifier, wherein the second storage address is a storage address of a target video in a second coding format, the target video in the second coding format is generated based on the second video coding standard, and the level of the second video coding standard is higher than that of the first video coding standard;
and acquiring and playing the target video in the second coding format based on the second storage address.
In some embodiments, determining a second memory address from the first memory address and the identification comprises:
and converting the first storage address and the identifier into a second storage address according to a preset conversion protocol between the terminal equipment and the server.
In some embodiments, the target video in the first encoding format is stored based on a preset first storage address after a storage request for indicating storage of the target video in the first encoding format is acquired.
In some embodiments, the identification is added to the first storage address after converting the target video in the first encoding format to the target video in the second encoding format.
In some embodiments, the target video in the second encoding format is stored based on a second storage address determined from the first storage address and the identification after the second storage address is determined.
In some embodiments, the memory for storing the target video in the first encoding format and/or the target video in the second encoding format is a local memory or a cloud memory.
In some embodiments, after receiving the first storage address fed back by the server based on the play request, the method further includes:
and if the terminal equipment does not support playing of the video generated by the second video coding standard, or the first storage address does not carry the identifier of the second video coding standard, acquiring and playing the target video in the first coding format based on the first storage address.
In some embodiments, after receiving the first storage address fed back by the server based on the play request, the method further includes:
and if the terminal equipment does not support playing of the video generated by the second video coding standard, or the first storage address does not carry the identifier of the second video coding standard, acquiring and playing the target video in the first coding format based on the first storage address.
In some embodiments, the first storage address is determined according to a preset mapping relationship between the video and the storage address.
In a third aspect, an embodiment of the present application provides a server, including:
the first receiving module is used for receiving a playing request of playing a target video sent by the terminal equipment;
the first determining module is used for determining a first storage address according to the playing request;
the feedback module is used for feeding back the first storage address to the terminal equipment;
the first storage address is a storage address for storing a target video in a first coding format, the first storage address carries an identifier of a second video coding standard, the first storage address and the identifier are used for determining a second storage address, the second storage address is a storage address of a target video in a second coding format, if the terminal device supports playing of a video generated by the second video coding standard, the second storage address is used for playing the target video in the second coding format, the target video in the first coding format is generated based on the first video coding standard, the target video in the second coding format is generated based on the second video coding standard, and the level of the second video coding standard is higher than that of the first video coding standard.
In some embodiments, the second storage address is obtained by converting the first storage address and the identifier based on a preset conversion protocol between the terminal device and the server.
In some embodiments, the server further comprises:
a first obtaining module, configured to obtain a storage request for indicating to store a target video in the first encoding format;
and the first storage module is used for storing the target video in the first coding format based on a preset first storage address.
In some embodiments, the server further comprises:
the conversion module is used for converting the target video in the first coding format into the target video in the second coding format;
and the adding module is used for adding the identification in the first storage address.
In some embodiments, the server further comprises:
a second determining module, configured to determine a second storage address according to the first storage address and the identifier;
and the second storage module is used for storing the target video in the second coding format based on the second storage address.
In some embodiments, the memory for storing the target video in the first encoding format and/or the target video in the second encoding format is a local memory or a cloud memory.
In some embodiments, if the terminal device does not support playing of a video generated by a second video coding standard, or the first storage address does not carry an identifier of the second video coding standard, the first storage address is used to acquire and play the target video in the first coding format.
In some embodiments, the first determining module is configured to determine and feed back the first storage address to the terminal device according to a mapping relationship between a preset video and a storage address.
In a fourth aspect, an embodiment of the present application provides a terminal device, including:
the sending module is used for sending a playing request for playing the target video to the server;
a second receiving module, configured to receive a first storage address fed back by the server based on the play request, where the first storage address is a storage address of a target video in a first coding format, and the target video in the first coding format is generated based on a first video coding standard;
a third determining module, configured to determine a second storage address according to the first storage address and an identifier of a second video coding standard if the terminal device supports playing of a video generated by the second video coding standard and if the first storage address carries the identifier of the second video coding standard, where the second storage address is a storage address of a target video in a second coding format, the target video in the second coding format is generated based on the second video coding standard, and a level of the second video coding standard is higher than a level of the first video coding standard;
the second obtaining module is used for obtaining the target video in the second coding format based on the second storage address;
and the playing module is used for playing the target video in the second coding format.
In some embodiments, the third determining module is configured to convert the first storage address and the identifier into a second storage address according to a preset conversion protocol between the terminal device and the server.
In some embodiments, the target video in the first encoding format is stored based on a preset first storage address after a storage request for indicating storage of the target video in the first encoding format is acquired.
In some embodiments, the identification is added to the first storage address after converting the target video in the first encoding format to the target video in the second encoding format.
In some embodiments, the target video in the second encoding format is stored based on a second storage address determined from the first storage address and the identification after the second storage address is determined.
In some embodiments, the memory for storing the target video in the first encoding format and/or the target video in the second encoding format is a local memory or a cloud memory.
In some embodiments, the second obtaining module is configured to, if the terminal device does not support playing of a video generated by a second video coding standard, or the first storage address does not carry an identifier of the second video coding standard, obtain, based on the first storage address, a target video in the first coding format;
the playing module is used for playing the target video in the first coding format.
In some embodiments, the first storage address is determined according to a preset mapping relationship between the video and the storage address.
In a fifth aspect, an embodiment of the present application provides a server, including: a service foreground, a service middle station, a service background, and a transcoder, wherein,
the service foreground is used for receiving a playing request of playing the target video sent by the terminal equipment;
the service background is used for determining a first storage address to be fed back to the terminal equipment from the service middle station according to the playing request, wherein the first storage address stores a target video in a first coding format;
the service foreground is used for feeding back the first storage address to the terminal equipment;
the first storage address carries an identifier of a second video coding standard, the first storage address and the identifier are used for determining a second storage address, the second storage address is a storage address of a target video in a second coding format, if the terminal device supports playing of a video generated by the second video coding standard, the second storage address is used for playing of the target video in the second coding format, the target video in the first coding format is generated based on the first video coding standard, the target video in the second coding format is generated by the transcoder based on the second video coding standard, and the level of the second video coding standard is higher than the level of the first video coding standard.
In some embodiments, the service center station stores a mapping relationship between a storage address and a video, and the service background is configured to determine, from the mapping relationship of the service center station, a first storage address of a target video corresponding to the play request.
In some embodiments, the server further comprises a local memory for storing the target video in the first encoding format and/or the target video in the second encoding format.
In some embodiments, after the service foreground acquires the storage request for indicating to store the target video in the first encoding format, the service background acquires a first storage address from the service foreground for storage.
In a sixth aspect, an embodiment of the present application provides a video playing system, including:
the server of the third or fifth aspect;
the terminal device according to the fourth aspect.
In a seventh aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;
a memory; a memory for storing the processor-executable instructions;
wherein the processor is configured to perform the method of the first aspect; alternatively, the first and second electrodes may be,
the processor is configured to perform the method according to the second aspect.
In an eighth aspect, embodiments of the present application provide a computer-readable storage medium, in which computer-executable instructions are stored, and when executed by a processor, the computer-executable instructions are used to implement the method according to the first aspect; alternatively, the first and second electrodes may be,
the computer executable instructions, when executed by a processor, are for implementing the method as described in the second aspect.
In a ninth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when executed by a processor, implements the method according to the first aspect; alternatively, the first and second electrodes may be,
the computer program, when executed by a processor, implements the method according to the second aspect.
The embodiment of the application provides a video playing method, a video playing system, a server, a terminal device, an electronic device, a storage medium and a program product, which comprise: the method comprises the steps that a server receives a playing request for playing a target video sent by a terminal device, the server determines and feeds back a first storage address to the terminal device according to the playing request, wherein the first storage address is a storage address for storing the target video in a first coding format, the first storage address carries an identifier of a second video coding standard, the first storage address and the identifier are used for determining a second storage address, the second storage address is a storage address of the target video in a second coding format, if the terminal device supports playing of a video generated by the second video coding standard, the second storage address is used for playing the target video in the second coding format, the target video in the first coding format is generated based on the first video coding standard, the target video in the second coding format is generated based on the second video coding standard, and the level of the second video coding standard is higher than that of the first video coding standard, by respectively storing the target videos with two different coding formats and combining the storage address and the identifier to determine the target video with the coding format with a higher level, the problem that the video cannot be played or the problem that broadband resources are consumed is solved in the related technology due to incompatibility of a player in the terminal equipment and the coding format of the video, the reliability and the accuracy of video playing are realized, the resource utilization rate is improved, and the video playing experience of a user is enhanced.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic view of an application scenario of a video playing method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a video playing method according to an embodiment of the present application;
fig. 3 is a schematic diagram of a video playing method according to another embodiment of the present application;
fig. 4 is a schematic diagram of a video playing method according to another embodiment of the present application;
FIG. 5 is a schematic diagram of a server according to one embodiment of the present application;
FIG. 6 is a schematic diagram of a server according to another embodiment of the present application;
fig. 7 is a schematic diagram of a terminal device according to an embodiment of the present application;
fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terms referred to in the embodiments of the present application are explained as follows:
video coding standards: the method is mainly applied to the field of real-time video communication, such as conference television, video storage (DVD), broadcast television, streaming media on the Internet or wireless networks, and the like, and refers to a standard for generating videos through coding.
Local memory: the term "cloud storage" is used as a relative concept, and refers to a storage provided in a server.
Cloud storage: the term "local memory" refers to a memory located in the cloud.
H.264: one of the Video coding standards is the highly compressed digital Video codec standard proposed by the Joint Video Team (JVT) consisting of the ITU-T Video Coding Experts Group (VCEG) and the ISO/IEC Moving Picture Experts Group (MPEG) jointly.
H.265: one of the video coding standards is the new video coding standard established by ITU-T VCEG following h.264.
The embodiment of the present application provides a video playing method, which may be applied to a scene where a video is played, for example, playing a video such as a movie, a video, a small video, an advertisement-type video, and the like may be included, and the present embodiment is not limited.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a video playing method according to an embodiment of the present application.
As shown in fig. 1, a user 101 may obtain a video from a server 103 through a terminal device 102.
In one example, the user 101 may obtain a video from the server 103 by voice based on the terminal device 102.
For example, an audio capture device may be disposed in the terminal device 102, and the terminal device 102 may capture a voice instruction of the user 101 to obtain a video through the audio capture device, and may parse the captured voice instruction to determine a video that the user 101 wishes to be played, and generate and send a play request to the server 103, where the play request is used to request the server 103 to obtain a video that the user 101 wishes to be played.
In another example, the user 101 may obtain a video from the server 103 based on the terminal device 102 by means of a touch screen.
For example, the terminal device 102 may support a touch screen function, and the user 101 may input a video desired to be played on a screen of the terminal device 102 by means of manual revenue, and accordingly, the terminal device 102 transmits a play request for requesting the server 103 to acquire the video desired to be played by the user 101 based on the video desired to be played input by the user to the server 103.
It should be noted that, with the technical development of the video coding standard, the level of the video coding standard is upgraded from h.264 to h.265, that is, h.265 is an upgraded version of h.264, and h.265 has the advantages of reducing the bandwidth compared with h.264, so that more and more videos are generated by using the video coding standard of h.265.
However, in the related art, since part of the players is not upgraded, part of the players may support video generated based on the h.264 video coding standard but not video generated based on the h.265 video coding standard, which may result in that part of the players cannot play video generated based on the h.265 video coding standard.
For example, in combination with the application scenario shown in fig. 1, if the video stored in the server 103 is a video generated based on the video coding standard of h.265, and the player in the terminal device 102 is a player that does not support the video generated based on the video coding standard of h.265, the terminal device 102 cannot play the video that the user 101 wishes to play.
In other embodiments, there may be another situation, for example, continuing the analysis in conjunction with the application scenario shown in FIG. 1 as follows:
although the player in the terminal device 102 supports the video generated by the video coding standard of h.265 and the video generated by the video coding standard of h.264 stored in the server 103 can play the video generated by the video coding standard of h.264, the problem that the consumed bandwidth is relatively high and the viewing experience of the user is low may be caused.
In combination with the above analysis, it can be known that, if the method for playing a video in the related art is adopted, the problem that the player cannot play the video due to incompatibility between the player and the video may occur, and the problem that the consumption of broadband resources is high due to incompatibility between the player and the video may also occur.
In order to solve at least one of the above problems, the inventors of the present application have made creative efforts to obtain the inventive concept of the present application: the server can store videos respectively generated based on two video coding standards, and by adding the identifier of the video coding standard of h.265 to the storage address of the video generated based on the video coding standard of h.264, correspondingly, if the player supports playing of the video generated based on the video coding standard of h.265, the player can determine the storage address of the video generated based on the video coding standard of h.264 and the identifier, and play the video generated based on the video coding standard of h.265.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
According to an aspect of an embodiment of the present application, an embodiment of the present application provides a video playing method, which may be applied to a server.
Referring to fig. 2, fig. 2 is a schematic view illustrating a video playing method according to an embodiment of the present application.
S201: and the server receives a playing request of playing the target video sent by the terminal equipment.
For example, the execution subject of this embodiment may be a server, and the server may be a local server or a cloud server.
S202: and the server determines and feeds back the first storage address to the terminal equipment according to the playing request.
The first storage address is a storage address for storing a target video in a first coding format, the first storage address carries an identifier of a second video coding standard, the first storage address and the identifier are used for determining a second storage address, the second storage address is a storage address of a target video in a second coding format, if the terminal device supports playing of a video generated by the second video coding standard, the second storage address is used for playing the target video in the second coding format, the target video in the first coding format is generated based on the first video coding standard, the target video in the second coding format is generated based on the second video coding standard, and the level of the second video coding standard is higher than that of the first video coding standard.
Illustratively, described in connection with the application scenario shown in fig. 1 and with respect to the application scenario shown in fig. 1, the first video coding standard may be the video coding standard of h.264, and the second video coding standard may be the video coding standard of h.265.
Accordingly, the target video in the first encoding format may be a video generated by the video encoding standard of h.264 (hereinafter, referred to as h.264 video), and the target video in the second encoding format may be a video generated by the video encoding standard of h.265 (hereinafter, referred to as h.265 video).
Accordingly, the storage address where the h.264 video is stored may be a first storage address, and the address where the h.265 video is stored may be a second storage address.
The embodiment can be understood as follows: the server can receive a playing request sent by the terminal device, where the playing request is used to request playing of a target video, the server stores target videos with two encoding formats, the two target videos are respectively an h.264 video and an h.265 video, a storage address for storing the h.264 video is a first storage address, a storage address for storing the h.265 video is a second storage address, and the first storage address includes an identifier of a video encoding standard of h.265, the server can feed back the first storage address including the identifier according to the playing request, and accordingly, the terminal device can receive the first storage address including the identifier sent by the server and determine the second storage address according to the first storage address including the identifier, thereby implementing obtaining and playing of the h.265 video.
Based on the above analysis, an embodiment of the present application provides a video playing method, including: the method comprises the steps that a server receives a playing request for playing a target video sent by a terminal device, the server determines and feeds back a first storage address to the terminal device according to the playing request, wherein the first storage address is a storage address for storing the target video in a first coding format, the first storage address carries an identifier of a second video coding standard, the first storage address and the identifier are used for determining a second storage address, the second storage address is a storage address of the target video in a second coding format, if the terminal device supports playing of a video generated by the second video coding standard, the second storage address is used for playing the target video in the second coding format, the target video in the first coding format is generated based on the first video coding standard, the target video in the second coding format is generated based on the second video coding standard, and the level of the second video coding standard is higher than that of the first video coding standard, by respectively storing the target videos with two different coding formats and combining the storage address and the identifier to determine the target video with the coding format with a higher level, the problem that the video cannot be played or the problem that broadband resources are consumed is solved in the related technology due to incompatibility of a player in the terminal equipment and the coding format of the video, the reliability and the accuracy of video playing are realized, the resource utilization rate is improved, and the video playing experience of a user is enhanced.
Referring to fig. 3, fig. 3 is a schematic view illustrating a video playing method according to another embodiment of the present application.
S301: the server obtains a storage request indicating storage of a target video in a first encoding format.
Illustratively, a video authoring user may perform video authoring based on a video authoring page provided by a server, and upon completion of the video authoring, the video authoring user may request the server to store the authored video.
In one example, a default encoding format for storing the authored video for any storage request may be preset in the server, and the default encoding format is the first encoding format.
The default coding format is set as the first coding format, so that each browser can complete playing of the created video.
In another example, the server may also receive a storage request for a target video in an encoding format specified by a video authoring user.
With reference to the foregoing embodiment, the target video in the first encoding format may be an h.264 video, that is, the target video in the first encoding format is a video obtained by the server performing encoding processing on a video created by a video creation user based on the h.264 video encoding standard.
S302: and the server stores the target video in the first coding format based on a preset first storage address.
Illustratively, a plurality of storage addresses are arranged in the server, and different storage addresses are used for storing different videos or storing videos with different encoding formats.
Accordingly, when the server receives the storage request, a storage address for storing the target video corresponding to the storage request may be determined from the plurality of storage addresses, and the target video corresponding to the storage request may be stored based on the determined storage address.
In one example, a memory (which may be referred to as a local memory) may be provided in the server, and the server may store the target video in the first encoding format to the local memory based on the first storage address.
In another example, the server may be connected with cloud storage, and the server may store the target video in the first encoding format to the cloud storage based on the first storage address.
It should be noted that, in this embodiment, by using the local storage and/or the cloud storage to store the target video in the first encoding format, flexibility and diversity of stored videos can be achieved, and when the target video in the first encoding format is stored by using the cloud storage, the storage space of the server can be saved, the operating efficiency of the server is improved, and thus the technical effect of improving the efficiency of video playing is achieved.
In connection with the above embodiments, this step may be understood as: the server stores the H.264 video to the local storage based on the first storage address, and/or the server stores the H.264 video to the cloud storage based on the first storage address.
S303: and the server converts the coding format of the target video in the first coding format to generate the target video in the second coding format.
Illustratively, the server adopts a second video coding standard to carry out coding processing on the target video in the first coding format, and generates the target video in the second coding format.
In connection with the above embodiments, this step may be understood as: the server converts the h.264 video to h.265 video.
S304: and the server stores the target video in the second coding format based on a preset second storage address.
Similarly, the server may store the target video in the second encoding format to the local storage based on the second storage address, and may also store the target video in the second encoding format to the cloud storage.
In connection with the above embodiments, this step may be understood as: the server stores the H.265 video based on the second storage address.
S305: the server adds an identification of the second video coding standard in the first memory address.
In connection with the above embodiments, this step may be understood as: the server adds an identification of the video coding standard of h.265 in the first storage address.
S306: and the terminal equipment sends a playing request for playing the target video to the server.
Accordingly, the server receives the play request transmitted by the terminal device.
For example, as described in connection with the application scenario shown in fig. 1 and with respect to the application scenario shown in fig. 1, the voice instruction of the user or the touch operation of the user, which triggers the terminal device to send the play request to the server, may be sent.
Wherein, the terminal device includes but is not limited to: desktop computers, notebook computers, palm top computers, and mobile phones.
S307: and the server sends a first storage address to the terminal equipment according to the playing request, wherein the first storage address carries the identifier.
Accordingly, the terminal device receives the first storage address transmitted by the server.
Based on the above embodiment, what the server sends to the terminal device is: and storing a first storage address of the H.264 video, wherein the first storage address carries the identification of the H.265.
In some embodiments, the server may construct a mapping relationship between the storage address and the video, for example, after the server stores the target video in the first encoding format based on the first storage address, the server may construct a mapping relationship between the first storage address and the target video in the first encoding format, and when the server receives a play request, the server may determine the target video based on the play request and determine the first storage address corresponding to the target video based on the mapping relationship between the first storage address and the target video in the first encoding format.
S308: the terminal device determines whether it supports playing the video generated by the second video coding standard, if so, executes S309, otherwise, executes S312.
Exemplarily, in combination with the above embodiment, the terminal device is provided with a player, and the terminal device determines whether the player supports playing of the h.265 video, and if so, the player can play the h.265 video, then S309 is executed.
S309: and the terminal equipment determines a second storage address according to the first storage address and the identification, wherein the second storage address is used for storing the target video in the second coding format.
In some embodiments, S308 may specifically include: the terminal device may analyze the first storage address to obtain a Uniform Resource Locator (URL) and an identifier of the target video in the first encoding format, and generate a second storage address based on the identifier and the URL.
The specific implementation of generating the second storage address based on the identifier and the uniform resource locator may be determined by negotiation between the server and the terminal device in advance.
S310: and the terminal equipment acquires the target video in the second coding format according to the second storage address.
Illustratively, in combination with the above embodiments, the terminal device acquires the h.265 video according to the second storage address.
S311: and the terminal equipment plays the target video in the second coding format.
Illustratively, in conjunction with the above-described embodiments, the terminal device plays the h.265 video.
S312: and the terminal equipment acquires the target video in the first coding format based on the first storage address.
Illustratively, with reference to the above example, if the player does not support playing of the h.265 video, the terminal device obtains the h.264 video based on the first storage address.
S313: and the terminal equipment plays the target video in the first coding format.
Illustratively, in conjunction with the above-described embodiments, the terminal device plays the h.264 video.
Referring to fig. 4, fig. 4 is a schematic view illustrating a video playing method according to another embodiment of the present application.
S401: and the terminal equipment sends a playing request for playing the target video to the server.
For example, the execution main body of this embodiment may be a terminal device, and for the description of the terminal device, reference may be made to the description in the foregoing embodiment, which is not described herein again.
S402: the terminal equipment receives a first storage address fed back by the server based on the playing request.
The first storage address is the storage address of the target video in the first coding format, and the target video in the first coding format is generated based on the first video coding standard.
In some embodiments, the target video in the first encoding format is stored based on the first storage address after the storage request indicating that the target video in the first encoding format is stored is acquired.
In some embodiments, the first storage address is determined according to a preset mapping relationship between the video and the storage address.
S403: and if the terminal equipment supports playing the video generated by the second video coding standard and the first storage address carries the identifier of the second video coding standard, the terminal equipment determines the second storage address according to the first storage address and the identifier.
And the second storage address is the storage address of the target video in the second coding format, the target video in the second coding format is generated based on the second video coding standard, and the level of the second video coding standard is higher than that of the first video coding standard.
In some embodiments, determining the second memory address from the first memory address and the identification comprises: and converting the first storage address and the identifier into a second storage address according to a preset conversion protocol between the terminal equipment and the server.
In some embodiments, the identification is added to the first storage address after converting the target video in the first encoding format to the target video in the second encoding format.
In some embodiments, if the terminal device does not support playing of a video generated by the second video coding standard, or the first storage address does not carry the identifier of the second video coding standard, the target video in the first coding format is acquired and played based on the first storage address.
S404: and the terminal equipment acquires and plays the target video in the second coding format based on the second storage address.
In some embodiments, the target video in the second encoding format is stored based on the second storage address after determining the second storage address from the first storage address and the identification.
In some embodiments, the memory for storing the target video in the first encoding format and/or the target video in the second encoding format is a local memory or a cloud memory.
In some embodiments, the first video coding standard is h.264 and the second video coding standard is h.265.
Referring to fig. 5, fig. 5 is a schematic diagram of a server according to an embodiment of the present application.
As shown in fig. 5, the server 500 includes:
a first receiving module 501, configured to receive a playing request for playing a target video sent by a terminal device.
A first determining module 502, configured to determine a first storage address according to the play request.
A feedback module 503, configured to feed back the first storage address to the terminal device.
The first storage address is a storage address for storing a target video in a first coding format, the first storage address carries an identifier of a second video coding standard, the first storage address and the identifier are used for determining a second storage address, the second storage address is a storage address of a target video in a second coding format, if the terminal device supports playing of a video generated by the second video coding standard, the second storage address is used for playing the target video in the second coding format, the target video in the first coding format is generated based on the first video coding standard, the target video in the second coding format is generated based on the second video coding standard, and the level of the second video coding standard is higher than that of the first video coding standard.
In some embodiments, the second storage address is obtained by converting the first storage address and the identifier based on a preset conversion protocol between the terminal device and the server.
Referring to fig. 6, fig. 6 is a schematic diagram of a server according to another embodiment of the present application.
As shown in fig. 6, the server 600 includes:
a first obtaining module 601, configured to obtain a storage request for indicating to store a target video in a first encoding format.
A first storage module 602, configured to store a target video in a first encoding format based on a preset first storage address.
A conversion module 603, configured to convert the target video in the first encoding format into the target video in the second encoding format.
An adding module 604, configured to add an identifier to the first storage address.
A second determining module 605, configured to determine a second storage address according to the first storage address and the identifier.
And a second storage module 606, configured to store the target video in the second encoding format based on the second storage address.
The first receiving module 607 is configured to receive a playing request for playing the target video sent by the terminal device.
The first determining module 608 is configured to determine the first storage address according to the play request.
The feedback module 609 is configured to feed back the first storage address to the terminal device.
The first storage address is a storage address for storing a target video in a first coding format, the first storage address carries an identifier of a second video coding standard, the first storage address and the identifier are used for determining a second storage address, the second storage address is a storage address of a target video in a second coding format, if the terminal device supports playing of a video generated by the second video coding standard, the second storage address is used for playing the target video in the second coding format, the target video in the first coding format is generated based on the first video coding standard, the target video in the second coding format is generated based on the second video coding standard, and the level of the second video coding standard is higher than that of the first video coding standard.
In some embodiments, the memory for storing the target video in the first encoding format and/or the target video in the second encoding format is a local memory or a cloud memory.
In some embodiments, if the terminal device does not support playing of the video generated by the second video coding standard, or the first storage address does not carry the identifier of the second video coding standard, the first storage address is used to acquire and play the target video in the first coding format.
In some embodiments, the first determining module 608 is configured to determine and feed back the first storage address to the terminal device according to a preset mapping relationship between the video and the storage address.
Referring to fig. 7, fig. 7 is a schematic diagram of a terminal device according to an embodiment of the present application.
As shown in fig. 7, the terminal device 700 includes:
a sending module 701, configured to send a play request for playing the target video to the server.
A second receiving module 702, configured to receive a first storage address fed back by the server based on the play request, where the first storage address is a storage address of a target video in a first encoding format, and the target video in the first encoding format is generated based on the first video encoding standard.
A third determining module 703 is configured to determine, if the terminal device supports playing of a video generated according to the second video coding standard, and if the first storage address carries an identifier of the second video coding standard, a second storage address according to the first storage address and the identifier, where the second storage address is a storage address of a target video in a second coding format, the target video in the second coding format is generated based on the second video coding standard, and a level of the second video coding standard is higher than a level of the first video coding standard.
A second obtaining module 704, configured to obtain the target video in the second encoding format based on the second storage address.
And a playing module 705, configured to play the target video in the second encoding format.
In some embodiments, the third determining module 703 is configured to convert the first storage address and the identifier into the second storage address according to a preset conversion protocol between the terminal device and the server.
In some embodiments, the target video in the first encoding format is stored based on a preset first storage address after a storage request for indicating storage of the target video in the first encoding format is acquired.
In some embodiments, the identification is added to the first storage address after converting the target video in the first encoding format to the target video in the second encoding format.
In some embodiments, the target video in the second encoding format is stored based on a second storage address determined from the first storage address and the identification after the second storage address is determined.
In some embodiments, the memory for storing the target video in the first encoding format and/or the target video in the second encoding format is a local memory or a cloud memory.
In some embodiments, the second obtaining module 704 is configured to, if the terminal device does not support playing of a video generated by a second video coding standard, or the first storage address does not carry an identifier of the second video coding standard, obtain the target video in the first coding format based on the first storage address.
The playing module 705 is configured to play the target video in the first encoding format.
In some embodiments, the first storage address is determined according to a preset mapping relationship between the video and the storage address.
According to another aspect of the embodiments of the present application, there is also provided a server, including:
a service foreground, a service middle station, a service background, and a transcoder, wherein,
the service foreground is used for receiving a playing request of playing the target video sent by the terminal equipment;
the service background is used for determining a first storage address to be fed back to the terminal equipment from the service middle station according to the playing request, wherein the first storage address stores a target video in a first coding format;
the service foreground is used for feeding back the first storage address to the terminal equipment;
the first storage address carries an identifier of a second video coding standard, the first storage address and the identifier are used for determining a second storage address, the second storage address is a storage address of a target video in a second coding format, if the terminal device supports playing of a video generated by the second video coding standard, the second storage address is used for playing of the target video in the second coding format, the target video in the first coding format is generated based on the first video coding standard, the target video in the second coding format is generated by the transcoder based on the second video coding standard, and the level of the second video coding standard is higher than the level of the first video coding standard.
In some embodiments, the service center station stores a mapping relationship between a storage address and a video, and the service background is configured to determine, from the mapping relationship of the service center station, a first storage address of a target video corresponding to the play request.
In some embodiments, the server further comprises a local memory for storing the target video in the first encoding format and/or the target video in the second encoding format.
In some embodiments, after the service foreground acquires the storage request for indicating to store the target video in the first encoding format, the service background acquires a first storage address from the service foreground for storage.
According to another aspect of the embodiments of the present application, there is provided a video playing system, including:
the server as in any one of the above embodiments;
the terminal device as in any one of the above embodiments.
According to another aspect of the embodiments of the present application, an electronic device and a readable storage medium are also provided.
There is also provided, in accordance with an embodiment of the present application, a computer program product, including: a computer program, stored in a readable storage medium, from which at least one processor of the electronic device can read the computer program, the at least one processor executing the computer program causing the electronic device to perform the solution provided by any of the embodiments described above.
FIG. 8 shows a schematic block diagram of an example electronic device 800 that may be used to implement embodiments of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 8, the electronic device 800 includes a computing unit 801 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)802 or a computer program loaded from a storage unit 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The calculation unit 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
A number of components in the device 800 are connected to the I/O interface 805, including: an input unit 806, such as a keyboard, a mouse, or the like; an output unit 807 such as various types of displays, speakers, and the like; a storage unit 808, such as a magnetic disk, optical disk, or the like; and a communication unit 809 such as a network card, modem, wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
Computing unit 801 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. The calculation unit 801 executes the respective methods and processes described above, such as a video playback method. For example, in some embodiments, the video playback method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 808. In some embodiments, part or all of the computer program can be loaded and/or installed onto device 800 via ROM 802 and/or communications unit 809. When loaded into RAM 803 and executed by the computing unit 801, a computer program may perform one or more of the steps of the video playback method described above. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the video playback method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (23)

1. A video playing method is applied to a server and comprises the following steps:
receiving a playing request for playing a target video sent by terminal equipment;
determining and feeding back a first storage address to the terminal equipment according to the playing request;
the first storage address is a storage address for storing a target video in a first coding format, the first storage address carries an identifier of a second video coding standard, the first storage address and the identifier are used for determining a second storage address, the second storage address is a storage address of a target video in a second coding format, if the terminal device supports playing of a video generated by the second video coding standard, the second storage address is used for playing the target video in the second coding format, the target video in the first coding format is generated based on the first video coding standard, the target video in the second coding format is generated based on the second video coding standard, and the level of the second video coding standard is higher than that of the first video coding standard.
2. The method of claim 1, wherein the second storage address is obtained by converting the first storage address and the identifier based on a preset conversion protocol between the terminal device and the server.
3. The method according to claim 1, before receiving a play request for playing the target video sent by the terminal device, further comprising:
acquiring a storage request for indicating storage of the target video in the first coding format;
and storing the target video in the first coding format based on a preset first storage address.
4. The method of claim 3, further comprising, after storing the target video in the first encoding format based on a preset first storage address:
and converting the target video in the first coding format into the target video in the second coding format, and adding the identifier in the first storage address.
5. The method of claim 3, further comprising, after converting the target video in the first encoding format to the target video in the second encoding format:
and determining a second storage address according to the first storage address and the identifier, and storing the target video in the second coding format based on the second storage address.
6. The method according to any one of claims 1 to 5, wherein the memory for storing the target video of the first encoding format and/or the target video of the second encoding format is a local memory or a cloud memory.
7. The method according to any one of claims 1 to 5, wherein if the terminal device does not support playing of a video generated by a second video coding standard, or the first storage address does not carry an identifier of the second video coding standard, the first storage address is used to acquire and play the target video in the first coding format.
8. The method according to any one of claims 1 to 5, wherein determining and feeding back a first storage address to the terminal device according to the play request comprises:
and determining and feeding back the first storage address to the terminal equipment according to a preset mapping relation between the video and the storage address.
9. A video playing method is applied to terminal equipment and comprises the following steps:
sending a playing request for playing a target video to a server, and receiving a first storage address fed back by the server based on the playing request, wherein the first storage address is a storage address of the target video in a first coding format, and the target video in the first coding format is generated based on a first video coding standard;
if the terminal equipment supports playing of a video generated by a second video coding standard, and if the first storage address carries an identifier of the second video coding standard, determining a second storage address according to the first storage address and the identifier, wherein the second storage address is a storage address of a target video in a second coding format, the target video in the second coding format is generated based on the second video coding standard, and the level of the second video coding standard is higher than that of the first video coding standard;
and acquiring and playing the target video in the second coding format based on the second storage address.
10. The method of claim 9, wherein determining a second memory address based on the first memory address and the identification comprises:
and converting the first storage address and the identifier into a second storage address according to a preset conversion protocol between the terminal equipment and the server.
11. The method according to claim 9, wherein the target video in the first encoding format is stored based on a preset first storage address after a storage request for indicating storage of the target video in the first encoding format is acquired.
12. The method of claim 11, the identification is added to the first storage address after converting the target video in the first encoding format to the target video in the second encoding format.
13. The method of claim 11, wherein the target video in the second encoding format is stored based on a second storage address after determining the second storage address from the first storage address and the identification.
14. The method according to any one of claims 9 to 13, wherein the memory for storing the target video of the first encoding format and/or the target video of the second encoding format is a local memory or a cloud memory.
15. The method according to any one of claims 9 to 13, further comprising, after receiving the first storage address fed back by the server based on the play request:
and if the terminal equipment does not support playing of the video generated by the second video coding standard, or the first storage address does not carry the identifier of the second video coding standard, acquiring and playing the target video in the first coding format based on the first storage address.
16. The method according to any one of claims 9 to 13, wherein the first storage address is determined according to a preset mapping relationship between the video and the storage address.
17. A server, comprising:
the first receiving module is used for receiving a playing request of playing a target video sent by the terminal equipment;
the first determining module is used for determining a first storage address according to the playing request;
the feedback module is used for feeding back the first storage address to the terminal equipment;
the first storage address is a storage address for storing a target video in a first coding format, the first storage address carries an identifier of a second video coding standard, the first storage address and the identifier are used for determining a second storage address, the second storage address is a storage address of a target video in a second coding format, if the terminal device supports playing of a video generated by the second video coding standard, the second storage address is used for playing the target video in the second coding format, the target video in the first coding format is generated based on the first video coding standard, the target video in the second coding format is generated based on the second video coding standard, and the level of the second video coding standard is higher than that of the first video coding standard.
18. A terminal device, comprising:
the sending module is used for sending a playing request for playing the target video to the server;
a second receiving module, configured to receive a first storage address fed back by the server based on the play request, where the first storage address is a storage address of a target video in a first coding format, and the target video in the first coding format is generated based on a first video coding standard;
a third determining module, configured to determine a second storage address according to the first storage address and an identifier of a second video coding standard if the terminal device supports playing of a video generated by the second video coding standard and if the first storage address carries the identifier of the second video coding standard, where the second storage address is a storage address of a target video in a second coding format, the target video in the second coding format is generated based on the second video coding standard, and a level of the second video coding standard is higher than a level of the first video coding standard;
the second obtaining module is used for obtaining the target video in the second coding format based on the second storage address;
and the playing module is used for playing the target video in the second coding format.
19. A server, comprising: a service foreground, a service middle station, a service background, and a transcoder, wherein,
the service foreground is used for receiving a playing request of playing the target video sent by the terminal equipment;
the service background is used for determining a first storage address to be fed back to the terminal equipment from the service middle station according to the playing request, wherein the first storage address stores a target video in a first coding format;
the service foreground is used for feeding back the first storage address to the terminal equipment;
the first storage address carries an identifier of a second video coding standard, the first storage address and the identifier are used for determining a second storage address, the second storage address is a storage address of a target video in a second coding format, if the terminal device supports playing of a video generated by the second video coding standard, the second storage address is used for playing of the target video in the second coding format, the target video in the first coding format is generated based on the first video coding standard, the target video in the second coding format is generated by the transcoder based on the second video coding standard, and the level of the second video coding standard is higher than the level of the first video coding standard.
20. A video playback system, comprising:
the server of claim 17 or 19;
the terminal device of claim 18.
21. An electronic device, comprising: a memory, a processor;
a memory; a memory for storing the processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1 to 8; alternatively, the first and second electrodes may be,
the processor is configured to perform the method of any of claims 9 to 16.
22. A computer readable storage medium having stored therein computer executable instructions for implementing the method of any one of claims 1 to 8 when executed by a processor; alternatively, the first and second electrodes may be,
the computer executable instructions when executed by a processor are for implementing the method of any one of claims 9 to 16.
23. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8; alternatively, the first and second electrodes may be,
the computer program, when executed by a processor, implements the method of any of claims 9 to 16.
CN202110214859.2A 2021-02-26 2021-02-26 Video playing method, system, server, terminal equipment and electronic equipment Pending CN113766270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110214859.2A CN113766270A (en) 2021-02-26 2021-02-26 Video playing method, system, server, terminal equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110214859.2A CN113766270A (en) 2021-02-26 2021-02-26 Video playing method, system, server, terminal equipment and electronic equipment

Publications (1)

Publication Number Publication Date
CN113766270A true CN113766270A (en) 2021-12-07

Family

ID=78786690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110214859.2A Pending CN113766270A (en) 2021-02-26 2021-02-26 Video playing method, system, server, terminal equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN113766270A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114466246A (en) * 2022-02-14 2022-05-10 维沃移动通信有限公司 Video processing method and device
CN115022680A (en) * 2022-08-03 2022-09-06 海易科技(北京)有限公司 Video playing method and device, electronic equipment and computer readable medium
US20220321623A1 (en) * 2021-04-05 2022-10-06 Ademco Inc. Establishing a producer / consumer session in the cloud

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338384A (en) * 2013-05-31 2013-10-02 优视科技有限公司 Video play method and video play device
US20140177729A1 (en) * 2012-12-21 2014-06-26 Ati Technologies Ulc Method and apparatus for transcoding video data
CN104104971A (en) * 2013-04-02 2014-10-15 腾讯科技(深圳)有限公司 Video file processing method and system
US20140371894A1 (en) * 2012-02-07 2014-12-18 Huawei Device Co., Ltd. Media Playback Processing and Control Method, Apparatus, and System
US20160350212A1 (en) * 2015-06-01 2016-12-01 Samsung Electronics Co., Ltd. Application processor and a mobile apparatus having a plurality of address mapping formats and method of accessing data including the same
US20180039446A1 (en) * 2015-04-23 2018-02-08 Huawei Technologies Co., Ltd. Data format conversion apparatus and method and buffer chip
CN108156478A (en) * 2016-12-06 2018-06-12 创盛视联数码科技(北京)有限公司 Mp4 formatted files turn the video on-demand system and method for hls forms
CN108628638A (en) * 2017-03-16 2018-10-09 华为技术有限公司 Data processing method and device
WO2018196541A1 (en) * 2017-04-24 2018-11-01 腾讯科技(深圳)有限公司 Document sharing method, server, terminal and storage medium
CN110858829A (en) * 2018-08-22 2020-03-03 杭州海康威视数字技术股份有限公司 Video processing method, device and system, analysis server and transcoding server
CN111372128A (en) * 2020-03-11 2020-07-03 北京旷视科技有限公司 Video playing method and device, computer equipment and readable storage medium
CN111565336A (en) * 2020-05-22 2020-08-21 郑州阿帕斯科技有限公司 Video playing method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140371894A1 (en) * 2012-02-07 2014-12-18 Huawei Device Co., Ltd. Media Playback Processing and Control Method, Apparatus, and System
US20140177729A1 (en) * 2012-12-21 2014-06-26 Ati Technologies Ulc Method and apparatus for transcoding video data
CN104104971A (en) * 2013-04-02 2014-10-15 腾讯科技(深圳)有限公司 Video file processing method and system
CN103338384A (en) * 2013-05-31 2013-10-02 优视科技有限公司 Video play method and video play device
US20180039446A1 (en) * 2015-04-23 2018-02-08 Huawei Technologies Co., Ltd. Data format conversion apparatus and method and buffer chip
US20160350212A1 (en) * 2015-06-01 2016-12-01 Samsung Electronics Co., Ltd. Application processor and a mobile apparatus having a plurality of address mapping formats and method of accessing data including the same
CN108156478A (en) * 2016-12-06 2018-06-12 创盛视联数码科技(北京)有限公司 Mp4 formatted files turn the video on-demand system and method for hls forms
CN108628638A (en) * 2017-03-16 2018-10-09 华为技术有限公司 Data processing method and device
WO2018196541A1 (en) * 2017-04-24 2018-11-01 腾讯科技(深圳)有限公司 Document sharing method, server, terminal and storage medium
CN110858829A (en) * 2018-08-22 2020-03-03 杭州海康威视数字技术股份有限公司 Video processing method, device and system, analysis server and transcoding server
CN111372128A (en) * 2020-03-11 2020-07-03 北京旷视科技有限公司 Video playing method and device, computer equipment and readable storage medium
CN111565336A (en) * 2020-05-22 2020-08-21 郑州阿帕斯科技有限公司 Video playing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
季秀兰;: "IPv6全局可聚类单播地址分配方案研究", 电脑知识与技术(学术交流), no. 02, 28 February 2007 (2007-02-28) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220321623A1 (en) * 2021-04-05 2022-10-06 Ademco Inc. Establishing a producer / consumer session in the cloud
CN114466246A (en) * 2022-02-14 2022-05-10 维沃移动通信有限公司 Video processing method and device
CN115022680A (en) * 2022-08-03 2022-09-06 海易科技(北京)有限公司 Video playing method and device, electronic equipment and computer readable medium
CN115022680B (en) * 2022-08-03 2022-11-01 海易科技(北京)有限公司 Video playing method and device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
CN113766270A (en) Video playing method, system, server, terminal equipment and electronic equipment
EP3046331B1 (en) Media control method and system based on cloud desktop
CN114501062B (en) Video rendering coordination method, device, equipment and storage medium
WO2022257699A1 (en) Image picture display method and apparatus, device, storage medium and program product
CN102648584B (en) Use the system of forward error correction inspection available bandwidth, method and medium
CN104349177B (en) It is a kind of to turn to method, virtual machine and the system for playing multimedia file under desktop cloud
CN111478930B (en) STB cloud method, system, thin STB, virtual STB, platform and storage medium
CN113489805B (en) Butt joint method, device, equipment and storage medium of cloud desktop system
CN111031389B (en) Video processing method, electronic device and storage medium
CN112291502B (en) Information interaction method, device and system and electronic equipment
EP4009644A1 (en) Method for providing and method for acquiring immersive media, apparatus, device, and storage medium
US11758087B2 (en) Multimedia conference data processing method and apparatus, and electronic device
CN111163330A (en) Live video rendering method, device, system, equipment and storage medium
US20240098316A1 (en) Video encoding method and apparatus, real-time communication method and apparatus, device, and storage medium
CN104639501A (en) Data stream transmission method, equipment and system
CN113839829A (en) Cloud game delay testing method, device and system and electronic equipment
CN113766266B (en) Audio and video processing method, device, equipment and storage medium
CN115988269A (en) Video playing method, device, system, electronic equipment and storage medium
CN114760309A (en) Business interaction method, device, equipment and medium of terminal based on cloud service
CN112714331B (en) Information prompting method and device, storage medium and electronic equipment
CN110798700B (en) Video processing method, video processing device, storage medium and electronic equipment
EP3229478B1 (en) Cloud streaming service system, image cloud streaming service method using application code, and device therefor
CN106851134B (en) Method, device and system for transmitting image data
WO2023142714A1 (en) Video processing collaboration method, apparatus, device, and storage medium
CN113473180B (en) Wireless-based Cloud XR data transmission method and device, storage medium and electronic 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