CN105245940A - Method and player for online playing high definition videos on narrow bandwidth - Google Patents
Method and player for online playing high definition videos on narrow bandwidth Download PDFInfo
- Publication number
- CN105245940A CN105245940A CN201510644675.4A CN201510644675A CN105245940A CN 105245940 A CN105245940 A CN 105245940A CN 201510644675 A CN201510644675 A CN 201510644675A CN 105245940 A CN105245940 A CN 105245940A
- Authority
- CN
- China
- Prior art keywords
- video
- burst
- parameter
- read
- player
- 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
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/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8455—Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a method and a player for online playing high definition videos on a narrow bandwidth. The method comprises the following steps: sending a video play request to a video server, wherein the video play request comprises a parameter for locating video fragments; receiving fragment video data located and returned by the video server according to the parameter; reading a video fragment, and writing the video fragment in a play region to play the video fragment for a user; pre-reading a next video fragment when playing the video fragment, and caching the next video fragment in an internal memory; and when the number of the cached fragments reaches a set threshold, stopping pre-reading the video fragment, and otherwise, continuing the pre-reading process until all fragments are read. The method provided by the invention can be used for achieving smooth switch of images and saving system resources at the same time. By means of efficient video reading and caching, only 1M bandwidth is needed to smoothly play 720P high definition videos, so that simultaneous view of large-scale users is supported, and the play quality can be guaranteed.
Description
Technical field
The invention belongs to technical field of media play, particularly relate to method and player that a kind of narrow bandwidth plays HD video online.
Background technology
" operation of Contemporary Chinese medical science famous expert classics " project (hereinafter referred to as " operation of famous expert's classics ") is " 12 " state key published item, " 12 " national publishing fund key project.The networking of this project demand, support multiple terminal, high performance, support to watch on a large scale simultaneously, audio/video player system that is interactive, that simultaneously have tight copyright protection can be enriched.
Therefore, how to set out and both can support that large-scale consumer is watched simultaneously, the method for the online broadcasting HD video of play quality can be ensured again, become the problem that technical staff needs to consider.
Summary of the invention
Technical problem to be solved by this invention is to provide method and the player that a kind of narrow bandwidth plays HD video online, both can support that large-scale consumer is watched simultaneously, can ensure play quality again.
In order to solve the problems of the technologies described above, the invention provides a kind of method that narrow bandwidth plays HD video online, comprising:
Send video playback request to video server, described video playback request comprises the parameter of positioning video burst;
Receiver, video server positions according to described parameter and the burst video data returned;
Read a video slicing, write broadcast area plays to user; While playing, the next video slicing of pre-read, is buffered in internal memory; When the burst quantity of buffer memory reaches setting threshold, then stop pre-read, otherwise continue pre-read process, until all bursts read complete.
Preferably, described is http request to the request of video server transmission video playback, and described location is looked
The parameter of frequency division sheet, comprising: start and end parameter.
Preferably, described setting threshold is 3.
Preferably, described video slicing, is every two adjacent key frame of video, video data is logically separated a slice.
Preferably, the parameter of described positioning video burst, for recording the original position side-play amount hereof of each burst, as the index value of this burst.
In order to solve the problems of the technologies described above, present invention also offers the player that a kind of narrow bandwidth plays HD video online, comprising:
Control module, for sending video playback request to video server, described video playback request comprises the parameter of positioning video burst; Also position and the burst video data returned according to described parameter for receiver, video server;
Playing module, for reading a video slicing, write broadcast area plays to user;
Cache module, for the next video slicing of pre-read while playing, is buffered in internal memory; When the burst quantity of buffer memory reaches setting threshold, then stop pre-read, otherwise continue pre-read process, until all bursts read complete.
Preferably, described control module, be http request for sending video playback request to video server, the parameter of described positioning video burst, comprising: start and end parameter.
Preferably, described cache module, the burst quantity set threshold value of buffer memory is 3.
Preferably, the video slicing that described playing module is play, is every two adjacent key frame of video, video data is logically separated a slice.
Preferably, the parameter of the described positioning video burst that described control module sends, for recording the side-play amount of original position relative to file of each burst, as the index value of this burst.
Narrow bandwidth provided by the invention plays method and the player of HD video online, by video data logic is carried out burst, and be the video data establishment index after burst, by index positioning video burst, and when playing, first read a video slicing to play, play the burst quantity of buffer memory setting threshold simultaneously, when the video slicing that finishes playing, from buffer memory, then read next video slicing play, the smoothness that so just can realize picture switches, and can save system resource simultaneously.Read by efficient video, cushion, make only to need 1M bandwidth, get final product smooth playing 720P HD video, achieve and support that large-scale consumer is watched simultaneously, can play quality be ensured again.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of the online broadcasting HD video of one embodiment of the invention.
Fig. 2 is the video data burst schematic diagram of one embodiment of the invention.
Fig. 3 is the schematic diagram that the server of one embodiment of the invention positions burst video data.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of all.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
With reference to shown in Fig. 1, it is the method flow diagram of the online broadcasting HD video of one embodiment of the invention.Said method comprising the steps of:
Step 101, send video playback request to video server, described video playback request comprises the parameter of positioning video burst;
Step 102, receiver, video server positions according to described parameter and the burst video data returned;
Step 103, reads a video slicing, and write broadcast area plays to user; While playing, the next video slicing of pre-read, is buffered in internal memory; When the burst quantity of buffer memory reaches setting threshold, then stop pre-read, otherwise continue pre-read process, until all bursts read complete.
With reference to shown in Fig. 3, in a preferred embodiment of the invention, sending video playback request to video server in step 101 is http request, and the parameter of described positioning video burst, comprise: by start and end parameter, the video slicing that direct location is concrete, the data only reading this burst return.
In a preferred embodiment of the present invention, setting threshold described in step 103 is 3, when the burst quantity of buffer memory reaches 3, then stops pre-read, otherwise continues pre-read process.Certainly, shown setting threshold also can be other numerical value, such as 4,5, and the present invention is not limited this.
It is pointed out that video data burst of the present invention is a kind of logic burst, and does not need video file to be really divided into several small documents with reference to shown in Fig. 2.A kind of concrete method is: every two adjacent key frame of video, logically separate a slice by video data.Arbitrarily logically can be split by video file in theory, but be split by key frame, more clear in logic, the size of piecemeal is also very balanced.
For fragment data creates index: the original position side-play amount hereof recording each burst, as the index value of this burst, the convenient direct location to this burst.Each index value points to the original position of data fragmentation, and end position is next data fragmentation index value-1, accurately can navigate to the starting and ending position of burst like this, and video server just can return the partial data of burst accurately.The information of key frame of video, in the file header part of video file, have special position to preserve, this is the flv file format universal standard.Player (or initiating any terminal of video request) initiates http request to server, and carries parameter, and server only reads the data of specifying between starting and ending position according to the parameter imported into.
Experimental data records, and the present invention is under 1000M bandwidth, and Absorbable organic halogens supports that 800 users watch video simultaneously online.Current public network is to smooth playing 720p HD video, and each user needs 10M bandwidth, and under this method, only needs 1M.
Embodiments of the invention additionally provide a kind of player of online broadcasting HD video, comprising:
Control module, for sending video playback request to video server, described video playback request comprises the parameter of positioning video burst; Also position and the burst video data returned according to described parameter for receiver, video server;
Playing module, for reading a video slicing, write broadcast area plays to user;
Cache module, for the next video slicing of pre-read while playing, is buffered in internal memory; When the burst quantity of buffer memory reaches setting threshold, then stop pre-read, otherwise continue pre-read process, until all bursts read complete.
In a preferred embodiment of the invention, described control module, be http request for sending video playback request to video server, the parameter of described positioning video burst, comprising: start and end parameter.
In another preferred embodiment of the present invention, described cache module, the burst quantity set threshold value of buffer memory is 3.Certainly, the burst quantity set threshold value of described buffer memory also can be other numerical value, such as 4,5, and the present invention is not limited this.
The video slicing that described playing module is play, is every two adjacent key frame of video, video data is logically separated a slice.
The parameter of the described positioning video burst that described control module sends, for recording the side-play amount of original position relative to file of each burst, as the index value of this burst.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only the specific embodiment of the present invention; the protection range be not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. narrow bandwidth plays a method for HD video online, it is characterized in that, comprising:
Send video playback request to video server, described video playback request comprises the parameter of positioning video burst;
Receiver, video server positions according to described parameter and the burst video data returned;
Read a video slicing, write broadcast area plays to user; While playing, the next video slicing of pre-read, is buffered in internal memory; When the burst quantity of buffer memory reaches setting threshold, then stop pre-read, otherwise continue pre-read process, until all bursts read complete.
2. the method for claim 1, is characterized in that,
Described is http request to the request of video server transmission video playback, and the parameter of described positioning video burst, comprising: start and end parameter.
3. the method for claim 1, is characterized in that,
Described setting threshold is 3.
4. the method for claim 1, is characterized in that,
Described video slicing, is every two adjacent key frame of video, video data is logically separated a slice.
5. the method for claim 1, is characterized in that,
The parameter of described positioning video burst, for recording the original position side-play amount hereof of each burst, as the index value of this burst.
6. narrow bandwidth plays a player for HD video online, it is characterized in that, comprising:
Control module, for sending video playback request to video server, described video playback request comprises the parameter of positioning video burst; Also position and the burst video data returned according to described parameter for receiver, video server;
Playing module, for reading a video slicing, write broadcast area plays to user;
Cache module, for the next video slicing of pre-read while playing, is buffered in internal memory; When the burst quantity of buffer memory reaches setting threshold, then stop pre-read, otherwise continue pre-read process, until all bursts read complete.
7. player as claimed in claim 6, is characterized in that,
Described control module, be http request for sending video playback request to video server, the parameter of described positioning video burst, comprising: start and end parameter.
8. player as claimed in claim 6, is characterized in that,
Described cache module, the burst quantity set threshold value of buffer memory is 3.
9. player as claimed in claim 6, is characterized in that,
The video slicing that described playing module is play, is every two adjacent key frame of video, video data is logically separated a slice.
10. player as claimed in claim 6, is characterized in that,
The parameter of the described positioning video burst that described control module sends, for recording the side-play amount of original position relative to file of each burst, as the index value of this burst.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510644675.4A CN105245940A (en) | 2015-10-08 | 2015-10-08 | Method and player for online playing high definition videos on narrow bandwidth |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510644675.4A CN105245940A (en) | 2015-10-08 | 2015-10-08 | Method and player for online playing high definition videos on narrow bandwidth |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105245940A true CN105245940A (en) | 2016-01-13 |
Family
ID=55043381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510644675.4A Pending CN105245940A (en) | 2015-10-08 | 2015-10-08 | Method and player for online playing high definition videos on narrow bandwidth |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105245940A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105763960A (en) * | 2016-03-01 | 2016-07-13 | 青岛海信传媒网络技术有限公司 | Method and apparatus for network video playing |
CN105959310A (en) * | 2016-07-01 | 2016-09-21 | 北京小米移动软件有限公司 | Frame positioning method and device |
CN106294827A (en) * | 2016-08-17 | 2017-01-04 | 合网络技术(北京)有限公司 | The caching method of multimedia resource and device |
CN107197359A (en) * | 2017-05-18 | 2017-09-22 | 百度在线网络技术(北京)有限公司 | Video file caching method and device |
CN107333148A (en) * | 2017-06-23 | 2017-11-07 | 腾讯科技(深圳)有限公司 | Method for processing video frequency and device, computer-readable storage medium and equipment |
CN107809681A (en) * | 2017-10-19 | 2018-03-16 | 广东省南方数字电视无线传播有限公司 | The method and device of section transmission of video |
CN109672745A (en) * | 2018-12-29 | 2019-04-23 | 苏州思必驰信息科技有限公司 | The online control method for playing back of audio and device for FreeRTOS |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1798097A (en) * | 2004-12-24 | 2006-07-05 | 腾讯科技(深圳)有限公司 | Method for buffering data in stream media |
CN101217638A (en) * | 2007-12-28 | 2008-07-09 | 深圳市迅雷网络技术有限公司 | A downloading method, system and device of video file fragmentation |
CN102075792A (en) * | 2010-12-23 | 2011-05-25 | 华为技术有限公司 | Video file playing method and system, user equipment and server equipment |
CN102088623A (en) * | 2011-01-18 | 2011-06-08 | 乐视网信息技术(北京)股份有限公司 | Downloading and dispatching system and method for adaptive network |
CN103731720A (en) * | 2013-11-25 | 2014-04-16 | 乐视致新电子科技(天津)有限公司 | Method and device for caching multimedia data of smart television |
-
2015
- 2015-10-08 CN CN201510644675.4A patent/CN105245940A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1798097A (en) * | 2004-12-24 | 2006-07-05 | 腾讯科技(深圳)有限公司 | Method for buffering data in stream media |
CN101217638A (en) * | 2007-12-28 | 2008-07-09 | 深圳市迅雷网络技术有限公司 | A downloading method, system and device of video file fragmentation |
CN102075792A (en) * | 2010-12-23 | 2011-05-25 | 华为技术有限公司 | Video file playing method and system, user equipment and server equipment |
CN102088623A (en) * | 2011-01-18 | 2011-06-08 | 乐视网信息技术(北京)股份有限公司 | Downloading and dispatching system and method for adaptive network |
CN103731720A (en) * | 2013-11-25 | 2014-04-16 | 乐视致新电子科技(天津)有限公司 | Method and device for caching multimedia data of smart television |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105763960A (en) * | 2016-03-01 | 2016-07-13 | 青岛海信传媒网络技术有限公司 | Method and apparatus for network video playing |
CN105763960B (en) * | 2016-03-01 | 2019-01-01 | 聚好看科技股份有限公司 | A kind of method and apparatus that network video plays |
CN105959310A (en) * | 2016-07-01 | 2016-09-21 | 北京小米移动软件有限公司 | Frame positioning method and device |
CN106294827A (en) * | 2016-08-17 | 2017-01-04 | 合网络技术(北京)有限公司 | The caching method of multimedia resource and device |
CN107197359A (en) * | 2017-05-18 | 2017-09-22 | 百度在线网络技术(北京)有限公司 | Video file caching method and device |
CN107197359B (en) * | 2017-05-18 | 2021-01-08 | 百度在线网络技术(北京)有限公司 | Video file caching method and device |
CN107333148A (en) * | 2017-06-23 | 2017-11-07 | 腾讯科技(深圳)有限公司 | Method for processing video frequency and device, computer-readable storage medium and equipment |
CN107809681A (en) * | 2017-10-19 | 2018-03-16 | 广东省南方数字电视无线传播有限公司 | The method and device of section transmission of video |
CN109672745A (en) * | 2018-12-29 | 2019-04-23 | 苏州思必驰信息科技有限公司 | The online control method for playing back of audio and device for FreeRTOS |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105245940A (en) | Method and player for online playing high definition videos on narrow bandwidth | |
US11399217B2 (en) | Method and apparatus for creating and sharing customized multimedia segments | |
US20220159349A1 (en) | Methods and apparatus for presenting advertisements during playback of recorded television content | |
US11516542B2 (en) | Systems and methods for real-time adaptive bitrate transcoding and transmission of transcoded media | |
CN102664032B (en) | A kind of playing progress rate adjustment bar of direct broadcast time-shift and control method thereof | |
CN101917390B (en) | Multifunctional network player | |
CN104202684A (en) | Segmental network video seamless playing method and device | |
CN103686245A (en) | Video-on-demand and live broadcasting switching method and device based on HLS protocol | |
CN103763609A (en) | HLS protocol-based channel switching method and apparatus | |
CN101651822B (en) | Set-top box as well as method and device for achieving program recording and playing | |
EP3314904B1 (en) | Methods and apparatus for generating for display portions of media assets | |
KR20110072728A (en) | A method for offering service of viewing video subsequently between settop boxes and an apparatus thereof | |
CN103220587A (en) | Method and device for obtaining time shifting contents | |
CN102172035A (en) | Manufacturing method and system of audio special | |
US20140258414A1 (en) | Server device, terminal device, and program | |
CN110740374A (en) | multimedia data processing method, device, computer equipment and storage medium | |
CN105263035A (en) | Audio and video on demand method and system | |
CN105744297A (en) | Method and device for code stream transmission | |
CN108289240A (en) | Method, terminal and the computer-readable medium of DTV fast channel switching | |
US11418835B2 (en) | Content-modification system with technical characteristic-based selection feature | |
GB2507764A (en) | Recording and playback using a review buffer for different content segments | |
US20230199269A1 (en) | Content-based user-preferred trick play | |
US20210211747A1 (en) | Non-real time (nrt) memory management in advanced television systems committee (atsc) 3.0 system | |
CA2997555A1 (en) | Multi-audio annotation | |
EP3391645A1 (en) | Methods and systems for bypassing preemptions in recorded media assets |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160113 |
|
RJ01 | Rejection of invention patent application after publication |