CN115665460A - Display device and video display method - Google Patents

Display device and video display method Download PDF

Info

Publication number
CN115665460A
CN115665460A CN202211163309.3A CN202211163309A CN115665460A CN 115665460 A CN115665460 A CN 115665460A CN 202211163309 A CN202211163309 A CN 202211163309A CN 115665460 A CN115665460 A CN 115665460A
Authority
CN
China
Prior art keywords
video
data
image parameter
display module
display
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
CN202211163309.3A
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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202211163309.3A priority Critical patent/CN115665460A/en
Publication of CN115665460A publication Critical patent/CN115665460A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The disclosure relates to a display device and a video display method, and relates to the technical field of display devices. Wherein, this display device includes: a controller configured to: acquiring video data; analyzing the video data to obtain video analysis data and a first image parameter; initializing a video display module according to the first image parameter; and decoding the video analysis data to obtain video decoding data, and controlling the initialized video display module to display the video decoding data. The embodiment of the disclosure is used for solving the problem that the video display module is long in time consumption during initialization.

Description

Display device and video display method
Technical Field
The present disclosure relates to the field of display device technologies, and in particular, to a display device and a video display method.
Background
With the popularization of intelligent terminals and the development of the internet, watching online videos at each intelligent terminal becomes an important part in the life of people. In the related art, after the intelligent terminal acquires the video data, the video display module is initialized by using the image parameters obtained after decoding, but the method needs to wait until the previous frame or frames of the video data are decoded, and then the video display module is initialized, so that more time is spent, and the screen is lost and flickered when the video is played.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present disclosure provides a display device and a video display method, which can reduce a time delay for initializing a video display module and avoid problems of screen splash and screen flashing when video display video parsing data occurs.
In order to achieve the above object, the embodiments of the present disclosure provide the following technical solutions:
in a first aspect, the present disclosure provides a display device comprising:
a controller configured to: acquiring video data;
analyzing the video data to obtain video analysis data and a first image parameter, wherein the first image parameter comprises: a first resolution, a first frame rate, and a first image quality type;
initializing a video display module according to the first image parameter;
and decoding the video analysis data to obtain video decoding data, and controlling the initialized video display module to display the video decoding data.
In a second aspect, the present disclosure provides a video display method, comprising:
acquiring video data;
analyzing the video data to obtain video analysis data and a first image parameter, wherein the first image parameter comprises: a first resolution, a first frame rate, and a first image quality type;
initializing a video display module according to the first image parameter;
and decoding the video analysis data to obtain video decoding data, and controlling the initialized video display module to display the video decoding data.
In a third aspect, the present disclosure provides a computer-readable storage medium comprising: the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements a video display method as shown in the second aspect.
In a fourth aspect, the present disclosure provides a computer program product comprising a computer program which, when run on a computer, causes the computer to implement the video display method as shown in the second aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
the embodiment of the disclosure provides a display device and a video display method, wherein the display device acquires video data through a configured controller, analyzes the video data to obtain video analysis data and a first image parameter, initializes a video display module according to the first image parameter, decodes the video analysis data to obtain video decoding data, and controls the initialized video display module to display the video decoding data. The video display module is initialized by utilizing the first image parameter obtained after the video data is analyzed, the operation of initializing the video display module is advanced to the time before the video data is decoded, the time delay of initializing the video display module is further reduced, and the problems of screen splash and screen flicker during video display of video analysis data are avoided.
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.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic view of a scenario in some embodiments provided by embodiments of the present disclosure;
fig. 2 is a block diagram of a configuration of the control device 100 according to the embodiment of the present disclosure;
fig. 3 is a block diagram of a hardware configuration of a display device 200 according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a software configuration in the display device 200 according to one or more embodiments provided in the present disclosure;
fig. 5 is a schematic structural diagram of a middleware player provided in an embodiment of the present disclosure;
fig. 6 is a first flowchart illustrating a video display method according to an embodiment of the disclosure;
fig. 7 is a first schematic time-axis diagram of a video display method according to an embodiment of the disclosure;
fig. 8 is a second flowchart illustrating a video display method according to an embodiment of the disclosure;
fig. 9 is a third schematic diagram illustrating a video display method according to an embodiment of the disclosure;
fig. 10 is a schematic time line diagram of a video display method according to an embodiment of the disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.
The terms "first," "second," "third," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present disclosure can be understood in specific instances by those of ordinary skill in the art. Further, in the description of the present disclosure, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced otherwise than as described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Multimedia video playing has become the main function of current smart televisions, with the development of video recording devices and the enhancement of processing capability of smart television chips, more and more image formats can be supported by smart televisions, the resolution of video images can be supported to 4K (3840 x 2160) and 8K (7680 x 4320), the video quality type can support Standard Dynamic Range (SDR), high Dynamic Range (HDR), HLG (Hybrid Log Gamma), different parameters need to be set for initialization when a video display module displays video data of different formats, for example: when the SDR signal is switched to the HDR/HLG signal, the parameters corresponding to the SDR signal are set in the video display module before, and initialization is needed after switching, so that the parameters of the video display module are set to be the parameters corresponding to the HDR/HLG signal.
In the related art, before displaying video data, a first frame of the video data is decoded to obtain coding information related to the video, such as resolution, frame rate, and picture quality type. The first frame of the video data is transmitted to the video display module through the first thread, the video display module is initialized through the second thread by utilizing the related coding information of the video, and the first thread and the second thread are asynchronously executed, so that the first frame of the video data can be transmitted to the video display module before initialization, parameters set by the video display module are not matched with the first frame, the problems of screen splash and screen flashing of the video display occur, and the watching experience of a user is influenced.
In order to solve the technical problem, an embodiment of the present disclosure provides a display device and a video display method, where the display device first obtains video data through a controller, then analyzes the video data to obtain video analysis data and a first image parameter, and further initializes a video display module according to the first image parameter, and further decodes the video analysis data to obtain video decoding data, so that the initialization operation of the video display module is advanced to the time before the decoding operation, and the video display module is initialized with enough time, so that the video decoding data is transmitted to the video display module when the initialization is completed, and further the initialized video display module is controlled to display the video decoding data, thereby avoiding the problem of abnormal display such as a splash screen and a splash screen, and improving the user experience.
Fig. 1 is a schematic view of a scenario in some embodiments provided by embodiments of the present disclosure. As shown in fig. 1, the control apparatus 100, the display device 200, the smart device 300, and the server 400 are shown. The user may operate the display device 200 through the smart device 300 or the control apparatus 100 to play the video data on the display device 200.
Taking the example that the user operates the display device 200 through the control apparatus 100, the user can select video data desired to be viewed through the control apparatus 100 and send an instruction to play the video data to the display device 200. After the display device 200 receives the instruction sent by the control apparatus 100, acquiring video data, and in the process of preparing to display the video data, first analyzing the video data to obtain video analysis data and first image parameters, where the first image parameters include a first resolution, a first frame rate, and a first image quality type; and then initializing the video display module according to the first image parameter obtained by analysis, decoding the video analysis data to obtain video decoding data, and further controlling the initialized video display module to display the video decoding data. By means of the method, the initialization operation of the video display module is advanced to the front of the decoding operation, so that the video decoding data are transmitted to the video display module when the initialization is completed, the video display module after initialization is controlled to display the video decoding data, and the problem of abnormal display such as screen splash and screen flashing is avoided.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes an infrared protocol communication, a bluetooth protocol communication, a wireless or other wired method to control the display device 200. The user may input a user command through a key on a remote controller, voice input, control panel input, etc. to control the display apparatus 200. In some embodiments, mobile terminals, tablets, computers, laptops, and other smart devices may also be used to control the display device 200.
In some embodiments, the smart device 300 may install a software application with the display device 200, implement connection communication through a network communication protocol, and implement the purpose of one-to-one control operation and data communication. The audio and video content displayed on the intelligent device 300 can also be transmitted to the display device 200, so that the display device 200 with the synchronous display function can also perform data communication with the server 400 through multiple communication modes. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The display device 200 may be a liquid crystal display, an OLED display, a projection display device. The display apparatus 200 may additionally provide an intelligent network television function providing a computer support function in addition to the broadcast receiving television function.
Fig. 2 is a block diagram of a configuration of the control device 100 according to an embodiment of the present disclosure. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction of a user and convert the operation instruction into an instruction recognizable and responsive to the display device 200, serving as an interaction intermediary between the user and the display device 200. The communication interface 130 is used for communicating with the outside, and includes at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module. The user input/output interface 140 includes at least one of a microphone, a touch pad, a sensor, a key, or an alternative module.
Fig. 3 is a block diagram of a hardware configuration of a display device 200 according to an embodiment of the present disclosure. The display device 200 as shown in fig. 3 includes: at least one of a tuner 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface 280. The controller 250 includes a central processing unit, a video processor, an audio processor, a graphic processor, a Random Access Memory (RAM), a Read-Only Memory (ROM), and first to nth interfaces for input/output. The display 260 may be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and may also be a projection device and a projection screen. The tuner demodulator 210 receives a broadcast television signal through a wired or wireless reception manner, and demodulates an audio/video signal, such as an Electronic Program Guide (EPG) data signal, from a plurality of wireless or wired broadcast television signals. The detector 230 is used to collect signals of the external environment or interaction with the outside. The controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box. The external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, and the like. The interface may be a composite input/output interface formed by the plurality of interfaces.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. The User may enter User commands in a Graphical User Interface (GUI) displayed on display 260, and the User input Interface receives the User input commands through the GUI. Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A common presentation form of a user interface is a graphical user interface, which refers to a user interface displayed in a graphical manner and related to computer operations. It may be an interface element such as an icon, a window, a control, etc. displayed in the display of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget (Web Widget), etc. visual interface elements.
In some embodiments, the controller includes at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphic Processing Unit (GPU), a RAM Random Access Memory (RAM), a ROM (Read-Only Memory), a first interface to an nth interface for input/output of a Digital Signal Processor (DSP), a communication Bus (Bus), and the like.
A CPU processor. For executing operating system and application program instructions stored in the memory, and executing various application programs, data and contents according to various interactive instructions receiving external input, so as to finally display and play various audio-video contents. The CPU processor may include a plurality of processors. E.g. comprising a main processor and one or more sub-processors.
In some embodiments, the display device is a terminal device with a display function, such as a television, a mobile phone, a computer, a learning machine, and the like.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. A user may input a user command on a Graphical User Interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
An output interface (display 260, and/or audio output interface 270) configured to output user interaction information;
a communicator 220 for communicating with the server 400 or other devices.
An embodiment of the present disclosure provides a display device, including:
a controller configured to: acquiring video data;
analyzing the video data to obtain video analysis data and a first image parameter, wherein the first image parameter comprises: a first resolution, a first frame rate and a first image quality type;
initializing a video display module according to the first image parameter;
and decoding the video analysis data to obtain video decoding data, and controlling an initialized video display module to display the video decoding data.
The display equipment obtains a first image parameter after analyzing the video data, and initializes the video display module by utilizing the first image parameter, so that the operation of obtaining the image parameter required by initialization is advanced to the time before decoding the video, and the time is reserved for initializing the video display module; on one hand, the situation that video decoding data are transmitted to the video display module and the initialization of the video display module is not completed is avoided, the starting stability and accuracy of the video are guaranteed, and on the other hand, abnormal display such as screen splash and screen flashing of the video display are avoided.
In some embodiments, after decoding the video parsing data to obtain video decoding data and before controlling the initialized video display module to display the video decoding data, the controller 250 is further configured to: acquiring a second image parameter obtained by decoding the video analysis data, wherein the second image parameter comprises: a second resolution, a second frame rate, a second image quality type; comparing the first image parameter and the second image parameter;
a controller 250, configured to control the initialized video display module to display the video decoding data, and configured to: and under the condition that the first image parameter is matched with the second image parameter, controlling an initialized video display module to display the video decoding data.
In some embodiments, the controller 250, obtaining second image parameters obtained by decoding the video data, is configured to: and acquiring a second image parameter obtained by decoding a starting frame in the video analysis data, wherein the starting frame is a frame image corresponding to the starting moment of the video analysis data.
In some embodiments, the controller 250, after controlling the initialized video display module to display the video decoding data, is further configured to: determining identification information of the video data, wherein the identification information comprises a Uniform Resource Locator (URL) and/or a video name;
and correspondingly storing the identification information and the first image parameter so as to initialize the video display module according to the first image parameter when the video data is displayed next time.
In some embodiments, the controller 250, after comparing the first image parameter and the second image parameter, is configured to: under the condition that the first image parameter and the second image parameter are not matched, a video display module is reinitialized according to the second image parameter; and controlling the video display module after reinitialization to display the video decoding data.
In some embodiments, the controller 250, after controlling the reinitialized video display module to display the video decoding data, is further configured to: determining identification information of the video data; and correspondingly storing the identification information and the second image parameter so as to initialize the video display module according to the second image parameter when the video data is displayed next time.
In some embodiments, before the controller 250, after acquiring the video data, decodes the video parsing data to obtain video decoding data and controls the initialized video display module to display the video decoding data, it is further configured to: acquiring identification information of the video data; inquiring whether an initialization parameter corresponding to the identification information exists or not; and initializing a video display module according to the initialization parameter under the condition that the initialization parameter corresponding to the identification information exists.
In some embodiments, after decoding the video parsing data to obtain video decoding data and before controlling the initialized video display module to display the video decoding data, the controller 250 is further configured to: inquiring an initialization flag bit under the condition of decoding the video analysis data to obtain an initial frame;
a controller 250, configured to, before controlling the initialized video display module to display the video decoding data:
and under the condition that the initialization flag bit indicates that the video display module is initialized, controlling the initialized video display module to display the video decoding data.
Fig. 4 is a schematic diagram illustrating a software configuration in a display device 200 according to one or more embodiments of the present disclosure, and as shown in fig. 4, the system is divided into four layers, which are, from top to bottom, an Application (Applications) layer (referred to as an "Application layer"), an Application Framework (Application Framework) layer (referred to as a "Framework layer"), a middleware player, and a kernel layer. The inner core layer comprises at least one of the following drivers: the mobile terminal includes an audio driver, a display driver, a bluetooth driver, a camera driver, a mobile hotspot (WIFI) driver, a Universal Serial Bus (USB) driver, a High Definition Multimedia Interface (HDMI) driver, a sensor driver (such as a fingerprint sensor, a temperature sensor, a pressure sensor, and the like), and a power supply driver.
As shown in fig. 5, fig. 5 is a schematic structural diagram of a middleware player according to an embodiment of the present disclosure. The implementation logic of the present disclosure is mainly in a middleware player, the middleware player includes an analysis module, a decoding module, and a video display module, the analysis module is used for analyzing the obtained video data to obtain code stream data, including audio stream data and video stream data (video analysis data); the decoding module can acquire video analysis data and perform video decoding processing on the video analysis data to obtain video frames.
For more detailed description of the present solution, the following description is made with reference to fig. 6 by way of example, and it is understood that the steps involved in fig. 6 may include more steps or fewer steps in actual implementation, and the order between these steps may also be different, so as to enable the video display method provided in the embodiment of the present disclosure.
As shown in fig. 6, fig. 6 is a first flowchart of a video display method according to an embodiment of the present disclosure, where the method includes the following steps S601 to S604:
s601, video data are obtained.
The video data may be network video data or local video data, which is not limited in this disclosure.
S602, analyzing the video data to obtain video analysis data and a first image parameter.
The video analysis data is video stream data obtained after video analysis;
the first image parameter is a parameter set by the video source when the video data is packaged, and the first image parameter in the array format can be acquired after the video data is analyzed. The first image parameters include: the first resolution, the first frame rate and the first image quality type. The first resolution includes a width of a video and a height of the video, and the first picture quality type may be a Standard Dynamic Range (SDR) parameter, a High Dynamic Range (HDR) parameter, and a Hybrid Log Gamma (HLG) parameter. The first image parameters may further include: the first code rate, which is not limited by this disclosure.
In some embodiments, after the video data is parsed to obtain the video parsing data, it is determined whether the first image parameter is valid according to a requirement of the video display module. If the first image parameter is valid, executing step S603; if the first image parameter is invalid, after the video analysis data is decoded to obtain a second image parameter, the video display module is initialized by using the second image parameter.
And S603, initializing a video display module according to the first image parameter.
In some embodiments, initializing the video display module refers to setting or adjusting display parameters of the video display module by using the first image parameter, so that the video data is subsequently displayed by using the first image parameter, and abnormal display conditions such as screen splash and screen flashing caused by mismatching of the display parameters of the video display module and the video data are avoided.
And S604, decoding the video analysis data to obtain video decoding data, and controlling the initialized video display module to display the video decoding data.
In some embodiments, the display device decodes the video parsing data through the video decoding module to obtain a second image parameter obtained by decoding the video parsing data, which may be understood as obtaining the second image parameter that can be used to initialize the video display module after decoding the parsing data, where the second image parameter may include a second resolution, a second frame rate, a second image quality type, and may further include a second code rate.
The embodiment of the present disclosure provides an implementation manner, when decoding video parsing data, it is not necessary to wait for all video frames to be decoded, and after obtaining a start frame in the video parsing data by decoding, a second image parameter corresponding to the start frame is obtained, where the start frame is an image corresponding to a start time of the video parsing data.
As shown in fig. 7, fig. 7 is a time axis schematic diagram of a video display method provided by the embodiment of the present disclosure, where the time T1 of parsing video data, the time T2 of initializing a video display module, and the starting time T3 of decoding video parsing data are shown in the diagram, a time length spent on initializing the video display module is T, the initialization of the video display module is completed at the time T4, and a decoding operation for the video parsing data is also completed at the time T4, so that the video display module can be controlled to display video decoding data at the time T4, and the initialization of the video display module is started in advance to complete the initialization before a first frame of the video decoding data is transmitted to the video display module, so that various display parameters of the video display module are adapted to the video decoding data, a video is played normally, and display abnormalities such as a splash screen, and a splash screen are avoided.
In some embodiments, step S604 may be replaced with the following steps S6041 to S6045, as shown in fig. 8, where fig. 8 is a second flowchart of a video display method provided by the embodiment of the disclosure:
and S6041, decoding the video analysis data to obtain a second image parameter.
S6042, comparing the first image parameter obtained after analysis with the second image parameter, and judging whether the first image parameter is matched with the second image parameter.
If the first image parameter does not match the second image parameter, step S6043 is executed: and reinitializing the video display module according to the second image parameter.
Since the first image parameter is an image parameter set during video source encapsulation and may have a difference from an image parameter required for real video display, that is, a difference from a second image parameter obtained after decoding, in the embodiment of the present disclosure, under a condition that the first image parameter and the second image parameter are not matched, the second image parameter is used to reinitialize the video display module, so as to set the display parameter of the video display module to be matched with the video decoding data.
It should be noted that the second image parameter obtained after decoding the video parsing data is not completely different from the first image parameter, and in a normal case, the first image quality type in the first image parameter is different from the second image quality type in the second image, so that, when the video display module is reinitialized by using the second image parameter, the embodiment of the present disclosure reinitializes the video display module by using a part of parameters in the second image parameter that is different from the first image parameter. Compared with the prior art that all the second image parameters are used for initializing the display module, the time required by initialization is effectively reduced, and the video playing speed is further improved.
In the case that the first image parameter does not match the second image parameter, after the video display module is reinitialized according to the second image parameter, step S6044 is performed: and controlling the video display module after reinitialization to display the video decoding data.
The embodiment of the disclosure provides an implementation manner, after controlling the reinitialized video display module to display the video decoding data, determining the identification information of the video data, and storing the identification information and the second image parameter correspondingly, so as to directly initialize the video display module by using the second image parameter when the display device displays the video data next time, thereby further advancing the initialization operation and effectively shortening the video start-up time.
If the first image parameter matches the second image parameter, step S6045 is executed: and controlling the initialized video display module to display the video decoding data.
If the first image parameter is matched with the second image parameter, the initialization of the video display module is already completed by utilizing the first image parameter, and the video display module does not need to be initialized by utilizing the second image parameter. Therefore, the operation of initializing the video display module is advanced to the time before the decoding operation, and enough time is reserved for initializing the video display module, so that it can be understood that the video display module of the display device starts to initialize by using the first image parameter, and the decoding module starts to decode video analysis data, and the video display module can effectively ensure that the initialization is completed before the decoding module decodes to obtain a start frame and transmits the start frame to the video display module, and the video display module is ready to obtain the start frame for starting playing the video. The problem that display equipment is abnormal in display such as screen splash and screen flashing is avoided.
In a case where the first image parameter is matched with the second image parameter, after controlling the initialized video display module to display the video decoding data, an embodiment of the present disclosure provides an implementation manner, where identification information of the video data is determined, where the identification information includes a Uniform Resource Locator (URL) and/or a video name; and then the identification information and the first image parameter are correspondingly stored, so that the video display module is initialized by directly utilizing the first image parameter when the display equipment displays the video data next time, thereby further advancing the initialization operation and effectively shortening the video playing starting time.
In some embodiments, to ensure that the video is played normally, in the case that the decoded video parsing data obtains a start frame, an initialization flag is queried, where the initialization flag is used to indicate whether the initialization of the video display module is completed. And under the condition that the initialization flag bit indicates that the video display module is initialized completely, controlling the initialized video display module to display the video decoding data. The video display module is initialized by inquiring the initialization flag bit before the start frame is transmitted to the video display module, and video decoding data is transmitted to the video display module under the condition that the initialization of the video display module is determined to be completed, so that the display equipment can immediately display the start frame to normally play, the problem of abnormal video display caused by asynchronous transmission of the start frame and initialization of the video display module is avoided, and the video watching experience of a user is improved.
In summary, the present disclosure provides a video display method, in which video data is acquired and analyzed to obtain video analysis data and a first image parameter, a video display module is initialized according to the first image parameter, then the video analysis data is decoded to obtain video decoding data, and the initialized video display module is controlled to display the video decoding data, so that the first image parameter required by initialization is acquired before decoding, thereby accelerating the operation of initializing the video display module, shortening the video broadcast start time, and avoiding the problem of abnormal display such as screen splash and screen splash.
In addition, in the embodiment, the first image parameter or the second image parameter really used for initializing the display module and the identification information of the video data are stored, so that when the same video data corresponding to the identification information is played subsequently, the stored image parameters are directly utilized for initializing, the operation of initializing the video display module is further accelerated, and the viewing experience of a user is favorably improved.
As shown in fig. 9, fig. 9 is a schematic diagram three of a video display method provided in the embodiment of the present disclosure, where the method includes the following steps S901 to S910:
s901, video data is obtained.
S902, acquiring identification information of the video data.
And S903, inquiring whether the initialization parameters corresponding to the identification information exist.
If the initialization parameter corresponding to the identification information exists, initializing the video display module according to the initialization parameter, analyzing and decoding the video to obtain video decoding data, and controlling the video display module to display the video decoding data.
If there is no initialization parameter corresponding to the identification information, step S904 is executed:
and S904, analyzing the video data to obtain video analysis data and a first image parameter.
And S905, initializing a video display module according to the first image parameter.
S906, decoding the video analysis data to obtain video decoding data and second image parameters.
S907, judging whether the first image parameter is matched with the second image parameter.
If the first image parameter matches the second image parameter, go to step S908;
if the first image parameter does not match the second image parameter, steps S909 to S910 are executed.
And S908, controlling the initialized video display module to display video decoding data.
And S909, reinitializing the video display module according to the second image parameters.
And S910, controlling the video display module after reinitialization to display the video decoding data.
The specific implementation of steps S901 to S910 is the same as or similar to the specific implementation of steps S601 to S604, and the details are not repeated herein.
After the video data are obtained, whether the identification information of the video data corresponds to the initialization parameters or not is firstly determined, if the initialization parameters corresponding to the identification information exist, the video display module is initialized by using the initialization parameters, the initialization operation is further advanced to the time before the video data are analyzed and decoded, the time delay of initializing the video display module is reduced, the video is played more efficiently based on the memory function of the display equipment, and the user experience is improved.
Referring to fig. 10, fig. 10 is a schematic diagram of a time axis two of the video display method provided by the embodiment of the present disclosure, where the time T0 of obtaining the initialization parameter, the time T2 'of initializing the video display module, the time T taken to initialize the video display module, the time T of initializing the video display module at the time T4', the time T1 of analyzing the video data, the time T3 of starting decoding the video analysis data, and the time T4 of completing decoding are shown in fig. 7.
If the initialization parameter corresponding to the identification information does not exist, initializing by using a first image parameter obtained after analyzing the video data, and compared with the existing initialization after decoding the video data, the method has the advantages that the starting time of the initialization operation is advanced, enough time is reserved, and the display abnormity caused by incomplete initialization when the starting frame of the decoded video data is transmitted to a video display module is avoided; in addition, in order to ensure that various parameters of the video display module are matched with video data and a video can be played normally, the video display method compares a first image parameter with a second image parameter after decoding video analytic data to obtain the second image parameter, and if the first image parameter is matched with the second image parameter, the video display module initialized by using the first image parameter can play the video normally without repeated initialization by using the second image parameter; if the first image parameter is not matched with the second image parameter, the second image parameter is reinitialized by using a parameter item different from the first image parameter, the time consumed by initialization is short, the video playing starting speed is high, abnormal display such as screen splash and screen flashing caused by parameter mismatching is avoided, and the user experience is improved.
An embodiment of the present disclosure provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements each process executed by the video display method, and can achieve the same technical effect, and in order to avoid repetition, the computer program is not described herein again.
The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The present disclosure provides a computer program product, which includes a computer program, when the computer program runs on a computer, the computer is enabled to implement each process of the above-mentioned video display method, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied in the medium.
In the present disclosure, the Processor may be a Central Processing Unit (CPU), and may also be other general purpose processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In the present disclosure, the memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
In the present disclosure, computer readable media include permanent and non-permanent, removable and non-removable storage media. Storage media may implement information storage by any method or technology, and the information may be computer-readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media such as modulated data signals and carrier waves.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be 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 phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the foregoing discussion in some embodiments is not intended to be exhaustive or to limit the implementations to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A display device, comprising:
a controller configured to: acquiring video data;
analyzing the video data to obtain video analysis data and a first image parameter, wherein the first image parameter comprises: a first resolution, a first frame rate, and a first image quality type;
initializing a video display module according to the first image parameter;
and decoding the video analysis data to obtain video decoding data, and controlling an initialized video display module to display the video decoding data.
2. The device according to claim 1, wherein the controller, after decoding the video parsing data to obtain video decoding data and before controlling the initialized video display module to display the video decoding data, is further configured to:
acquiring a second image parameter obtained by decoding the video analysis data, wherein the second image parameter comprises: a second resolution, a second frame rate, a second image quality type;
comparing the first image parameter and the second image parameter;
the controller, which controls the initialized video display module to display the video decoding data, is configured to:
and under the condition that the first image parameter is matched with the second image parameter, controlling an initialized video display module to display the video decoding data.
3. The display device according to claim 2, wherein the controller, acquiring a second image parameter obtained by decoding the video data, is configured to:
and acquiring a second image parameter obtained by decoding a starting frame in the video analysis data, wherein the starting frame is a frame image corresponding to the starting moment of the video analysis data.
4. The display device according to claim 1, wherein the controller, after controlling the initialized video display module to display the video decoding data, is further configured to:
determining identification information of the video data, wherein the identification information comprises a Uniform Resource Locator (URL) and/or a video name;
and correspondingly storing the identification information and the first image parameter so as to initialize the video display module according to the first image parameter when the video data is displayed next time.
5. The display device of claim 2, wherein the controller, after comparing the first image parameter and the second image parameter, is configured to:
under the condition that the first image parameters and the second image parameters are not matched, a video display module is reinitialized according to the second image parameters;
and controlling the video display module after reinitialization to display the video decoding data.
6. The display device according to claim 5, wherein the controller, after controlling the reinitialized video display module to display the video decoding data, is further configured to:
determining identification information of the video data;
and correspondingly storing the identification information and the second image parameter so as to initialize the video display module according to the second image parameter when the video data is displayed next time.
7. The device according to claim 1, wherein the controller, after acquiring the video data, before decoding the video parsing data to obtain video decoding data and controlling the initialized video display module to display the video decoding data, is further configured to:
acquiring identification information of the video data;
inquiring whether an initialization parameter corresponding to the identification information exists or not;
and initializing a video display module according to the initialization parameter under the condition that the initialization parameter corresponding to the identification information exists.
8. The device according to claim 1, wherein the controller, after decoding the video parsing data to obtain video decoding data and before controlling the initialized video display module to display the video decoding data, is further configured to:
inquiring an initialization flag bit under the condition that the video analysis data is decoded to obtain a starting frame;
the controller, before controlling the initialized video display module to display the video decoding data, is configured to:
and under the condition that the initialization flag bit indicates that the video display module is initialized, controlling the initialized video display module to display the video decoding data.
9. A video display method, comprising:
acquiring video data;
analyzing the video data to obtain video analysis data and a first image parameter, wherein the first image parameter comprises: a first resolution, a first frame rate and a first image quality type;
initializing a video display module according to the first image parameter;
and decoding the video analysis data to obtain video decoding data, and controlling an initialized video display module to display the video decoding data.
10. The method of claim 9, wherein after decoding the video parsing data to obtain video decoding data, and before controlling an initialized video display module to display the video decoding data, further comprising:
acquiring a second image parameter obtained by decoding the video analysis data, wherein the second image parameter comprises: a second resolution, a second frame rate and a second image quality type;
comparing the first image parameter and the second image parameter;
the controlling the initialized video display module to display the video decoding data comprises: and under the condition that the first image parameter is matched with the second image parameter, controlling an initialized video display module to display the video decoding data.
CN202211163309.3A 2022-09-23 2022-09-23 Display device and video display method Pending CN115665460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211163309.3A CN115665460A (en) 2022-09-23 2022-09-23 Display device and video display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211163309.3A CN115665460A (en) 2022-09-23 2022-09-23 Display device and video display method

Publications (1)

Publication Number Publication Date
CN115665460A true CN115665460A (en) 2023-01-31

Family

ID=84984822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211163309.3A Pending CN115665460A (en) 2022-09-23 2022-09-23 Display device and video display method

Country Status (1)

Country Link
CN (1) CN115665460A (en)

Similar Documents

Publication Publication Date Title
CN111381896B (en) Awakening method of audio equipment and display equipment
CN111405333B (en) Display apparatus and channel control method
CN112580302B (en) Subtitle correction method and display equipment
CN111654743B (en) Audio playing method and display device
CN111277891B (en) Program recording prompting method and display equipment
CN112887778A (en) Switching method of video resource playing modes on display equipment and display equipment
CN111417027A (en) Method for switching small window playing of full-screen playing of webpage video and display equipment
CN111182339A (en) Method for playing media item and display equipment
CN113453052B (en) Sound and picture synchronization method and display device
CN115665460A (en) Display device and video display method
CN113573149B (en) Channel searching method and display device
CN115460452A (en) Display device and channel playing method
CN115278136A (en) Display device and display method of HDMI channel page
CN115022688A (en) Display device and media data relay method
CN111526414B (en) Subtitle display method and display equipment
CN111405329B (en) Display device and control method for EPG user interface display
CN113490030A (en) Display device and channel information display method
US8724028B1 (en) Electronic device and display control method
WO2022174751A1 (en) Display method and display device
CN111246282B (en) Program information acquisition method in display equipment and display equipment
US20230412890A1 (en) Refreshing method and display apparatus
CN115174991B (en) Display equipment and video playing method
CN111405332B (en) Display device and control method for EPG user interface display
CN115665468A (en) Screen projection method and device and electronic equipment
CN113271503A (en) Subtitle information display method and display equipment

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