CN111954048A - Method for playing high-bit-rate video resource, terminal equipment and storage medium - Google Patents
Method for playing high-bit-rate video resource, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN111954048A CN111954048A CN202010849342.6A CN202010849342A CN111954048A CN 111954048 A CN111954048 A CN 111954048A CN 202010849342 A CN202010849342 A CN 202010849342A CN 111954048 A CN111954048 A CN 111954048A
- Authority
- CN
- China
- Prior art keywords
- video resource
- code rate
- video
- playing
- reading
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/426—Internal components of the client ; Characteristics thereof
- H04N21/42607—Internal components of the client ; Characteristics thereof for processing the incoming bitstream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/426—Internal components of the client ; Characteristics thereof
- H04N21/42661—Internal components of the client ; Characteristics thereof for reading from or writing on a magnetic storage medium, e.g. hard disk drive
- H04N21/42669—Internal components of the client ; Characteristics thereof for reading from or writing on a magnetic storage medium, e.g. hard disk drive the medium being removable
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
- H04N21/4825—End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/637—Control signals issued by the client directed to the server or network components
- H04N21/6373—Control signals issued by the client directed to the server or network components for rate control, e.g. request to the server to modify its transmission rate
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Television Signal Processing For Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
The invention provides a method for playing high-bit-rate video resources, which comprises the following steps: firstly, analyzing and extracting code rate information of a video resource to be played in advance, and recording and storing the extracted code rate information of the video resource as key attribute information of the video resource; and step two, reading the code rate information extracted by the video resource to be played in the step one, comparing the code rate information with a high code rate threshold value preset by the system, and entering a high-speed reading playing mode or a common reading playing mode according to a comparison result. And step three, after the current video resource is played, closing the current reading playing mode, continuing to play the next video resource, and re-entering the step two until all the video resources are played. The method can realize smooth playing of the high-bit-rate video resource, and improve the film watching effect of the high-bit-rate video resource on the smart television.
Description
Technical Field
The invention belongs to the technical field of multimedia playing, and relates to a method for playing high-bit-rate video resources, terminal equipment and a storage medium.
Background
With the popularization of 4K smart televisions and the rise of 8K video resources, the decoding playing capability of smart television terminals is stronger and stronger at present, local 4K and 8K video resources can be directly played through a video player of the smart television, and very good audio-visual experience is brought to users.
In order to bring better image quality experience, 4K and 8K video resources adopt a high-bit-rate coding mode, and due to the fact that the read-write performance of external files of an intelligent television system is limited, the read performance of file data cannot keep up with the data consumption speed of decoding playing when a high-bit-rate film source is played, so that the phenomenon of pause of playing pictures is caused, the whole video watching experience is greatly influenced, and the whole performance public praise of products is also influenced.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: how to smoothly play the high-bit-rate video resource and improve the playing experience effect of the high-bit-rate video resource. In order to overcome the defects of the prior art and realize smooth playing of high-bit-rate video resources, the invention provides a method for playing the high-bit-rate video resources, terminal equipment and a storage medium.
In a first aspect of the present invention, a method for playing a high bit rate video resource is provided, which includes the following steps:
firstly, analyzing and extracting code rate information of a video resource to be played in advance, and recording and storing the extracted code rate information of the video resource as key attribute information of the video resource;
and step two, reading the code rate information extracted by the video resource to be played in the step one, comparing the code rate information with a high code rate threshold value preset by the system, and entering a high-speed reading playing mode or a common reading playing mode according to a comparison result.
And step three, after the current video resource is played, closing the current reading playing mode, continuing to play the next video resource, and re-entering the step two until all the video resources are played.
Furthermore, the code rate information of the video resource to be played is pre-analyzed and extracted through a code rate pre-analysis technical module in the video player.
Further, the second step specifically comprises: before starting playing the video resource, the video player firstly reads the code rate information extracted in the step one by the video resource to be played, and compares the code rate information with a high code rate threshold value preset by the system, if the code rate value is larger than or equal to the high code rate threshold value preset by the system, the player configures the video resource to enter a high-speed reading playing mode, and if the code rate value is smaller than the high code rate threshold value preset by the system, the player configures the video resource to enter a common reading playing mode.
Further, the threshold value of the high bit rate is set manually by the user, and the unit is bit per second.
Further, the high-speed reading playing mode adopts a high-speed file reading technology to read and play the video resource file data; the common reading playing mode adopts a common file reading technology to read and play the video resource file data.
In a second aspect of the present invention, a terminal device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method for playing the high-bitrate video resource when executing the computer program.
In a third aspect of the present invention, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method for playing the high-rate video resource.
The invention has the following beneficial effects:
1. by the method, the smooth playing effect of the high-bit-rate video resources can be realized, the problems of unsmooth high-bit-rate film source and poor film watching effect in the existing playing mode are solved, and the film watching experience effect of the high-bit-rate video resources on the smart television is greatly improved.
2. On the basis of a code rate pre-analysis technology and a file reading technology, the high-speed file reading technology can be selected according to the high code rate of the video resource, so that the smooth playing of the high-code-rate video resource is realized, and a good playing and controlling experience effect is achieved.
Detailed Description
The technical solution of the present invention is further described below with reference to specific examples, but the present invention is not limited to the contents of the examples in any way.
The invention provides a method for playing high-code-rate video resources, which mainly comprises a code rate pre-analysis technology and a high-speed file reading technology. The code rate pre-analysis technology is used for extracting and analyzing the code rate of the video resource in advance so as to obtain the real code rate value of the video resource; the high-speed file reading technology is used for reading data of a video resource file at high speed, and the basic technology of the high-speed file reading technology is from a memory mapping technology.
In this embodiment, for example, an intelligent television plays an 8K high-bit-rate video resource on a local mobile hard disk, the mobile hard disk is accessed to the intelligent television through a USB interface, and multiple 8K high-bit-rate film sources are stored on the mobile hard disk. The method specifically comprises the following steps:
firstly, video resource code rate information is pre-analyzed and recorded;
before the video resource to be played enters playing, analyzing and extracting the code rate information of the video resource to be played in advance; the video resource code rate pre-analysis extraction function is realized by a code rate pre-analysis technical module in a video player; the code rate information of the video resources is extracted and then is used as key attribute information of the video resources for recording and storing; in this embodiment, the following concrete steps are performed:
a code rate pre-analysis technology module in the video player pre-analyzes code rate information of each video resource on the mobile hard disk, records and stores the code rate information of each video resource, the specific information is stored in playlist node information, and one field of a node is code rate information;
further, in this example, the bit rate information of 5 video resources is co-pre-parsed and stored as (Name: test1, BR: 120000000), (Name: test2, BR: 90000000), (Name: test3, BR: 200000000), (Name: test4, BR: 180000000), (Name: test5, BR: 100000000)
Step two, configuring a video resource playing and reading mode;
before starting playing the video resource, the video player firstly reads the code rate information extracted in the step one by the video resource to be played, compares the code rate information with a high code rate threshold value preset by a system, if the code rate value is greater than or equal to the high code rate threshold value preset by the system, the player configures the video resource to enter a high-speed reading playing mode, and if the code rate value is less than the high code rate threshold value preset by the system, the player configures the video resource to enter a common reading playing mode; wherein, the threshold value of high code rate is set by user, and the value is set reasonably based on the performance of reading files by system, and the unit is bps; the high-speed reading and playing mode adopts a high-speed file reading technology to read and play the video resource file data; wherein, the common reading and playing mode adopts the common file reading technology to read and play the video resource file data; in this embodiment, the following concrete steps are performed:
the video player application detects the file reading performance of the current intelligent television, and sets 100Mbps as a high bit rate threshold value;
in the first step, code rate information of all video resources to be played is already stored in a play list, and a video player obtains a code rate value of each video resource by reading in the play list;
the video player firstly reads a first video resource node through a play list, the name of a film source is test1, the code rate of the film source is 120Mbps, the player application compares the code rate information with a high code rate threshold value set by a system to obtain that the film source belongs to a high code rate film source, and then the video player is configured to play in a high-speed reading play mode;
and step three, after the current video resource is played, closing the current reading playing mode, releasing occupied system memory resources, continuing to play the next video resource of the playing list, and re-entering the step two until all the video resources are played. In this embodiment, the following concrete steps are performed:
when the video resource test1 is played, the player enters the high-speed reading playing mode, and after all data of the video resource are read, the video player closes the high-speed reading playing mode and releases occupied system memory resources.
After one film source is played, continuing to play the next film source of the play list, and re-entering the step two, in this embodiment, if the bitrate of the video resource test2 is 90Mbps, and is lower than the high bitrate threshold, entering a normal reading play mode; and the process is circulated until all the film sources in the playlist are played.
Based on the foregoing embodiments, the present invention further provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the steps of the method described in the foregoing embodiments are implemented.
Based on the above embodiments, the present invention further provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the method described in the above embodiments.
Although the present invention has been described herein with reference to the illustrated embodiments thereof, which are intended to be preferred embodiments of the present invention, it is to be understood that the invention is not limited thereto, and that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure.
Claims (7)
1. A method for playing high-bit-rate video resources is characterized by comprising the following steps:
firstly, analyzing and extracting code rate information of a video resource to be played in advance, and recording and storing the extracted code rate information of the video resource as key attribute information of the video resource;
reading the code rate information extracted from the video resource to be played in the step one, comparing the code rate information with a high code rate threshold value preset by a system, and entering a high-speed reading playing mode or a common reading playing mode according to a comparison result;
and step three, after the current video resource is played, closing the current reading playing mode, continuing to play the next video resource, and re-entering the step two until all the video resources are played.
2. The method for playing the high bitrate video resource according to claim 1, wherein the pre-parsing and extracting the bitrate information of the video resource to be played is implemented by a bitrate pre-parsing module in the video player.
3. The method for playing the high bitrate video resource according to claim 1, wherein the second step specifically comprises: before starting playing the video resource, the video player firstly reads the code rate information extracted in the step one by the video resource to be played, and compares the code rate information with a high code rate threshold value preset by the system, if the code rate value is larger than or equal to the high code rate threshold value preset by the system, the player configures the video resource to enter a high-speed reading playing mode, and if the code rate value is smaller than the high code rate threshold value preset by the system, the player configures the video resource to enter a common reading playing mode.
4. The method as claimed in claim 1, wherein the threshold value of high bitrate is set manually by a user and has a unit of bits per second.
5. The method for playing the high bit rate video resource according to claim 1, wherein the high speed reading playing mode uses a high speed file reading technology to read and play the video resource file data; the common reading playing mode adopts a common file reading technology to read and play the video resource file data.
6. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of the method for playing back a high rate video asset according to any one of claims 1 to 5.
7. A computer-readable storage medium, in which a computer program is stored, and the computer program, when being executed by a processor, implements the steps of the method for playing a high rate video asset according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010849342.6A CN111954048B (en) | 2020-08-21 | 2020-08-21 | Method for playing high-bit-rate video resource, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010849342.6A CN111954048B (en) | 2020-08-21 | 2020-08-21 | Method for playing high-bit-rate video resource, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111954048A true CN111954048A (en) | 2020-11-17 |
CN111954048B CN111954048B (en) | 2021-12-17 |
Family
ID=73359436
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010849342.6A Active CN111954048B (en) | 2020-08-21 | 2020-08-21 | Method for playing high-bit-rate video resource, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111954048B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5978545A (en) * | 1994-06-14 | 1999-11-02 | Matsushita Electric Industrial Co., Ltd. | Video recording apparatus which accepts four different HDTV formatted signals |
CN1411274A (en) * | 2001-09-26 | 2003-04-16 | 上海奇普科技有限公司 | Equipment and method of broadcasting digital high sharpness TV code flow from digital universal disk |
CN102110459A (en) * | 2009-12-24 | 2011-06-29 | Tcl集团股份有限公司 | Playing terminal and multimedia file playing method and device thereof |
CN202075995U (en) * | 2011-06-10 | 2011-12-14 | 青岛海信宽带多媒体技术有限公司 | Multimedia player |
CN104159144A (en) * | 2014-08-21 | 2014-11-19 | 杨兵 | A high-definition video playing method based on a DirectShow |
CN106488175A (en) * | 2015-08-26 | 2017-03-08 | 重庆西线科技有限公司 | A kind of video transmission method |
CN108243352A (en) * | 2016-12-27 | 2018-07-03 | 天津曾琪科技有限公司 | A kind of network video monitor and control system |
CN109429076A (en) * | 2017-08-31 | 2019-03-05 | 杭州海康威视系统技术有限公司 | The broadcasting Caton processing method and device of multi-medium data |
CN109618179A (en) * | 2019-01-21 | 2019-04-12 | 北京数码视讯软件技术发展有限公司 | Ultra high-definition net cast quickly plays broadcasting method and device |
CN111405290A (en) * | 2020-04-30 | 2020-07-10 | 华东师范大学 | 8K video compression code stream decoding processing and display device |
-
2020
- 2020-08-21 CN CN202010849342.6A patent/CN111954048B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5978545A (en) * | 1994-06-14 | 1999-11-02 | Matsushita Electric Industrial Co., Ltd. | Video recording apparatus which accepts four different HDTV formatted signals |
CN1411274A (en) * | 2001-09-26 | 2003-04-16 | 上海奇普科技有限公司 | Equipment and method of broadcasting digital high sharpness TV code flow from digital universal disk |
CN102110459A (en) * | 2009-12-24 | 2011-06-29 | Tcl集团股份有限公司 | Playing terminal and multimedia file playing method and device thereof |
CN202075995U (en) * | 2011-06-10 | 2011-12-14 | 青岛海信宽带多媒体技术有限公司 | Multimedia player |
CN104159144A (en) * | 2014-08-21 | 2014-11-19 | 杨兵 | A high-definition video playing method based on a DirectShow |
CN106488175A (en) * | 2015-08-26 | 2017-03-08 | 重庆西线科技有限公司 | A kind of video transmission method |
CN108243352A (en) * | 2016-12-27 | 2018-07-03 | 天津曾琪科技有限公司 | A kind of network video monitor and control system |
CN109429076A (en) * | 2017-08-31 | 2019-03-05 | 杭州海康威视系统技术有限公司 | The broadcasting Caton processing method and device of multi-medium data |
CN109618179A (en) * | 2019-01-21 | 2019-04-12 | 北京数码视讯软件技术发展有限公司 | Ultra high-definition net cast quickly plays broadcasting method and device |
CN111405290A (en) * | 2020-04-30 | 2020-07-10 | 华东师范大学 | 8K video compression code stream decoding processing and display device |
Non-Patent Citations (3)
Title |
---|
PANG888PANG: "在电视上通过u盘观看超高清视频,u盘要读取速度多快保证不卡", 《HTTPS://ZHIDAO.BAIDU.COM/QUESTION/457217776942413845.HTML》 * |
孙建军: "电视台超高清电视播出面临的问题及系统建设分析", 《科技传播》 * |
梁小兵: "存储技术在电视行业中的应用", 《科技情报开发与经济》 * |
Also Published As
Publication number | Publication date |
---|---|
CN111954048B (en) | 2021-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102025956B (en) | Processing method, device and system for fast forward and fast backward playing of network stream media | |
JP6266109B2 (en) | Movie screen processing method and apparatus | |
KR101733793B1 (en) | Method and apparatus for managing of data | |
US7707485B2 (en) | System and method for dynamic transrating based on content | |
US8169497B2 (en) | Method of segmenting videos into a hierarchy of segments | |
JP5086189B2 (en) | Server, method and program for generating digest video of video content | |
US20100254683A1 (en) | Prioritized content recording and storage management | |
CN101637029B (en) | Transcoding of media content | |
US9438876B2 (en) | Method for semantics based trick mode play in video system | |
JP2019516331A (en) | Method and apparatus for optimizing regeneration | |
CN103841451A (en) | Multimedia playing method, device and terminal | |
CN111954048B (en) | Method for playing high-bit-rate video resource, terminal equipment and storage medium | |
CN101802803B (en) | Method and apparatus for generating and reproducing media object-based metadata | |
JP5648801B2 (en) | Content reproduction control system, method and program thereof | |
CN101803378B (en) | Method and apparatus for generating and accessing metadata in media file format | |
CN102034520B (en) | Electronic device and content reproduction method | |
US9185378B2 (en) | Method and apparatus for generating multimedia data having decoding level, and method and apparatus for reconstructing multimedia data by using the decoding level | |
EP3547698A1 (en) | Method and device for determining inter-cut time bucket in audio/video | |
CN101998097A (en) | Moving image recording apparatus, moving image recording method and program | |
CN105744297A (en) | Method and device for code stream transmission | |
KR20100054422A (en) | Method and apparatus to select content playing device | |
WO2022203737A1 (en) | Systems and methods to provide adaptive play settings | |
CN103310815B (en) | Transcriber and the control method of transcriber | |
CN110958482A (en) | Recording and playback system under safety protection and control method | |
US11212573B2 (en) | Systems, methods, and devices for managing segmented media content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |