CN114745567A - Video display method, device, equipment and medium - Google Patents

Video display method, device, equipment and medium Download PDF

Info

Publication number
CN114745567A
CN114745567A CN202210374379.7A CN202210374379A CN114745567A CN 114745567 A CN114745567 A CN 114745567A CN 202210374379 A CN202210374379 A CN 202210374379A CN 114745567 A CN114745567 A CN 114745567A
Authority
CN
China
Prior art keywords
resolution
video
video data
video display
determining
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
CN202210374379.7A
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.)
Hangzhou Wulian Technology Co ltd
Original Assignee
Hangzhou Wulian 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 Hangzhou Wulian Technology Co ltd filed Critical Hangzhou Wulian Technology Co ltd
Priority to CN202210374379.7A priority Critical patent/CN114745567A/en
Publication of CN114745567A publication Critical patent/CN114745567A/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
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving 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/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/234363Processing 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 altering the spatial resolution, e.g. for clients with a lower screen resolution
    • 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
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/440263Processing 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 altering the spatial resolution, e.g. for displaying on a connected PDA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application discloses a video display method, a device, equipment and a medium, comprising the following steps: determining a first resolution from the pre-acquired resolutions, and storing the first resolution to a pre-established frame buffer memory; acquiring self video data sent by a host computer, determining a second resolution ratio based on the video data, and then judging whether the first resolution ratio is consistent with the second resolution ratio; if the first resolution is not consistent with the second resolution, replacing the first resolution in the frame buffer memory with the second resolution, scaling the video data corresponding to the first resolution by using the second resolution to obtain a scaled video, and then displaying the scaled video through a pre-established output device. Through the above-mentioned technical scheme of this application, can effectively avoid appearing the problem that resolution ratio switching leads to the black screen, increase video display's stability to promote user's cloud game experience.

Description

Video display method, device, equipment and medium
Technical Field
The invention relates to the technical field of cloud games, in particular to a video display method, a video display device, video display equipment and a video display medium.
Background
At present, with the development of 5G networks, encoding and decoding technologies and software and hardware technologies, innovative services such as cloud game systems gradually enter the field of view of the public and certain development is achieved. The cloud game is a game implementation mode based on cloud computing, cloud control, rendering and network transmission, the computing power is increased, and the game is really operated at a host end of a cloud edge computing node instead of a local client end of a user. The client-side carries out local presentation of game sound and pictures by receiving audio and video data sent by the host-side, meanwhile, a user sends operation control data of the game to the host-side to control the game, and when the user plays the game, some games can automatically modify the resolution of the display or the user actively modifies the resolution of the display, the display can have a screen blacking phenomenon lasting for several seconds.
Therefore, in the process of video display, how to avoid the problem of screen blackness caused by resolution switching, and the stability of video display is improved, so that the cloud game experience of a user is improved.
Disclosure of Invention
In view of this, an object of the present invention is to provide a video display method, apparatus, device and medium, which avoid the problem of black screen caused by resolution switching, and can effectively increase the stability of video display, thereby improving the cloud game experience of the user. The specific scheme is as follows:
in a first aspect, the present application discloses a video display method, comprising:
determining a first resolution from the pre-acquired resolutions, and storing the first resolution to a pre-established frame buffer memory;
acquiring self video data sent by a host computer, determining a second resolution ratio based on the video data, and then judging whether the first resolution ratio is consistent with the second resolution ratio;
if the first resolution is inconsistent with the second resolution, replacing the first resolution in the frame buffer memory with the second resolution, zooming the video data corresponding to the first resolution by using the second resolution to obtain a zoomed video, and then displaying the zoomed video through a pre-established output device.
Optionally, the determining a first resolution from the pre-acquired resolutions includes:
all resolutions supported by the client are obtained based on the client information;
and determining a first resolution from all resolutions supported by the client according to a preset priority screening rule.
Optionally, after the determining the first resolution from the pre-acquired resolutions, the method further includes:
initializing the video parameters including the first resolution so as to configure the parameter values of the video parameters to preset fixed parameter values.
Optionally, the acquiring the video data of the host sent by the host and determining a second resolution based on the video data includes:
acquiring current self video data which is sent by the host and determined by a preset information determination rule;
and extracting the resolution in the current self video data to obtain a second resolution.
Optionally, after determining whether the first resolution is consistent with the second resolution, the method further includes:
and if the first resolution is consistent with the second resolution, determining a video display mode corresponding to the first resolution, and displaying the current video to be displayed by using the video display mode.
Optionally, the scaling the video data corresponding to the first resolution by using the second resolution to obtain a scaled video includes:
establishing an Atomic Api framework by using a preset framework establishing method;
and scaling the video data corresponding to the first resolution by utilizing the second resolution based on the Atomic Api framework and the graphics processor to obtain a scaled video.
Optionally, the displaying the zoomed video through a pre-established output device includes:
establishing a communication link between the frame buffer memory, a preset converter, a preset connector and the output device;
sending the scaled video to the output device using the frame buffer, the preset converter, the preset connector, and the communication link, so that the scaled video is displayed by the output device.
In a second aspect, the present application discloses a video display apparatus comprising:
a resolution determining module 11, configured to determine a first resolution from pre-acquired resolutions, and store the first resolution in a pre-established frame buffer memory;
the resolution determination module 12 is configured to acquire video data of a host, determine a second resolution based on the video data, and then determine whether the first resolution is consistent with the second resolution;
the video display module 13 is configured to, if the first resolution is not consistent with the second resolution, replace the first resolution in the frame buffer memory with the second resolution, scale video data corresponding to the first resolution by using the second resolution to obtain a scaled video, and then display the scaled video through a pre-established output device.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the aforementioned video display method.
In a fourth aspect, the present application discloses a computer storage medium for storing a computer program; wherein the computer program realizes the steps of the video display method disclosed in the foregoing when being executed by a processor.
The video display method comprises the steps of determining a first resolution from pre-acquired resolutions, and storing the first resolution to a pre-established frame buffer memory; acquiring self video data sent by a host computer, determining a second resolution ratio based on the video data, and then judging whether the first resolution ratio is consistent with the second resolution ratio; if the first resolution is not consistent with the second resolution, replacing the first resolution in the frame buffer memory with the second resolution, scaling the video data corresponding to the first resolution by using the second resolution to obtain a scaled video, and then displaying the scaled video through a pre-established output device. This application determines whether current client video need zoom through judging first resolution and second resolution, if current client video needs zoom, then zoom the operation and show through output device to can effectively avoid appearing the resolution ratio and switch the problem that leads to the black screen, increase video display's stability, further promote user's cloud game experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a video display method disclosed in the present application;
FIG. 2 is a flow chart of a video display method disclosed in the present application;
FIG. 3 is a detailed flowchart of a video display method disclosed in the present application;
FIG. 4 is a detailed topology diagram of a video display method disclosed in the present application;
FIG. 5 is a schematic view of a video display apparatus according to the present disclosure;
fig. 6 is a block diagram of an electronic device provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the current background, cloud games are game implementation methods based on cloud computing, cloud control, rendering and network transmission, and the computing power is increased, and the game is really run on a host side of a cloud edge computing node rather than a local client side of a user. The client-side carries out local presentation of game sound and pictures by receiving audio and video data sent by the host-side, meanwhile, a user sends operation control data of the game to the host-side to control the game, and when the user plays the game, some games can automatically modify the resolution of the display or the user actively modifies the resolution of the display, the display can have a screen blacking phenomenon lasting for several seconds. Therefore, in the process of video display, how to avoid the problem of screen blackness caused by resolution switching, and the stability of video display is improved, so that the cloud game experience of a user is improved.
Referring to fig. 1, an embodiment of the present invention discloses a video display method, which may specifically include:
step S11: determining a first resolution from the pre-acquired resolutions, and storing the first resolution to a pre-established frame buffer memory.
In this embodiment, all resolutions supported by the client are obtained based on client information, a first resolution is determined from all resolutions supported by the client according to a preset priority screening rule, then, a video parameter including the first resolution is initialized, so that a parameter value of the video parameter is configured as a preset fixed parameter value, and the first resolution is stored in a pre-established frame buffer memory.
Step S12: the method comprises the steps of obtaining self video data sent by a host computer, determining a second resolution ratio based on the video data, and then judging whether the first resolution ratio is consistent with the second resolution ratio.
In this embodiment, after the first resolution is stored in a pre-established frame buffer memory, the current self video data sent by the host terminal and determined by a preset information determination rule is acquired, then the resolution in the current self video data is extracted to obtain a second resolution, and whether the first resolution is consistent with the second resolution is determined.
In this embodiment, after determining whether the first resolution is consistent with the second resolution, if the first resolution is consistent with the second resolution, determining a video display mode corresponding to the first resolution, and displaying a video to be currently displayed by using the video display mode.
Step S13: if the first resolution is not consistent with the second resolution, replacing the first resolution in the frame buffer memory with the second resolution, scaling the video data corresponding to the first resolution by using the second resolution to obtain a scaled video, and then displaying the scaled video through a pre-established output device.
In this embodiment, a first resolution is determined from pre-acquired resolutions, and the first resolution is stored in a pre-established frame buffer memory; acquiring self video data sent by a host computer, determining a second resolution ratio based on the video data, and then judging whether the first resolution ratio is consistent with the second resolution ratio; if the first resolution is not consistent with the second resolution, replacing the first resolution in the frame buffer memory with the second resolution, scaling the video data corresponding to the first resolution by using the second resolution to obtain a scaled video, and then displaying the scaled video through a pre-established output device. This application determines whether current client video need zoom through judging first resolution and second resolution, if current client video needs zoom, then zoom the operation and show through output device to can effectively avoid appearing the resolution ratio and switch the problem that leads to the black screen, increase video display's stability, further promote user's cloud game experience.
Referring to fig. 2, an embodiment of the present invention discloses a video display method, which may specifically include:
step S21: determining a first resolution from the pre-acquired resolutions, and storing the first resolution to a pre-established frame buffer memory.
Step S22: the method comprises the steps of obtaining self video data sent by a host computer, determining a second resolution ratio based on the video data, and then judging whether the first resolution ratio is consistent with the second resolution ratio.
Step S23: if the first resolution is not consistent with the second resolution, replacing the first resolution in the frame buffer memory with the second resolution.
Step S24: and establishing an Atomic Api frame by using a preset frame establishing method, scaling the video data corresponding to the first resolution by using the second resolution based on the Atomic Api frame and the graphics processor to obtain a scaled video, and displaying the scaled video through a pre-established output device.
In this embodiment, after obtaining the zoomed video, the frame buffer memory, the preset converter, the preset connector, and the communication link between the output devices are established, and then the zoomed video is sent to the output devices by using the frame buffer memory, the preset converter, the preset connector, and the communication link, so that the zoomed video is displayed by the output devices.
In this embodiment, a first resolution is determined from pre-acquired resolutions, and the first resolution is stored in a pre-established frame buffer memory; acquiring self video data sent by a host computer, determining a second resolution ratio based on the video data, and then judging whether the first resolution ratio is consistent with the second resolution ratio; replacing the first resolution in the frame buffer memory with the second resolution if the first resolution is not consistent with the second resolution; and establishing an Atomic Api framework by using a preset framework establishing method, scaling the video data corresponding to the first resolution by using the second resolution based on the Atomic Api framework and the graphics processor to obtain a scaled video, and displaying the scaled video through a pre-established output device. This application determines whether current client video need zoom through judging first resolution and second resolution, if current client video needs zoom, then zoom the operation and show through output device to can effectively avoid appearing the resolution ratio and switch the problem that leads to the black screen, increase video display's stability, further promote user's cloud game experience.
For example, as shown in fig. 3, an optimal resolution is determined according to a preset priority filtering rule from resolution options of the pre-fetched linux terminal, and then an initialization operation is performed on video parameters including the optimal resolution so as to configure parameter values of the video parameters to preset fixed parameter values, where the resolution options include resolutions and refresh rates, such as 2560 × 1440/144 hz, 2560 × 1440/60 hz, 1920 × 1080/144 hz, 1920 × 1080/60 hz, and the like. And judging whether the resolution ratio is changed or not, if the resolution ratio is not changed, determining a video display mode corresponding to the optimal resolution ratio, and displaying the current video to be displayed by using the video display mode. If the resolution ratio is changed, an Atomic Api frame is established by using a preset frame establishing method, then video data of the current client side is zoomed based on the Atomic Api frame and the graphics processor to obtain a zoomed video, and then the zoomed video is displayed through a pre-established output device. As shown in fig. 4, a specific display process includes first establishing a communication link between the frame buffer, a preset converter, a preset connector, and the output device, where the preset converter is composed of a plane (primary-plane), a crtc (scan engine), and an encoder, establishing a communication link between the frame buffer and the preset converter and the connector, and sending the scaled video to the output device by using the frame buffer, the preset converter, the preset connector, and the communication link, so as to display the scaled video through the output device. For example, the preset connector includes but is not limited to VGA (Video Graphics Array), DVI (Digital Video Interface), etc., and the output device includes but is not limited to monitor, notebook panel, etc., and 3 planes can be simultaneously supported in Linux-300U, and 5 planes can be simultaneously supported in Linux-4105. In the initialization process, some parameters, such as the plane, crtc, the output resolution and other parameters, and the corresponding relationship between the plane, crtc and other parameters are mainly set in the initialization.
Referring to fig. 5, an embodiment of the present invention discloses a video display device, which may specifically include:
a resolution determining module 11, configured to determine a first resolution from pre-acquired resolutions, and store the first resolution in a pre-established frame buffer memory;
the resolution determination module 12 is configured to acquire video data of a host, determine a second resolution based on the video data, and then determine whether the first resolution is consistent with the second resolution;
the video display module 13 is configured to, if the first resolution is not consistent with the second resolution, replace the first resolution in the frame buffer memory with the second resolution, scale video data corresponding to the first resolution by using the second resolution to obtain a scaled video, and then display the scaled video through a pre-established output device.
In this embodiment, a first resolution is determined from each resolution obtained in advance, and the first resolution is stored in a frame buffer memory established in advance; acquiring self video data sent by a host computer, determining a second resolution ratio based on the video data, and then judging whether the first resolution ratio is consistent with the second resolution ratio; if the first resolution is not consistent with the second resolution, replacing the first resolution in the frame buffer memory with the second resolution, scaling the video data corresponding to the first resolution by using the second resolution to obtain a scaled video, and then displaying the scaled video through a pre-established output device. This application determines whether current client video need zoom through judging first resolution and second resolution, if current client video needs zoom, then zoom the operation and show through output device to can effectively avoid appearing the resolution ratio and switch the problem that leads to the black screen, increase video display's stability, further promote user's cloud game experience.
In some specific embodiments, the resolution determining module 11 may specifically include:
the resolution acquisition module is used for acquiring all resolutions supported by the client based on the client information;
and the resolution determination module is used for determining a first resolution from all resolutions supported by the client according to a preset priority screening rule.
In some specific embodiments, the resolution determining module 11 may specifically include:
and the initialization module is used for carrying out initialization operation on the video parameters including the first resolution so as to configure the parameter values of the video parameters to preset fixed parameter values.
In some specific embodiments, the resolution determining module 12 may specifically include:
the video data determining module is used for acquiring the current self video data which is sent by the host and determined by a preset information determining rule;
and the resolution extraction module is used for extracting the resolution in the current video data to obtain a second resolution.
In some specific embodiments, the resolution determining module 12 may specifically include:
and the first video display module is used for determining a video display mode corresponding to the first resolution ratio if the first resolution ratio is consistent with the second resolution ratio and displaying the current video to be displayed by using the video display mode.
In some specific embodiments, the video display module 13 may specifically include:
the framework establishing module is used for establishing an Atomic Api framework by using a preset framework establishing method;
and the video scaling module is used for scaling the video data corresponding to the first resolution by utilizing the second resolution based on the Atomic Api framework and the graphics processor to obtain a scaled video.
In some specific embodiments, the video display module 13 may specifically include:
a link establishing module for establishing a communication link between the frame buffer memory, the preconverter, the preconnector and the output device;
and the second video display module is used for sending the zoomed video to the output equipment by utilizing the frame buffer memory, the preset converter, the preset connector and the communication link so as to display the zoomed video through the output equipment.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, sensors 25, and a communication bus 26. The memory 22 is used for storing a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the video display method executed by the electronic device disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the memory 22 is a carrier for storing resources, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., the resources stored thereon may include an operating system 221, a computer program 222, data 223, etc., and the data 223 may include various data. The storage means may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device on the electronic device 20 and the computer program 222, and may be Windows Server, Netware, Unix, Linux, or the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the video display method performed by the electronic device 20 disclosed in any of the foregoing embodiments.
Further, embodiments of the present application disclose a computer-readable storage medium, where the computer-readable storage medium includes a Random Access Memory (RAM), a Memory, a Read-Only Memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic disk, or an optical disk or any other form of storage medium known in the art. Wherein the computer program when executed by a processor implements the aforementioned video display method. For the specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, which are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or 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.
The steps of a video display 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.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The video display method, apparatus, device and storage medium provided by the present invention are described in detail above, and the principle and the implementation of the present invention are explained herein by applying specific examples, and the description of the above examples is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A video display method is applied to a client and comprises the following steps:
determining a first resolution from the pre-acquired resolutions, and storing the first resolution to a pre-established frame buffer memory;
acquiring self video data sent by a host computer, determining a second resolution ratio based on the video data, and then judging whether the first resolution ratio is consistent with the second resolution ratio;
if the first resolution is inconsistent with the second resolution, replacing the first resolution in the frame buffer memory with the second resolution, zooming the video data corresponding to the first resolution by using the second resolution to obtain a zoomed video, and then displaying the zoomed video through a pre-established output device.
2. The video display method according to claim 1, wherein said determining a first resolution from among the pre-acquired resolutions comprises:
all resolutions supported by the client are obtained based on the client information;
and determining a first resolution from all resolutions supported by the client according to a preset priority screening rule.
3. The video display method according to claim 1, wherein after determining the first resolution from the pre-acquired resolutions, further comprising:
initializing the video parameters including the first resolution so as to configure the parameter values of the video parameters to preset fixed parameter values.
4. The video display method according to claim 1, wherein the acquiring the own video data sent by the host and determining the second resolution based on the video data includes:
acquiring current self video data which is sent by the host and determined by a preset information determination rule;
and extracting the resolution in the current self video data to obtain a second resolution.
5. The video display method according to claim 1, wherein said determining whether the first resolution is consistent with the second resolution further comprises:
and if the first resolution is consistent with the second resolution, determining a video display mode corresponding to the first resolution, and displaying the current video to be displayed by using the video display mode.
6. The video display method according to claim 1, wherein the scaling the video data corresponding to the first resolution by using the second resolution to obtain a scaled video comprises:
establishing an Atomic Api framework by using a preset framework establishing method;
and scaling the video data corresponding to the first resolution by utilizing the second resolution based on the Atomic Api framework and the graphics processor to obtain a scaled video.
7. The video display method according to any one of claims 1 to 6, wherein the displaying the scaled video through a pre-established output device comprises:
establishing a communication link between the frame buffer memory, the preset converter, the preset connector and the output device;
sending the scaled video to the output device using the frame buffer, the preset converter, the preset connector, and the communication link, so that the scaled video is displayed by the output device.
8. A video display apparatus, comprising:
the resolution determination module is used for determining a first resolution from all pre-acquired resolutions and storing the first resolution to a pre-established frame buffer memory;
the resolution judging module is used for acquiring self video data sent by a host computer end, determining a second resolution based on the video data, and then judging whether the first resolution is consistent with the second resolution;
and the video display module is used for replacing the first resolution in the frame buffer memory with the second resolution if the first resolution is inconsistent with the second resolution, zooming the video data corresponding to the first resolution by using the second resolution to obtain a zoomed video, and then displaying the zoomed video through a pre-established output device.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the video display method of any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the video display method of any of claims 1 to 7.
CN202210374379.7A 2022-04-11 2022-04-11 Video display method, device, equipment and medium Pending CN114745567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210374379.7A CN114745567A (en) 2022-04-11 2022-04-11 Video display method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210374379.7A CN114745567A (en) 2022-04-11 2022-04-11 Video display method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN114745567A true CN114745567A (en) 2022-07-12

Family

ID=82282191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210374379.7A Pending CN114745567A (en) 2022-04-11 2022-04-11 Video display method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114745567A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107613238A (en) * 2017-09-04 2018-01-19 西安万像电子科技有限公司 The treating method and apparatus of content of multimedia
CN111135569A (en) * 2019-12-20 2020-05-12 RealMe重庆移动通信有限公司 Cloud game processing method and device, storage medium and electronic equipment
CN113835651A (en) * 2020-06-24 2021-12-24 深圳市万普拉斯科技有限公司 Data display processing method and device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107613238A (en) * 2017-09-04 2018-01-19 西安万像电子科技有限公司 The treating method and apparatus of content of multimedia
CN111135569A (en) * 2019-12-20 2020-05-12 RealMe重庆移动通信有限公司 Cloud game processing method and device, storage medium and electronic equipment
CN113835651A (en) * 2020-06-24 2021-12-24 深圳市万普拉斯科技有限公司 Data display processing method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2018196617A1 (en) Page loading method, system, server and terminal
WO2015131787A1 (en) Screen adaptation method and apparatus
CN111666056A (en) Screen switching display method and device, intelligent rearview mirror and readable storage medium
US9223534B1 (en) Client side detection of motion vectors for cross-platform display
CN112114928B (en) Processing method and device for display page
US8887059B2 (en) Method and apparatus of locally controlling display content of a remote system
CN113448662A (en) Window image display method, device and storage medium
CN109101233B (en) Method for adapting to multiple screen resolutions, storage device and android device
US20190391780A1 (en) Display method and device
CN111459364B (en) Icon updating method and device and electronic equipment
CN113407286A (en) Server remote management method and device
CN115797508A (en) Real-time dynamic animation generation method, device, equipment and storage medium
CN113655975B (en) Image display method, image display device, electronic apparatus, and medium
KR100695080B1 (en) Mobile Communication Terminal Having Screen Splitting Function
CN107248947B (en) Expression processing method and processing device, computer equipment and storage medium
CN114745567A (en) Video display method, device, equipment and medium
CN108132767B (en) Application window preview method and system
CN114840159A (en) Rendering and screen-loading method, device, equipment and medium
CN113613043A (en) Screen display and image processing method, embedded device and cloud server
US9626330B2 (en) Information processing apparatus, and information processing method
CN114020396A (en) Display method of application program and data generation method of application program
CN113467737A (en) Method, device and equipment for transmitting picture data and storage medium
CN112911329B (en) Window live broadcast method, device, electronic equipment and computer readable storage medium
CN113655974A (en) Multi-screen display control method, device and system, electronic equipment and storage medium
CN114125135B (en) Video content presentation 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