CN104244079B - A kind of method for downloading video and device - Google Patents

A kind of method for downloading video and device Download PDF

Info

Publication number
CN104244079B
CN104244079B CN201310226040.3A CN201310226040A CN104244079B CN 104244079 B CN104244079 B CN 104244079B CN 201310226040 A CN201310226040 A CN 201310226040A CN 104244079 B CN104244079 B CN 104244079B
Authority
CN
China
Prior art keywords
video
downloaded
address
slicing
video slicing
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.)
Active
Application number
CN201310226040.3A
Other languages
Chinese (zh)
Other versions
CN104244079A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310226040.3A priority Critical patent/CN104244079B/en
Publication of CN104244079A publication Critical patent/CN104244079A/en
Application granted granted Critical
Publication of CN104244079B publication Critical patent/CN104244079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of method for downloading video and devices, wherein the described method includes: extracting each video slicing address of the video to be downloaded from the play list file of the video to be downloaded of acquisition;Using each video slicing address of extraction as target download address, generates downloading request and be sent to server, and store each video slicing downloaded from the server in local terminal;Local play list file is generated according to the storage address of each video slicing of local terminal storage, each video slicing that the local play list file and downloading obtain forms the complete video data of the video to be downloaded., can be locally downloading by the video file of the types such as such as m3u8 video using the present invention, in order to watch at any time.

Description

A kind of method for downloading video and device
Technical field
The present invention relates to internet area more particularly to a kind of method for downloading video and device.
Background technique
With the development of social progress and computer technology, network technology, people can interconnected by computer Various videos are watched online on the net, or video download is watched at any time into local terminal computer.It is online for video Viewing, existing m3u8 video are a kind of address broadcastings by server offer one to describe all available video slicings The video of list (.m3u8).Computer or user mobile phone pass through playlist (.m3u8) file in m3u8 video The video of internet appropriate address is watched online.
The prior art can only carry out watching m3u8 video online, if user has been interrupted this viewing or viewing and terminated Afterwards, when needing to watch again next time, need to re-establish the connection of m3u8 video corresponding server, and again according to broadcasting The online viewing of list (.m3u8) file progress corresponding video.This not only wastes bandwidth resources, also, if user is logical It crosses mobile phone to watch online, then consumes the floating resources of user, increase viewing cost.
Summary of the invention
It, can will the technical problem to be solved by the embodiment of the invention is that provide a kind of method for downloading video and device The video file of such as m3u8 video type is locally downloading, in order to watch at any time.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of method for downloading video, comprising:
Each video slicing of the video to be downloaded is extracted from the play list file of the video to be downloaded of acquisition Location;
Using each video slicing address of extraction as target download address, generates downloading request and be sent to server, and Each video slicing downloaded from the server is stored in local terminal;
Local play list file is generated according to the storage address of each video slicing of local terminal storage, and by described Each video slicing that ground play list file and downloading obtain forms the complete video data of the video to be downloaded.
Correspondingly, the embodiment of the invention also provides a kind of video download devices, comprising:
Extraction module, for extracting each of the video to be downloaded from the play list file of the video to be downloaded of acquisition A video slicing address;
Download module generates downloading request hair for each video slicing address using extraction as target download address Server is given, and stores each video slicing downloaded from the server in local terminal;
Processing module, the storage address of each video slicing for being stored according to local terminal generate local playlist text Each video slicing that part, the local play list file and downloading obtain forms the complete video of the video to be downloaded Data.
The present invention is by handling the video play lists file such as m3u8 file, with obtaining each video slicing Location, corresponding video slicing data are then downloaded according to each video slicing address and retrieve play list file and It is combined into video, the m3u8 video download that can only be watched online at present can be watched at any time to local, be avoided The waste for needing interact brought additional bandwidth, floating resources when repeating to watch again with server, saved watch at This.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of method for downloading video of the embodiment of the present invention;
Fig. 2 is the flow diagram of another method for downloading video of the embodiment of the present invention;
Fig. 3 is a kind of structure composition schematic diagram of video download device of the embodiment of the present invention;
Fig. 4 is the structure composition schematic diagram of another video download device of the embodiment of the present invention;
Fig. 5 is one of concrete structure schematic diagram of the download module in Fig. 4;
Fig. 6 is one of concrete structure schematic diagram of the processing module in Fig. 4.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Figure 1, be the embodiment of the present invention a kind of method for downloading video flow diagram, the embodiment of the present invention The method can be applicable to all kinds of smart phone ends that can be played using the video (such as m3u8 video) of play list file In end, specifically, the described method includes:
S101: each video point of the video to be downloaded is extracted from the play list file of the video to be downloaded of acquisition Piece address.
When user is clicked by the terminals such as smart phone or to open some include the Online Video of play list file, If the user desired that download the Online Video simultaneously, such as select in the prompt of " whether under in the video " that terminal issues Downloading, terminal store then to downloading play list file from the server for storing the video to be downloaded to local number According in library.
The play list file such as m3u8 file are parsed in S101, extraction wherein records the video to be downloaded Video slicing address.
S102: it using each video slicing address of extraction as target download address, generates downloading request and is sent to service Device, and each video slicing downloaded from the server is stored in local terminal.
The downloading request can be HTTP(Hyper text transfer protocol, hypertext transfer protocol) Get(is obtained) request, specifically successively all video slicing addresses can be carried in a get request, can also be directed to Each video slicing address sends get request respectively.
In each video slicing of storage downloading, the embodiment of the present invention can also be as needed first to each video Fragment is named according to preset naming rule.File designation rule is by presetting.Due to the video point of video to be downloaded The cutting that piece usually carries out sequentially in time, such as cutting is carried out according to every three minutes durations, it is ordered according to preset file Name rule sends the server according to the timing of the video slicing indicated in each video slicing address of extraction Each video slicing carries out serial number, and the filename by number as corresponding video slicing.After the completion of name, in local terminal Each video slicing that the server is sent is stored according to filename with specified storage location.
S103: generating local play list file according to the storage address of each video slicing of local terminal storage, described Each video slicing that local play list file and downloading obtain forms the complete video data of the video to be downloaded.
It, specifically can be on the basis of former played file list, by the view in former play list file in the S103 Frequency division piece address replaces with local terminal storage address, literary with the play list file and the local playlist that generate mark format again Part.Each video slicing that the local play list file and downloading obtain is combined can be obtained it is described to be downloaded The complete video data of video.Each video slicing that local play list file and downloading are obtained is combined, A kind of simple implementation are as follows: each video slicing for obtaining the local play list file of generation and downloading is same It is stored under a storage catalogue.Broadcasting for complete video can be completed according to local play list file in corresponding player It puts.
The present invention is by handling the video play lists file such as m3u8 file, with obtaining each video slicing Location, corresponding video slicing data are then downloaded according to each video slicing address and retrieve play list file and It is combined into video, the m3u8 video download that can only be watched online at present can be watched at any time to local, be avoided The waste for needing interact brought additional bandwidth, floating resources when repeating to watch again with server, saved watch at This.
Fig. 2 is referred to again, is the flow diagram of another method for downloading video of the embodiment of the present invention, and the present invention is implemented The method of example can be applicable to all kinds of smart phones that can play the video (such as m3u8 video) using play list file Etc. in terminals, specifically, the described method includes:
S201: when detecting the down operation to the video to be downloaded, to server send for download it is described to Request is downloaded in the list of the play list file of foradownloaded video.
When user is clicked by the terminals such as smart phone or to open some include the Online Video of play list file, If the user desired that download the Online Video simultaneously, such as select in the prompt of " whether under in the video " that terminal issues Downloading, terminal send the column for downloading the play list file of the video to be downloaded to the server for storing video to be downloaded Table downloading request, list downloading request or a get request.
S202: broadcasting for the video to be downloaded that the server is extracted and returned according to list downloading request is received Emplace list file.Record has the video slicing address (network storage of the video to be downloaded in the play list file Location).
Server is downloaded according to list and is requested, and the play list file of requested video to be downloaded is extracted, and this is broadcast It emplaces list file and is sent to the terminal for initiating request.
Specifically, not only including the storage address of each video slicing in the play list file, further includes: mark This document is the tag of play list file, the duration of corresponding video slicing, specify the maximum media segment time long and End of file label etc..
S203: each video point of the video to be downloaded is extracted from the play list file of the video to be downloaded of acquisition Piece address.
Terminal parses play list file, extracts video slicing address therein i.e. network storage address, so as to In downloading each video slicing according in these network storage addresses to corresponding server or terminal.
In the S203, after parsing to play list file, extraction is therein to meet the interior of chained address feature Hold, obtains each video slicing address of the video to be downloaded.
S204: it using each video slicing address of extraction as target download address, generates downloading request and is sent to service Device, and each video slicing downloaded from the server is stored in local terminal;
In embodiments of the present invention, the S204 can specifically include: it is raw to correspond respectively to each video slicing address Server is sent at downloading request;According to preset file designation rule, according in each video slicing address of extraction The timing of the video slicing of instruction carries out serial number to each video slicing that the server is sent, and number is made For the filename of corresponding video slicing;Each video slicing that the server is sent is stored in local terminal.
Wherein, described each video slicing for storing the server transmission in local terminal can specifically include: establish new Each video slicing that file, the local play list file of the generation and downloading obtain is stored in the new of the foundation Under file.
When downloading each video slicing, these video slicings can be named according to preset naming rule, Then it is stored in the new folder of foundation.For example, newly-built video(video) file, video slicing is stored in text Part presss from both sides in the file of entitled video, and after numbering according to temporal order, entitled 1, the 10 of 0 to 10 minutes video slicings are arrived The title 3 of entitled 2,32 to 51 minutes video slicings of 32 minutes video slicings.
S205: generating local play list file according to the storage address of each video slicing of local terminal storage, described Each video slicing that local play list file and downloading obtain forms the complete video data of the video to be downloaded.
Specifically, the storage address and filename of each video slicing that the S205 can be stored according to local terminal, are pressed File format generation according to the play list file of the video to be downloaded of acquisition includes for recording each of the local terminal storage The local play list file of the storage address of a video slicing.That is, the S205 can specifically include: detecting and get The file format of the play list file of video to be downloaded;According to the corresponding coding standard of the file format detected, and according to The storage address of each video slicing of local terminal storage generates local play list file.
It is illustrated by taking m3u8 file as an example below.
It include the network address of each video slicing, the simple content-form of one of which of m3u8 file in m3u8 file It is as follows:
#EXTM3U
#EXT-X-TARGETDURATION:24
#EXTINF:11,
http://113.107.113.137/DA61.ts?ts_start=0&ts_end=10&ts_seg_no=1&ts_ keyframe=1
#EXTINF:21.133,
http://113.107.113.137/DA61.ts?ts_start=10&ts_end=32&ts_seg_no=1&ts_ keyframe=1
#EXTINF:19.067,
http://113.107.113.137/DA61.ts?ts_start=32&ts_end=51&ts_seg_no=1&ts_ keyframe=1
#EXT-X-ENDLIST
In the S203 after the simple content-form of one of which to above-mentioned m3u8 file carries out parsing extraction, Each video slicing address of available video to be downloaded are as follows:
http://113.107.113.137/DA61.ts?ts_start=0&ts_end=10&ts_seg_no=1&ts_ keyframe=1;
http://113.107.113.137/DA61.ts?ts_start=10&ts_end=32&ts_seg_no=1&ts_ keyframe=1;
http://113.107.113.137/DA61.ts?ts_start=32&ts_end=51&ts_seg_no=1&ts_ keyframe=1。
Specifically it can establish using the video name to be downloaded as the file of folder name.
Each video slicing is downloaded in S204, and is stored after being named according to preset naming rule:
Address http: // 113.107.113.137/DA61.ts ts_start=0&ts_end=10&ts_seg_no=1& The video slicing that the corresponding downloading request in ts_keyframe=1 obtains, storage are as follows: sdcard/download/video/1.ts;
Address http: // 113.107.113.137/DA61.ts ts_start=10&ts_end=32&ts_seg_no=1& The video slicing that the corresponding downloading request in ts_keyframe=1 obtains, storage are as follows: sdcard/download/video/2.ts;
Address http: // 113.107.113.137/DA61.ts ts_start=32&ts_end=51&ts_seg_no=1& The video slicing that the corresponding downloading request in ts_keyframe=1 obtains, storage are as follows: sdcard/download/video/3.ts;
In the S205, with the reference format of m3u8, and according to the above-mentioned address that is locally stored, local played column is generated List file, form are as follows:
#EXTM3U
#EXT-X-TARGETDURATION:24
#EXTINF:11,
mnt/sdcard/download/video/1.ts
#EXTINF:21.133,
mnt/sdcard/download/video/2.ts
#EXTINF:19.067,
mnt/sdcard/download/video/3.ts
#EXT-X-ENDLIST
Network linking address in the m3u8 file of the original video to be downloaded is replaced with, address is locally stored i.e. The generation of achievable local play list file.Certainly can also again according to address is locally stored, m3u8 reference format is compiled Code obtains local play list file.
The present invention is by handling the video play lists file such as m3u8 file, with obtaining each video slicing Location, corresponding video slicing data are then downloaded according to each video slicing address and retrieve play list file and It is combined into video, the m3u8 video download that can only be watched online at present can be watched at any time to local, be avoided The waste for needing interact brought additional bandwidth, floating resources when repeating to watch again with server, saved watch at This.And by being named to video slicing according to naming rule before downloading is completed, it can more be quickly obtained this Ground play list file.
The video download device of the embodiment of the present invention is described in detail below.
Fig. 3 is referred to, is a kind of structure composition schematic diagram of video download device of the embodiment of the present invention, the present invention is implemented The described device of example may be provided at all kinds of smart phones that can play the video (such as m3u8 video) using play list file Etc. in terminals, specifically, described device includes:
Extraction module 11, for extracting the video to be downloaded from the play list file of the video to be downloaded of acquisition Each video slicing address;
Download module 12 generates downloading request for each video slicing address using extraction as target download address It is sent to server, and stores each video slicing downloaded from the server in local terminal;
Processing module 13, the storage address of each video slicing for being stored according to local terminal generate local playlist Each video slicing that file, the local play list file and downloading obtain forms the complete view of the video to be downloaded Frequency evidence.
When user is clicked by the terminals such as smart phone or to open some include the Online Video of play list file, If the user desired that download the Online Video simultaneously, such as select in the prompt of " whether under in the video " that terminal issues Downloading, terminal store then to downloading play list file from the server for storing the video to be downloaded to local number According in library.
The extraction module 11 parses the play list file such as m3u8 file, and extraction wherein records described to be downloaded The video slicing address of video.
The downloading request that the download module 12 generates and sends can be the get request of HTTP, the download module 12 Specifically successively all video slicing addresses can be carried in a get request, each video slicing can also be directed to Address sends get request respectively.
When downloading each video slicing, these video slicings can be named according to preset naming rule, Then it is stored in the new folder of foundation.File designation rule is by presetting.Due to the video point of video to be downloaded The cutting that piece usually carries out sequentially in time, such as cutting is carried out according to every three minutes durations, it is ordered according to preset file Name rule sends the server according to the timing of the video slicing indicated in each video slicing address of extraction Each video slicing carries out serial number, and the filename by number as corresponding video slicing.The download module 12 exists After the completion of name, each video point that the server is sent is stored according to filename with specified storage location in local terminal Piece.
Local terminal storage address with can specifically being replaced the video slicing in former play list file by the processing module 13 Location generates the play list file of mark format again.Each view that the local play list file and downloading are obtained Frequency division piece is combined the complete video data that the video to be downloaded can be obtained.
The present invention is by handling the video play lists file such as m3u8 file, with obtaining each video slicing Location, corresponding video slicing data are then downloaded according to each video slicing address and retrieve play list file and It is combined into video, the m3u8 video download that can only be watched online at present can be watched at any time to local, be avoided The waste for needing interact brought additional bandwidth, floating resources when repeating to watch again with server, saved watch at This.
Specifically, then Fig. 4 is referred to, is the structure composition signal of another video download device of the embodiment of the present invention Figure, the described device of the embodiment of the present invention includes extraction module 11, download module 12 and processing module in a upper embodiment 13, further, in embodiments of the present invention, described device can also include:
Request module 14, for being used for server transmission when detecting the down operation to the video to be downloaded Download the list downloading request of the play list file of the video to be downloaded;
Receiving module 15 is downloaded request according to the list for receiving the server and is extracted and described in returning under Carry the play list file of video.
Still optionally further, Fig. 5 is referred to, the download module 12 of described device can specifically include:
Generation unit 121 is sent to server for corresponding respectively to the generation downloading request of each video slicing address;
Unit 122 is named, for regular according to preset file designation, according in each video slicing address of extraction The timing of the video slicing of instruction carries out serial number to each video slicing that the server is sent, and number is made For the filename of corresponding video slicing;
Storage unit 123, for storing each video slicing that the server is sent in local terminal.
Wherein, the storage unit 123 is used to use when local terminal stores each video slicing that the server is sent In establishing new folder, each video slicing that the local play list file of the generation and downloading obtain is stored in described Under the new folder of foundation.
Still optionally further, Fig. 6 is referred to, the processing module 13 of described device can specifically include:
Detection unit 131, the file format of the play list file for detecting the video to be downloaded got;
List generation unit 132 for the corresponding coding standard of file format that basis detects, and is stored according to local terminal The storage address of each video slicing generate local play list file.
When the play list file of the video to be downloaded is m3u8, the list generation unit 132 is specifically used for basis The storage address of each video slicing of local terminal storage includes depositing for recording the local terminal according to the generation of m3u8 reference format The local play list file of the storage address of each video slicing of storage.
The present invention is by handling the video play lists file such as m3u8 file, with obtaining each video slicing Location, corresponding video slicing data are then downloaded according to each video slicing address and retrieve play list file and It is combined into video, the m3u8 video download that can only be watched online at present can be watched at any time to local, be avoided The waste for needing interact brought additional bandwidth, floating resources when repeating to watch again with server, saved watch at This.And by being named to video slicing according to naming rule before downloading is completed, it can more be quickly obtained this Ground play list file.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (14)

1. a kind of method for downloading video characterized by comprising
Each video slicing address of the video to be downloaded is extracted from the play list file of the video to be downloaded of acquisition;
Using each video slicing address of extraction as target download address, generates downloading request and be sent to server, and at this Each video slicing that end storage is downloaded from the server;
Local play list file, the local played column are generated according to the storage address of each video slicing of local terminal storage Each video slicing that list file and downloading obtain forms the complete video data of the video to be downloaded, wherein described Ground play list file is on the basis of the played file list of the video to be downloaded of the acquisition, by the acquisition under It carries the video slicing address in the play list file of video and replaces with and obtain after local terminal storage address;
Wherein, the storage address of each video slicing includes store path and slicing files name, and the filename includes: According to the timing of the video slicing indicated in each video slicing address of extraction, each view that the server is sent Frequency division piece carries out the number of the video slicing obtained after serial number.
2. the method as described in claim 1, which is characterized in that described from the play list file of the video to be downloaded of acquisition Before each video slicing address for extracting the video to be downloaded, further includes:
When detecting the down operation to the video to be downloaded, send to server for downloading the video to be downloaded Request is downloaded in the list of play list file;
It is literary to receive the playlist that the server downloads the video to be downloaded that request is extracted and returned according to the list Part.
3. method according to claim 1 or 2, which is characterized in that described using each video slicing address of extraction as mesh Download address is marked, downloading request is generated and is sent to server, and store each video downloaded from the server in local terminal Fragment, comprising:
It corresponds respectively to the generation downloading request of each video slicing address and is sent to server;
According to preset file designation rule, according to the video slicing indicated in each video slicing address of extraction when Sequence carries out serial number, and the text by number as corresponding video slicing to each video slicing that the server is sent Part name;
Each video slicing downloaded from the server is stored in local terminal.
4. method as claimed in claim 3, which is characterized in that each downloaded in local terminal storage from the server Video slicing, comprising:
New folder is established, each video slicing that the local play list file of the generation and downloading obtain is stored in institute Under the new folder for stating foundation.
5. method as claimed in claim 4, which is characterized in that the storage of each video slicing according to local terminal storage Address generates local play list file, comprising:
Detect the file format of the play list file of the video to be downloaded got;
According to the corresponding coding standard of the file format detected, and according to the storage of each video slicing of local terminal storage Location generates local play list file.
6. method as claimed in claim 5, which is characterized in that the play list file of the video to be downloaded is m3u8 text The storage address of part, each video slicing according to local terminal storage generates local play list file, comprising:
It include for recording according to the generation of m3u8 reference format according to the storage address of each video slicing of local terminal storage State the local play list file of the storage address of each video slicing of local terminal storage.
7. method as claimed in claim 3, which is characterized in that described to correspond respectively under the generation of each video slicing address It carries request to be sent in server, the downloading request generated corresponding to each video slicing address includes Hyper text transfer The acquisition request of agreement.
8. a kind of video download device characterized by comprising
Extraction module, for extracting each view of the video to be downloaded from the play list file of the video to be downloaded of acquisition Frequency division piece address;
Download module generates downloading request and is sent to for each video slicing address using extraction as target download address Server, and each video slicing downloaded from the server is stored in local terminal;
Processing module, the storage address of each video slicing for being stored according to local terminal generate local play list file, Each video slicing that the local play list file and downloading obtain forms the complete video number of the video to be downloaded According to, wherein the local play list file is incited somebody to action on the basis of the played file list of the video to be downloaded of the acquisition Video slicing address in the play list file of the video to be downloaded of the acquisition, which replaces with, to be obtained after local terminal storage address;
Wherein, the storage address of each video slicing includes store path and slicing files name, and the filename includes: According to the timing of the video slicing indicated in each video slicing address of extraction, each view that the server is sent Frequency division piece carries out the number of the video slicing obtained after serial number.
9. device as claimed in claim 8, which is characterized in that further include:
Request module, for being sent for downloading to server when detecting the down operation to the video to be downloaded State the list downloading request of the play list file of video to be downloaded;
Receiving module downloads the video to be downloaded that request is extracted and returned according to the list for receiving the server Play list file.
10. device as claimed in claim 8 or 9, which is characterized in that the download module includes:
Generation unit is sent to server for corresponding respectively to the generation downloading request of each video slicing address;
Unit is named, for regular according to preset file designation, according to what is indicated in each video slicing address of extraction The timing of video slicing carries out serial number to each video slicing that the server is sent, and by number as correspondence The filename of video slicing;
Storage unit, for storing each video slicing downloaded from the server in local terminal.
11. device as claimed in claim 10, which is characterized in that
The storage unit is used for when local terminal is stored from each video slicing that the server is downloaded, for establishing new text Each video slicing that part folder, the local play list file of the generation and downloading obtain is stored in the new text of the foundation Under part folder.
12. device as claimed in claim 10, which is characterized in that the processing module includes:
Detection unit, the file format of the play list file for detecting the video to be downloaded got;
List generation unit, for the corresponding coding standard of file format that basis detects, and according to each of local terminal storage The storage address of a video slicing generates local play list file.
13. device as claimed in claim 12, which is characterized in that the play list file of the video to be downloaded is m3u8 text Part;
The list generation unit is used for according to the corresponding coding standard of file format detected, and according to the every of local terminal storage When the storage address of one video slicing generates local play list file, each video slicing for being stored according to local terminal Storage address, generating according to m3u8 reference format includes storage for recording each video slicing of local terminal storage The local play list file of address.
14. device as claimed in claim 10, which is characterized in that the generation unit is for corresponding respectively to each video Fragment address generates downloading request and is sent in server, the downloading request generated corresponding to each video slicing address Acquisition request including hypertext transfer protocol.
CN201310226040.3A 2013-06-07 2013-06-07 A kind of method for downloading video and device Active CN104244079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310226040.3A CN104244079B (en) 2013-06-07 2013-06-07 A kind of method for downloading video and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310226040.3A CN104244079B (en) 2013-06-07 2013-06-07 A kind of method for downloading video and device

Publications (2)

Publication Number Publication Date
CN104244079A CN104244079A (en) 2014-12-24
CN104244079B true CN104244079B (en) 2019-07-16

Family

ID=52231285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310226040.3A Active CN104244079B (en) 2013-06-07 2013-06-07 A kind of method for downloading video and device

Country Status (1)

Country Link
CN (1) CN104244079B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581374B (en) * 2014-12-31 2018-05-29 深圳市同洲电子股份有限公司 A kind of method, node and server for obtaining section file and generating sub- m3u8 files
CN104581434B (en) * 2015-01-09 2018-06-08 上海小蚁科技有限公司 VOD method and device
CN105681874A (en) * 2015-06-02 2016-06-15 深圳Tcl数字技术有限公司 Network video online playing method and device
JP6555030B2 (en) * 2015-09-08 2019-08-07 船井電機株式会社 Information equipment
CN105516828A (en) * 2015-12-14 2016-04-20 成都易瞳科技有限公司 Method and device for downloading video
CN105763912B (en) * 2016-02-26 2019-04-30 惠州Tcl移动通信有限公司 A kind of Online Video buffer control method, system and its mobile terminal
CN105847969A (en) * 2016-03-30 2016-08-10 乐视控股(北京)有限公司 Network video live broadcast method and apparatus
CN106331788A (en) * 2016-08-31 2017-01-11 乐视控股(北京)有限公司 Video download method and device
CN106603660A (en) * 2016-12-14 2017-04-26 传线网络科技(上海)有限公司 Collaborative downloading method, terminal and system for distributed type videos
CN106777171B (en) * 2016-12-22 2020-11-03 北京小度互娱科技有限公司 Method and apparatus for outputting fragmented media files
CN107071548B (en) * 2017-04-20 2020-08-28 北京搜狐新媒体信息技术有限公司 Video processing method and system
CN111510790B (en) 2019-01-30 2021-10-15 上海哔哩哔哩科技有限公司 Video request method, system, computer device and computer readable storage medium
CN110868643B (en) * 2019-11-21 2022-04-26 郑州阿帕斯科技有限公司 Method and device for determining video downloading progress
CN111046200B (en) * 2019-12-06 2023-12-05 北京同邦卓益科技有限公司 Data processing method, device and equipment
CN111586103A (en) * 2020-04-08 2020-08-25 北京明略软件系统有限公司 File fragment downloading method and device
CN113055714B (en) * 2021-03-10 2022-07-22 百度在线网络技术(北京)有限公司 Video information processing method, device, equipment and storage medium
CN113873318A (en) * 2021-09-26 2021-12-31 乐融致新电子科技(天津)有限公司 Video playing method, device, equipment and storage medium
CN114051152A (en) * 2022-01-17 2022-02-15 飞狐信息技术(天津)有限公司 Video playing method and device, storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685088A (en) * 2011-09-06 2012-09-19 天脉聚源(北京)传媒科技有限公司 Method for playing M3U8 stream media
CN103581764A (en) * 2012-07-24 2014-02-12 武汉网幂科技有限公司 Downloading and storing method suitable for HLS video file and playing system for HLS video file

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118428B (en) * 2010-12-29 2012-12-26 天脉聚源(北京)传媒科技有限公司 Method and system for playing streaming media
GB2483125B (en) * 2011-02-25 2012-09-26 British Sky Broadcasting Ltd Media system
CN103650451B (en) * 2011-07-07 2016-10-19 瑞典爱立信有限公司 The adaptive H TTP of network capacity optimization spreads
CN102857797B (en) * 2012-04-12 2014-03-19 天脉聚源(北京)传媒科技有限公司 Background control method and system for video playing
CN103096164A (en) * 2013-02-06 2013-05-08 天脉聚源(北京)传媒科技有限公司 Handling method and handling device of live broadcast stream

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685088A (en) * 2011-09-06 2012-09-19 天脉聚源(北京)传媒科技有限公司 Method for playing M3U8 stream media
CN103581764A (en) * 2012-07-24 2014-02-12 武汉网幂科技有限公司 Downloading and storing method suitable for HLS video file and playing system for HLS video file

Also Published As

Publication number Publication date
CN104244079A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
CN104244079B (en) A kind of method for downloading video and device
CN103702171B (en) Method for downloading video stream and electronic equipment
US9244916B2 (en) Downloading media objects
CN102055717B (en) Quick playing method, terminal and server
CN103826159B (en) The local offline player method and terminal of a kind of M3U8 format videos
US20140040026A1 (en) Systems and methods for including advertisements in streaming content
CN101594241B (en) Method and system for downloading network video
CN104516892B (en) It is associated with dissemination method, system and the terminal of the user-generated content of rich media information
CN100589552C (en) System and method for transmitting multimedia message in network television system
CN102761623B (en) Resource self-adaptive joins method for down loading, system, data storage server and communication system
CN103391479A (en) Method, device, terminal and system for customizing updated series
EP2510669A1 (en) Apparatus and methods for describing and timing representations in streaming media files
CN105760490B (en) Resource storage method and device and electronic equipment
CN104104971A (en) Video file processing method and system
CN104581171A (en) Method and device for playing videos on browser as well as mobile terminal
CN103607634A (en) Method for reducing network video ordering terminal user waiting time
CN103685264A (en) Method, client side and system for broadcasting media fragmentations in turn
CN104284238A (en) Video playing method and device based on two-dimension code
CN104615700A (en) Method for collecting webpage objects in browser, browser client side and system
CN112468839B (en) Playback method, system, device and readable storage medium of live content
CN104731823B (en) A kind of method and device of more equipment browse documents
CN104202655A (en) Method and device of downloading audio and video files
CN103531218A (en) Online multimedia file editing method and system
EP3272125A1 (en) Systems and methods for inserting breakpoints and reference links into a media file
WO2014166275A1 (en) Video loading method, device and system of mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant