CN105898551A - Network video playing method and device - Google Patents

Network video playing method and device Download PDF

Info

Publication number
CN105898551A
CN105898551A CN201510959175.XA CN201510959175A CN105898551A CN 105898551 A CN105898551 A CN 105898551A CN 201510959175 A CN201510959175 A CN 201510959175A CN 105898551 A CN105898551 A CN 105898551A
Authority
CN
China
Prior art keywords
video
frame
file header
audio frame
file
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
CN201510959175.XA
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.)
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Cloud Computing 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 LeTV Cloud Computing Co Ltd filed Critical LeTV Cloud Computing Co Ltd
Priority to CN201510959175.XA priority Critical patent/CN105898551A/en
Publication of CN105898551A publication Critical patent/CN105898551A/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/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 encoded video stream packets from an IP network
    • H04N21/4381Recovering the multiplex stream from a specific network, e.g. recovering MPEG packets from ATM cells
    • 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 encoded video stream packets from an IP network
    • H04N21/4385Multiplex stream processing, e.g. multiplex stream decrypting
    • H04N21/43853Multiplex stream processing, e.g. multiplex stream decrypting involving multiplex stream decryption
    • H04N21/43856Multiplex stream processing, e.g. multiplex stream decrypting involving multiplex stream decryption by partial decryption, e.g. decrypting a multiplex stream that has been partially encrypted
    • 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/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream decryption
    • H04N21/44055Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream decryption by partially decrypting, e.g. decrypting a video stream that has been partially encrypted
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/637Control signals issued by the client directed to the server or network components
    • H04N21/6377Control signals issued by the client directed to the server or network components directed to server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a network video playing method and device. The method comprises that a play terminal sends a network video play request to a network video server; a file header of a media file of a requested network video is obtained from the network video server, and the media file is packaged in an MP4 media packaging format; when part data of the file header is obtained, the obtained file header data is analyzed to obtain audio frame and video frame index information; according to the obtained audio frame and video frame index information, corresponding audio and video frames are downloaded from the media file; and the downloaded audio and video frames are decoded respectively and then played. The method and device of the invention can be used to improve the starting play speed of the network video.

Description

Internet video player method and device
Technical field
The present embodiments relate to multimedia technology field, particularly relate to a kind of Internet video player method and Device.
Background technology
The operations such as the media data of Internet video is encoded, encapsulation, generate media file, with media Document form is transmitted, and plays end by obtaining media file, and carry out demultiplexing, the behaviour such as decoding After work, i.e. can play Internet video.
The media data of Internet video is made up of voice data and video data (i.e. image data), Generally including file header in the media file that encapsulation obtains, the file header data in file header include each Individual audio frame and the index information of each frame of video, this index information can include audio frame or video The information such as frame frame position, size and timestamp in media file, when broadcasting end demultiplexes, First download file header, and carry out file header resolving and obtain each audio frame and each frame of video Index information, downloads corresponding audio frame and video further according to audio frame with the index information of frame of video Frame, thus obtain audio frame and frame of video by demultiplexing shunting, it is decoded respectively afterwards To play.
When the media data after coding is packaged, there is media encapsulation format, MP4 (Moving Picture Experts Group 4, dynamic image expert group 4) is i.e. a kind of media envelope Dress form, any type of data can be packaged by it, the video data of the most various codings, Voice data etc..
But, in the media file using the encapsulation of MP4 media encapsulation format to obtain, file header phase Can be very big compared with the file header of other media encapsulation format, therefore download and resolve file header and will take for The longer time, thus rising of Internet video will be affected and broadcast speed.
Summary of the invention
The embodiment of the present invention provides a kind of Internet video player method and device, in order to solve in prior art Internet video rises broadcasts slow technical problem.
The embodiment of the present invention provides a kind of Internet video player method, including:
Play end and send Internet video playing request to network video server;
The file header of the media file of the Internet video asked is obtained from described network video server, its In, described media file encapsulates according to MP4 media encapsulation format;
When obtaining the partial document head data of described file header, the file header data obtained are resolved, Obtain audio frame and the index information of frame of video;
According to resolving the audio frame and the index information of frame of video obtained, it is right to download from described media file The audio frame answered and frame of video;
After the audio frame and frame of video of downloading acquisition are decoded respectively, play out.
The embodiment of the present invention provides a kind of Internet video playing device, including:
Request sending module, for sending Internet video playing request to network video server;
File header download module, for obtaining the Internet video asked from described network video server The file header of media file, wherein, described media file encapsulates according to MP4 media encapsulation format;
Parsing module, for when obtaining the partial document head data of described file header, to the file obtained Head data resolve, it is thus achieved that audio frame and the index information of frame of video;
Download module, for according to resolving the audio frame and the index information of frame of video obtained, from described matchmaker Body file is downloaded audio frame and the frame of video of correspondence;
Playing module, after the audio frame and frame of video of downloading acquisition are decoded respectively, Play out.
The Internet video player method of embodiment of the present invention offer and device, downloading MP4 media encapsulation lattice When formula encapsulation obtains the file header of media file, when downloading the partial document head data obtained in file header, I.e. can start the file header data to downloading acquisition to resolve, it is thus achieved that audio frame and the index of frame of video Information;And according to resolving the audio frame and the index information of frame of video obtained, from described network video server Media file in download correspondence audio frame and frame of video;The audio frame and frame of video that obtain will be downloaded After being decoded respectively, i.e. can play out.It is complete owing to all downloading without waiting for file header, When only need to download partial document head data, i.e. can carry out demultiplexing, decode and playing, therefore improve Speed is broadcast in rising of Internet video.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is inventive network video broadcasting method embodiment flow chart;
Fig. 2 is inventive network video play device example structure schematic diagram.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
The embodiment of the present invention is mainly used in and Internet video is obtained according to the encapsulation of MP4 media encapsulation format In the broadcasting scene of media file, owing to the file header of the media file of MP4 media encapsulation format is longer, Usually 1MB~3MB, downloads and needs the long period, for being typically in prior art to download at file header After complete, then carry out demultiplexing and the operation such as decoding, thus can reduce rising of Internet video and broadcast speed Degree.
Broadcasting speed to improve rising of Internet video, inventor, through a series of research, proposes the present invention The technical scheme of embodiment, when downloading the file header that the encapsulation of MP4 media encapsulation format obtains media file, When the partial document head data obtained in file header, i.e. can start the file header data to obtaining and carry out Resolve, it is thus achieved that audio frame and the index information of frame of video;And according to resolving the audio frame and frame of video obtained Index information, downloads audio frame and the frame of video of correspondence from the media file of described network video server; After the audio frame and frame of video of downloading acquisition are decoded respectively, i.e. can play out.Due to All download without waiting for file header complete, when only need to download partial document head data, i.e. can solve Multiplexing, decode and play, therefore improve rising of Internet video and broadcast speed.
The flow process of a kind of one embodiment of Internet video player method that Fig. 1 provides for the embodiment of the present invention Figure, the method can include following step:
101: play end and send Internet video playing request to network video server.
Network video server is for improving the media data of Internet video.
Playing end to need to carry out Internet video broadcasting, initiating Internet video broadcasting to network video server please Ask.
102: obtain the file of the media file of the Internet video asked from described network video server Head.
Wherein, the media file of described Internet video encapsulates according to MP4 media encapsulation format.
When the media file of the Internet video that network video server provides is MP4 file, namely network video The media data of frequency is packaged according to MP4 media encapsulation format.
MP4 file includes file header, and the file header data in file header include that the codec of audio frequency and video (compiles Decoding) information and each audio frame and the index information etc. of frame of video.
Therefore, when obtaining media data, need from network video server, first download file header and go forward side by side Row parses file header data.
103: when obtaining the partial document head data of described file header, the file header data obtained are carried out Resolve, it is thus achieved that audio frame and the index information of frame of video.
In the present embodiment, when file header is downloaded, can carry out downloading the file header data obtained Monitoring, when downloading the partial document head data obtained in file header, i.e. can start file header data Demultiplex, first file header is resolved during demultiplexing, and all download without waiting for file header Complete.
Partial document head data are resolved, i.e. can obtain the index information of audio frame and frame of video.
104: according to resolving the audio frame and the index information of frame of video obtained, from described Web Video Service The media file of device is downloaded audio frame and the frame of video of correspondence.
Index information can include audio frame or the frame of video frame position in media file, size and Temporal information.
Thus according to index information, can the corresponding frame position from media file carry out respectively audio frame and The download of frame of video, thus i.e. can shunt and obtain audio frame and frame of video.
Due to audio frame and frame of video be hybrid package in media file, therefore by demultiplexing, permissible Audio frame and frame of video are shunted, obtains audio frame list and frame of video list respectively.Thus When being decoded playing, directly read from audio frame list and frame of video tab sequential.
105: after the audio frame and frame of video of downloading acquisition are decoded respectively, play out.
According to the audio frame parsed and the index information of frame of video, audio frame and frame of video i.e. can be carried out Download, shunting obtain audio frame and frame of video.Audio frame and frame of video are proceeded decoding, tool Body can be decoded according to the codec information parsed, and i.e. can play out, thus realize network The part of video.
During to downloading acquisition file header data parsing, downloads of media data and decoding, permissible Continue to download the file header data of file header so that obtain file header data parsing, downloads of media to downloading The process of data and decoding can persistently be carried out.
Owing to the file header of MP4 file is relatively big, all downloads and needed to wait the longer time, and this In inventive embodiments, it is not necessary to pending file head is all downloaded complete, it is only necessary to download partial document head data Time, i.e. can proceed by parsing, it is possible to carry out media data according to resolving the index information obtained The processes such as download, thus i.e. can realize the quick broadcasting of Internet video, improve and broadcast speed.
In actual applications, two threads can be set up: first thread and the second thread, at First Line Journey carries out the download of file header data in file header, to downloading the file header number obtained in the second thread According to parsing, downloads of media data, decoding and play, the second thread downloads acquisition literary composition in first thread Partial document head data in part head i.e. can start to perform, and the execution of the second thread does not interferes with first The execution of thread, first thread may proceed to carry out the download of file header data.
Wherein, when downloading the partial document head data obtaining described file header, to downloading the file obtained Head data resolve, it is thus achieved that audio frame and the index information of frame of video;These partial document head data are permissible Multiple choices mode.
As a kind of possible implementation, it can be preset duration model in downloading the described file header of acquisition During the file header data enclosed, resolve downloading the file header data obtained, it is thus achieved that audio frame and video The index information of frame.
This preset duration scope such as i.e. can solve from downloading the file header data obtained with 5~10 seconds Analysis obtains frequency frame and the index information of frame of video.
As the implementation that another is possible, it can be preset length in downloading the described file header of acquisition During the file header data of scope, obtain file header data resolve downloading, it is thus achieved that audio frame and video The index information of frame.
File header has certain file size, therefore can download the file header obtaining preset length scope During data, i.e. can proceed by parsing.
Wherein, when carrying out Internet video broadcasting due to broadcasting end, in order to ensure playing fluency, download is worked as The audio frame and the frame of video that obtain are decoded respectively, and have met when broadcasting condition, then play out.
This is broadcast the buffer memory that condition can be such as audio frame and frame of video and reaches default value etc..
Fig. 2 shows for the structure of a kind of one embodiment of Internet video playing device that the embodiment of the present invention provides Being intended to, this device may include that
Request sending module 201, sends Internet video playing request to network video server.
Network video server is for improving the media data of Internet video.
Playing end to need to carry out Internet video broadcasting, initiating Internet video broadcasting to network video server please Ask.
File header download module 202, for obtaining the network video asked from described network video server The file header of the media file of frequency, wherein, described media file encapsulates according to MP4 media encapsulation format.
When the media file of the Internet video that network video server provides is MP4 file, namely network video The media data of frequency is packaged according to MP4 media encapsulation format.
MP4 file includes file header, and the file header data in file header include that the codec of audio frequency and video (compiles Decoding) information and each audio frame and the index information etc. of frame of video.
Therefore, when obtaining media data, need first download file header and carry out parsing file header data.
Parsing module 203, for when obtaining the partial document head data of described file header, to obtain File header data resolve, it is thus achieved that audio frame and the index information of frame of video.
When file header download module carries out file header acquisition, can supervise downloading acquisition file header data Control, if download acquisition partial document head data, i.e. can trigger parsing module and perform.
Partial document head in the present embodiment, when file header is downloaded acquisition, in obtaining file header During data, i.e. can start file header data are resolved, and all download without waiting for file header Finish.
Partial document head data are resolved, i.e. can obtain the index information of audio frame and frame of video.
Download module 204, for according to resolving the audio frame and the index information of frame of video obtained, from institute State audio frame and the frame of video downloading correspondence in media file.
Index information can include audio frame or the frame of video frame position in media file, size and Temporal information.
Thus according to index information, can the corresponding frame position from media file proceed by audio frame and The download of frame of video, owing to audio frame and frame of video are that hybrid package is in media file, it is therefore desirable to logical Cross the demultiplexing process resolving and downloading, i.e. realize shunting audio frame and frame of video, obtain respectively Obtain audio frame list and frame of video list.Thus when being decoded playing, directly from audio frame list And frame of video tab sequential reads.
Playing module 205, after the audio frame and frame of video of downloading acquisition are decoded respectively, Play out.
According to the audio frame parsed and the index information of frame of video, i.e. can carry out audio frame respectively and regard Frequently the download of frame, such that it is able to shunting obtains audio frame and frame of video.Audio frame and frame of video are continued It is decoded, specifically can be decoded according to the codec information parsed, i.e. can play out, Thus realize the part of Internet video.
Obtaining file header data parsing, downloads of media data to downloading and media data is being decoded During, can continue to download the file header data of file header so that obtain file header data to downloading Parsing, downloads of media data and the process decoding media data can persistently be carried out.
Owing to the file header of MP4 file is relatively big, all downloads and needed to wait the longer time, and this In inventive embodiments, it is not necessary to pending file head is all downloaded complete, it is only necessary to download partial document head data Time, i.e. can proceed by parsing, it is possible to carry out media data according to resolving the index information obtained The processes such as download, thus i.e. can realize the quick broadcasting of Internet video, improve and broadcast speed.
Wherein, parsing module 203 download obtain described file header partial document head data time, under Carry the file header data obtained to resolve, it is thus achieved that audio frame and the index information of frame of video;This part literary composition Part head data can be in multiple choices mode.
As a kind of possible implementation, described parsing module can be specifically for:
When downloading the file header data obtaining preset duration scope in described file header, to downloading acquisition File header data resolve, it is thus achieved that audio frame and the index information of frame of video.
This preset duration scope such as i.e. can solve from downloading the file header data obtained with 5~10 seconds Analysis obtains frequency frame and the index information of frame of video.
As the implementation that another is possible, described parsing module can be specifically for:
File header has certain file size, therefore can download the file header obtaining preset length scope During data, i.e. can proceed by parsing.
Wherein, when carrying out Internet video broadcasting due to broadcasting end, in order to ensure playing fluency, when demultiplexing Audio frame and frame of video with obtaining are decoded respectively, and have met when broadcasting condition, then play out.
This is broadcast the buffer memory that condition can be such as audio frame and frame of video and reaches default value etc..
Therefore, described playing module can be specifically for:
The audio frame and the frame of video that are obtained by demultiplexing are decoded respectively, and have met when broadcasting condition, Play out.
In the embodiment of the present invention, play end when asking Internet video to play out, if Internet video When media file is for obtaining according to the encapsulation of MP4 media encapsulation format, need the literary composition of first downloads of media file Part head, when downloading the partial document head data obtained in file header, i.e. can start downloading acquisition File header data resolve, it is thus achieved that audio frame and the index information of frame of video;And according to resolving the sound obtained Frequently frame and the index information of frame of video, downloads correspondence from the media file of described network video server Audio frame and frame of video;After the audio frame and frame of video of downloading acquisition are decoded respectively, To play out.Complete owing to all downloading without waiting for file header, only need to download partial document head data Time, i.e. can carry out performing parsing, demultiplexing, decode and play, therefore improve Internet video Rise and broadcast speed.
Device embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, the parts shown as unit can be or Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words Dividing and can embody with the form of software product, this computer software product can be stored in computer can Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. an Internet video player method, it is characterised in that including:
Play end and send Internet video playing request to network video server;
The file header of the media file of the Internet video asked is obtained from described network video server, its In, described media file encapsulates according to MP4 media encapsulation format;
When obtaining the partial document head data of described file header, the file header data obtained are resolved, Obtain audio frame and the index information of frame of video;
According to resolving the audio frame and the index information of frame of video obtained, it is right to download from described media file The audio frame answered and frame of video;
After the audio frame and frame of video of downloading acquisition are decoded respectively, play out.
Method the most according to claim 1, it is characterised in that described obtaining described file header During partial document head data, the file header data obtained are resolved, it is thus achieved that audio frame and frame of video Index information includes:
When obtaining the file header data of preset duration scope in described file header, to the file header number obtained According to resolving, it is thus achieved that audio frame and the index information of frame of video.
Method the most according to claim 1, it is characterised in that described obtaining described file header During partial document head data, the file header data obtained are resolved, it is thus achieved that audio frame and frame of video Index information includes:
When obtaining the file header data of preset length scope in described file header, to obtaining file header data Resolve, it is thus achieved that audio frame and the index information of frame of video.
Method the most according to claim 1, it is characterised in that described index information includes audio frame Or frame position, size and the temporal information that frame of video is in media file.
Method the most according to claim 1, it is characterised in that described will download obtain audio frame And after frame of video is decoded respectively, plays out and include:
The audio frame obtained will be downloaded and frame of video is decoded respectively, and met when broadcasting condition, enter Row is play.
6. an Internet video playing device, it is characterised in that including:
Request sending module, for sending Internet video playing request to network video server;
File header download module, for obtaining the Internet video asked from described network video server The file header of media file, wherein, described media file encapsulates according to MP4 media encapsulation format;
Parsing module, for when obtaining the partial document head data of described file header, to the file obtained Head data resolve, it is thus achieved that audio frame and the index information of frame of video;
Download module, for according to resolving the audio frame and the index information of frame of video obtained, from described matchmaker Body file is downloaded audio frame and the frame of video of correspondence;
Playing module, after the audio frame and frame of video of downloading acquisition being decoded respectively, enters Row is play.
Device the most according to claim 6, it is characterised in that described parsing module specifically for:
When obtaining the file header data of preset duration scope in described file header, to the file header number obtained According to resolving, it is thus achieved that audio frame and the index information of frame of video.
Device the most according to claim 6, it is characterised in that described parsing module specifically for:
When obtaining the file header data of preset length scope in described file header, to obtaining file header data Resolve, it is thus achieved that audio frame and the index information of frame of video.
Device the most according to claim 6, it is characterised in that described index information includes audio frame Or frame position, size and the temporal information that frame of video is in media file.
Device the most according to claim 6, it is characterised in that described playing module specifically for:
The audio frame obtained will be downloaded and frame of video is decoded respectively, and met when broadcasting condition, enter Row is play.
CN201510959175.XA 2015-12-18 2015-12-18 Network video playing method and device Pending CN105898551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510959175.XA CN105898551A (en) 2015-12-18 2015-12-18 Network video playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510959175.XA CN105898551A (en) 2015-12-18 2015-12-18 Network video playing method and device

Publications (1)

Publication Number Publication Date
CN105898551A true CN105898551A (en) 2016-08-24

Family

ID=57002500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510959175.XA Pending CN105898551A (en) 2015-12-18 2015-12-18 Network video playing method and device

Country Status (1)

Country Link
CN (1) CN105898551A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108024138A (en) * 2016-10-31 2018-05-11 杭州海康威视数字技术股份有限公司 A kind of method for packing and device
CN109729386A (en) * 2019-01-03 2019-05-07 深圳市网心科技有限公司 A kind of video file opens broadcasting method, system and electronic equipment and storage medium
CN111935535A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Data processing method and device, terminal equipment and computer storage medium
CN112287127A (en) * 2019-07-23 2021-01-29 上海哔哩哔哩科技有限公司 Multimedia file storage and reading method
CN112506447A (en) * 2021-02-01 2021-03-16 成都焱之阳科技有限公司 Data lock-free caching method and server for video monitoring equipment
CN113852857A (en) * 2021-10-20 2021-12-28 成都华栖云科技有限公司 Sound playing method and system based on HTML5 video frame stepping

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193273A (en) * 2006-11-20 2008-06-04 中兴通讯股份有限公司 A storage and playing method for real time multimedia image information
CN101217638A (en) * 2007-12-28 2008-07-09 深圳市迅雷网络技术有限公司 A downloading method, system and device of video file fragmentation
CN101674373A (en) * 2009-09-02 2010-03-17 优视动景(北京)技术服务有限公司 MP4 streaming media playing system for mobile communication terminal and application method thereof
US20120254456A1 (en) * 2011-03-31 2012-10-04 Juniper Networks, Inc. Media file storage format and adaptive delivery system
CN103491427A (en) * 2013-09-11 2014-01-01 天脉聚源(北京)传媒科技有限公司 Method and device for processing video
CN104661058A (en) * 2013-11-20 2015-05-27 深圳市云帆世纪科技有限公司 MP4 video on demand data stream transmission method, client side and video on demand system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193273A (en) * 2006-11-20 2008-06-04 中兴通讯股份有限公司 A storage and playing method for real time multimedia image information
CN101217638A (en) * 2007-12-28 2008-07-09 深圳市迅雷网络技术有限公司 A downloading method, system and device of video file fragmentation
CN101674373A (en) * 2009-09-02 2010-03-17 优视动景(北京)技术服务有限公司 MP4 streaming media playing system for mobile communication terminal and application method thereof
US20120254456A1 (en) * 2011-03-31 2012-10-04 Juniper Networks, Inc. Media file storage format and adaptive delivery system
CN103491427A (en) * 2013-09-11 2014-01-01 天脉聚源(北京)传媒科技有限公司 Method and device for processing video
CN104661058A (en) * 2013-11-20 2015-05-27 深圳市云帆世纪科技有限公司 MP4 video on demand data stream transmission method, client side and video on demand system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108024138A (en) * 2016-10-31 2018-05-11 杭州海康威视数字技术股份有限公司 A kind of method for packing and device
CN109729386A (en) * 2019-01-03 2019-05-07 深圳市网心科技有限公司 A kind of video file opens broadcasting method, system and electronic equipment and storage medium
CN111935535A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Data processing method and device, terminal equipment and computer storage medium
CN112287127A (en) * 2019-07-23 2021-01-29 上海哔哩哔哩科技有限公司 Multimedia file storage and reading method
CN112287127B (en) * 2019-07-23 2022-10-14 上海哔哩哔哩科技有限公司 Multimedia file storage and reading method
CN112506447A (en) * 2021-02-01 2021-03-16 成都焱之阳科技有限公司 Data lock-free caching method and server for video monitoring equipment
CN113852857A (en) * 2021-10-20 2021-12-28 成都华栖云科技有限公司 Sound playing method and system based on HTML5 video frame stepping

Similar Documents

Publication Publication Date Title
CN105898551A (en) Network video playing method and device
CN105187896B (en) The media file playing method and system more being segmented
CN101984672B (en) Method and device for multi-thread video and audio synchronous control
EP3996382A1 (en) Gapless video looping
WO2017157276A1 (en) Method and device for stitching multimedia files
CN104902145B (en) A kind of player method and device of live stream video
CN110266985A (en) Reproducting method, content transmission method, transcriber, content transmission device
CN103491427A (en) Method and device for processing video
CN109905725A (en) Sending method, method of reseptance, sending device and reception device
CN103458271A (en) Audio-video file splicing method and audio-video file splicing device
CN105187897B (en) The media file span playback method and system more being segmented
CN106878807B (en) Video switching method and device
CN105898625B (en) Playing processing method and terminal equipment
CN103648011A (en) Audio and video synchronization device and method based on HLS protocol
CN105049856A (en) Method and device for processing video file
CN106331820A (en) Synchronous audio and video processing method and device
CN104822087B (en) A kind of processing method and processing device of video-frequency band
CN104506920A (en) Method and device for playing omnimedia data information
US20170171281A1 (en) Play method and apparatus and mobile terminal device for android platform
CN106604047A (en) Multi-video-stream video direct broadcasting method and device
CN105847990B (en) The method and apparatus for playing media file
CN104918051B (en) A kind of method for processing video frequency and device
CN104780389B (en) A kind of method for processing video frequency and device
CN116233411A (en) Method, device, equipment and computer storage medium for audio and video synchronous test
JP5954489B2 (en) Movie data editing device, movie data editing method, playback device, playback method, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160824

WD01 Invention patent application deemed withdrawn after publication