CN106358047A - Method and device for playing streaming media video - Google Patents

Method and device for playing streaming media video Download PDF

Info

Publication number
CN106358047A
CN106358047A CN201610881881.1A CN201610881881A CN106358047A CN 106358047 A CN106358047 A CN 106358047A CN 201610881881 A CN201610881881 A CN 201610881881A CN 106358047 A CN106358047 A CN 106358047A
Authority
CN
China
Prior art keywords
file
video
module
sequence number
streaming media
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610881881.1A
Other languages
Chinese (zh)
Inventor
彭岳松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TVM Beijing Technology Co Ltd
Original Assignee
TVM Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TVM Beijing Technology Co Ltd filed Critical TVM Beijing Technology Co Ltd
Priority to CN201610881881.1A priority Critical patent/CN106358047A/en
Publication of CN106358047A publication Critical patent/CN106358047A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/764Media network packet handling at the destination 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4344Remultiplexing of multiplex streams, e.g. by modifying time stamps or remapping the packet identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4385Multiplex stream processing, e.g. multiplex stream decrypting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Abstract

The invention discloses a method and a device for playing streaming media video. The method for playing the streaming media video comprises the following steps of analyzing a m3u8 file in the streaming media video; obtaining the storage address and playing number of a ts file of the m3u8 file at a server; according to the playing number of each ts file, sequentially downloading each ts file; analyzing each ts file downloaded to the local into a video stream in real time; transmitting the video stream to a video player in real time, so as to enable the video player to play the video flow. The method has the advantages that the problem of failure to analyze the m3u8 file in the streaming media video by part of video players in an Android systems is solved, the trouble of the user caused by unsmooth playing of the streaming media file is avoided, and the use experience of a user is improved.

Description

A kind of method and device of playing stream media video
Technical field
The present invention relates to streaming media video technical field, particularly to a kind of method and device of playing stream media video.
Background technology
Existing Android system has many video players can not direct playing stream media file, in stream matchmaker The concrete storage address of each ts file of files in stream media described in m3u8 file in body and numbering, in video player not In the case of perfect understanding m3u8 file, this video player cannot playing stream media file.Also have and successfully understanding In the case of m3u8 file in addition it is also necessary to solve how from corresponding server download corresponding ts file to local and this how Parse those ts files.How adequate solution the problems referred to above, just become industry problem urgently to be resolved hurrily.
Content of the invention
The present invention provides a kind of method and device of playing stream media video, in order to overcome the partial video in Android system Player cannot parse the problem of the m3u8 file in streaming media video, and then solve can not smooth playing stream media file institute The puzzlement bringing to user, thus improve the experience of user.
According to embodiments of the present invention in a first aspect, providing a kind of method of playing stream media video, comprising:
The m3u8 file of parsing streaming media video;
Obtain each ts file in described m3u8 file storage address in server end and the broadcasting of each ts file Sequence number;
According to each ts file described in the progressive download of the broadcasting sequence number of each ts file described;
In real time locally downloading ts document analysis are become video flowing;
Described in real-time Transmission, video flows to video player, so that described video player plays described video flowing.
In one embodiment, the m3u8 file of described parsing streaming media video, comprising:
Obtain the m3u8 file of described streaming media video;
According to the coding structure in described m3u8 file and keyword, parse described m3u8 file.
In one embodiment, described each ts file obtaining in described m3u8 file is in the storage address of server end Broadcasting sequence number with each ts file, comprising:
Obtain the ip address of each ts file place server in described m3u8 file;
Obtain the store path in server end for each ts file in described m3u8 file;
According to described ip address and described store path, analyze the storage of each ts file in described m3u8 file Location;
According to the numbering keyword of default ts file, the storage address obtaining each ts file described each self-corresponding is broadcast Put sequence number.
In one embodiment, each ts literary composition described in the progressive download of the described broadcasting sequence number according to each ts file described Part, comprising:
The broadcasting sequence number of each ts file described is arranged according to ascending order;
According to described ascending order, download each ts file described successively.
In one embodiment, described in real time locally downloading ts document analysis are become video flowing, comprising:
Each locally downloading ts file is stored in local internal memory;
According to default analysis mode, in real time each ts document analysis described are become video flowing.
Second aspect according to embodiments of the present invention, provides a kind of device of playing stream media video, comprising:
First parsing module, for parsing the m3u8 file of streaming media video;
Acquisition module, for obtain each ts file in described m3u8 file the storage address of server end and each The broadcasting sequence number of ts file;
Download module, for each ts file described in the progressive download of the broadcasting sequence number according to each ts file described;
Second parsing module, for becoming video flowing by locally downloading ts document analysis in real time;
Transport module, flows to video player for video described in real-time Transmission, so that described video player plays institute State video flowing.
In one embodiment, described parsing module, comprising:
First acquisition submodule, for obtaining the m3u8 file of described streaming media video;
First analyzing sub-module, for according to the coding structure in described m3u8 file and keyword, parsing described m3u8 File.
In one embodiment, described acquisition module, comprising:
Second acquisition submodule, for obtaining the ip address of each ts file place server in described m3u8 file;
3rd acquisition submodule, for obtaining each ts file in described m3u8 file on the storage road of server end Footpath;
Analysis submodule, for according to described ip address and described store path, analyzing each in described m3u8 file The storage address of individual ts file;
4th acquisition submodule, for the numbering keyword according to default ts file, obtains each ts file described The each self-corresponding broadcasting sequence number of storage address.
In one embodiment, described download module, comprising:
Arrangement submodule, for arranging the broadcasting sequence number of each ts file described according to ascending order;
Download submodule, for according to described ascending order, downloading each ts file described successively.
In one embodiment, described parsing module, comprising:
Sub-module stored, for storing each locally downloading ts file in local internal memory;
Second analyzing sub-module, for according to default analysis mode, becoming to regard by each ts document analysis described in real time Frequency flows.
Other features and advantages of the present invention will illustrate in the following description, and, partly become from description Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write In book, claims and accompanying drawing, specifically noted structure is realizing and to obtain.
Below by drawings and Examples, technical scheme is described in further detail.
Brief description
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for description, the reality with the present invention Apply example and be used for explaining the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of a kind of method of playing stream media video shown in the present invention one exemplary embodiment;
Fig. 2 is a kind of stream of step s11 of method of playing stream media video shown in the present invention one exemplary embodiment Cheng Tu;
Fig. 3 is a kind of stream of step s12 of method of playing stream media video shown in the present invention one exemplary embodiment Cheng Tu;
Fig. 4 is a kind of stream of step s13 of method of playing stream media video shown in the present invention one exemplary embodiment Cheng Tu;
A kind of step s14 of the method for playing stream media video that Fig. 5 exemplifies for another exemplary of the present invention enforcement Flow chart;
Fig. 6 is a kind of block diagram of the device of playing stream media video shown in the present invention one exemplary embodiment;
Fig. 7 is a kind of the first parsing module of the device of playing stream media video shown in the present invention one exemplary embodiment 61 block diagram;
Fig. 8 is the acquisition module 62 of the device of a kind of playing stream media video shown in the present invention one exemplary embodiment Block diagram;
Fig. 9 is the download module 63 of the device of a kind of playing stream media video shown in the present invention one exemplary embodiment Block diagram;
Figure 10 is a kind of the second parsing mould of the device of playing stream media video shown in the present invention one exemplary embodiment The block diagram of block 64.
Specific embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated it will be appreciated that preferred reality described herein Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 is a kind of method flow diagram of the playing stream media video according to an exemplary embodiment, as Fig. 1 institute Show, the method for this playing stream media video, comprise the following steps s11-s15:
In step s11, the m3u8 file of parsing streaming media video;
In step s12, obtain each ts file in described m3u8 file the storage address of server end and each The broadcasting sequence number of ts file;
In step s13, according to each ts file described in the progressive download of the broadcasting sequence number of each ts file described;
In step s14, in real time locally downloading ts document analysis are become video flowing;
In step s15, described in real-time Transmission, video flows to video player, so that the broadcasting of described video player is described Video flowing.
In one embodiment, many video players are had to be can not direct play stream matchmaker in existing Android system Body file, the storage address of each ts file of files in stream media described in m3u8 file in Streaming Media and numbering, In the case that video player perfect can not understand m3u8 file, those video players cannot playing stream media file. Also have in the case of successfully understanding m3u8 file in addition it is also necessary to solve how from corresponding server download corresponding ts file to Locally and dynamically store those ts files, can be solved the above problems by agency service.Come firstly the need of agency service The m3u8 file of parsing streaming media video, needs to obtain the m3u8 file of this streaming media video, and according in this m3u8 file Coding structure and keyword, further to parse this m3u8 file.
By obtaining each ts file in this m3u8 file in the storage address of server end and broadcasting of each ts file Put sequence number, to reach the purpose downloading each ts file in m3u8 file.Specifically, obtain in this m3u8 file each The ip address of ts file place server, and obtain each ts file in this m3u8 file on the storage road of server end Footpath, according to this ip address and this store path it is possible to analyze the storage address of each ts file in this m3u8 file.
According to the numbering keyword of default ts file, obtain each self-corresponding broadcasting of storage address of this each ts file Sequence number.According to this each ts file of progressive download of the broadcasting sequence number of this each ts file, by the broadcasting sequence of this each ts file Number according to ascending order arrangement, according to this ascending order, download this each ts file successively.For example some Streaming media video is made up of 12 ts files altogether, storage address not order arrangement in m3u8 file of this 12 ts files 's.When downloading ts file it is impossible to according to the priority appearance of the storage address of each ts file in m3u8 file order, but To be downloaded according to the size order of the broadcasting sequence number of each ts file.
By in real time locally downloading ts document analysis being become video flowing, each locally downloading ts file is deposited Store up in local internal memory.According to default analysis mode, in real time this each ts document analysis is become video flowing.In internal memory One piece of memory headroom of setting, also can be more just storing this video contents of streaming media it is ensured that the more stable output of media video stream Prompt still can preserve number by after the power-off such as storage instant for this video contents of streaming media in internal memory to local hard drive, u disk, CD According to medium in.This video of real-time Transmission flows to video player, so that this video player plays this video flowing.
The present invention can overcome the partial video player in Android system cannot parse the m3u8 file in streaming media video Problem, and then solve can not smoothly playing stream media file the puzzlement that brings to user, thus improve making of user With experience.
In one embodiment, as shown in Fig. 2 step s11 comprises the steps s21-s22:
In step s21, obtain the m3u8 file of described streaming media video;
In step s22, according to the coding structure in described m3u8 file and keyword, parse described m3u8 file.
In one embodiment, obtain the m3u8 file of this streaming media video, m3u8 file refers to utf-8 coded format M3u file.M3u file is to have recorded an index text-only file, and when opening it, playout software is not to play it, but root Play online according to the network address that its index finds corresponding audio-video document.
For example following codes:
#extinf:19,
http://124.232.164.44:80/ipad/160_15601_4572/20130804075250.ts?userid =vsndnp-183061027101_160_15601_4572
#extinf:2,
http://124.232.164.44:80/ipad/160_15601_4572/20130804075300.ts?userid =vsndnp-183061027101_160_15601_4572
#extinf:10,
http://124.232.164.44:80/ipad/160_15601_4572/20130804075310.ts?userid =vsndnp-183061027101_160_15601_4572
Wherein, " extinf:2 " represents that this ts file is the 9th ingredient of this streaming media video, " http: // 124.232.164.44:80/ipad/160_15601_4572/20130804075300.ts?Userid=vsndnp- 183061027101_160_15601_4572 " represents that this ts file is deposited in the server of that ip, is transmitted by 80 port numbers Ts file, and write concrete store path in this server for this ts file exactly.
In one embodiment, as shown in figure 3, step s12 comprises the steps s31-s34:
In step s31, obtain the ip address of each ts file place server in described m3u8 file;
In step s32, obtain the store path in server end for each ts file in described m3u8 file;
In step s33, according to described ip address and described store path, analyze each ts in described m3u8 file The storage address of file;
In step s34, according to the numbering keyword of default ts file, obtain the storage address of each ts file described Each self-corresponding broadcasting sequence number.
In one embodiment, following codes are checked:
Obtain the ip address of the server that each ts file is located in m3u8 file, the institute of some ts file might as well be assumed Server ip address be 124.232.164.44, its port numbers be 80.Obtain this ts file again in this server end Store path, might as well assume that this ts file is ipad/160_15601_4572/ in the store path of server end 20130804075250.ts?Userid=vsndnp-183061027101_160_15601_4572.According to above-mentioned server Ip and this ts file this server store path, you can obtain the storage address of this complete ts file.Further according to pre- If ts file numbering keyword extinf ", you can obtain sequence sequence number in this streaming media video for this ts file.
In one embodiment, as shown in figure 4, step s13 comprises the steps s41-s42:
In step s41, the broadcasting sequence number of each ts file described is arranged according to ascending order;
In step s42, according to described ascending order, download each ts file described successively.
In one embodiment it is impossible to sequentially coming up and down of being composed a piece of writing in m3u8 file according to each ts file downloads according to this Those ts files, but need the sequence sequence number by identifying each ts file in above-described embodiment, according to sequence sequence number Order to download each ts file successively.After user drags progress bar, to determine that this is broadcast according to new play time The time of putting is within the scope of the ownership of that ts file.Change the order of download immediately, the play time of this row is returned The ts file belonging to is defined as the ts file currently downloaded, and the ts file downloaded with before deserve is initial, successively according to the row of numbering Row progressive download ts file.
In one embodiment, as shown in figure 5, step s14 comprises the steps s51-s52:
In step s51, each locally downloading ts file is stored in local internal memory;
In step s52, according to default analysis mode, in real time each ts document analysis described are become video flowing.
In one embodiment, each locally downloading ts file need hierarchy, can also be real in local internal memory When the ts file that this is saved in internal memory export to the power-off such as local local hard drive, u disk, CD after still can preserve data In medium, because the data being saved in internal memory can be covered by new ts file data.Broadcast according to the video in Android system Put the video file format that device can be play, those ts document analysis are become video flowing.
In one embodiment, Fig. 6 is a kind of device of the playing stream media video according to an exemplary embodiment Block diagram.As Fig. 6 shows, this device includes the first parsing module 61, acquisition module 62, download module 63, the second parsing module 64 and Transport module 65.
This first parsing module 61, for parsing the m3u8 file of streaming media video;
This acquisition module 62, for obtain each ts file in described m3u8 file server end storage address and The broadcasting sequence number of each ts file;
This download module 63, for each ts literary composition described in the progressive download of the broadcasting sequence number according to each ts file described Part;
This second parsing module 64, for becoming video flowing by locally downloading ts document analysis in real time;
This transport module 65, flows to video player for video described in real-time Transmission, so that described video player is broadcast Put described video flowing.
As shown in fig. 7, this first parsing module 61 includes the first acquisition submodule 71 and the first analyzing sub-module 72.
This first acquisition submodule 71, for obtaining the m3u8 file of described streaming media video;
This first analyzing sub-module 72, for according to the coding structure in described m3u8 file and keyword, parsing is described M3u8 file.
As shown in figure 8, this acquisition module 62 includes the second acquisition submodule 81, the 3rd acquisition submodule 82, analysis submodule Block 83 and the 4th acquisition submodule 84.
This second acquisition submodule 81, for obtaining the ip ground of each ts file place server in described m3u8 file Location;
3rd acquisition submodule 82, for obtaining the storage in server end for each ts file in described m3u8 file Path;
This analysis submodule 83, for according to described ip address and described store path, analyzing in described m3u8 file Each ts file storage address;
4th acquisition submodule 84, for the numbering keyword according to default ts file, obtains each ts literary composition described The each self-corresponding broadcasting sequence number of storage address of part.
As shown in figure 9, this download module 63 includes arranging submodule 91 and downloads submodule 92:
This arrangement submodule 91, for arranging the broadcasting sequence number of each ts file described according to ascending order;
This download submodule 92, for according to described ascending order, downloading each ts file described successively.
As shown in Figure 10, this second parsing module 64 includes sub-module stored 101 and the second analyzing sub-module 102.
This sub-module stored 101, for storing each locally downloading ts file in local internal memory;
This second analyzing sub-module 102, for according to default analysis mode, in real time by each ts document analysis described Become video flowing.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or the reality combining software and hardware aspect Apply the form of example.And, the present invention can be using in one or more computers wherein including computer usable program code The shape of the upper computer program implemented of usable storage medium (including but not limited to disk memory and optical memory etc.) Formula.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program Figure and/or block diagram are describing.It should be understood that can be by each stream in computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor instructing general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device is to produce A raw machine is so that produced for reality by the instruction of computer or the computing device of other programmable data processing device The device of the function of specifying in present one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device with spy Determine in the computer-readable memory that mode works so that the instruction generation inclusion being stored in this computer-readable memory refers to Make the manufacture of device, this command device realize in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that counting On calculation machine or other programmable devices, execution series of operation steps to be to produce computer implemented process, thus in computer or On other programmable devices, the instruction of execution is provided for realizing in one flow process of flow chart or multiple flow process and/or block diagram one The step of the function of specifying in individual square frame or multiple square frame.
Obviously, those skilled in the art can carry out the various changes and modification essence without deviating from the present invention to the present invention God and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprise these changes and modification.

Claims (10)

1. a kind of method of playing stream media video is it is characterised in that include:
The m3u8 file of parsing streaming media video;
Obtain each ts file in described m3u8 file storage address in server end and the broadcasting sequence number of each ts file;
According to each ts file described in the progressive download of the broadcasting sequence number of each ts file described;
In real time locally downloading ts document analysis are become video flowing;
Described in real-time Transmission, video flows to video player, so that described video player plays described video flowing.
2. the method for claim 1 is it is characterised in that the m3u8 file of described parsing streaming media video, comprising:
Obtain the m3u8 file of described streaming media video;
According to the coding structure in described m3u8 file and keyword, parse described m3u8 file.
3. method as claimed in claim 2 is it is characterised in that each ts file in described acquisition described m3u8 file is in clothes The storage address at business device end and the broadcasting sequence number of each ts file, comprising:
Obtain the ip address of each ts file place server in described m3u8 file;
Obtain the store path in server end for each ts file in described m3u8 file;
According to described ip address and described store path, analyze the storage address of each ts file in described m3u8 file;
According to the numbering keyword of default ts file, obtain each self-corresponding broadcasting sequence of storage address of each ts file described Number.
4. the method for claim 1 is it is characterised in that the order of the described broadcasting sequence number according to each ts file described Download each ts file described, comprising:
The broadcasting sequence number of each ts file described is arranged according to ascending order;
According to described ascending order, download each ts file described successively.
5. the method for claim 1 is it is characterised in that described become to regard by locally downloading ts document analysis in real time Frequency flows, comprising:
Each locally downloading ts file is stored in local internal memory;
According to default analysis mode, in real time each ts document analysis described are become video flowing.
6. a kind of device of playing stream media video is it is characterised in that include:
First parsing module, for parsing the m3u8 file of streaming media video;
Acquisition module, for obtaining each ts file in described m3u8 file in the storage address of server end and each ts literary composition The broadcasting sequence number of part;
Download module, for each ts file described in the progressive download of the broadcasting sequence number according to each ts file described;
Second parsing module, for becoming video flowing by locally downloading ts document analysis in real time;
Transport module, flows to video player for video described in real-time Transmission, for regarding described in the broadcasting of described video player Frequency flows.
7. device according to claim 6 is it is characterised in that described first parsing module, comprising:
First acquisition submodule, for obtaining the m3u8 file of described streaming media video;
First analyzing sub-module, for according to the coding structure in described m3u8 file and keyword, parsing described m3u8 file.
8. device according to claim 7 is it is characterised in that described acquisition module, comprising:
Second acquisition submodule, for obtaining the ip address of each ts file place server in described m3u8 file;
3rd acquisition submodule, for obtaining the store path in server end for each ts file in described m3u8 file;
Analysis submodule, for according to described ip address and described store path, analyzing each ts in described m3u8 file The storage address of file;
4th acquisition submodule, for the numbering keyword according to default ts file, obtains the storage of each ts file described The each self-corresponding broadcasting sequence number in address.
9. device according to claim 6 is it is characterised in that described download module, comprising:
Arrangement submodule, for arranging the broadcasting sequence number of each ts file described according to ascending order;
Download submodule, for according to described ascending order, downloading each ts file described successively.
10. device according to claim 6 is it is characterised in that described second parsing module, comprising:
Sub-module stored, for storing each locally downloading ts file in local internal memory;
Second analyzing sub-module, for according to default analysis mode, becoming video flowing by each ts document analysis described in real time.
CN201610881881.1A 2016-10-09 2016-10-09 Method and device for playing streaming media video Pending CN106358047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610881881.1A CN106358047A (en) 2016-10-09 2016-10-09 Method and device for playing streaming media video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610881881.1A CN106358047A (en) 2016-10-09 2016-10-09 Method and device for playing streaming media video

Publications (1)

Publication Number Publication Date
CN106358047A true CN106358047A (en) 2017-01-25

Family

ID=57865565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610881881.1A Pending CN106358047A (en) 2016-10-09 2016-10-09 Method and device for playing streaming media video

Country Status (1)

Country Link
CN (1) CN106358047A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174284A (en) * 2017-12-29 2018-06-15 航天科工智慧产业发展有限公司 A kind of method of the decoding video based on android system
CN110113389A (en) * 2019-04-17 2019-08-09 浙江大华技术股份有限公司 A kind of video broadcasting method, device, electronic equipment and storage medium
CN110545472A (en) * 2019-09-04 2019-12-06 北京字节跳动网络技术有限公司 Video data processing method and device, electronic equipment and computer readable medium
CN110769326A (en) * 2019-11-21 2020-02-07 广州华多网络科技有限公司 Method and device for loading video slice file and playing video file
CN114124941A (en) * 2021-12-03 2022-03-01 建信金融科技有限责任公司 Downloading method and playing method for m3u8 format file and downloading system for m3u8 format file
CN114449307A (en) * 2021-12-21 2022-05-06 北京网神洞鉴科技有限公司 Method and device for integrating fragment video
CN114579771A (en) * 2022-02-24 2022-06-03 珠海海奇半导体有限公司 Media file playing method and system, control device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702171A (en) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 Method for downloading video stream and electronic equipment
CN104410901A (en) * 2014-11-18 2015-03-11 上海天脉聚源文化传媒有限公司 Play method and play device of M3U8 format live stream
CN104796796A (en) * 2015-04-21 2015-07-22 范文鲜 Method for improving fault tolerance of HLS (hyper text transport protocol live streaming) player of Android platform
CN105898380A (en) * 2015-12-14 2016-08-24 乐视云计算有限公司 Rapid network video play starting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702171A (en) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 Method for downloading video stream and electronic equipment
CN104410901A (en) * 2014-11-18 2015-03-11 上海天脉聚源文化传媒有限公司 Play method and play device of M3U8 format live stream
CN104796796A (en) * 2015-04-21 2015-07-22 范文鲜 Method for improving fault tolerance of HLS (hyper text transport protocol live streaming) player of Android platform
CN105898380A (en) * 2015-12-14 2016-08-24 乐视云计算有限公司 Rapid network video play starting method and device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174284A (en) * 2017-12-29 2018-06-15 航天科工智慧产业发展有限公司 A kind of method of the decoding video based on android system
CN108174284B (en) * 2017-12-29 2020-09-15 航天科工智慧产业发展有限公司 Android system-based video decoding method
CN110113389A (en) * 2019-04-17 2019-08-09 浙江大华技术股份有限公司 A kind of video broadcasting method, device, electronic equipment and storage medium
CN110113389B (en) * 2019-04-17 2022-06-07 浙江大华技术股份有限公司 Video playing method and device, electronic equipment and storage medium
CN110545472A (en) * 2019-09-04 2019-12-06 北京字节跳动网络技术有限公司 Video data processing method and device, electronic equipment and computer readable medium
WO2021042936A1 (en) * 2019-09-04 2021-03-11 北京字节跳动网络技术有限公司 Video data processing method, apparatus, electronic device and computer-readable medium
CN110545472B (en) * 2019-09-04 2021-04-16 北京字节跳动网络技术有限公司 Video data processing method and device, electronic equipment and computer readable medium
CN110769326A (en) * 2019-11-21 2020-02-07 广州华多网络科技有限公司 Method and device for loading video slice file and playing video file
CN114124941A (en) * 2021-12-03 2022-03-01 建信金融科技有限责任公司 Downloading method and playing method for m3u8 format file and downloading system for m3u8 format file
CN114124941B (en) * 2021-12-03 2023-05-12 建信金融科技有限责任公司 m3u8 format file downloading method, playing method and m3u8 format file downloading system
CN114449307A (en) * 2021-12-21 2022-05-06 北京网神洞鉴科技有限公司 Method and device for integrating fragment video
CN114579771A (en) * 2022-02-24 2022-06-03 珠海海奇半导体有限公司 Media file playing method and system, control device and storage medium

Similar Documents

Publication Publication Date Title
CN106358047A (en) Method and device for playing streaming media video
CN103548358B (en) Receiving device, method of reseptance and information providing apparatus
US8886896B2 (en) Storage format for media streams
KR101885852B1 (en) Method and apparatus for transmitting and receiving content
CN111277869B (en) Video playing method, device, equipment and storage medium
CN107743708A (en) The system and method based on catalogue limitation for storage media section
KR20120099034A (en) Automatic media asset update over an online social network
CN104396263A (en) Methods and systems for real-time transmuxing of streaming media content
TW201607302A (en) A system for filtering media manifests using manifest attributes
CN103491427A (en) Method and device for processing video
US20160212054A1 (en) Multiple Protocol Media Streaming
CN108668147A (en) A kind of method and mobile terminal of optimization live streaming application
CN108769830B (en) Method for caching video and related equipment
CN104753811A (en) Streaming medium service optimizing method, device and system
US20170194032A1 (en) Process for automated video production
US10708336B2 (en) System and method for announcing media changes
CN106162380A (en) A kind of Online Video call method and system
KR101823767B1 (en) Multi-media file structure and system including meta information for providing user request and environment customize contents
CN108377429A (en) A kind of demolition of video flowing and take out frame method
CN106302465B (en) A kind of method and device of playing audio-video data
US8332529B1 (en) Media content including introduced code
US11076185B2 (en) Evolutionary parameter optimization for selecting optimal personalized screen carousels
CN103888784B (en) Self-defined multimedia file playback engine and self-defined method for broadcasting multimedia file
CN104346338A (en) Multimedia information display method and device for terminal
KR20130082732A (en) Method, terminal, and recording medium for providing user interface for contents service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170125