CN116801048A - Display device and video playing method - Google Patents
Display device and video playing method Download PDFInfo
- Publication number
- CN116801048A CN116801048A CN202210936819.3A CN202210936819A CN116801048A CN 116801048 A CN116801048 A CN 116801048A CN 202210936819 A CN202210936819 A CN 202210936819A CN 116801048 A CN116801048 A CN 116801048A
- Authority
- CN
- China
- Prior art keywords
- resolution
- speed
- frame number
- upper limit
- default
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000010586 diagram Methods 0.000 description 20
- 230000006870 function Effects 0.000 description 13
- 238000004891 communication Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000003993 interaction Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The disclosure relates to a display device and a video playing method, and relates to the technical field of display devices. Comprising the following steps: responding to a selection instruction aiming at a target media resource label in a media resource list page, acquiring media resource identification information corresponding to the target media resource label, and acquiring target video data indicated by the media resource identification information; determining a default resolution and a plurality of multiple speeds to be selected of target video data, and determining a first frame number upper limit corresponding to the default resolution; calculating the number of play frames per second corresponding to the multiple times of speeds according to the multiple times of speeds and the default resolution; and displaying a playing detail page under the condition that the target multiple speed with the playing frame number per second being greater than or equal to the upper limit of the first frame number exists in the multiple speeds, wherein the playing detail page comprises at least one other multiple speed option in a playing window, and the at least one other multiple speed option is an option corresponding to any multiple speed except the target multiple speed in the multiple speeds.
Description
Technical Field
The disclosure relates to the field of display technologies, and in particular, to a display device and a video playing method.
Background
With the continuous development of streaming media technology, a simple normal-speed playing function cannot meet the requirement of a user for watching video, and the requirement of playing video at double speed is more and more urgent. In the prior art, a specific number of key frame data are selected in a jumping manner from the key frame data according to the double speed, and then the key frame data are played, so that the double speed playing function is realized, but because the decoding capability of a television chip is limited, the prior art adjusts the playing double speed of a video when the video is played according to high resolution, so that the video is difficult to smoothly play, and therefore, the prior art is generally arranged when the video is played according to high resolution, the double speed cannot be switched, and thus the adjustment of the resolution and the double speed cannot be compatible.
Disclosure of Invention
In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a display device and a video playing method, which can provide a diversified multiple adjustment option, and improve compatibility of adjustment for multiple resolutions and multiple speeds.
In order to achieve the above object, the technical solution provided by the embodiments of the present disclosure is as follows:
In a first aspect, the present disclosure provides a display device comprising:
a controller configured to: responding to a selection instruction aiming at a target media resource label in a media resource list page, acquiring media resource identification information corresponding to the target media resource label, and acquiring target video data indicated by the media resource identification information;
determining a default resolution and a plurality of multiple speeds to be selected of target video data, and determining a first frame number upper limit corresponding to the default resolution, wherein the first frame number upper limit is the maximum image frame number supported by a chip of display equipment per second under the default resolution;
calculating the number of play frames per second corresponding to the multiple times of speeds according to the multiple times of speeds and the default resolution;
and displaying a playing detail page, wherein the playing detail page comprises a playing window, target video data is played in the playing window at a default resolution and a default multiple speed, a target multiple speed option for indicating the target multiple speed is not included in the playing detail page, at least one other multiple speed option is included, and at least one other multiple speed option is an option corresponding to any multiple speed except the target multiple speed in the multiple speeds.
In a second aspect, the present disclosure provides a video playing method, including:
responding to a selection instruction aiming at a target media resource label in a media resource list page, acquiring media resource identification information corresponding to the target media resource label, and acquiring target video data indicated by the media resource identification information;
determining a default resolution and a plurality of multiple speeds to be selected of target video data, and determining a first frame number upper limit corresponding to the default resolution, wherein the first frame number upper limit is the maximum image frame number supported by a chip of display equipment per second under the default resolution;
calculating the number of play frames per second corresponding to the multiple times of speeds according to the multiple times of speeds and the default resolution;
and displaying a playing detail page, wherein the playing detail page comprises a playing window, target video data is played in the playing window at a default resolution and a default multiple speed, a target multiple speed option for indicating the target multiple speed is not included in the playing detail page, at least one other multiple speed option is included, and at least one other multiple speed option is an option corresponding to any multiple speed except the target multiple speed in the multiple speeds.
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 the video playback 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 playback 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 display device provided by the embodiment of the disclosure firstly responds to a selection instruction aiming at a target media resource label in a media resource list page through a controller to acquire media resource identification information corresponding to the target media resource label and acquire target video data indicated by the media resource identification information; then, determining a default resolution of target video data and a plurality of multiple speeds to be selected, and determining the maximum image frame number which can be supported by a chip of the display device per second under the default resolution as a first frame number upper limit; calculating the number of play frames per second corresponding to the multiple times of speed according to the multiple times of speed and the default resolution; further, under the condition that a target multiple speed, in which the number of play frames per second corresponding to multiple speeds is greater than or equal to the upper limit of the first frame number, exists, a play detail page is displayed, target video data is played according to the default resolution and the default multiple speeds in a play window of the play detail page, the play detail page further comprises at least one other multiple speed option, and the at least one other multiple speed option is at least one multiple speed corresponding option except for the target multiple speed in the multiple speeds, so that the multiple speed which can be supported by the target video data is determined based on the decoding capability of a chip of the display device and is displayed on the play detail page as a multiple speed option, and therefore compatibility of adjustment for multiple resolutions and multiple speeds is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, the drawings that are required for the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic diagram of a video playing method in the prior art;
FIG. 2 is a schematic view of a scene in some embodiments provided by embodiments of the present disclosure;
fig. 3 exemplarily shows a block diagram of a configuration of the control apparatus 100 in accordance with an exemplary embodiment;
fig. 4 shows a hardware configuration block diagram of the display device 200 in accordance with an exemplary embodiment;
FIG. 5 is a schematic diagram of a software configuration in a display device 200 according to one or more embodiments of the present disclosure;
fig. 6 is an application scenario schematic diagram of a video playing method according to an embodiment of the present disclosure;
fig. 7 is a flowchart of a video playing method according to an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of a media asset list page in an embodiment of the disclosure;
FIG. 9A is a schematic diagram I of a playback detail page in an embodiment of the disclosure;
fig. 9B is a schematic diagram ii of a play detail page in an embodiment of the disclosure;
fig. 10 is a schematic diagram III of a playback detail page in an embodiment of the disclosure;
fig. 11 is a schematic diagram of a playback detail page in 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, a further description of aspects of the present disclosure will be provided below. It should be noted that, without conflict, the embodiments of the present disclosure and features in the embodiments may be combined with each other.
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 will be apparent that the embodiments in the specification are only some, but not all, embodiments of the disclosure.
The terms "first," second, "" third and the like in the description and in the claims and in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. The specific meaning of the terms in this disclosure will be understood by those of ordinary skill in the art in the specific context. Furthermore, in the description of the present disclosure, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the technical terms required to be used in the description of the embodiments or the prior art will be briefly described as follows: resolution refers to the number of pixels in the vertical and horizontal directions of the display device, in px. The resolution determines the setting of how much information is displayed on the display device screen, measured in horizontal and vertical pixels. For a screen of the same size, when the screen resolution is low (e.g. 640 x 480), there are few pixels displayed on the screen and the single pixel size is relatively large. At high resolutions (e.g., 1600 x 1200), there are many pixels displayed on the screen, and the individual pixel size is relatively small. The higher the resolution, the finer and finer the display effect. The common resolutions for video playback are 4K, 1080P, 720P, 480P. Where 4K represents a pixel having 3840 horizontal pixels, 2160 vertical pixels, and a total of about 830 ten thousand pixels. "K" in 4K represents thousands (1000), which represents 4000 horizontal pixels on the screen. 1080p denotes a display having 1080 vertical pixels and 1920 horizontal pixels, totaling about 200 ten thousand pixels. 720p denotes a pixel having 1280 vertical pixels and 720 horizontal pixels. 480p denotes a pixel having 480 vertical pixels and 367 horizontal pixels.
At present, in order to realize the function of double-speed playing, a specific number of key frame data is generally selected in a jumping manner from key frame data according to the double-speed size, and then the key frame data are played, but because the chip decoding capability of the display device is limited, when the prior art is adjusted to high resolution to play video, the current playing double-speed is increased, if the playing frame number obtained according to the current playing double-speed and the frame number supported by the chip of the display device per second is greater than the upper limit of the frame number supported by the display chip under high resolution, the video is difficult to smoothly play, so that the prior art is generally arranged when the video is played according to the high resolution, the double-speed cannot be switched, and thus the adjustment of the resolution and the double-speed cannot be compatible.
As shown in fig. 1, fig. 1 is a schematic diagram of a video playing method in the prior art. When the display device initially plays video at 1080P resolution, there are multiple speed options: 0.5X, 1.0X, 1.5X, 2X and 3X to adjust the number of frames played per second of video, the double-speed playing function can be realized, but when the resolution is adjusted to be higher than the resolution 4K of 1080P, the double-speed option is not displayed when the resolution is 4K because the number of frames supported to play per second of a chip of the display device has an upper limit, the double-speed playing function is shielded, so that the double-speed cannot be adjusted under the scene of playing video with high resolution, and the requirement of playing video according to the double-speed expected by a user cannot be completely met.
In order to solve the technical problems, the display device provided in the embodiments of the present disclosure firstly responds to a selection instruction for a target media resource tag in a media resource list page through a controller to obtain media resource identification information corresponding to the target media resource tag, and obtain target video data indicated by the media resource identification information; then, determining a default resolution of target video data and a plurality of multiple speeds to be selected, and determining the maximum image frame number which can be supported by a chip of the display device per second under the default resolution as a first frame number upper limit; calculating the number of play frames per second corresponding to the multiple times of speed according to the multiple times of speed and the default resolution; further, under the condition that a target multiple speed, in which the number of play frames per second corresponding to multiple speeds is greater than or equal to the upper limit of the first frame number, exists, a play detail page is displayed, target video data is played according to the default resolution and the default multiple speeds in a play window of the play detail page, the play detail page further comprises at least one other multiple speed option, and the at least one other multiple speed option is at least one multiple speed corresponding option except for the target multiple speed in the multiple speeds, so that the multiple speed which can be supported by the target video data is determined based on the decoding capability of a chip of the display device and is displayed on the play detail page as a multiple speed option, and therefore compatibility of adjustment for multiple resolutions and multiple speeds is improved.
Fig. 2 is a schematic view of a scenario in some embodiments provided by embodiments of the present disclosure. As shown in fig. 2, fig. 2 includes a control device 100, a display device 200, an intelligent device 300, and a server 400.
In some embodiments, a user may operate the display device 200 through the smart device 300 or the control apparatus 100 to play audio and video resources on the display device 200.
As shown in fig. 2, taking an example in which a user operates the display device 200 through the control apparatus 100, the user turns on the display device 200 through the control apparatus 100, and selects a desired play of the asset through the control apparatus 100 when the display device 200 displays the list of assets. The display device 200 receives a command for adjusting the resolution and/or the doubling speed, which is input by the user and transmitted by the control apparatus 100, during the playing of the media asset, so as to adjust the resolution and/or the doubling speed of the playing of the media asset.
In some embodiments, the control apparatus 100 may be a remote control, and the communication between the remote control and the display device includes infrared protocol communication, bluetooth protocol communication, and wireless or other wired manner to control the display device 200. The user may control the display device 200 by inputting user instructions through keys on a remote control, voice input, control panel input, etc. In some embodiments, mobile terminals, tablet computers, notebook computers, 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 to enable connection communication through a network communication protocol for the purpose of one-to-one control operation and data communication. The audio/video content displayed on the intelligent device 300 can also be transmitted to the display device 200, so that the display device 200 can also perform data communication with the server 400 through various communication modes. The display device 200 may be permitted to make communication connections via 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 device 200. The display device 200 may be a liquid crystal display, an OLED display, a projection display device. The display device 200 may additionally provide an intelligent network television function of a computer support function in addition to the broadcast receiving television function.
Fig. 3 exemplarily shows a block diagram of a configuration of the control apparatus 100 in accordance with an exemplary embodiment. As shown in fig. 3, 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, and function as an interaction between the user and the display device 200. The communication interface 130 is configured to communicate 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, keys, or an alternative module.
Fig. 4 shows a hardware configuration block diagram of the display device 200 in accordance with an exemplary embodiment. The display device 200 as shown in fig. 4 includes: a modem 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, memory, power supplies, and the like. The controller 250 includes a central processor, a video processor, an audio processor, a graphic processor, a RAM, a 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 modem 210 receives broadcast television signals through a wired or wireless reception manner, and demodulates audio and video signals, such as EPG data signals, 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 modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box.
In some embodiments, the display device is a terminal device having 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 on the memory. The controller 250 controls the overall operation of the display apparatus 200. The user may input a user command through 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 recognizes the sound or gesture through the sensor to receive the user input command.
An output interface (display 260, and/or audio output interface 270) configured to output user interaction information;
the communicator 220 is used for communicating with the server 400 or other devices.
Embodiments of the present disclosure provide a display apparatus including:
a controller 250 configured to: responding to a selection instruction aiming at a target media resource label in a media resource list page, acquiring media resource identification information corresponding to the target media resource label, and acquiring target video data indicated by the media resource identification information;
determining a default resolution and a plurality of multiple speeds to be selected of target video data, and determining a first frame number upper limit corresponding to the default resolution, wherein the first frame number upper limit is the maximum image frame number supported by a chip of display equipment per second under the default resolution;
Calculating the number of play frames per second corresponding to the multiple times of speeds according to the multiple times of speeds and the default resolution;
and displaying a playing detail page, wherein the playing detail page comprises a playing window, the playing window plays target video data with default resolution and default multiple speed, and the playing detail page comprises at least one other multiple speed option which is at least one multiple speed corresponding option except for the target multiple speed in multiple speeds under the condition that the target multiple speed of which the playing frame number per second is greater than or equal to the upper limit of the first frame number exists in the multiple speeds.
Compared with the existing display device which completely shields the double-speed playing function for ensuring smooth playing, the display device can determine at least one other double-speed supported by the display device during smooth playing based on the decoding capability of the display device chip, so that at least one other double-speed option is provided to meet the requirement of user double-speed playing. Different default resolutions correspond to different double-speed options, so that each resolution corresponds to the alternative double-speed option, and the adjustment of the resolution and the double-speed is compatible.
In some embodiments, the controller determining the first upper frame number corresponding to the default resolution includes: the controller acquires model identification information of the display equipment and acquires a first frame upper limit according to the model identification information; wherein, the model identification information includes: model number, or, model number and version number.
In some embodiments, the controller, after controlling the display to display the play detail page, is further configured to: responding to a selection instruction for a first double-speed option, and determining a play frame number per second corresponding to the first double-speed according to a default resolution and a first double-speed indicated by the first double-speed option, wherein the first double-speed option is any one of at least one other double-speed option; determining a second frame upper limit corresponding to the media asset identification information, wherein the second frame upper limit is the maximum image frame number supported by the target video data media asset per second indicated by the media asset identification information; switching from playing the target video data at the default resolution and the default multiple speed to playing the target video data at the default resolution and the first multiple speed in the playing window under the condition that the number of playing frames per second corresponding to the first multiple speed is less than or equal to the upper limit of the second number of frames; and when the number of frames per second played back corresponding to the first double speed is greater than the upper limit of the second number of frames, keeping playing back the target video data in the playing window at the default resolution and the default double speed.
In some embodiments, the controller, after controlling the display to display the play detail page, is further configured to: responding to a selection instruction for a first double-speed option, and determining a play frame number per second corresponding to the first double-speed according to a default resolution and a first double-speed indicated by the first double-speed option, wherein the first double-speed option is any one of at least one other double-speed option; determining a second frame number upper limit corresponding to the media asset identification information, wherein the second frame number upper limit is the maximum image frame number supported by the target video data per second indicated by the media asset identification information; switching from playing the target video data at the default resolution and the default multiple speed to playing the target video data at the default resolution and the first multiple speed in the playing window under the condition that the number of playing frames per second corresponding to the first multiple speed is less than or equal to the upper limit of the second number of frames; when the number of frames played per second corresponding to the first double speed is larger than the upper limit of the second number of frames, switching from playing the target video data at the default resolution and the default double speed to playing the target video data at the default resolution and the first double speed in a first preset duration, and outputting first prompt information, wherein the first prompt information is used for prompting that the target video data is switched from the default resolution to the first resolution after the first preset duration; after a first preset time period, switching from playing the target video data at the default resolution and the first double speed to playing the target video data at the first resolution and the first double speed; wherein, the number of play frames per second corresponding to the first resolution and the first doubling is less than or equal to the second frame number upper limit.
In some embodiments, the controller switches from playing the target video data at the default resolution and the default multiple speed to playing the target video data at the default resolution and the first multiple speed within a first preset duration if a number of play frames per second corresponding to the first multiple speed is greater than an upper limit of the second number of frames, including: the controller obtains cached content of the target video data under the condition that the playing frame number per second corresponding to the first speed is larger than the upper limit of the second frame number; and switching from the default resolution and the default double speed to playing the cached content in the target video data at the default resolution and the first double speed within a first preset duration.
In some embodiments, before the controller outputs the first hint information, the controller is further configured to: determining a third frame number upper limit corresponding to the current network bandwidth; determining a minimum frame number upper limit according to the third frame number upper limit and a fourth frame number upper limit, wherein the fourth frame number upper limit is the maximum image frame number supported by a chip of the display device per second under the first resolution, and the minimum frame number upper limit is the smaller frame number upper limit of the third frame number upper limit and the fourth frame number upper limit; the first resolution is determined based on the minimum frame number upper limit, the player number of play frames per second, and the first multiplier.
In some embodiments, the controller, after controlling the display to display the play detail page, is further configured to: responding to a selection instruction aiming at a second resolution option, acquiring a fifth frame number upper limit corresponding to the second resolution indicated by the second resolution option, and determining a play frame number per second corresponding to the second resolution according to the second resolution and a default double speed, wherein the fifth frame number upper limit is the maximum image frame number supported by a chip of the display device per second under the second resolution; determining a second frame number upper limit corresponding to the media asset identification information, wherein the second frame number upper limit is the maximum image frame number supported by the target video data per second indicated by the media asset identification information; switching from playing the target video data at the default resolution and the default multiple speed to playing the target video data at the second resolution and the default multiple speed in the playing window under the condition that the playing frame number per second corresponding to the second resolution is less than or equal to the upper limit of the target frame number; under the condition that the playing frame number per second corresponding to the second resolution is larger than the upper limit of the target frame number, keeping playing the target video data in the playing window at the default resolution and the default double speed; the target frame number upper limit includes: the second upper frame number limit, or the smaller one of the fifth upper frame number limit and the second upper frame number limit.
In some embodiments, the controller, after controlling the display to display the play detail page, is further configured to: responding to a selection instruction aiming at a second resolution option, acquiring a fifth frame number upper limit corresponding to the second resolution indicated by the second resolution option, and determining a play frame number per second corresponding to the second resolution according to the second resolution and a default double speed, wherein the fifth frame number upper limit is the maximum image frame number supported by a chip of the display device per second under the second resolution; determining a second frame number upper limit corresponding to the media asset identification information, wherein the second frame number upper limit is the maximum image frame number supported by the target video data per second indicated by the media asset identification information; switching from playing the target video data at the default resolution and the default multiple speed to playing the target video data at the second resolution and the default multiple speed in the playing window under the condition that the playing frame number per second corresponding to the second resolution is less than or equal to the upper limit of the target frame number; outputting second prompt information when the playing frame number per second corresponding to the second resolution is larger than the upper limit of the target frame number, wherein the second prompt information is used for prompting that the default double speed is switched to the second double speed after a second preset duration; after a second preset time period, switching from playing the target video data at a second resolution and a default multiple speed to playing the target video data at the second resolution and the second multiple speed; wherein, the playing frame number per second corresponding to the second resolution and the second doubling is smaller than or equal to the upper limit of the target frame number.
As shown in fig. 5, fig. 5 is a schematic view of a software configuration in the display device 200 according to one or more embodiments of the present disclosure, and as shown in fig. 5, the system is divided into four layers, namely, an application layer (application layer), an application framework layer (framework layer), an Android run layer and a system library layer (system runtime layer), and a kernel layer from top to bottom. The kernel layer contains at least one of the following drivers: audio drive, display drive, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (e.g., fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply drive, etc. The video data transmission method provided by the embodiment of the disclosure may be implemented based on the display device, and specifically may be implemented by a player in the display device.
As shown in fig. 6, fig. 6 is an application scenario schematic diagram of a video playing method according to an embodiment of the present disclosure, where the application scenario schematic diagram includes a display device 200, where the display device 200 first displays a media asset list page 600, and then obtains target video data indicated by a target media asset tag in response to a selection instruction for the target media asset tag in the media asset list; then, determining a default resolution of target video data and a plurality of multiple speeds to be selected, and determining the maximum image frame number which can be supported by a chip of the display device per second under the default resolution as a first frame number upper limit; calculating the number of play frames per second corresponding to the multiple times of speed according to the multiple times of speed and the default resolution; further, in the case where there is a target multiple speed, of which a number of play frames per second is greater than or equal to an upper limit of the first frame number, corresponding to the multiple speeds, a play detail page 601 is displayed, the target video data is played in a play window 602 of the play detail page 601 at a default resolution and a default multiple speed, and the play detail page 601 further includes at least one other multiple speed option 603, the at least one other multiple speed option 603 is an option corresponding to any multiple speed except the target multiple speed in the multiple speeds, so that the multiple speed which can be supported by the target video data is determined based on the decoding capability of the chip of the display device, and the multiple speed option is displayed on a play detail page as a multiple speed option, so as to provide a diversified multiple speed adjustment option, and improve compatibility of adjustment for multiple resolutions and multiple speeds.
For more detailed description of the present solution, the following description will be given by way of example with reference to fig. 7, and it will be understood that the steps involved in fig. 7 may include more steps or fewer steps when actually implemented, and the order between these steps may also be different, so as to enable the video playing method provided in the embodiments of the present disclosure.
As shown in fig. 7, fig. 7 is a flowchart of a video playing method according to an embodiment of the present disclosure, where the method includes steps S701 to S704:
s701, responding to a selection instruction aiming at a target media resource label in a media resource list page, acquiring media resource identification information corresponding to the target media resource label, and acquiring target video data indicated by the media resource identification information.
The medium resource list page comprises a medium resource list, and the medium resource list consists of a plurality of medium resource labels. The target media asset tag is any one of a plurality of media asset tags. As shown in fig. 8, fig. 8 is a schematic diagram of a media asset list page according to an embodiment of the disclosure, where a plurality of media asset tags are shown as follows: the medium resource labels comprise a medium resource list and are displayed on a medium resource list page, the medium resource labels can be medium resource names or medium resource images, and the medium resource labels are not limited in this disclosure. In general, other contents may be displayed in the media asset list page, as shown in fig. 8, and this disclosure only describes a plurality of media asset tags, and other contents will not be described herein.
The asset identification information includes asset identification code (Identity Document, ID), product line ID, and asset type. Among them, the product line IDs include, but are not limited to: educational media asset ID, movie media asset ID, fitness media asset ID; the types of media assets can be classified into drama and movie, etc.
In some embodiments, when a user selects a target media resource tag for a plurality of media resource tags in a media resource list page displayed by a display device through a control device or an intelligent device, the control device or the intelligent device generates a selection instruction according to the selection of the user and sends the selection instruction to a controller of the display device, and the controller of the display device responds to the selection instruction to acquire media resource identification information corresponding to the target media resource tag, further acquire target video data indicated by the media resource identification information, and meet the requirement that the user expects to play the target video data corresponding to the target media resource tag.
S702, determining a default resolution of target video data and a plurality of multiple speeds to be selected, and determining a first frame number upper limit corresponding to the default resolution.
Wherein the first upper frame number is the maximum number of image frames supported by the chip of the display device per second at the default resolution. The upper limit of the first frame is used for measuring the video decoding capability of a chip of the display device, and the larger the upper limit of the first frame is, the stronger the video decoding capability is.
In some embodiments, after the target video data indicated by the media asset identification information is acquired, a default resolution of the target video data and a plurality of multiple speeds to be selected are determined, where the plurality of multiple speeds to be selected may be 0.5X, 1.0X, 1.5X, 2X, 3X, which is not limited by the present disclosure.
In some embodiments, the controller obtains model identification information of the display device, and then obtains the first frame upper limit according to the model identification information. The model identification information includes a model number, or a model number and a version number, wherein the upper limit of the first frame number of different model numbers is different, and the upper limit of the first frame number is also different when the model number is the same but the version number is different.
It is understood that different databases are corresponding to display devices with different model numbers or display devices with different version numbers of the same model number, and the resolution and the upper limit of the frame number in the databases are correspondingly stored. And the display equipment controller searches the frame number upper limit corresponding to the default resolution from the database according to the model identification information of the display equipment, and takes the frame number upper limit as a first frame number upper limit.
As shown in table 1, table 1 is partial data information in the database stored corresponding to the upper limit of resolution and frame number.
Resolution ratio | Upper limit of frame number |
4K | 20 |
1080P | 60 |
Illustratively, if the default resolution of the target video data is 1080P, the corresponding upper limit of the first frame number is determined to be 60.
S703, calculating the playing frame number per second corresponding to the multiple times of speed according to the multiple times of speed and the default resolution.
In some embodiments, the number of play frames per second corresponding to 1.0X-speed supported by the target video data at the default resolution is N, and then the number of play frames per second corresponding to 0.5X-speed is 0.5N, the number of play frames per second corresponding to 1.5X-speed is 1.5N, and other multiple-speed calculation manners are the same or similar, which will not be described in detail herein.
Exemplary, the default resolution is 1080P, and the plurality of doubling speeds includes 0.5X, 1.0X, 1.5X, 2.0X, 3.0X. When the doubling speed is 1.0X under the default resolution, the number of play frames per second corresponding to the doubling speed of 1.0X is 30; when the doubling speed is 0.5X under the default resolution, the number of play frames per second corresponding to the doubling speed of 0.5X is 15; when the doubling speed is 2.0X under the default resolution, the number of play frames per second corresponding to the doubling speed of 2.0X is 60; when the doubling speed is 3.0X under the default resolution, the number of play frames per second corresponding to the doubling speed of 3.0X is 90.
And S704, displaying a playing detail page, wherein the playing detail page comprises a playing window, and playing target video data in the playing window at a default resolution and a default multiple speed under the condition that the target multiple speed of which the playing frame number per second is greater than or equal to the upper limit of the first frame number exists in the multiple speeds.
The target multiple speed is the multiple speed that the number of play frames per second in multiple is greater than or equal to the upper limit of the first frame number; the playing detail page does not comprise a target double-speed option for indicating the target double-speed, and comprises at least one other double-speed option, wherein the at least one other double-speed option is an option corresponding to any double speed except the target double-speed in a plurality of double-speeds.
In some embodiments, under a default resolution of the target video data, according to a number of play frames per second corresponding to the multiple speeds, it is determined that the target multiple speed exists in the multiple speeds, and if the target video data is played according to the default resolution and the target multiple speed, the decoding capability of a chip of the display device is exceeded, and a jam occurs. In one embodiment of the disclosure, first, target video data is played according to a default resolution and a default multiple speed, and at least one other multiple speed option does not include the target multiple speed, so as to display multiple speed options that can be supported by a chip of the display device under the default resolution, where the multiple speed options are multiple speed options that play frames per second under the default resolution are smaller than an upper limit of a first frame number.
Along the above example, when the doubling rate is 2.0X at the default resolution 1080P, the number of play frames per second corresponding to the doubling rate 3.0X is 90, and in combination with the upper limit of the first frame number corresponding to the display device shown in table 1 at the default resolution being 60, the doubling rate that the number of play frames per second is less than or equal to 60 at the default resolution is supported by the chip of the display device, the doubling rate 3.0X option is determined to be the target option, and at least one other doubling rate option includes 0.5X, 1.0X, 1.5X, and 2.0X.
Fig. 9A is a schematic diagram one of a play detail page in an embodiment of the disclosure, as shown in fig. 9A, in a play window 901 in the play detail page 900, playing target video data at a default resolution 1080P and a default double speed 1.0X; at least one other speed option 902 in the play details page 900 includes: 0.5X, 1.0X, 1.5X, 2.0X.
For another example, when the doubling rate is 1.5X at the default resolution 4K, the number of play frames per second corresponding to the doubling rate 1.5X is 30, and the upper limit of the first frame number corresponding to the display device shown in table 1 at the default resolution 4K is 20, which means that the chip of the display device supports the doubling rate that the number of play frames per second is less than or equal to 20 at the default resolution 4K, and the doubling rate 1.5X, 2.0X and 3.0X options are determined as target options, at least one other doubling rate option includes 0.5X and 1.0X, so that the doubling rate option is provided for the user to select, so as to realize the doubling rate play function.
Fig. 9B is a schematic diagram two of a play detail page in the embodiment of the present disclosure, as shown in fig. 9B, in a play window 901 in the play detail page 900, playing target video data at a default resolution of 4K and a default double speed of 1.0X; at least one other speed option 902 in the play details page 900 includes: 0.5X and 1.0X.
In some embodiments, after the controller of the display device controls the display to display the play detail page, if the user reselects the double speed of the target video data currently played by the display device, and expects to adjust the default double speed to the first double speed, and selects the first double speed option of the at least one other double speed options, the user operates the display device through the control device or the intelligent device. And sending a selection instruction for the first speed option to the display device at one side of the control device or the intelligent device. The user can also select the first speed option through a user interface touch input on the display device display, and the display of the display device will generate a selection instruction for the first speed option according to the user touch input on the user interface.
Then, a controller of the display device determines a number of play frames per second corresponding to the first double speed according to the default resolution and the first double speed indicated by the first double speed option in response to a selection instruction for the first double speed option. And determining the maximum image frame number supported by the target video data per second, namely the second frame number upper limit, according to the media information of the target video data. And comparing the playing frame number per second corresponding to the first speed with the upper limit of the second frame number.
It should be noted that, the first double-speed option is any one of the at least one other double-speed options, and then the number of frames per second played at the default resolution corresponding to the first double-speed indicated by the first double-speed option is less than or equal to the upper limit of the first number of frames, which indicates that the chip of the display device supports playing the target video data at the default resolution according to the first double-speed.
And under the condition that the number of frames per second played by the first double speed is smaller than or equal to the upper limit of the second frame number, the target video data is supported to play according to the first double speed under the default resolution, and is smooth and free from blocking, and in a playing window, the target video data played according to the default resolution and the default double speed is switched to the target video data played according to the default resolution and the first double speed.
According to the embodiment, when the user adjusts the playing speed of the target video data currently played, and on the basis that the chip of the display device supports the first speed to play the target video data, the target video data is judged to be also supported to be smoothly played at the first speed, the playing speed is switched to play the target video data at the default resolution according to the first speed, and therefore the function of speed playing is achieved.
In some embodiments, the target video data is maintained to be played in the play window at the default resolution and the default multiple speed if the number of play frames per second corresponding to the first multiple speed is greater than the second upper frame number limit. The display device can play the target video data according to the default resolution and the default multiple speed, so that smooth playing of the target video data is ensured.
For example, following the previous example, the default resolution is 1080P, the default doubling speed is 1.0X, the upper limit of the first frame number is 60, the first doubling speed is 2.0X, the upper limit of the second frame number of the target video data corresponding to the media identification information is 40,2.0X, and the corresponding playing frame number per second is 60 or greater than the upper limit of the second frame number, then the target video data is still played according to the default resolution and the default doubling speed on the playing detail page, and the target video data is played at 1080P and 1.0X as shown in fig. 9A. The method is suitable for the decoding capability of the display device chip, meets the frame number supported by the target video data, and realizes smooth playing of the target video data by the display device.
In other embodiments, when the number of frames per second played corresponding to the first multiple speed is greater than the upper limit of the second number of frames, it is determined that the target video data does not support playing according to the first multiple speed under the default resolution, and in the first preset duration, in the playing window, the target video data to be played according to the default resolution and the default multiple speed is first switched to the target video data to be played according to the default resolution and the first multiple speed, and the first prompt information is output. Wherein. The first prompt message is used for prompting that the default resolution is switched to the first resolution after a first preset time period, wherein the first resolution is a resolution that the playing frame number per second is smaller than the upper limit of the second frame number when the target video data is played at the first double speed. It can be understood that, if the playing double speed of the target video data is adjusted by the user to be greater, the resolution is selectively reduced to ensure smooth playing, thereby meeting the requirement of switching double speed of the user. And outputting the first prompt information, so that the user is aware of the switching of the resolution ratio, and the experience of the user is improved.
Further, after the first preset duration, in the playing window, the target video data is played according to the default resolution and the default multiple speed, and is switched to the target video data which is played according to the first resolution and the first multiple speed, so that smooth playing of the target video data is ensured on the basis of meeting the user switching multiple speed requirement.
The first preset duration is, for example, 3 minutes, as shown in fig. 10, and fig. 10 is a schematic diagram three of a playback detail page in the embodiment of the disclosure. In the playing window 901, the target video data is played according to the default resolution 1080P and the first double speed 2.0X for 3 minutes, and meanwhile, the first prompt information 903 is output to remind the user that the target video data currently played will switch to playing according to the first resolution 720P and the first double speed 2.0X after 3 minutes.
According to the embodiment, the user is prompted to switch to the first resolution to smoothly play the target video data according to the first multiple speed while meeting the requirement of switching the multiple speed of the user, so that the viewing experience of the user is improved, in addition, the method is suitable for the decoding capability of the chip of the display device, and at least one other multiple speed option is displayed for the user to select; in the case that the user selects a first double-speed option of the at least one other option, the present disclosure determines whether the target video data can be smoothly played at the first double-speed according to the first double-speed indicated by the first double-speed option; under the condition that the target video data can be smoothly played according to the first double speed, the requirement of switching the double speed of a user is met; under the condition that the first double-speed playing target video data is blocked, the method and the device can keep the default resolution and the default double-speed to smoothly play, can play in a first preset time period according to the default resolution and the first double-speed, and output first prompt information, so that a user is prompted to block the first resolution according to the default resolution and the first double-speed playing target video data, the interactivity is promoted, the requirement of the user for switching the double-speed is met preferentially, and the target video data is smoothly played according to the first resolution and the first double-speed.
In the embodiment of the disclosure, an implementation manner is provided for determining a first resolution, firstly determining a third frame number upper limit corresponding to a current network bandwidth, and then determining a minimum frame number upper limit according to the third frame number upper limit and a fourth frame number upper limit; wherein the fourth upper frame number is a maximum number of image frames supported by a chip of the display device per second at the first resolution, and the minimum upper frame number is a smaller upper frame number of the third upper frame number and the fourth upper frame number.
Further, the first resolution is determined according to the following formula according to the minimum frame number upper limit, the playing frame number per second and the first multiplying speed of the player:
in the above formula, resolution is a first resolution, and the resolution values are 480P, 720P, 1080P, etc., which is not limited in this disclosure; min (decode Abilityand bandwidth) is the upper limit of the minimum frame number, wherein the decode Abilityis the upper limit of the fourth frame number, the bandwidth is the upper limit of the third frame number corresponding to the current network bandwidth, and the frame is the playing frame number per second of the player; time is the first speed.
The first resolution determined by the embodiment is suitable for the chip decoding capability of the display device, is suitable for the number of frames of target video data played per second, is also suitable for the current bandwidth of the display device in the networking state, further can better ensure smooth playing of the target video data according to the first resolution and the first double-speed playing of the target video data, and also meets the requirement of switching the user from the default double-speed to the first double-speed.
In some embodiments, the first preset duration is calculated according to a duration of the cached content of the target video data and the first double speed. In an embodiment of the present disclosure, when a number of frames per second played corresponding to a first double speed is greater than an upper limit of a second number of frames, cached content of target video data is obtained, so that a first preset duration is calculated according to the cached content of the target video data and the first double speed, and then in the first preset duration, target video data played according to a default resolution and the default double speed is switched to target video data played according to the default resolution and the first double speed in a playing window, so that a requirement that a user switches to first double speed to play target video data is met.
For example, the duration of the cached content of the target video data is 10 minutes, which means that the cached content of the target video data can be played for 10 minutes according to the default resolution and the default multiple speed, and if the first multiple speed is 2.0 multiple speed, the first preset duration is 5 minutes.
In some embodiments, a selection instruction of a user for the first double-speed option is saved, so that a play frame number per second is determined according to the first double-speed and a default resolution of video data in next play, whether to adjust the default resolution is determined, the first double-speed is used as user preference in subsequent video play, and user experience is improved.
In some embodiments, after the controller of the display device controls the display to display the play detail page, if the user reselects the resolution of the target video data currently played by the display device, and desires to adjust the default resolution to the second resolution, the user operates the display device through the control device or the smart device if the second resolution option of the plurality of resolution options is selected. And sending a selection instruction for the second resolution option to the display device at the side of the control device or the intelligent device. The user may also select the second resolution option by touch input at a user interface of a display device, the display of the display device will generate a selection instruction for the second resolution option according to the touch input at the user interface by the user.
Then, the controller of the display device responds to a selection instruction for the second resolution option to obtain a fifth frame number upper limit corresponding to the second resolution indicated by the second resolution option, and then determines a play frame number per second corresponding to the second resolution according to the second resolution and the default speed. Wherein the fifth upper limit of the number of frames is a maximum number of image frames supported by a chip of the display device per second at the second resolution.
Further, the maximum number of image frames supported by the target video data, that is, the second frame upper limit, is determined according to the media asset identification information of the target video data. And comparing the playing frame number per second corresponding to the second resolution with the upper limit of the target frame number. The target frame number upper limit includes: the second upper frame number limit, or the smaller one of the fifth upper frame number limit and the second upper frame number limit.
The following processes are described according to different upper limits of target frame numbers, and the process of comparing the playing frame numbers per second corresponding to the first speed:
(1) Upper limit of second frame number
And when the number of the playing frames per second corresponding to the second resolution is smaller than or equal to the upper limit of the second frame number, the target video data is indicated to support playing according to the second resolution and the default double speed, and in the playing window, the target video data is switched to playing according to the default resolution and the default double speed.
When the upper limit of the target frame number is the upper limit of the second frame number and the upper limit of the second frame number is smaller than the upper limit of the fifth frame number, since the upper limit of the fifth frame number is the maximum number of image frames supported by the chip of the display device per second under the second resolution, it is indicated that the playing frame number per second corresponding to the second resolution is smaller than the upper limit of the fifth frame number, which means that the chip of the display device supports playing the target video data according to the second resolution and the default multiple speed and the playing frame number per second corresponding to the second resolution is smaller than or equal to the upper limit of the second frame number, the chip adapting to the display device and the target video data are carried out according to the second resolution and the default multiple speed.
(2) Upper limit of fifth frame number
In the case that the number of frames played per second corresponding to the second resolution is less than or equal to the upper limit of the fifth number of frames, wherein the upper limit of the fifth number of frames is less than the upper limit of the second number of frames, the chip of the display device also supports playing the target video data according to the second resolution and the default multiple speed on the basis that the target video data itself indicates playing according to the second resolution and the default multiple speed. Further, in the playing window, the target video data is played according to the default resolution and the default multiple speed, and is switched to the target video data is played according to the second resolution and the default multiple speed.
In some embodiments, in the case where the number of play frames per second corresponding to the second resolution is greater than the upper limit of the target number of frames, the chip representing the display device or the target video data itself does not support playing at the second resolution and the default multiplier, and the embodiments of the present disclosure keep playing the target video data at the default resolution and the default multiplier in the play window. Therefore, under the condition that a user is not felt, the display device automatically determines to play the target video data according to the default resolution and the default double speed, the chip decoding capability of the display device is adapted to the target video data, and the smooth playing of the target video data is ensured.
For example, following the previous example, the default resolution is 720P, the default doubling speed is 1.0X, the upper limit of the first frame number is 60, the first doubling speed is 2.0X, the upper limit of the second frame number of the target video data corresponding to the media asset identification information is 40,2.0X, the corresponding playing frame number per second is 60 and is greater than the upper limit of the second frame number, and then the target video data is still played according to the default resolution and the default doubling speed on the playing detail page, and the target video data is played at 720P and 1.0X. The method is suitable for the decoding capability of the display device chip, meets the frame number supported by the target video data, and realizes smooth playing of the target video data by the display device.
In some embodiments, when the number of frames played per second corresponding to the second resolution is greater than the upper limit of the target number of frames, the chip of the display device or the target video data does not support playing according to the second resolution and the default multiple speed, and second prompt information is output to prompt that the target video data can be blocked according to the second resolution and the default multiple speed, and to suggest switching to playing the target video data at the second multiple speed; the second prompt information is used for prompting that after a second preset time length, the default double speed is switched to a second double speed, and the second double speed is a double speed that the playing frame number per second under the second resolution is smaller than or equal to the upper limit of the target frame number. It can be appreciated that if the user adjustment resolution becomes larger, then to ensure smooth playback, the present disclosure will decrease the doubling from the default doubling to the second doubling, thereby meeting the user adjustment resolution requirement.
And after a second preset time period, switching to playing the target video data according to the second resolution and the default double speed. Wherein, the number of play frames per second corresponding to the second resolution and the second doubling is less than or equal to the second frame number upper limit.
It can be understood that, in the case that the number of play frames per second corresponding to the second resolution is greater than the upper limit of the target frame number, the chip of the display device or the target video data itself does not support playing according to the second resolution and the default multiple speed, but in order to meet the requirement that the user desires to play the target video data according to the second resolution, the display device automatically adjusts the multiple speed of playing, switches the default multiple speed to the second multiple speed, and in the case that the second resolution is greater than the default resolution, because the number of play frames per second is smaller when the resolution is greater than the default resolution, in order to ensure that the number of play frames per second corresponding to the second resolution is less than or equal to the upper limit of the target frame number, the second multiple speed smaller than the default multiple speed is determined, so that the number of play frames per second corresponding to the second resolution and the second multiple speed is less than or equal to the upper limit of the target frame number, and thus the requirement that the user switches the resolution is met.
Fig. 11 is a schematic diagram of a playback detail page in an embodiment of the disclosure. As shown in fig. 11, the default resolution is 1080P, the default doubling speed is 1.5X, the second resolution is 4K, and the second preset time period is 3 minutes. If the number of play frames per second corresponding to the second resolution is greater than or equal to the upper limit of the fifth frame number, outputting a second prompt message 904: "three minutes later, the playback is performed at a speed of 1.0X and 4K. After three minutes, the target video data is played according to the second resolution 4K and the default double speed 1.5X, and is switched to the target video data which is played according to the second resolution 4K and the second double speed 1.0X, wherein the number of frames per second played corresponding to the second resolution 4K and the second double speed 1.0X is smaller than or equal to the upper limit of the fifth frame number.
In some embodiments, the second preset duration may also be determined according to a duration of the cached content of the target video data, where a specific determining manner is the same as or similar to the determining manner of the first preset duration, and this disclosure is not repeated herein.
In some embodiments, a selection instruction of the user for the second resolution option is saved, so that the number of play frames per second is determined according to the second resolution and the default doubling speed of the video data when playing next time, thereby determining whether to adjust the default doubling speed, and the second resolution is used as user preference to be applied to subsequent video playing, so that the user experience is improved.
In summary, in the video playing method provided by the embodiment of the present disclosure, first, in response to a selection instruction for a target media resource tag in a media resource list page, media resource identification information corresponding to the target media resource tag is obtained, and target video data indicated by the media resource identification information is obtained; then, determining a default resolution of target video data and a plurality of multiple speeds to be selected, and determining the maximum image frame number which can be supported by a chip of the display device per second under the default resolution as a first frame number upper limit; calculating the number of play frames per second corresponding to the multiple times of speed according to the multiple times of speed and the default resolution; further, under the condition that a target multiple speed, in which the number of play frames per second corresponding to multiple speeds is greater than or equal to the upper limit of the first frame number, exists, a play detail page is displayed, target video data is played according to the default resolution and the default multiple speeds in a play window of the play detail page, the play detail page further comprises at least one other multiple speed option, and the at least one other multiple speed option is at least one multiple speed corresponding option except for the target multiple speed in the multiple speeds, so that the multiple speed which can be supported by the target video data is determined based on the decoding capability of a chip of the display device and is displayed on the play detail page as a multiple speed option, and therefore compatibility of adjustment for multiple resolutions and multiple speeds is improved.
In addition, the application is aimed at the requirement of user switching multiple speed or resolution, the requirement of the user is preferably met, under the condition that the user needs to switch multiple speed, if the switched multiple speed leads to video playing to be blocked, the display equipment automatically adjusts the resolution to enable the video to be smoothly played, wherein the display equipment can keep the default resolution and the default multiple speed for playing the video, and the multiple speed for ensuring the smooth playing can be determined according to the decoding capability of a chip of the display equipment, the frame number supported by target video data and the current bandwidth, and prompt information is output in the process to prompt the user to switch the resolution, so that the interactivity of the display equipment is improved; under the condition that a user needs to switch the resolution, if the video playing is blocked due to the switched resolution, the display equipment automatically adjusts the double speed to enable the video to be smoothly played, wherein the display equipment can keep the default resolution and the default double speed to play the video so as to ensure that the video is smoothly played under the condition that the user does not feel, and the video watching is not influenced; the display device can also determine the double speed for ensuring smooth playing according to the decoding capability of the chip, the frame number supported by the target video data and the current bandwidth, and in the process, prompt information is output to prompt the user to switch the double speed.
The video playing method can automatically adapt to the chip decoding capability of the display equipment, can also adapt to target video playing data, automatically adapts to the current network state, ensures smooth video playing, has strong scene adaptability, and effectively improves the watching experience of users.
The embodiments of the present disclosure provide a computer readable storage medium, on which a computer program is stored, where the computer program when executed by a processor implements each process executed by the video playing method described above, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
The computer readable storage medium may be a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, an optical disk, or the like.
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 playback method described above.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the above discussion in some examples is not intended to be exhaustive or to limit the embodiments 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, characterized by comprising:
a controller configured to: responding to a selection instruction aiming at a target media resource tag in a media resource list page, acquiring media resource identification information corresponding to the target media resource tag, and acquiring target video data indicated by the media resource identification information;
determining a default resolution and a plurality of multiple speeds to be selected of the target video data, and determining a first frame number upper limit corresponding to the default resolution, wherein the first frame number upper limit is a maximum image frame number supported by a chip of the display device per second under the default resolution;
calculating the playing frame number per second corresponding to the multiple times of speeds according to the multiple times of speeds and the default resolution;
and displaying a play detail page when the target multiple speed with the play frame number per second being greater than or equal to the upper limit of the first frame number exists in the multiple speeds, wherein the play detail page comprises a play window, the target video data is played in the play window at the default resolution and the default multiple speed, a target multiple speed option for indicating the target multiple speed is not included in the play detail page, and at least one other multiple speed option is included, and the at least one other multiple speed option is an option corresponding to any multiple speed except the target multiple speed in the multiple speeds.
2. The display device of claim 1, wherein the controller determining the first upper frame number corresponding to the default resolution comprises:
the controller acquires the model identification information of the display equipment and acquires the upper limit of the first frame number according to the model identification information;
wherein the model identification information includes: model number, or, model number and version number.
3. The display device of claim 1, wherein the controller, after controlling the display to display a play detail page, is further configured to:
responding to a selection instruction for a first double-speed option, and determining a play frame number per second corresponding to the first double-speed according to the default resolution and a first double-speed indicated by the first double-speed option, wherein the first double-speed option is any one of the at least one other double-speed option;
determining a second upper limit of frame numbers corresponding to the media asset identification information, wherein the second upper limit of frame numbers is the maximum number of image frames supported by the target video data per second indicated by the media asset identification information;
switching from playing the target video data at the default resolution and the default multiple speed to playing the target video data at the default resolution and the first multiple speed in the playing window when the number of play frames per second corresponding to the first multiple speed is less than or equal to the upper limit of the second number of frames;
And under the condition that the playing frame number per second corresponding to the first double speed is larger than the upper limit of the second frame number, the target video data is kept to be played in the playing window at the default resolution and the default double speed.
4. The display device of claim 1, wherein the controller, after displaying the play detail page, is further configured to:
responding to a selection instruction for a first double-speed option, and determining a play frame number per second corresponding to the first double-speed according to the default resolution and a first double-speed indicated by the first double-speed option, wherein the first double-speed option is any one of the at least one other double-speed option;
determining a second upper limit of frame numbers corresponding to the media asset identification information, wherein the second upper limit of frame numbers is the maximum number of image frames supported by the target video data per second indicated by the media asset identification information;
switching from playing the target video data at the default resolution and the default multiple speed to playing the target video data at the default resolution and the first multiple speed in the playing window when the number of play frames per second corresponding to the first multiple speed is less than or equal to the upper limit of the second number of frames;
When the number of frames per second played corresponding to the first double speed is greater than the upper limit of the second number of frames, switching from playing the target video data at the default resolution and the default double speed to playing the target video data at the default resolution and the first double speed in a first preset duration, and outputting first prompt information, wherein the first prompt information is used for prompting that the target video data is switched from the default resolution to the first resolution after the first preset duration; after the first preset duration, switching from playing the target video data at the default resolution and the first double speed to playing the target video data at the first resolution and the first double speed;
wherein, the number of play frames per second corresponding to the first resolution and the first doubling is less than or equal to the second upper frame limit.
5. The display device according to claim 4, wherein the controller switches from playing the target video data at the default resolution and the default multiple speed to playing the target video data at the default resolution and the first multiple speed within a first preset duration if a number of play frames per second corresponding to the first multiple speed is greater than the second upper frame number, comprising:
The controller obtains cached content of the target video data under the condition that the playing frame number per second corresponding to the first speed is larger than the upper limit of the second frame number; and switching from playing the cached content in the target video data at the default resolution and the first double speed to playing the cached content in the target video data at the default resolution and the first double speed within a first preset duration.
6. The display device of claim 5, wherein prior to the controller outputting the first prompt, the controller is further configured to:
determining a third frame number upper limit corresponding to the current network bandwidth;
determining a minimum frame number upper limit according to the third frame number upper limit and a fourth frame number upper limit, wherein the fourth frame number upper limit is the maximum image frame number supported by a chip of the display device per second under the first resolution, and the minimum frame number upper limit is the smaller frame number upper limit of the third frame number upper limit and the fourth frame number upper limit;
and determining the first resolution according to the minimum frame number upper limit, the playing frame number per second of the player and the first speed.
7. The display device of claim 1, wherein the controller, after displaying the play detail page, is further configured to:
Responding to a selection instruction for a second resolution option, acquiring a fifth frame number upper limit corresponding to the second resolution indicated by the second resolution option, and determining a play frame number per second corresponding to the second resolution according to the second resolution and the default double speed, wherein the fifth frame number upper limit is the maximum image frame number supported by a chip of the display device per second under the second resolution;
determining a second upper limit of frame numbers corresponding to the media asset identification information, wherein the second upper limit of frame numbers is the maximum number of image frames supported by the target video data per second indicated by the media asset identification information;
switching from playing the target video data at the default resolution and the default multiple speed to playing the target video data at the second resolution and the default multiple speed in the playing window when the number of play frames per second corresponding to the second resolution is less than or equal to an upper limit of the target number of frames;
when the playing frame number per second corresponding to the second resolution is larger than the upper limit of the target frame number, keeping playing the target video data in the playing window at the default resolution and the default double speed;
The target frame number upper limit includes: the second upper frame number limit, or a smaller one of the fifth upper frame number limit and the second upper frame number limit.
8. The display device of claim 1, wherein the controller, after displaying the play detail page, is further configured to:
responding to a selection instruction for a second resolution option, acquiring a fifth frame number upper limit corresponding to the second resolution indicated by the second resolution option, and determining a play frame number per second corresponding to the second resolution according to the second resolution and the default double speed, wherein the fifth frame number upper limit is the maximum image frame number supported by a chip of the display device per second under the second resolution;
determining a second frame number upper limit corresponding to the media asset identification information, wherein the second frame number upper limit is the maximum image frame number supported by the media asset target video data per second indicated by the media asset identification information;
switching from playing the target video data at the default resolution and the default multiple speed to playing the target video data at the second resolution and the default multiple speed in the playing window when the number of play frames per second corresponding to the second resolution is less than or equal to an upper limit of the target number of frames;
Outputting second prompt information when the number of play frames per second corresponding to the second resolution is greater than the upper limit of the target number of frames, wherein the second prompt information is used for prompting that the default double speed is switched to a second double speed after a second preset duration; after the second preset duration, switching from playing the target video data at the second resolution and the default multiple speed to playing the target video data at the second resolution and the second multiple speed;
and the playing frame number per second corresponding to the second resolution and the second doubling speed is smaller than or equal to the upper limit of the target frame number.
9. A video playing method, comprising:
responding to a selection instruction aiming at a target media resource tag in a media resource list page, acquiring media resource identification information corresponding to the target media resource tag, and acquiring target video data indicated by the media resource identification information;
determining a default resolution and a plurality of multiple speeds to be selected of the target video data, and determining a first frame number upper limit corresponding to the default resolution, wherein the first frame number upper limit is the maximum image frame number supported by a chip of display equipment per second under the default resolution;
Calculating the playing frame number per second corresponding to the multiple times of speeds according to the multiple times of speeds and the default resolution;
and displaying a play detail page when the target multiple speed with the play frame number per second being greater than or equal to the upper limit of the first frame number exists in the multiple speeds, wherein the play detail page comprises a play window, the target video data is played in the play window at the default resolution and the default multiple speed, a target multiple speed option for indicating the target multiple speed is not included in the play detail page, and at least one other multiple speed option is included, and the at least one other multiple speed option is an option corresponding to any multiple speed except the target multiple speed in the multiple speeds.
10. The method of claim 9, wherein the determining the first upper frame number limit for the default resolution comprises:
acquiring model identification information of the display equipment, and acquiring the upper limit of the first frame number according to the model identification information;
wherein the model identification information includes: model number, or, model number and version number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210936819.3A CN116801048A (en) | 2022-08-05 | 2022-08-05 | Display device and video playing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210936819.3A CN116801048A (en) | 2022-08-05 | 2022-08-05 | Display device and video playing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116801048A true CN116801048A (en) | 2023-09-22 |
Family
ID=88039125
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210936819.3A Pending CN116801048A (en) | 2022-08-05 | 2022-08-05 | Display device and video playing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116801048A (en) |
-
2022
- 2022-08-05 CN CN202210936819.3A patent/CN116801048A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111277881A (en) | Control method for audio data stream output in display equipment and display equipment | |
CN111405338B (en) | Intelligent image quality switching method and display device | |
CN111526415B (en) | Double-screen display equipment and HDMI switching method thereof | |
CN114302190A (en) | Display device and image quality adjusting method | |
CN111405221B (en) | Display device and display method of recording file list | |
CN111491190B (en) | Dual-system camera switching control method and display equipment | |
CN111464840B (en) | Display device and method for adjusting screen brightness of display device | |
CN113051432A (en) | Display device and media asset playing method | |
CN113259741A (en) | Demonstration method and display device for classical viewpoint of episode | |
CN111176603A (en) | Image display method for display equipment and display equipment | |
CN112783380A (en) | Display apparatus and method | |
CN113115083A (en) | Display apparatus and display method | |
CN112788423A (en) | Display device and display method of menu interface | |
CN111064982B (en) | Display control method, storage medium and display device | |
CN111385631A (en) | Display device, communication method and storage medium | |
CN116801048A (en) | Display device and video playing method | |
WO2021218096A1 (en) | Method for adjusting order of channel controls, and display device | |
CN112788387B (en) | Display apparatus, method and storage medium | |
CN112367550A (en) | Method for realizing multi-title dynamic display of media asset list and display equipment | |
CN111526398A (en) | Display device | |
CN113015023A (en) | Method and device for controlling video in HTML5 webpage | |
CN113365124A (en) | Display device and display method | |
CN115086722B (en) | Display method and display device for secondary screen content | |
CN112788380B (en) | Display device and display method | |
CN111970547B (en) | Display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |